@0xmaxma/claude-gateway 2.1.15 → 2.1.16

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.
Files changed (41) hide show
  1. package/dist/agent/runner.js +1 -1
  2. package/dist/agent/runner.js.map +1 -1
  3. package/dist/build-provenance.json +4 -4
  4. package/dist/history/types.d.ts +1 -1
  5. package/dist/history/types.js +1 -1
  6. package/dist/orchestration/agent-cli-session.d.ts +58 -6
  7. package/dist/orchestration/agent-cli-session.d.ts.map +1 -1
  8. package/dist/orchestration/agent-cli-session.js +207 -27
  9. package/dist/orchestration/agent-cli-session.js.map +1 -1
  10. package/dist/orchestration/context-delivery.d.ts +2 -0
  11. package/dist/orchestration/context-delivery.d.ts.map +1 -1
  12. package/dist/orchestration/context-delivery.js +8 -0
  13. package/dist/orchestration/context-delivery.js.map +1 -1
  14. package/dist/orchestration/gateway-tasks/computer.d.ts +2 -0
  15. package/dist/orchestration/gateway-tasks/computer.d.ts.map +1 -1
  16. package/dist/orchestration/gateway-tasks/computer.js +4 -2
  17. package/dist/orchestration/gateway-tasks/computer.js.map +1 -1
  18. package/dist/orchestration/input-images.d.ts +4 -0
  19. package/dist/orchestration/input-images.d.ts.map +1 -1
  20. package/dist/orchestration/input-images.js +28 -0
  21. package/dist/orchestration/input-images.js.map +1 -1
  22. package/dist/orchestration/runtime.d.ts +3 -0
  23. package/dist/orchestration/runtime.d.ts.map +1 -1
  24. package/dist/orchestration/runtime.js +103 -44
  25. package/dist/orchestration/runtime.js.map +1 -1
  26. package/dist/orchestration/session-compaction.d.ts.map +1 -1
  27. package/dist/orchestration/session-compaction.js +16 -6
  28. package/dist/orchestration/session-compaction.js.map +1 -1
  29. package/dist/orchestration/tasks/driver.d.ts.map +1 -1
  30. package/dist/orchestration/tasks/driver.js +8 -1
  31. package/dist/orchestration/tasks/driver.js.map +1 -1
  32. package/dist/orchestration/tasks/pool.d.ts +3 -2
  33. package/dist/orchestration/tasks/pool.d.ts.map +1 -1
  34. package/dist/orchestration/tasks/pool.js +4 -3
  35. package/dist/orchestration/tasks/pool.js.map +1 -1
  36. package/dist/ui/memory-activity.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/session/compactor.d.ts +0 -53
  39. package/dist/session/compactor.d.ts.map +0 -1
  40. package/dist/session/compactor.js +0 -274
  41. package/dist/session/compactor.js.map +0 -1
@@ -6058,7 +6058,7 @@ class AgentRunner extends events_1.EventEmitter {
6058
6058
  // the upstream catalog does not list (the local `[1m]` ids are exactly
6059
6059
  // that shape) would otherwise drop to the 200k default — reporting
6060
6060
  // /session context use against a fifth of the real window and handing
6061
- // SessionCompactor a window small enough to compact far too early.
6061
+ // nightly session compaction a window small enough to compact far too early.
6062
6062
  return models.find((m) => m.id === modelId)?.contextWindow
6063
6063
  ?? (this.gatewayConfig.gateway.models ?? model_registry_2.DEFAULT_MODELS).find((m) => m.id === modelId)?.contextWindow
6064
6064
  ?? (requireKnown ? 0 : model_catalog_1.DEFAULT_CONTEXT_WINDOW);