INNER CODE UNIT · Python

get_claude_projects_dir

softaworks/agent-toolkit · skills/daily-meeting-update/scripts/claude_digest.py:53

def get_claude_projects_dir() -> Path:
    """Get the Claude projects directory."""
    return Path.home() / '.claude' / 'projects'


def decode_project_path(encoded: str) -> str:
    """Decode encoded project path from directory name."""
    if encoded.startswith('-'):
        return '/' + encoded[1:].replace('-', '/')
    return encoded.replace('-', '/')


def parse_timestamp(timestamp: str) -> Optional[datetime]:
    """Parse ISO timestamp string to datetime."""
    if not timestamp:
        return None
    try:
        if 'T' in timestamp:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…