agent-afk 5.200.0 → 5.200.1
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/handoff-store.d.ts +1 -0
- package/dist/cli.mjs +590 -590
- package/dist/index.mjs +222 -222
- package/dist/telegram.mjs +291 -291
- package/package.json +1 -1
|
@@ -25,4 +25,5 @@ export declare function writeHandoff(record: HandoffRecord, handoffsDir?: string
|
|
|
25
25
|
export declare function readHandoff(taskId: string, handoffsDir?: string): Promise<HandoffRecord | null>;
|
|
26
26
|
export declare function deleteHandoff(taskId: string, handoffsDir?: string): Promise<void>;
|
|
27
27
|
export declare function listPendingHandoffs(handoffsDir?: string): Promise<HandoffRecord[]>;
|
|
28
|
+
export declare function withHandoffLock<T>(taskId: string, handoffsDir: string, cb: () => Promise<T>): Promise<T | null>;
|
|
28
29
|
export declare function updateHandoffAnswer(taskId: string, answer: unknown, source: string, handoffsDir?: string): Promise<UpdateHandoffResult>;
|