@wrongstack/webui 0.268.0 → 0.270.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-Dlznb4DM.js → index-BXhn7A6t.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/server/entry.js +2 -2
- package/dist/server/entry.js.map +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/dist/server/index.js
CHANGED
|
@@ -2091,7 +2091,7 @@ import {
|
|
|
2091
2091
|
collabInjectMiddleware,
|
|
2092
2092
|
estimateRequestTokensCalibrated,
|
|
2093
2093
|
EventBus,
|
|
2094
|
-
createStrategyCompactor as
|
|
2094
|
+
createStrategyCompactor as createStrategyCompactor2,
|
|
2095
2095
|
ProviderRegistry,
|
|
2096
2096
|
TOKENS as TOKENS2,
|
|
2097
2097
|
ToolRegistry,
|
|
@@ -6446,7 +6446,7 @@ async function startWebUI(opts = {}) {
|
|
|
6446
6446
|
const collabInject = collabInjectMiddleware(collabBus, { logger });
|
|
6447
6447
|
Object.defineProperty(collabInject, "name", { value: "collab-inject" });
|
|
6448
6448
|
pipelines.toolCall.prepend(collabInject);
|
|
6449
|
-
const compactor =
|
|
6449
|
+
const compactor = createStrategyCompactor2({
|
|
6450
6450
|
strategy: config.context?.strategy,
|
|
6451
6451
|
preserveK: config.context?.preserveK ?? 10,
|
|
6452
6452
|
eliseThreshold: config.context?.eliseThreshold ?? 2e3,
|