@haven_ai/connect 0.0.0-dev.202610071600.91b951e → 0.0.0-dev.202610071649.8f72409
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 +3 -3
- package/dist/cli.cjs +6 -6
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +6 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -161,8 +161,8 @@ minutes. Two rules follow:
|
|
|
161
161
|
stderr log on every probe, and records it in `TOMBSTONE.json` for
|
|
162
162
|
`--doctor` — with a copy in `~/.haven/tombstones/` (or `.tombstones/` inside
|
|
163
163
|
a custom credentials root), so the retirement stays visible after the
|
|
164
|
-
directory is deleted. It touches no key material and revokes nothing —
|
|
165
|
-
agent on the Haven agent page yourself. Delete the tombstone only once every
|
|
164
|
+
directory is deleted. It touches no key material and revokes nothing — use **Remove
|
|
165
|
+
agent…** (or **Stop budget**) on the Haven agent page yourself. Delete the tombstone only once every
|
|
166
166
|
long-lived host has been restarted.
|
|
167
167
|
|
|
168
168
|
**Pass a real DIRECTORY, not an agent id.** A named agent lives at its wiring
|
|
@@ -219,7 +219,7 @@ backend change) and **refuses to destroy the key material on every answer**:
|
|
|
219
219
|
|
|
220
220
|
| Probe | What it means | What `--unwire` does |
|
|
221
221
|
| --- | --- | --- |
|
|
222
|
-
| `ok` | The agent is still active: its key still spends. | Refuses; tells you to
|
|
222
|
+
| `ok` | The agent is still active: its key still spends. | Refuses; tells you to use **Remove agent…** on the Haven agent page (connect never revokes), then re-run. |
|
|
223
223
|
| `unauthorized` | The key no longer authenticates on normal routes (revoked, archived, paused, pending approval, rotated, or not a key the backend knows — it does not say which). | Refuses; says plainly that a stranded balance **may** exist and the connector **cannot check**; recover first (`haven_sweep_delegate`, or the agent page). |
|
|
224
224
|
| `network_error` / `bad_response` | Could not verify. | Refuses: unknown is not "safe to delete". Retry. |
|
|
225
225
|
| *(no stored API key + URL)* | Nothing the recovery routes would accept. | Proceeds, unprobed — the pre-#3123 shape. |
|
package/dist/cli.cjs
CHANGED
|
@@ -620,9 +620,9 @@ var init_runtime_manifest = __esm({
|
|
|
620
620
|
mcpPackage: "@haven_ai/mcp",
|
|
621
621
|
mcpVersion: mcp.MCP_VERSION,
|
|
622
622
|
sdkPackage: "@haven_ai/sdk",
|
|
623
|
-
sdkVersion: "0.0.0-dev.
|
|
623
|
+
sdkVersion: "0.0.0-dev.202610071649.8f72409",
|
|
624
624
|
signerPackage: "@haven_ai/signer",
|
|
625
|
-
signerVersion: "0.0.0-dev.
|
|
625
|
+
signerVersion: "0.0.0-dev.202610071649.8f72409",
|
|
626
626
|
// Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
|
|
627
627
|
// while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
|
|
628
628
|
// so the guard that was supposed to enforce the floor waved Node v23 through
|
|
@@ -3641,7 +3641,7 @@ async function decideTeardown(identity, input) {
|
|
|
3641
3641
|
status: "retained",
|
|
3642
3642
|
probe: "ok",
|
|
3643
3643
|
detail: "This agent is still ACTIVE on the backend: its API key and delegate key still carry spend authority, so destroying them would be a live spend-authority change. Key material kept in this directory (0o600); its MCP wiring above is gone.",
|
|
3644
|
-
remedy: `
|
|
3644
|
+
remedy: `Use Remove agent\u2026 on the Haven agent page (connect never revokes), then re-run --unwire; or, to delete the key anyway, re-run with ${DESTROY_FLAG}.`
|
|
3645
3645
|
};
|
|
3646
3646
|
case "unauthorized":
|
|
3647
3647
|
return {
|
|
@@ -4499,7 +4499,7 @@ var init_runtime = __esm({
|
|
|
4499
4499
|
init_tombstone();
|
|
4500
4500
|
init_local_mcp_runtime();
|
|
4501
4501
|
init_runtime_manifest();
|
|
4502
|
-
CONNECTOR_VERSION = "0.0.0-dev.
|
|
4502
|
+
CONNECTOR_VERSION = "0.0.0-dev.202610071649.8f72409";
|
|
4503
4503
|
CONNECTOR_CLIENT_IDENTITY = `@haven_ai/connect/${CONNECTOR_VERSION}`;
|
|
4504
4504
|
CONNECT_OUTCOME_SCHEMA_VERSION = 1;
|
|
4505
4505
|
failureOutcomesByError = /* @__PURE__ */ new WeakMap();
|
|
@@ -6104,7 +6104,7 @@ async function runCli(argv, io = {
|
|
|
6104
6104
|
io.stdout(redactSecrets(`Tombstoned agent ${info.agent_id} at ${parsed.tombstone.directory}.
|
|
6105
6105
|
`));
|
|
6106
6106
|
io.stdout(
|
|
6107
|
-
"Key files were NOT touched and nothing was revoked \u2014
|
|
6107
|
+
"Key files were NOT touched and nothing was revoked \u2014 on the Haven agent page, use Remove agent\u2026 (or Stop budget) if you have not already.\n"
|
|
6108
6108
|
);
|
|
6109
6109
|
io.stdout(
|
|
6110
6110
|
info.recordPath !== null ? `A surviving tombstone record was mirrored to ${redactSecrets(info.recordPath)}
|
|
@@ -6213,7 +6213,7 @@ async function runCli(argv, io = {
|
|
|
6213
6213
|
failures.length > 0 ? " Some entries were NOT removed (\u2717 above). Re-run `--unwire` after resolving each refusal \u2014\n it is idempotent.\n" : retained ? " The wiring is gone; the key material is not (\u2717 above). `--doctor` will keep reporting this directory\n as `superseded` until the key is revoked or destroyed \u2014 that is the honest state.\n" : " Verify: `--doctor --runtime <runtime>` per host should report this agent as `retired` with a\n clean runtime-config check.\n"
|
|
6214
6214
|
);
|
|
6215
6215
|
io.stdout(
|
|
6216
|
-
"Restart EVERY long-lived MCP host (gateway, TUI workers, editors): each holds the wiring snapshot\nfrom its own start time. " + (retained ? "This directory\u2019s local key material was KEPT (see above); the tombstone\n" : "This directory\u2019s local key material was removed and the tombstone\n") + "record + #2155 mirror survive \u2014 but nothing was REVOKED on the backend. If you have not\nalready,
|
|
6216
|
+
"Restart EVERY long-lived MCP host (gateway, TUI workers, editors): each holds the wiring snapshot\nfrom its own start time. " + (retained ? "This directory\u2019s local key material was KEPT (see above); the tombstone\n" : "This directory\u2019s local key material was removed and the tombstone\n") + "record + #2155 mirror survive \u2014 but nothing was REVOKED on the backend. If you have not\nalready, use Remove agent\u2026 on the Haven agent page to end its budgets on-chain and stop it spending.\n"
|
|
6217
6217
|
);
|
|
6218
6218
|
}
|
|
6219
6219
|
return failures.length > 0 || retained ? 1 : 0;
|