You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ uv run pytest tests/test_integration_sync.py::test_name # run a single test
20
20
2.**Engine** (`engine.py`) — `sync_sessions()` orchestrates idempotency: loads `.convx/index.json`, fingerprints source files (SHA-256), skips unchanged sessions, calls the adapter to parse changed ones, then writes artifacts and updates the index.
21
21
3.**Render** (`render.py`) — converts `NormalizedSession` to Markdown transcript or JSON string.
22
22
4.**CLI** (`cli.py`) — two main commands built with Typer:
23
-
-`sync`: runs inside a project repo, filters sessions by `cwd`, writes flat under `history/<user>/<source>/`
23
+
-`sync`: runs inside a project repo, filters sessions by `cwd`, writes flat under `.ai/history/<user>/<source>/` by default
24
24
-`backup`: writes to a dedicated repo with full path nesting `history/<user>/<source>/<system>/<relative-cwd>/`
25
25
26
26
**Idempotency index:**`.convx/index.json` in the output repo. Keyed by `session_key` (`<source_system>:<session_id>`). A session is re-exported only when the source SHA-256 changes or output files are missing.
- Runs idempotently (only reprocesses changed or new sessions).
18
18
- Cursor: supports both single-folder and multi-root (`.code-workspace`) windows — sessions are attributed to the matching repo folder.
@@ -50,7 +50,7 @@ cd /path/to/your/project
50
50
uv run convx sync
51
51
```
52
52
53
-
By default syncs Codex, Claude, and Cursor. Use `--source-system codex`, `--source-system claude`, or `--source-system cursor` to sync a single source. No `--output-path` needed — the current directory is used as both the filter and the destination. Sessions are written flat under `history/<user>/<source-system>/` with no machine name or path nesting.
53
+
By default syncs Codex, Claude, and Cursor. Use `--source-system codex`, `--source-system claude`, or `--source-system cursor` to sync a single source. No `--output-path` needed — the current directory is used as both the filter and the destination. Sessions are written flat under `.ai/history/<user>/<source-system>/` with no machine name or path nesting.
54
54
55
55
## backup — full backup command
56
56
@@ -73,7 +73,7 @@ uv run convx backup \
73
73
-`--user`: user namespace for history path (default: current OS user).
74
74
-`--system-name`: system namespace for history path (default: hostname).
75
75
-`--dry-run`: discover and plan without writing files.
76
-
-`--history-subpath`: folder inside output repo where history is stored (default `history`).
76
+
-`--history-subpath`: folder inside output repo where history is stored (default: `sync` = `.ai/history`, `backup` =`history`).
0 commit comments