@tangle-network/agent-app 2.0.4 → 2.0.6
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/app-auth/index.js +2 -2
- package/dist/chat-routes/index.js +5 -5
- package/dist/{chunk-CTQQGPHT.js → chunk-2WYGR3S5.js} +3 -3
- package/dist/{chunk-2ARZ4Y7D.js → chunk-3XVGMHCD.js} +2 -2
- package/dist/{chunk-RTJJYBVV.js → chunk-4EQWYI53.js} +2 -2
- package/dist/{chunk-HFWKZHTZ.js → chunk-B2NN5BIJ.js} +5 -5
- package/dist/chunk-B2NN5BIJ.js.map +1 -0
- package/dist/{chunk-LPW4UVAZ.js → chunk-D6UJEOZQ.js} +1 -1
- package/dist/chunk-D6UJEOZQ.js.map +1 -0
- package/dist/{chunk-CU6PJO5R.js → chunk-JUQMVD4U.js} +2 -2
- package/dist/platform/index.js +2 -2
- package/dist/public-consultation/index.js +4 -4
- package/dist/runtime/index.js +3 -3
- package/dist/runtime/model.d.ts +1 -1
- package/dist/runtime/router-turn.js +2 -2
- package/dist/sandbox/index.js +2 -2
- package/dist/sandbox/model.d.ts +11 -9
- package/dist/sandbox/prompt-profile.d.ts +7 -5
- package/package.json +2 -2
- package/dist/chunk-HFWKZHTZ.js.map +0 -1
- package/dist/chunk-LPW4UVAZ.js.map +0 -1
- /package/dist/{chunk-CTQQGPHT.js.map → chunk-2WYGR3S5.js.map} +0 -0
- /package/dist/{chunk-2ARZ4Y7D.js.map → chunk-3XVGMHCD.js.map} +0 -0
- /package/dist/{chunk-RTJJYBVV.js.map → chunk-4EQWYI53.js.map} +0 -0
- /package/dist/{chunk-CU6PJO5R.js.map → chunk-JUQMVD4U.js.map} +0 -0
package/dist/app-auth/index.js
CHANGED
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
createAuthGuard,
|
|
6
6
|
createBetterAuthSessionCookieMinter,
|
|
7
7
|
createTangleSsoHandlers
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-JUQMVD4U.js";
|
|
9
9
|
import "../chunk-H6BRJU5M.js";
|
|
10
10
|
import "../chunk-RN4WPTBH.js";
|
|
11
11
|
import "../chunk-ALIWB2P3.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-D6UJEOZQ.js";
|
|
13
13
|
import "../chunk-5VE4IDSU.js";
|
|
14
14
|
import "../chunk-V42C72V5.js";
|
|
15
15
|
import "../chunk-TXD5HXLE.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "../chunk-ORBPOLBM.js";
|
|
44
44
|
import {
|
|
45
45
|
runProtectedRouterTurn
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-4EQWYI53.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_MODEL_FIRST_RESPONSE_TIMEOUT_MS,
|
|
49
49
|
DEFAULT_MODEL_STREAM_OPEN_TIMEOUT_MS,
|
|
@@ -82,13 +82,13 @@ import {
|
|
|
82
82
|
turnCarriesFiles,
|
|
83
83
|
turnPromptText,
|
|
84
84
|
withProducerStream
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-2WYGR3S5.js";
|
|
86
86
|
import "../chunk-SBHFMDR7.js";
|
|
87
87
|
import "../chunk-H6BRJU5M.js";
|
|
88
88
|
import "../chunk-4DBHC63F.js";
|
|
89
89
|
import "../chunk-RN4WPTBH.js";
|
|
90
90
|
import "../chunk-MM6RLOXF.js";
|
|
91
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-B2NN5BIJ.js";
|
|
92
92
|
import "../chunk-F4TUZYMX.js";
|
|
93
93
|
import {
|
|
94
94
|
redactErrorMessage
|
|
@@ -174,8 +174,8 @@ import "../chunk-S5SRJJQG.js";
|
|
|
174
174
|
import "../chunk-C3JXGK3R.js";
|
|
175
175
|
import "../chunk-UGWQLQDS.js";
|
|
176
176
|
import "../chunk-IDRATMRZ.js";
|
|
177
|
-
import "../chunk-
|
|
178
|
-
import "../chunk-
|
|
177
|
+
import "../chunk-3XVGMHCD.js";
|
|
178
|
+
import "../chunk-D6UJEOZQ.js";
|
|
179
179
|
import "../chunk-DCPOEDPK.js";
|
|
180
180
|
import "../chunk-KSLTD4FI.js";
|
|
181
181
|
import {
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
sandboxRunFailureDetail,
|
|
28
28
|
streamSandboxPrompt,
|
|
29
29
|
turnStorageBindings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-B2NN5BIJ.js";
|
|
31
31
|
import {
|
|
32
32
|
redactErrorMessage
|
|
33
33
|
} from "./chunk-MH74DY2I.js";
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
composeRouterTurnPromptSections,
|
|
115
115
|
runRouterTurn
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-3XVGMHCD.js";
|
|
117
117
|
import {
|
|
118
118
|
createIntelligenceTurnTraceSink,
|
|
119
119
|
createTurnTrace,
|
|
@@ -4153,4 +4153,4 @@ export {
|
|
|
4153
4153
|
createChatTurnRoutes,
|
|
4154
4154
|
streamChatRouteAsSandboxEvents
|
|
4155
4155
|
};
|
|
4156
|
-
//# sourceMappingURL=chunk-
|
|
4156
|
+
//# sourceMappingURL=chunk-2WYGR3S5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_TANGLE_ROUTER_BASE_URL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D6UJEOZQ.js";
|
|
4
4
|
import {
|
|
5
5
|
nextCallIndex,
|
|
6
6
|
tracedModelFetch,
|
|
@@ -985,4 +985,4 @@ export {
|
|
|
985
985
|
composeRouterTurnPrompt,
|
|
986
986
|
runRouterTurn
|
|
987
987
|
};
|
|
988
|
-
//# sourceMappingURL=chunk-
|
|
988
|
+
//# sourceMappingURL=chunk-3XVGMHCD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRouterTurn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3XVGMHCD.js";
|
|
4
4
|
|
|
5
5
|
// src/runtime/protected-model.ts
|
|
6
6
|
var GATEWAY_ORIGIN = "https://candidate-router.tangle.tools";
|
|
@@ -217,4 +217,4 @@ export {
|
|
|
217
217
|
createRouterProtectedModelPort,
|
|
218
218
|
runProtectedRouterTurn
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=chunk-
|
|
220
|
+
//# sourceMappingURL=chunk-4EQWYI53.js.map
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
resolveTangleExecutionEnvironment,
|
|
39
39
|
trimOrNull
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-D6UJEOZQ.js";
|
|
41
41
|
import {
|
|
42
42
|
formatServerTiming,
|
|
43
43
|
nextCallIndex
|
|
@@ -243,13 +243,13 @@ function workersReuseStore() {
|
|
|
243
243
|
|
|
244
244
|
// src/sandbox/model.ts
|
|
245
245
|
function backendModelFields(model) {
|
|
246
|
-
return {
|
|
247
|
-
|
|
246
|
+
return { model: {
|
|
247
|
+
model: model.model,
|
|
248
248
|
provider: model.provider,
|
|
249
249
|
...model.apiKey !== void 0 ? { apiKey: model.apiKey } : {},
|
|
250
250
|
...model.apiKeyEnv !== void 0 ? { apiKeyEnv: model.apiKeyEnv } : {},
|
|
251
251
|
...model.baseUrl !== void 0 ? { baseUrl: model.baseUrl } : {}
|
|
252
|
-
};
|
|
252
|
+
} };
|
|
253
253
|
}
|
|
254
254
|
function resolveModelSelection(config, override) {
|
|
255
255
|
const c = config ?? {};
|
|
@@ -4326,4 +4326,4 @@ export {
|
|
|
4326
4326
|
deleteSecret,
|
|
4327
4327
|
mintSandboxScopedToken
|
|
4328
4328
|
};
|
|
4329
|
-
//# sourceMappingURL=chunk-
|
|
4329
|
+
//# sourceMappingURL=chunk-B2NN5BIJ.js.map
|