@wrongstack/webui 0.141.0 → 0.155.0
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/assets/index-BFp_MWOB.css +2 -0
- package/dist/assets/index-CrAP_pW-.js +93 -0
- package/dist/assets/vendor-C1_detLm.js +81 -0
- package/dist/index.html +3 -3
- package/dist/index.js +1978 -1366
- package/dist/index.js.map +1 -1
- package/dist/server/entry.js +3 -2
- package/dist/server/entry.js.map +1 -1
- package/dist/server/index.js +3 -2
- package/dist/server/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/assets/index-DegAHH7h.css +0 -2
- package/dist/assets/index-uotGTlIy.js +0 -90
- package/dist/assets/vendor-CHXeWZ2s.js +0 -81
package/dist/server/index.js
CHANGED
|
@@ -274,6 +274,7 @@ function createDefaultContainer(opts) {
|
|
|
274
274
|
strategy: config.context?.strategy,
|
|
275
275
|
preserveK: opts.compactor?.preserveK ?? 10,
|
|
276
276
|
eliseThreshold: opts.compactor?.eliseThreshold ?? 2e3,
|
|
277
|
+
smart: true,
|
|
277
278
|
summarizerModel: config.context?.summarizerModel,
|
|
278
279
|
llmSelector: config.context?.llmSelector
|
|
279
280
|
})
|
|
@@ -1981,10 +1982,10 @@ function setupEvents(deps) {
|
|
|
1981
1982
|
events.on("subagent.spawned", (e) => forwardSubagent("spawned", { subagentId: e.subagentId, taskId: e.taskId, name: e.name, provider: e.provider, model: e.model, description: e.description }));
|
|
1982
1983
|
events.on("subagent.task_started", (e) => forwardSubagent("task_started", { subagentId: e.subagentId, taskId: e.taskId, description: e.description }));
|
|
1983
1984
|
events.on("subagent.tool_executed", (e) => forwardSubagent("tool_executed", { subagentId: e.subagentId, toolName: e.name, durationMs: e.durationMs, ok: e.ok }));
|
|
1984
|
-
events.on("subagent.iteration_summary", (e) => forwardSubagent("iteration_summary", { subagentId: e.subagentId, iteration: e.iteration, toolCalls: e.toolCalls, costUsd: e.costUsd, currentTool: e.currentTool }));
|
|
1985
|
+
events.on("subagent.iteration_summary", (e) => forwardSubagent("iteration_summary", { subagentId: e.subagentId, iteration: e.iteration, toolCalls: e.toolCalls, costUsd: e.costUsd, currentTool: e.currentTool, partialText: e.partialText }));
|
|
1985
1986
|
events.on("subagent.budget_extended", (e) => forwardSubagent("budget_extended", { subagentId: e.subagentId, totalExtensions: e.totalExtensions }));
|
|
1986
1987
|
events.on("subagent.ctx_pct", (e) => forwardSubagent("ctx_pct", { subagentId: e.subagentId, load: e.load, tokens: e.tokens, maxContext: e.maxContext }));
|
|
1987
|
-
events.on("subagent.task_completed", (e) => forwardSubagent("task_completed", { subagentId: e.subagentId, status: e.status, iterations: e.iterations, toolCalls: e.toolCalls, error: e.error ? { kind: e.error.kind, message: e.error.message } : void 0 }));
|
|
1988
|
+
events.on("subagent.task_completed", (e) => forwardSubagent("task_completed", { subagentId: e.subagentId, status: e.status, iterations: e.iterations, toolCalls: e.toolCalls, finalText: e.finalText, error: e.error ? { kind: e.error.kind, message: e.error.message } : void 0 }));
|
|
1988
1989
|
}
|
|
1989
1990
|
|
|
1990
1991
|
// src/server/token-estimator.ts
|