overlord-cli 0.2611231027.0 → 0.2611261141.0

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.
@@ -123,7 +123,9 @@ Intentional omissions:
123
123
  - **`codex-app-server` ships no hooks either.** It drives Codex through `codex app-server`
124
124
  instead of the plugin hooks, and the private server's environment silences the `codex`
125
125
  plugin's hooks inside it (`OVERLORD_CONTROL_PLANE_SURFACE`), so one Codex session is never
126
- reported through both. It is experimental and launch does not start it yet.
126
+ reported through both. It is experimental and opt-in: a Codex launch in app-server mode (per-machine
127
+ harness mode, `OVERLORD_CODEX_APP_SERVER=1`, or the project launch env var) mints a
128
+ `control_plane` session channel and starts it (ADR 0092); every other Codex launch uses hooks.
127
129
  - **Only the `codex` shim is a status line provider.** The Codex rendering of the local MCP
128
130
  shim also lists `overlord_status_line` and serves `ui://overlord/status-line`, the Codex 0.171
129
131
  statusline provider (`terminal.statusSurface`, ADR 0093). It is a terminal UI surface, not a
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: antigravity
4
4
  label: "Antigravity Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: claude
4
4
  label: "Claude Code Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: codex
4
4
  label: "Codex Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: codex-app-server
4
4
  label: "Codex app-server Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: cursor
4
4
  label: "Cursor Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: opencode
4
4
  label: "OpenCode Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "182.3.0"
1
+ contractVersion: "182.5.1"
2
2
  componentType: connector
3
3
  componentKey: pi
4
4
  label: "PI Connector"
@@ -109,6 +109,17 @@ Requirements:
109
109
  - `--model <model>`
110
110
  - `-c model_reasoning_effort="<level>"`
111
111
  - For large context or wrappers, write a context file and pass a short prompt that points to it.
112
+ - Optional, experimental app-server mode (ADR 0091, ADR 0092): when the per-machine harness mode
113
+ (`harnessMode: appServer`), `OVERLORD_CODEX_APP_SERVER=1`, or the project's launch env var
114
+ selects it, `ovld launch` and runners mint a `control_plane` session channel and start
115
+ `ovld agent-session sidecar --agent codex-app-server`, which drives a private `codex app-server`
116
+ on an owner-only Unix socket. The visible terminal runs `ovld agent-session attach`
117
+ (`codex --remote unix://<socket> resume <thread>`). It falls back to the hooks launch when
118
+ Codex is missing or older than 0.170.0, the launch has no objective, or minting fails.
119
+ User-started Codex sessions always use the hooks adapter; never run both decision authorities
120
+ for one session. See `connectors/adapters/codex-app-server/CAPABILITIES.md`.
121
+ - Optional status line: `ovld agent-setup codex --status-line` selects the Overlord status line
122
+ provider in Codex 0.171+ (ADR 0093).
112
123
 
113
124
  Setup/managed files should be documented once implementation paths are chosen. Upstream uses `~/.codex/plugins/overlord`, `~/.agents/plugins/marketplace.json`, Codex rules, and hook scripts.
114
125
 
@@ -242,11 +253,14 @@ Requirements:
242
253
  - Degrades gracefully without a web app open: the harness's own fallback
243
254
  decision (allow/deny/ask) applies when no one answers in time.
244
255
 
245
- As of the Latch v2 cutover, no shipped launch path currently supplies the session-channel
246
- credential this mechanism depends on (`createSessionChannel` has no production callers), so
247
- "blocks the harness's tool call until answered" does not happen end-to-end for any existing
248
- adapter today — do not assume a new connector can exercise this path against a real Overlord
249
- deployment without first restoring that wiring. The decision kinds that are still remotely
256
+ As of the Latch v2 cutover, the only launch that supplies the session-channel credential this
257
+ mechanism depends on is a Codex launch in app-server mode (ADR 0092), and that path is not a
258
+ callback hook: the `codex-app-server` control-plane supervisor answers Codex's JSON-RPC
259
+ approvals itself, from answers recorded in Overlord with `delivery.mode = 'control_plane'`
260
+ (ADR 0094; permission answers only from the launching member). For every callback adapter
261
+ "blocks the harness's tool call until answered" does not happen end-to-end today — do not
262
+ assume a new connector can exercise this path against a real Overlord deployment without
263
+ first restoring that wiring. The decision kinds that are still remotely
250
264
  answerable — a blocking **question** or fixed **choice** — go through the mission protocol's
