Functions§
- ensure_
global_ workflows_ dir - Ensure the global workflows directory exists, creating it if necessary.
- ensure_
project_ sessions_ dir - Ensure the per-project sessions directory exists, creating it if needed.
- global_
base_ dir - Return the global zig base directory:
~/.zig/. - global_
sessions_ index_ path - Return the global cross-project session index:
~/.zig/sessions_index.json. - global_
workflows_ dir - Return the global workflows directory:
~/.zig/workflows/. ReturnsNoneif the HOME environment variable is not set. - global_
workflows_ dir_ from - Return the global workflows directory derived from a given home directory.
- project_
dir - Resolve the project directory for session storage.
- project_
index_ path - Return the per-project index file:
<project>/logs/index.json. - project_
logs_ dir - Return the per-project logs directory:
<project>/logs/. - project_
sessions_ dir - Return the per-project sessions directory:
<project>/logs/sessions/. - sanitize_
project_ path - Sanitize an absolute path into a directory name.