@haven_ai/connect 0.0.0-dev.202610091035.2bdb637 → 0.0.0-dev.202610091112.2d759b4
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 +37 -2
- package/dist/cli.cjs +1890 -1683
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1890 -1683
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1892 -1683
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -5
- package/dist/index.d.ts +18 -5
- package/dist/index.js +1891 -1684
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -47,7 +47,40 @@ Do not point it at a project repository, shared folder, or cloud-synced folder.
|
|
|
47
47
|
|
|
48
48
|
Use `--ack-local-tools` with Haven-generated setup prompts. It prepares the
|
|
49
49
|
local Haven tools acknowledgement during setup so Codex and Claude Code can load
|
|
50
|
-
Haven after a normal restart.
|
|
50
|
+
Haven after a normal restart. It also works with `--repair`: when an upgrade
|
|
51
|
+
changes the signer's tool set, the stored acknowledgement no longer matches and
|
|
52
|
+
the new signer refuses to start — `--repair --ack-local-tools` re-acknowledges
|
|
53
|
+
consent for the signer the repair installs (printing the consent block), with
|
|
54
|
+
no setup token. With a bare `--doctor` the flag is refused: the doctor is
|
|
55
|
+
read-only. The token-free path, without a repair, is the recorded wrapper:
|
|
56
|
+
`<agent dir>/bin/haven-signer.mjs --ack < /dev/null`.
|
|
57
|
+
|
|
58
|
+
## Updating an agent's own connector (#3799)
|
|
59
|
+
|
|
60
|
+
On a machine with several agents, an agent can update its own pair in one
|
|
61
|
+
command. `--doctor` and `--repair` accept `--name <slug>` and select the agent
|
|
62
|
+
directory by its recorded MCP pair (`haven-<slug>` / `haven-signer-<slug>`) —
|
|
63
|
+
the same rule `--rekey --name` and `--unwire --name` use. An unknown slug is
|
|
64
|
+
refused listing the slugs that exist; two live directories claiming one pair
|
|
65
|
+
are refused listing both; tombstoned directories never match. When several
|
|
66
|
+
agents exist and no `--name` or `--credentials-dir` is given, the multi-agent
|
|
67
|
+
refusal names, per directory, the agent id AND the pair it owns, and offers the
|
|
68
|
+
`--name <slug>` command for named pairs.
|
|
69
|
+
|
|
70
|
+
Two honesty rules worth knowing:
|
|
71
|
+
|
|
72
|
+
- On Claude Code, `--repair` writes no MCP config (the connector does not own
|
|
73
|
+
that runtime's registry). It re-points `<dir>/bin/haven-signer.mjs` at the
|
|
74
|
+
pinned signer runtime, and says exactly that — the entry that launches the
|
|
75
|
+
wrapper uses the new signer after a restart. `--doctor --runtime claude-code`
|
|
76
|
+
names the recorded pair and how to confirm it (`claude mcp get
|
|
77
|
+
haven-signer-<slug>`).
|
|
78
|
+
- When the stored consent does not match the pinned signer's tool set, a bare
|
|
79
|
+
`--repair` stops before writing anything and names the token-free
|
|
80
|
+
re-consent command; `--repair --ack-local-tools` performs the
|
|
81
|
+
re-acknowledgement with the installed signer during the repair. The stored
|
|
82
|
+
ack holds only a hash, so a mismatch is never reported as "the tools grew" —
|
|
83
|
+
a rekey or a chain change produces the same mismatch.
|
|
51
84
|
|
|
52
85
|
## Supported runtimes
|
|
53
86
|
|
|
@@ -78,7 +111,9 @@ spending authority.
|
|
|
78
111
|
### `--doctor` reports every agent, not just one (#1697)
|
|
79
112
|
|
|
80
113
|
With several agents wired into one runtime (`--name`), the doctor enumerates
|
|
81
|
-
every credential directory on the machine and classifies each one
|
|
114
|
+
every credential directory on the machine and classifies each one. An agent can
|
|
115
|
+
also select its OWN directory with `--doctor --name <slug>` or
|
|
116
|
+
`--repair --name <slug>` — see [Updating an agent's own connector](#updating-an-agents-own-connector-3799):
|
|
82
117
|
|
|
83
118
|
| Classification | Meaning |
|
|
84
119
|
| --- | --- |
|