251
265
  `ask`/resolve flow and a live Latch terminal session, not through this session-channel
252
266
  mechanism. `ovld protocol ask` opens the request (creating a credential-free, correlation-only
package/dist/index.js CHANGED
@@ -34344,6 +34344,11 @@ function captureChangeFromPayload({
34344
34344
  projectRootPaths: codec2.projectRootPaths,
34345
34345
  workingDirectory: lexicalProjectRoot({ workingDirectory, pathHints })
34346
34346
  });
34347
+ const normalizationDirectory = resolveHookWorkingDirectory({
34348
+ payload: payloadForNormalize,
34349
+ projectRootPaths: codec2.projectRootPaths,
34350
+ fallbackCwd: workingDirectory
34351
+ });
34347
34352
  const normalized = payloadFailure ? null : normalizeForAdapter({ codec: codec2, payload: payloadForNormalize });
34348
34353
  const directPaths = normalized?.kind === "file.edited" && Array.isArray(normalized.payload.paths) ? normalized.payload.paths.filter((value2) => typeof value2 === "string") : [];
34349
34354
  const outcome = normalized?.payload.outcome;
@@ -34416,7 +34421,10 @@ function captureChangeFromPayload({
34416
34421
  workingDirectory,
34417
34422
  objectiveId: session.objectiveId,
34418
34423
  sessionKey: session.sessionKey,
34419
- filePaths: directPaths,
34424
+ // The codec emits paths relative to the native cwd, which can be below
34425
+ // the checkout. Give the ledger their absolute locations so it can
34426
+ // apply containment and ignore rules before making them checkout-relative.
34427
+ filePaths: directPaths.map((filePath) => path27.resolve(normalizationDirectory, filePath)),
34420
34428
  source: "declared_edit",
34421
34429
  hookHealth: "direct_path_observed"
34422
34430
  });
@@ -52483,7 +52491,7 @@ reorder-run-queue:
52483
52491
 
52484
52492
  create-run-queue:
52485
52493
  Purpose:
52486
- Create an additional Run Queue alongside the project's default queue.
52494
+ Create a named Run Queue in the project.
52487
52495
  Required:
52488
52496
  --project-id <id|slug|name> Project UUID, slug, or name; or derive via --objective-id/--mission-id
52489
52497
  --name <text> Name for the new queue
@@ -52532,7 +52540,7 @@ delete-run-queue:
52532
52540
  Returns:
52533
52541
  { removed, projectId }.
52534
52542
  Rules:
52535
- The default queue cannot be deleted, and a non-empty queue requires
52543
+ Legacy default queues can be deleted. A non-empty queue requires
52536
52544
  --move-entries-to. Requires project:update, so a mission_lifecycle-scoped
52537
52545
  agent token cannot run this.
52538
52546
 
@@ -52551,7 +52559,7 @@ reorder-project-run-queues:
52551
52559
  ProjectRunQueuesDto in its new order.
52552
52560
  Rules:
52553
52561
  Each item may be a queue UUID or an unambiguous queue name. Supply every live
52554
- queue exactly once, and keep the default queue first. Requires
52562
+ queue exactly once, and keep the default queue first if one exists. Requires
52555
52563
  project:update, so a mission_lifecycle-scoped agent token cannot run this.
52556
52564
 
52557
52565
  queue-objective: