agent-afk 5.356.0 → 5.357.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/auth/credential-resolver.d.ts +2 -1
  2. package/dist/agent/dag-subagent.d.ts +1 -0
  3. package/dist/agent/lsp/client-handlers.d.ts +4 -0
  4. package/dist/agent/lsp/client.d.ts +9 -0
  5. package/dist/agent/lsp/diagnostics-store.d.ts +1 -0
  6. package/dist/agent/lsp/document-sync.d.ts +3 -1
  7. package/dist/agent/lsp/install.d.ts +10 -0
  8. package/dist/agent/lsp/pool.d.ts +1 -0
  9. package/dist/agent/lsp/query.d.ts +1 -0
  10. package/dist/agent/prompt-experiment.d.ts +2 -0
  11. package/dist/agent/providers/anthropic-direct/build-dispatcher.d.ts +2 -0
  12. package/dist/agent/providers/anthropic-direct/provider-options.d.ts +1 -0
  13. package/dist/agent/providers/anthropic-direct/provider-runtime.d.ts +1 -0
  14. package/dist/agent/providers/anthropic-direct/query/compact-handler.d.ts +1 -1
  15. package/dist/agent/providers/anthropic-direct/query-maintenance.d.ts +1 -1
  16. package/dist/agent/providers/anthropic-direct/query-runtime.d.ts +1 -1
  17. package/dist/agent/providers/anthropic-direct/query-turn-driver.d.ts +1 -1
  18. package/dist/agent/providers/index.d.ts +1 -0
  19. package/dist/agent/providers/openai-compatible/compact.d.ts +1 -1
  20. package/dist/agent/providers/openai-compatible/index.dispatcher-opts.d.ts +4 -2
  21. package/dist/agent/providers/openai-compatible/index.options.d.ts +1 -0
  22. package/dist/agent/providers/openai-compatible/query/compact-handler.d.ts +1 -1
  23. package/dist/agent/providers/shared/compaction.d.ts +1 -0
  24. package/dist/agent/providers/shared/compaction.summarizer-input.d.ts +4 -1
  25. package/dist/agent/providers/shared/lsp-install-eligibility.d.ts +2 -0
  26. package/dist/agent/session/ledger-lifecycle.d.ts +2 -0
  27. package/dist/agent/session/provider-lifecycle.d.ts +2 -1
  28. package/dist/agent/session/wire-executors.d.ts +2 -1
  29. package/dist/agent/subagent/identity-preamble.d.ts +1 -1
  30. package/dist/agent/subagent/identity-preamble.worktree.d.ts +3 -0
  31. package/dist/agent/tool-category.d.ts +2 -1
  32. package/dist/agent/tools/compose-input-parse.d.ts +1 -0
  33. package/dist/agent/tools/dispatcher.d.ts +4 -2
  34. package/dist/agent/tools/dispatcher.handler-context.d.ts +4 -0
  35. package/dist/agent/tools/dispatcher.ledger.d.ts +6 -1
  36. package/dist/agent/tools/dispatcher.options.d.ts +2 -0
  37. package/dist/agent/tools/dispatcher.pre-dispatch-gates.bash.d.ts +6 -0
  38. package/dist/agent/tools/dispatcher.pre-dispatch-gates.d.ts +1 -0
  39. package/dist/agent/tools/handlers/grep.pipe-retry.d.ts +2 -2
  40. package/dist/agent/tools/handlers/lsp-diagnostics.d.ts +2 -2
  41. package/dist/agent/tools/handlers/lsp-install-consent.d.ts +3 -0
  42. package/dist/agent/tools/handlers/lsp-refactor-actions.d.ts +21 -0
  43. package/dist/agent/tools/handlers/lsp-refactor-input.d.ts +16 -0
  44. package/dist/agent/tools/handlers/lsp-refactor-symbols.d.ts +10 -0
  45. package/dist/agent/tools/handlers/lsp-refactor.d.ts +4 -0
  46. package/dist/agent/tools/handlers/lsp-server.d.ts +15 -0
  47. package/dist/agent/tools/handlers/lsp-symbols.d.ts +2 -1
  48. package/dist/agent/tools/handlers/lsp-workspace-edit-parse.d.ts +19 -0
  49. package/dist/agent/tools/handlers/lsp-workspace-edit.d.ts +18 -0
  50. package/dist/agent/tools/handlers/patch-apply-engine.d.ts +1 -1
  51. package/dist/agent/tools/handlers/patch-apply-guard.d.ts +2 -0
  52. package/dist/agent/tools/handlers/worktree.create-note.d.ts +1 -0
  53. package/dist/agent/tools/nesting.d.ts +1 -0
  54. package/dist/agent/tools/readonly-bash.destructive-git.d.ts +8 -0
  55. package/dist/agent/tools/readonly-bash.destructive-git.heredoc.d.ts +7 -0
  56. package/dist/agent/tools/readonly-bash.destructive-git.nested.d.ts +5 -0
  57. package/dist/agent/tools/readonly-bash.tokenizer.d.ts +5 -0
  58. package/dist/agent/tools/subagent/input-parse.d.ts +1 -0
  59. package/dist/agent/tools/subagent-executor.execute-once.helpers.d.ts +1 -1
  60. package/dist/agent/tools/types.d.ts +1 -0
  61. package/dist/agent/trace/emit.d.ts +2 -1
  62. package/dist/agent/trace/events.compaction.d.ts +2 -0
  63. package/dist/agent/trace/events.d.ts +2 -0
  64. package/dist/agent/trace/types.compaction.d.ts +36 -0
  65. package/dist/agent/trace/types.d.ts +2 -34
  66. package/dist/agent/trace/writer.d.ts +2 -1
  67. package/dist/agent/types/config-types.d.ts +1 -0
  68. package/dist/agent/worktree/isolated-slug.d.ts +11 -0
  69. package/dist/agent/worktree/worktree-scratch.d.ts +13 -0
  70. package/dist/agent/worktree/worktree-sweep.classify.d.ts +1 -0
  71. package/dist/bundled-plugins/awa-bundled/skills/diagnose/SKILL.md +1 -1
  72. package/dist/bundled-plugins/awa-bundled/skills/refactor/SKILL.md +1 -1
  73. package/dist/bundled-plugins/awa-bundled/skills/ship/SKILL.md +17 -8
  74. package/dist/cli/slash/plugin-skills/state.d.ts +1 -0
  75. package/dist/cli.mjs +672 -654
  76. package/dist/config/env.d.ts +14 -0
  77. package/dist/config/env.prompt-experiment.d.ts +15 -0
  78. package/dist/index.mjs +491 -473
  79. package/dist/remote/remote-subagent-handle.d.ts +5 -2
  80. package/dist/telegram.mjs +533 -516
  81. package/package.json +1 -1
