@ricsam/r5d-worker 0.0.121 → 0.0.123
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/README.md +6 -3
- package/dist/cjs/command-launcher.cjs +76 -2
- package/dist/cjs/control-command-policy.cjs +177 -0
- package/dist/cjs/main.cjs +75 -10
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/project-checkout-garbage.cjs +190 -0
- package/dist/cjs/project-worktrees.cjs +9 -2
- package/dist/cjs/recovery-store.cjs +13 -0
- package/dist/mjs/command-launcher.mjs +75 -2
- package/dist/mjs/control-command-policy.mjs +146 -0
- package/dist/mjs/main.mjs +80 -10
- package/dist/mjs/package.json +1 -1
- package/dist/mjs/project-checkout-garbage.mjs +150 -0
- package/dist/mjs/project-worktrees.mjs +9 -2
- package/dist/mjs/recovery-store.mjs +13 -0
- package/dist/types/command-launcher.d.ts +42 -0
- package/dist/types/control-command-policy.d.ts +53 -0
- package/dist/types/main.d.ts +7 -0
- package/dist/types/project-checkout-garbage.d.ts +69 -0
- package/dist/types/project-worktrees.d.ts +6 -0
- package/dist/types/recovery-store.d.ts +8 -0
- package/package.json +1 -1
|
@@ -16,6 +16,14 @@ export declare class WorkerRecoveryStore {
|
|
|
16
16
|
requestId: string;
|
|
17
17
|
}): "new" | "duplicate" | "unknown" | "conflict";
|
|
18
18
|
isUnknown(requestId: string): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Re-admit an operation whose crash outcome is unknown so it can run again
|
|
21
|
+
* and record a result. Only a branch deletion qualifies: it is idempotent
|
|
22
|
+
* for its exact incarnation (durable tombstone plus incarnation preflight),
|
|
23
|
+
* so a rerun converges on the same outcome. Every other unknown operation
|
|
24
|
+
* keeps the no-replay invariant.
|
|
25
|
+
*/
|
|
26
|
+
readmitUnknownBranchDeletion(requestId: string): boolean;
|
|
19
27
|
unknown(requestId: string): void;
|
|
20
28
|
unknownRun(runId: string): void;
|
|
21
29
|
record(message: Message): Message;
|