trajectories 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ### Added
6
+
7
+ - Authenticated shared history through `remote serve/push/pull/list` and Node-compatible handler/client APIs. Native SQLite histories retain machine identity, lineage and diagnostics; managed sessions synchronize canonical logs and required immutable evidence with conflict checks. Local SQLite ingestion and search remain unchanged.
8
+ - Optional DuckDB analytics evaluation: warm cross-session metadata aggregates were 2.9–33.5× faster than indexed SQLite on the measured corpus; no production DuckDB dependency was added.
9
+ - `read --canonical-only` omits duplicated raw native bytes while preserving canonical history, provenance, diagnostics and portability warnings. Default snapshot output remains unchanged.
10
+
11
+ ### Fixed
12
+
13
+ - Observed `remote pull --machine` skips origin rows only when a local `shared://` copy already exists, so a lost SQLite can recover its own history.
14
+ - The sync worker-deadline regression isolates worker admission from database setup, retaining real abort/reap and resume checks without a CI scheduling-speed assumption.
15
+
3
16
  ## 0.1.2
4
17
 
5
18
  ### Added
package/README.md CHANGED
@@ -14,7 +14,7 @@ state converter. Compatibility evidence is in the [source repository](https://gi
14
14
  ## Install
15
15
 
16
16
  Download a native archive and its `.sha256` file from the
17
- [GitHub release](https://github.com/archeism/oh-my-ai/releases/tag/trajectories%400.1.2).
17
+ [Trajectories releases](https://github.com/archeism/oh-my-ai/releases?q=trajectories%40&expanded=true).
18
18
  Choose `linux-x64`, `linux-arm64`, or `darwin-arm64` (Apple Silicon).
19
19
  Keep the executable and its `lib/` directory together; the native installer
20
20
  places a `trajectories` symlink on PATH. See the
@@ -22,12 +22,13 @@ places a `trajectories` symlink on PATH. See the
22
22
 
23
23
  ```sh
24
24
  # CLI: requires Bun 1.4.2 or newer on PATH.
25
- bun add --global trajectories@0.1.2
25
+ bun add --global trajectories@latest
26
26
  trajectories --version
27
27
  trajectories search --help
28
+ trajectories remote --help
28
29
 
29
30
  # SDK: inside your project; also works in Node 22.13 or newer.
30
- bun add trajectories@0.1.2
31
+ bun add trajectories@latest
31
32
  ```
32
33
 
33
34
  The package includes the CLI, SDK, agent skill, and OS service installers.
@@ -63,8 +64,12 @@ conversation authority per logical session, shared evidence/artifacts, and
63
64
  explicitly bounded native checkpoints. Version 1 stores require explicit migration
64
65
  before using these managed APIs. Native scan/sync continues to use Ledger's engine.
65
66
 
66
- The current central store is local, private files. Omakase can use this SDK and
67
- keep Vercel's HarnessAgent for execution. Same-harness native resume remains
67
+ Managed stores use private local files; [shared history](./docs/shared-history.md)
68
+ adds authenticated cross-machine synchronization of their canonical logs and
69
+ required evidence, plus native histories already indexed in SQLite. SQLite remains
70
+ the local ingestion/search engine. Each session keeps its own history; sync uploads
71
+ missing objects and changes instead of copying whole databases or snapshots.
72
+ Omakase can use this SDK and keep Vercel's HarnessAgent for execution. Same-harness native resume remains
68
73
  useful: a transcript does not reconstruct runtime caches, permissions, pending
69
74
  approvals, installed tools/skills, filesystem state, or opaque reasoning state.
70
75
  The caller must stop the source and provide the target's tools and credentials.
@@ -148,6 +153,17 @@ Aliases: `cc` means `claude-code`. Native artifacts and source transcripts are
148
153
  never overwritten. Workspace files must already be present; `--cwd` changes the
149
154
  workspace reference, not tool-output text or historical file contents.
150
155
 
156
+ For inspection without duplicating the complete native transcript in the JSON:
157
+
158
+ ```sh
159
+ trajectories read /absolute/session.jsonl --from cc --canonical-only
160
+ ```
161
+
162
+ This omits only `raw`; source provenance, canonical records, normalization
163
+ metadata, diagnostics and portability warnings remain intact. The default
164
+ `read` output is unchanged. This inspection output is not a complete portable
165
+ snapshot, and the flag does not make unsupported continuation history resumable.
166
+
151
167
  Inspect a managed conversation directly, or add its current complete history to
152
168
  the same search index that holds native sessions:
153
169