overlord-cli 0.2609071220.0 → 0.2609071353.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/adapters/antigravity/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/claude/conformance-manifest.yaml +1 -1
- package/dist/connectors/adapters/codex/conformance-manifest.yaml +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/index.js +20 -7
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38132,8 +38132,10 @@ list-deliveries:
|
|
|
38132
38132
|
Optional:
|
|
38133
38133
|
--objective-id <id> Supplies mission addressing when it is a display id
|
|
38134
38134
|
Returns:
|
|
38135
|
-
|
|
38136
|
-
|
|
38135
|
+
MissionDeliveriesDto { items, total, limit }. items are newest-first
|
|
38136
|
+
DeliveryDto records including summary, verification, follow-up notes, and
|
|
38137
|
+
normalized delivery report evidence, capped at 200. total is the matching
|
|
38138
|
+
row count before that cap.
|
|
38137
38139
|
|
|
38138
38140
|
launch-objective:
|
|
38139
38141
|
Purpose:
|
|
@@ -39766,6 +39768,14 @@ async function resolveTerminalLaunchSettings({
|
|
|
39766
39768
|
function asRecord5(value) {
|
|
39767
39769
|
return value && typeof value === "object" ? value : {};
|
|
39768
39770
|
}
|
|
39771
|
+
function missionEvidenceItems(value) {
|
|
39772
|
+
if (Array.isArray(value)) return value;
|
|
39773
|
+
if (value && typeof value === "object" && "items" in value) {
|
|
39774
|
+
const items = value.items;
|
|
39775
|
+
if (Array.isArray(items)) return items;
|
|
39776
|
+
}
|
|
39777
|
+
return null;
|
|
39778
|
+
}
|
|
39769
39779
|
function parsePreLaunchCommandsValue(value) {
|
|
39770
39780
|
return Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : [];
|
|
39771
39781
|
}
|
|
@@ -40857,8 +40867,11 @@ async function runManagementCommand({
|
|
|
40857
40867
|
}
|
|
40858
40868
|
const result = await runtime.backend.get(path37);
|
|
40859
40869
|
if (json2 || sub === "context") printJson(result);
|
|
40860
|
-
else
|
|
40861
|
-
|
|
40870
|
+
else {
|
|
40871
|
+
const items = missionEvidenceItems(result);
|
|
40872
|
+
if (items) for (const row of items) console.log(JSON.stringify(row));
|
|
40873
|
+
else printJson(result);
|
|
40874
|
+
}
|
|
40862
40875
|
return;
|
|
40863
40876
|
}
|
|
40864
40877
|
case "changes": {
|
|
@@ -40873,16 +40886,16 @@ async function runManagementCommand({
|
|
|
40873
40886
|
if (sub !== "status" && sub !== "rationales") {
|
|
40874
40887
|
throw new CliError({ message: "Usage: ovld changes status|rationales --mission-id <id>" });
|
|
40875
40888
|
}
|
|
40876
|
-
const
|
|
40889
|
+
const page = await runtime.backend.get(
|
|
40877
40890
|
`/api/missions/${encodeURIComponent(missionId)}/file-changes`
|
|
40878
40891
|
);
|
|
40879
|
-
let result =
|
|
40892
|
+
let result = missionEvidenceItems(page) ?? [];
|
|
40880
40893
|
if (objectiveRef) {
|
|
40881
40894
|
const mission = await runtime.backend.get(
|
|
40882
40895
|
`/api/missions/${encodeURIComponent(missionId)}`
|
|
40883
40896
|
);
|
|
40884
40897
|
const objectiveId = objectiveIdForRef(mission, objectiveRef);
|
|
40885
|
-
result =
|
|
40898
|
+
result = result.filter((row) => asRecord5(row).objectiveId === objectiveId);
|
|
40886
40899
|
}
|
|
40887
40900
|
if (json2) printJson({ files: result, rationales: result });
|
|
40888
40901
|
else for (const row of result) console.log(JSON.stringify(row));
|