@tangle-network/agent-app 0.60.207 → 0.60.209
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/assistant/index.js +1 -1
- package/dist/chat-routes/index.js +6 -2
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/{chunk-65SDSB6D.js → chunk-7LMHBLFH.js} +19 -2
- package/dist/chunk-7LMHBLFH.js.map +1 -0
- package/dist/{chunk-JDEGS53O.js → chunk-LRW36WCF.js} +25 -2
- package/dist/chunk-LRW36WCF.js.map +1 -0
- package/dist/{chunk-2CBRCREL.js → chunk-R75P63W5.js} +2 -2
- package/dist/intakes/drizzle.js +114 -6
- package/dist/intakes/drizzle.js.map +1 -1
- package/dist/intakes/index.d.ts +2 -6
- package/dist/intakes/index.js +6 -8
- package/dist/intakes/index.js.map +1 -1
- package/dist/intakes/model.d.ts +1 -2
- package/dist/public-consultation/index.d.ts +2 -2
- package/dist/runtime/index.js +2 -2
- package/dist/runtime/openai-stream.d.ts +7 -0
- package/dist/runtime/router-turn.d.ts +14 -1
- package/dist/runtime/router-turn.js +1 -1
- package/dist/stories/panels/fixtures.d.ts +3 -29
- package/dist/web-react/index.js +3 -3
- package/package.json +1 -16
- package/dist/IntakeInterview-OKT6DCBN.js +0 -8
- package/dist/IntakeInterview-OKT6DCBN.js.map +0 -1
- package/dist/chunk-65SDSB6D.js.map +0 -1
- package/dist/chunk-I2CA5N7V.js +0 -254
- package/dist/chunk-I2CA5N7V.js.map +0 -1
- package/dist/chunk-JDEGS53O.js.map +0 -1
- package/dist/chunk-VWAEWOWK.js +0 -124
- package/dist/chunk-VWAEWOWK.js.map +0 -1
- package/dist/chunk-YZ6KQULN.js +0 -30
- package/dist/chunk-YZ6KQULN.js.map +0 -1
- package/dist/intakes/api.d.ts +0 -54
- package/dist/intakes/api.js +0 -63
- package/dist/intakes/api.js.map +0 -1
- package/dist/intakes-react/components/BrandMark.d.ts +0 -10
- package/dist/intakes-react/components/IntakeInterview.d.ts +0 -15
- package/dist/intakes-react/components/index.d.ts +0 -1
- package/dist/intakes-react/contracts.d.ts +0 -42
- package/dist/intakes-react/index.d.ts +0 -14
- package/dist/intakes-react/index.js +0 -8
- package/dist/intakes-react/index.js.map +0 -1
- package/dist/intakes-react/lazy.d.ts +0 -10
- package/dist/intakes-react/lazy.js +0 -9
- package/dist/intakes-react/lazy.js.map +0 -1
- /package/dist/{chunk-2CBRCREL.js.map → chunk-R75P63W5.js.map} +0 -0
package/dist/assistant/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
ReasoningRow,
|
|
3
3
|
chatToolCallPart
|
|
4
4
|
} from "../chunk-KNTRS7OZ.js";
|
|
5
|
-
import "../chunk-KMIDRUUH.js";
|
|
6
5
|
import "../chunk-3HUFJ5LO.js";
|
|
6
|
+
import "../chunk-KMIDRUUH.js";
|
|
7
7
|
import "../chunk-FBVLEGEG.js";
|
|
8
8
|
import "../chunk-Y6PRDUFJ.js";
|
|
9
9
|
import "../chunk-GEYACSFW.js";
|
|
@@ -62,10 +62,10 @@ import "../chunk-UGWQLQDS.js";
|
|
|
62
62
|
import "../chunk-E65YV7VV.js";
|
|
63
63
|
import {
|
|
64
64
|
runProtectedRouterTurn
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-R75P63W5.js";
|
|
66
66
|
import {
|
|
67
67
|
runRouterTurn
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-7LMHBLFH.js";
|
|
69
69
|
import "../chunk-J63KUZBE.js";
|
|
70
70
|
import "../chunk-D6UJEOZQ.js";
|
|
71
71
|
import "../chunk-AMUXRAUO.js";
|
|
@@ -1238,6 +1238,7 @@ function createRouterTurnProducer(options) {
|
|
|
1238
1238
|
};
|
|
1239
1239
|
const run = runRouterTurn({
|
|
1240
1240
|
...options,
|
|
1241
|
+
showReasoning: options.showReasoning ?? true,
|
|
1241
1242
|
onEvent: (event) => {
|
|
1242
1243
|
if (event.type === "text") {
|
|
1243
1244
|
if (event.segment !== textSegment || !textPart) {
|
|
@@ -1282,6 +1283,9 @@ function createRouterTurnProducer(options) {
|
|
|
1282
1283
|
outcome: event.status === "completed" ? { ok: true, result: event.output } : { ok: false, message: event.error.message, code: event.error.code }
|
|
1283
1284
|
});
|
|
1284
1285
|
}
|
|
1286
|
+
} else if (event.type === "repeat") {
|
|
1287
|
+
reasoningPart = null;
|
|
1288
|
+
reasoningClock.settle();
|
|
1285
1289
|
} else if (event.type === "usage") {
|
|
1286
1290
|
push({ type: "usage", usage: { promptTokens: event.promptTokens, completionTokens: event.completionTokens } });
|
|
1287
1291
|
} else if (event.type === "tool_event") {
|