overlord-cli 0.2608170844.0 → 0.2608171622.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.
@@ -1 +1 @@
1
- 0.3.25
1
+ 0.3.26
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
3
  "name": "overlord",
4
- "version": "0.3.25",
4
+ "version": "0.3.26",
5
5
  "description": "Chat-driven access to Overlord mission protocol workflows through skills and MCP.",
6
6
  "author": {
7
7
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "Overlord mission protocol workflow for Claude Code — attach/update/ask/deliver, slash commands, and hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "Overlord mission protocol workflow for Cursor — attach/update/ask/deliver, slash commands, MCP bridge, and follow-up capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -13,9 +13,9 @@ Connector adapters may add harness-specific commands, hooks, MCP tools, or launc
13
13
 
14
14
  Use this mode when the prompt already contains a mission ID or explicitly says the session was launched by Overlord.
15
15
 
16
- **`<mission_id>` is always the short display id** — `coo:695`, `1:899`: a workspace prefix, a colon, and a number. It is the only identifier you ever pass to a `ovld protocol` command. Any UUID you encounter (objective id, session id, execution request id, internal mission uuid) is context, never the value for `--mission-id`. If the only id you can find is a bare UUID, you are missing the mission id — re-read the prompt or run `ovld protocol search-missions` rather than guessing.
16
+ **`<mission_id>` is always the short display id** — `coo:695`, `1:899`: a workspace prefix, a colon, and a number. Pass it as `--mission-id`. **`<objective_id>`** is the objective display id (`coo:695.k7xm`) or UUID; pass it as `--objective-id` when you know which objective to execute. Never pass an objective id as `--mission-id`. If the prompt includes `OVERLORD_OBJECTIVE_ID` or an Objective ID line, include `--objective-id` on attach. If the only id you can find is a bare UUID with no mission display id, re-read the prompt or run `ovld protocol search-missions` rather than guessing.
17
17
 
18
- 1. Attach first with `ovld protocol attach --mission-id <mission_id>`.
18
+ 1. Attach first with `ovld protocol attach --mission-id <mission_id> [--objective-id <objective_id>]`.
19
19
  2. The attach response prints JSON to stdout containing `session.sessionKey`. The CLI also persists this key automatically so subsequent `ovld protocol` commands in the same working directory resolve it without `--session-key`. If auto-resolution fails, pass `--session-key <sessionKey>` explicitly on every subsequent call.
20
20
  3. Treat the Overlord mission prompt as authoritative for the objective, constraints, and delivery target. Begin executing the current objective immediately after attach; do not wait for more instructions or ask for confirmation. This differs from `connect` or `load-context`, which only retrieve mission context and never imply the agent should act.
21
21
  4. Post updates while working: `ovld protocol update --session-key <sessionKey> --mission-id <mission_id> --summary "..." --phase execute`.
@@ -3,7 +3,7 @@
3
3
  ## Attach
4
4
 
5
5
  ```bash
6
- ovld protocol attach --mission-id $MISSION_ID
6
+ ovld protocol attach --mission-id $MISSION_ID [--objective-id $OVERLORD_OBJECTIVE_ID]
7
7
  ```
8
8
 
9
9
  In a git workspace, `attach` records a VCS baseline (changed file paths from local `git status`) so delivery can compute the run-attributable delta automatically.
@@ -214,10 +214,14 @@ const tools = [
214
214
  {
215
215
  name: 'overlord_attach_session',
216
216
  title: 'Attach to mission',
217
- description: 'Attach an MCP-hosted agent session to a mission before update/ask/deliver.',
217
+ description:
218
+ 'Attach an MCP-hosted agent session to a mission before update/ask/deliver. Pass objectiveId when the caller already knows which objective to execute.',
218
219
  inputSchema: objectSchema(
219
220
  {
220
221
  missionId: stringProperty('Mission UUID or workspace display id.'),
222
+ objectiveId: stringProperty(
223
+ 'Optional objective UUID or display id (e.g. coo:756.k7xm). Pins attach to that objective.'
224
+ ),
221
225
  agent: stringProperty(`Agent identifier. Defaults to ${DEFAULT_AGENT}.`),
222
226
  model: stringProperty('Optional model identifier.'),
223
227
  executionTargetId: stringProperty(
@@ -442,6 +446,9 @@ function callOverlordTool(name, args) {
442
446
  return runProtocol('attach', {
443
447
  'mission-id': requiredString(args, 'missionId'),
444
448
  agent: optionalString(args, 'agent') ?? DEFAULT_AGENT,
449
+ ...(optionalString(args, 'objectiveId')
450
+ ? { 'objective-id': requiredString(args, 'objectiveId') }
451
+ : {}),
445
452
  ...(optionalString(args, 'model') ? { model: requiredString(args, 'model') } : {}),
446
453
  ...(optionalString(args, 'executionTargetId')
447
454
  ? { 'execution-target-id': requiredString(args, 'executionTargetId') }
@@ -575,7 +582,7 @@ process.stdin.on('data', async chunk => {
575
582
  result: {
576
583
  protocolVersion: PROTOCOL_VERSION,
577
584
  capabilities: { tools: { listChanged: false } },
578
- serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.25' }
585
+ serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.26' }
579
586
  }
580
587
  });
581
588
  continue;