orkestrator 2.36.6-beta → 2.37.0-alpha
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.
- package/dist/artifact-runtime/THIRD_PARTY_NOTICES.txt +1038 -0
- package/dist/artifact-runtime/chart.umd.min.js +14 -0
- package/dist/artifact-runtime/d3.min.js +2 -0
- package/dist/artifact-runtime/licenses/chart.js@4.5.1/@kurkle/color/LICENSE.md +9 -0
- package/dist/artifact-runtime/licenses/chart.js@4.5.1/LICENSE.md +9 -0
- package/dist/artifact-runtime/licenses/d3@7.9.0/LICENSE +13 -0
- package/dist/artifact-runtime/licenses/dompurify@3.4.17/LICENSE +202 -0
- package/dist/artifact-runtime/licenses/dompurify@3.4.17/LICENSE-MPL +373 -0
- package/dist/artifact-runtime/licenses/mermaid@12.2.0/LICENSE +21 -0
- package/dist/artifact-runtime/licenses/pdfjs-dist-worker@6.4.299/LICENSE +177 -0
- package/dist/artifact-runtime/licenses/pdfjs-dist@6.4.299/LICENSE +177 -0
- package/dist/artifact-runtime/mermaid.min.js +4330 -0
- package/dist/artifact-runtime/pdf.min.mjs +28 -0
- package/dist/artifact-runtime/pdf.worker.min.mjs +28 -0
- package/dist/artifact-runtime/preview-worker.js +2043 -0
- package/dist/artifact-runtime/purify.min.js +7 -0
- package/dist/artifact-runtime/seccomp_profile.json +701 -0
- package/dist/artifact-runtime/worker-context/Dockerfile +41 -0
- package/dist/artifact-runtime/worker-context/THIRD_PARTY_NOTICES.txt +1038 -0
- package/dist/artifact-runtime/worker-context/chart.umd.min.js +14 -0
- package/dist/artifact-runtime/worker-context/d3.min.js +2 -0
- package/dist/artifact-runtime/worker-context/licenses/chart.js@4.5.1/@kurkle/color/LICENSE.md +9 -0
- package/dist/artifact-runtime/worker-context/licenses/chart.js@4.5.1/LICENSE.md +9 -0
- package/dist/artifact-runtime/worker-context/licenses/d3@7.9.0/LICENSE +13 -0
- package/dist/artifact-runtime/worker-context/licenses/dompurify@3.4.17/LICENSE +202 -0
- package/dist/artifact-runtime/worker-context/licenses/dompurify@3.4.17/LICENSE-MPL +373 -0
- package/dist/artifact-runtime/worker-context/licenses/mermaid@12.2.0/LICENSE +21 -0
- package/dist/artifact-runtime/worker-context/licenses/pdfjs-dist-worker@6.4.299/LICENSE +177 -0
- package/dist/artifact-runtime/worker-context/licenses/pdfjs-dist@6.4.299/LICENSE +177 -0
- package/dist/artifact-runtime/worker-context/mermaid.min.js +4330 -0
- package/dist/artifact-runtime/worker-context/package-lock.json +25 -0
- package/dist/artifact-runtime/worker-context/package.json +8 -0
- package/dist/artifact-runtime/worker-context/pdf.min.mjs +28 -0
- package/dist/artifact-runtime/worker-context/pdf.worker.min.mjs +28 -0
- package/dist/artifact-runtime/worker-context/preview-worker.mjs +2042 -0
- package/dist/artifact-runtime/worker-context/purify.min.js +7 -0
- package/dist/artifact-runtime/worker-context/seccomp_profile.json +701 -0
- package/dist/client.js +442 -116
- package/dist/main.js +92413 -58360
- package/package.json +4 -4
- package/resources/acp-bridge/dist/index.js +169 -21
- package/resources/claude-bridge/dist/index.js +2560 -2226
- package/resources/codex-bridge/dist/index.js +222 -16
- package/resources/cursor-bridge/dist/index.js +152 -10
- package/resources/cursor-bridge/runtime/bun.lock +8 -8
- package/resources/cursor-bridge/runtime/install.json +1 -1
- package/resources/cursor-bridge/runtime/package.json +2 -2
- package/resources/cursor-bridge/runtime/patches/@cursor%2Fsdk@1.3.1.patch +19 -0
- package/resources/pi-bridge/dist/index.js +544 -70
- package/resources/pi-bridge/runtime/bun.lock +36 -32
- package/resources/pi-bridge/runtime/install.json +1 -1
- package/resources/pi-bridge/runtime/package.json +3 -3
- package/resources/release-runtime/bun.lock +11 -11
- package/resources/release-runtime/package.json +1 -1
- package/resources/cursor-bridge/runtime/patches/@cursor%2Fsdk@1.2.0.patch +0 -19
|
@@ -333,6 +333,7 @@ var BACKEND_LOG_AREAS = defineLogAreas({
|
|
|
333
333
|
"startup.deletion-pending": "An interrupted environment deletion stays pending. Its owning step logged the detail.",
|
|
334
334
|
"startup.looped-review-pending": "Cleanup of the retired Looped Review stays pending.",
|
|
335
335
|
"notice.failed": "A background notice after a turn or prompt failed; `step` says which.",
|
|
336
|
+
"command.slow": "A registered command took at least 2 s to settle, or its synchronous part held the event loop for at least 250 ms (then at warn): `command`, `durationMs`, `syncMs` and `outcome`. Repeats of one command within a minute are folded into the next line.",
|
|
336
337
|
"artifacts.live-unavailable": "Live interactive artifacts are unavailable.",
|
|
337
338
|
"previous-run": {
|
|
338
339
|
description: "This start read how the previous run ended: `outcome` is `clean` when it reached the end of shutdown and `crashed` when it did not, `ranForMs` its length and `lastSeenAgoMs` the time since its last health row.",
|
|
@@ -411,6 +412,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
411
412
|
"context-usage.read-failed": "The detailed context usage read failed; the route falls back.",
|
|
412
413
|
"dispatch.rollback-failed": "Rolling back a prompt dispatch claim failed.",
|
|
413
414
|
"event-subscriber.failed": "An event subscriber threw; other subscribers still ran.",
|
|
415
|
+
"hook.boundary-failed-closed": "A PreToolUse hook that holds a boundary threw, so the tool call was denied.",
|
|
414
416
|
"http.request-failed": "An HTTP route threw; it answered 500.",
|
|
415
417
|
"mcp.config-ignored": "An MCP server configuration of an unsupported shape was ignored.",
|
|
416
418
|
"mcp.read-failed": "Listing MCP servers failed; the route answered 500.",
|
|
@@ -588,6 +590,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
588
590
|
essential: true,
|
|
589
591
|
fields: ESSENTIAL_ERROR_FIELDS
|
|
590
592
|
},
|
|
593
|
+
"session.write-lost": "Pi could not write its session file, so a resume may miss part of the conversation; logged once per session, with no error message because it names the path.",
|
|
591
594
|
"turn.failed": "A turn failed; its error message is not logged because it can hold content. A cancelled turn is not a failure.",
|
|
592
595
|
"turn.refused": "Pi refused a prompt before starting a run, so nothing ran; its error message is not logged because it can hold content.",
|
|
593
596
|
"turn.startup-timed-out": "Pi did not start a turn within its startup deadline, so the prompt was abandoned."
|
|
@@ -595,6 +598,18 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
595
598
|
}
|
|
596
599
|
});
|
|
597
600
|
|
|
601
|
+
// ../protocol/src/log-vocabulary/contract.ts
|
|
602
|
+
var CONTRACT_LOG_AREAS = defineLogAreas({
|
|
603
|
+
contract: {
|
|
604
|
+
description: "Versioned command and event contracts: domain ranges a peer's hello advertises, typed backend events.",
|
|
605
|
+
events: {
|
|
606
|
+
"hello.domains-malformed": "A peer's hello carried a `domains` field outside its bounds, so the peer is treated as pre-contract. `reason` only, never names or values.",
|
|
607
|
+
"listen.payload-invalid": "A client dropped a received event whose payload did not decode against its contract definition. `event` (the name, or a family's prefix) only, never payload values.",
|
|
608
|
+
"event.invalid": "Development only: the backend emitted an event whose payload, key or definition failed its contract check; it was still delivered. `event` (the name, or a family's prefix) and `error` (`payload` or the check that failed), never payload values."
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
|
|
598
613
|
// ../protocol/src/log-vocabulary/desktop.ts
|
|
599
614
|
var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
600
615
|
desktop: {
|
|
@@ -626,7 +641,12 @@ var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
|
626
641
|
minLevel: "error",
|
|
627
642
|
fields: { lagMs: "number", intervalMs: "number" }
|
|
628
643
|
},
|
|
644
|
+
"process-memory": "Development only: working set per Electron process type, sampled on an interval.",
|
|
645
|
+
"process-memory.failed": "Development only: one process memory sample could not be read.",
|
|
629
646
|
"quit.stopping-backend": "The app is quitting and has asked the Local backend to stop.",
|
|
647
|
+
"realm-partitions.list-failed": "The partitions directory could not be read, so retired workspace realm storage stays until the next start.",
|
|
648
|
+
"realm-partitions.remove-failed": "Some retired workspace realm storage directories could not be removed; count says how many.",
|
|
649
|
+
"realm-partitions.removed": "Retired workspace realm storage was removed at startup; count says how many directories.",
|
|
630
650
|
"relaunch.schedule-failed": "The AppImage relaunch waiter failed; using Electron's relauncher.",
|
|
631
651
|
"relaunch.service-register-failed": "The AppImage relaunch service was refused; using a detached waiter.",
|
|
632
652
|
"renderer.gone-giving-up": "A renderer kept dying, so the window is no longer reloaded.",
|
|
@@ -664,7 +684,7 @@ var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
|
664
684
|
}
|
|
665
685
|
},
|
|
666
686
|
"desktop.permissions": {
|
|
667
|
-
description: "Permission requests refused on the renderer
|
|
687
|
+
description: "Permission requests refused on the renderer's session.",
|
|
668
688
|
events: {
|
|
669
689
|
denied: "A renderer asked for a permission the policy does not grant."
|
|
670
690
|
}
|
|
@@ -698,9 +718,11 @@ var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
|
698
718
|
}
|
|
699
719
|
},
|
|
700
720
|
workspaces: {
|
|
701
|
-
description: "
|
|
721
|
+
description: "Node workspaces (node scopes) the desktop holds on other machines.",
|
|
702
722
|
events: {
|
|
703
|
-
"route.moved-direct": "A relayed workspace moved to its direct route."
|
|
723
|
+
"route.moved-direct": "A relayed workspace moved to its direct route.",
|
|
724
|
+
"workspace.opened": "The command node issued a node workspace grant; durationMs is the open_node_workspace call.",
|
|
725
|
+
"workspace.route-probed": "One route of a node workspace was probed; outcome is fixed, durationMs the probe."
|
|
704
726
|
}
|
|
705
727
|
},
|
|
706
728
|
toolchain: {
|
|
@@ -1074,10 +1096,21 @@ var RUNTIME_LOG_AREAS = defineLogAreas({
|
|
|
1074
1096
|
description: "This process's event loop. A stall of 10 seconds or more is written at error, so no level hides it.",
|
|
1075
1097
|
events: {
|
|
1076
1098
|
stalled: {
|
|
1077
|
-
description: "A timer fired late, so every request in that window waited.",
|
|
1099
|
+
description: "A timer fired late, so every request in that window waited. In the backend the line also names what ran: `storageMs` and the `storage*` fields describe the slow SQLite calls in the window (`operation.slow` in `storage`), `commandsInFlight` and `commands` the commands running, and `blockingCommand` one whose synchronous part overlapped it.",
|
|
1078
1100
|
essential: true,
|
|
1079
1101
|
minLevel: "error",
|
|
1080
|
-
fields: {
|
|
1102
|
+
fields: {
|
|
1103
|
+
lagMs: "number",
|
|
1104
|
+
intervalMs: "number",
|
|
1105
|
+
storageMs: "number",
|
|
1106
|
+
storageDatabase: "label",
|
|
1107
|
+
storageOp: "label",
|
|
1108
|
+
storageTable: "label",
|
|
1109
|
+
storageLongestMs: "number",
|
|
1110
|
+
storageBusy: "boolean",
|
|
1111
|
+
commandsInFlight: "number",
|
|
1112
|
+
blockingCommandMs: "number"
|
|
1113
|
+
}
|
|
1081
1114
|
}
|
|
1082
1115
|
}
|
|
1083
1116
|
},
|
|
@@ -1109,6 +1142,7 @@ var TERMINAL_LOG_AREAS = defineLogAreas({
|
|
|
1109
1142
|
events: {
|
|
1110
1143
|
"input.undelivered": "A keystroke did not reach a shell: `no-session` or `not-delivered`.",
|
|
1111
1144
|
"orphan.reaped": "A terminal no tab references was closed.",
|
|
1145
|
+
"container-shell.close-failed": "Ending a closed container terminal's in-container shell failed; the next shell start sweeps its record.",
|
|
1112
1146
|
"agent-completion.notify-failed": "A terminal agent's completion could not be reported.",
|
|
1113
1147
|
"activity.record-failed": "Terminal environment activity could not be recorded.",
|
|
1114
1148
|
"pty.exit-listener-failed": "A terminal exit listener threw; the others still run.",
|
|
@@ -1281,6 +1315,7 @@ var UPDATER_LOG_AREAS = defineLogAreas({
|
|
|
1281
1315
|
"check.failed": "An update check failed; the next periodic check retries.",
|
|
1282
1316
|
"download.failed": "Downloading or staging an update failed.",
|
|
1283
1317
|
downloaded: "An update finished downloading.",
|
|
1318
|
+
"release.not-ready": "The newest release has no update files for this platform yet, so the check uses the one before it.",
|
|
1284
1319
|
"library.message": "One line from electron-updater at its own level. Its debug output, which includes the differential download plan, is off by default.",
|
|
1285
1320
|
"remote.check-failed": "A check a remote client requested failed.",
|
|
1286
1321
|
"remote.installing": "Installing an update for a remote client.",
|
|
@@ -1375,6 +1410,24 @@ var STORAGE_LOG_AREAS = defineLogAreas({
|
|
|
1375
1410
|
"scrub.vacuum-failed": "Deleted-content page reclamation failed; the checkpoint is attempted independently.",
|
|
1376
1411
|
"scrub.checkpoint-failed": "Deleted content could not be scrubbed from the WAL yet because the truncating checkpoint failed or a reader held an older snapshot; it is retried without waiting until it succeeds.",
|
|
1377
1412
|
"upkeep.vacuum-failed": "Periodic page reclamation failed; the next upkeep pass retries.",
|
|
1413
|
+
"upkeep.finished": "One periodic upkeep pass ended: `optimizeMs` is how long refreshing planner statistics held the event loop, `released` and `left` the free pages returned and still free, `releaseMs` the release child's run and `stop` why it ended (`done`, `budget`, `busy`, `no-progress`, `slow-step`, `not-incremental`, `no-free-pages`, `failed`).",
|
|
1414
|
+
"operation.slow": {
|
|
1415
|
+
description: "A synchronous SQLite call or transaction held the event loop for at least 250 ms. `database` is `main` or `ledger`, `op` the statement kind or `transaction`, `table` its table (a transaction's slowest statement's), `durationMs` the whole call; a transaction adds `mode`, `beginMs` (waiting for the write lock), `sqlMs` (its statements) and `commitMs`. `busy` means the busy timeout ran out. Repeats of one series within 10 s are folded into the next line.",
|
|
1416
|
+
essential: true,
|
|
1417
|
+
fields: {
|
|
1418
|
+
database: "label",
|
|
1419
|
+
op: "label",
|
|
1420
|
+
table: "label",
|
|
1421
|
+
mode: "label",
|
|
1422
|
+
durationMs: "number",
|
|
1423
|
+
beginMs: "number",
|
|
1424
|
+
sqlMs: "number",
|
|
1425
|
+
commitMs: "number",
|
|
1426
|
+
busy: "boolean",
|
|
1427
|
+
folded: "number",
|
|
1428
|
+
foldedMaxMs: "number"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1378
1431
|
"optimize.failed": "Refreshing the query planner's statistics failed; queries still run and the next check retries.",
|
|
1379
1432
|
"ledger.moved": "The change-tracking ledger was moved out of the main database into its own file; `rows` and `durationMs` say how much and how long.",
|
|
1380
1433
|
"snapshot.top-tables-failed": "The sampled table sizes from a finished snapshot could not be saved; the snapshot stands and the next one retries.",
|
|
@@ -1560,6 +1613,8 @@ var REVIEW_LOG_AREAS = defineLogAreas({
|
|
|
1560
1613
|
"monitor.state-clear-failed": "A pull request's saved state could not be cleared.",
|
|
1561
1614
|
"monitor.task-reconcile-failed": "Updating the Kanban task of a merged or closed (`state`) pull request failed.",
|
|
1562
1615
|
"monitor.task-store-failed": "A pull request could not be recorded on its Kanban task.",
|
|
1616
|
+
"monitor.merged-tickets-closed": "The startup sweep moved Kanban tickets whose pull request had merged to done (`count`).",
|
|
1617
|
+
"monitor.merged-tickets-close-failed": "The startup sweep closing Kanban tickets whose pull request merged failed; the next backend start retries.",
|
|
1563
1618
|
"monitor.emit-failed": "A pull request monitor event could not be emitted to its sink."
|
|
1564
1619
|
}
|
|
1565
1620
|
}
|
|
@@ -1589,6 +1644,7 @@ var AGENT_ACCOUNTS_LOG_AREAS = defineLogAreas({
|
|
|
1589
1644
|
"limit-stop-notice.failed": "A session's usage-limit stop could not be reported.",
|
|
1590
1645
|
"switch-notice.failed": "A notice about an automatic account switch failed; the switch stands. `audience` says whose.",
|
|
1591
1646
|
"auto-switch.check-failed": "An automatic account check failed; the next nudge retries.",
|
|
1647
|
+
"kept-note.failed": "Recording why a limit stop found no account to move to failed; the stop stands.",
|
|
1592
1648
|
"container-sync.failed": "Handing a login or account to a container failed; `step` says which part.",
|
|
1593
1649
|
"last-usage.save-failed": "The last plan usage reading could not be saved; the next save retries.",
|
|
1594
1650
|
"login-cleanup.failed": "A temporary login could not be cleaned up.",
|
|
@@ -1787,12 +1843,16 @@ var NODES_LOG_AREAS = defineLogAreas({
|
|
|
1787
1843
|
"verification.record-failed": "A node verification could not be recorded.",
|
|
1788
1844
|
"profile.record-failed": "A node profile could not be recorded.",
|
|
1789
1845
|
"detach.unconfirmed": "A forgotten node has not confirmed the detach yet.",
|
|
1846
|
+
"grant.scope-disagreement": "Debug only, for one release: the grant allow-list and the old deny-lists disagree on a command.",
|
|
1790
1847
|
"grant.revocation-listener-failed": "A connection could not be told its client grant was removed; the grant is still gone.",
|
|
1791
1848
|
"handover.recovery-pending": "Command handover recovery is still pending.",
|
|
1792
1849
|
"ticket-sync.work-record-failed": "A remote build started but its ticket work location could not be saved.",
|
|
1793
1850
|
"ticket-sync.failed": "A Kanban sync with a node failed; it is retried.",
|
|
1794
1851
|
"ticket-sync.unknown-project": "A node sent ticket changes for a project that no longer exists here.",
|
|
1795
|
-
"ticket-sync.forget-failed": "A detached command node's ticket copies could not be released."
|
|
1852
|
+
"ticket-sync.forget-failed": "A detached command node's ticket copies could not be released.",
|
|
1853
|
+
"fleet-update.requested": "The update policy asked an older leaf to install the command node's version.",
|
|
1854
|
+
"fleet-update.failed": "The update policy could not read or update a leaf; it retries later.",
|
|
1855
|
+
"fleet-update.policy-load-failed": "The stored update policy could not be read; it is off."
|
|
1796
1856
|
}
|
|
1797
1857
|
}
|
|
1798
1858
|
});
|
|
@@ -2241,7 +2301,8 @@ var WEB_SHELL_LOG_AREAS = defineLogAreas({
|
|
|
2241
2301
|
description: "Loading the renderer, after the desktop connection check.",
|
|
2242
2302
|
events: {
|
|
2243
2303
|
"renderer.load-failed": "Importing or mounting the application failed.",
|
|
2244
|
-
"model-catalogue.restore-failed": "The cached model catalogue could not be restored; bundled fallbacks stay in use."
|
|
2304
|
+
"model-catalogue.restore-failed": "The cached model catalogue could not be restored; bundled fallbacks stay in use.",
|
|
2305
|
+
"model-catalogue.seed-failed": "The background model-catalogue seed failed; cached catalogues stay in use."
|
|
2245
2306
|
}
|
|
2246
2307
|
},
|
|
2247
2308
|
"web.window": {
|
|
@@ -2264,6 +2325,18 @@ var WEB_SHELL_LOG_AREAS = defineLogAreas({
|
|
|
2264
2325
|
|
|
2265
2326
|
// ../protocol/src/log-vocabulary/web-sync.ts
|
|
2266
2327
|
var WEB_SYNC_LOG_AREAS = defineLogAreas({
|
|
2328
|
+
"web.node-snapshot": {
|
|
2329
|
+
description: "Bounded local snapshots of each node's light stores, for snapshot-first paint.",
|
|
2330
|
+
events: {
|
|
2331
|
+
"read-failed": "Reading a node's snapshot failed; the node opens without one.",
|
|
2332
|
+
"write-failed": "Writing a node's snapshot failed; the next interval tries again.",
|
|
2333
|
+
refused: "A snapshot broke the content rules or the per-node byte bound; nothing was written.",
|
|
2334
|
+
evicted: "Least recently used snapshots were dropped to keep the total bounds.",
|
|
2335
|
+
"clear-failed": "Dropping one or every snapshot failed.",
|
|
2336
|
+
"command-hydrated": "The window's command scope was filled from its snapshot before its services started.",
|
|
2337
|
+
"command-discarded": "The command node proved another id than its snapshot's; the snapshot's data was taken back."
|
|
2338
|
+
}
|
|
2339
|
+
},
|
|
2267
2340
|
"web.resource-sync": {
|
|
2268
2341
|
description: "Keeping renderer stores current with backend resources.",
|
|
2269
2342
|
events: {
|
|
@@ -2320,6 +2393,15 @@ var WEB_SYNC_LOG_AREAS = defineLogAreas({
|
|
|
2320
2393
|
"event-handler.failed": "A handler for an event relayed from a node failed.",
|
|
2321
2394
|
"environment.start-failed": "Starting an environment opened in a workspace window failed."
|
|
2322
2395
|
}
|
|
2396
|
+
},
|
|
2397
|
+
"web.node-scope": {
|
|
2398
|
+
description: "Per-node renderer scopes: their services, stores and cleanup.",
|
|
2399
|
+
events: {
|
|
2400
|
+
"service.failed": "A scoped service threw; only it stopped and its scope is marked failed.",
|
|
2401
|
+
"finalizer.failed": "A cleanup step of a scope, service or store threw; the rest still ran.",
|
|
2402
|
+
"workspace.render-failed": "A node's workspace in the window's tree failed to render; only it shows an error.",
|
|
2403
|
+
"lifecycle.pressure": "Memory pressure moved hidden node scopes down a tier (heavy data dropped, suspended or disposed); counts only."
|
|
2404
|
+
}
|
|
2323
2405
|
}
|
|
2324
2406
|
});
|
|
2325
2407
|
|
|
@@ -2328,6 +2410,7 @@ var LOG_VOCABULARY = {
|
|
|
2328
2410
|
...AGENT_MAIL_LOG_AREAS,
|
|
2329
2411
|
...BACKEND_LOG_AREAS,
|
|
2330
2412
|
...BRIDGE_LOG_AREAS,
|
|
2413
|
+
...CONTRACT_LOG_AREAS,
|
|
2331
2414
|
...DESKTOP_LOG_AREAS,
|
|
2332
2415
|
...ENVIRONMENT_LOG_AREAS,
|
|
2333
2416
|
...GATEWAY_LOG_AREAS,
|
|
@@ -2484,6 +2567,47 @@ var SIGNALS = new Set([
|
|
|
2484
2567
|
var PROVIDERS = new Set(["claude", "codex", "opencode", "cursor", "grok", "acp", "pi"]);
|
|
2485
2568
|
var UUID = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
2486
2569
|
var SOURCE = new RegExp(`^(?:claude|codex|opencode|cursor|grok|acp|pi):${UUID}$`, "i");
|
|
2570
|
+
var STORAGE_DATABASES = new Set(["main", "ledger", "other"]);
|
|
2571
|
+
var STORAGE_OPERATIONS = new Set([
|
|
2572
|
+
"select",
|
|
2573
|
+
"insert",
|
|
2574
|
+
"update",
|
|
2575
|
+
"delete",
|
|
2576
|
+
"pragma",
|
|
2577
|
+
"schema",
|
|
2578
|
+
"vacuum",
|
|
2579
|
+
"transaction",
|
|
2580
|
+
"other"
|
|
2581
|
+
]);
|
|
2582
|
+
var TRANSACTION_MODES = new Set(["deferred", "immediate", "exclusive"]);
|
|
2583
|
+
var STORAGE_TABLES = new Set([
|
|
2584
|
+
"stores",
|
|
2585
|
+
"store_rows",
|
|
2586
|
+
"storage_meta",
|
|
2587
|
+
"leases",
|
|
2588
|
+
"store_rows_owner",
|
|
2589
|
+
"store_rows_position",
|
|
2590
|
+
"sqlite_master",
|
|
2591
|
+
"sqlite_schema",
|
|
2592
|
+
"dbstat",
|
|
2593
|
+
"analysis_limit",
|
|
2594
|
+
"auto_vacuum",
|
|
2595
|
+
"busy_timeout",
|
|
2596
|
+
"foreign_keys",
|
|
2597
|
+
"freelist_count",
|
|
2598
|
+
"incremental_vacuum",
|
|
2599
|
+
"integrity_check",
|
|
2600
|
+
"journal_mode",
|
|
2601
|
+
"journal_size_limit",
|
|
2602
|
+
"optimize",
|
|
2603
|
+
"page_count",
|
|
2604
|
+
"page_size",
|
|
2605
|
+
"quick_check",
|
|
2606
|
+
"secure_delete",
|
|
2607
|
+
"synchronous",
|
|
2608
|
+
"user_version",
|
|
2609
|
+
"wal_checkpoint"
|
|
2610
|
+
]);
|
|
2487
2611
|
|
|
2488
2612
|
// ../protocol/src/log-essential.ts
|
|
2489
2613
|
var vocabulary = LOG_VOCABULARY;
|
|
@@ -3260,6 +3384,7 @@ function parseBoundedInteger(value, fallback, minimum, maximum) {
|
|
|
3260
3384
|
return Math.min(Math.max(parsed, minimum), maximum);
|
|
3261
3385
|
}
|
|
3262
3386
|
// ../../bridges/cursor-bridge/src/state.ts
|
|
3387
|
+
var CURSOR_COST_SOURCE = "provider";
|
|
3263
3388
|
var TODO_STATUSES = ["pending", "in_progress", "completed", "cancelled"];
|
|
3264
3389
|
var sessions = new Map;
|
|
3265
3390
|
var closingTombstones = new Map;
|
|
@@ -27273,6 +27398,14 @@ var SOURCE_SCOPE_LABELS = Object.freeze({
|
|
|
27273
27398
|
agent: "an agent definition",
|
|
27274
27399
|
sdk: "the agent host"
|
|
27275
27400
|
});
|
|
27401
|
+
var TOOL_HINT_KEYS = ["readOnly", "destructive", "idempotent", "openWorld"];
|
|
27402
|
+
var TOOL_HINT_KEY_SET = new Set(TOOL_HINT_KEYS);
|
|
27403
|
+
var MCP_TOOL_ANNOTATION_KEYS = Object.freeze({
|
|
27404
|
+
readOnly: "readOnlyHint",
|
|
27405
|
+
destructive: "destructiveHint",
|
|
27406
|
+
idempotent: "idempotentHint",
|
|
27407
|
+
openWorld: "openWorldHint"
|
|
27408
|
+
});
|
|
27276
27409
|
var UNATTENDED_POLICY_INSTRUCTION = "This is a non-interactive build session: no user can answer a provider input request. " + "If input is unavailable or declined, choose the safest likely assumption yourself, " + "state that assumption, and continue. Never treat the absence of a person as authorization.";
|
|
27277
27410
|
var INTERACTIVE_AGENT_INTERACTION_POLICY = Object.freeze({
|
|
27278
27411
|
version: AGENT_INTERACTION_POLICY_VERSION,
|
|
@@ -27349,7 +27482,9 @@ var REQUEST_KEYS = new Set([
|
|
|
27349
27482
|
"updatedAt",
|
|
27350
27483
|
"expiresAt",
|
|
27351
27484
|
"hold",
|
|
27352
|
-
"source"
|
|
27485
|
+
"source",
|
|
27486
|
+
"humanRequired",
|
|
27487
|
+
"toolHints"
|
|
27353
27488
|
]);
|
|
27354
27489
|
var SOURCE_KEYS = new Set(["kind", "name", "scope"]);
|
|
27355
27490
|
var SOURCE_KINDS = new Set(AGENT_INTERACTION_SOURCE_KINDS);
|
|
@@ -27570,6 +27705,11 @@ var RESET_CREDENTIAL_HELPERS = Object.freeze([
|
|
|
27570
27705
|
|
|
27571
27706
|
// ../protocol/src/native-agent-steer-rejection.ts
|
|
27572
27707
|
var MAX_STEER_JOURNAL_BYTES2 = 1024 * 1024 * 1024;
|
|
27708
|
+
// ../protocol/src/native-agent-cost-source.ts
|
|
27709
|
+
var NATIVE_AGENT_COST_SOURCES = Object.freeze([
|
|
27710
|
+
"provider",
|
|
27711
|
+
"estimate"
|
|
27712
|
+
]);
|
|
27573
27713
|
// ../protocol/src/native-agent.ts
|
|
27574
27714
|
var DEFAULT_OPENCODE_MODEL_PROVIDERS = Object.freeze([
|
|
27575
27715
|
"opencode",
|
|
@@ -32490,6 +32630,7 @@ import { createHash as createHash4 } from "node:crypto";
|
|
|
32490
32630
|
// ../protocol/src/event-loop-stall-monitor.ts
|
|
32491
32631
|
var log4 = createLogger("event-loop");
|
|
32492
32632
|
var EVENT_LOOP_STALL_ALWAYS_LOG_MS = 1e4;
|
|
32633
|
+
var contextSources = new Set;
|
|
32493
32634
|
|
|
32494
32635
|
// ../protocol/src/node/bridge-diagnostics.ts
|
|
32495
32636
|
var log5 = createLogger("bridge.diagnostics");
|
|
@@ -38526,7 +38667,7 @@ function normalizeAgentUsageRuns(value, previous) {
|
|
|
38526
38667
|
...usage.cacheWriteTokens !== undefined ? { cacheWriteTokens: usage.cacheWriteTokens } : {},
|
|
38527
38668
|
...usage.reasoningTokens !== undefined ? { reasoningTokens: usage.reasoningTokens } : {},
|
|
38528
38669
|
totalTokens: turnTokenTotal(usage),
|
|
38529
|
-
...chargedCents === undefined ? {} : { costUsd: chargedCents / 100 },
|
|
38670
|
+
...chargedCents === undefined ? {} : { costUsd: chargedCents / 100, costSource: CURSOR_COST_SOURCE },
|
|
38530
38671
|
...rawCostCents === undefined ? {} : { rawCostUsd: rawCostCents / 100 },
|
|
38531
38672
|
...prior?.durationMs === undefined ? {} : { durationMs: prior.durationMs },
|
|
38532
38673
|
...prior?.requestId === undefined ? {} : { requestId: prior.requestId },
|
|
@@ -39112,7 +39253,7 @@ function publicContextUsage(state) {
|
|
|
39112
39253
|
...turn.reasoningTokens !== undefined ? { reasoningTokens: turn.reasoningTokens } : {},
|
|
39113
39254
|
lastTurnTokens: spent,
|
|
39114
39255
|
...sessionTokens !== undefined ? { sessionTokens } : {},
|
|
39115
|
-
...usage?.costUsd !== undefined ? { costUsd: usage.costUsd } : {},
|
|
39256
|
+
...usage?.costUsd !== undefined ? { costUsd: usage.costUsd, costSource: CURSOR_COST_SOURCE } : {},
|
|
39116
39257
|
...usage?.durationMs !== undefined ? { durationMs: usage.durationMs } : {},
|
|
39117
39258
|
...usage?.turns ? { turns: usage.turns } : {},
|
|
39118
39259
|
...account ? { account } : {},
|
|
@@ -41837,6 +41978,7 @@ export {
|
|
|
41837
41978
|
CHILD_TRIM_NOTICE,
|
|
41838
41979
|
CLOSE_ACK_TIMEOUT_MS,
|
|
41839
41980
|
CURSOR_AUTHENTICATION_REQUIRED_MESSAGE,
|
|
41981
|
+
CURSOR_COST_SOURCE,
|
|
41840
41982
|
CURSOR_READ_ONLY_TOOLS,
|
|
41841
41983
|
CredentialError,
|
|
41842
41984
|
DETACHED_SUBAGENT_NOTE,
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"": {
|
|
6
6
|
"name": "orkestrator-cursor-bridge-runtime",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@cursor/sdk": "1.
|
|
8
|
+
"@cursor/sdk": "1.3.1",
|
|
9
9
|
},
|
|
10
10
|
},
|
|
11
11
|
},
|
|
12
12
|
"patchedDependencies": {
|
|
13
|
-
"@cursor/sdk@1.
|
|
13
|
+
"@cursor/sdk@1.3.1": "patches/@cursor%2Fsdk@1.3.1.patch",
|
|
14
14
|
},
|
|
15
15
|
"packages": {
|
|
16
16
|
"@bufbuild/protobuf": ["@bufbuild/protobuf@1.10.0", "", {}, "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag=="],
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
|
|
20
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
21
|
|
|
22
|
-
"@cursor/sdk": ["@cursor/sdk@1.
|
|
22
|
+
"@cursor/sdk": ["@cursor/sdk@1.3.1", "", { "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.3.1", "@cursor/sdk-darwin-x64": "1.3.1", "@cursor/sdk-linux-arm64": "1.3.1", "@cursor/sdk-linux-x64": "1.3.1", "@cursor/sdk-win32-x64": "1.3.1" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" } }, "sha512-Mn0gK8V+5BkOqm22J2ocU+1BrqnNH8QcK9kmA7SkRuawDOeq2ABC2BIZq9gRnF3z68x/I7J/ZU8jl6DcshCVUA=="],
|
|
23
23
|
|
|
24
|
-
"@cursor/sdk-darwin-arm64": ["@cursor/sdk-darwin-arm64@1.
|
|
24
|
+
"@cursor/sdk-darwin-arm64": ["@cursor/sdk-darwin-arm64@1.3.1", "", { "os": "darwin", "cpu": "arm64", "bin": { "rg": "./bin/rg" } }, "sha512-5JXgVJYeFPxXjDqnu1ha/rAmH+ATFh4abdx199x8E/RcYYM++9b55oJXO3GYv1/9/4Qa9RsE5JkHRY6FYc5vQw=="],
|
|
25
25
|
|
|
26
|
-
"@cursor/sdk-darwin-x64": ["@cursor/sdk-darwin-x64@1.
|
|
26
|
+
"@cursor/sdk-darwin-x64": ["@cursor/sdk-darwin-x64@1.3.1", "", { "os": "darwin", "cpu": "x64", "bin": { "rg": "./bin/rg" } }, "sha512-yHzIRER8IpOpIH/CUigquuwqvcjCEe62xV6OiJHzRfgApdnzxCjC8JMhLZP2M08/dofyZu9xeo7yr43H6oSRTA=="],
|
|
27
27
|
|
|
28
|
-
"@cursor/sdk-linux-arm64": ["@cursor/sdk-linux-arm64@1.
|
|
28
|
+
"@cursor/sdk-linux-arm64": ["@cursor/sdk-linux-arm64@1.3.1", "", { "os": "linux", "cpu": "arm64", "bin": { "rg": "./bin/rg" } }, "sha512-8wI7DUSQtJ7Rkyj5AhNONeR0M+5bjhR0qo8GJEEmRs6isi072sNPsFXwfhlzX7bhbtsX/FCtvsTG/vpam48ObA=="],
|
|
29
29
|
|
|
30
|
-
"@cursor/sdk-linux-x64": ["@cursor/sdk-linux-x64@1.
|
|
30
|
+
"@cursor/sdk-linux-x64": ["@cursor/sdk-linux-x64@1.3.1", "", { "os": "linux", "cpu": "x64", "bin": { "rg": "./bin/rg" } }, "sha512-jIwzTr3KhMtU4aJc8x0i1RlcBKttqcVYhor9FI/h1qJQm03yTgSwhyZjsMvfBHPQ5KoYDFVdu47S1dIhwaSWZA=="],
|
|
31
31
|
|
|
32
|
-
"@cursor/sdk-win32-x64": ["@cursor/sdk-win32-x64@1.
|
|
32
|
+
"@cursor/sdk-win32-x64": ["@cursor/sdk-win32-x64@1.3.1", "", { "os": "win32", "cpu": "x64", "bin": { "rg": "./bin/rg.exe" } }, "sha512-hqYllGgY27eaq+w035PebKdoc/JswcrvOSNCniqq/nicLXgWdK5zdKiAs5MyWUr73HGGL1sK0aiE7WdxbIKKVw=="],
|
|
33
33
|
|
|
34
34
|
"@statsig/client-core": ["@statsig/client-core@3.31.0", "", {}, "sha512-SuxQD6TmVszPG7FoMKwTk/uyBuVFk7XnxI3T/E0uyb7PL7GNjONtfsoh+NqBBVUJVse0CUeSFfgJPoZy1ZOslQ=="],
|
|
35
35
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@cursor/sdk": "1.
|
|
6
|
+
"@cursor/sdk": "1.3.1"
|
|
7
7
|
},
|
|
8
8
|
"patchedDependencies": {
|
|
9
|
-
"@cursor/sdk@1.
|
|
9
|
+
"@cursor/sdk@1.3.1": "patches/@cursor%2Fsdk@1.3.1.patch"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
diff --git a/dist/bundled/index.js b/dist/bundled/index.js
|
|
2
|
+
index c83eb66afa4770554d7417416a9ab307f3de0e92..b767736d44426ce77b080b5d97915abc3967d6f2 100644
|
|
3
|
+
--- a/dist/bundled/index.js
|
|
4
|
+
+++ b/dist/bundled/index.js
|
|
5
|
+
@@ -2127,3 +2127,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 KE8($,Q+1)}if(!Z(K)){if(Q===X.length-1)break;throw KE8($,Q+1)}Y.push(K)}return Y}function s7$($){return typeof $==="object"&&$!==null&&"code"in $&&$.code==="ENOENT"}function ms0($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function ex0($){return ms0($)&&typeof $.agentId==="string"&&typeof $.cwd==="string"&&o7$($.status)&&typeof $.createdAt==="number"&&typeof $.updatedAt==="number"}function o7$($){return $==="idle"||$==="running"||$==="error"||$==="archived"}function $f0($){return ms0($)&&typeof $.runId==="string"&&typeof $.agentId==="string"&&typeof $.turnNumber==="number"&&t7$($.status)&&typeof $.createdAt==="number"&&typeof $.updatedAt==="number"}function t7$($){return $==="queued"||$==="running"||$==="finished"||$==="error"||$==="cancelled"||$==="expired"}function YO1($){return ms0($)&&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 Zf0($){return ms0($)&&typeof $.agentId==="string"&&typeof $.blobId==="string"&&typeof $.dataBase64==="string"}function KE8($,Z){return Error(`Corrupt local agent store: failed to parse record ${Z} of ${$}`)}async function _W($,Z){let J=Z.map((X)=>JSON.stringify(X)).join(`
|
|
7
|
+
`);await $E8($,J.length>0?`${J}
|
|
8
|
+
`:"")}function QO1($){return{...$,createdAt:new Date($.createdAt).getTime()}}IR0();om0();Rs0();S$();NR0();async function X7($,Z){try{return await Z()}catch(J){throw B6(J,{operation:$})}}class gs0{constructor(){}static async create($){return X7("Agent.create",async()=>{if($.agentId===void 0&&$.cloud?.envVars!==void 0)return sF1($);let Z=$.agentId??($.cloud?GI0():HI0()),J={...$,agentId:Z};return sF1(J)})}static async resume($,Z){return X7("Agent.resume",()=>IP8($,Z))}static async prompt($,Z){return X7("Agent.prompt",async()=>{let J=await gs0.create(Z??{});try{return await(await J.send($)).wait()}finally{await J[Symbol.asyncDispose]()}})}static async list($){return X7("Agent.list",()=>TP8($))}static async listRuns($,Z){return X7("Agent.listRuns",()=>PP8($,Z))}static async getRun($,Z){return X7("Agent.getRun",()=>EP8($,Z))}static async cancelRun($,Z){return X7("Agent.cancelRun",()=>kP8($,Z))}static async get($,Z){return X7("Agent.get",()=>SP8($,Z))}static async archive($,Z){return X7("Agent.archive",()=>vP8($,Z))}static async unarchive($,Z){return X7("Agent.unarchive",()=>yP8($,Z))}static async delete($,Z){return X7("Agent.delete",()=>xP8($,Z))}static async getUsage($,Z){return X7("Agent.getUsage",()=>bP8($,Z))}static messages={list($,Z){return X7("Agent.messages.list",()=>RP8($,Z))}}}class KO1{constructor(){}static configure($){Sm0($)}static async me($){return X7("Cursor.me",()=>hP8($))}static models={list($){return X7("Cursor.models.list",()=>mP8($))}};static repositories={list($){return X7("Cursor.repositories.list",()=>gP8($))}};static auth={login($){return X7("Cursor.auth.login",()=>NI1($))},logout($){return X7("Cursor.auth.logout",()=>FI1($))},status($){return X7("Cursor.auth.status",()=>OI1($))}}}import*as n8 from"zod/v3";vF1();var OE8=n8.object({text:n8.string()}),LE8=n8.object({text:n8.string(),thinkingDurationMs:n8.number().optional()}),UE8=n8.object({text:n8.string()}),DE8=n8.object({command:n8.string(),workingDirectory:n8.string().optional()}),AE8=n8.object({stdout:n8.string(),stderr:n8.string(),exitCode:n8.number()}),wE8=n8.discriminatedUnion("type",[n8.object({type:n8.literal("assistantMessage"),message:OE8}),n8.object({type:n8.literal("toolCall"),message:qE0}),n8.object({type:n8.literal("thinkingMessage"),message:LE8})]),ME8=n8.object({userMessage:UE8.optional(),steps:n8.array(wE8)}),IE8=n8.object({shellCommand:DE8.optional(),shellOutput:AE8.optional()}),e7$=n8.discriminatedUnion("type",[n8.object({type:n8.literal("agentConversationTurn"),turn:ME8}),n8.object({type:n8.literal("shellConversationTurn"),turn:IE8})]);uF1();function $9$($){return $.type}SF1();export{B6 as wrapSdkError,Kk0 as unionFs,V50 as tempFs,Xk0 as strReplaceOnFileSystem,aP8 as startLocalRunEventNotifierServer,vA0 as remapPathError,qe0 as readOnlyFs,RH as paginateRunDocuments,yF as paginateCheckpointBlobIds,xF as paginateAgentDocuments,xb0 as overlayFs,lA0 as localRunStreamEventToSdkMessage,E6$ as isUserMessage,Mk0 as isTerminalLocalRunStreamEvent,R6$ as isMessage,q50 as isInvalidGrepPatternError,gK as isFileNotFoundError,k6$ as isAssistantMessage,$9$ as getTurnType,U90 as getDefaultSdkStateRoot,VE0 as getDefaultSdkAuthPath,Ge0 as emptyFs,IE1 as decodeSdkMessageRunStreamEvent,wk0 as decodeLocalRunStreamEvent,eb0 as createSdkMessageRunStreamEvent,nP8 as createLocalRunEventNotifier,rP8 as createInMemoryRunEventNotifier,R01 as createFileSystemTools,mX as createAgentPlatform,iE8 as convertError,$q as convertConnectError,Sm0 as configureCursorSdk,j51 as composeLocalAgentStore,Fe0 as childOverlayFs,H50 as WriteFailedError,ix0 as UserMessageSchema,lT8 as UserMessageAppendedUpdateSchema,L90 as UnsupportedRunOperationError,cJ as UnknownAgentError,oT8 as TurnEndedUpdateSchema,xF1 as ToolCallStartedUpdateSchema,JP8 as ToolCallDeltaUpdateSchema,fF1 as ToolCallCompletedUpdateSchema,iT8 as TokenDeltaUpdateSchema,bF1 as ThinkingDeltaUpdateSchema,hF1 as ThinkingCompletedUpdateSchema,yF1 as TextDeltaUpdateSchema,nT8 as SummaryUpdateSchema,aT8 as SummaryStartedUpdateSchema,rT8 as SummaryCompletedUpdateSchema,AE8 as ShellOutputSchema,sT8 as ShellOutputDeltaUpdateSchema,IE8 as ShellConversationTurnSchema,DE8 as ShellCommandSchema,UE8 as SdkUserMessageSchema,LE8 as SdkThinkingMessageSchema,OE8 as SdkAssistantMessageSchema,p5 as ReadOnlyMountError,yW as RateLimitError,j9 as PathError,mF1 as PartialToolCallUpdateSchema,z50 as NoMountError,W7 as NetworkError,ZP8 as NestedTaskUpdateSchema,gT8 as MessageSchema,ox0 as LocalRunEventNotifierServer,ys0 as LocalRunEventNotifier,A50 as LOCAL_RUN_STREAM_SCHEMA_VERSION,ob0 as LOCAL_RUN_STREAM_EVENT_TYPE,hs0 as JsonlLocalAgentStore,WO1 as JSONL_LOCAL_AGENT_STORE_FILES,dN as InvalidGrepPatternError,gF1 as InteractionUpdateSchema,Wf0 as IntegrationNotConnectedError,xs0 as InMemoryRunEventNotifier,ls0 as InMemoryCredentialStore,mT8 as ImageSchema,WJ as FileNotFoundError,NE0 as FileCredentialStore,tz as FILE_SYSTEM_SCAN_LIMIT,v4 as EditError,G50 as DeleteNotSupportedError,dt0 as DEFAULT_LOGIN_API_KEY_TTL_MS,dJ as CursorSdkError,mJ0 as CursorAgentPlatform,xW as CursorAgentError,KO1 as Cursor,e7$ as ConversationTurnSchema,wE8 as ConversationStepSchema,V1 as ConfigurationError,B5 as AuthenticationError,_F1 as AssistantMessageSchema,$U as AgentNotFoundError,ME8 as AgentConversationTurnSchema,Qf0 as AgentBusyError,gs0 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
|
+
+ HZ1();
|
|
15
|
+
+ return install({
|
|
16
|
+
+ stallDetectorPrototype: rg0.prototype,
|
|
17
|
+
+ execControllerPrototype: cg0.prototype,
|
|
18
|
+
+ });
|
|
19
|
+
+}
|