orkestrator 2.37.4-beta → 2.37.6-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/artifact-runtime/preview-worker.js +70 -0
- package/dist/artifact-runtime/worker-context/Dockerfile +1 -1
- package/dist/artifact-runtime/worker-context/package-lock.json +4 -4
- package/dist/artifact-runtime/worker-context/package.json +1 -1
- package/dist/artifact-runtime/worker-context/preview-worker.mjs +70 -0
- package/dist/client.js +65 -15
- package/dist/main.js +5031 -3769
- package/package.json +4 -4
- package/resources/acp-bridge/dist/index.js +43 -54
- package/resources/claude-bridge/dist/index.js +1562 -1605
- package/resources/codex-bridge/dist/index.js +46 -143
- package/resources/cursor-bridge/dist/index.js +49 -30
- package/resources/cursor-bridge/runtime/install.json +1 -1
- package/resources/pi-bridge/dist/index.js +51 -38
- package/resources/pi-bridge/runtime/install.json +1 -1
- package/resources/release-runtime/bun.lock +2 -2
- package/resources/release-runtime/package.json +1 -1
|
@@ -576,6 +576,19 @@ function installDesignRuntime(matchesShortcut, shortcuts, claimsShortcut, focuse
|
|
|
576
576
|
}, "*");
|
|
577
577
|
}
|
|
578
578
|
});
|
|
579
|
+
let lastFocused = null;
|
|
580
|
+
document.addEventListener("focusin", (event) => {
|
|
581
|
+
if (event.target instanceof Element && event.target !== document.body)
|
|
582
|
+
lastFocused = event.target;
|
|
583
|
+
}, true);
|
|
584
|
+
window.addEventListener("focus", () => {
|
|
585
|
+
const active = document.activeElement;
|
|
586
|
+
if (active && active !== document.body && active !== document.documentElement)
|
|
587
|
+
return;
|
|
588
|
+
const target = lastFocused;
|
|
589
|
+
if (target?.isConnected && target instanceof HTMLElement)
|
|
590
|
+
target.focus({ preventScroll: true });
|
|
591
|
+
});
|
|
579
592
|
document.addEventListener("click", (event) => event.preventDefault(), true);
|
|
580
593
|
document.addEventListener("auxclick", (event) => event.preventDefault(), true);
|
|
581
594
|
document.addEventListener("submit", (event) => event.preventDefault(), true);
|
|
@@ -765,6 +778,57 @@ var FRAME_CHANNEL_POLICY = {
|
|
|
765
778
|
var ARTIFACT_FRAME_CHANNEL = "orkestrator-artifact";
|
|
766
779
|
var UNSAFE_LINK_CHARACTERS = new RegExp("[\\u0000-\\u001f\\u007f-\\u009f\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]");
|
|
767
780
|
|
|
781
|
+
// ../protocol/src/static-html-document-text.ts
|
|
782
|
+
function staticHtmlDocumentText(input) {
|
|
783
|
+
const INLINE_TEXT = /^(?:a|abbr|b|bdi|bdo|cite|code|data|del|dfn|em|font|i|ins|kbd|label|mark|q|rp|rt|ruby|s|samp|small|span|strike|strong|sub|sup|time|tspan|tt|u|var|wbr)$/;
|
|
784
|
+
const max = Math.max(0, Math.floor(input.maxCharacters));
|
|
785
|
+
const doc = new DOMParser().parseFromString(input.html, "text/html");
|
|
786
|
+
let text = "";
|
|
787
|
+
let space = false;
|
|
788
|
+
let boundary = false;
|
|
789
|
+
const emit = (character) => {
|
|
790
|
+
if (text.length < max)
|
|
791
|
+
text += character;
|
|
792
|
+
};
|
|
793
|
+
const visit = (node) => {
|
|
794
|
+
if (node.nodeType === 3) {
|
|
795
|
+
const value = node.nodeValue ?? "";
|
|
796
|
+
for (let offset = 0;offset < value.length; offset++) {
|
|
797
|
+
const character = value[offset];
|
|
798
|
+
if (/\s/.test(character)) {
|
|
799
|
+
space = true;
|
|
800
|
+
continue;
|
|
801
|
+
}
|
|
802
|
+
if (text.length > 0) {
|
|
803
|
+
if (boundary)
|
|
804
|
+
emit(`
|
|
805
|
+
`);
|
|
806
|
+
else if (space)
|
|
807
|
+
emit(" ");
|
|
808
|
+
}
|
|
809
|
+
boundary = false;
|
|
810
|
+
space = false;
|
|
811
|
+
emit(character);
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
if (node.nodeType !== 1)
|
|
815
|
+
return;
|
|
816
|
+
const element = node;
|
|
817
|
+
if (/^(?:style|noscript)$/.test(element.localName) || element.hasAttribute("hidden"))
|
|
818
|
+
return;
|
|
819
|
+
const isBoundary = !INLINE_TEXT.test(element.localName);
|
|
820
|
+
if (isBoundary)
|
|
821
|
+
boundary = true;
|
|
822
|
+
for (const child of Array.from(element.childNodes))
|
|
823
|
+
visit(child);
|
|
824
|
+
if (isBoundary)
|
|
825
|
+
boundary = true;
|
|
826
|
+
};
|
|
827
|
+
if (doc.body)
|
|
828
|
+
visit(doc.body);
|
|
829
|
+
return text;
|
|
830
|
+
}
|
|
831
|
+
|
|
768
832
|
// ../../apps/backend/src/core/transcript-artifacts/dependency-manifest.ts
|
|
769
833
|
import { createHash } from "crypto";
|
|
770
834
|
import { existsSync } from "fs";
|
|
@@ -1640,6 +1704,12 @@ async function runStatic(browser, job, result, remaining) {
|
|
|
1640
1704
|
}));
|
|
1641
1705
|
result.sanitizer = outcome.report.removed;
|
|
1642
1706
|
result.elementCount = outcome.report.elementCount;
|
|
1707
|
+
try {
|
|
1708
|
+
result.searchText = await page.evaluate(staticHtmlDocumentText, {
|
|
1709
|
+
html: result.effectiveHtml,
|
|
1710
|
+
maxCharacters: STATIC_PRESENTATION_POLICY.maxSearchTextCharacters
|
|
1711
|
+
});
|
|
1712
|
+
} catch {}
|
|
1643
1713
|
result.ok = true;
|
|
1644
1714
|
}
|
|
1645
1715
|
async function runInteractive(browser, job, pkg, result, remaining, emit) {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
# playwright-core version, by multi-architecture index digest. Refresh with
|
|
14
14
|
# docker buildx imagetools inspect mcr.microsoft.com/playwright:v<version>-noble
|
|
15
15
|
# whenever apps/backend/package.json changes playwright-core.
|
|
16
|
-
FROM mcr.microsoft.com/playwright:v1.
|
|
16
|
+
FROM mcr.microsoft.com/playwright:v1.65.0-noble@sha256:6e3fb709361521eb27161606e6da6d2674e5e89fa16516cb37d6fdd91372273d
|
|
17
17
|
|
|
18
18
|
ENV NODE_ENV=production \
|
|
19
19
|
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright \
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"": {
|
|
7
7
|
"name": "orkestrator-artifact-preview-worker",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"playwright-core": "1.
|
|
9
|
+
"playwright-core": "1.65.0"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"node_modules/playwright-core": {
|
|
13
|
-
"version": "1.
|
|
14
|
-
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.
|
|
15
|
-
"integrity": "sha512-
|
|
13
|
+
"version": "1.65.0",
|
|
14
|
+
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.0.tgz",
|
|
15
|
+
"integrity": "sha512-vNSKgH6YqtN7cdT/L334zo0a+YwkrpicyrHJlWWPIm/Q+Nn2SWInil01oT0mbu96U4GgoRtCYQD9CzJQgju+lA==",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"bin": {
|
|
18
18
|
"playwright-core": "cli.js"
|
|
@@ -575,6 +575,19 @@ function installDesignRuntime(matchesShortcut, shortcuts, claimsShortcut, focuse
|
|
|
575
575
|
}, "*");
|
|
576
576
|
}
|
|
577
577
|
});
|
|
578
|
+
let lastFocused = null;
|
|
579
|
+
document.addEventListener("focusin", (event) => {
|
|
580
|
+
if (event.target instanceof Element && event.target !== document.body)
|
|
581
|
+
lastFocused = event.target;
|
|
582
|
+
}, true);
|
|
583
|
+
window.addEventListener("focus", () => {
|
|
584
|
+
const active = document.activeElement;
|
|
585
|
+
if (active && active !== document.body && active !== document.documentElement)
|
|
586
|
+
return;
|
|
587
|
+
const target = lastFocused;
|
|
588
|
+
if (target?.isConnected && target instanceof HTMLElement)
|
|
589
|
+
target.focus({ preventScroll: true });
|
|
590
|
+
});
|
|
578
591
|
document.addEventListener("click", (event) => event.preventDefault(), true);
|
|
579
592
|
document.addEventListener("auxclick", (event) => event.preventDefault(), true);
|
|
580
593
|
document.addEventListener("submit", (event) => event.preventDefault(), true);
|
|
@@ -764,6 +777,57 @@ var FRAME_CHANNEL_POLICY = {
|
|
|
764
777
|
var ARTIFACT_FRAME_CHANNEL = "orkestrator-artifact";
|
|
765
778
|
var UNSAFE_LINK_CHARACTERS = new RegExp("[\\u0000-\\u001f\\u007f-\\u009f\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]");
|
|
766
779
|
|
|
780
|
+
// packages/protocol/src/static-html-document-text.ts
|
|
781
|
+
function staticHtmlDocumentText(input) {
|
|
782
|
+
const INLINE_TEXT = /^(?:a|abbr|b|bdi|bdo|cite|code|data|del|dfn|em|font|i|ins|kbd|label|mark|q|rp|rt|ruby|s|samp|small|span|strike|strong|sub|sup|time|tspan|tt|u|var|wbr)$/;
|
|
783
|
+
const max = Math.max(0, Math.floor(input.maxCharacters));
|
|
784
|
+
const doc = new DOMParser().parseFromString(input.html, "text/html");
|
|
785
|
+
let text = "";
|
|
786
|
+
let space = false;
|
|
787
|
+
let boundary = false;
|
|
788
|
+
const emit = (character) => {
|
|
789
|
+
if (text.length < max)
|
|
790
|
+
text += character;
|
|
791
|
+
};
|
|
792
|
+
const visit = (node) => {
|
|
793
|
+
if (node.nodeType === 3) {
|
|
794
|
+
const value = node.nodeValue ?? "";
|
|
795
|
+
for (let offset = 0;offset < value.length; offset++) {
|
|
796
|
+
const character = value[offset];
|
|
797
|
+
if (/\s/.test(character)) {
|
|
798
|
+
space = true;
|
|
799
|
+
continue;
|
|
800
|
+
}
|
|
801
|
+
if (text.length > 0) {
|
|
802
|
+
if (boundary)
|
|
803
|
+
emit(`
|
|
804
|
+
`);
|
|
805
|
+
else if (space)
|
|
806
|
+
emit(" ");
|
|
807
|
+
}
|
|
808
|
+
boundary = false;
|
|
809
|
+
space = false;
|
|
810
|
+
emit(character);
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
if (node.nodeType !== 1)
|
|
814
|
+
return;
|
|
815
|
+
const element = node;
|
|
816
|
+
if (/^(?:style|noscript)$/.test(element.localName) || element.hasAttribute("hidden"))
|
|
817
|
+
return;
|
|
818
|
+
const isBoundary = !INLINE_TEXT.test(element.localName);
|
|
819
|
+
if (isBoundary)
|
|
820
|
+
boundary = true;
|
|
821
|
+
for (const child of Array.from(element.childNodes))
|
|
822
|
+
visit(child);
|
|
823
|
+
if (isBoundary)
|
|
824
|
+
boundary = true;
|
|
825
|
+
};
|
|
826
|
+
if (doc.body)
|
|
827
|
+
visit(doc.body);
|
|
828
|
+
return text;
|
|
829
|
+
}
|
|
830
|
+
|
|
767
831
|
// apps/backend/src/core/transcript-artifacts/dependency-manifest.ts
|
|
768
832
|
import { createHash } from "node:crypto";
|
|
769
833
|
import { existsSync } from "node:fs";
|
|
@@ -1639,6 +1703,12 @@ async function runStatic(browser, job, result, remaining) {
|
|
|
1639
1703
|
}));
|
|
1640
1704
|
result.sanitizer = outcome.report.removed;
|
|
1641
1705
|
result.elementCount = outcome.report.elementCount;
|
|
1706
|
+
try {
|
|
1707
|
+
result.searchText = await page.evaluate(staticHtmlDocumentText, {
|
|
1708
|
+
html: result.effectiveHtml,
|
|
1709
|
+
maxCharacters: STATIC_PRESENTATION_POLICY.maxSearchTextCharacters
|
|
1710
|
+
});
|
|
1711
|
+
} catch {}
|
|
1642
1712
|
result.ok = true;
|
|
1643
1713
|
}
|
|
1644
1714
|
async function runInteractive(browser, job, pkg, result, remaining, emit) {
|
package/dist/client.js
CHANGED
|
@@ -264,16 +264,20 @@ var init_bridge = __esm(() => {
|
|
|
264
264
|
"prompt.accepted": "The route accepted a prompt and answered 202.",
|
|
265
265
|
"prompt.failed": "A prompt turn failed; the session reports the error.",
|
|
266
266
|
"prompt.processing-failed": "A prompt accepted by the route failed while processing.",
|
|
267
|
+
"prompt.processing-usage-limited": "A prompt accepted by the route ended on a usage limit; the turn already logged prompt.usage-limited.",
|
|
267
268
|
"prompt.received": "A prompt reached the bridge; only its length is logged.",
|
|
268
269
|
"prompt.send-failed": "A prompt request failed; the route answered with an error.",
|
|
270
|
+
"prompt.usage-limited": "A prompt turn ended because the account's plan allowance is used up; the session reports the limit.",
|
|
269
271
|
"query.close-failed": "Stopping the Claude query failed while closing a tab; the close stays pending.",
|
|
270
272
|
"query.failed": "A Claude query ended with an error result.",
|
|
273
|
+
"query.usage-limited": "Claude refused a query because the account's plan allowance is used up; the turn reports the limit.",
|
|
271
274
|
"question.answer-failed": "The answer-question route failed.",
|
|
272
275
|
"question.answering": "Answering a parked question.",
|
|
273
276
|
"question.answers-prepared": "The route prepared a question answer for the session.",
|
|
274
277
|
"question.answers-received": "A parked question received its answers.",
|
|
275
278
|
"question.stale": "An answer arrived for a question no longer pending; the route answered stale.",
|
|
276
279
|
"question.wait-failed": "A parked question ended without an answer: cancelled, timed out or closed.",
|
|
280
|
+
"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.",
|
|
277
281
|
"runtime.ended-under-resumed-turn": "The Claude runtime ended while a resumed root turn was still open.",
|
|
278
282
|
"server.listening": "The HTTP server is listening.",
|
|
279
283
|
"server.starting": "The HTTP server is about to bind.",
|
|
@@ -474,10 +478,10 @@ var init_desktop = __esm(() => {
|
|
|
474
478
|
"dev-mode.ignored-packaged": "A packaged app was launched with ELECTRON_DEV=1 and ignored it; it loads its bundled renderer.",
|
|
475
479
|
"instance.already-running": "Another instance holds this data directory; this one will quit.",
|
|
476
480
|
"main-thread.stalled": {
|
|
477
|
-
description: "A timer fired late, so windows, IPC and the stdout reader waited.",
|
|
481
|
+
description: "A timer fired late, so windows, IPC and the stdout reader waited. `cpuMs` is the CPU time the process used in the window: near `lagMs` the main thread was busy, far below it the thread waited.",
|
|
478
482
|
essential: true,
|
|
479
483
|
minLevel: "error",
|
|
480
|
-
fields: { lagMs: "number", intervalMs: "number" }
|
|
484
|
+
fields: { lagMs: "number", intervalMs: "number", cpuMs: "number" }
|
|
481
485
|
},
|
|
482
486
|
"process-memory": "Development only: working set per Electron process type, sampled on an interval.",
|
|
483
487
|
"process-memory.failed": "Development only: one process memory sample could not be read.",
|
|
@@ -939,6 +943,7 @@ var init_native_agent = __esm(() => {
|
|
|
939
943
|
description: "The OpenCode 2.x provider: its event monitor, steering, routing, host and container servers.",
|
|
940
944
|
events: {
|
|
941
945
|
"events.dropped": "The 2.x event stream ended or failed, so reads go to the server until it reconnects. Error class only.",
|
|
946
|
+
"monitor.silent": "The 2.x event stream sent a heartbeat and then went quiet, so it is replaced. `silenceMs` only.",
|
|
942
947
|
"steer.unconfirmed": "A 2.x steer got no definite answer, so its delivery is reconciled from history. Error class only.",
|
|
943
948
|
"provider.dispose-failed": "Disposing the 2.x provider of a replaced server failed. Error class only.",
|
|
944
949
|
"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.",
|
|
@@ -1012,20 +1017,26 @@ var init_runtime = __esm(() => {
|
|
|
1012
1017
|
description: "This process's event loop. A stall of 10 seconds or more is written at error, so no level hides it.",
|
|
1013
1018
|
events: {
|
|
1014
1019
|
stalled: {
|
|
1015
|
-
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,
|
|
1020
|
+
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.",
|
|
1016
1021
|
essential: true,
|
|
1017
1022
|
minLevel: "error",
|
|
1018
1023
|
fields: {
|
|
1019
1024
|
lagMs: "number",
|
|
1020
1025
|
intervalMs: "number",
|
|
1026
|
+
cpuMs: "number",
|
|
1021
1027
|
storageMs: "number",
|
|
1022
1028
|
storageDatabase: "label",
|
|
1023
1029
|
storageOp: "label",
|
|
1024
1030
|
storageTable: "label",
|
|
1025
1031
|
storageLongestMs: "number",
|
|
1026
1032
|
storageBusy: "boolean",
|
|
1033
|
+
storageCalls: "number",
|
|
1034
|
+
storageCallMs: "number",
|
|
1035
|
+
storageMainCallMs: "number",
|
|
1036
|
+
storageLedgerCallMs: "number",
|
|
1027
1037
|
commandsInFlight: "number",
|
|
1028
|
-
blockingCommandMs: "number"
|
|
1038
|
+
blockingCommandMs: "number",
|
|
1039
|
+
jobsInWindow: "number"
|
|
1029
1040
|
}
|
|
1030
1041
|
}
|
|
1031
1042
|
}
|
|
@@ -1069,6 +1080,8 @@ var init_terminal = __esm(() => {
|
|
|
1069
1080
|
"pty.exit-notify-failed": "Notifying a terminal's exit failed.",
|
|
1070
1081
|
"pty.late-exit-listener-failed": "A listener added after a terminal exited threw.",
|
|
1071
1082
|
"setup.pty-reused": "A setup terminal reused its existing PTY.",
|
|
1083
|
+
"setup.pty-retired": "A setup retry ended the terminal the previous run left open, so the new run gets its own.",
|
|
1084
|
+
"setup.pty-retire-failed": "A setup retry could not end the previous run's process tree, so it kept that terminal and started nothing.",
|
|
1072
1085
|
"setup.pty-spawning": "A setup terminal is spawning its PTY. The argument count only, never the arguments.",
|
|
1073
1086
|
"setup.pty-spawned": "A setup terminal's PTY started.",
|
|
1074
1087
|
"setup.pty-exited": "A setup terminal's PTY exited.",
|
|
@@ -1345,7 +1358,6 @@ var init_storage = __esm(() => {
|
|
|
1345
1358
|
"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.",
|
|
1346
1359
|
"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.",
|
|
1347
1360
|
"lease.heartbeat-failed": "A held lease's heartbeat failed, which shortens the lease; the next one retries.",
|
|
1348
|
-
"scrub.vacuum-failed": "Deleted-content page reclamation failed; the checkpoint is attempted independently.",
|
|
1349
1361
|
"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.",
|
|
1350
1362
|
"upkeep.vacuum-failed": "Periodic page reclamation failed; the next upkeep pass retries.",
|
|
1351
1363
|
"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`).",
|
|
@@ -1400,6 +1412,8 @@ var init_build_pipeline = __esm(() => {
|
|
|
1400
1412
|
"workspace.waiting": "A pipeline is waiting for its workspace; written once per reason.",
|
|
1401
1413
|
"rewind.pending": "A pipeline's code rewind has not finished; written once per reason.",
|
|
1402
1414
|
"kanban.status-failed": "A restarted pipeline's Kanban status could not be set; it retries shortly.",
|
|
1415
|
+
"kanban.environment-deleted-read-failed": "The pipelines of an environment being deleted could not be read, so their tickets keep their columns.",
|
|
1416
|
+
"kanban.environment-deleted-update-failed": "The ticket of a pipeline whose environment was deleted could not be moved; the deletion goes on.",
|
|
1403
1417
|
"usage.read-failed": "Reading a stage session's token usage failed.",
|
|
1404
1418
|
"checkpoint.deferred": "A stage transcript checkpoint could not be written yet; the provider's history stands.",
|
|
1405
1419
|
"checkpoint.not-committed": "A stage transcript checkpoint was reverted in the commit that should have kept it.",
|
|
@@ -1458,6 +1472,7 @@ var init_change_tracking = __esm(() => {
|
|
|
1458
1472
|
"baseline.update-failed": "An environment's diff baseline could not be updated.",
|
|
1459
1473
|
"scan.watcher-failed": "An environment's diff watcher failed; its scans fall back to polling.",
|
|
1460
1474
|
"scan.failed": "A diff scan failed; the last results stay, marked stale, and the scan is retried.",
|
|
1475
|
+
"scan.target-missing": "A local environment's worktree folder is missing (deleted, moved or on an unmounted drive); no scan runs, the last results stay, marked stale, and the folder is checked again on the failure backoff.",
|
|
1461
1476
|
"scan.freshness-read-failed": "Reading whether an environment's remote is fresh failed.",
|
|
1462
1477
|
"scan.listener-failed": "A change-tracking scan listener threw; the scan itself stands.",
|
|
1463
1478
|
"emit.diff-stats-failed": "A diff stats change could not be emitted to its sink.",
|
|
@@ -1550,7 +1565,17 @@ var init_review = __esm(() => {
|
|
|
1550
1565
|
"fix-outcome.read-failed": "Reading an interactive fix's outcome failed; it stays pending.",
|
|
1551
1566
|
"fix-usage.read-failed": "Reading an Address Findings session's token usage failed.",
|
|
1552
1567
|
"result.consume-deferred": "Consuming a workflow result failed; it stays staged and is retried.",
|
|
1553
|
-
"failure-triage.failed": "Classifying a review package's failing tests failed; the package is sealed without the triage and says so."
|
|
1568
|
+
"failure-triage.failed": "Classifying a review package's failing tests failed; the package is sealed without the triage and says so.",
|
|
1569
|
+
"consolidation.budget-exceeded": {
|
|
1570
|
+
description: "A panel's reports did not fit one consolidation turn even after optional prose was removed, so consolidation failed before dispatch. Counts only.",
|
|
1571
|
+
essential: true,
|
|
1572
|
+
fields: {
|
|
1573
|
+
reviewers: "number",
|
|
1574
|
+
sourceFindings: "number",
|
|
1575
|
+
compactBytes: "number",
|
|
1576
|
+
maxBytes: "number"
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1554
1579
|
}
|
|
1555
1580
|
},
|
|
1556
1581
|
"pull-request": {
|
|
@@ -1655,9 +1680,10 @@ var init_docker = __esm(() => {
|
|
|
1655
1680
|
"git-mirror.clone-fallback": "A new environment could not clone from its project's Git mirror and cloned from the remote.",
|
|
1656
1681
|
"project-seed.refused": "A project .env, .env.local or opencode.json was not copied into a new container: a link, not a regular file, outside the project, too large or unreadable.",
|
|
1657
1682
|
"opencode.warm-incomplete": "OpenCode did not finish loading /workspace in a container.",
|
|
1658
|
-
"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
|
|
1683
|
+
"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.",
|
|
1659
1684
|
"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.",
|
|
1660
|
-
"opencode.project-config-filtered": "Values were left out of a checkout's OpenCode configuration before a launched server reads it
|
|
1685
|
+
"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.",
|
|
1686
|
+
"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.",
|
|
1661
1687
|
"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.",
|
|
1662
1688
|
"lifecycle-event.reconcile-failed": "Reconciling an environment after a container start or stop event failed; the next status read retries.",
|
|
1663
1689
|
"login-keeper.pass-failed": "A Claude login keeper pass failed; the next interval retries.",
|
|
@@ -1671,7 +1697,8 @@ var init_docker = __esm(() => {
|
|
|
1671
1697
|
"recovery.clear-terminals-failed": "Terminal sessions could not be cleared after a recovery restore.",
|
|
1672
1698
|
"github-ranges.seed-not-copied": "The GitHub ranges seed could not be copied into a container, so its firewall fetches them.",
|
|
1673
1699
|
"availability.probe-failed": "Docker is not available; written when the diagnostic changes. Fixed-shape metadata only: messages can hold daemon endpoints.",
|
|
1674
|
-
"start.port-collision-retrying": "An automatic host port collided on start, so it is retried
|
|
1700
|
+
"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.",
|
|
1701
|
+
"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.",
|
|
1675
1702
|
"writer-lease.lost": {
|
|
1676
1703
|
description: "This backend lost the registry writer lease, for the fixed `reason` given. Schedules stop and container changes are refused until it restarts.",
|
|
1677
1704
|
essential: true,
|
|
@@ -1694,7 +1721,7 @@ var init_docker = __esm(() => {
|
|
|
1694
1721
|
fields: { provider: "label", containerPort: "number" }
|
|
1695
1722
|
},
|
|
1696
1723
|
"bridge.listener-refused": {
|
|
1697
|
-
description: "The socket listening on a container bridge's port is not the one the bridge the backend started opened
|
|
1724
|
+
description: "The socket listening on a container bridge's port is not the one the bridge the backend started opened, so its token is not handed out and the next start replaces it. `reason` is a fixed label: `different-socket`, `several-sockets`, `pending` (a start has not recorded its bridge yet, or failed before it did) or `scan-incomplete`.",
|
|
1698
1725
|
essential: true,
|
|
1699
1726
|
fields: { provider: "label", reason: "label" }
|
|
1700
1727
|
},
|
|
@@ -2296,6 +2323,7 @@ var init_web_kanban = __esm(() => {
|
|
|
2296
2323
|
"task.move-failed": "A task move failed and its status was rolled back.",
|
|
2297
2324
|
"comment.add-failed": "A comment could not be added to a task.",
|
|
2298
2325
|
"comment.delete-failed": "A comment could not be deleted from a task.",
|
|
2326
|
+
"pr.merge-failed": "Merging a ticket's pull request from its Notes tab failed; the error was shown to the user.",
|
|
2299
2327
|
"image.add-failed": "An image could not be added to a task.",
|
|
2300
2328
|
"image.delete-failed": "An image could not be deleted from a task.",
|
|
2301
2329
|
"notes.load-failed": "Project notes could not be loaded; the editor stays disabled.",
|
|
@@ -10978,8 +11006,7 @@ var SERVER_BOOLEAN_FLAGS = Object.freeze([
|
|
|
10978
11006
|
"--desktop-web-client",
|
|
10979
11007
|
"--strict-docker-owner",
|
|
10980
11008
|
"--strict-gateway-port",
|
|
10981
|
-
"--tailscale-serve"
|
|
10982
|
-
"--unsafe-allow-non-tailscale-bind"
|
|
11009
|
+
"--tailscale-serve"
|
|
10983
11010
|
]);
|
|
10984
11011
|
function isServerFlag(token) {
|
|
10985
11012
|
return SERVER_VALUE_FLAGS.includes(token) || SERVER_BOOLEAN_FLAGS.includes(token);
|
|
@@ -13235,7 +13262,7 @@ import path5 from "path";
|
|
|
13235
13262
|
// ../../apps/backend/package.json
|
|
13236
13263
|
var package_default = {
|
|
13237
13264
|
name: "@orkestrator/backend",
|
|
13238
|
-
version: "2.37.
|
|
13265
|
+
version: "2.37.6-beta",
|
|
13239
13266
|
private: true,
|
|
13240
13267
|
type: "module",
|
|
13241
13268
|
exports: {
|
|
@@ -13266,7 +13293,7 @@ var package_default = {
|
|
|
13266
13293
|
effect: "4.1.2",
|
|
13267
13294
|
mermaid: "12.2.0",
|
|
13268
13295
|
"pdfjs-dist": "6.4.299",
|
|
13269
|
-
"playwright-core": "1.
|
|
13296
|
+
"playwright-core": "1.65.0",
|
|
13270
13297
|
sharp: "^0.35.5",
|
|
13271
13298
|
ws: "8.22.0"
|
|
13272
13299
|
},
|
|
@@ -15451,7 +15478,6 @@ var TICKET_SECTION_DEFINITIONS = [
|
|
|
15451
15478
|
kinds: ["feature", "work-brief"]
|
|
15452
15479
|
}
|
|
15453
15480
|
];
|
|
15454
|
-
var DEFINITION_BY_KEY = new Map(TICKET_SECTION_DEFINITIONS.map((definition) => [definition.key, definition]));
|
|
15455
15481
|
function normalizedHeading(text) {
|
|
15456
15482
|
return text.replace(/\*\*|__/g, "").replace(/[:.]+\s*$/, "").replace(/\s+/g, " ").trim().toLowerCase();
|
|
15457
15483
|
}
|
|
@@ -20883,6 +20909,30 @@ var AutoPipelineDraftSchema = asModel(Struct({
|
|
|
20883
20909
|
notes: notesSchema,
|
|
20884
20910
|
uncommittedFiles: ArraySchema(text).check(isMaxLength(1000))
|
|
20885
20911
|
}));
|
|
20912
|
+
var AutoPipelineEditsSchema = Struct({
|
|
20913
|
+
title: String4.check(isMaxLength(240)),
|
|
20914
|
+
description: String4.check(isMaxLength(32000)),
|
|
20915
|
+
acceptanceCriteria: ArraySchema(String4.check(isMaxLength(32000))).check(isMaxLength(100))
|
|
20916
|
+
});
|
|
20917
|
+
var AutoPipelineStateSchema = asModel(Union2([
|
|
20918
|
+
Struct({ phase: Literal2("idle") }),
|
|
20919
|
+
Struct({ phase: Literal2("drafting") }),
|
|
20920
|
+
Struct({ phase: Literal2("failed"), error: text }),
|
|
20921
|
+
Struct({
|
|
20922
|
+
phase: Literal2("ready"),
|
|
20923
|
+
draft: AutoPipelineDraftSchema,
|
|
20924
|
+
edits: optional2(AutoPipelineEditsSchema),
|
|
20925
|
+
reviewed: optional2(AutoPipelineTicketSchema),
|
|
20926
|
+
confirmError: optional2(text)
|
|
20927
|
+
}),
|
|
20928
|
+
Struct({
|
|
20929
|
+
phase: Literal2("promoting"),
|
|
20930
|
+
draft: AutoPipelineDraftSchema,
|
|
20931
|
+
edits: optional2(AutoPipelineEditsSchema),
|
|
20932
|
+
reviewed: optional2(AutoPipelineTicketSchema)
|
|
20933
|
+
}),
|
|
20934
|
+
Struct({ phase: Literal2("promoted"), pipelineId: text })
|
|
20935
|
+
]));
|
|
20886
20936
|
var AutoPipelineSourcesSchema = asModel(Struct({
|
|
20887
20937
|
available: Boolean3,
|
|
20888
20938
|
sources: ArraySchema(Struct({ tabId: text, label: text, disabledReason: optional2(text) })).check(isMaxLength(100))
|