@tangle-network/agent-app 0.63.2 → 0.63.3
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/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/chat-routes/index.d.ts +1 -0
- package/dist/chat-routes/index.js +15 -15
- package/dist/chat-routes/route-storage.d.ts +21 -1
- package/dist/chat-routes/turn-route-contracts.d.ts +2 -9
- package/dist/{chunk-A2NQMVMF.js → chunk-464WRGJ3.js} +14 -5
- package/dist/chunk-464WRGJ3.js.map +1 -0
- package/dist/{chunk-XEAZWJ3W.js → chunk-7Y7U7U7X.js} +2 -2
- package/dist/{chunk-5BJHKQ33.js → chunk-ACB7KOQ6.js} +4 -4
- package/dist/{chunk-7TZA2TAM.js → chunk-FCYHDENJ.js} +2 -2
- package/dist/{chunk-WSQFNMIA.js → chunk-HRBF4B5L.js} +5 -5
- package/dist/{chunk-WSQFNMIA.js.map → chunk-HRBF4B5L.js.map} +1 -1
- package/dist/{chunk-SRWQCWLR.js → chunk-IX6UVHXY.js} +3 -3
- package/dist/{chunk-HG2WVONR.js → chunk-PGWKYLHC.js} +10 -24
- package/dist/chunk-PGWKYLHC.js.map +1 -0
- package/dist/{chunk-ND5XWLRU.js → chunk-POIVNKYH.js} +83 -24
- package/dist/chunk-POIVNKYH.js.map +1 -0
- package/dist/preset-cloudflare/index.js +8 -8
- package/dist/public-consultation/index.js +8 -8
- package/dist/sandbox/index.js +7 -5
- package/dist/sandbox/prewarm-route.d.ts +7 -0
- package/dist/stream/index.js +17 -17
- package/dist/tools/index.js +4 -4
- package/dist/turn-stream/adapters.d.ts +6 -0
- package/dist/turn-stream/index.js +3 -1
- package/dist/turn-stream/index.js.map +1 -1
- package/dist/work-product/index.js +2 -2
- package/package.json +3 -2
- package/dist/chunk-A2NQMVMF.js.map +0 -1
- package/dist/chunk-HG2WVONR.js.map +0 -1
- package/dist/chunk-ND5XWLRU.js.map +0 -1
- /package/dist/{chunk-XEAZWJ3W.js.map → chunk-7Y7U7U7X.js.map} +0 -0
- /package/dist/{chunk-5BJHKQ33.js.map → chunk-ACB7KOQ6.js.map} +0 -0
- /package/dist/{chunk-7TZA2TAM.js.map → chunk-FCYHDENJ.js.map} +0 -0
- /package/dist/{chunk-SRWQCWLR.js.map → chunk-IX6UVHXY.js.map} +0 -0
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-I6BZVIRH.js";
|
|
5
5
|
import {
|
|
6
6
|
defineAppTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FCYHDENJ.js";
|
|
8
8
|
import {
|
|
9
9
|
ToolInputError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HRBF4B5L.js";
|
|
11
11
|
|
|
12
12
|
// src/agent-profiles/index.ts
|
|
13
13
|
import {
|
|
@@ -672,4 +672,4 @@ export {
|
|
|
672
672
|
PROFILE_MEMORY_PREFIX,
|
|
673
673
|
profileTools
|
|
674
674
|
};
|
|
675
|
-
//# sourceMappingURL=chunk-
|
|
675
|
+
//# sourceMappingURL=chunk-IX6UVHXY.js.map
|
|
@@ -18,8 +18,9 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createEscalationSpeculator,
|
|
20
20
|
createSandboxRunTool,
|
|
21
|
-
escalationHints
|
|
22
|
-
|
|
21
|
+
escalationHints,
|
|
22
|
+
resolveTurnStorage
|
|
23
|
+
} from "./chunk-POIVNKYH.js";
|
|
23
24
|
import {
|
|
24
25
|
addStepFinishUsage,
|
|
25
26
|
assistantRowIdForTurn,
|
|
@@ -31,16 +32,6 @@ import {
|
|
|
31
32
|
normalizeClientTurnId,
|
|
32
33
|
resolveChatTurn
|
|
33
34
|
} from "./chunk-YG66IHDU.js";
|
|
34
|
-
import {
|
|
35
|
-
createDurableTurnLock
|
|
36
|
-
} from "./chunk-A2NQMVMF.js";
|
|
37
|
-
import {
|
|
38
|
-
coalesceDeltas,
|
|
39
|
-
createBufferedTurnTap,
|
|
40
|
-
createD1TurnEventStore,
|
|
41
|
-
replayTurnEvents,
|
|
42
|
-
stampReplaySeq
|
|
43
|
-
} from "./chunk-ISP6ZH3G.js";
|
|
44
35
|
import {
|
|
45
36
|
mentionInputToPart,
|
|
46
37
|
toChatMessageParts
|
|
@@ -81,6 +72,12 @@ import {
|
|
|
81
72
|
parseInteractionCancel,
|
|
82
73
|
parseInteractionRequest
|
|
83
74
|
} from "./chunk-6VQCFJWP.js";
|
|
75
|
+
import {
|
|
76
|
+
coalesceDeltas,
|
|
77
|
+
createBufferedTurnTap,
|
|
78
|
+
replayTurnEvents,
|
|
79
|
+
stampReplaySeq
|
|
80
|
+
} from "./chunk-ISP6ZH3G.js";
|
|
84
81
|
import {
|
|
85
82
|
ModelFailoverExhaustedError,
|
|
86
83
|
buildModelChain,
|
|
@@ -2883,17 +2880,6 @@ function earlyTurnWork(started, log) {
|
|
|
2883
2880
|
};
|
|
2884
2881
|
}
|
|
2885
2882
|
|
|
2886
|
-
// src/chat-routes/route-storage.ts
|
|
2887
|
-
function resolveTurnStorage(options) {
|
|
2888
|
-
const store = options.turnStore;
|
|
2889
|
-
if ("append" in store) return { ...options, turnStore: store };
|
|
2890
|
-
return {
|
|
2891
|
-
...options,
|
|
2892
|
-
turnStore: createD1TurnEventStore(store.db),
|
|
2893
|
-
turnLock: options.turnLock ?? createDurableTurnLock({ ...store.lock, scopeOf: () => "thread" })
|
|
2894
|
-
};
|
|
2895
|
-
}
|
|
2896
|
-
|
|
2897
2883
|
// src/chat-routes/turn-routes.ts
|
|
2898
2884
|
async function admitTurn(request, trace, options, waitUntil) {
|
|
2899
2885
|
const parse = trace.start("admission.parse", "admission");
|
|
@@ -3362,4 +3348,4 @@ export {
|
|
|
3362
3348
|
createChatTurnRoutes,
|
|
3363
3349
|
streamChatRouteAsSandboxEvents
|
|
3364
3350
|
};
|
|
3365
|
-
//# sourceMappingURL=chunk-
|
|
3351
|
+
//# sourceMappingURL=chunk-PGWKYLHC.js.map
|