agent-afk 5.357.0 → 5.359.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 (31) hide show
  1. package/dist/agent/auth/keychain.d.ts +1 -0
  2. package/dist/agent/outcomes/compute-outcomes.d.ts +1 -0
  3. package/dist/agent/outcomes/git-range.d.ts +1 -0
  4. package/dist/agent/outcomes/outcomes-ledger.d.ts +3 -0
  5. package/dist/agent/outcomes/outcomes-v1.schema.d.ts +2 -0
  6. package/dist/agent/outcomes/schema.d.ts +1 -0
  7. package/dist/agent/providers/anthropic-direct/provider-query-setup.d.ts +1 -0
  8. package/dist/agent/providers/anthropic-direct/query/client-setup.d.ts +2 -0
  9. package/dist/agent/providers/anthropic-direct/query/closed-router-rotate.d.ts +10 -0
  10. package/dist/agent/providers/anthropic-direct/query/prompt-assembly.d.ts +1 -0
  11. package/dist/agent/providers/anthropic-direct/query/usage-limit-park-loop.d.ts +5 -0
  12. package/dist/agent/providers/anthropic-direct/query/usage-limit-pause.d.ts +4 -4
  13. package/dist/agent/providers/anthropic-direct/query-options.d.ts +1 -0
  14. package/dist/agent/providers/anthropic-direct/query-runtime.d.ts +1 -0
  15. package/dist/agent/providers/anthropic-direct/query-turn-driver.d.ts +1 -0
  16. package/dist/agent/providers/anthropic-direct/usage-headers-writer.d.ts +31 -0
  17. package/dist/agent/providers/openai-compatible/system-prompt-wiring.d.ts +1 -0
  18. package/dist/agent/providers/shared/tool-grant.d.ts +1 -0
  19. package/dist/agent/trace/cost.d.ts +0 -1
  20. package/dist/agent/trace/events.d.ts +2 -0
  21. package/dist/agent/trace/events.session-phase.d.ts +2 -0
  22. package/dist/agent/trace/types.session-phase.d.ts +1 -1
  23. package/dist/agent/worktree/worktree-inventory.d.ts +31 -0
  24. package/dist/agent/worktree/worktree-sweep.d.ts +3 -0
  25. package/dist/cli.mjs +512 -506
  26. package/dist/config/env.d.ts +15 -0
  27. package/dist/config/env.misc.d.ts +14 -0
  28. package/dist/index.mjs +410 -406
  29. package/dist/paths.d.ts +1 -0
  30. package/dist/telegram.mjs +439 -435
  31. package/package.json +1 -1
@@ -1866,6 +1866,13 @@ export declare const ENV_REGISTRY: readonly [{
1866
1866
  readonly default: "turn-end";
1867
1867
  readonly example: "boundary";
1868
1868
  readonly category: "misc";
1869
+ }, {
1870
+ readonly name: "AFK_CLOSED_ROUTER";
1871
+ readonly description: string;
1872
+ readonly type: "boolean";
1873
+ readonly required: false;
1874
+ readonly category: "auth";
1875
+ readonly secret: true;
1869
1876
  }, {
1870
1877
  readonly name: "AFK_OTLP_ENDPOINT";
1871
1878
  readonly description: string;
@@ -1880,6 +1887,13 @@ export declare const ENV_REGISTRY: readonly [{
1880
1887
  readonly required: false;
1881
1888
  readonly example: "Authorization=Bearer tok123,X-Org=acme";
1882
1889
  readonly category: "misc";
1890
+ }, {
1891
+ readonly name: "AFK_SKILLS_MANIFEST_ALWAYS";
1892
+ readonly description: string;
1893
+ readonly type: "boolean";
1894
+ readonly required: false;
1895
+ readonly example: "1";
1896
+ readonly category: "misc";
1883
1897
  }, {
1884
1898
  readonly name: "AFK_UNPROVEN_DIAGNOSIS_GATE";
1885
1899
  readonly description: string;
@@ -2003,5 +2017,6 @@ export type EnvObject = {
2003
2017
  };
2004
2018
  export declare const env: EnvObject;
2005
2019
  export declare function isPlainOutputRequested(): boolean;
2020
+ export declare function isSkillManifestAlways(): boolean;
2006
2021
  export type EnvVarName = keyof EnvObject;
2007
2022
  export { getEnvVarMeta, getMissingRequiredEnvVars, isEnvVarSet, getEnvVarValue, isExplicitlyDisabled, isExplicitlyEnabled, } from './env-helpers.js';
@@ -179,6 +179,13 @@ export declare const MISC_ENV_REGISTRY: readonly [{
179
179
  readonly default: "turn-end";
180
180
  readonly example: "boundary";
181
181
  readonly category: "misc";
182
+ }, {
183
+ readonly name: "AFK_CLOSED_ROUTER";
184
+ readonly description: string;
185
+ readonly type: "boolean";
186
+ readonly required: false;
187
+ readonly category: "auth";
188
+ readonly secret: true;
182
189
  }, {
183
190
  readonly name: "AFK_OTLP_ENDPOINT";
184
191
  readonly description: string;
@@ -193,4 +200,11 @@ export declare const MISC_ENV_REGISTRY: readonly [{
193
200
  readonly required: false;
194
201
  readonly example: "Authorization=Bearer tok123,X-Org=acme";
195
202
  readonly category: "misc";
203
+ }, {
204
+ readonly name: "AFK_SKILLS_MANIFEST_ALWAYS";
205
+ readonly description: string;
206
+ readonly type: "boolean";
207
+ readonly required: false;
208
+ readonly example: "1";
209
+ readonly category: "misc";
196
210
  }];