overlord-cli 0.2611190958.0 → 0.2611201138.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.
- package/dist/connectors/VERSION +1 -1
- package/dist/connectors/adapters/antigravity/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/antigravity/plugin.json +1 -1
- package/dist/connectors/adapters/claude/.claude-plugin/plugin.json +1 -1
- package/dist/connectors/adapters/claude/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/codex/.codex-plugin/plugin.json +1 -1
- package/dist/connectors/adapters/codex/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/cursor/.cursor-plugin/plugin.json +1 -1
- package/dist/connectors/adapters/cursor/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/opencode/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/pi/conformance-manifest.yaml +1 -1
- package/dist/connectors/core/overlord-mission/SKILL.md +24 -20
- package/dist/connectors/core/overlord-mission/reference/cli.md +11 -12
- package/dist/connectors/core/overlord-mission/reference/mcp.md +1 -1
- package/dist/connectors/core/scripts/overlord-mcp.mjs +31 -29
- package/dist/index.js +500 -380
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/connectors/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.75
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://antigravity.google/schemas/v1/plugin.json",
|
|
3
3
|
"name": "overlord",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.75",
|
|
5
5
|
"description": "Chat-driven access to Overlord mission protocol workflows through skills and MCP.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Cooperativ",
|
|
@@ -37,7 +37,7 @@ When to create a mission vs an objective:
|
|
|
37
37
|
To add further objectives to an existing mission:
|
|
38
38
|
|
|
39
39
|
```
|
|
40
|
-
ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"
|
|
40
|
+
ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"instructions":"..."},{"instructions":"..."}]'
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## Objective Submission vs Execution
|
|
@@ -54,12 +54,12 @@ Do not attach to a mission just because it was mentioned or opened in conversati
|
|
|
54
54
|
|
|
55
55
|
Use this when the conversation starts normally and the user asks the agent to create, inspect, connect to, or otherwise use Overlord.
|
|
56
56
|
|
|
57
|
-
1. If the user wants to create missions (and does not ask to start execution), resolve the intended project and run `ovld protocol create --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"
|
|
57
|
+
1. If the user wants to create missions (and does not ask to start execution), resolve the intended project and run `ovld protocol create --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"instructions":"..."}]'`.
|
|
58
58
|
- When `--session-key` and `--mission-id` are provided, it creates a follow-up draft.
|
|
59
59
|
- Creation never infers a project. If the user explicitly asks to capture work outside every project, use `--unassigned-to-project`; otherwise resolve a project first with `ovld protocol discover-project` and pass its id.
|
|
60
60
|
- Pass multiple items in `--objectives-json` when creating ordered steps for the same feature or goal.
|
|
61
|
-
- If the user wants to **add more objectives to an existing mission** (not create a new mission), use `ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"
|
|
62
|
-
2. Default to `create` for new missions. Only use `ovld protocol prompt --agent <agent-identifier> --objectives-json '[{"
|
|
61
|
+
- If the user wants to **add more objectives to an existing mission** (not create a new mission), use `ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"instructions":"..."}]'` instead.
|
|
62
|
+
2. Default to `create` for new missions. Only use `ovld protocol prompt --agent <agent-identifier> --objectives-json '[{"instructions":"..."}]'` when the user explicitly asks to create and execute immediately.
|
|
63
63
|
`prompt` creates the mission in `execute` status and attaches immediately.
|
|
64
64
|
3. If the user already has a mission ID and only wants to inspect it, run `ovld protocol load-context --mission-id <mission_id>`. To read one specific objective's context — the only way to read context on a mission running objectives in parallel — add `--objective-id <objective_id>` (or pass it alone).
|
|
65
65
|
When you open or discuss an existing mission that has a draft objective, submit it with `ovld protocol discuss-objective --mission-id <mission_id>`.
|
|
@@ -107,8 +107,8 @@ When creating missions from within a repository:
|
|
|
107
107
|
- `create`, `prompt`, and `record-work` require an explicit `--project-id`; use `discover-project` first when the project is known only from the checkout. They never infer a destination project.
|
|
108
108
|
- Use `create --unassigned-to-project` only when the user deliberately requests an account-owned inbox capture.
|
|
109
109
|
- Create multiple missions when each prompt represents a different feature or goal.
|
|
110
|
-
- Add objectives to the same mission when each prompt is a sequential step toward the same feature or goal; use `ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"
|
|
111
|
-
- `create` and `prompt` require `--objectives-json` or `--objectives-file` with an ordered array of `{ "
|
|
110
|
+
- Add objectives to the same mission when each prompt is a sequential step toward the same feature or goal; use `ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"instructions":"..."}]'`.
|
|
111
|
+
- `create` and `prompt` require `--objectives-json` or `--objectives-file` with an ordered array of `{ "instructions": "...", "title": "...", "summary": "...", "autoAdvance": true }` objects. A single objective is just an array with one item. `--auto-advance` / `--no-auto-advance` set the default when an item omits `autoAdvance` (default off).
|
|
112
112
|
- `add-objectives` uses the same per-item `autoAdvance` field and `--auto-advance` / `--no-auto-advance` default.
|
|
113
113
|
- **Assign the agent on the objectives you are already creating.** Every objective item on `create`, `prompt`, and `add-objectives` takes optional `"agent"` (and `"model"`, which requires an agent), and `--objective-agent <id>` / `--objective-model <id>` set the default for items that name no `agent` of their own. Never create a mission and then append a second objective just to name an agent — that leaves a duplicate objective behind. Note this is **not** `--agent`, which records who created the mission (and, on `prompt`, which agent attaches).
|
|
114
114
|
- To change auto-advance on an existing objective: `ovld protocol update-objective --objective-id <id> --auto-advance` or `--no-auto-advance`.
|
|
@@ -116,22 +116,22 @@ When creating missions from within a repository:
|
|
|
116
116
|
- `create`, `prompt`, `create-mission`, and `record-work` accept `--assigned-to <member>` to set the mission's human owner. Accepts a username, an email, a user-id UUID, or the `orgid:username` member ID. When omitted, the assignee defaults to the mission creator.
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
|
-
ovld protocol create --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"
|
|
119
|
+
ovld protocol create --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"instructions":"Capture follow-up work from this repository"}]'
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
```bash
|
|
123
123
|
# One call: a draft mission whose first objective is already assigned to Codex.
|
|
124
124
|
ovld protocol create --agent <agent-identifier> \
|
|
125
125
|
--project-id <project-id> \
|
|
126
|
-
--objectives-json '[{"
|
|
126
|
+
--objectives-json '[{"instructions":"Implement the API","agent":"codex","model":"gpt-6.1-terra"},{"instructions":"Add CLI docs","agent":"claude"}]'
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
|
-
ovld protocol prompt --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"
|
|
130
|
+
ovld protocol prompt --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"instructions":"Implement feature X"}]'
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
```bash
|
|
134
|
-
ovld protocol add-objectives --mission-id 1:899 --objectives-json '[{"
|
|
134
|
+
ovld protocol add-objectives --mission-id 1:899 --objectives-json '[{"instructions":"Implement the API","autoAdvance":true},{"instructions":"Add CLI docs"}]'
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
```bash
|
|
@@ -149,17 +149,21 @@ ovld protocol discover-project --directory /path/to/repo
|
|
|
149
149
|
|
|
150
150
|
Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--directory` to override cwd path matching; resource-directory matching automatically prefers the device the CLI is running on (its identity is sent as request headers). Set `OVERLORD_DEVICE_FINGERPRINT` to pin a stable execution-target identity across disposable containers that share one environment (AgentPod sets this). Set `OVERLORD_DEVICE_LABEL` to override the display name (defaults to hostname); alone it does not change the fingerprint.
|
|
151
151
|
|
|
152
|
-
#### Objective
|
|
152
|
+
#### Objective Instructions and Summary
|
|
153
153
|
|
|
154
|
-
Each objective has
|
|
154
|
+
Each objective has two texts with different readers. **Do not swap them.**
|
|
155
155
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
-
|
|
156
|
+
| Field | Reader | Content | Usually |
|
|
157
|
+
| --- | --- | --- | --- |
|
|
158
|
+
| `instructions` (`--objective-instructions`) | The executing agent; it receives nothing else | The complete brief: context, steps, constraints, done-when | The LONG text |
|
|
159
|
+
| `summary` (`--objective-summary`) | The person who decides whether to launch | One to three prose paragraphs, about 120 words: the goal first, the done-when sentence last. No headings or numbered steps | The SHORT text |
|
|
160
|
+
|
|
161
|
+
- Write the summary in Simplified Technical English style. You may omit it: Overlord writes one for long (280+ characters) agent-written objectives. Shorter instructions are shown in full.
|
|
162
|
+
- Pass it as per-item `"summary"` in `--objectives-json` (`create`, `prompt`, `add-objectives`), as `--objective-summary <text>` / `--objective-summary-file <path|->` with `--objective-instructions`, or later with `ovld protocol update-objective --objective-id <id> --summary <text>` (or `--summary-file`). `--summary-request summarize|regenerate|retry` asks Overlord to write one instead.
|
|
163
|
+
- **Swap warning.** If the summary is at least 3 times as long as its instructions (and 400+ characters) the response carries an `objective_fields_swapped` warning saying the texts look swapped; a weaker signal (1.5 times longer, or headings, numbered steps or a `Done when:` label over short instructions) carries the same code. Both texts are stored as written. When you get this warning, check the objective and fix a swap with `ovld protocol update-objective --objective-id <id> --instruction-text-file <brief> --summary <overview>`.
|
|
164
|
+
- Agents may change summaries only on `draft` objectives (400 `summary_not_editable`). An empty `--summary` removes the summary.
|
|
165
|
+
- Style issues come back as advisory `warnings` (`summary_style`); the text is stored as written. Fix them if you can, but they never block the write.
|
|
166
|
+
- **Never fight a person's removal.** If a person removed the summary, your text is not stored (warning `summary_suppressed`) and summary requests are refused (409 `summary_suppressed`). Do not retry or work around it; only the person's Summarize in the app turns summaries back on.
|
|
163
167
|
|
|
164
168
|
### Creating Projects
|
|
165
169
|
|
|
@@ -187,7 +191,7 @@ project in your resolved workspace. When a directory is registered it also write
|
|
|
187
191
|
unlike the top-level command it does not link a local directory. Pass
|
|
188
192
|
`--workspace-id <id|slug|name>` to choose a workspace when you belong to more than one
|
|
189
193
|
(omitting it returns `workspace_selection_required` with your choices); optional
|
|
190
|
-
`--
|
|
194
|
+
`--summary <text>` and `--slug <text>` are also accepted. There is no `--color`
|
|
191
195
|
flag on either surface.
|
|
192
196
|
|
|
193
197
|
#### Resolving the project ID when you don't have one
|
|
@@ -103,8 +103,7 @@ Event types:
|
|
|
103
103
|
- Post-delivery follow-up modes:
|
|
104
104
|
|
|
105
105
|
- User follow-up messages default to `discussion` intent while the mission is in review.
|
|
106
|
-
-
|
|
107
|
-
- Use `ovld protocol update --begin-follow-up-work --follow-up-intent execution --summary "Beginning follow-up work."` before moving a delivered/review mission back to execution.
|
|
106
|
+
- After the user explicitly requests more implementation, use `ovld protocol resume-follow-up --mission-id $MISSION_ID --objective-id <delivered-objective-id>`. Use its fresh key for progress and delivery.
|
|
108
107
|
- Use `--follow-up-intent pending_delivery` when implementation is complete but final delivery is still being prepared.
|
|
109
108
|
|
|
110
109
|
## Ask
|
|
@@ -182,32 +181,32 @@ When creating missions from within a repository:
|
|
|
182
181
|
- `create`, `prompt`, and `record-work` require an explicit `--project-id`; use `discover-project` first when the project is known only from the checkout. They never infer a destination project.
|
|
183
182
|
- Use `create --unassigned-to-project` only when the user deliberately requests an account-owned inbox capture.
|
|
184
183
|
- Create multiple missions when each prompt represents a different feature or goal.
|
|
185
|
-
- Add objectives to the same mission when each prompt is a sequential step toward the same feature or goal; use `ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"
|
|
186
|
-
- `create` and `prompt` require `--objectives-json` or `--objectives-file` with an ordered array of `{ "
|
|
184
|
+
- Add objectives to the same mission when each prompt is a sequential step toward the same feature or goal; use `ovld protocol add-objectives --mission-id <mission_id> --objectives-json '[{"instructions":"..."}]'`.
|
|
185
|
+
- `create` and `prompt` require `--objectives-json` or `--objectives-file` with an ordered array of `{ "instructions": "...", "title": "...", "summary": "...", "autoAdvance": true }` objects. A single objective is just an array with one item. `--auto-advance` / `--no-auto-advance` map each opted-in item to authoritative Run Queue membership (default off).
|
|
187
186
|
- `add-objectives` uses the same per-item `autoAdvance` field and `--auto-advance` / `--no-auto-advance` mapping.
|
|
188
187
|
- Every objective item on `create`, `prompt`, and `add-objectives` also takes optional `"agent"` and `"model"` (a model requires an agent), and `--objective-agent <id>` / `--objective-model <id>` set the default for items that name no `agent` of their own. Assign the agent on the objectives you are already creating rather than appending a second objective just to name one. `--objective-agent` is distinct from `--agent`, which records creation provenance (and, on `prompt`, the attaching agent).
|
|
189
|
-
-
|
|
190
|
-
- `update-objective --
|
|
188
|
+
- Each item carries `"instructions"` (required): the complete brief the executing agent receives, usually the LONG text. Optional `"summary"` is a short overview for people, usually the SHORT text, never sent to the agent: one to three prose paragraphs in Simplified Technical English style that open with the goal and close with the done-when sentence (about 120 words), with no headings or numbered steps. Omit it and Overlord writes one for long (280+ characters) agent-written objectives. With `--objective-instructions <text>` (or `--objective-instructions-file <path|->`), use `--objective-summary <text>` or `--objective-summary-file <path|->` (rejected with `--objectives-json`). The old names `--objective`, `--objective-description` and item keys `objective` / `description` are refused. A summary that looks swapped with its instructions (3x as long and 400+ characters, or a weaker signal) is stored and returns an `objective_fields_swapped` warning naming both fields; fix it with `update-objective`. Style issues come back as advisory `warnings` (`{ code, message, rule?, excerpt?, suggestion? }`, code `summary_style`, `summary_suppressed` or `objective_fields_swapped`) on the matching created objective; the text is stored as written.
|
|
189
|
+
- `update-objective --summary <text>` / `--summary-file <path|->` sets the summary (empty removes it; a likely swap returns the `objective_fields_swapped` warning); `--summary-request summarize|regenerate|retry` asks Overlord to write one (it cannot be combined with `--summary`). Agents may do both only on `draft` objectives (400 `summary_not_editable`). `retry` re-requests only a failed generation (409 `summary_not_failed`); instructions under 280 characters are not summarized (409 `summary_not_eligible`). If a person removed the summary, agent text is not stored (warning `summary_suppressed`) and summarize/regenerate are refused (409 `summary_suppressed`); only the person's Summarize in the app turns summaries back on. The response carries a top-level `warnings` array.
|
|
191
190
|
- Use `ovld protocol run-queue [--project-id <id|slug|name>|--objective-id <id>|--mission-id <id>] [--queue <id|name>]` to inspect live queues. Entry operations use `queue-objective --objective-id <id> [--queue <id|name>] [--after <queued-entry|objective>|--front|--position <rank>]`, `dequeue-objective --objective-id <id>`, and `reorder-run-queue --queue <id|name> --ordered-entries-json <json>`; they require `execution_request:create`. Queue-definition operations use `create-run-queue`, `update-run-queue`, `delete-run-queue`, and `reorder-project-run-queues`; they require `project:update` and therefore a full-scope token.
|
|
192
191
|
- `record-work` creates exactly one **completed** objective from a single `--objective` (or positional / an `objective` field in `--payload-json`) plus a `--summary` and optional `declaredPaths` — it does not take `--objectives-json`. See [record-work.md](record-work.md).
|
|
193
192
|
|
|
194
193
|
```bash
|
|
195
|
-
ovld protocol create --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"
|
|
194
|
+
ovld protocol create --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"instructions":"Capture follow-up work from this repository"}]'
|
|
196
195
|
```
|
|
197
196
|
|
|
198
197
|
```bash
|
|
199
198
|
# One call: a draft mission whose first objective is already assigned to Codex.
|
|
200
199
|
ovld protocol create --agent <agent-identifier> \
|
|
201
200
|
--project-id <project-id> \
|
|
202
|
-
--objectives-json '[{"
|
|
201
|
+
--objectives-json '[{"instructions":"Implement the API","agent":"codex","model":"gpt-6.1-terra"},{"instructions":"Add CLI docs","agent":"claude"}]'
|
|
203
202
|
```
|
|
204
203
|
|
|
205
204
|
```bash
|
|
206
|
-
ovld protocol prompt --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"
|
|
205
|
+
ovld protocol prompt --project-id <project-id> --agent <agent-identifier> --objectives-json '[{"instructions":"Implement feature X"}]'
|
|
207
206
|
```
|
|
208
207
|
|
|
209
208
|
```bash
|
|
210
|
-
ovld protocol add-objectives --mission-id 1:899 --objectives-json '[{"
|
|
209
|
+
ovld protocol add-objectives --mission-id 1:899 --objectives-json '[{"instructions":"Implement the API","autoAdvance":true},{"instructions":"Add CLI docs"}]'
|
|
211
210
|
```
|
|
212
211
|
|
|
213
212
|
```bash
|
|
@@ -215,7 +214,7 @@ ovld protocol update-objective --objective-id <objective-uuid> --auto-advance
|
|
|
215
214
|
```
|
|
216
215
|
|
|
217
216
|
```bash
|
|
218
|
-
ovld protocol update-objective --objective-id <objective-uuid> --
|
|
217
|
+
ovld protocol update-objective --objective-id <objective-uuid> --summary-file - <<'EOF'
|
|
219
218
|
Add retry with backoff to the sync worker. ... The work is done when the retry test passes.
|
|
220
219
|
EOF
|
|
221
220
|
```
|
|
@@ -277,7 +276,7 @@ project in your resolved workspace. When a directory is registered it also write
|
|
|
277
276
|
unlike the top-level command it does not link a local directory. Pass
|
|
278
277
|
`--workspace-id <id|slug|name>` to choose a workspace when you belong to more than one
|
|
279
278
|
(omitting it returns `workspace_selection_required` with your choices); optional
|
|
280
|
-
`--
|
|
279
|
+
`--summary <text>` and `--slug <text>` are also accepted. There is no `--color`
|
|
281
280
|
flag on either surface.
|
|
282
281
|
|
|
283
282
|
### Resolving the project ID when you don't have one
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
- Mission summary: `overlord_attach_session` returns the `missionSummary` baseline; `overlord_deliver_session` and `overlord_record_work` accept a `missionSummary` argument (same key on the hosted server and the local shim). Stale or absent prose never rejects a delivery; `overlord_delivery_summary_context` and `overlord_publish_delivery_summary` (required caller-retained `operationId`) publish it once afterwards for your own delivery. The rules are in the attach and delivery responses; shapes and errors are in [mission-summary.md](mission-summary.md).
|
|
13
13
|
- `overlord_changes` (hosted MCP) reads one objective's synchronized file evidence across sessions, resources and devices; it needs no attached session and mutates nothing. The route is `POST /api/protocol/objective-changes`. See [mission-summary.md](mission-summary.md).
|
|
14
14
|
- `overlord_create_mission` requires `projectId` for a mission, unless `unassignedToProject: true` deliberately requests an account-owned inbox item; omission of both is rejected. `overlord_create_inbox_item` is also explicit by name.
|
|
15
|
-
- Objective
|
|
15
|
+
- Objective instructions and summary: `overlord_create_mission` takes `objectiveInstructions` (required: the complete brief the executing agent receives, usually the LONG text) and optional `objectiveSummary` (a short overview for people, never sent to the agent, usually the SHORT text); each `overlord_add_objectives` item takes `instructions` and optional `summary`; `overlord_update_objective` takes `instructionText`, `summary` (empty removes it) and `summaryRequest` (`summarize` | `regenerate` | `retry`, not combined with `summary`). The local shim forwards the same fields. A summary that looks swapped with its instructions (3x as long and 400+ characters, or a weaker signal) is stored and returns an `objective_fields_swapped` warning. Agents may write summaries or request them only on `draft` objectives (400 `summary_not_editable`); `retry` needs a failed generation (409 `summary_not_failed`); instructions under 280 characters are not summarized (409 `summary_not_eligible`). After a person removed the summary, agent text is not stored and summary requests are refused (`summary_suppressed`). Responses carry advisory `warnings` (`{ code, message, rule?, excerpt?, suggestion? }`, code `summary_style`, `summary_suppressed` or `objective_fields_swapped`): per created objective on create/add, top-level on update. See the Objective Instructions and Summary section of the skill.
|
|
16
16
|
- `overlord_record_work` (hosted MCP) and `ovld protocol record-work` (CLI) record already-completed chat work as a single review-column mission with a completed objective, optional declared paths, and the standard Gemini delivery summary — no `attach`/`deliver`. Both require an explicit project reference. The submission format is in [record-work.md](record-work.md). The route is `POST /api/protocol/record-work`.
|
|
17
17
|
- `overlord_add_artifact` (hosted MCP) and `ovld protocol add-artifact` (CLI) create a mission artifact during a turn without delivering. Required: `type` / `--type`, `label` / `--label`, mission scope (`missionId` / `--mission-id`, or an objective display id as `objectiveId` / `--objective-id`), plus at least one of `contentText` / `--content-text`/`--content-text-file` or `externalUrl` / `--external-url`. Optional `sessionKey` / `--session-key` stamps session/objective provenance; `objectiveId` / `--objective-id` does the same when there is no live session, and the session key wins if both are given. Same service as REST `POST /api/missions/:id/artifacts`. The route is `POST /api/protocol/add-artifact`.
|
|
18
18
|
- `overlord_update_artifact` (hosted MCP) and `ovld protocol update-artifact` (CLI) revise an existing mission artifact's label, Markdown content, and/or HTTP(S) URL in place. Required: `artifactId` / `--artifact-id`, `expectedRevision` / `--expected-revision`, and mission scope (`missionId` / `--mission-id`, or an objective display id as `objectiveId` / `--objective-id`). Provide at least one editable field. No session key is required. Same service as REST `PATCH /api/missions/:id/artifacts/:artifactId`. The route is `POST /api/protocol/update-artifact`.
|
|
@@ -331,14 +331,15 @@ const tools = [
|
|
|
331
331
|
description:
|
|
332
332
|
'Set true only to intentionally create an account-owned inbox item instead of a project mission. Cannot be combined with projectId.'
|
|
333
333
|
},
|
|
334
|
-
|
|
334
|
+
objectiveInstructions: {
|
|
335
335
|
type: 'string',
|
|
336
|
-
description:
|
|
336
|
+
description:
|
|
337
|
+
'INSTRUCTIONS: the complete brief the executing agent receives (context, steps, done-when). Usually the LONGER of the two texts. The agent receives only this text. If the summary looks swapped with these instructions (3x longer, for example), the response carries an objective_fields_swapped warning.'
|
|
337
338
|
},
|
|
338
|
-
|
|
339
|
+
objectiveSummary: {
|
|
339
340
|
type: 'string',
|
|
340
341
|
description:
|
|
341
|
-
'
|
|
342
|
+
'SUMMARY: a short overview for the people who decide whether to launch the objective, never sent to the executing agent. Usually the SHORTER text: one to three prose paragraphs (about 120 words) in Simplified Technical English style that open with the goal and close with the done-when sentence. No headings or numbered steps; those belong in the instructions. Omit it and Overlord writes one for long agent-written objectives. A possible swap and style issues come back as warnings; the text is stored as written.'
|
|
342
343
|
},
|
|
343
344
|
title: {
|
|
344
345
|
type: 'string',
|
|
@@ -369,7 +370,7 @@ const tools = [
|
|
|
369
370
|
'When true, Overlord queues the next objective for execution after this one is delivered. Defaults to false.'
|
|
370
371
|
}
|
|
371
372
|
},
|
|
372
|
-
required: ['
|
|
373
|
+
required: ['objectiveInstructions'],
|
|
373
374
|
additionalProperties: false
|
|
374
375
|
},
|
|
375
376
|
annotations: {
|
|
@@ -918,22 +919,23 @@ const tools = [
|
|
|
918
919
|
objectives: {
|
|
919
920
|
type: 'array',
|
|
920
921
|
description:
|
|
921
|
-
'Objective objects with
|
|
922
|
+
'Objective objects with instructions (the complete brief for the executing agent) and optional summary (a short overview for people), title, agent/model launch selection, resourceKey, and autoAdvance.',
|
|
922
923
|
items: {
|
|
923
924
|
type: 'object',
|
|
924
925
|
properties: {
|
|
925
|
-
|
|
926
|
+
instructions: {
|
|
926
927
|
type: 'string',
|
|
927
|
-
description:
|
|
928
|
+
description:
|
|
929
|
+
'INSTRUCTIONS: the complete brief the executing agent receives (context, steps, done-when). Usually the LONGER of the two texts. The agent receives only this text. If the summary looks swapped with these instructions (3x longer, for example), the response carries an objective_fields_swapped warning.'
|
|
928
930
|
},
|
|
929
931
|
title: {
|
|
930
932
|
type: 'string',
|
|
931
933
|
description: 'Optional objective title.'
|
|
932
934
|
},
|
|
933
|
-
|
|
935
|
+
summary: {
|
|
934
936
|
type: 'string',
|
|
935
937
|
description:
|
|
936
|
-
'
|
|
938
|
+
'SUMMARY: a short overview for the people who decide whether to launch the objective, never sent to the executing agent. Usually the SHORTER text: one to three prose paragraphs (about 120 words) in Simplified Technical English style that open with the goal and close with the done-when sentence. No headings or numbered steps; those belong in the instructions. Omit it and Overlord writes one for long agent-written objectives. A possible swap and style issues come back as warnings; the text is stored as written.'
|
|
937
939
|
},
|
|
938
940
|
agent: {
|
|
939
941
|
type: 'string',
|
|
@@ -972,7 +974,7 @@ const tools = [
|
|
|
972
974
|
name: 'overlord_update_objective',
|
|
973
975
|
title: 'Update objective',
|
|
974
976
|
description:
|
|
975
|
-
'Use this to rewrite an objective title in any state, turn auto-advance on or off, edit instruction text or the human-facing
|
|
977
|
+
'Use this to rewrite an objective title in any state, turn auto-advance on or off, edit instruction text or the human-facing summary on a draft objective, request a generated summary on a draft objective, and/or reassign the objective to another agent or to a person (agent manual, alias human).',
|
|
976
978
|
inputSchema: {
|
|
977
979
|
type: 'object',
|
|
978
980
|
properties: {
|
|
@@ -993,18 +995,18 @@ const tools = [
|
|
|
993
995
|
instructionText: {
|
|
994
996
|
type: 'string',
|
|
995
997
|
description:
|
|
996
|
-
'Replacement
|
|
998
|
+
'Replacement INSTRUCTIONS: the complete brief the executing agent receives. Allowed only when the objective is in draft state; blank clears the text.'
|
|
997
999
|
},
|
|
998
|
-
|
|
1000
|
+
summary: {
|
|
999
1001
|
type: 'string',
|
|
1000
1002
|
description:
|
|
1001
|
-
'Replacement
|
|
1003
|
+
'Replacement SUMMARY: a short overview for people, never sent to the executing agent; allowed only when the objective is in draft state: one to three short prose paragraphs in Simplified Technical English style that open with the goal and close with the done-when sentence. An empty string removes the summary; Overlord then writes none until a person selects Summarize. When a person has removed the summary, your text is not stored and a summary_suppressed warning is returned. A summary that looks swapped with the instructions returns an objective_fields_swapped warning.'
|
|
1002
1004
|
},
|
|
1003
|
-
|
|
1005
|
+
summaryRequest: {
|
|
1004
1006
|
type: 'string',
|
|
1005
1007
|
enum: ['summarize', 'regenerate', 'retry'],
|
|
1006
1008
|
description:
|
|
1007
|
-
'Ask Overlord to write the summary (summarize/regenerate) or to retry a failed generation (retry). Allowed only in draft state and only for instructions of at least 280 characters. Refused with
|
|
1009
|
+
'Ask Overlord to write the summary (summarize/regenerate) or to retry a failed generation (retry). Allowed only in draft state and only for instructions of at least 280 characters. Refused with summary_suppressed when a person removed the summary: only a person can turn summaries back on. Cannot be combined with summary.'
|
|
1008
1010
|
},
|
|
1009
1011
|
agent: {
|
|
1010
1012
|
type: 'string',
|
|
@@ -2128,9 +2130,9 @@ async function callOverlordTool(name, args) {
|
|
|
2128
2130
|
? { 'project-id': requiredString(args, 'projectId') }
|
|
2129
2131
|
: {}),
|
|
2130
2132
|
...(args.unassignedToProject === true ? { 'unassigned-to-project': true } : {}),
|
|
2131
|
-
objective: requiredString(args, '
|
|
2132
|
-
...(typeof args.
|
|
2133
|
-
? { 'objective-
|
|
2133
|
+
'objective-instructions': requiredString(args, 'objectiveInstructions'),
|
|
2134
|
+
...(typeof args.objectiveSummary === 'string'
|
|
2135
|
+
? { 'objective-summary': args.objectiveSummary }
|
|
2134
2136
|
: {}),
|
|
2135
2137
|
...(optionalString(args, 'title') ? { title: requiredString(args, 'title') } : {}),
|
|
2136
2138
|
...(optionalString(args, 'resourceKey')
|
|
@@ -2153,7 +2155,7 @@ async function callOverlordTool(name, args) {
|
|
|
2153
2155
|
return runProtocol('create', {
|
|
2154
2156
|
'unassigned-to-project': true,
|
|
2155
2157
|
title: requiredString(args, 'title'),
|
|
2156
|
-
objective: requiredString(args, 'objective')
|
|
2158
|
+
'objective-instructions': requiredString(args, 'objective')
|
|
2157
2159
|
});
|
|
2158
2160
|
}
|
|
2159
2161
|
if (name === 'overlord_load_mission_context') {
|
|
@@ -2238,18 +2240,18 @@ async function callOverlordTool(name, args) {
|
|
|
2238
2240
|
const hasAutoAdvance = typeof args.autoAdvance === 'boolean';
|
|
2239
2241
|
const hasInstructionText = typeof args.instructionText === 'string';
|
|
2240
2242
|
const hasAgent = typeof args.agent === 'string';
|
|
2241
|
-
const
|
|
2242
|
-
const
|
|
2243
|
+
const hasSummary = typeof args.summary === 'string';
|
|
2244
|
+
const hasSummaryRequest = typeof args.summaryRequest === 'string';
|
|
2243
2245
|
if (
|
|
2244
2246
|
!hasTitle &&
|
|
2245
2247
|
!hasAutoAdvance &&
|
|
2246
2248
|
!hasInstructionText &&
|
|
2247
2249
|
!hasAgent &&
|
|
2248
|
-
!
|
|
2249
|
-
!
|
|
2250
|
+
!hasSummary &&
|
|
2251
|
+
!hasSummaryRequest
|
|
2250
2252
|
) {
|
|
2251
2253
|
throw new Error(
|
|
2252
|
-
'Provide title,
|
|
2254
|
+
'Provide title, summary, summaryRequest, autoAdvance, instructionText, and/or agent'
|
|
2253
2255
|
);
|
|
2254
2256
|
}
|
|
2255
2257
|
return runProtocol('update-objective', {
|
|
@@ -2263,9 +2265,9 @@ async function callOverlordTool(name, args) {
|
|
|
2263
2265
|
...(hasInstructionText
|
|
2264
2266
|
? { 'instruction-text': requiredString(args, 'instructionText') }
|
|
2265
2267
|
: {}),
|
|
2266
|
-
// An empty
|
|
2267
|
-
...(
|
|
2268
|
-
...(
|
|
2268
|
+
// An empty summary is Remove; pass it through verbatim.
|
|
2269
|
+
...(hasSummary ? { summary: args.summary } : {}),
|
|
2270
|
+
...(hasSummaryRequest ? { 'summary-request': args.summaryRequest } : {}),
|
|
2269
2271
|
// Validated by the protocol handler (model requires agent; manual takes none).
|
|
2270
2272
|
...(hasAgent ? { 'objective-agent': args.agent } : {}),
|
|
2271
2273
|
...(typeof args.model === 'string' ? { 'objective-model': args.model } : {}),
|
|
@@ -2595,7 +2597,7 @@ process.stdin.on('data', async chunk => {
|
|
|
2595
2597
|
result: {
|
|
2596
2598
|
protocolVersion: PROTOCOL_VERSION,
|
|
2597
2599
|
capabilities: { tools: { listChanged: false } },
|
|
2598
|
-
serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.
|
|
2600
|
+
serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.75' }
|
|
2599
2601
|
}
|
|
2600
2602
|
});
|
|
2601
2603
|
continue;
|