Skip to content

feat(cursor): add Cursor Agent source - #35

Merged
matt-gribben merged 6 commits into
mainfrom
feature/cursor-source
Aug 13, 2026
Merged

feat(cursor): add Cursor Agent source#35
matt-gribben merged 6 commits into
mainfrom
feature/cursor-source

Conversation

@matt-gribben

Copy link
Copy Markdown
Contributor

Summary

Adds Cursor Agent (cursor, alias cursor-agent) as a first-class file-JSONL source across all four runtimes: decode, listing, live stream append, and sample CLI list / show / browse --watch.

Also hardens the Release workflow after the partial v0.1.3 publish:

Registry 0.1.3 outcome
PyPI published
NuGet (all 6) published; job failed on CDN verify lag
npm core / node / otel published
npm trajectory-ahp / trajectory-hermes never created (OIDC cannot create new names)
crates core / otel published
crates io / ahp / hermes never created (OIDC cannot create new crates)
GitHub Release skipped

v0.1.3 must not be retagged. Next cut is v0.1.4.

Spec

docs/cursor-source-spec.md

  • Transcript: ~/.cursor/projects/*/agent-transcripts/<id>/<id>.jsonl
  • Optional listing join: chats/*/<id>/meta.json
  • Out of scope: encrypted store.db, invented tool results / models

Release follow-up (this PR)

  • NuGet: push *.nupkg only; verify waits longer and tries the v2 package URL
  • npm / crates: token-secret fallback for first-time package names

After merge on green, tag v0.1.4 (requires NPM_TOKEN and CARGO_REGISTRY_TOKEN on the release environment so the new optional packages can be created).

Test plan

  • conformance/verify.py --source cursor on Python, Rust, .NET, TypeScript
  • Sample CLI --source cursor list / show / browse --watch tests
  • Release workflow + artifact-verify unit tests

Normative spec for the cursor wire source and cursor-agent-transcript-jsonl
container. Implementation of adapters is out of scope for this commit.
Implement CU-01 through CU-06: schema vocabulary, shared normalize/list/stream
fixtures, decode and listing adapters, sample CLI --source cursor (alias
cursor-agent), and advertise cursor only after the four-runtime matrix is green.
Match .NET tool-argument JSON to the other runtimes, keep user-role
tool_use from being treated as unknown parts, and add list/show/browse
--watch coverage for --source cursor.
NuGet verify now waits longer and tries the v2 package URL; nupkg push
no longer double-uploads symbols. New npm and crates names can first-
publish with token secrets when OIDC cannot create them.
Copilot AI lite review requested due to automatic review settings August 13, 2026 11:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Update CI/source-count assertions for the new Cursor cases, rustfmt
and clippy the Cursor adapters, and add listCursorTrajectories to the
TypeScript export smoke list.
@matt-gribben
matt-gribben merged commit 3503833 into main Aug 13, 2026
34 checks passed
@matt-gribben
matt-gribben deleted the feature/cursor-source branch August 13, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants