orkestrator 2.37.4-beta → 2.37.5-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.64.0-noble@sha256:06a9939e57531807f8d5fd76ce44b53165ffb7d7501d87ab10e285c20b1e971f
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.64.0"
9
+ "playwright-core": "1.65.0"
10
10
  }
11
11
  },
12
12
  "node_modules/playwright-core": {
13
- "version": "1.64.0",
14
- "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.0.tgz",
15
- "integrity": "sha512-T9r+MZkTECl2+oUcZ26YgZzTrYidTsIhYYkJix+6iDOymOb1FB2RLLSOxRGnZGv5DStt+aduIVbt+E8WygXYpg==",
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"
@@ -3,6 +3,6 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "playwright-core": "1.64.0"
6
+ "playwright-core": "1.65.0"
7
7
  }
8
8
  }
package/dist/client.js CHANGED
@@ -264,10 +264,13 @@ 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.",
@@ -474,10 +477,10 @@ var init_desktop = __esm(() => {
474
477
  "dev-mode.ignored-packaged": "A packaged app was launched with ELECTRON_DEV=1 and ignored it; it loads its bundled renderer.",
475
478
  "instance.already-running": "Another instance holds this data directory; this one will quit.",
476
479
  "main-thread.stalled": {
477
- description: "A timer fired late, so windows, IPC and the stdout reader waited.",
480
+ 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
481
  essential: true,
479
482
  minLevel: "error",
480
- fields: { lagMs: "number", intervalMs: "number" }
483
+ fields: { lagMs: "number", intervalMs: "number", cpuMs: "number" }
481
484
  },
482
485
  "process-memory": "Development only: working set per Electron process type, sampled on an interval.",
483
486
  "process-memory.failed": "Development only: one process memory sample could not be read.",
@@ -1012,12 +1015,13 @@ var init_runtime = __esm(() => {
1012
1015
  description: "This process's event loop. A stall of 10 seconds or more is written at error, so no level hides it.",
1013
1016
  events: {
1014
1017
  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, and `blockingCommand` one whose synchronous part overlapped it.",
1018
+ 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.",
1016
1019
  essential: true,
1017
1020
  minLevel: "error",
1018
1021
  fields: {
1019
1022
  lagMs: "number",
1020
1023
  intervalMs: "number",
1024
+ cpuMs: "number",
1021
1025
  storageMs: "number",
1022
1026
  storageDatabase: "label",
1023
1027
  storageOp: "label",
@@ -1025,7 +1029,8 @@ var init_runtime = __esm(() => {
1025
1029
  storageLongestMs: "number",
1026
1030
  storageBusy: "boolean",
1027
1031
  commandsInFlight: "number",
1028
- blockingCommandMs: "number"
1032
+ blockingCommandMs: "number",
1033
+ jobsInWindow: "number"
1029
1034
  }
1030
1035
  }
1031
1036
  }
@@ -1069,6 +1074,8 @@ var init_terminal = __esm(() => {
1069
1074
  "pty.exit-notify-failed": "Notifying a terminal's exit failed.",
1070
1075
  "pty.late-exit-listener-failed": "A listener added after a terminal exited threw.",
1071
1076
  "setup.pty-reused": "A setup terminal reused its existing PTY.",
1077
+ "setup.pty-retired": "A setup retry ended the terminal the previous run left open, so the new run gets its own.",
1078
+ "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
1079
  "setup.pty-spawning": "A setup terminal is spawning its PTY. The argument count only, never the arguments.",
1073
1080
  "setup.pty-spawned": "A setup terminal's PTY started.",
1074
1081
  "setup.pty-exited": "A setup terminal's PTY exited.",
@@ -1400,6 +1407,8 @@ var init_build_pipeline = __esm(() => {
1400
1407
  "workspace.waiting": "A pipeline is waiting for its workspace; written once per reason.",
1401
1408
  "rewind.pending": "A pipeline's code rewind has not finished; written once per reason.",
1402
1409
  "kanban.status-failed": "A restarted pipeline's Kanban status could not be set; it retries shortly.",
1410
+ "kanban.environment-deleted-read-failed": "The pipelines of an environment being deleted could not be read, so their tickets keep their columns.",
1411
+ "kanban.environment-deleted-update-failed": "The ticket of a pipeline whose environment was deleted could not be moved; the deletion goes on.",
1403
1412
  "usage.read-failed": "Reading a stage session's token usage failed.",
1404
1413
  "checkpoint.deferred": "A stage transcript checkpoint could not be written yet; the provider's history stands.",
1405
1414
  "checkpoint.not-committed": "A stage transcript checkpoint was reverted in the commit that should have kept it.",
@@ -1458,6 +1467,7 @@ var init_change_tracking = __esm(() => {
1458
1467
  "baseline.update-failed": "An environment's diff baseline could not be updated.",
1459
1468
  "scan.watcher-failed": "An environment's diff watcher failed; its scans fall back to polling.",
1460
1469
  "scan.failed": "A diff scan failed; the last results stay, marked stale, and the scan is retried.",
1470
+ "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
1471
  "scan.freshness-read-failed": "Reading whether an environment's remote is fresh failed.",
1462
1472
  "scan.listener-failed": "A change-tracking scan listener threw; the scan itself stands.",
1463
1473
  "emit.diff-stats-failed": "A diff stats change could not be emitted to its sink.",
@@ -1655,9 +1665,9 @@ var init_docker = __esm(() => {
1655
1665
  "git-mirror.clone-fallback": "A new environment could not clone from its project's Git mirror and cloned from the remote.",
1656
1666
  "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
1667
  "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 (to-do 7550); that connection then sends nothing more.",
1668
+ "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
1669
  "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 (to-do 7550): 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.",
1670
+ "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.",
1661
1671
  "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
1672
  "lifecycle-event.reconcile-failed": "Reconciling an environment after a container start or stop event failed; the next status read retries.",
1663
1673
  "login-keeper.pass-failed": "A Claude login keeper pass failed; the next interval retries.",
@@ -1694,7 +1704,7 @@ var init_docker = __esm(() => {
1694
1704
  fields: { provider: "label", containerPort: "number" }
1695
1705
  },
1696
1706
  "bridge.listener-refused": {
1697
- description: "The socket listening on a container bridge's port is not the one the bridge the backend started opened (to-do 7250), 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`.",
1707
+ 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
1708
  essential: true,
1699
1709
  fields: { provider: "label", reason: "label" }
1700
1710
  },
@@ -2296,6 +2306,7 @@ var init_web_kanban = __esm(() => {
2296
2306
  "task.move-failed": "A task move failed and its status was rolled back.",
2297
2307
  "comment.add-failed": "A comment could not be added to a task.",
2298
2308
  "comment.delete-failed": "A comment could not be deleted from a task.",
2309
+ "pr.merge-failed": "Merging a ticket's pull request from its Notes tab failed; the error was shown to the user.",
2299
2310
  "image.add-failed": "An image could not be added to a task.",
2300
2311
  "image.delete-failed": "An image could not be deleted from a task.",
2301
2312
  "notes.load-failed": "Project notes could not be loaded; the editor stays disabled.",
@@ -10978,8 +10989,7 @@ var SERVER_BOOLEAN_FLAGS = Object.freeze([
10978
10989
  "--desktop-web-client",
10979
10990
  "--strict-docker-owner",
10980
10991
  "--strict-gateway-port",
10981
- "--tailscale-serve",
10982
- "--unsafe-allow-non-tailscale-bind"
10992
+ "--tailscale-serve"
10983
10993
  ]);
10984
10994
  function isServerFlag(token) {
10985
10995
  return SERVER_VALUE_FLAGS.includes(token) || SERVER_BOOLEAN_FLAGS.includes(token);
@@ -13235,7 +13245,7 @@ import path5 from "path";
13235
13245
  // ../../apps/backend/package.json
13236
13246
  var package_default = {
13237
13247
  name: "@orkestrator/backend",
13238
- version: "2.37.4-beta",
13248
+ version: "2.37.5-beta",
13239
13249
  private: true,
13240
13250
  type: "module",
13241
13251
  exports: {
@@ -13266,7 +13276,7 @@ var package_default = {
13266
13276
  effect: "4.1.2",
13267
13277
  mermaid: "12.2.0",
13268
13278
  "pdfjs-dist": "6.4.299",
13269
- "playwright-core": "1.64.0",
13279
+ "playwright-core": "1.65.0",
13270
13280
  sharp: "^0.35.5",
13271
13281
  ws: "8.22.0"
13272
13282
  },
@@ -15451,7 +15461,6 @@ var TICKET_SECTION_DEFINITIONS = [
15451
15461
  kinds: ["feature", "work-brief"]
15452
15462
  }
15453
15463
  ];
15454
- var DEFINITION_BY_KEY = new Map(TICKET_SECTION_DEFINITIONS.map((definition) => [definition.key, definition]));
15455
15464
  function normalizedHeading(text) {
15456
15465
  return text.replace(/\*\*|__/g, "").replace(/[:.]+\s*$/, "").replace(/\s+/g, " ").trim().toLowerCase();
15457
15466
  }
@@ -20883,6 +20892,30 @@ var AutoPipelineDraftSchema = asModel(Struct({
20883
20892
  notes: notesSchema,
20884
20893
  uncommittedFiles: ArraySchema(text).check(isMaxLength(1000))
20885
20894
  }));
20895
+ var AutoPipelineEditsSchema = Struct({
20896
+ title: String4.check(isMaxLength(240)),
20897
+ description: String4.check(isMaxLength(32000)),
20898
+ acceptanceCriteria: ArraySchema(String4.check(isMaxLength(32000))).check(isMaxLength(100))
20899
+ });
20900
+ var AutoPipelineStateSchema = asModel(Union2([
20901
+ Struct({ phase: Literal2("idle") }),
20902
+ Struct({ phase: Literal2("drafting") }),
20903
+ Struct({ phase: Literal2("failed"), error: text }),
20904
+ Struct({
20905
+ phase: Literal2("ready"),
20906
+ draft: AutoPipelineDraftSchema,
20907
+ edits: optional2(AutoPipelineEditsSchema),
20908
+ reviewed: optional2(AutoPipelineTicketSchema),
20909
+ confirmError: optional2(text)
20910
+ }),
20911
+ Struct({
20912
+ phase: Literal2("promoting"),
20913
+ draft: AutoPipelineDraftSchema,
20914
+ edits: optional2(AutoPipelineEditsSchema),
20915
+ reviewed: optional2(AutoPipelineTicketSchema)
20916
+ }),
20917
+ Struct({ phase: Literal2("promoted"), pipelineId: text })
20918
+ ]));
20886
20919
  var AutoPipelineSourcesSchema = asModel(Struct({
20887
20920
  available: Boolean3,
20888
20921
  sources: ArraySchema(Struct({ tabId: text, label: text, disabledReason: optional2(text) })).check(isMaxLength(100))