orkestrator 2.37.5-beta → 2.38.0-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orkestrator",
3
- "version": "2.37.5-beta",
3
+ "version": "2.38.0-beta",
4
4
  "description": "Run the Orkestrator backend service without the desktop application",
5
5
  "homepage": "https://orkestrator.dev",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "sharp": "0.35.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@orkestrator/protocol": "2.37.5-beta",
43
- "@orkestrator/toolchain": "2.37.5-beta"
42
+ "@orkestrator/protocol": "2.38.0-beta",
43
+ "@orkestrator/toolchain": "2.38.0-beta"
44
44
  },
45
45
  "engines": {
46
46
  "bun": ">=1.4.4"
@@ -445,6 +445,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
445
445
  "question.answers-received": "A parked question received its answers.",
446
446
  "question.stale": "An answer arrived for a question no longer pending; the route answered stale.",
447
447
  "question.wait-failed": "A parked question ended without an answer: cancelled, timed out or closed.",
448
+ "read-only-connection.bedrock-withheld": "A read-only turn did not take the user settings' Bedrock connection: it names no bearer token or static key pair, so the CLI would resolve AWS profiles, whose credential_process runs outside the read-only boundary.",
448
449
  "runtime.ended-under-resumed-turn": "The Claude runtime ended while a resumed root turn was still open.",
449
450
  "server.listening": "The HTTP server is listening.",
450
451
  "server.starting": "The HTTP server is about to bind.",
@@ -1067,28 +1068,28 @@ var NATIVE_AGENT_LOG_AREAS = defineLogAreas({
1067
1068
  "credential-plugin.skipped": "A host OpenCode server started without the credential plugin, so its tools inherit its password; `reason` says why.",
1068
1069
  "host-database.separated": "Host OpenCode uses Orkestrator's own database because the shared one has no `session` table (an OpenCode 2 database); `reason` says why.",
1069
1070
  "host-database.unreadable": "The shared OpenCode database could not be inspected, so host OpenCode opens it as usual. Error class only.",
1070
- "login.opencode2-mirror-failed": "A provider sign-in change reached OpenCode 1 but could not be copied into the OpenCode 2 database; the user is told to retry. Error class only."
1071
+ "login.export-failed": "A provider sign-in change was saved in the host OpenCode database, but the `auth.json` copy containers are handed could not be updated; the user is told to retry. Error class only."
1071
1072
  }
1072
1073
  },
1073
1074
  "native-agent.opencode2": {
1074
- description: "The OpenCode 2.x provider: its event monitor, steering, routing, host and container servers.",
1075
+ description: "The OpenCode provider (OpenCode 2.x): its event monitor, steering, session instructions, host and container servers.",
1075
1076
  events: {
1076
1077
  "events.dropped": "The 2.x event stream ended or failed, so reads go to the server until it reconnects. Error class only.",
1078
+ "monitor.silent": "The 2.x event stream sent a heartbeat and then went quiet, so it is replaced. `silenceMs` only.",
1077
1079
  "steer.unconfirmed": "A 2.x steer got no definite answer, so its delivery is reconciled from history. Error class only.",
1078
1080
  "provider.dispose-failed": "Disposing the 2.x provider of a replaced server failed. Error class only.",
1081
+ "location.reload-unconfirmed": "After a 2.x location reload, the read that waits for the rebuilt location failed; catalogues are re-read anyway. Error class only.",
1082
+ "credential.legacy-reconciled": "A host 2.x database from before OpenCode 1.x was retired was reconciled with auth.json once. Counts of credentials written and removed only.",
1083
+ "credential.legacy-reconcile-failed": "The one-time reconcile of a host 2.x database with auth.json failed; the next host start retries it. Error class only.",
1079
1084
  "transcript.unknown-row": "A 2.x history row of a kind the transcript does not know was dropped (a newer server). Its kind name only, once per kind.",
1080
1085
  "mcp.remove-failed": "Removing a closed session's Orkestrator MCP server from the 2.x server failed. Error class only.",
1081
- "protocol.select-failed": "A workflow could not read the OpenCode line setting, so its new session takes 1.x. Error class only.",
1082
- "host-server.ready": "A local environment's (or a coordinator conversation's) 2.x server answered `/api/info` as 2.x. Environment id, pid and whether it is a coordinator's only.",
1083
1086
  "coordinator-research.unavailable": "A coordinator's 2.x server could not register its research servers, so the conversation runs without them until the server restarts. Error class only.",
1084
- "host-server.terminate-failed": "A 2.x server that did not become ready could not be stopped; its process entry is kept for shutdown. Error class only.",
1085
1087
  "container-server.launched": "The start script of a container environment's 2.x server was run. Container port only.",
1086
1088
  "container-server.ready": "A container environment's 2.x server this backend started answered `/api/info` as 2.x. Environment id only.",
1087
1089
  "container-server.cleanup-failed": "Cleanup after OpenCode startup failed; step names only, while the original startup error is preserved.",
1088
1090
  "container-server.warm-incomplete": "The first workspace request to a container's new 2.x server failed, so its plugins load on the next one. Error class only.",
1089
- "resume-list.unavailable": "The 2.x sessions could not be listed for the resume picker, so it shows the 1.x list alone. Error class only.",
1090
- "credential.mirrored": "A provider sign-in change was copied into the 2.x database. `outcome` (written, removed, unchanged, skipped) only; never a provider id or value.",
1091
- "credential.server-exit-unclean": "The private 2.x server started to copy a sign-in did not stop cleanly. Error class only.",
1091
+ "instructions.unavailable": "The 2.x server refused Orkestrator's shared instructions entry for a session, which runs without them. Error class only.",
1092
+ "host-database-server.exit-unclean": "A private 2.x server started on the host database (provider sign-in, the host model catalogue) did not stop cleanly. Error class only.",
1092
1093
  "user-config.mirror-failed": "The user's global OpenCode configuration could not be mirrored for a host 2.x server, which starts without it. Error class only.",
1093
1094
  "user-config.unreadable": "A file of the user's OpenCode configuration could not be read for the 2.x mirror. `source`, the file's name and the error code only.",
1094
1095
  "user-config.rejected": "Files of the user's OpenCode configuration are not a JSONC object, so the 2.x mirror leaves them out. `source` and file names only, never contents.",
@@ -1139,7 +1140,7 @@ var RUNTIME_LOG_AREAS = defineLogAreas({
1139
1140
  description: "This process's event loop. A stall of 10 seconds or more is written at error, so no level hides it.",
1140
1141
  events: {
1141
1142
  stalled: {
1142
- 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, `blockingCommand` one whose synchronous part overlapped it, and `jobsInWindow` and `jobs` the recurring jobs that ran around it. `cpuMs` is the CPU time the process used in the window: near `lagMs` its own thread was busy, far below it the thread waited.",
1143
+ 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`), `storageCalls` and `storageCallMs` every SQLite call that ended in it, slow or not (`storageMainCallMs` and `storageLedgerCallMs` per database), `commandsInFlight` and `commands` the commands running, `blockingCommand` one whose synchronous part overlapped it, and `jobsInWindow` and `jobs` the recurring jobs that ran around it. `cpuMs` is the CPU time the process used in the window: near `lagMs` its own thread was busy, far below it the thread waited.",
1143
1144
  essential: true,
1144
1145
  minLevel: "error",
1145
1146
  fields: {
@@ -1152,6 +1153,10 @@ var RUNTIME_LOG_AREAS = defineLogAreas({
1152
1153
  storageTable: "label",
1153
1154
  storageLongestMs: "number",
1154
1155
  storageBusy: "boolean",
1156
+ storageCalls: "number",
1157
+ storageCallMs: "number",
1158
+ storageMainCallMs: "number",
1159
+ storageLedgerCallMs: "number",
1155
1160
  commandsInFlight: "number",
1156
1161
  blockingCommandMs: "number",
1157
1162
  jobsInWindow: "number"
@@ -1334,6 +1339,7 @@ var TMUX_LOG_AREAS = defineLogAreas({
1334
1339
  "cli.fast-mode-unsupported": "The claude CLI lacks --settings, so it launches without fast mode.",
1335
1340
  "cli.effort-unsupported": "The claude CLI lacks --effort, so it launches without it.",
1336
1341
  "interactive.snapshot-failed": "An interactive snapshot failed; expected while a pane is closing.",
1342
+ "interactive.lease-lapsed": "No client renewed an interactive terminal for 45 seconds, so its capture loop stopped.",
1337
1343
  "signal.arm-failed": "The Claude state signal could not be armed.",
1338
1344
  "signal.degraded": "The Claude state signal missed a change or rang too often, so polling stays at one second until it is re-armed.",
1339
1345
  "hook-signal.arm-failed": "The tmux hook doorbell could not be armed.",
@@ -1456,7 +1462,6 @@ var STORAGE_LOG_AREAS = defineLogAreas({
1456
1462
  "native-session-owners.backfill-failed": "Native-session rows could not be given their environment as owner at open; an environment delete then parses those rows instead, and the next open retries.",
1457
1463
  "lease.timed-out": "A waiter gave up on a lease; `lease` and `family` name it, `holderAgeMs` is the time since its holder's last heartbeat (null when the holder had just gone), `waitedMs` how long the waiter waited.",
1458
1464
  "lease.heartbeat-failed": "A held lease's heartbeat failed, which shortens the lease; the next one retries.",
1459
- "scrub.vacuum-failed": "Deleted-content page reclamation failed; the checkpoint is attempted independently.",
1460
1465
  "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.",
1461
1466
  "upkeep.vacuum-failed": "Periodic page reclamation failed; the next upkeep pass retries.",
1462
1467
  "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`).",
@@ -1644,7 +1649,17 @@ var REVIEW_LOG_AREAS = defineLogAreas({
1644
1649
  "fix-outcome.read-failed": "Reading an interactive fix's outcome failed; it stays pending.",
1645
1650
  "fix-usage.read-failed": "Reading an Address Findings session's token usage failed.",
1646
1651
  "result.consume-deferred": "Consuming a workflow result failed; it stays staged and is retried.",
1647
- "failure-triage.failed": "Classifying a review package's failing tests failed; the package is sealed without the triage and says so."
1652
+ "failure-triage.failed": "Classifying a review package's failing tests failed; the package is sealed without the triage and says so.",
1653
+ "consolidation.budget-exceeded": {
1654
+ description: "A panel's reports did not fit one consolidation turn even after optional prose was removed, so consolidation failed before dispatch. Counts only.",
1655
+ essential: true,
1656
+ fields: {
1657
+ reviewers: "number",
1658
+ sourceFindings: "number",
1659
+ compactBytes: "number",
1660
+ maxBytes: "number"
1661
+ }
1662
+ }
1648
1663
  }
1649
1664
  },
1650
1665
  "pull-request": {
@@ -1740,6 +1755,7 @@ var DOCKER_LOG_AREAS = defineLogAreas({
1740
1755
  "opencode.listener-replaced": "The process on a container's OpenCode port (`provider`: `opencode` or `opencode2`) is not the server the backend launched and recorded, so its password was withheld and the next start replaces it. `stage` is `request` when the re-check after a refused connection or an unexpected answer found it; that connection then sends nothing more.",
1741
1756
  "opencode.project-config-too-large": "A checkout's opencode.json or opencode.jsonc was larger than the limit, so a launched OpenCode server does not read it. File name only.",
1742
1757
  "opencode.project-config-filtered": "Values were left out of a checkout's OpenCode configuration before a launched server reads it: counts of plugin keys, `{env:}` and `{file:}` references and dropped instructions (including separate instructionGlob and instructionUrl counts), and the names of files that were not a JSONC object. Never values.",
1758
+ "daemon.rootless-live-restore": "The Docker daemon is rootless and has live-restore on, which a rootless restart cannot honour: the new daemon reports every container exited while the old containers' processes keep running with no network, so turn live-restore off in its daemon.json. Written once per backend.",
1743
1759
  "log-driver.unbounded": "The Docker daemon offers neither the local nor the json-file log driver, so new containers keep its default driver, whose log may be uncapped. Written once per backend.",
1744
1760
  "lifecycle-event.reconcile-failed": "Reconciling an environment after a container start or stop event failed; the next status read retries.",
1745
1761
  "login-keeper.pass-failed": "A Claude login keeper pass failed; the next interval retries.",
@@ -1747,13 +1763,15 @@ var DOCKER_LOG_AREAS = defineLogAreas({
1747
1763
  "login-keeper.refresh-not-extended": "Refreshing the host Claude login did not extend its expiry.",
1748
1764
  "login-keeper.refresh-check-failed": "Checking the host Claude login after a refresh failed.",
1749
1765
  "login-watcher.pass-failed": "A container login file watcher pass failed; the next one retries.",
1766
+ "login-watcher.opencode-renewal-failed": "OAuth logins a host OpenCode server refreshed could not be copied into the `auth.json` containers are handed; the files are still delivered and the next pass retries. Error class only.",
1750
1767
  "lifecycle.record-failure-failed": "A failed container operation could not be recorded.",
1751
1768
  "lifecycle.reconcile-failed": "Reconciling one environment's container operation failed; the next pass retries.",
1752
1769
  "replacement.clear-terminals-failed": "Terminal sessions could not be cleared after a container replacement.",
1753
1770
  "recovery.clear-terminals-failed": "Terminal sessions could not be cleared after a recovery restore.",
1754
1771
  "github-ranges.seed-not-copied": "The GitHub ranges seed could not be copied into a container, so its firewall fetches them.",
1755
1772
  "availability.probe-failed": "Docker is not available; written when the diagnostic changes. Fixed-shape metadata only: messages can hold daemon endpoints.",
1756
- "start.port-collision-retrying": "An automatic host port collided on start, so it is retried once with fresh ports.",
1773
+ "start.port-collision-retrying": "An automatic host port collided on start, so it is retried (up to three times): with fresh ports, or, when `backendChosen`, on the same backend-chosen port after a pause.",
1774
+ "host-ports.owned-list-failed": "Docker could not list the host ports the backend chose for this owner's other containers, so a new rootless container's ports were chosen avoiding only this process's recent choices.",
1757
1775
  "writer-lease.lost": {
1758
1776
  description: "This backend lost the registry writer lease, for the fixed `reason` given. Schedules stop and container changes are refused until it restarts.",
1759
1777
  essential: true,
@@ -1867,7 +1885,8 @@ var DESIGN_LOG_AREAS = defineLogAreas({
1867
1885
  "startup.step-failed": "One part of design startup failed; `step` says which.",
1868
1886
  "legacy.retire-failed": "A migrated legacy design could not be retired.",
1869
1887
  "profiles.swept": "Design startup removed stale browser profiles.",
1870
- "session-link.record-failed": "A closing conversation could not be recorded on a design link."
1888
+ "session-link.record-failed": "A closing conversation could not be recorded on a design link.",
1889
+ "session-link.archived-read-failed": "Whether design links' conversations are archived could not be read; they read as not archived."
1871
1890
  }
1872
1891
  }
1873
1892
  });
@@ -1936,9 +1955,14 @@ var NODES_LOG_AREAS = defineLogAreas({
1936
1955
  // ../protocol/src/log-vocabulary/linear.ts
1937
1956
  var LINEAR_LOG_AREAS = defineLogAreas({
1938
1957
  linear: {
1939
- description: "Linear issues read for build actions.",
1958
+ description: "Linear issues read for build actions, project board links and the Linear connection across machines.",
1940
1959
  events: {
1941
- "comments.load-failed": "An issue's comments could not be loaded; the issue still renders without them."
1960
+ "board-link.conflict": "Two of this machine's projects were linked to one Linear board on different machines; the link changed last kept it and the other was cleared.",
1961
+ "comments.load-failed": "An issue's comments could not be loaded; the issue still renders without them.",
1962
+ "connection.revoked-by-sync": "A disconnect made on another machine named this machine's Linear key, so it was cleared here.",
1963
+ "connection.exported-to-command-node": "An attached command node copied this machine's Linear key at the user's request (the key is not logged).",
1964
+ "sync.failed": "A Linear board-link sync with a node failed; it is retried on the next pass.",
1965
+ "sync.older-node": "A node does not sync Linear board links yet; it keeps its own links."
1942
1966
  }
1943
1967
  }
1944
1968
  });
@@ -1949,7 +1973,9 @@ var USAGE_HISTORY_LOG_AREAS = defineLogAreas({
1949
1973
  description: "Recorded agent token usage.",
1950
1974
  events: {
1951
1975
  "record.failed": "Agent usage could not be recorded; a later read counts it.",
1952
- "prune.failed": "Pruning recorded usage failed; the next prune retries."
1976
+ "prune.failed": "Pruning recorded usage failed; the next prune retries.",
1977
+ "settled-read.failed": "Reading a settled turn's usage failed; the session's next outcome or state read retries it.",
1978
+ "settled-read.abandoned": "A settled turn's usage was given up after repeated failed reads or a full retry queue; only a later projection can still count it."
1953
1979
  }
1954
1980
  }
1955
1981
  });
@@ -2148,7 +2174,9 @@ var WEB_CLAUDE_TMUX_LOG_AREAS = defineLogAreas({
2148
2174
  "files.load-failed": "The file list for @mentions could not be loaded.",
2149
2175
  "clipboard.image-failed": "An image pasted into the interactive terminal could not be saved.",
2150
2176
  "terminal.resize-failed": "Resizing the interactive terminal's session failed.",
2151
- "terminal.recover-failed": "The interactive terminal could not reattach to its session."
2177
+ "terminal.recover-failed": "The interactive terminal could not reattach to its session.",
2178
+ "terminal.lease-lapsed": "The backend had dropped the interactive terminal after missed renewals; a new one is attached (once the page is visible).",
2179
+ "terminal.renew-failed": "Renewing the interactive terminal's lease failed; the next renewal retries."
2152
2180
  }
2153
2181
  }
2154
2182
  });
@@ -14574,6 +14602,10 @@ var SUBORK_LIMITS = Object.freeze({
14574
14602
  deadlineMs: 45 * 60000
14575
14603
  });
14576
14604
 
14605
+ // ../protocol/src/auto-pipeline-tool.ts
14606
+ var AUTO_PIPELINE_TOOL_NAME = "convert_to_pipeline";
14607
+ var AGENT_AUTO_PIPELINE_TOOL_NAMES = Object.freeze([AUTO_PIPELINE_TOOL_NAME]);
14608
+
14577
14609
  // ../protocol/src/web-annotations-errors.ts
14578
14610
  var WEB_ANNOTATION_ERROR_CODES = Object.freeze([
14579
14611
  "conflict",
@@ -23366,6 +23398,7 @@ var ORKESTRATOR_AUTO_ALLOWED_TOOL_NAMES = [
23366
23398
  ...AGENT_MAIL_TOOL_NAMES,
23367
23399
  ...AGENT_GOAL_TOOL_NAMES,
23368
23400
  ...AGENT_SUBORK_TOOL_NAMES,
23401
+ ...AGENT_AUTO_PIPELINE_TOOL_NAMES,
23369
23402
  ...WEB_ANNOTATION_TOOL_NAMES,
23370
23403
  ...ARTIFACT_TOOL_NAMES
23371
23404
  ];