@haven_ai/connect 0.0.0-dev.202609050705.51c3d92 → 0.0.0-dev.202609050932.747d815
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 +13 -2
- package/dist/cli.cjs +3 -3
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +3 -3
- 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 +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -7,6 +7,17 @@ signing key and API key locally, stores them locally, and sends Haven only the
|
|
|
7
7
|
public signing address, proof signature, and API-key hash. Haven never receives
|
|
8
8
|
the private key or plaintext API key.
|
|
9
9
|
|
|
10
|
+
## Are you an AI agent whose user has no Haven account yet?
|
|
11
|
+
|
|
12
|
+
Read **`/for-agents.md`** on the Haven host your user gave you — or
|
|
13
|
+
[the copy in this repository](https://github.com/d-hinders/Haven-AI/blob/dev/packages/frontend/public/for-agents.md)
|
|
14
|
+
if you do not have that host yet.
|
|
15
|
+
|
|
16
|
+
Your user creates the account and the passkey: those are theirs, they need a
|
|
17
|
+
human, and you should never ask for their password. You can do everything else
|
|
18
|
+
— including running the connector command from the setup prompt they paste you,
|
|
19
|
+
and managing the account from the shell with `@haven_ai/cli`.
|
|
20
|
+
|
|
10
21
|
```sh
|
|
11
22
|
npx -y @haven_ai/connect@<channel> --setup hv_setup_... --api https://api.haven.example --ack-local-tools --runtime claude-code
|
|
12
23
|
```
|
|
@@ -296,7 +307,7 @@ already-configured machine behaves as follows (characterized in
|
|
|
296
307
|
`storage.test.ts`, `config-writers.test.ts`, `runtime.test.ts`, and
|
|
297
308
|
`runtime-install.test.ts`, #1544/#1569):
|
|
298
309
|
|
|
299
|
-
- **Re-running an already-consumed
|
|
310
|
+
- **Re-running an already-consumed connector command** fails cleanly before any
|
|
300
311
|
credential file or runtime configuration is touched — Haven refuses the
|
|
301
312
|
consumed setup when Connect resolves it (or, in a rare concurrent-run race,
|
|
302
313
|
at registration). The key pair minted for the attempt exists only in memory
|
|
@@ -523,7 +534,7 @@ HAVEN_SIGNER_SPEC=file:$PWD/packages/signer npx @haven_ai/connect@<channel> --se
|
|
|
523
534
|
Environment variables rather than a flag, deliberately: the install runs from
|
|
524
535
|
three entry points (`--setup`, `--doctor --repair`, `--rekey-finish`) and all
|
|
525
536
|
three honour the same variables, so a re-key cannot silently reinstall the
|
|
526
|
-
registry build; and the
|
|
537
|
+
registry build; and the connector command is minted by the dashboard and pasted
|
|
527
538
|
verbatim, often by an agent, so the override sits beside it instead of being
|
|
528
539
|
spliced into a line the developer did not write.
|
|
529
540
|
|
package/dist/cli.cjs
CHANGED
|
@@ -536,9 +536,9 @@ var init_runtime_manifest = __esm({
|
|
|
536
536
|
mcpPackage: "@haven_ai/mcp",
|
|
537
537
|
mcpVersion: mcp.MCP_VERSION,
|
|
538
538
|
sdkPackage: "@haven_ai/sdk",
|
|
539
|
-
sdkVersion: "0.0.0-dev.
|
|
539
|
+
sdkVersion: "0.0.0-dev.202609050932.747d815",
|
|
540
540
|
signerPackage: "@haven_ai/signer",
|
|
541
|
-
signerVersion: "0.0.0-dev.
|
|
541
|
+
signerVersion: "0.0.0-dev.202609050932.747d815",
|
|
542
542
|
// Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
|
|
543
543
|
// while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
|
|
544
544
|
// so the guard that was supposed to enforce the floor waved Node v23 through
|
|
@@ -4389,7 +4389,7 @@ async function pathExists2(path) {
|
|
|
4389
4389
|
init_unwire();
|
|
4390
4390
|
init_local_mcp_runtime();
|
|
4391
4391
|
init_runtime_manifest();
|
|
4392
|
-
var CONNECTOR_VERSION = "0.0.0-dev.
|
|
4392
|
+
var CONNECTOR_VERSION = "0.0.0-dev.202609050932.747d815";
|
|
4393
4393
|
var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
|
|
4394
4394
|
var failureOutcomesByError = /* @__PURE__ */ new WeakMap();
|
|
4395
4395
|
function failureOutcomeFor(runtimeHint, error) {
|