@tangle-network/agent-app 3.0.17 → 3.0.19

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.
@@ -28,7 +28,7 @@ import {
28
28
  sandboxRunFailureDetail,
29
29
  streamSandboxPrompt,
30
30
  turnStorageBindings
31
- } from "./chunk-T6ZDWHP5.js";
31
+ } from "./chunk-FBZR6634.js";
32
32
  import {
33
33
  redactErrorMessage
34
34
  } from "./chunk-MH74DY2I.js";
@@ -4154,4 +4154,4 @@ export {
4154
4154
  createChatTurnRoutes,
4155
4155
  streamChatRouteAsSandboxEvents
4156
4156
  };
4157
- //# sourceMappingURL=chunk-LKDPKY7R.js.map
4157
+ //# sourceMappingURL=chunk-XB6ZY367.js.map
@@ -12,7 +12,7 @@ import {
12
12
  scrubTrace,
13
13
  secretNeedles,
14
14
  storageStateFor
15
- } from "../chunk-ZG3MVB2X.js";
15
+ } from "../chunk-A2M75YRP.js";
16
16
  import "../chunk-BTEVD7HG.js";
17
17
  import {
18
18
  invokedAsScript
@@ -32,7 +32,7 @@ import {
32
32
  tallyTurns,
33
33
  threadRouteIn,
34
34
  turnLooksActive
35
- } from "../chunk-ZG3MVB2X.js";
35
+ } from "../chunk-A2M75YRP.js";
36
36
  import "../chunk-BTEVD7HG.js";
37
37
 
38
38
  // src/journeys/journey.ts
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createChatTurnRoutes,
3
3
  streamChatRouteAsSandboxEvents
4
- } from "../chunk-LKDPKY7R.js";
4
+ } from "../chunk-XB6ZY367.js";
5
5
  import "../chunk-SBHFMDR7.js";
6
6
  import "../chunk-H6BRJU5M.js";
7
7
  import "../chunk-4DBHC63F.js";
8
8
  import "../chunk-RN4WPTBH.js";
9
9
  import "../chunk-MM6RLOXF.js";
10
- import "../chunk-T6ZDWHP5.js";
10
+ import "../chunk-FBZR6634.js";
11
11
  import "../chunk-F4TUZYMX.js";
12
12
  import "../chunk-MH74DY2I.js";
13
13
  import "../chunk-5DAEU3CP.js";
@@ -112,7 +112,7 @@ import {
112
112
  warmKey,
113
113
  warmReceiptId,
114
114
  warmWeekdayOf
115
- } from "../chunk-T6ZDWHP5.js";
115
+ } from "../chunk-FBZR6634.js";
116
116
  import {
117
117
  createWarmCache
118
118
  } from "../chunk-F4TUZYMX.js";
@@ -8,6 +8,7 @@ export interface ProviderResolutionConfig {
8
8
  openaiApiKey?: string;
9
9
  allowKeylessModel?: boolean;
10
10
  apiKeyEnv?: string;
11
+ mode?: 'api' | 'cli';
11
12
  }
12
13
  /** Represent a fully configured model with optional API key and base URL for sandbox platform integration */
13
14
  /**
@@ -23,6 +24,7 @@ export declare function backendModelFields(model: ResolvedModel): {
23
24
  apiKey?: string;
24
25
  apiKeyEnv?: string;
25
26
  baseUrl?: string;
27
+ mode?: 'api' | 'cli';
26
28
  };
27
29
  };
28
30
  export interface ResolvedModel {
@@ -32,6 +34,8 @@ export interface ResolvedModel {
32
34
  /** A stored-secret reference standing in for `apiKey`; see {@link ProviderResolutionConfig.apiKeyEnv}. */
33
35
  apiKeyEnv?: string;
34
36
  baseUrl?: string;
37
+ /** See {@link ProviderResolutionConfig.mode}. */
38
+ mode?: 'api' | 'cli';
35
39
  }
36
40
  /**
37
41
  * Why a model failed to resolve into something transportable to the sandbox
@@ -43,6 +43,7 @@ export declare function resolveSandboxPromptBackend(shell: SandboxPromptConfig,
43
43
  apiKey?: string;
44
44
  apiKeyEnv?: string;
45
45
  baseUrl?: string;
46
+ mode?: 'api' | 'cli';
46
47
  } | undefined;
47
48
  type: import("@tangle-network/sandbox").BackendType;
48
49
  profile: AgentProfile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "packageManager": "pnpm@11.28.8",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [