orkestrator 2.37.6-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/dist/client.js +36 -96
- package/dist/main.js +273009 -283564
- package/package.json +3 -3
- package/resources/acp-bridge/dist/index.js +29 -13
- package/resources/claude-bridge/dist/index.js +36 -14
- package/resources/codex-bridge/dist/index.js +36 -13
- package/resources/cursor-bridge/dist/index.js +30 -13
- package/resources/cursor-bridge/runtime/install.json +1 -1
- package/resources/pi-bridge/dist/index.js +35 -14
- package/resources/pi-bridge/runtime/install.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orkestrator",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
43
|
-
"@orkestrator/toolchain": "2.
|
|
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"
|
|
@@ -1068,29 +1068,28 @@ var NATIVE_AGENT_LOG_AREAS = defineLogAreas({
|
|
|
1068
1068
|
"credential-plugin.skipped": "A host OpenCode server started without the credential plugin, so its tools inherit its password; `reason` says why.",
|
|
1069
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.",
|
|
1070
1070
|
"host-database.unreadable": "The shared OpenCode database could not be inspected, so host OpenCode opens it as usual. Error class only.",
|
|
1071
|
-
"login.
|
|
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."
|
|
1072
1072
|
}
|
|
1073
1073
|
},
|
|
1074
1074
|
"native-agent.opencode2": {
|
|
1075
|
-
description: "The OpenCode 2.x
|
|
1075
|
+
description: "The OpenCode provider (OpenCode 2.x): its event monitor, steering, session instructions, host and container servers.",
|
|
1076
1076
|
events: {
|
|
1077
1077
|
"events.dropped": "The 2.x event stream ended or failed, so reads go to the server until it reconnects. Error class only.",
|
|
1078
1078
|
"monitor.silent": "The 2.x event stream sent a heartbeat and then went quiet, so it is replaced. `silenceMs` only.",
|
|
1079
1079
|
"steer.unconfirmed": "A 2.x steer got no definite answer, so its delivery is reconciled from history. Error class only.",
|
|
1080
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.",
|
|
1081
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.",
|
|
1082
1085
|
"mcp.remove-failed": "Removing a closed session's Orkestrator MCP server from the 2.x server failed. Error class only.",
|
|
1083
|
-
"protocol.select-failed": "A workflow could not read the OpenCode line setting, so its new session takes 1.x. Error class only.",
|
|
1084
|
-
"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.",
|
|
1085
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.",
|
|
1086
|
-
"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.",
|
|
1087
1087
|
"container-server.launched": "The start script of a container environment's 2.x server was run. Container port only.",
|
|
1088
1088
|
"container-server.ready": "A container environment's 2.x server this backend started answered `/api/info` as 2.x. Environment id only.",
|
|
1089
1089
|
"container-server.cleanup-failed": "Cleanup after OpenCode startup failed; step names only, while the original startup error is preserved.",
|
|
1090
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.",
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
"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.",
|
|
1094
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.",
|
|
1095
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.",
|
|
1096
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.",
|
|
@@ -1340,6 +1339,7 @@ var TMUX_LOG_AREAS = defineLogAreas({
|
|
|
1340
1339
|
"cli.fast-mode-unsupported": "The claude CLI lacks --settings, so it launches without fast mode.",
|
|
1341
1340
|
"cli.effort-unsupported": "The claude CLI lacks --effort, so it launches without it.",
|
|
1342
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.",
|
|
1343
1343
|
"signal.arm-failed": "The Claude state signal could not be armed.",
|
|
1344
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.",
|
|
1345
1345
|
"hook-signal.arm-failed": "The tmux hook doorbell could not be armed.",
|
|
@@ -1763,6 +1763,7 @@ var DOCKER_LOG_AREAS = defineLogAreas({
|
|
|
1763
1763
|
"login-keeper.refresh-not-extended": "Refreshing the host Claude login did not extend its expiry.",
|
|
1764
1764
|
"login-keeper.refresh-check-failed": "Checking the host Claude login after a refresh failed.",
|
|
1765
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.",
|
|
1766
1767
|
"lifecycle.record-failure-failed": "A failed container operation could not be recorded.",
|
|
1767
1768
|
"lifecycle.reconcile-failed": "Reconciling one environment's container operation failed; the next pass retries.",
|
|
1768
1769
|
"replacement.clear-terminals-failed": "Terminal sessions could not be cleared after a container replacement.",
|
|
@@ -1884,7 +1885,8 @@ var DESIGN_LOG_AREAS = defineLogAreas({
|
|
|
1884
1885
|
"startup.step-failed": "One part of design startup failed; `step` says which.",
|
|
1885
1886
|
"legacy.retire-failed": "A migrated legacy design could not be retired.",
|
|
1886
1887
|
"profiles.swept": "Design startup removed stale browser profiles.",
|
|
1887
|
-
"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."
|
|
1888
1890
|
}
|
|
1889
1891
|
}
|
|
1890
1892
|
});
|
|
@@ -1953,9 +1955,14 @@ var NODES_LOG_AREAS = defineLogAreas({
|
|
|
1953
1955
|
// ../protocol/src/log-vocabulary/linear.ts
|
|
1954
1956
|
var LINEAR_LOG_AREAS = defineLogAreas({
|
|
1955
1957
|
linear: {
|
|
1956
|
-
description: "Linear issues read for build actions.",
|
|
1958
|
+
description: "Linear issues read for build actions, project board links and the Linear connection across machines.",
|
|
1957
1959
|
events: {
|
|
1958
|
-
"
|
|
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."
|
|
1959
1966
|
}
|
|
1960
1967
|
}
|
|
1961
1968
|
});
|
|
@@ -1966,7 +1973,9 @@ var USAGE_HISTORY_LOG_AREAS = defineLogAreas({
|
|
|
1966
1973
|
description: "Recorded agent token usage.",
|
|
1967
1974
|
events: {
|
|
1968
1975
|
"record.failed": "Agent usage could not be recorded; a later read counts it.",
|
|
1969
|
-
"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."
|
|
1970
1979
|
}
|
|
1971
1980
|
}
|
|
1972
1981
|
});
|
|
@@ -2165,7 +2174,9 @@ var WEB_CLAUDE_TMUX_LOG_AREAS = defineLogAreas({
|
|
|
2165
2174
|
"files.load-failed": "The file list for @mentions could not be loaded.",
|
|
2166
2175
|
"clipboard.image-failed": "An image pasted into the interactive terminal could not be saved.",
|
|
2167
2176
|
"terminal.resize-failed": "Resizing the interactive terminal's session failed.",
|
|
2168
|
-
"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."
|
|
2169
2180
|
}
|
|
2170
2181
|
}
|
|
2171
2182
|
});
|
|
@@ -14591,6 +14602,10 @@ var SUBORK_LIMITS = Object.freeze({
|
|
|
14591
14602
|
deadlineMs: 45 * 60000
|
|
14592
14603
|
});
|
|
14593
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
|
+
|
|
14594
14609
|
// ../protocol/src/web-annotations-errors.ts
|
|
14595
14610
|
var WEB_ANNOTATION_ERROR_CODES = Object.freeze([
|
|
14596
14611
|
"conflict",
|
|
@@ -23383,6 +23398,7 @@ var ORKESTRATOR_AUTO_ALLOWED_TOOL_NAMES = [
|
|
|
23383
23398
|
...AGENT_MAIL_TOOL_NAMES,
|
|
23384
23399
|
...AGENT_GOAL_TOOL_NAMES,
|
|
23385
23400
|
...AGENT_SUBORK_TOOL_NAMES,
|
|
23401
|
+
...AGENT_AUTO_PIPELINE_TOOL_NAMES,
|
|
23386
23402
|
...WEB_ANNOTATION_TOOL_NAMES,
|
|
23387
23403
|
...ARTIFACT_TOOL_NAMES
|
|
23388
23404
|
];
|
|
@@ -886,29 +886,28 @@ var NATIVE_AGENT_LOG_AREAS = defineLogAreas({
|
|
|
886
886
|
"credential-plugin.skipped": "A host OpenCode server started without the credential plugin, so its tools inherit its password; `reason` says why.",
|
|
887
887
|
"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.",
|
|
888
888
|
"host-database.unreadable": "The shared OpenCode database could not be inspected, so host OpenCode opens it as usual. Error class only.",
|
|
889
|
-
"login.
|
|
889
|
+
"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."
|
|
890
890
|
}
|
|
891
891
|
},
|
|
892
892
|
"native-agent.opencode2": {
|
|
893
|
-
description: "The OpenCode 2.x
|
|
893
|
+
description: "The OpenCode provider (OpenCode 2.x): its event monitor, steering, session instructions, host and container servers.",
|
|
894
894
|
events: {
|
|
895
895
|
"events.dropped": "The 2.x event stream ended or failed, so reads go to the server until it reconnects. Error class only.",
|
|
896
896
|
"monitor.silent": "The 2.x event stream sent a heartbeat and then went quiet, so it is replaced. `silenceMs` only.",
|
|
897
897
|
"steer.unconfirmed": "A 2.x steer got no definite answer, so its delivery is reconciled from history. Error class only.",
|
|
898
898
|
"provider.dispose-failed": "Disposing the 2.x provider of a replaced server failed. Error class only.",
|
|
899
|
+
"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.",
|
|
900
|
+
"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.",
|
|
901
|
+
"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.",
|
|
899
902
|
"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.",
|
|
900
903
|
"mcp.remove-failed": "Removing a closed session's Orkestrator MCP server from the 2.x server failed. Error class only.",
|
|
901
|
-
"protocol.select-failed": "A workflow could not read the OpenCode line setting, so its new session takes 1.x. Error class only.",
|
|
902
|
-
"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.",
|
|
903
904
|
"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.",
|
|
904
|
-
"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.",
|
|
905
905
|
"container-server.launched": "The start script of a container environment's 2.x server was run. Container port only.",
|
|
906
906
|
"container-server.ready": "A container environment's 2.x server this backend started answered `/api/info` as 2.x. Environment id only.",
|
|
907
907
|
"container-server.cleanup-failed": "Cleanup after OpenCode startup failed; step names only, while the original startup error is preserved.",
|
|
908
908
|
"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.",
|
|
909
|
-
"
|
|
910
|
-
"
|
|
911
|
-
"credential.server-exit-unclean": "The private 2.x server started to copy a sign-in did not stop cleanly. Error class only.",
|
|
909
|
+
"instructions.unavailable": "The 2.x server refused Orkestrator's shared instructions entry for a session, which runs without them. Error class only.",
|
|
910
|
+
"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.",
|
|
912
911
|
"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.",
|
|
913
912
|
"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.",
|
|
914
913
|
"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.",
|
|
@@ -1158,6 +1157,7 @@ var TMUX_LOG_AREAS = defineLogAreas({
|
|
|
1158
1157
|
"cli.fast-mode-unsupported": "The claude CLI lacks --settings, so it launches without fast mode.",
|
|
1159
1158
|
"cli.effort-unsupported": "The claude CLI lacks --effort, so it launches without it.",
|
|
1160
1159
|
"interactive.snapshot-failed": "An interactive snapshot failed; expected while a pane is closing.",
|
|
1160
|
+
"interactive.lease-lapsed": "No client renewed an interactive terminal for 45 seconds, so its capture loop stopped.",
|
|
1161
1161
|
"signal.arm-failed": "The Claude state signal could not be armed.",
|
|
1162
1162
|
"signal.degraded": "The Claude state signal missed a change or rang too often, so polling stays at one second until it is re-armed.",
|
|
1163
1163
|
"hook-signal.arm-failed": "The tmux hook doorbell could not be armed.",
|
|
@@ -1581,6 +1581,7 @@ var DOCKER_LOG_AREAS = defineLogAreas({
|
|
|
1581
1581
|
"login-keeper.refresh-not-extended": "Refreshing the host Claude login did not extend its expiry.",
|
|
1582
1582
|
"login-keeper.refresh-check-failed": "Checking the host Claude login after a refresh failed.",
|
|
1583
1583
|
"login-watcher.pass-failed": "A container login file watcher pass failed; the next one retries.",
|
|
1584
|
+
"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.",
|
|
1584
1585
|
"lifecycle.record-failure-failed": "A failed container operation could not be recorded.",
|
|
1585
1586
|
"lifecycle.reconcile-failed": "Reconciling one environment's container operation failed; the next pass retries.",
|
|
1586
1587
|
"replacement.clear-terminals-failed": "Terminal sessions could not be cleared after a container replacement.",
|
|
@@ -1702,7 +1703,8 @@ var DESIGN_LOG_AREAS = defineLogAreas({
|
|
|
1702
1703
|
"startup.step-failed": "One part of design startup failed; `step` says which.",
|
|
1703
1704
|
"legacy.retire-failed": "A migrated legacy design could not be retired.",
|
|
1704
1705
|
"profiles.swept": "Design startup removed stale browser profiles.",
|
|
1705
|
-
"session-link.record-failed": "A closing conversation could not be recorded on a design link."
|
|
1706
|
+
"session-link.record-failed": "A closing conversation could not be recorded on a design link.",
|
|
1707
|
+
"session-link.archived-read-failed": "Whether design links' conversations are archived could not be read; they read as not archived."
|
|
1706
1708
|
}
|
|
1707
1709
|
}
|
|
1708
1710
|
});
|
|
@@ -1771,9 +1773,14 @@ var NODES_LOG_AREAS = defineLogAreas({
|
|
|
1771
1773
|
// ../protocol/src/log-vocabulary/linear.ts
|
|
1772
1774
|
var LINEAR_LOG_AREAS = defineLogAreas({
|
|
1773
1775
|
linear: {
|
|
1774
|
-
description: "Linear issues read for build actions.",
|
|
1776
|
+
description: "Linear issues read for build actions, project board links and the Linear connection across machines.",
|
|
1775
1777
|
events: {
|
|
1776
|
-
"
|
|
1778
|
+
"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.",
|
|
1779
|
+
"comments.load-failed": "An issue's comments could not be loaded; the issue still renders without them.",
|
|
1780
|
+
"connection.revoked-by-sync": "A disconnect made on another machine named this machine's Linear key, so it was cleared here.",
|
|
1781
|
+
"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).",
|
|
1782
|
+
"sync.failed": "A Linear board-link sync with a node failed; it is retried on the next pass.",
|
|
1783
|
+
"sync.older-node": "A node does not sync Linear board links yet; it keeps its own links."
|
|
1777
1784
|
}
|
|
1778
1785
|
}
|
|
1779
1786
|
});
|
|
@@ -1784,7 +1791,9 @@ var USAGE_HISTORY_LOG_AREAS = defineLogAreas({
|
|
|
1784
1791
|
description: "Recorded agent token usage.",
|
|
1785
1792
|
events: {
|
|
1786
1793
|
"record.failed": "Agent usage could not be recorded; a later read counts it.",
|
|
1787
|
-
"prune.failed": "Pruning recorded usage failed; the next prune retries."
|
|
1794
|
+
"prune.failed": "Pruning recorded usage failed; the next prune retries.",
|
|
1795
|
+
"settled-read.failed": "Reading a settled turn's usage failed; the session's next outcome or state read retries it.",
|
|
1796
|
+
"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."
|
|
1788
1797
|
}
|
|
1789
1798
|
}
|
|
1790
1799
|
});
|
|
@@ -1983,7 +1992,9 @@ var WEB_CLAUDE_TMUX_LOG_AREAS = defineLogAreas({
|
|
|
1983
1992
|
"files.load-failed": "The file list for @mentions could not be loaded.",
|
|
1984
1993
|
"clipboard.image-failed": "An image pasted into the interactive terminal could not be saved.",
|
|
1985
1994
|
"terminal.resize-failed": "Resizing the interactive terminal's session failed.",
|
|
1986
|
-
"terminal.recover-failed": "The interactive terminal could not reattach to its session."
|
|
1995
|
+
"terminal.recover-failed": "The interactive terminal could not reattach to its session.",
|
|
1996
|
+
"terminal.lease-lapsed": "The backend had dropped the interactive terminal after missed renewals; a new one is attached (once the page is visible).",
|
|
1997
|
+
"terminal.renew-failed": "Renewing the interactive terminal's lease failed; the next renewal retries."
|
|
1987
1998
|
}
|
|
1988
1999
|
}
|
|
1989
2000
|
});
|
|
@@ -8961,6 +8972,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
8961
8972
|
"mark_topic",
|
|
8962
8973
|
"mark_question",
|
|
8963
8974
|
"ack_message",
|
|
8975
|
+
"add_linear_comment",
|
|
8964
8976
|
"add_ticket_comment",
|
|
8965
8977
|
"address_multi_review",
|
|
8966
8978
|
"adopt_workflow",
|
|
@@ -8972,6 +8984,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
8972
8984
|
"cancel_schedule",
|
|
8973
8985
|
"clear_worker_goal",
|
|
8974
8986
|
"compare_project_files",
|
|
8987
|
+
"create_linear_issue",
|
|
8975
8988
|
"create_pr",
|
|
8976
8989
|
"create_schedule",
|
|
8977
8990
|
"create_ticket",
|
|
@@ -8984,6 +8997,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
8984
8997
|
"get_feature_plan",
|
|
8985
8998
|
"get_graph_run",
|
|
8986
8999
|
"get_launch_options",
|
|
9000
|
+
"get_linear_issue",
|
|
8987
9001
|
"get_message",
|
|
8988
9002
|
"get_message_status",
|
|
8989
9003
|
"get_multi_review",
|
|
@@ -9003,6 +9017,8 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
9003
9017
|
"list_agents",
|
|
9004
9018
|
"list_environments",
|
|
9005
9019
|
"list_graph_templates",
|
|
9020
|
+
"list_linear_board_options",
|
|
9021
|
+
"list_linear_issues",
|
|
9006
9022
|
"list_mailboxes",
|
|
9007
9023
|
"list_nodes",
|
|
9008
9024
|
"list_projects",
|
|
@@ -9043,6 +9059,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
9043
9059
|
"switch_provider_account",
|
|
9044
9060
|
"set_account_auto_switch",
|
|
9045
9061
|
"transfer_files",
|
|
9062
|
+
"update_linear_issue",
|
|
9046
9063
|
"update_schedule",
|
|
9047
9064
|
"update_ticket"
|
|
9048
9065
|
]);
|
|
@@ -20733,6 +20750,10 @@ var SUBORK_LIMITS = Object.freeze({
|
|
|
20733
20750
|
deadlineMs: 45 * 60000
|
|
20734
20751
|
});
|
|
20735
20752
|
|
|
20753
|
+
// ../protocol/src/auto-pipeline-tool.ts
|
|
20754
|
+
var AUTO_PIPELINE_TOOL_NAME = "convert_to_pipeline";
|
|
20755
|
+
var AGENT_AUTO_PIPELINE_TOOL_NAMES = Object.freeze([AUTO_PIPELINE_TOOL_NAME]);
|
|
20756
|
+
|
|
20736
20757
|
// ../../bridges/claude-bridge/src/services/session-manager-prompt-query.ts
|
|
20737
20758
|
import { createHash as createHash11 } from "node:crypto";
|
|
20738
20759
|
|
|
@@ -22102,7 +22123,8 @@ async function resolveQueryPlan(turn, sdkTextPrompt, testHooks) {
|
|
|
22102
22123
|
...AGENT_MAIL_TOOL_NAMES,
|
|
22103
22124
|
...ARTIFACT_TOOL_NAMES,
|
|
22104
22125
|
...AGENT_GOAL_TOOL_NAMES,
|
|
22105
|
-
...AGENT_SUBORK_TOOL_NAMES
|
|
22126
|
+
...AGENT_SUBORK_TOOL_NAMES,
|
|
22127
|
+
...AGENT_AUTO_PIPELINE_TOOL_NAMES
|
|
22106
22128
|
].map((name) => `mcp__${AGENT_MCP_SERVER_NAME}__${name}`) : [];
|
|
22107
22129
|
const allowedTools = coordinatorReadOnly ? claudeReadOnlyAllowedTools({
|
|
22108
22130
|
agentMcpServerNames: mcpServerNames.has(AGENT_MCP_SERVER_NAME) ? [AGENT_MCP_SERVER_NAME] : [],
|
|
@@ -1951,29 +1951,28 @@ var NATIVE_AGENT_LOG_AREAS = defineLogAreas({
|
|
|
1951
1951
|
"credential-plugin.skipped": "A host OpenCode server started without the credential plugin, so its tools inherit its password; `reason` says why.",
|
|
1952
1952
|
"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.",
|
|
1953
1953
|
"host-database.unreadable": "The shared OpenCode database could not be inspected, so host OpenCode opens it as usual. Error class only.",
|
|
1954
|
-
"login.
|
|
1954
|
+
"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."
|
|
1955
1955
|
}
|
|
1956
1956
|
},
|
|
1957
1957
|
"native-agent.opencode2": {
|
|
1958
|
-
description: "The OpenCode 2.x
|
|
1958
|
+
description: "The OpenCode provider (OpenCode 2.x): its event monitor, steering, session instructions, host and container servers.",
|
|
1959
1959
|
events: {
|
|
1960
1960
|
"events.dropped": "The 2.x event stream ended or failed, so reads go to the server until it reconnects. Error class only.",
|
|
1961
1961
|
"monitor.silent": "The 2.x event stream sent a heartbeat and then went quiet, so it is replaced. `silenceMs` only.",
|
|
1962
1962
|
"steer.unconfirmed": "A 2.x steer got no definite answer, so its delivery is reconciled from history. Error class only.",
|
|
1963
1963
|
"provider.dispose-failed": "Disposing the 2.x provider of a replaced server failed. Error class only.",
|
|
1964
|
+
"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.",
|
|
1965
|
+
"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.",
|
|
1966
|
+
"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.",
|
|
1964
1967
|
"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.",
|
|
1965
1968
|
"mcp.remove-failed": "Removing a closed session's Orkestrator MCP server from the 2.x server failed. Error class only.",
|
|
1966
|
-
"protocol.select-failed": "A workflow could not read the OpenCode line setting, so its new session takes 1.x. Error class only.",
|
|
1967
|
-
"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.",
|
|
1968
1969
|
"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.",
|
|
1969
|
-
"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.",
|
|
1970
1970
|
"container-server.launched": "The start script of a container environment's 2.x server was run. Container port only.",
|
|
1971
1971
|
"container-server.ready": "A container environment's 2.x server this backend started answered `/api/info` as 2.x. Environment id only.",
|
|
1972
1972
|
"container-server.cleanup-failed": "Cleanup after OpenCode startup failed; step names only, while the original startup error is preserved.",
|
|
1973
1973
|
"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.",
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
1976
|
-
"credential.server-exit-unclean": "The private 2.x server started to copy a sign-in did not stop cleanly. Error class only.",
|
|
1974
|
+
"instructions.unavailable": "The 2.x server refused Orkestrator's shared instructions entry for a session, which runs without them. Error class only.",
|
|
1975
|
+
"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.",
|
|
1977
1976
|
"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.",
|
|
1978
1977
|
"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.",
|
|
1979
1978
|
"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.",
|
|
@@ -2223,6 +2222,7 @@ var TMUX_LOG_AREAS = defineLogAreas({
|
|
|
2223
2222
|
"cli.fast-mode-unsupported": "The claude CLI lacks --settings, so it launches without fast mode.",
|
|
2224
2223
|
"cli.effort-unsupported": "The claude CLI lacks --effort, so it launches without it.",
|
|
2225
2224
|
"interactive.snapshot-failed": "An interactive snapshot failed; expected while a pane is closing.",
|
|
2225
|
+
"interactive.lease-lapsed": "No client renewed an interactive terminal for 45 seconds, so its capture loop stopped.",
|
|
2226
2226
|
"signal.arm-failed": "The Claude state signal could not be armed.",
|
|
2227
2227
|
"signal.degraded": "The Claude state signal missed a change or rang too often, so polling stays at one second until it is re-armed.",
|
|
2228
2228
|
"hook-signal.arm-failed": "The tmux hook doorbell could not be armed.",
|
|
@@ -2646,6 +2646,7 @@ var DOCKER_LOG_AREAS = defineLogAreas({
|
|
|
2646
2646
|
"login-keeper.refresh-not-extended": "Refreshing the host Claude login did not extend its expiry.",
|
|
2647
2647
|
"login-keeper.refresh-check-failed": "Checking the host Claude login after a refresh failed.",
|
|
2648
2648
|
"login-watcher.pass-failed": "A container login file watcher pass failed; the next one retries.",
|
|
2649
|
+
"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.",
|
|
2649
2650
|
"lifecycle.record-failure-failed": "A failed container operation could not be recorded.",
|
|
2650
2651
|
"lifecycle.reconcile-failed": "Reconciling one environment's container operation failed; the next pass retries.",
|
|
2651
2652
|
"replacement.clear-terminals-failed": "Terminal sessions could not be cleared after a container replacement.",
|
|
@@ -2767,7 +2768,8 @@ var DESIGN_LOG_AREAS = defineLogAreas({
|
|
|
2767
2768
|
"startup.step-failed": "One part of design startup failed; `step` says which.",
|
|
2768
2769
|
"legacy.retire-failed": "A migrated legacy design could not be retired.",
|
|
2769
2770
|
"profiles.swept": "Design startup removed stale browser profiles.",
|
|
2770
|
-
"session-link.record-failed": "A closing conversation could not be recorded on a design link."
|
|
2771
|
+
"session-link.record-failed": "A closing conversation could not be recorded on a design link.",
|
|
2772
|
+
"session-link.archived-read-failed": "Whether design links' conversations are archived could not be read; they read as not archived."
|
|
2771
2773
|
}
|
|
2772
2774
|
}
|
|
2773
2775
|
});
|
|
@@ -2836,9 +2838,14 @@ var NODES_LOG_AREAS = defineLogAreas({
|
|
|
2836
2838
|
// ../protocol/src/log-vocabulary/linear.ts
|
|
2837
2839
|
var LINEAR_LOG_AREAS = defineLogAreas({
|
|
2838
2840
|
linear: {
|
|
2839
|
-
description: "Linear issues read for build actions.",
|
|
2841
|
+
description: "Linear issues read for build actions, project board links and the Linear connection across machines.",
|
|
2840
2842
|
events: {
|
|
2841
|
-
"
|
|
2843
|
+
"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.",
|
|
2844
|
+
"comments.load-failed": "An issue's comments could not be loaded; the issue still renders without them.",
|
|
2845
|
+
"connection.revoked-by-sync": "A disconnect made on another machine named this machine's Linear key, so it was cleared here.",
|
|
2846
|
+
"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).",
|
|
2847
|
+
"sync.failed": "A Linear board-link sync with a node failed; it is retried on the next pass.",
|
|
2848
|
+
"sync.older-node": "A node does not sync Linear board links yet; it keeps its own links."
|
|
2842
2849
|
}
|
|
2843
2850
|
}
|
|
2844
2851
|
});
|
|
@@ -2849,7 +2856,9 @@ var USAGE_HISTORY_LOG_AREAS = defineLogAreas({
|
|
|
2849
2856
|
description: "Recorded agent token usage.",
|
|
2850
2857
|
events: {
|
|
2851
2858
|
"record.failed": "Agent usage could not be recorded; a later read counts it.",
|
|
2852
|
-
"prune.failed": "Pruning recorded usage failed; the next prune retries."
|
|
2859
|
+
"prune.failed": "Pruning recorded usage failed; the next prune retries.",
|
|
2860
|
+
"settled-read.failed": "Reading a settled turn's usage failed; the session's next outcome or state read retries it.",
|
|
2861
|
+
"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."
|
|
2853
2862
|
}
|
|
2854
2863
|
}
|
|
2855
2864
|
});
|
|
@@ -3048,7 +3057,9 @@ var WEB_CLAUDE_TMUX_LOG_AREAS = defineLogAreas({
|
|
|
3048
3057
|
"files.load-failed": "The file list for @mentions could not be loaded.",
|
|
3049
3058
|
"clipboard.image-failed": "An image pasted into the interactive terminal could not be saved.",
|
|
3050
3059
|
"terminal.resize-failed": "Resizing the interactive terminal's session failed.",
|
|
3051
|
-
"terminal.recover-failed": "The interactive terminal could not reattach to its session."
|
|
3060
|
+
"terminal.recover-failed": "The interactive terminal could not reattach to its session.",
|
|
3061
|
+
"terminal.lease-lapsed": "The backend had dropped the interactive terminal after missed renewals; a new one is attached (once the page is visible).",
|
|
3062
|
+
"terminal.renew-failed": "Renewing the interactive terminal's lease failed; the next renewal retries."
|
|
3052
3063
|
}
|
|
3053
3064
|
}
|
|
3054
3065
|
});
|
|
@@ -17973,6 +17984,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
17973
17984
|
"mark_topic",
|
|
17974
17985
|
"mark_question",
|
|
17975
17986
|
"ack_message",
|
|
17987
|
+
"add_linear_comment",
|
|
17976
17988
|
"add_ticket_comment",
|
|
17977
17989
|
"address_multi_review",
|
|
17978
17990
|
"adopt_workflow",
|
|
@@ -17984,6 +17996,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
17984
17996
|
"cancel_schedule",
|
|
17985
17997
|
"clear_worker_goal",
|
|
17986
17998
|
"compare_project_files",
|
|
17999
|
+
"create_linear_issue",
|
|
17987
18000
|
"create_pr",
|
|
17988
18001
|
"create_schedule",
|
|
17989
18002
|
"create_ticket",
|
|
@@ -17996,6 +18009,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
17996
18009
|
"get_feature_plan",
|
|
17997
18010
|
"get_graph_run",
|
|
17998
18011
|
"get_launch_options",
|
|
18012
|
+
"get_linear_issue",
|
|
17999
18013
|
"get_message",
|
|
18000
18014
|
"get_message_status",
|
|
18001
18015
|
"get_multi_review",
|
|
@@ -18015,6 +18029,8 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
18015
18029
|
"list_agents",
|
|
18016
18030
|
"list_environments",
|
|
18017
18031
|
"list_graph_templates",
|
|
18032
|
+
"list_linear_board_options",
|
|
18033
|
+
"list_linear_issues",
|
|
18018
18034
|
"list_mailboxes",
|
|
18019
18035
|
"list_nodes",
|
|
18020
18036
|
"list_projects",
|
|
@@ -18055,6 +18071,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
18055
18071
|
"switch_provider_account",
|
|
18056
18072
|
"set_account_auto_switch",
|
|
18057
18073
|
"transfer_files",
|
|
18074
|
+
"update_linear_issue",
|
|
18058
18075
|
"update_schedule",
|
|
18059
18076
|
"update_ticket"
|
|
18060
18077
|
]);
|
|
@@ -20614,6 +20631,10 @@ var SUBORK_LIMITS = Object.freeze({
|
|
|
20614
20631
|
deadlineMs: 45 * 60000
|
|
20615
20632
|
});
|
|
20616
20633
|
|
|
20634
|
+
// ../protocol/src/auto-pipeline-tool.ts
|
|
20635
|
+
var AUTO_PIPELINE_TOOL_NAME = "convert_to_pipeline";
|
|
20636
|
+
var AGENT_AUTO_PIPELINE_TOOL_NAMES = Object.freeze([AUTO_PIPELINE_TOOL_NAME]);
|
|
20637
|
+
|
|
20617
20638
|
// ../protocol/src/build-pipeline-key-information.ts
|
|
20618
20639
|
var KEY_INFORMATION_LIMITS = Object.freeze({
|
|
20619
20640
|
proseLength: 4000,
|
|
@@ -25557,6 +25578,7 @@ function codexAppServerConfigOverrides(env = process.env, platform = process.pla
|
|
|
25557
25578
|
...ARTIFACT_TOOL_NAMES,
|
|
25558
25579
|
...AGENT_GOAL_TOOL_NAMES,
|
|
25559
25580
|
...AGENT_SUBORK_TOOL_NAMES,
|
|
25581
|
+
...AGENT_AUTO_PIPELINE_TOOL_NAMES,
|
|
25560
25582
|
...KEY_INFORMATION_TOOL_NAMES
|
|
25561
25583
|
]) {
|
|
25562
25584
|
overrides[`mcp_servers.orkestrator.tools.${name}.approval_mode`] = JSON.stringify("approve");
|
|
@@ -25732,6 +25754,7 @@ var AGENT_MAIL_TOOL_APPROVALS = Object.fromEntries([
|
|
|
25732
25754
|
...ARTIFACT_TOOL_NAMES,
|
|
25733
25755
|
...AGENT_GOAL_TOOL_NAMES,
|
|
25734
25756
|
...AGENT_SUBORK_TOOL_NAMES,
|
|
25757
|
+
...AGENT_AUTO_PIPELINE_TOOL_NAMES,
|
|
25735
25758
|
...KEY_INFORMATION_TOOL_NAMES
|
|
25736
25759
|
].map((name) => [name, { approval_mode: "approve" }]));
|
|
25737
25760
|
var ROOT_THREAD_SOURCE_KINDS = ["cli", "vscode", "exec", "appServer", "unknown"];
|