orkestrator 2.34.3-beta → 2.34.5-beta

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.
@@ -0,0 +1,40 @@
1
+ {
2
+ "lockfileVersion": 2,
3
+ "configVersion": 1,
4
+ "workspaces": {
5
+ "": {
6
+ "name": "orkestrator-cursor-bridge-runtime",
7
+ "dependencies": {
8
+ "@cursor/sdk": "1.2.0",
9
+ },
10
+ },
11
+ },
12
+ "patchedDependencies": {
13
+ "@cursor/sdk@1.2.0": "patches/@cursor%2Fsdk@1.2.0.patch",
14
+ },
15
+ "packages": {
16
+ "@bufbuild/protobuf": ["@bufbuild/protobuf@1.10.0", "", {}, "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag=="],
17
+
18
+ "@connectrpc/connect": ["@connectrpc/connect@1.7.0", "", { "peerDependencies": { "@bufbuild/protobuf": "^1.10.0" } }, "sha512-iNKdJRi69YP3mq6AePRT8F/HrxWCewrhxnLMNm0vpqXAR8biwzRtO6Hjx80C6UvtKJ5sFmffQT7I4Baecz389w=="],
19
+
20
+ "@connectrpc/connect-web": ["@connectrpc/connect-web@1.7.0", "", { "peerDependencies": { "@bufbuild/protobuf": "^1.10.0", "@connectrpc/connect": "1.7.0" } }, "sha512-qyP0YOnUPRWwCc/VfsoydMJvkb7EyUPr2q9sHgBuJzbADjiqck1gKH5V5ZPzPhTLBvmz5UvG+wiZ5sMRQHU1MQ=="],
21
+
22
+ "@cursor/sdk": ["@cursor/sdk@1.2.0", "", { "dependencies": { "@bufbuild/protobuf": "1.10.0", "@connectrpc/connect": "^1.6.1", "@connectrpc/connect-web": "^1.6.1", "@statsig/js-client": "3.31.0" }, "optionalDependencies": { "@cursor/sdk-darwin-arm64": "1.2.0", "@cursor/sdk-darwin-x64": "1.2.0", "@cursor/sdk-linux-arm64": "1.2.0", "@cursor/sdk-linux-x64": "1.2.0", "@cursor/sdk-win32-x64": "1.2.0" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" } }, "sha512-Nqm2U0zTWrYEDCv3Rdwsfa1gYZWsg+JnY+I2F8BwWSAr3FNo0TZWwyHWoWngZgriF1w02fJ4gjJWaul9zysvgQ=="],
23
+
24
+ "@cursor/sdk-darwin-arm64": ["@cursor/sdk-darwin-arm64@1.2.0", "", { "os": "darwin", "cpu": "arm64", "bin": { "rg": "./bin/rg" } }, "sha512-UkZ/RdxKCpOQ85nRgzSq+g0h+gIw36/lCEvQvomhs5EkSFZW3OwbeEzkAU3UYglZ7t3RNHj3mc5C5cdDtHguvw=="],
25
+
26
+ "@cursor/sdk-darwin-x64": ["@cursor/sdk-darwin-x64@1.2.0", "", { "os": "darwin", "cpu": "x64", "bin": { "rg": "./bin/rg" } }, "sha512-mJTFdX+qv9dHAm59tT7uq7ci7+BDvFoNk4gdF2zGp9SLULicY+FdFD64p1qLen1bX5Y2soZaX5mWBy7BfObjcg=="],
27
+
28
+ "@cursor/sdk-linux-arm64": ["@cursor/sdk-linux-arm64@1.2.0", "", { "os": "linux", "cpu": "arm64", "bin": { "rg": "./bin/rg" } }, "sha512-Rs+cd5snuhxMAHkpqRfEGPB1qAsfqSOYJh5SOHZTOWy2LkRVO62WHwd4x80C2emj+dosTV5WAcuF2kMKKcrDJg=="],
29
+
30
+ "@cursor/sdk-linux-x64": ["@cursor/sdk-linux-x64@1.2.0", "", { "os": "linux", "cpu": "x64", "bin": { "rg": "./bin/rg" } }, "sha512-ainsGAFtkWTBZrLABp82Hvfv7VB/FxmZHE42qMVotFTRDwOY2iduvhSig910bVxv+kw3S00Srmu/9CxklLwhbw=="],
31
+
32
+ "@cursor/sdk-win32-x64": ["@cursor/sdk-win32-x64@1.2.0", "", { "os": "win32", "cpu": "x64", "bin": { "rg": "./bin/rg.exe" } }, "sha512-p3rkyta6R/nXIukd3/ifJq32otkkGoUi41T2jxnHbPHMhzE2F8OuJQGBVmORuQLMr+bIGGVZmCxertgs4WgzcQ=="],
33
+
34
+ "@statsig/client-core": ["@statsig/client-core@3.31.0", "", {}, "sha512-SuxQD6TmVszPG7FoMKwTk/uyBuVFk7XnxI3T/E0uyb7PL7GNjONtfsoh+NqBBVUJVse0CUeSFfgJPoZy1ZOslQ=="],
35
+
36
+ "@statsig/js-client": ["@statsig/js-client@3.31.0", "", { "dependencies": { "@statsig/client-core": "3.31.0" } }, "sha512-LFa5E0LjT6sTfZv3sNGoyRLSZ1078+agdgOA+Vm1ecjG+KbSOfBLTW7hMwimrJ29slRwbYDzbtKaPJo/R37N2g=="],
37
+
38
+ "zod": ["zod@4.6.7", "", {}, "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg=="],
39
+ }
40
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "bridge": "cursor-bridge",
3
+ "digest": "ef917a23d141dd05"
4
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "orkestrator-cursor-bridge-runtime",
3
+ "private": true,
4
+ "type": "module",
5
+ "dependencies": {
6
+ "@cursor/sdk": "1.2.0"
7
+ },
8
+ "patchedDependencies": {
9
+ "@cursor/sdk@1.2.0": "patches/@cursor%2Fsdk@1.2.0.patch"
10
+ }
11
+ }
@@ -0,0 +1,19 @@
1
+ diff --git a/dist/bundled/index.js b/dist/bundled/index.js
2
+ index a80c832b94408a628a86d35a213d269c57e173c7..99dda3a071e8fcebe9874163dc108a4c07052158 100644
3
+ --- a/dist/bundled/index.js
4
+ +++ b/dist/bundled/index.js
5
+ @@ -1912,3 +1912,14 @@ ${X.finalMessage}`}).join(`
6
+ `).filter((Q)=>Q.trim().length>0),Y=[];for(let[Q,W]of X.entries()){let K;try{K=JSON.parse(W)}catch{if(Q===X.length-1)break;throw Dj8($,Q+1)}if(!J(K)){if(Q===X.length-1)break;throw Dj8($,Q+1)}Y.push(K)}return Y}function R6$($){return typeof $==="object"&&$!==null&&"code"in $&&$.code==="ENOENT"}function oa0($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Uv0($){return oa0($)&&typeof $.agentId==="string"&&typeof $.cwd==="string"&&C6$($.status)&&typeof $.createdAt==="number"&&typeof $.updatedAt==="number"}function C6$($){return $==="idle"||$==="running"||$==="error"||$==="archived"}function Dv0($){return oa0($)&&typeof $.runId==="string"&&typeof $.agentId==="string"&&typeof $.turnNumber==="number"&&_6$($.status)&&typeof $.createdAt==="number"&&typeof $.updatedAt==="number"}function _6$($){return $==="queued"||$==="running"||$==="finished"||$==="error"||$==="cancelled"||$==="expired"}function QN1($){return oa0($)&&typeof $.runId==="string"&&typeof $.seq==="number"&&typeof $.offset==="string"&&typeof $.eventType==="string"&&typeof $.createdAt==="string"&&($.payloadRef===null||typeof $.payloadRef==="string")&&($.idempotencyKey===null||typeof $.idempotencyKey==="string")}function Av0($){return oa0($)&&typeof $.agentId==="string"&&typeof $.blobId==="string"&&typeof $.dataBase64==="string"}function Dj8($,J){return Error(`Corrupt local agent store: failed to parse record ${J} of ${$}`)}async function PW($,J){let Z=J.map((X)=>JSON.stringify(X)).join(`
7
+ `);await Vj8($,Z.length>0?`${Z}
8
+ `:"")}function WN1($){return{...$,createdAt:new Date($.createdAt).getTime()}}uE0();Nh0();ua0();S$();SE0();async function J7($,J){try{return await J()}catch(Z){throw V6(Z,{operation:$})}}class ta0{constructor(){}static async create($){return J7("Agent.create",async()=>{if($.agentId===void 0&&$.cloud?.envVars!==void 0)return oB1($);let J=$.agentId??($.cloud?Sw0():_w0()),Z={...$,agentId:J};return oB1(Z)})}static async resume($,J){return J7("Agent.resume",()=>xI8($,J))}static async prompt($,J){return J7("Agent.prompt",async()=>{let Z=await ta0.create(J??{});try{return await(await Z.send($)).wait()}finally{await Z[Symbol.asyncDispose]()}})}static async list($){return J7("Agent.list",()=>bI8($))}static async listRuns($,J){return J7("Agent.listRuns",()=>hI8($,J))}static async getRun($,J){return J7("Agent.getRun",()=>mI8($,J))}static async cancelRun($,J){return J7("Agent.cancelRun",()=>gI8($,J))}static async get($,J){return J7("Agent.get",()=>pI8($,J))}static async archive($,J){return J7("Agent.archive",()=>lI8($,J))}static async unarchive($,J){return J7("Agent.unarchive",()=>iI8($,J))}static async delete($,J){return J7("Agent.delete",()=>nI8($,J))}static async getUsage($,J){return J7("Agent.getUsage",()=>rI8($,J))}static messages={list($,J){return J7("Agent.messages.list",()=>uI8($,J))}}}class zN1{constructor(){}static configure($){rb0($)}static async me($){return J7("Cursor.me",()=>sI8($))}static models={list($){return J7("Cursor.models.list",()=>oI8($))}};static repositories={list($){return J7("Cursor.repositories.list",()=>tI8($))}};static auth={login($){return J7("Cursor.auth.login",()=>oA1($))},logout($){return J7("Cursor.auth.logout",()=>tA1($))},status($){return J7("Cursor.auth.status",()=>eA1($))}}}import*as i8 from"zod/v3";vB1();var kj8=i8.object({text:i8.string()}),Rj8=i8.object({text:i8.string(),thinkingDurationMs:i8.number().optional()}),Cj8=i8.object({text:i8.string()}),_j8=i8.object({command:i8.string(),workingDirectory:i8.string().optional()}),Sj8=i8.object({stdout:i8.string(),stderr:i8.string(),exitCode:i8.number()}),yj8=i8.discriminatedUnion("type",[i8.object({type:i8.literal("assistantMessage"),message:kj8}),i8.object({type:i8.literal("toolCall"),message:CT0}),i8.object({type:i8.literal("thinkingMessage"),message:Rj8})]),vj8=i8.object({userMessage:Cj8.optional(),steps:i8.array(yj8)}),xj8=i8.object({shellCommand:_j8.optional(),shellOutput:Sj8.optional()}),S6$=i8.discriminatedUnion("type",[i8.object({type:i8.literal("agentConversationTurn"),turn:vj8}),i8.object({type:i8.literal("shellConversationTurn"),turn:xj8})]);cB1();function y6$($){return $.type}yB1();export{V6 as wrapSdkError,TP0 as unionFs,s60 as tempFs,wP0 as strReplaceOnFileSystem,Wj8 as startLocalRunEventNotifierServer,JD0 as remapPathError,wo0 as readOnlyFs,TH as paginateRunDocuments,TF as paginateCheckpointBlobIds,PF as paginateAgentDocuments,tx0 as overlayFs,BD0 as localRunStreamEventToSdkMessage,W0$ as isUserMessage,gP0 as isTerminalLocalRunStreamEvent,z0$ as isMessage,a60 as isInvalidGrepPatternError,fK as isFileNotFoundError,K0$ as isAssistantMessage,y6$ as getTurnType,Z70 as getDefaultSdkStateRoot,ST0 as getDefaultSdkAuthPath,Ao0 as emptyFs,WT1 as decodeSdkMessageRunStreamEvent,mP0 as decodeLocalRunStreamEvent,Of0 as createSdkMessageRunStreamEvent,Qj8 as createLocalRunEventNotifier,Kj8 as createInMemoryRunEventNotifier,mt0 as createFileSystemTools,vX as createAgentPlatform,YT8 as convertError,rG as convertConnectError,rb0 as configureCursorSdk,v61 as composeLocalAgentStore,To0 as childOverlayFs,i60 as WriteFailedError,qv0 as UserMessageSchema,XI8 as UserMessageAppendedUpdateSchema,J70 as UnsupportedRunOperationError,mZ as UnknownAgentError,HI8 as TurnEndedUpdateSchema,fB1 as ToolCallStartedUpdateSchema,NI8 as ToolCallDeltaUpdateSchema,bB1 as ToolCallCompletedUpdateSchema,YI8 as TokenDeltaUpdateSchema,hB1 as ThinkingDeltaUpdateSchema,mB1 as ThinkingCompletedUpdateSchema,xB1 as TextDeltaUpdateSchema,QI8 as SummaryUpdateSchema,WI8 as SummaryStartedUpdateSchema,KI8 as SummaryCompletedUpdateSchema,Sj8 as ShellOutputSchema,zI8 as ShellOutputDeltaUpdateSchema,xj8 as ShellConversationTurnSchema,_j8 as ShellCommandSchema,Cj8 as SdkUserMessageSchema,Rj8 as SdkThinkingMessageSchema,kj8 as SdkAssistantMessageSchema,u5 as ReadOnlyMountError,CW as RateLimitError,I9 as PathError,gB1 as PartialToolCallUpdateSchema,l60 as NoMountError,Y7 as NetworkError,BI8 as NestedTaskUpdateSchema,tM8 as MessageSchema,Ov0 as LocalRunEventNotifierServer,ia0 as LocalRunEventNotifier,X$0 as LOCAL_RUN_STREAM_SCHEMA_VERSION,Nf0 as LOCAL_RUN_STREAM_EVENT_TYPE,sa0 as JsonlLocalAgentStore,KN1 as JSONL_LOCAL_AGENT_STORE_FILES,xN as InvalidGrepPatternError,uB1 as InteractionUpdateSchema,Tv0 as IntegrationNotConnectedError,na0 as InMemoryRunEventNotifier,Xr0 as InMemoryCredentialStore,oM8 as ImageSchema,YZ as FileNotFoundError,yT0 as FileCredentialStore,az as FILE_SYSTEM_SCAN_LIMIT,E4 as EditError,n60 as DeleteNotSupportedError,es0 as DEFAULT_LOGIN_API_KEY_TTL_MS,gZ as CursorSdkError,AJ0 as CursorAgentPlatform,_W as CursorAgentError,zN1 as Cursor,S6$ as ConversationTurnSchema,yj8 as ConversationStepSchema,V1 as ConfigurationError,V5 as AuthenticationError,SB1 as AssistantMessageSchema,lL as AgentNotFoundError,vj8 as AgentConversationTurnSchema,jv0 as AgentBusyError,ta0 as Agent};
9
+ +
10
+ +// Orkestrator's Bun-only, version-pinned diagnostic seam. No instrumentation is
11
+ +// installed until the embedder explicitly calls this export. No SDK payloads
12
+ +// are logged here; the embedder owns bounded, content-free observation.
13
+ +export function __orkestratorDiagnosticsV1(install) {
14
+ + N71();
15
+ + return install({
16
+ + stallDetectorPrototype: Vm0.prototype,
17
+ + execControllerPrototype: Qm0.prototype,
18
+ + });
19
+ +}