overlord-cli 0.2610130851.0 → 0.2610201032.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.50
1
+ 0.3.51
@@ -1,4 +1,4 @@
1
- contractVersion: "153"
1
+ contractVersion: "160"
2
2
  componentType: connector
3
3
  componentKey: antigravity
4
4
  label: "Antigravity Connector"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
3
  "name": "overlord",
4
- "version": "0.3.50",
4
+ "version": "0.3.51",
5
5
  "description": "Chat-driven access to Overlord mission protocol workflows through skills and MCP.",
6
6
  "author": {
7
7
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.50",
3
+ "version": "0.3.51",
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: "153"
1
+ contractVersion: "160"
2
2
  componentType: connector
3
3
  componentKey: claude
4
4
  label: "Claude Code Connector"
@@ -6,7 +6,7 @@
6
6
  "hooks": [
7
7
  {
8
8
  "type": "command",
9
- "command": "${CLAUDE_PLUGIN_ROOT}/scripts/user-prompt-submit-hook.sh"
9
+ "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/user-prompt-submit-hook.sh\""
10
10
  }
11
11
  ]
12
12
  }
@@ -17,7 +17,7 @@
17
17
  "hooks": [
18
18
  {
19
19
  "type": "command",
20
- "command": "${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use-hook.sh"
20
+ "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use-hook.sh\""
21
21
  }
22
22
  ]
23
23
  }
@@ -28,7 +28,7 @@
28
28
  "hooks": [
29
29
  {
30
30
  "type": "command",
31
- "command": "${CLAUDE_PLUGIN_ROOT}/scripts/stop-hook.sh"
31
+ "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/stop-hook.sh\""
32
32
  }
33
33
  ]
34
34
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.50",
3
+ "version": "0.3.51",
4
4
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -1,4 +1,4 @@
1
- contractVersion: "153"
1
+ contractVersion: "160"
2
2
  componentType: connector
3
3
  componentKey: codex
4
4
  label: "Codex Connector"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.50",
3
+ "version": "0.3.51",
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: "153"
1
+ contractVersion: "160"
2
2
  componentType: connector
3
3
  componentKey: cursor
4
4
  label: "Cursor Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "153"
1
+ contractVersion: "160"
2
2
  componentType: connector
3
3
  componentKey: opencode
4
4
  label: "OpenCode Connector"
@@ -1,4 +1,4 @@
1
- contractVersion: "153"
1
+ contractVersion: "160"
2
2
  componentType: connector
3
3
  componentKey: pi
4
4
  label: "PI Connector"
@@ -1271,7 +1271,7 @@ process.stdin.on('data', async chunk => {
1271
1271
  result: {
1272
1272
  protocolVersion: PROTOCOL_VERSION,
1273
1273
  capabilities: { tools: { listChanged: false } },
1274
- serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.50' }
1274
+ serverInfo: { name: 'overlord-__OVERLORD_ADAPTER_KEY__', version: '0.3.51' }
1275
1275
  }
1276
1276
  });
1277
1277
  continue;
@@ -17,6 +17,57 @@ invoke `ovld protocol …`). Tests enforce that it never reaches further.
17
17
 
18
18
  ---
19
19
 
20
+ ## Claude plugin CI
21
+
22
+ `.github/workflows/claude-plugin.yml` runs on relevant pull requests and manual
23
+ dispatch. `yarn connectors:check` includes `yarn connectors:claude:check`, which
24
+ uses the setup managed-file renderer to stage the complete Claude plugin in a
25
+ temporary directory, including the shared skill, references and post-tool hook.
26
+ It runs `claude plugin validate --strict` and removes staging on success or
27
+ failure. Install Claude Code 2.1.303, the CI tooling pin, to run it locally.
28
+ This pin does not update the fixture-backed verified `HARNESS-MATRIX` version.
29
+
30
+ `claude plugin test` runs mod handler tests (`.test.ts`/`.test.tsx`). Overlord's
31
+ shell-hook/skill plugin has no mod handlers, so the checker reports it as not
32
+ applicable. Hook behavior remains covered by executable descriptor fixtures in
33
+ `connectors:capabilities:check`. A future mod must add native tests and wire
34
+ `claude plugin test` into this job when it ships.
35
+
36
+ The manual workflow's `run_evals` input enables `yarn connectors:claude:eval`
37
+ only on the default branch, after validation. Configure the repository secret
38
+ `ANTHROPIC_API_KEY` for that job; PR checks receive no model credential.
39
+ Two cases in `test/fixtures/claude-plugin-evals` test inspection without
40
+ attachment and draft creation without execution. They consult the rendered
41
+ mission skill but cannot run shell commands or mutate real missions. They use
42
+ deterministic graders, one run per case, no baseline, a perfect-score threshold,
43
+ a $2 launch ceiling and 90-second per-case timeouts. Claude checks the ceiling
44
+ before launching each run, so one in-flight run can exceed it. This is a small
45
+ behavior smoke suite, not a statistical quality certification.
46
+
47
+ Reports stay local (`--no-publish`) and are uploaded as GitHub artifacts for
48
+ 14 days, including on failure when reports exist. Locally, set
49
+ `CLAUDE_PLUGIN_REPORT_DIR` to a persistent output directory; otherwise the
50
+ checker prints a newly created temporary report directory. Native nonzero
51
+ exit codes propagate, including failed graders, unavailable eval service,
52
+ authentication errors and budget exhaustion. There is no skip-to-green path.
53
+
54
+ ### Hook failure policy
55
+
56
+ Keep `onFailure` unset for current Claude hooks. `UserPromptSubmit` records
57
+ activity, `PostToolUse` observes an action that already ran, and `Stop` offers
58
+ guidance. Blocking on capture outages would impede prompts without enforcing
59
+ attach-before-edit. Scripts also deliberately suppress transport failures, so
60
+ a manifest field alone would not turn them into policy gates. The dormant
61
+ permission hook must continue to defer to Claude on failure under the contract.
62
+
63
+ Claude Code 2.1.295 added `onFailure: "block"` for command/HTTP hooks; it has no
64
+ effect on `Stop` or background command hooks. A future attach-before-edit gate
65
+ needs a separate opt-in pre-action policy, explicit unbound-session behavior,
66
+ failure fixtures and contract review before adoption. See Anthropic's
67
+ [hook failure reference](https://code.claude.com/docs/en/hooks#block-the-action-when-a-hook-fails),
68
+ [plugin command reference](https://code.claude.com/docs/en/plugins/cli-reference#plugin-test)
69
+ and [eval documentation](https://code.claude.com/docs/en/plugin-evals).
70
+
20
71
  ## A. Conformance Manifest (shared with Layer 3 §3.1)
21
72
 
22
73
  For each connector's `conformance-manifest.yaml`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord-cli",
3
- "version": "0.2610130851.0",
3
+ "version": "0.2610201032.0",
4
4
  "description": "Overlord CLI — management, agent protocol, and runner for OpenOverlord",
5
5
  "type": "module",
6
6
  "engines": {