overlord-cli 0.2607241806.0 → 0.2607280953.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.4
1
+ 0.3.6
@@ -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",
4
+ "version": "0.3.6",
5
5
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
6
6
  "author": {
7
7
  "name": "Cooperativ",
@@ -433,7 +433,7 @@ process.stdin.on('data', async chunk => {
433
433
  result: {
434
434
  protocolVersion: PROTOCOL_VERSION,
435
435
  capabilities: { tools: { listChanged: false } },
436
- serverInfo: { name: 'overlord-antigravity', version: '0.3.4' }
436
+ serverInfo: { name: 'overlord-antigravity', version: '0.3.6' }
437
437
  }
438
438
  });
439
439
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
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,4 +1,4 @@
1
- contractVersion: "0"
1
+ contractVersion: "35"
2
2
  componentType: connector
3
3
  componentKey: claude
4
4
  label: "Claude Code Connector"
@@ -12,8 +12,14 @@ log_hook() {
12
12
  printf '%s [stop] %s\n' "$(date -u '+%Y-%m-%dT%H:%M:%SZ')" "$1" >>"$LOG_FILE" 2>/dev/null || true
13
13
  }
14
14
 
15
- if [ -z "${MISSION_ID:-}" ] || ! command -v ovld >/dev/null 2>&1; then
16
- log_hook "missing required mission or ovld, skipping"
15
+ if ! command -v ovld >/dev/null 2>&1; then
16
+ log_hook "missing ovld, skipping"
17
+ exit 0
18
+ fi
19
+
20
+ if [ -z "${MISSION_ID:-}" ]; then
21
+ log_hook "no launch mission id; printing any cwd mission-link pointer"
22
+ ovld protocol mission-link 2>/dev/null || true
17
23
  exit 0
18
24
  fi
19
25
 
@@ -72,5 +78,9 @@ else
72
78
  log_hook "hook-event failed exit=$OVLD_EXIT"
73
79
  fi
74
80
 
81
+ # Keep the current mission reachable at the bottom of every completed turn.
82
+ # This is local-only and deliberately does not affect Stop-hook delivery state.
83
+ ovld protocol mission-link 2>/dev/null || true
84
+
75
85
  rm -f "$RESPONSE_FILE"
76
86
  exit 0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -433,7 +433,7 @@ process.stdin.on('data', async chunk => {
433
433
  result: {
434
434
  protocolVersion: PROTOCOL_VERSION,
435
435
  capabilities: { tools: { listChanged: false } },
436
- serverInfo: { name: 'overlord-codex', version: '0.3.4' }
436
+ serverInfo: { name: 'overlord-codex', version: '0.3.6' }
437
437
  }
438
438
  });
439
439
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
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",
@@ -1,4 +1,4 @@
1
- contractVersion: "0"
1
+ contractVersion: "35"
2
2
  componentType: connector
3
3
  componentKey: cursor
4
4
  label: "Cursor Connector"
@@ -12,12 +12,19 @@ log_hook() {
12
12
  printf '%s [cursor-stop] %s\n' "$(date -u '+%Y-%m-%dT%H:%M:%SZ')" "$1" >>"$LOG_FILE" 2>/dev/null || true
13
13
  }
14
14
 
15
- if [ -z "${MISSION_ID:-}" ] || ! command -v ovld >/dev/null 2>&1; then
16
- log_hook "missing required mission or ovld, skipping"
15
+ if ! command -v ovld >/dev/null 2>&1; then
16
+ log_hook "missing ovld, skipping"
17
17
  printf '{}'
18
18
  exit 0
19
19
  fi
20
20
 
21
+ if [ -z "${MISSION_ID:-}" ]; then
22
+ log_hook "no launch mission id; printing any cwd mission-link pointer"
23
+ printf '{}'
24
+ ovld protocol mission-link >&2 2>/dev/null || true
25
+ exit 0
26
+ fi
27
+
21
28
  LOOP_COUNT=$(printf '%s' "$BODY" | python3 -c '
22
29
  import json, sys
23
30
  try:
@@ -69,5 +76,10 @@ else
69
76
  printf '{}'
70
77
  fi
71
78
 
79
+ # Preserve Cursor's machine-readable stdout response; the human-facing footer
80
+ # belongs on stderr after Cursor has consumed that JSON. mission-link does not
81
+ # call the backend or alter the hook response above.
82
+ ovld protocol mission-link >&2 2>/dev/null || true
83
+
72
84
  rm -f "$RESPONSE_FILE"
73
85
  exit 0
@@ -433,7 +433,7 @@ process.stdin.on('data', async chunk => {
433
433
  result: {
434
434
  protocolVersion: PROTOCOL_VERSION,
435
435
  capabilities: { tools: { listChanged: false } },
436
- serverInfo: { name: 'overlord-cursor', version: '0.3.4' }
436
+ serverInfo: { name: 'overlord-cursor', version: '0.3.6' }
437
437
  }
438
438
  });
439
439
  continue;
@@ -333,10 +333,10 @@ To inspect project resolution explicitly:
333
333
  ovld protocol discover-project
334
334
  ovld protocol discover-project --project-id <id-or-name>
335
335
  ovld protocol discover-project --project-id "My Project"
336
- ovld protocol discover-project --working-directory /path/to/repo
336
+ ovld protocol discover-project --directory /path/to/repo
337
337
  ```
338
338
 
339
- Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--working-directory` to override cwd path matching. If the runtime has an `OVERLORD_DEVICE_FINGERPRINT`, pass `--device-fingerprint "$OVERLORD_DEVICE_FINGERPRINT"` so resource-directory matching prefers the current device. Set `OVERLORD_DEVICE_LABEL` to override this machine's execution-target display name (defaults to the hostname); it changes only the label, not the fingerprint.
339
+ 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.
340
340
 
341
341
  ### Creating Projects
342
342
 
@@ -219,10 +219,10 @@ To inspect project resolution explicitly:
219
219
  ovld protocol discover-project
220
220
  ovld protocol discover-project --project-id <id-or-name>
221
221
  ovld protocol discover-project --project-id "My Project"
222
- ovld protocol discover-project --working-directory /path/to/repo
222
+ ovld protocol discover-project --directory /path/to/repo
223
223
  ```
224
224
 
225
- Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--working-directory` to override cwd path matching. If the runtime has an `OVERLORD_DEVICE_FINGERPRINT`, pass `--device-fingerprint "$OVERLORD_DEVICE_FINGERPRINT"` so resource-directory matching prefers the current device. Set `OVERLORD_DEVICE_LABEL` to override this machine's execution-target display name (defaults to the hostname); it changes only the label, not the fingerprint.
225
+ 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.
226
226
 
227
227
  ## Creating Projects
228
228