overlord-cli 0.2607261049.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.5
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.5",
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.5' }
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.5",
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.5",
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.5' }
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.5",
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.5' }
436
+ serverInfo: { name: 'overlord-cursor', version: '0.3.6' }
437
437
  }
438
438
  });
439
439
  continue;