feat(cursor): add Cursor Agent source - #35
Merged
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Cursor Agent (
cursor, aliascursor-agent) as a first-class file-JSONL source across all four runtimes: decode, listing, live stream append, and sample CLIlist/show/browse --watch.Also hardens the Release workflow after the partial
v0.1.3publish:trajectory-ahp/trajectory-hermesio/ahp/hermesv0.1.3must not be retagged. Next cut isv0.1.4.Spec
docs/cursor-source-spec.md~/.cursor/projects/*/agent-transcripts/<id>/<id>.jsonlchats/*/<id>/meta.jsonstore.db, invented tool results / modelsRelease follow-up (this PR)
*.nupkgonly; verify waits longer and tries the v2 package URLAfter merge on green, tag
v0.1.4(requiresNPM_TOKENandCARGO_REGISTRY_TOKENon thereleaseenvironment so the new optional packages can be created).Test plan
conformance/verify.py --source cursoron Python, Rust, .NET, TypeScript--source cursorlist / show / browse--watchtests