@yeaft/webchat-agent 1.0.365 → 1.0.367
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/local-runtime/server/handlers/agent-output.js +3 -0
- package/local-runtime/server/handlers/client-conversation.js +4 -0
- package/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +97 -97
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +1 -1
- package/package.json +1 -1
- package/yeaft/conversation/persist.js +223 -14
- package/yeaft/tools/create-work-item.js +8 -8
- package/yeaft/web-bridge.js +71 -7
- package/yeaft/work-center/controller.js +12 -2
- package/yeaft/work-center/coordinator.js +156 -26
- package/yeaft/work-center/durable-model.js +51 -1
- package/yeaft/work-center/dynamic-coordination.js +243 -0
- package/yeaft/work-center/execution-mode.js +16 -0
- package/yeaft/work-center/mainline-projection.js +25 -13
- package/yeaft/work-center/projection.js +32 -9
- package/yeaft/work-center/runner.js +18 -13
- package/yeaft/work-center/service.js +86 -13
- package/yeaft/work-center/store.js +535 -60
|
@@ -803,6 +803,9 @@ export async function handleAgentOutput(agentId, agent, msg) {
|
|
|
803
803
|
hasMore: !!msg.hasMore,
|
|
804
804
|
latestSeq: msg.latestSeq ?? null,
|
|
805
805
|
afterSeq: msg.afterSeq ?? null,
|
|
806
|
+
hasMoreAfter: !!msg.hasMoreAfter,
|
|
807
|
+
streamId: msg.streamId ?? null,
|
|
808
|
+
revision: msg.revision ?? null,
|
|
806
809
|
turns: msg.turns ?? null,
|
|
807
810
|
pageKind: msg.pageKind === 'gap' ? 'gap' : (msg.pageKind || null),
|
|
808
811
|
gapStopAtSeq: msg.gapStopAtSeq ?? null,
|
|
@@ -1265,6 +1265,10 @@ export async function handleClientConversation(clientId, client, msg, checkAgent
|
|
|
1265
1265
|
...(typeof msg.perfTraceId === 'string' ? { perfTraceId: msg.perfTraceId } : {}),
|
|
1266
1266
|
...(Number.isFinite(msg.afterSeq) ? { afterSeq: msg.afterSeq } : {}),
|
|
1267
1267
|
...(typeof msg.afterMessageId === 'string' ? { afterMessageId: msg.afterMessageId } : {}),
|
|
1268
|
+
...(Number.isFinite(msg.maxRows) ? { maxRows: msg.maxRows } : {}),
|
|
1269
|
+
...(Number.isFinite(msg.maxBytes) ? { maxBytes: msg.maxBytes } : {}),
|
|
1270
|
+
...(typeof msg.streamId === 'string' ? { streamId: msg.streamId } : {}),
|
|
1271
|
+
...(Number.isFinite(msg.revision) ? { revision: msg.revision } : {}),
|
|
1268
1272
|
_requestClientId: clientId,
|
|
1269
1273
|
};
|
|
1270
1274
|
if (forwarded.perfTraceId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.367"}
|