@haven_ai/connect 0.0.0-dev.202609250737.3bd5a51 → 0.0.0-dev.202609251409.98ed67a
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 +2162 -2148
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2166 -2152
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +2166 -2152
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +2149 -2133
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -176,7 +176,14 @@ interface AgentIdentity {
|
|
|
176
176
|
chain_id: number | null;
|
|
177
177
|
execution_rail: 'legacy' | 'delegation' | string;
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
/**
|
|
180
|
+
* @param clientIdentity #3303: `@haven_ai/connect/<version>`, sent as
|
|
181
|
+
* `X-Haven-Client` on every request so the backend can tell an outdated
|
|
182
|
+
* connector what to run. Passed in by the callers that own
|
|
183
|
+
* `CONNECTOR_VERSION` (`runtime.ts` imports this file, so it cannot be
|
|
184
|
+
* imported here).
|
|
185
|
+
*/
|
|
186
|
+
declare function createConnectApiClient(baseUrl: string, fetchImpl?: typeof fetch, clientIdentity?: string): ConnectApiClient;
|
|
180
187
|
|
|
181
188
|
interface LocalDelegateKey {
|
|
182
189
|
privateKey: string;
|
|
@@ -736,7 +743,7 @@ type WiringCollisionResolution = {
|
|
|
736
743
|
action: 'abort';
|
|
737
744
|
};
|
|
738
745
|
|
|
739
|
-
declare const CONNECTOR_VERSION = "0.0.0-dev.
|
|
746
|
+
declare const CONNECTOR_VERSION = "0.0.0-dev.202609251409.98ed67a";
|
|
740
747
|
interface ConnectOptions {
|
|
741
748
|
setupToken: string;
|
|
742
749
|
apiBaseUrl: string;
|
|
@@ -1187,11 +1194,11 @@ declare function isConnectError(err: unknown): err is ConnectError;
|
|
|
1187
1194
|
|
|
1188
1195
|
declare const MCP_RUNTIME_MANIFEST: {
|
|
1189
1196
|
readonly mcpPackage: "@haven_ai/mcp";
|
|
1190
|
-
readonly mcpVersion: "0.0.0-dev.
|
|
1197
|
+
readonly mcpVersion: "0.0.0-dev.202609251409.98ed67a";
|
|
1191
1198
|
readonly sdkPackage: "@haven_ai/sdk";
|
|
1192
|
-
readonly sdkVersion: "0.0.0-dev.
|
|
1199
|
+
readonly sdkVersion: "0.0.0-dev.202609251409.98ed67a";
|
|
1193
1200
|
readonly signerPackage: "@haven_ai/signer";
|
|
1194
|
-
readonly signerVersion: "0.0.0-dev.
|
|
1201
|
+
readonly signerVersion: "0.0.0-dev.202609251409.98ed67a";
|
|
1195
1202
|
readonly minimumNodeVersion: "22.0.0";
|
|
1196
1203
|
readonly supportedClients: readonly ["codex-cli", "codex-desktop", "claude-code"];
|
|
1197
1204
|
readonly requiredTools: readonly string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -176,7 +176,14 @@ interface AgentIdentity {
|
|
|
176
176
|
chain_id: number | null;
|
|
177
177
|
execution_rail: 'legacy' | 'delegation' | string;
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
/**
|
|
180
|
+
* @param clientIdentity #3303: `@haven_ai/connect/<version>`, sent as
|
|
181
|
+
* `X-Haven-Client` on every request so the backend can tell an outdated
|
|
182
|
+
* connector what to run. Passed in by the callers that own
|
|
183
|
+
* `CONNECTOR_VERSION` (`runtime.ts` imports this file, so it cannot be
|
|
184
|
+
* imported here).
|
|
185
|
+
*/
|
|
186
|
+
declare function createConnectApiClient(baseUrl: string, fetchImpl?: typeof fetch, clientIdentity?: string): ConnectApiClient;
|
|
180
187
|
|
|
181
188
|
interface LocalDelegateKey {
|
|
182
189
|
privateKey: string;
|
|
@@ -736,7 +743,7 @@ type WiringCollisionResolution = {
|
|
|
736
743
|
action: 'abort';
|
|
737
744
|
};
|
|
738
745
|
|
|
739
|
-
declare const CONNECTOR_VERSION = "0.0.0-dev.
|
|
746
|
+
declare const CONNECTOR_VERSION = "0.0.0-dev.202609251409.98ed67a";
|
|
740
747
|
interface ConnectOptions {
|
|
741
748
|
setupToken: string;
|
|
742
749
|
apiBaseUrl: string;
|
|
@@ -1187,11 +1194,11 @@ declare function isConnectError(err: unknown): err is ConnectError;
|
|
|
1187
1194
|
|
|
1188
1195
|
declare const MCP_RUNTIME_MANIFEST: {
|
|
1189
1196
|
readonly mcpPackage: "@haven_ai/mcp";
|
|
1190
|
-
readonly mcpVersion: "0.0.0-dev.
|
|
1197
|
+
readonly mcpVersion: "0.0.0-dev.202609251409.98ed67a";
|
|
1191
1198
|
readonly sdkPackage: "@haven_ai/sdk";
|
|
1192
|
-
readonly sdkVersion: "0.0.0-dev.
|
|
1199
|
+
readonly sdkVersion: "0.0.0-dev.202609251409.98ed67a";
|
|
1193
1200
|
readonly signerPackage: "@haven_ai/signer";
|
|
1194
|
-
readonly signerVersion: "0.0.0-dev.
|
|
1201
|
+
readonly signerVersion: "0.0.0-dev.202609251409.98ed67a";
|
|
1195
1202
|
readonly minimumNodeVersion: "22.0.0";
|
|
1196
1203
|
readonly supportedClients: readonly ["codex-cli", "codex-desktop", "claude-code"];
|
|
1197
1204
|
readonly requiredTools: readonly string[];
|