@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.
@@ -2091,7 +2091,7 @@ import {
2091
2091
  collabInjectMiddleware,
2092
2092
  estimateRequestTokensCalibrated,
2093
2093
  EventBus,
2094
- createStrategyCompactor as createStrategyCompactor3,
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 = createStrategyCompactor3({
6449
+ const compactor = createStrategyCompactor2({
6450
6450
  strategy: config.context?.strategy,
6451
6451
  preserveK: config.context?.preserveK ?? 10,
6452
6452
  eliseThreshold: config.context?.eliseThreshold ?? 2e3,