@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/index.cjs
CHANGED
|
@@ -252,9 +252,9 @@ var MCP_RUNTIME_MANIFEST = {
|
|
|
252
252
|
mcpPackage: "@haven_ai/mcp",
|
|
253
253
|
mcpVersion: mcp.MCP_VERSION,
|
|
254
254
|
sdkPackage: "@haven_ai/sdk",
|
|
255
|
-
sdkVersion: "0.1.23-alpha.
|
|
255
|
+
sdkVersion: "0.1.23-alpha.2",
|
|
256
256
|
signerPackage: "@haven_ai/signer",
|
|
257
|
-
signerVersion: "0.1.23-alpha.
|
|
257
|
+
signerVersion: "0.1.23-alpha.2",
|
|
258
258
|
// Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
|
|
259
259
|
// while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
|
|
260
260
|
// so the guard that was supposed to enforce the floor waved Node v23 through
|
|
@@ -1953,7 +1953,7 @@ function localRuntimePrepareErrorCode(err) {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
|
|
1955
1955
|
// src/runtime.ts
|
|
1956
|
-
var CONNECTOR_VERSION = "0.1.23-alpha.
|
|
1956
|
+
var CONNECTOR_VERSION = "0.1.23-alpha.2";
|
|
1957
1957
|
var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
|
|
1958
1958
|
async function runConnect(options, deps = {}) {
|
|
1959
1959
|
assertSupportedNodeVersion(deps.nodeVersion, MCP_RUNTIME_MANIFEST.minimumNodeVersion);
|
|
@@ -2067,10 +2067,6 @@ async function runConnect(options, deps = {}) {
|
|
|
2067
2067
|
} else {
|
|
2068
2068
|
log("Haven setup on this machine is complete.");
|
|
2069
2069
|
}
|
|
2070
|
-
if (options.waitForApproval !== false && !runtimeInstall.errorCode) {
|
|
2071
|
-
await waitForBudgetApproval(api, registration.setup_id, localApiKey, log, options.approvalWait);
|
|
2072
|
-
}
|
|
2073
|
-
printNextSteps(runtimeInstall, log);
|
|
2074
2070
|
try {
|
|
2075
2071
|
await api.updateInstallStatus(registration.setup_id, localApiKey, {
|
|
2076
2072
|
runtime: runtimeInstall.runtime,
|
|
@@ -2093,6 +2089,10 @@ async function runConnect(options, deps = {}) {
|
|
|
2093
2089
|
} catch (err) {
|
|
2094
2090
|
log(`Could not report install status to Haven: ${err instanceof Error ? err.message : String(err)}`);
|
|
2095
2091
|
}
|
|
2092
|
+
if (options.waitForApproval !== false && !runtimeInstall.errorCode) {
|
|
2093
|
+
await waitForBudgetApproval(api, registration.setup_id, localApiKey, log, options.approvalWait);
|
|
2094
|
+
}
|
|
2095
|
+
printNextSteps(runtimeInstall, log);
|
|
2096
2096
|
return {
|
|
2097
2097
|
setupId: registration.setup_id,
|
|
2098
2098
|
agentId: registration.agent_id,
|