@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.
- package/dist/agent/runner.js +1 -1
- package/dist/agent/runner.js.map +1 -1
- package/dist/build-provenance.json +4 -4
- package/dist/history/types.d.ts +1 -1
- package/dist/history/types.js +1 -1
- package/dist/orchestration/agent-cli-session.d.ts +58 -6
- package/dist/orchestration/agent-cli-session.d.ts.map +1 -1
- package/dist/orchestration/agent-cli-session.js +207 -27
- package/dist/orchestration/agent-cli-session.js.map +1 -1
- package/dist/orchestration/context-delivery.d.ts +2 -0
- package/dist/orchestration/context-delivery.d.ts.map +1 -1
- package/dist/orchestration/context-delivery.js +8 -0
- package/dist/orchestration/context-delivery.js.map +1 -1
- package/dist/orchestration/gateway-tasks/computer.d.ts +2 -0
- package/dist/orchestration/gateway-tasks/computer.d.ts.map +1 -1
- package/dist/orchestration/gateway-tasks/computer.js +4 -2
- package/dist/orchestration/gateway-tasks/computer.js.map +1 -1
- package/dist/orchestration/input-images.d.ts +4 -0
- package/dist/orchestration/input-images.d.ts.map +1 -1
- package/dist/orchestration/input-images.js +28 -0
- package/dist/orchestration/input-images.js.map +1 -1
- package/dist/orchestration/runtime.d.ts +3 -0
- package/dist/orchestration/runtime.d.ts.map +1 -1
- package/dist/orchestration/runtime.js +103 -44
- package/dist/orchestration/runtime.js.map +1 -1
- package/dist/orchestration/session-compaction.d.ts.map +1 -1
- package/dist/orchestration/session-compaction.js +16 -6
- package/dist/orchestration/session-compaction.js.map +1 -1
- package/dist/orchestration/tasks/driver.d.ts.map +1 -1
- package/dist/orchestration/tasks/driver.js +8 -1
- package/dist/orchestration/tasks/driver.js.map +1 -1
- package/dist/orchestration/tasks/pool.d.ts +3 -2
- package/dist/orchestration/tasks/pool.d.ts.map +1 -1
- package/dist/orchestration/tasks/pool.js +4 -3
- package/dist/orchestration/tasks/pool.js.map +1 -1
- package/dist/ui/memory-activity.js +1 -1
- package/package.json +1 -1
- package/dist/session/compactor.d.ts +0 -53
- package/dist/session/compactor.d.ts.map +0 -1
- package/dist/session/compactor.js +0 -274
- package/dist/session/compactor.js.map +0 -1
package/dist/agent/runner.js
CHANGED
|
@@ -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
|
-
//
|
|
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);
|