agent-afk 5.303.3 → 5.303.5
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.
- package/dist/agent/shell-jobs/process-jobs.d.ts +2 -1
- package/dist/agent/tools/subagent-executor.write-intent.d.ts +2 -0
- package/dist/cli/commands/interactive/detached-tool-notifier.d.ts +3 -0
- package/dist/cli.mjs +348 -347
- package/dist/http-client/egress-guard.lookup.d.ts +1 -0
- package/dist/index.mjs +145 -145
- package/dist/telegram.mjs +169 -169
- package/package.json +1 -1
|
@@ -56,7 +56,8 @@ export declare class ProcessJobRegistry extends EventEmitter<ProcessJobRegistryE
|
|
|
56
56
|
readonly sessionLabel: string;
|
|
57
57
|
readonly logDir: string;
|
|
58
58
|
readonly maxConcurrent: number;
|
|
59
|
-
private opts;
|
|
59
|
+
private readonly opts;
|
|
60
|
+
private traceWriter;
|
|
60
61
|
private readonly jobs;
|
|
61
62
|
private counter;
|
|
62
63
|
private closed;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import type { ToolResult } from './types.js';
|
|
1
2
|
export declare function collectPostRunWarnings(model: string, hasAttachments: boolean, agentName: string | undefined, prompt: string, childWriteCapable: boolean, supportsVisionFn: (m: string) => boolean): string;
|
|
3
|
+
export declare function applyPostRunNotices(result: ToolResult, model: string, hasAttachments: boolean, agentName: string | undefined, prompt: string, childWriteCapable: boolean, usageNotice: string | undefined): void;
|
|
@@ -4,15 +4,18 @@ export declare function buildDetachedToolInjection(result: DetachedToolResult):
|
|
|
4
4
|
export declare class DetachedToolNotifier {
|
|
5
5
|
private readonly registry;
|
|
6
6
|
private readonly tracked;
|
|
7
|
+
private readonly earlySettled;
|
|
7
8
|
private injections;
|
|
8
9
|
private notices;
|
|
9
10
|
onInjectable: (() => void) | null;
|
|
10
11
|
private readonly onSettled;
|
|
12
|
+
private _deliver;
|
|
11
13
|
constructor(registry: DetachableToolRegistry);
|
|
12
14
|
observe(event: ToolEvent): void;
|
|
13
15
|
hasPendingInjections(): boolean;
|
|
14
16
|
drainInjections(): string;
|
|
15
17
|
drainNotices(): string[];
|
|
18
|
+
markDelivered(_toolUseId: string): void;
|
|
16
19
|
reset(): void;
|
|
17
20
|
dispose(): void;
|
|
18
21
|
}
|