agent-afk 5.326.2 → 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 (38) 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/journal/types.d.ts +8 -1
  4. package/dist/agent/outcomes/schema.d.ts +1 -1
  5. package/dist/agent/provider.d.ts +6 -0
  6. package/dist/agent/providers/anthropic-direct/provider-runtime.d.ts +2 -1
  7. package/dist/agent/providers/openai-compatible/complete-wire.d.ts +2 -0
  8. package/dist/agent/providers/openai-compatible/index.d.ts +2 -1
  9. package/dist/agent/providers/shared/model-rejected-error.d.ts +12 -0
  10. package/dist/agent/providers/xai/index.d.ts +2 -1
  11. package/dist/agent/subagent/fork-model-fallback.d.ts +15 -0
  12. package/dist/agent/subagent/fork-types.d.ts +4 -0
  13. package/dist/agent/subagent/handle.d.ts +3 -1
  14. package/dist/agent/subagent/handle.model-fallback.d.ts +14 -0
  15. package/dist/agent/subagent/resolve-child-model.d.ts +11 -0
  16. package/dist/agent/tools/skill-executor/fork-dispatch.d.ts +2 -0
  17. package/dist/agent/tools/subagent/child-config.d.ts +4 -0
  18. package/dist/agent/tools/subagent/child-config.helpers.d.ts +4 -0
  19. package/dist/agent/tools/subagent/root-validation.d.ts +8 -0
  20. package/dist/agent/tools/subagent-executor.execute-once.helpers.d.ts +9 -2
  21. package/dist/agent/trace/events.d.ts +2 -0
  22. package/dist/agent/trace/events.session-phase.d.ts +2 -0
  23. package/dist/agent/trace/types.session-phase.d.ts +1 -1
  24. package/dist/cli/commands/interactive/surface-setup.suggest-record.d.ts +3 -0
  25. package/dist/cli/input/suggest-prompt-state.d.ts +2 -1
  26. package/dist/cli/input/suggest-prompt.d.ts +2 -2
  27. package/dist/cli/input/suggest-reply.d.ts +10 -0
  28. package/dist/cli/input/suggest-tier2.d.ts +3 -1
  29. package/dist/cli/input/suggest-types.d.ts +7 -2
  30. package/dist/cli/input/suggest.d.ts +1 -1
  31. package/dist/cli/slash/commands/handoffs.d.ts +4 -0
  32. package/dist/cli/terminal-compositor.ghost.record.d.ts +5 -0
  33. package/dist/cli.mjs +489 -485
  34. package/dist/index.mjs +224 -222
  35. package/dist/skills/mint/_phases/model-fallback.d.ts +3 -0
  36. package/dist/telegram.mjs +245 -243
  37. package/dist/web-server/routes.handoffs.d.ts +2 -1
  38. 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.2",
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",