agent-afk 5.286.1 → 5.287.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 (59) hide show
  1. package/dist/agent/awareness/presence.d.ts +5 -0
  2. package/dist/agent/awareness/presence.peer.d.ts +7 -0
  3. package/dist/agent/peer/envelope.d.ts +18 -0
  4. package/dist/agent/peer/guards.d.ts +18 -0
  5. package/dist/agent/peer/inbound-mode.d.ts +2 -0
  6. package/dist/agent/peer/inbox-store.d.ts +27 -0
  7. package/dist/agent/peer/send.d.ts +18 -0
  8. package/dist/agent/tools/handlers/index.d.ts +2 -1
  9. package/dist/agent/tools/handlers/peer.d.ts +4 -0
  10. package/dist/agent/tools/schemas.d.ts +1 -0
  11. package/dist/agent/tools/schemas.peer.d.ts +4 -0
  12. package/dist/agent/tools/system-prompt.d.ts +2 -1
  13. package/dist/agent/trace/emit.d.ts +2 -1
  14. package/dist/agent/trace/events.d.ts +49 -0
  15. package/dist/agent/trace/index.d.ts +3 -2
  16. package/dist/agent/trace/types.d.ts +17 -1
  17. package/dist/bundled-plugins/awa-bundled/skills/review/SKILL.md +2 -0
  18. package/dist/cli/commands/interactive/bootstrap-resume.d.ts +11 -0
  19. package/dist/cli/commands/interactive/bootstrap-sidebands.d.ts +3 -0
  20. package/dist/cli/commands/interactive/footer-painters.d.ts +12 -0
  21. package/dist/cli/commands/interactive/footer-subsystems.d.ts +2 -0
  22. package/dist/cli/commands/interactive/footer-subsystems.peer.d.ts +3 -0
  23. package/dist/cli/commands/interactive/loop-iteration.drain.d.ts +3 -0
  24. package/dist/cli/commands/interactive/loop-iteration.hooks.d.ts +7 -0
  25. package/dist/cli/commands/interactive/loop-iteration.injections.d.ts +6 -0
  26. package/dist/cli/commands/interactive/loop-iteration.shell-branch.d.ts +7 -0
  27. package/dist/cli/commands/interactive/loop-iteration.slash-branch.d.ts +19 -0
  28. package/dist/cli/commands/interactive/loop-iteration.turn-run.d.ts +12 -0
  29. package/dist/cli/commands/interactive/peer-inbox-notifier.d.ts +48 -0
  30. package/dist/cli/commands/interactive/peer-inbox-scan.d.ts +18 -0
  31. package/dist/cli/commands/interactive/peer-inbox-startup-sweep.d.ts +1 -0
  32. package/dist/cli/commands/interactive/shared.d.ts +3 -0
  33. package/dist/cli/commands/trace-event-render.d.ts +8 -0
  34. package/dist/cli/commands/trace-lifecycle-render.d.ts +3 -0
  35. package/dist/cli/commands/trace-peer-format.d.ts +2 -0
  36. package/dist/cli/commands/trace-phase-render.d.ts +2 -0
  37. package/dist/cli/commands/trace-summary-render.d.ts +13 -0
  38. package/dist/cli/commands/trace.d.ts +2 -7
  39. package/dist/cli/slash/commands/inbox.d.ts +4 -0
  40. package/dist/cli/slash/commands/name.d.ts +2 -0
  41. package/dist/cli/slash/commands/peers.d.ts +2 -0
  42. package/dist/cli.mjs +422 -413
  43. package/dist/config/env.auth.d.ts +141 -0
  44. package/dist/config/env.d.ts +72 -49
  45. package/dist/config/env.daemon.d.ts +166 -0
  46. package/dist/config/env.debug.d.ts +162 -0
  47. package/dist/config/env.misc.d.ts +136 -0
  48. package/dist/config/env.model-tiers.d.ts +230 -0
  49. package/dist/config/env.model.d.ts +199 -0
  50. package/dist/config/env.paths.d.ts +42 -0
  51. package/dist/config/env.peer.d.ts +31 -0
  52. package/dist/config/env.telegram.d.ts +77 -0
  53. package/dist/config/env.ui.d.ts +112 -0
  54. package/dist/index.mjs +163 -159
  55. package/dist/paths.d.ts +1 -0
  56. package/dist/paths.peer.d.ts +2 -0
  57. package/dist/telegram.mjs +204 -200
  58. package/dist/utils/atomic-write.d.ts +1 -0
  59. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import type { SessionPhasePayload } from '../../agent/trace/index.js';
2
+ export declare function renderSessionPhase(p: SessionPhasePayload, showAll: boolean, line: (kind: string, detail: string) => string): string | null;
@@ -0,0 +1,13 @@
1
+ import type { TraceEvent } from '../../agent/trace/index.js';
2
+ interface ParsedTrace {
3
+ events: TraceEvent[];
4
+ malformed: number;
5
+ }
6
+ export interface FormatTraceOptions {
7
+ showAll?: boolean;
8
+ limit?: number;
9
+ resultFor?: (toolUseId: string) => string | null;
10
+ resultsNote?: string;
11
+ }
12
+ export declare function formatTrace(sessionId: string, tracePath: string, parsed: ParsedTrace, options?: FormatTraceOptions): string;
13
+ export {};
@@ -3,6 +3,8 @@ import type { TraceEvent } from '../../agent/trace/index.js';
3
3
  import { listTraces, resolveLatestSession } from '../../agent/trace/listing.js';
4
4
  export type { TraceDirEntry } from '../../agent/trace/listing.js';
5
5
  export { listTraces, resolveLatestSession };
6
+ export type { FormatTraceOptions } from './trace-summary-render.js';
7
+ export { formatTrace } from './trace-summary-render.js';
6
8
  export interface ParsedTrace {
7
9
  events: TraceEvent[];
8
10
  malformed: number;
@@ -12,11 +14,4 @@ export declare function loadTrace(session: string): Promise<{
12
14
  sessionId: string;
13
15
  tracePath: string;
14
16
  } & ParsedTrace>;
15
- export interface FormatTraceOptions {
16
- showAll?: boolean;
17
- limit?: number;
18
- resultFor?: (toolUseId: string) => string | null;
19
- resultsNote?: string;
20
- }
21
- export declare function formatTrace(sessionId: string, tracePath: string, parsed: ParsedTrace, options?: FormatTraceOptions): string;
22
17
  export declare function registerTraceCommand(program: Command): void;
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '../types.js';
2
+ import type { PeerInboxNotifier } from '../../commands/interactive/peer-inbox-notifier.js';
3
+ export declare function setPeerNotifier(notifier: PeerInboxNotifier, getSessionId: () => string | undefined): void;
4
+ export declare const inboxCmd: SlashCommand;
@@ -1,2 +1,4 @@
1
1
  import type { SlashCommand } from '../types.js';
2
+ import type { PeerInboxNotifier } from '../../commands/interactive/peer-inbox-notifier.js';
3
+ export declare function setNamePeerNotifier(notifier: PeerInboxNotifier): void;
2
4
  export declare const nameCmd: SlashCommand;
@@ -0,0 +1,2 @@
1
+ import type { SlashCommand } from '../types.js';
2
+ export declare const peersCmd: SlashCommand;