agent-afk 5.276.7 → 5.276.9
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/daemon/session-spawn.d.ts +1 -0
- package/dist/agent/tools/handlers/glob-readahead.d.ts +14 -0
- package/dist/cli.mjs +337 -337
- package/dist/index.mjs +131 -131
- package/dist/telegram.mjs +154 -154
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export interface DaemonSpawnOptions {
|
|
|
11
11
|
taskCwd?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare function daemonTraceLabel(taskId: string): string;
|
|
14
|
+
export declare function daemonDefaultCwd(): string;
|
|
14
15
|
export declare function spawnDaemonSession(taskId: string, options: DaemonSpawnOptions): Promise<{
|
|
15
16
|
session: AgentSession;
|
|
16
17
|
memoryStore: MemoryStore;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Dirent } from 'fs';
|
|
2
|
+
export declare const READAHEAD_CONCURRENCY = 32;
|
|
3
|
+
type ReaddirResult = Dirent[];
|
|
4
|
+
export declare class Readahead {
|
|
5
|
+
private readonly cache;
|
|
6
|
+
private inFlight;
|
|
7
|
+
private readonly maxConcurrent;
|
|
8
|
+
private readonly signal;
|
|
9
|
+
constructor(maxConcurrent?: number, signal?: AbortSignal);
|
|
10
|
+
schedule(dirPath: string): void;
|
|
11
|
+
get(dirPath: string): Promise<ReaddirResult>;
|
|
12
|
+
drain(): void;
|
|
13
|
+
}
|
|
14
|
+
export {};
|