@haven_ai/connect 0.1.23-alpha.1 → 0.1.23-alpha.2
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/dist/cli.cjs +7 -7
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +7 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +7 -7
- 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 +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -246,9 +246,9 @@ var MCP_RUNTIME_MANIFEST = {
|
|
|
246
246
|
mcpPackage: "@haven_ai/mcp",
|
|
247
247
|
mcpVersion: MCP_VERSION,
|
|
248
248
|
sdkPackage: "@haven_ai/sdk",
|
|
249
|
-
sdkVersion: "0.1.23-alpha.
|
|
249
|
+
sdkVersion: "0.1.23-alpha.2",
|
|
250
250
|
signerPackage: "@haven_ai/signer",
|
|
251
|
-
signerVersion: "0.1.23-alpha.
|
|
251
|
+
signerVersion: "0.1.23-alpha.2",
|
|
252
252
|
// Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
|
|
253
253
|
// while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
|
|
254
254
|
// so the guard that was supposed to enforce the floor waved Node v23 through
|
|
@@ -1947,7 +1947,7 @@ function localRuntimePrepareErrorCode(err) {
|
|
|
1947
1947
|
}
|
|
1948
1948
|
|
|
1949
1949
|
// src/runtime.ts
|
|
1950
|
-
var CONNECTOR_VERSION = "0.1.23-alpha.
|
|
1950
|
+
var CONNECTOR_VERSION = "0.1.23-alpha.2";
|
|
1951
1951
|
var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
|
|
1952
1952
|
async function runConnect(options, deps = {}) {
|
|
1953
1953
|
assertSupportedNodeVersion(deps.nodeVersion, MCP_RUNTIME_MANIFEST.minimumNodeVersion);
|
|
@@ -2061,10 +2061,6 @@ async function runConnect(options, deps = {}) {
|
|
|
2061
2061
|
} else {
|
|
2062
2062
|
log("Haven setup on this machine is complete.");
|
|
2063
2063
|
}
|
|
2064
|
-
if (options.waitForApproval !== false && !runtimeInstall.errorCode) {
|
|
2065
|
-
await waitForBudgetApproval(api, registration.setup_id, localApiKey, log, options.approvalWait);
|
|
2066
|
-
}
|
|
2067
|
-
printNextSteps(runtimeInstall, log);
|
|
2068
2064
|
try {
|
|
2069
2065
|
await api.updateInstallStatus(registration.setup_id, localApiKey, {
|
|
2070
2066
|
runtime: runtimeInstall.runtime,
|
|
@@ -2087,6 +2083,10 @@ async function runConnect(options, deps = {}) {
|
|
|
2087
2083
|
} catch (err) {
|
|
2088
2084
|
log(`Could not report install status to Haven: ${err instanceof Error ? err.message : String(err)}`);
|
|
2089
2085
|
}
|
|
2086
|
+
if (options.waitForApproval !== false && !runtimeInstall.errorCode) {
|
|
2087
|
+
await waitForBudgetApproval(api, registration.setup_id, localApiKey, log, options.approvalWait);
|
|
2088
|
+
}
|
|
2089
|
+
printNextSteps(runtimeInstall, log);
|
|
2090
2090
|
return {
|
|
2091
2091
|
setupId: registration.setup_id,
|
|
2092
2092
|
agentId: registration.agent_id,
|