@algosuite/vo-mcp 0.2.0-beta.7 → 0.2.0-beta.71
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/README.md +29 -3
- package/bin/vo-mcp +6 -3
- package/dist/agent-auth-probe-cli.mjs +1754 -0
- package/dist/autostart-cli.js +118 -60
- package/dist/autostart-cli.js.map +1 -2
- package/dist/ci/check-local-pr-overlap.js +107644 -0
- package/dist/cli.js +2905 -515
- package/dist/cli.js.map +3 -4
- package/dist/index.js +2495 -370
- package/dist/index.js.map +3 -4
- package/dist/install-cli.js +660 -115
- package/dist/install-cli.js.map +3 -4
- package/dist/login-cli.js +4 -4
- package/dist/login-cli.js.map +1 -2
- package/dist/pair-cli.js +1 -1
- package/dist/pair-cli.js.map +1 -2
- package/dist/runner-cli.js +14594 -3254
- package/dist/runner-cli.js.map +3 -4
- package/dist/runner-supervisor.js +3780 -0
- package/dist/runner-supervisor.js.map +6 -0
- package/dist/set-key-cli.js +82 -8
- package/dist/set-key-cli.js.map +1 -2
- package/dist/supervisor-credential-helper.js +233 -0
- package/dist/supervisor-credential-helper.js.map +6 -0
- package/dist/thresholds.json +64 -0
- package/dist/update-cli.js +75 -12
- package/dist/update-cli.js.map +3 -4
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
1
1
|
# @algosuite/vo-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Architecture mandate (ADR-004, 2026-08-16): thin runner, cloud brain.** This package must shrink to a thin executor + shim — spawn the agent, manage worktrees/pushes, hold credentials, carry the local half of the MCP transport. Prompt composition, routing, watcher/merge/repair decisions, policy tables and the consensus engine belong in `cloud-run/vo-control-plane` / `cloud-run/vo-moat-plane`, not here (this package is on the PUBLIC npm registry). Fixes may land here when that is the fastest way to unblock the loop, but every decision-making module in this bundle is migration debt: record it in the ADR-004 ledger and move it to the plane (HQ roadmap Phase 11). Do not add new decision logic here without a ledger row.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
AlgoHQ MCP server — the open protocol surface that exposes HQ's consensus and ratchet tool family to any MCP-capable LLM client (Claude Code, Claude Desktop, Cursor, Continue, Codex, etc.).
|
|
6
|
+
|
|
7
|
+
The live AlgoHQ whiteboard is available to every MCP client through
|
|
8
|
+
`hq_whiteboard_post` and `hq_whiteboard_read`. Both use the scoped credential
|
|
9
|
+
created by `vo-mcp login`; tenant/operator ownership is derived by the control
|
|
10
|
+
plane and cannot be widened by tool input. The control plane admits scoped
|
|
11
|
+
credentials only for operator IDs on its internal `HQ_WHITEBOARD_OPERATOR_IDS`
|
|
12
|
+
allowlist; arbitrary self-serve tenants cannot read or write the shared fleet board.
|
|
13
|
+
|
|
14
|
+
**Status:** Phase 2. Stdio transport. **26 tools registered** (source of truth: `src/server.ts` `buildToolRegistry()`). The static-ratchet tools (`vo_check_assertion_strength`, `vo_check_ratchets`) run locally today; the consensus-routed tools fall back to `{ verdict: "unimplemented", ... }` until engine credentials are present; the heal-family, PR-admin, session-state, and AlgoHQ whiteboard tools forward to the control plane in cloud mode. `vo_review_merge` is a **read-only consensus pre-merge review** (the verify-before-act gate for the Command Center — never merges). The shape is stable; the institutional-knowledge content is loaded from closed packages.
|
|
6
15
|
|
|
7
16
|
This package is intentionally **shell-only**. Per `docs/handoffs/vo-mcp-server-2026-05-21.md` §C-1: tool *definitions* (schemas, names, descriptions) ship openly. Tool *implementations* that encode institutional knowledge (specific ratchet thresholds, consensus prompt content, architectural-defaults knowledge base) live behind the cloud or in closed companion packages.
|
|
8
17
|
|
|
18
|
+
## Install and refresh client configuration
|
|
19
|
+
|
|
20
|
+
`vo-mcp install` safely registers the same required `algohq` MCP server in
|
|
21
|
+
Claude Desktop, Claude Code, and Codex (`~/.codex/config.toml`), then offers
|
|
22
|
+
pairing and runner auto-start. Existing client settings and comments are
|
|
23
|
+
preserved, and every changed config is backed up first.
|
|
24
|
+
|
|
25
|
+
To refresh client configuration on an already-paired runner without touching
|
|
26
|
+
its keychain credential or auto-start service, use the noninteractive form:
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
vo-mcp install --config-only
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Restart the MCP clients and runner after updating, then use
|
|
33
|
+
[AlgoHQ](https://algosuite.ai/algohq) to dispatch work.
|
|
34
|
+
|
|
9
35
|
## Tools
|
|
10
36
|
|
|
11
37
|
| Name | Phase 1 status | Description |
|
|
@@ -44,7 +70,7 @@ pnpm test # vitest run
|
|
|
44
70
|
|
|
45
71
|
The integration test (`test/integration/stdio-roundtrip.test.ts`) spawns the built CLI, exchanges JSON-RPC over stdio, and asserts:
|
|
46
72
|
|
|
47
|
-
- `initialize` + `tools/list` returns the
|
|
73
|
+
- `initialize` + `tools/list` returns the 26 expected tools.
|
|
48
74
|
- `vo_check_assertion_strength` runs end-to-end and writes a JSONL event line.
|
|
49
75
|
- A repeat call with identical input hits the cache (`cache.hit = true`).
|
|
50
76
|
- `vo_consensus_judgment` returns `unimplemented` and still writes its event line.
|
package/bin/vo-mcp
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
* Usage:
|
|
6
6
|
* vo-mcp # MCP stdio server (default)
|
|
7
7
|
* vo-mcp install # one-command installer
|
|
8
|
+
* vo-mcp install --config-only # refresh Claude + Codex MCP config only
|
|
8
9
|
* vo-mcp update # update MCP + runner package
|
|
9
10
|
* vo-mcp login # credential login (browser loopback)
|
|
10
11
|
* vo-mcp pair # device-code pairing (enter a code in the web)
|
|
11
|
-
* vo-mcp runner # agent runner
|
|
12
|
+
* vo-mcp runner # supervised agent runner
|
|
12
13
|
* vo-mcp runner --install-autostart # register runner to start at login
|
|
13
14
|
* vo-mcp runner --uninstall-autostart # remove auto-start registration
|
|
14
15
|
*/
|
|
@@ -31,9 +32,11 @@ if (command === 'install') {
|
|
|
31
32
|
import('../dist/autostart-cli.js').then((m) => m.installAutostartCli());
|
|
32
33
|
} else if (subcommand === '--uninstall-autostart') {
|
|
33
34
|
import('../dist/autostart-cli.js').then((m) => m.uninstallAutostartCli());
|
|
34
|
-
} else {
|
|
35
|
-
//
|
|
35
|
+
} else if (process.argv.includes('--once') || process.argv.includes('--status') || process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
36
|
+
// Direct diagnostic/one-shot mode; remote maintenance uses the supervisor.
|
|
36
37
|
import('../dist/runner-cli.js');
|
|
38
|
+
} else {
|
|
39
|
+
import('../dist/runner-supervisor.js');
|
|
37
40
|
}
|
|
38
41
|
} else {
|
|
39
42
|
// Default: MCP stdio server
|