@@ -14,6 +14,7 @@ export declare class RemoteSubagentHandle implements SubagentHandle<string> {
14
14
  readonly session: IAgentSession;
15
15
  private _status;
16
16
  private _durationMs;
17
+ private _inFlight;
17
18
  private readonly _controller;
18
19
  private readonly _request;
19
20
  private readonly _deps;
@@ -22,9 +23,11 @@ export declare class RemoteSubagentHandle implements SubagentHandle<string> {
22
23
  get durationMs(): number | undefined;
23
24
  run(_prompt: string | ContentBlockParam[]): Promise<Message>;
24
25
  runToResult(_prompt: string | ContentBlockParam[]): Promise<SubagentResult<string>>;
25
- runInBackground(prompt: string, onResult?: (result: SubagentResult<string>) => void): void;
26
+ runInBackground(prompt: string, onResult?: (result: SubagentResult<string>) => void, _onProgress?: (event: import('../agent/types/session-types.js').OutputEvent) => void): void;
26
27
  cancel(): Promise<void>;
27
- teardown(): Promise<void>;
28
+ teardown(_options?: {
29
+ deferInjectContextToCaller?: boolean;
30
+ }): Promise<void>;
28
31
  getLastStopInjectContext(): string | undefined;
29
32
  sendMessage(_text: string): void;
30
33
  steer(_text: string): void;