agent-afk 5.302.12 → 5.303.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.
Files changed (41) hide show
  1. package/dist/agent/abort-graph.d.ts +2 -1
  2. package/dist/agent/afk-mode-gate.d.ts +0 -1
  3. package/dist/agent/agents/index.d.ts +2 -4
  4. package/dist/agent/auth/model-availability.d.ts +2 -1
  5. package/dist/agent/branch/branch-prune.d.ts +2 -2
  6. package/dist/agent/companion/index.d.ts +1 -1
  7. package/dist/agent/daemon/budget-gate.d.ts +2 -1
  8. package/dist/agent/daemon/handoff-store.d.ts +2 -1
  9. package/dist/agent/daemon/scheduler.d.ts +1 -1
  10. package/dist/agent/daemon/scheduler.execute-agent-task.d.ts +2 -1
  11. package/dist/agent/daemon/scheduler.pull-tick.d.ts +1 -2
  12. package/dist/agent/daemon/tool-health-task.d.ts +0 -1
  13. package/dist/agent/daemon/triggers.d.ts +0 -2
  14. package/dist/agent/effect-ledger/index.d.ts +0 -3
  15. package/dist/agent/facets/yield-probe.d.ts +1 -1
  16. package/dist/agent/index.d.ts +1 -1
  17. package/dist/agent/journal/journal-file.d.ts +1 -0
  18. package/dist/agent/journal/types.d.ts +1 -0
  19. package/dist/agent/outcomes/schema.d.ts +1 -1
  20. package/dist/agent/provider.d.ts +2 -0
  21. package/dist/agent/providers/anthropic-direct/loop/connection-create.d.ts +19 -0
  22. package/dist/agent/providers/anthropic-direct/loop/round-request.d.ts +2 -11
  23. package/dist/agent/providers/openai-compatible/query/stream-drive.connection.d.ts +1 -1
  24. package/dist/agent/providers/openai-compatible/query/stream-drive.d.ts +1 -0
  25. package/dist/agent/providers/shared/connection-loop-lag.d.ts +4 -0
  26. package/dist/agent/providers/shared/connection-retry-budget.d.ts +10 -0
  27. package/dist/agent/providers/shared/tool-loop-cap.d.ts +1 -0
  28. package/dist/agent/subagent/capped-handoff.d.ts +26 -0
  29. package/dist/agent/subagent/result.d.ts +2 -1
  30. package/dist/agent/trace/events.d.ts +6 -0
  31. package/dist/agent/trace/events.session-phase.d.ts +6 -0
  32. package/dist/agent/trace/types.d.ts +6 -0
  33. package/dist/agent/trace/types.session-phase.d.ts +1 -1
  34. package/dist/agent/types/session-types.d.ts +2 -0
  35. package/dist/cli.mjs +355 -350
  36. package/dist/config/env.d.ts +7 -0
  37. package/dist/config/env.model.d.ts +7 -0
  38. package/dist/index.mjs +146 -141
  39. package/dist/telegram.mjs +171 -166
  40. package/package.json +1 -2
  41. package/dist/cli/commands/interactive/task-view.d.ts +0 -11
@@ -12,6 +12,13 @@ export interface EnvVarMeta {
12
12
  readonly secret?: boolean;
13
13
  }
14
14
  export declare const ENV_REGISTRY: readonly [{
15
+ readonly name: "AFK_CONNECT_RETRY_BUDGET_MS";
16
+ readonly description: "Experimental streaming connection retry wall budget in milliseconds. Positive finite value enables capped jittered backoff before the stream opens; unset or invalid preserves legacy retry counts. In-flight attempts retain existing timeouts.";
17
+ readonly type: "number";
18
+ readonly required: false;
19
+ readonly example: "120000";
20
+ readonly category: "model";
21
+ }, {
15
22
  readonly name: "AFK_COMPACT_KEEP_LAST_TURNS";
16
23
  readonly description: "Number of recent turns the compactor keeps verbatim during /compact. Default tuned in compact-handler.ts.";
17
24
  readonly type: "number";
@@ -1,4 +1,11 @@
1
1
  export declare const MODEL_ENV_REGISTRY: readonly [{
2
+ readonly name: "AFK_CONNECT_RETRY_BUDGET_MS";
3
+ readonly description: "Experimental streaming connection retry wall budget in milliseconds. Positive finite value enables capped jittered backoff before the stream opens; unset or invalid preserves legacy retry counts. In-flight attempts retain existing timeouts.";
4
+ readonly type: "number";
5
+ readonly required: false;
6
+ readonly example: "120000";
7
+ readonly category: "model";
8
+ }, {
2
9
  readonly name: "AFK_COMPACT_KEEP_LAST_TURNS";
3
10
  readonly description: "Number of recent turns the compactor keeps verbatim during /compact. Default tuned in compact-handler.ts.";
4
11
  readonly type: "number";