overlord-cli 0.2611141137.0 → 0.2611141623.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/reference/context.md +1 -1
- package/dist/connectors/core/scripts/overlord-mcp.mjs +11 -11
- package/dist/index.js +18 -14
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/connectors/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.62
|
|
@@ -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.62",
|
|
5
5
|
"description": "Chat-driven access to Overlord mission protocol workflows through skills and MCP.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Cooperativ",
|
|
@@ -13,7 +13,7 @@ ovld protocol attachment-download-url --session-key <sessionKey> --attachment-id
|
|
|
13
13
|
ovld protocol attachment-download-url --session-key <sessionKey> --attachment-id <attachment-id> --output ./attachment.pdf
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
The `attach` and `load-context` responses already include an `attachments` array plus `previousObjectives` and `futureObjectives` arrays — use those for `<attachment-id>` and `<objective-id>` values. The objective currently being executed is not repeated in those arrays; it is the top-level `objective`. `previousObjectives` are
|
|
16
|
+
The `attach` and `load-context` responses already include an `attachments` array plus `previousObjectives` and `futureObjectives` arrays — use those for `<attachment-id>` and `<objective-id>` values. The objective currently being executed is not repeated in those arrays; it is the top-level `objective`. `previousObjectives` are positioned before the current objective and `futureObjectives` after it. Both are positional, not objective states: there is no `future` state, and because objectives can launch out of order a lower-position objective may still be an unstarted draft — check each item's `state`. Run `attachment-list` mid-session if new files have been uploaded since attach. `--mission-id` is optional for attachment calls when `--objective-id` is a full display ID that lets the server derive the mission; an attachment ID alone does not carry mission scope.
|
|
17
17
|
|
|
18
18
|
Attachment HTTPS URLs require Overlord authentication. Use `--output` to save
|
|
19
19
|
the bytes through the CLI's existing authenticated client; it creates a new
|
|
@@ -519,10 +519,10 @@ const tools = [
|
|
|
519
519
|
}
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
|
-
name: '
|
|
523
|
-
title: 'Reorder
|
|
522
|
+
name: 'overlord_reorder_objectives',
|
|
523
|
+
title: 'Reorder draft objectives',
|
|
524
524
|
description:
|
|
525
|
-
|
|
525
|
+
"Use this only when the user explicitly asks to change the order of one mission's unstarted objectives. Supply every draft and submitted objective UUID exactly once, in the complete desired top-to-bottom order; launching, active, and completed objectives keep their positions and cannot be listed. A stale set is rejected; reload and retry.",
|
|
526
526
|
inputSchema: {
|
|
527
527
|
type: 'object',
|
|
528
528
|
properties: {
|
|
@@ -533,10 +533,10 @@ const tools = [
|
|
|
533
533
|
orderedObjectiveIds: {
|
|
534
534
|
type: 'array',
|
|
535
535
|
description:
|
|
536
|
-
'Complete desired top-to-bottom UUID order of every objective currently in the
|
|
536
|
+
'Complete desired top-to-bottom UUID order of every objective currently in the draft or submitted state.',
|
|
537
537
|
items: {
|
|
538
538
|
type: 'string',
|
|
539
|
-
description: '
|
|
539
|
+
description: 'Draft or submitted objective UUID.'
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
},
|
|
@@ -619,7 +619,7 @@ const tools = [
|
|
|
619
619
|
name: 'overlord_update_objective',
|
|
620
620
|
title: 'Update objective',
|
|
621
621
|
description:
|
|
622
|
-
'Use this to rewrite an objective title in any state, turn auto-advance on or off, edit instruction text on a draft
|
|
622
|
+
'Use this to rewrite an objective title in any state, turn auto-advance on or off, edit instruction text on a draft objective, and/or reassign the objective to another agent or to a person (agent manual, alias human).',
|
|
623
623
|
inputSchema: {
|
|
624
624
|
type: 'object',
|
|
625
625
|
properties: {
|
|
@@ -640,7 +640,7 @@ const tools = [
|
|
|
640
640
|
instructionText: {
|
|
641
641
|
type: 'string',
|
|
642
642
|
description:
|
|
643
|
-
'Replacement instruction text. Allowed only when the objective is in draft
|
|
643
|
+
'Replacement instruction text. Allowed only when the objective is in draft state; blank clears the text.'
|
|
644
644
|
},
|
|
645
645
|
agent: {
|
|
646
646
|
type: 'string',
|
|
@@ -1160,7 +1160,7 @@ const tools = [
|
|
|
1160
1160
|
deferredWork: {
|
|
1161
1161
|
type: 'array',
|
|
1162
1162
|
description:
|
|
1163
|
-
'Each deferredWork item is one recommended objective outside this mission. Be very concise. title names the work in an imperative phrase. change states only the specific change that is needed. location says where to find it in the code: the file, function, component, or command. doneWhen states the observable result in one sentence. Do not add instructions on how to do the work, background, or rationale. The operator turns the item into an objective or a mission as written, so it must read as a task, not as a note. Omit queued
|
|
1163
|
+
'Each deferredWork item is one recommended objective outside this mission. Be very concise. title names the work in an imperative phrase. change states only the specific change that is needed. location says where to find it in the code: the file, function, component, or command. doneWhen states the observable result in one sentence. Do not add instructions on how to do the work, background, or rationale. The operator turns the item into an objective or a mission as written, so it must read as a task, not as a note. Omit work already queued as later objectives of this mission, leftover current-objective work, and human follow-up (those belong in humanActions). Vague: { title: "Fix flaky test", change: "The sync worker has a flaky test.", location: "backend", doneWhen: "It passes." }. Good: { title: "Advance the fake clock before the second retry", change: "The test asserts the retry fired but never advances the fake clock between attempts, so it passes or fails on real time.", location: "backend/sync-worker.test.ts › retries after a 503", doneWhen: "The test passes 20 consecutive runs with the fake clock driving both attempts." }.',
|
|
1164
1164
|
items: {
|
|
1165
1165
|
type: 'object',
|
|
1166
1166
|
properties: {
|
|
@@ -1551,11 +1551,11 @@ async function callOverlordTool(name, args) {
|
|
|
1551
1551
|
: {})
|
|
1552
1552
|
});
|
|
1553
1553
|
}
|
|
1554
|
-
if (name === '
|
|
1554
|
+
if (name === 'overlord_reorder_objectives') {
|
|
1555
1555
|
if (!Array.isArray(args.orderedObjectiveIds)) {
|
|
1556
1556
|
throw new Error('orderedObjectiveIds must be an array');
|
|
1557
1557
|
}
|
|
1558
|
-
return runProtocol('reorder-
|
|
1558
|
+
return runProtocol('reorder-objectives', {
|
|
1559
1559
|
'mission-id': requiredString(args, 'missionId'),
|
|
1560
1560
|
'ordered-objective-ids-json': args.orderedObjectiveIds
|
|
1561
1561
|
});
|
|
@@ -1862,7 +1862,7 @@ process.stdin.on('data', async chunk => {
|
|
|
1862
1862
|
result: {
|
|
1863
1863
|
protocolVersion: PROTOCOL_VERSION,
|
|
1864
1864
|
capabilities: { tools: { listChanged: false } },
|
|
1865
|
-
serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.
|
|
1865
|
+
serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.62' }
|
|
1866
1866
|
}
|
|
1867
1867
|
});
|
|
1868
1868
|
continue;
|
package/dist/index.js
CHANGED
|
@@ -949,7 +949,6 @@ var init_search = __esm({
|
|
|
949
949
|
"use strict";
|
|
950
950
|
init_vocabulary();
|
|
951
951
|
SEARCH_OBJECTIVE_STATES = vocabulary()([
|
|
952
|
-
"future",
|
|
953
952
|
"draft",
|
|
954
953
|
"submitted",
|
|
955
954
|
"launching",
|
|
@@ -44206,6 +44205,11 @@ function objectiveTitleText(objective) {
|
|
|
44206
44205
|
if (!instruction) return null;
|
|
44207
44206
|
return instruction.length > 80 ? `${instruction.slice(0, 77).trimEnd()}\u2026` : instruction;
|
|
44208
44207
|
}
|
|
44208
|
+
function nextRunnableDraft(objectives) {
|
|
44209
|
+
return [...objectives].filter((objective) => objective.state === "draft" && objectiveInstruction(objective).trim()).sort(
|
|
44210
|
+
(a, b) => Number(a.position ?? 0) - Number(b.position ?? 0) || String(a.id ?? "").localeCompare(String(b.id ?? ""))
|
|
44211
|
+
)[0];
|
|
44212
|
+
}
|
|
44209
44213
|
function pickLaunchObjective(objectives, objectiveId) {
|
|
44210
44214
|
const pin = objectiveId?.trim();
|
|
44211
44215
|
if (pin) {
|
|
@@ -44213,7 +44217,7 @@ function pickLaunchObjective(objectives, objectiveId) {
|
|
|
44213
44217
|
(objective) => objective.id === pin || objective.displayId === pin || objective.displayKey === pin
|
|
44214
44218
|
);
|
|
44215
44219
|
}
|
|
44216
|
-
return objectives.find((objective) => objective.state === "executing") ?? objectives.find((objective) => objective.state === "launching") ?? objectives.find((objective) => objective.state === "pending_delivery") ?? objectives.find((objective) => objective.state === "draft") ?? objectives.find((objective) => objective.state !== "complete") ?? objectives[0];
|
|
44220
|
+
return objectives.find((objective) => objective.state === "executing") ?? objectives.find((objective) => objective.state === "launching") ?? objectives.find((objective) => objective.state === "pending_delivery") ?? objectives.find((objective) => objective.state === "submitted") ?? nextRunnableDraft(objectives) ?? objectives.find((objective) => objective.state === "draft") ?? objectives.find((objective) => objective.state !== "complete") ?? objectives[0];
|
|
44217
44221
|
}
|
|
44218
44222
|
async function loadMissionContext({
|
|
44219
44223
|
runtime,
|
|
@@ -45011,8 +45015,7 @@ Subcommands:
|
|
|
45011
45015
|
load-context Read mission context without creating a session
|
|
45012
45016
|
list-deliveries List normalized deliveries for one mission
|
|
45013
45017
|
launch-objective Queue an objective for execution
|
|
45014
|
-
reorder-
|
|
45015
|
-
Reorder all future objectives in one mission
|
|
45018
|
+
reorder-objectives Replace one mission's complete order of unstarted (draft/submitted) objectives
|
|
45016
45019
|
search Find grouped mission/objective/delivery matches
|
|
45017
45020
|
statuses List one project's ordered board columns
|
|
45018
45021
|
discuss-objective Mark a draft objective as submitted (does not start execution)
|
|
@@ -45220,18 +45223,19 @@ launch-objective:
|
|
|
45220
45223
|
The queued or already-active ExecutionRequestDto. Existing launchability,
|
|
45221
45224
|
authorization, target resolution, sibling, and idempotency rules apply.
|
|
45222
45225
|
|
|
45223
|
-
reorder-
|
|
45226
|
+
reorder-objectives:
|
|
45224
45227
|
Purpose:
|
|
45225
|
-
|
|
45226
|
-
active,
|
|
45228
|
+
Replace one mission's complete order of unstarted (draft/submitted)
|
|
45229
|
+
objectives. Launching, active, and complete objectives keep their positions.
|
|
45227
45230
|
Required:
|
|
45228
45231
|
--mission-id <uuid>
|
|
45229
45232
|
--ordered-objective-ids-json <json>
|
|
45230
45233
|
Returns:
|
|
45231
45234
|
The mission's full ObjectiveDto[] list in its new order.
|
|
45232
45235
|
Rules:
|
|
45233
|
-
Supply every
|
|
45234
|
-
Duplicate, missing, and
|
|
45236
|
+
Supply every draft and submitted objective UUID exactly once, in the complete
|
|
45237
|
+
desired top-to-bottom order; the head may move. Duplicate, missing, extra, and
|
|
45238
|
+
non-queued objective ids are rejected; a stale set is rejected (reload and retry).
|
|
45235
45239
|
|
|
45236
45240
|
run-queue:
|
|
45237
45241
|
Purpose:
|
|
@@ -45494,8 +45498,8 @@ update-objective:
|
|
|
45494
45498
|
Run Queue holds it as blocked until an agent is assigned.
|
|
45495
45499
|
Title edits are allowed in any objective state. An empty title clears the
|
|
45496
45500
|
custom title and restores instruction-derived presentation.
|
|
45497
|
-
Instruction text may be edited only when the objective is in draft
|
|
45498
|
-
Blank instruction text is allowed in
|
|
45501
|
+
Instruction text may be edited only when the objective is in draft state.
|
|
45502
|
+
Blank instruction text is allowed in that state.
|
|
45499
45503
|
Returns:
|
|
45500
45504
|
The updated objective JSON, including assignedAgent, model, reasoningEffort,
|
|
45501
45505
|
and resourceKey. autoAdvance is deprecated and derived from live queueEntry membership.
|
|
@@ -45921,7 +45925,7 @@ var init_protocol_help = __esm({
|
|
|
45921
45925
|
"read-context",
|
|
45922
45926
|
"record-work",
|
|
45923
45927
|
"register-target",
|
|
45924
|
-
"reorder-
|
|
45928
|
+
"reorder-objectives",
|
|
45925
45929
|
"reorder-project-run-queues",
|
|
45926
45930
|
"reorder-run-queue",
|
|
45927
45931
|
"run-queue",
|
|
@@ -49021,7 +49025,7 @@ Agents:
|
|
|
49021
49025
|
${primaryCommand} launch <agent> --mission-id <missionId>
|
|
49022
49026
|
Use ${primaryCommand} protocol help for the full mission lifecycle reference.
|
|
49023
49027
|
Key protocol commands: auth-status, discover-project, create, prompt, attach,
|
|
49024
|
-
connect, load-context, list-deliveries, launch-objective, reorder-
|
|
49028
|
+
connect, load-context, list-deliveries, launch-objective, reorder-objectives,
|
|
49025
49029
|
update, heartbeat, ask, deliver.
|
|
49026
49030
|
|
|
49027
49031
|
Protocol (JSON output by default):
|
|
@@ -49035,7 +49039,7 @@ Protocol (JSON output by default):
|
|
|
49035
49039
|
${primaryCommand} protocol load-context --mission-id <id>
|
|
49036
49040
|
${primaryCommand} protocol list-deliveries --mission-id <id>
|
|
49037
49041
|
${primaryCommand} protocol launch-objective --objective-id <id> --agent <agent>
|
|
49038
|
-
${primaryCommand} protocol reorder-
|
|
49042
|
+
${primaryCommand} protocol reorder-objectives --mission-id <id> --ordered-objective-ids-json '["<id>"]'
|
|
49039
49043
|
${primaryCommand} protocol help
|
|
49040
49044
|
|
|
49041
49045
|
After installation, run \`${primaryCommand} auth login\` to choose your backend.
|