agent-afk 5.290.4 → 5.291.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 (81) hide show
  1. package/dist/agent/awareness/types.d.ts +4 -0
  2. package/dist/agent/daemon/budget-gate.d.ts +31 -0
  3. package/dist/agent/daemon/gates.d.ts +1 -1
  4. package/dist/agent/daemon/scheduler.d.ts +2 -0
  5. package/dist/agent/daemon/scheduler.overlap-guard.d.ts +2 -0
  6. package/dist/agent/daemon/tool-health-task.d.ts +17 -0
  7. package/dist/agent/daemon/triggers.d.ts +1 -1
  8. package/dist/agent/facets/schema.d.ts +10 -2
  9. package/dist/agent/outcomes/schema.d.ts +1 -1
  10. package/dist/agent/peer/admission-queue.d.ts +39 -0
  11. package/dist/agent/peer/inbox-store.d.ts +2 -0
  12. package/dist/agent/provider.d.ts +1 -0
  13. package/dist/agent/providers/anthropic-direct/auth.d.ts +2 -1
  14. package/dist/agent/providers/anthropic-direct/beta-headers.d.ts +2 -0
  15. package/dist/agent/providers/anthropic-direct/input-transformations.d.ts +3 -0
  16. package/dist/agent/providers/anthropic-direct/loop/round-request.d.ts +1 -1
  17. package/dist/agent/providers/anthropic-direct/query/turn-request.d.ts +1 -0
  18. package/dist/agent/providers/anthropic-direct/query-options.d.ts +2 -0
  19. package/dist/agent/providers/anthropic-direct/query-runtime.d.ts +3 -0
  20. package/dist/agent/providers/anthropic-direct/query-turn-driver.d.ts +1 -0
  21. package/dist/agent/providers/anthropic-direct/request-types.d.ts +8 -1
  22. package/dist/agent/providers/anthropic-direct/resolve-params.d.ts +4 -1
  23. package/dist/agent/providers/openai-compatible/complete-wire.d.ts +11 -0
  24. package/dist/agent/providers/openai-compatible/oneshot.d.ts +1 -0
  25. package/dist/agent/providers/openai-compatible/query/client.d.ts +1 -0
  26. package/dist/agent/providers/openai-compatible/query/overload-pause-tier.d.ts +1 -0
  27. package/dist/agent/providers/router/provider-router.d.ts +2 -0
  28. package/dist/agent/providers/router/provider-router.switch.d.ts +4 -0
  29. package/dist/agent/providers/shared/compaction.d.ts +4 -0
  30. package/dist/agent/providers/shared/rate-limit-bucket.d.ts +18 -0
  31. package/dist/agent/providers/shared/rate-limit-bucket.registry.d.ts +3 -0
  32. package/dist/agent/providers/shared/transient-retry.d.ts +18 -0
  33. package/dist/agent/providers/shared/transient-retry.trace.d.ts +3 -0
  34. package/dist/agent/session/model-slots.d.ts +1 -0
  35. package/dist/agent/state/state-store.d.ts +1 -0
  36. package/dist/agent/subagent/usage-limit-park-policy.d.ts +3 -0
  37. package/dist/agent/tools/dispatcher.batch-process.d.ts +4 -0
  38. package/dist/agent/tools/dispatcher.d.ts +1 -0
  39. package/dist/agent/tools/dispatcher.execute-batch.d.ts +2 -0
  40. package/dist/agent/tools/handlers/worktree-managed.d.ts +1 -0
  41. package/dist/agent/tools/tool-health-monitor.d.ts +26 -0
  42. package/dist/agent/tools/usage-notice.d.ts +8 -0
  43. package/dist/agent/trace/events.d.ts +13 -0
  44. package/dist/agent/trace/events.session-phase.d.ts +4 -0
  45. package/dist/agent/trace/types.d.ts +3 -13
  46. package/dist/agent/trace/types.session-phase.d.ts +12 -0
  47. package/dist/agent/types/session-types.d.ts +1 -0
  48. package/dist/agent/usage/codex-usage.d.ts +12 -0
  49. package/dist/agent/usage/usage-budget.d.ts +24 -0
  50. package/dist/agent/usage/usage-formatter.d.ts +52 -0
  51. package/dist/agent/usage/usage-http.d.ts +11 -0
  52. package/dist/agent/usage/usage-ledger.d.ts +13 -0
  53. package/dist/agent/usage/usage-record.d.ts +37 -0
  54. package/dist/agent/usage/usage-snapshot.d.ts +21 -0
  55. package/dist/cli/commands/daemon-builtin-tasks.d.ts +15 -0
  56. package/dist/cli/commands/interactive/interactive.cleanup.d.ts +6 -1
  57. package/dist/cli/commands/interactive/loop-iteration.boundary.d.ts +36 -0
  58. package/dist/cli/commands/interactive/peer-inbox-notifier.d.ts +11 -1
  59. package/dist/cli/commands/interactive/shared.d.ts +4 -1
  60. package/dist/cli/commands/interactive/surface-setup.suggest-config.d.ts +0 -1
  61. package/dist/cli/commands/usage.d.ts +9 -0
  62. package/dist/cli/config/json-tier-parse.daemon.d.ts +2 -0
  63. package/dist/cli/config/types.d.ts +8 -0
  64. package/dist/cli/constants.d.ts +0 -2
  65. package/dist/cli/input/suggest-credential.d.ts +10 -0
  66. package/dist/cli/input/suggest-types.d.ts +2 -1
  67. package/dist/cli/session-store.d.ts +6 -1
  68. package/dist/cli/tool-category.d.ts +1 -0
  69. package/dist/cli.mjs +491 -474
  70. package/dist/config/env.d.ts +38 -0
  71. package/dist/config/env.daemon.d.ts +22 -0
  72. package/dist/config/env.misc.d.ts +8 -0
  73. package/dist/config/env.model-tiers.d.ts +8 -0
  74. package/dist/index.mjs +216 -208
  75. package/dist/paths.daemon.d.ts +1 -0
  76. package/dist/telegram.mjs +189 -180
  77. package/dist/web-ui-assets/assets/{index-MIgeDul2.js → index-BtgJsRFJ.js} +1 -1
  78. package/dist/web-ui-assets/assets/index-gg5vv6YH.js +380 -0
  79. package/dist/web-ui-assets/index.html +1 -1
  80. package/package.json +2 -3
  81. package/dist/web-ui-assets/assets/index-CpbGrtNj.js +0 -380
