Return ``~/.clawcodex/transcripts/`` (created if absent). Mirrors the directory convention that ``typescript/src/utils/sessionStorage.ts`` uses for sidechain transcripts; the Python repo's home-relative ``~/.clawcodex`` matches the bash background dir at `` /clawcodex-bg`` philo
()
| 60 | |
| 61 | |
| 62 | def _transcripts_root() -> Path: |
| 63 | """Return ``~/.clawcodex/transcripts/`` (created if absent). |
| 64 | |
| 65 | Mirrors the directory convention that ``typescript/src/utils/sessionStorage.ts`` |
| 66 | uses for sidechain transcripts; the Python repo's home-relative |
| 67 | ``~/.clawcodex`` matches the bash background dir at |
| 68 | ``<tmp>/clawcodex-bg`` philosophically (per-user, not per-workspace). |
| 69 | """ |
| 70 | root = Path.home() / ".clawcodex" / "transcripts" |
| 71 | root.mkdir(parents=True, exist_ok=True) |
| 72 | return root |
| 73 | |
| 74 | |
| 75 | def get_agent_transcript_path(agent_id: str) -> str: |
no outgoing calls
no test coverage detected