overlord-cli 0.2607151113.0 → 0.2607151850.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.1
1
+ 0.3.2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
3
  "name": "overlord",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
6
6
  "author": {
7
7
  "name": "Cooperativ",
@@ -328,7 +328,7 @@ process.stdin.on('data', async chunk => {
328
328
  result: {
329
329
  protocolVersion: PROTOCOL_VERSION,
330
330
  capabilities: { tools: { listChanged: false } },
331
- serverInfo: { name: 'overlord-antigravity', version: '0.3.1' }
331
+ serverInfo: { name: 'overlord-antigravity', version: '0.3.2' }
332
332
  }
333
333
  });
334
334
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
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",
@@ -5,13 +5,13 @@ Claude launch prompts should keep the mission objective compact and place large
5
5
  Recommended launch shape:
6
6
 
7
7
  ```bash
8
- claude --append-system-prompt-file <context-file> --model <model> --effort <level> "Begin working on this mission."
8
+ claude --append-system-prompt-file <context-file> --model <model> --effort <level> "Attach, then immediately execute this mission's current objective."
9
9
  ```
10
10
 
11
11
  Rules:
12
12
 
13
13
  - The context file should contain the Overlord mission prompt, objective metadata, history, artifacts, attachments, and shared context assembled by the protocol layer.
14
- - The visible user prompt should point Claude at the context file and name the active mission ID; for normal execution this is a short instruction such as `Begin working on this mission.`
14
+ - The visible user prompt should point Claude at the context file, name the active mission ID, and explicitly direct execution without waiting for confirmation.
15
15
  - `--model` is passed only when the execution target has a model configured.
16
16
  - `--effort` is passed only when the installed Claude binary supports it and the execution target has an effort level configured.
17
17
  - Do not embed secrets in the prompt wrapper. Authentication comes from shared `ovld auth` credentials, Overlord-launched environment variables, `Overlord_USER_TOKEN` / `OVLD_USER_TOKEN`, or the Claude plugin `user_token` config passed to `ovld protocol` as `Overlord_USER_TOKEN`.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -5,13 +5,13 @@ Codex launch prompts should keep the mission objective compact and pass model an
5
5
  Recommended launch shape:
6
6
 
7
7
  ```bash
8
- codex [--model <model>] [-c model_reasoning_effort="<level>"] "Begin working on this mission."
8
+ codex [--model <model>] [-c model_reasoning_effort="<level>"] "Attach, then immediately execute this mission's current objective."
9
9
  ```
10
10
 
11
11
  Rules:
12
12
 
13
13
  - The assembled Overlord mission prompt, objective metadata, history, artifacts, attachments, and shared context should be injected as the initial session prompt by the protocol layer.
14
- - The visible user prompt should name the active mission ID; for normal execution this is a short instruction such as `Begin working on this mission.`
14
+ - The visible user prompt should name the active mission ID and explicitly direct execution without waiting for confirmation.
15
15
  - `--model` is passed only when the execution target has a model configured.
16
16
  - `-c model_reasoning_effort="<level>"` is passed only when the execution target has an effort level configured.
17
17
  - For large context, write a context file and pass a short prompt that points Codex at it.
@@ -328,7 +328,7 @@ process.stdin.on('data', async chunk => {
328
328
  result: {
329
329
  protocolVersion: PROTOCOL_VERSION,
330
330
  capabilities: { tools: { listChanged: false } },
331
- serverInfo: { name: 'overlord-codex', version: '0.3.1' }
331
+ serverInfo: { name: 'overlord-codex', version: '0.3.2' }
332
332
  }
333
333
  });
334
334
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
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",
@@ -328,7 +328,7 @@ process.stdin.on('data', async chunk => {
328
328
  result: {
329
329
  protocolVersion: PROTOCOL_VERSION,
330
330
  capabilities: { tools: { listChanged: false } },
331
- serverInfo: { name: 'overlord-cursor', version: '0.3.1' }
331
+ serverInfo: { name: 'overlord-cursor', version: '0.3.2' }
332
332
  }
333
333
  });
334
334
  continue;
@@ -3,7 +3,7 @@
3
3
  PI receives Overlord's generated mission context as a native file input and a short visible launch message:
4
4
 
5
5
  ```bash
6
- pi --model <provider/id> --thinking <level> @<context-file> "Start work on <mission>."
6
+ pi --model <provider/id> --thinking <level> @<context-file> "Attach, then immediately execute <mission>'s current objective."
7
7
  ```
8
8
 
9
9
  Rules:
@@ -12,3 +12,4 @@ Rules:
12
12
  - Pass thinking separately with `--thinking` only when the selected launch configuration specifies it.
13
13
  - Place user-configured launch flags before the `@<context-file>` and visible message arguments.
14
14
  - The context file contains the mission, objectives, history, artifacts, attachments, and lifecycle instructions. Do not put credentials in it.
15
+ - The visible message must explicitly direct execution without waiting for confirmation.
@@ -15,7 +15,7 @@ Use this mode when the prompt already contains a mission ID or explicitly says t
15
15
 
16
16
  1. Attach first with `ovld protocol attach --mission-id <mission_id>`.
17
17
  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.
18
- 3. Treat the Overlord mission prompt as authoritative for the objective, constraints, and delivery target. Begin implementing the objective immediately after attach. This differs from `connect` or `load-context`, which only retrieve mission context and never imply the agent should act.
18
+ 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.
19
19
  4. Post updates while working: `ovld protocol update --session-key <sessionKey> --mission-id <mission_id> --summary "..." --phase execute`.
20
20
  During long mechanical stretches with nothing meaningful to post, send `ovld protocol heartbeat --session-key <sessionKey> --mission-id <mission_id> [--phase execute] [--percent <0-100>] [--note "..."]` instead of an empty update.
21
21
  5. Follow-up messages after the initial mission are captured automatically by the installed `UserPromptSubmit` hook and stay in discussion intent while the mission is in review. Do not post `user_follow_up` manually unless the hook is unavailable.
@@ -29,6 +29,7 @@ For full command syntax, flags, phase values, and event types see **CLI Command
29
29
  **Missions** represent whole features or goals. **Objectives** are the individual steps to implement that goal — one objective equals one agent prompt.
30
30
 
31
31
  Example:
32
+
32
33
  ```
33
34
  Mission: add CLI command for editing user profile
34
35
  - Objective 1: draft plan for this command
@@ -38,10 +39,12 @@ Mission: add CLI command for editing user profile
38
39
  ```
39
40
 
40
41
  When to create a mission vs an objective:
42
+
41
43
  - **Create a new mission** when the user describes a distinct feature, bug, or goal that stands on its own.
42
44
  - **Add objectives to an existing mission** when the work is a sequential step toward the same feature or goal already tracked in a mission.
43
45
 
44
46
  To add further objectives to an existing mission (Mode 2):
47
+
45
48
  ```
46
49
  ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"objective":"..."},{"objective":"..."}]'
47
50
  ```
@@ -343,7 +346,7 @@ If `.overlord/project.json` contains more than one project, show the user the pr
343
346
 
344
347
  ## Change Rationales
345
348
 
346
- Always include `changeRationales` when delivering; optionally on updates during long-running work. Your job is rationale for *what* changed and why — the CLI captures *which* files changed (see **Deliver** above).
349
+ Always include `changeRationales` when delivering; optionally on updates during long-running work. Your job is rationale for _what_ changed and why — the CLI captures _which_ files changed (see **Deliver** above).
347
350
 
348
351
  - Rationales only for meaningful behavioral changes you made for this mission; skip formatting-only noise. Do not send `file_changes` as an artifact.
349
352
  - Do not include unrelated worktree changes in the delivery report, payload, artifacts, or rationales — even to label them pre-existing.
package/dist/index.js CHANGED
@@ -13820,6 +13820,7 @@ async function loadMissionContext({
13820
13820
  "",
13821
13821
  "## Instructions",
13822
13822
  "Use the Overlord skill. Follow the required protocol workflow.",
13823
+ EXECUTION_DIRECTIVE,
13823
13824
  "",
13824
13825
  "## Objectives",
13825
13826
  ...objectives.map((objective, index) => {
@@ -13938,7 +13939,7 @@ Execution request: ${options.executionRequestId}` : context.launchContext;
13938
13939
  executionRequestId: options.executionRequestId,
13939
13940
  projectResources
13940
13941
  });
13941
- const prompt = launchContext.length > 4e3 ? `Use the Overlord context file at ${contextFile} and attach to mission ${context.displayId}.` : launchContext;
13942
+ const prompt = launchContext.length > 4e3 ? `Read the Overlord context file at ${contextFile}, attach to mission ${context.displayId}, then immediately execute its current objective. Do not wait for more instructions.` : launchContext;
13942
13943
  const command = buildAgentCommand({
13943
13944
  agent: options.agent,
13944
13945
  model: options.model,
@@ -13946,7 +13947,7 @@ Execution request: ${options.executionRequestId}` : context.launchContext;
13946
13947
  flags: options.flags,
13947
13948
  prompt,
13948
13949
  contextFile,
13949
- launchMessage: `Start work on ${context.title} (ovld mission ${context.displayId})`
13950
+ launchMessage: `Attach to ovld mission ${context.displayId}, then immediately execute ${context.title}. Do not wait for more instructions.`
13950
13951
  });
13951
13952
  const terminalScriptPath = options.terminalLauncher?.trim() ? launchScriptPath({
13952
13953
  tmpDir,
@@ -14012,7 +14013,7 @@ async function launchAgent({
14012
14013
  });
14013
14014
  return { plan, status: result.status, signal: result.signal };
14014
14015
  }
14015
- var AGENT_HISTORY_EXCLUDED_EVENT_TYPES;
14016
+ var AGENT_HISTORY_EXCLUDED_EVENT_TYPES, EXECUTION_DIRECTIVE;
14016
14017
  var init_launch = __esm({
14017
14018
  "src/launch.ts"() {
14018
14019
  "use strict";
@@ -14024,6 +14025,7 @@ var init_launch = __esm({
14024
14025
  "execution_requested",
14025
14026
  "awaiting_approval"
14026
14027
  ]);
14028
+ EXECUTION_DIRECTIVE = "This is an execution session. After attaching, immediately execute the current objective. Do not wait for more instructions or ask for confirmation; only stop to ask a question when blocked.";
14027
14029
  }
14028
14030
  });
14029
14031