agent-afk 5.326.3 → 5.327.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 (32) hide show
  1. package/dist/agent/daemon/handoff-wiring.d.ts +1 -0
  2. package/dist/agent/dag-subagent.d.ts +1 -0
  3. package/dist/agent/outcomes/schema.d.ts +1 -1
  4. package/dist/agent/provider.d.ts +6 -0
  5. package/dist/agent/providers/anthropic-direct/provider-runtime.d.ts +2 -1
  6. package/dist/agent/providers/openai-compatible/complete-wire.d.ts +2 -0
  7. package/dist/agent/providers/openai-compatible/index.d.ts +2 -1
  8. package/dist/agent/providers/shared/model-rejected-error.d.ts +12 -0
  9. package/dist/agent/providers/xai/index.d.ts +2 -1
  10. package/dist/agent/subagent/fork-model-fallback.d.ts +15 -0
  11. package/dist/agent/subagent/fork-types.d.ts +4 -0
  12. package/dist/agent/subagent/handle.d.ts +3 -1
  13. package/dist/agent/subagent/handle.model-fallback.d.ts +14 -0
  14. package/dist/agent/subagent/resolve-child-model.d.ts +11 -0
  15. package/dist/agent/tools/skill-executor/fork-dispatch.d.ts +2 -0
  16. package/dist/agent/tools/subagent/child-config.d.ts +4 -0
  17. package/dist/agent/tools/subagent/child-config.helpers.d.ts +4 -0
  18. package/dist/agent/tools/subagent-executor.execute-once.helpers.d.ts +2 -0
  19. package/dist/agent/trace/events.d.ts +2 -0
  20. package/dist/agent/trace/events.session-phase.d.ts +2 -0
  21. package/dist/agent/trace/types.session-phase.d.ts +1 -1
  22. package/dist/cli/input/suggest-prompt.d.ts +2 -2
  23. package/dist/cli/input/suggest-reply.d.ts +10 -0
  24. package/dist/cli/input/suggest-tier2.d.ts +1 -0
  25. package/dist/cli/input/suggest-types.d.ts +2 -2
  26. package/dist/cli/slash/commands/handoffs.d.ts +4 -0
  27. package/dist/cli.mjs +446 -442
  28. package/dist/index.mjs +211 -209
  29. package/dist/skills/mint/_phases/model-fallback.d.ts +3 -0
  30. package/dist/telegram.mjs +226 -224
  31. package/dist/web-server/routes.handoffs.d.ts +2 -1
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { ServerResponse } from 'node:http';
1
+ import type { IncomingMessage, ServerResponse } from 'node:http';
2
2
  export interface HandoffSummary {
3
3
  taskId: string;
4
4
  sessionId: string;
@@ -14,3 +14,4 @@ export interface HandoffRouteContext {
14
14
  handoffsDir?: string;
15
15
  }
16
16
  export declare function handleListHandoffs(res: ServerResponse, hctx?: HandoffRouteContext): Promise<void>;
17
+ export declare function handleAnswerHandoff(req: IncomingMessage, res: ServerResponse, taskId: string, body: unknown, hctx?: HandoffRouteContext): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.326.3",
3
+ "version": "5.327.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",