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:
Julius Marminge committed 2026-08-15 16:49:00 +02:00
1 parent 4fae73ee08
commit ce64e37094
50 files changed
+7163 -201

No files matched your search

+141 -86
View File
@@ -449,6 +449,15 @@ importers:
'@anthropic-ai/claude-agent-sdk':
specifier: ^0.3.170
version: 0.3.170(@anthropic-ai/[email protected]([email protected]))(@modelcontextprotocol/[email protected]([email protected]))([email protected])
'@connectrpc/connect':
specifier: 1.7.0
version: 1.7.0(@bufbuild/[email protected])
'@connectrpc/connect-node':
specifier: 1.7.0
version: 1.7.0(@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))
'@cursor/sdk':
specifier: 1.0.19
version: 1.0.19
'@effect/platform-bun':
specifier: 4.0.0-beta.103
version: 4.0.0-beta.103([email protected])([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))([email protected])
@@ -1637,57 +1646,8 @@ packages:
'@types/react':
optional: true
'@blazediff/[email protected]':
resolution: {integrity: sha512-ehg3jIkYKulZh+8om/O25vkvSsXXwC+skXmyA87FFx6A/45eqOkZsBltMw/TVteb0mloiGT8oGRTcjRAz66zaA==}
'@bruits/[email protected]':
resolution: {integrity: sha512-dRUZZrdwh1asfTOyM1nDNmzolhnHtlIFpqYrl1Tdd3YVcaebKmrfJgGL7NAoGPjbEwYmZxaugrxA0uzw83c0dw==}
cpu: [arm64]
os: [darwin]
'@bruits/[email protected]':
resolution: {integrity: sha512-wgNCTRp2hPSpNMGFv5A4+6+VXgRJIlBZ7XKb3iwjV8YjRWNIjzE5zV2fUeYynyZYVRkuJ9aYFqQmWhc1e5H+UQ==}
cpu: [x64]
os: [darwin]
'@bruits/[email protected]':
resolution: {integrity: sha512-A/pWy8Jb/PhDYc2/JFuYh06gFJcsfBUBDl81YydGYBrL/Z4nItDfhNDNOibyeSN/lKKDRlycIHEIajjErk00sQ==}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@bruits/[email protected]':
resolution: {integrity: sha512-L6YxmyOSickzo4pE5WmZfNTJnjX0MtgKOsuwQfNZECTx9Ir5vl2B37EIwnxe2AybuPPHl+FqVQtthNDUdH4Vgg==}
cpu: [arm64]
os: [linux]
libc: [musl]
'@bruits/[email protected]':
resolution: {integrity: sha512-RgH6GPihg9Lzs2yHUsMjqiLxfLyOdmBty8sg9pBY9B4CBnvdOzvg8vklqN+C4qrEEdA9TwpbDpHr1AshLKyRpw==}
cpu: [x64]
os: [linux]
libc: [glibc]
'@bruits/[email protected]':
resolution: {integrity: sha512-BeWhVORjNTIomePznUKiMbHZTqC0j7sMXZFsISmbX+po5d33KLkqBqKh6K332CHJ8KUmCWx16FfPjwsoysttQg==}
cpu: [x64]
os: [linux]
libc: [musl]
'@bruits/[email protected]':
resolution: {integrity: sha512-dFNcOHKWV2cztCPnYTn7kZ9D7kNOt8N239z5ysFkNHLxJrfK7zaKIXQbfXYN32C+JoVFqAcTIOeWH2+VnsCOHg==}
engines: {node: '>=14.0.0'}
cpu: [wasm32]
'@bruits/[email protected]':
resolution: {integrity: sha512-VnwjBHiAra/PNNEza8eSZdQiG4A3PtTJJwUDtOPAc6iTs0BWZwZX8+OPUZE7//yQCBhgvEMcI8vpwsAwCb6qGQ==}
cpu: [arm64]
os: [win32]
'@bruits/[email protected]':
resolution: {integrity: sha512-Dsoe4reWe69MyILmMwU6iISIceTW7YIFqbyym7haf9DhUvqkYfMAyp7GMM21JzV0SpG9A2BwzFVP7iq9mmxrpA==}
cpu: [x64]
os: [win32]
'@bufbuild/[email protected]':
resolution: {integrity: sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==}
'@callstack/[email protected]':
resolution: {integrity: sha512-N2rzs8g3kneI5G/98AZdVtjc6OUFBBFwPxVGVMoXUEI7QiioB4+aWwbImg5h8Z3Vb/T+fgLYWmmNhi27wHwE4g==}
@@ -1862,8 +1822,61 @@ packages:
'@cloudflare/[email protected]':
resolution: {integrity: sha512-nVTydUwPcz9WfwZ/6xAmqs8uUVeGbDVmyPvSYrYAo4CQTyi0122SoE1Suw8RvqnN60XXHPChAjDqSIjnr/mbmg==}
'@cloudflare/[email protected]':
resolution: {integrity: sha512-fKgRSm3sDmOdak1LGWehS4vSPSj7/zeu0NfmE62VPjBMqWgODcOGljYvq6A75sL+7YfY3iGFGb0jVEDYq+hlmw==}
'@connectrpc/[email protected]':
resolution: {integrity: sha512-6vaPIkG/NyhxlYgytLoR9KYbPhczEboFB2OYWkA9qvUz1K7efXfeGrlRxoLtpa+r8VxyIOw73w5ktNe743nD+A==}
engines: {node: '>=16.0.0'}
peerDependencies:
'@bufbuild/protobuf': ^1.10.0
'@connectrpc/connect': 1.7.0
'@connectrpc/[email protected]':
resolution: {integrity: sha512-qyP0YOnUPRWwCc/VfsoydMJvkb7EyUPr2q9sHgBuJzbADjiqck1gKH5V5ZPzPhTLBvmz5UvG+wiZ5sMRQHU1MQ==}
peerDependencies:
'@bufbuild/protobuf': ^1.10.0
'@connectrpc/connect': 1.7.0
'@connectrpc/[email protected]':
resolution: {integrity: sha512-iNKdJRi69YP3mq6AePRT8F/HrxWCewrhxnLMNm0vpqXAR8biwzRtO6Hjx80C6UvtKJ5sFmffQT7I4Baecz389w==}
peerDependencies:
'@bufbuild/protobuf': ^1.10.0
'@cursor/[email protected]':
resolution: {integrity: sha512-CPhqcpDaqjjqkkVGMLsdfXv7PGznL5L6U5CJXps/oaGW5mtHoxDpsRNj1rszCRQXNAvmMU+EFxLWnBwlE8mUNg==}
cpu: [arm64]
os: [darwin]
hasBin: true
'@cursor/[email protected]':
resolution: {integrity: sha512-6/Jj0hxrxEs9V9wtYEApSkMcJwYAaT4Vwna9xBzgN6CK1K4Ws0E1/PfiddahAAFZpkp9pgjb8wQXwG7qJ2g77A==}
cpu: [x64]
os: [darwin]
hasBin: true
'@cursor/[email protected]':
resolution: {integrity: sha512-Dq/BhGT1jAZ6eHJwy1Vugi/Upc+yoL0X/LN6ppd9cVPM9OAB1xX5KIbvIwsGlNiZccPLVXFv/1KOp5SBK+y+jQ==}
cpu: [arm64]
os: [linux]
hasBin: true
'@cursor/[email protected]':
resolution: {integrity: sha512-ZHgHH+SdEwYwfPg/uVKqZRVOIMCV3/3vghxc/usOMYMrhbY9TYXZxYqwWTduVLzCXH7Dz0aT19mSJHmhwkQ1CA==}
cpu: [x64]
os: [linux]
hasBin: true
'@cursor/[email protected]':
resolution: {integrity: sha512-XGIQmx3J0K8uKkA00qnoy1FJHFdFdwNdcmUqtRF1PXLcYup91YYetAHk9afXM7S/v1t0L4EatydsirL8uz7SIw==}
cpu: [x64]
os: [win32]
hasBin: true
'@cursor/[email protected]':
resolution: {integrity: sha512-DJbVnGeRJq7iwt9mz1cMACqVfAYP15IB+Q8Iz2eDtEN4A8Dp83yB0Y31YREj1jeA9EPUEdRZJRIYch/s+Wi9Ow==}
engines: {node: '>=22.13'}
'@develar/[email protected]':
resolution: {integrity: sha512-0cp4PsWQ/9avqTVMCtZ+GirikIA36ikvjtHweU4/j8yLtgObI0+JUPhYFScgwlteveGB1rt3Cm8UhN04XayDig==}
engines: {node: '>= 8.9.0'}
'@distilled.cloud/[email protected]':
resolution: {integrity: sha512-Uw2yZf7PJ2ienrKG49HN1ajnke65mTtHBUrSb/3ykeZ/8cLaSgwVhPscHxSzGByY0TEtYcYKNNmfUVISgGQl9g==}
@@ -2662,6 +2675,10 @@ packages:
resolution: {integrity: sha512-4aQzz9vgxcNXFfo/iyNgDDYfsU5XGKKxWxZopw0cVotHiW+U8IJbIxMaxsINs6bHhtkG3StKNPcOrn3eBuxKPw==}
hasBin: true
'@fastify/[email protected]':
resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==}
engines: {node: '>=14'}
'@ff-labs/[email protected]':
resolution: {integrity: sha512-xyivu2xB++O5xXDx5Qm50JsU2aXt8YgXlGVhH/HE7UMYDrE6L6f1RYdYs8Y0bn0D3D0+bFBrN5ELPszK9E4Wbw==}
cpu: [arm64]
@@ -4457,6 +4474,12 @@ packages:
'@standard-schema/[email protected]':
resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
'@statsig/[email protected]':
resolution: {integrity: sha512-SuxQD6TmVszPG7FoMKwTk/uyBuVFk7XnxI3T/E0uyb7PL7GNjONtfsoh+NqBBVUJVse0CUeSFfgJPoZy1ZOslQ==}
'@statsig/[email protected]':
resolution: {integrity: sha512-LFa5E0LjT6sTfZv3sNGoyRLSZ1078+agdgOA+Vm1ecjG+KbSOfBLTW7hMwimrJ29slRwbYDzbtKaPJo/R37N2g==}
'@stripe/[email protected]':
resolution: {integrity: sha512-w8CEY73X/7tw2KKlL3iOk679V9bWseE4GzNz3zlaYxcTjmcmWOathRb0emgo/QQ3eoNzmq68+2Y2gxluAv3xGw==}
engines: {node: '>=12.16'}
@@ -9889,6 +9912,10 @@ packages:
[email protected]:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
[email protected]:
resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==}
engines: {node: '>=14.0'}
[email protected]:
resolution: {integrity: sha512-4yqz8a3n5HmGTlsbADNtr/dJlhkh/55Rq798G6ibiULcXbDtaLpTl1pvdqcbFfeoj3iSi52lePFM7h9H21cw/A==}
engines: {node: '>=18.17'}
@@ -11472,38 +11499,7 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.16
'@blazediff/[email protected]': {}
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
dependencies:
'@emnapi/core': 1.11.1
'@emnapi/runtime': 1.11.1
'@napi-rs/wasm-runtime': 1.1.6(@emnapi/[email protected])(@emnapi/[email protected])
optional: true
'@bruits/[email protected]':
optional: true
'@bruits/[email protected]':
optional: true
'@bufbuild/[email protected]': {}
'@callstack/[email protected]([email protected](@babel/[email protected])(@react-native/[email protected](@babel/[email protected])([email protected])([email protected]))(@types/[email protected])([email protected])([email protected])([email protected]))([email protected])':
dependencies:
@@ -11692,7 +11688,54 @@ snapshots:
'@cloudflare/[email protected]': {}
'@cloudflare/[email protected]': {}
'@connectrpc/[email protected](@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))':
dependencies:
'@bufbuild/protobuf': 1.10.0
'@connectrpc/connect': 1.7.0(@bufbuild/[email protected])
undici: 5.29.0
'@connectrpc/[email protected](@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))':
dependencies:
'@bufbuild/protobuf': 1.10.0
'@connectrpc/connect': 1.7.0(@bufbuild/[email protected])
'@connectrpc/[email protected](@bufbuild/[email protected])':
dependencies:
'@bufbuild/protobuf': 1.10.0
'@cursor/[email protected]':
optional: true
'@cursor/[email protected]':
optional: true
'@cursor/[email protected]':
optional: true
'@cursor/[email protected]':
optional: true
'@cursor/[email protected]':
optional: true
'@cursor/[email protected]':
dependencies:
'@bufbuild/protobuf': 1.10.0
'@connectrpc/connect': 1.7.0(@bufbuild/[email protected])
'@connectrpc/connect-web': 1.7.0(@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))
'@statsig/js-client': 3.31.0
zod: 3.25.76
optionalDependencies:
'@cursor/sdk-darwin-arm64': 1.0.19
'@cursor/sdk-darwin-x64': 1.0.19
'@cursor/sdk-linux-arm64': 1.0.19
'@cursor/sdk-linux-x64': 1.0.19
'@cursor/sdk-win32-x64': 1.0.19
'@develar/[email protected]':
dependencies:
ajv: 6.15.0
ajv-keywords: 3.5.2([email protected])
'@distilled.cloud/[email protected]([email protected](patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))':
dependencies:
@@ -12771,6 +12814,8 @@ snapshots:
chalk: 4.1.2
js-yaml: 4.2.0
'@fastify/[email protected]': {}
'@ff-labs/[email protected]':
optional: true
@@ -14648,6 +14693,12 @@ snapshots:
'@standard-schema/[email protected]': {}
'@statsig/[email protected]': {}
'@statsig/[email protected]':
dependencies:
'@statsig/client-core': 3.31.0
'@stripe/[email protected]': {}
'@swc/[email protected]':
@@ -21154,6 +21205,10 @@ snapshots:
[email protected]: {}
[email protected]:
dependencies:
'@fastify/busboy': 2.1.1
[email protected]: {}
[email protected]: {}