agent-afk 5.326.3 → 5.327.1

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 (42) 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/browser/real-chrome-probe.d.ts +3 -1
  23. package/dist/cli/commands/acp.d.ts +2 -0
  24. package/dist/cli/commands/acp.server.d.ts +12 -0
  25. package/dist/cli/commands/acp.server.protocol.d.ts +48 -0
  26. package/dist/cli/commands/acp.session.d.ts +17 -0
  27. package/dist/cli/input/suggest-prompt.d.ts +2 -2
  28. package/dist/cli/input/suggest-reply.d.ts +10 -0
  29. package/dist/cli/input/suggest-tier2.d.ts +1 -0
  30. package/dist/cli/input/suggest-types.d.ts +2 -2
  31. package/dist/cli/slash/commands/export.d.ts +2 -0
  32. package/dist/cli/slash/commands/export.render-html.d.ts +3 -0
  33. package/dist/cli/slash/commands/export.render-md.d.ts +2 -0
  34. package/dist/cli/slash/commands/handoffs.d.ts +4 -0
  35. package/dist/cli.mjs +599 -511
  36. package/dist/config/env.d.ts +12 -0
  37. package/dist/config/env.paths.d.ts +12 -0
  38. package/dist/index.mjs +214 -211
  39. package/dist/skills/mint/_phases/model-fallback.d.ts +3 -0
  40. package/dist/telegram.mjs +229 -226
  41. package/dist/web-server/routes.handoffs.d.ts +2 -1
  42. 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.1",
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",