@@ -7,7 +7,7 @@
7
7
  <meta name="afk-token" content="__AFK_WEB_TOKEN__" />
8
8
  <link rel="icon" href="/brand-mark.svg" type="image/svg+xml" />
9
9
  <title>AFK Dashboard</title>
10
- <script type="module" crossorigin src="/assets/index-CpbGrtNj.js"></script>
10
+ <script type="module" crossorigin src="/assets/index-gg5vv6YH.js"></script>
11
11
  <link rel="stylesheet" crossorigin href="/assets/index-PzcVW5-O.css">
12
12
  </head>
13
13
  <body class="bg-background text-foreground antialiased">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.290.4",
3
+ "version": "5.291.0",
4
4
  "description": "Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -130,7 +130,7 @@
130
130
  "@vscode/ripgrep": "^1.18.0",
131
131
  "ansi-escapes": "^7.3.0",
132
132
  "better-sqlite3": "^13.0.0",
133
- "chalk": "^5.3.0",
133
+ "chalk": "^6.0.1",
134
134
  "commander": "^12.1.0",
135
135
  "dotenv": "^16.4.7",
136
136
  "emphasize": "^7.0.0",
@@ -150,7 +150,6 @@
150
150
  },
151
151
  "devDependencies": {
152
152
  "@types/better-sqlite3": "^9.6.0",
153
- "@types/jest": "^30.0.0",
154
153
  "@types/jsdom": "^28.0.3",
155
154
  "@types/node": "^22.19.10",
156
155
  "@types/node-cron": "^3.0.11",