Add Cursor SDK orchestration replay support
- Wire Cursor adapter and provider session handling into orchestration v2 - Add replay fixtures, recording script, and coverage for Cursor turn flows - Update docs and debug timeline mapping for Cursor events
This commit is contained in:
1 parent
4fae73ee08
commit
ce64e37094
50 files changed
+7163
-201
No files matched your search
@@ -84,10 +84,16 @@ Claude receives an HTTP MCP server in its query options:
|
||||
The adapter logs only whether MCP configuration exists; it does not log the
|
||||
server headers or token.
|
||||
|
||||
### Cursor Agent SDK V2
|
||||
|
||||
Cursor receives the same authenticated HTTP MCP endpoint through the SDK's
|
||||
`mcpServers` agent and send options. The adapter passes the authorization header
|
||||
to the SDK but projects only redacted option metadata into protocol diagnostics.
|
||||
|
||||
### Initial Provider Support
|
||||
|
||||
The initial V2 provider adapters are Codex and Claude Agent SDK. Capability
|
||||
discovery still reports other registered provider instances, but marks them
|
||||
The V2 provider adapters are Codex, Claude Agent SDK, and Cursor Agent SDK.
|
||||
Capability discovery still reports other registered provider instances, but marks them
|
||||
unavailable for orchestration when no V2 adapter exists. This keeps provider
|
||||
selection model-visible without allowing a request that cannot run.
|
||||
|
||||
@@ -293,6 +299,6 @@ Coverage includes:
|
||||
- inheritance and per-thread provider overrides; and
|
||||
- idempotent retries.
|
||||
|
||||
Provider adapter tests separately verify Codex and Claude MCP injection, and
|
||||
Provider adapter tests separately verify Codex, Claude, and Cursor MCP injection, and
|
||||
the provider-session manager test verifies that credentials exist before an
|
||||
adapter opens and are revoked when it closes.
|
||||
Reference in new issue
Block a user