agent-afk 5.310.13 → 5.310.14

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.
@@ -18,6 +18,7 @@ export interface HandoffRecord {
18
18
  answer?: unknown;
19
19
  answeredAt?: string;
20
20
  answerSource?: string;
21
+ responderIdentity?: string;
21
22
  originalCommand: string;
22
23
  telegramMessageId?: number;
23
24
  }
@@ -26,5 +27,5 @@ export declare function readHandoff(taskId: string, handoffsDir?: string): Promi
26
27
  export declare function deleteHandoff(taskId: string, handoffsDir?: string): Promise<void>;
27
28
  export declare function listPendingHandoffs(handoffsDir?: string): Promise<HandoffRecord[]>;
28
29
  export declare function withHandoffLock<T>(taskId: string, handoffsDir: string, cb: () => Promise<T>): Promise<T | null>;
29
- export declare function updateHandoffAnswer(taskId: string, answer: unknown, source: string, handoffsDir?: string): Promise<UpdateHandoffResult>;
30
+ export declare function updateHandoffAnswer(taskId: string, answer: unknown, source: string, handoffsDir?: string, responderIdentity?: string): Promise<UpdateHandoffResult>;
30
31
  export {};
@@ -15,5 +15,5 @@ export interface RecoveryResult {
15
15
  expired: number;
16
16
  }
17
17
  export declare function recoverPendingHandoffs(handoffsDir?: string, queueDir?: string, bot?: Telegraf): Promise<RecoveryResult>;
18
- export declare function answerHandoff(taskId: string, answer: unknown, source: string, handoffsDir?: string): Promise<boolean>;
18
+ export declare function answerHandoff(taskId: string, answer: unknown, source: string, handoffsDir?: string, responderIdentity?: string): Promise<boolean>;
19
19
  export declare function cleanupHandoff(taskId: string, handoffsDir?: string): Promise<void>;
@@ -6,6 +6,7 @@ export interface ResolvedComposeAgent {
6
6
  replaySafe?: boolean;
7
7
  systemPrompt?: string;
8
8
  leafNotice?: string;
9
+ strippedTools?: string[];
9
10
  namedAgentModel?: string;
10
11
  canUseTool?: CanUseTool;
11
12
  namedAgentAllowedTools?: string[];
@@ -21,9 +21,7 @@ export declare function installPeerBoundary(opts: PeerBoundaryOpts): () => void;
21
21
  export declare function reinstallPeerBoundary(opts: PeerBoundaryOpts, prevDispose: (() => void) | undefined): () => void;
22
22
  export declare function drainAdmissionQueueFallback(text: string, q: AdmissionQueue): string;
23
23
  export declare function applyDeferPeers(runText: string, queuedHumanTurn: boolean, surface: Pick<InputSurface, 'getCompositor'>, shellPassthrough: InjectionSource, bgResultNotifier: InjectionSource, peerNotifier: InjectionSource, admissionQueue: AdmissionQueue, processJobNotifier?: InjectionSource): string;
24
- export declare function setupPeerBoundary(ctx: InteractiveCtx, surface: InputSurface, peerNotifier: PeerInboxNotifier, isQueuedHumanTurn: () => boolean, processJobNotifier?: InjectionSource & {
25
- hasPendingInjections(): boolean;
26
- }): {
24
+ export declare function setupPeerBoundary(ctx: InteractiveCtx, surface: InputSurface, peerNotifier: PeerInboxNotifier, isQueuedHumanTurn: () => boolean, processJobNotifier?: InjectionSource): {
27
25
  admissionQueue: AdmissionQueue;
28
26
  reinstall: () => void;
29
27
  };