@melite/estate-queue 0.2.0-alpha → 0.2.2-alpha
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 +0 -5
- package/lib/cardsCompose.d.ts +31 -0
- package/lib/cardsCompose.js +55 -0
- package/lib/cardsRegistry.d.ts +5 -2
- package/lib/cardsRegistry.js +160 -3
- package/lib/discloseRegistry.d.ts +5 -0
- package/lib/discloseRegistry.js +3 -3
- package/lib/flowsData.d.ts +77 -21
- package/lib/flowsData.js +156 -21
- package/lib/flowsRegistryRows.d.ts +0 -4
- package/lib/flowsRegistryRows.js +137 -351
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -4
- package/lib/loadPlane.d.ts +46 -4
- package/lib/loadPlane.js +107 -7
- package/lib/loadRegistry.js +9 -2
- package/lib/managePlane.d.ts +5 -0
- package/lib/managePlane.js +404 -49
- package/lib/managePreflight.js +38 -6
- package/lib/manageProbe.d.ts +35 -0
- package/lib/manageProbe.js +110 -0
- package/lib/queueLock.js +19 -10
- package/lib/queueResurrect.d.ts +0 -3
- package/lib/queueResurrect.js +0 -3
- package/lib/queueRetry.d.ts +12 -10
- package/lib/queueRetry.js +2 -4
- package/lib/queueSidecar.d.ts +12 -0
- package/lib/queueSidecar.js +15 -0
- package/lib/queueSubmit.d.ts +4 -1
- package/lib/queueSubmit.js +28 -5
- package/lib/runsExecute.d.ts +16 -1
- package/lib/runsExecute.js +63 -45
- package/lib/runsGates.d.ts +11 -3
- package/lib/runsGates.js +11 -3
- package/lib/runsList.d.ts +59 -3
- package/lib/runsList.js +217 -36
- package/lib/runsRegistry.d.ts +58 -3
- package/lib/runsRegistry.js +479 -92
- package/lib/runsStart.d.ts +6 -4
- package/lib/runsStart.js +32 -25
- package/lib/runsTypes.d.ts +19 -1
- package/lib/runsTypes.js +40 -3
- package/lib/runsValidate.d.ts +1 -0
- package/lib/runsValidate.js +5 -0
- package/lib/runsValidateArms.js +25 -0
- package/lib/runsValidateServe.js +15 -12
- package/lib/runsValidateShared.d.ts +8 -10
- package/lib/runsValidateShared.js +41 -15
- package/lib/runsValidateStages.d.ts +1 -1
- package/lib/runsValidateStages.js +90 -50
- package/lib/skillAuthored.d.ts +50 -0
- package/lib/skillAuthored.js +178 -0
- package/lib/skillPlane.d.ts +40 -2
- package/lib/skillPlane.js +63 -13
- package/lib/skillRegistry.d.ts +24 -1
- package/lib/skillRegistry.js +69 -5
- package/lib/skillRows.d.ts +13 -3
- package/lib/skillRows.js +42 -3
- package/package.json +24 -14
- package/lib/resurrect.d.ts +0 -6
- package/lib/resurrect.js +0 -18
package/lib/skillRegistry.d.ts
CHANGED
|
@@ -1,13 +1,36 @@
|
|
|
1
1
|
import { Service } from "@deepseek-ai/cordis";
|
|
2
2
|
import type { Context } from "@deepseek-ai/cordis";
|
|
3
|
+
declare module "@deepseek-ai/dsh-typert-protocol" {
|
|
4
|
+
interface RemoteErrorDetailsMap {
|
|
5
|
+
/** The writer refused the draft (its own verbatim voice). */
|
|
6
|
+
"melite/skill-refused": Record<string, never>;
|
|
7
|
+
/** No skill carries that id (the read door's absence). */
|
|
8
|
+
"melite/skill-unknown": {
|
|
9
|
+
readonly skillId: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}
|
|
3
13
|
export declare class SkillDirectoryService extends Service {
|
|
4
14
|
static inject: string[];
|
|
5
15
|
constructor(ctx: Context);
|
|
6
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
7
23
|
index(): Record<string, unknown>;
|
|
8
24
|
/** GET /v1/skills/:id — the doc; 404s answer the door's voice
|
|
9
25
|
* ("no such skill: <id>"), the read ledgers skill.read. */
|
|
10
26
|
read(sid: string, signal: AbortSignal): Record<string, unknown>;
|
|
27
|
+
/** POST /v1/skills — the agent's write door (melite_skill_write):
|
|
28
|
+
* land one authored skill doc. The body is the WIRE (untyped JSON),
|
|
29
|
+
* so the fields are validated here, once; the plane's writer owns
|
|
30
|
+
* the law and speaks the refusal voice. The doc lands in the state
|
|
31
|
+
* root's authored plane and the same walk that serves tracked
|
|
32
|
+
* skills serves it — written and read are one law. */
|
|
33
|
+
write(body: unknown): Record<string, unknown>;
|
|
11
34
|
}
|
|
12
35
|
/** The skills row: gates on the queue seat (the ledger seam). */
|
|
13
36
|
export declare const skillProvider: {
|
package/lib/skillRegistry.js
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
//
|
|
6
6
|
// Erasable-syntax TS only (node --experimental-strip-types).
|
|
7
7
|
import { Service } from "@deepseek-ai/cordis";
|
|
8
|
+
import { RemoteError } from "@deepseek-ai/dsh-typert-protocol";
|
|
8
9
|
import { resolveRepoRoot } from "@melite/comfyui-cordis";
|
|
9
|
-
import { buildSkillIndex, hSkillRead } from "./skillPlane.js";
|
|
10
|
+
import { buildSkillIndex, hSkillRead, hSkillWrite } from "./skillPlane.js";
|
|
10
11
|
// ROLE (cookbook adding-a-package role table): Directory: index/read over skill docs. Key "meliteSkills" —
|
|
11
12
|
|
|
12
13
|
// dsh-skill package registers `super(ctx, "skills")`, and in any
|
|
@@ -21,9 +22,15 @@ export class SkillDirectoryService extends Service {
|
|
|
21
22
|
constructor(ctx) {
|
|
22
23
|
super(ctx, "meliteSkills");
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
25
32
|
index() {
|
|
26
|
-
return buildSkillIndex(resolveRepoRoot());
|
|
33
|
+
return buildSkillIndex(resolveRepoRoot(), this.ctx.queue.stateRoot);
|
|
27
34
|
}
|
|
28
35
|
/** GET /v1/skills/:id — the doc; 404s answer the door's voice
|
|
29
36
|
* ("no such skill: <id>"), the read ledgers skill.read. */
|
|
@@ -37,12 +44,69 @@ export class SkillDirectoryService extends Service {
|
|
|
37
44
|
if (answer.status === 200)
|
|
38
45
|
return answer.payload;
|
|
39
46
|
const err = answer.payload;
|
|
40
|
-
|
|
47
|
+
const message = typeof err.error === "string"
|
|
41
48
|
? err.error
|
|
42
49
|
:
|
|
43
50
|
|
|
44
|
-
"skill read failed"
|
|
51
|
+
"skill read failed";
|
|
52
|
+
// 404-class: the id names nothing (the door's absence, never a
|
|
53
|
+
// transport failure)
|
|
54
|
+
throw new RemoteError("melite/skill-unknown", message, { skillId: sid });
|
|
45
55
|
}
|
|
56
|
+
/** POST /v1/skills — the agent's write door (melite_skill_write):
|
|
57
|
+
* land one authored skill doc. The body is the WIRE (untyped JSON),
|
|
58
|
+
* so the fields are validated here, once; the plane's writer owns
|
|
59
|
+
* the law and speaks the refusal voice. The doc lands in the state
|
|
60
|
+
* root's authored plane and the same walk that serves tracked
|
|
61
|
+
* skills serves it — written and read are one law. */
|
|
62
|
+
write(body) {
|
|
63
|
+
const draft = parseDraft(body);
|
|
64
|
+
const answer = hSkillWrite(resolveRepoRoot(), this.ctx.queue.stateRoot, draft);
|
|
65
|
+
if (answer.status === 200)
|
|
66
|
+
return answer.payload;
|
|
67
|
+
const err = answer.payload;
|
|
68
|
+
const message = typeof err.error === "string"
|
|
69
|
+
? err.error
|
|
70
|
+
: /* v8 ignore next -- the writer always shapes { error: string } */
|
|
71
|
+
"skill write failed";
|
|
72
|
+
// 400-class: the draft is the caller's to fix (the writer's
|
|
73
|
+
// voice rides verbatim)
|
|
74
|
+
throw new RemoteError("melite/skill-refused", message, {});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/** A wire string ("" for anything else — the writer refuses the
|
|
78
|
+
* empty required fields with its own voice). */
|
|
79
|
+
function wireStr(v) {
|
|
80
|
+
return typeof v === "string" ? v.trim() : "";
|
|
81
|
+
}
|
|
82
|
+
/** A wire string list (non-strings dropped rather than stringified:
|
|
83
|
+
* an example the caller did not state is never invented). */
|
|
84
|
+
function wireList(v) {
|
|
85
|
+
if (!Array.isArray(v))
|
|
86
|
+
return [];
|
|
87
|
+
const out = [];
|
|
88
|
+
for (const x of v) {
|
|
89
|
+
if (typeof x !== "string")
|
|
90
|
+
continue;
|
|
91
|
+
const t = x.trim();
|
|
92
|
+
if (t !== "")
|
|
93
|
+
out.push(t);
|
|
94
|
+
}
|
|
95
|
+
return out;
|
|
96
|
+
}
|
|
97
|
+
/** The wire body as the draft the plane validates. */
|
|
98
|
+
function parseDraft(body) {
|
|
99
|
+
const b = (typeof body === "object" && body !== null ? body : {});
|
|
100
|
+
return {
|
|
101
|
+
model: wireStr(b.model),
|
|
102
|
+
name: wireStr(b.name),
|
|
103
|
+
description: wireStr(b.description),
|
|
104
|
+
trigger_words: wireList(b.trigger_words),
|
|
105
|
+
examples: wireList(b.examples),
|
|
106
|
+
body: wireStr(b.body),
|
|
107
|
+
lora: wireStr(b.lora),
|
|
108
|
+
replace: b.replace === true,
|
|
109
|
+
};
|
|
46
110
|
}
|
|
47
111
|
/** The skills row: gates on the queue seat (the ledger seam). */
|
|
48
112
|
export const skillProvider = {
|
package/lib/skillRows.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DocRow, SkillRow } from "./skillPlane.js";
|
|
2
2
|
import type { FlowsSeat } from "./flowsData.js";
|
|
3
3
|
import type { FamilyModelsSeat } from "./flowsFamilyCompose.js";
|
|
4
|
-
/** One registry
|
|
4
|
+
/** One registry flow-tool property, projected to the frozen
|
|
5
5
|
* FlowToolDecl shape (always ptype + description; enum / default /
|
|
6
6
|
* minimum / maximum ride only when the registry declares them —
|
|
7
7
|
* nulls never serve). */
|
|
@@ -38,7 +38,7 @@ interface FlowDecl {
|
|
|
38
38
|
* silently — the registry is code, so a declaration bug throws LOUD
|
|
39
39
|
* out of expandRegistryFlow instead of marking a row). Skips the
|
|
40
40
|
* registry when flows/ is absent (_flow_rows 387-388: not-a-dir
|
|
41
|
-
* -> []). The
|
|
41
|
+
* -> []). The flow tool rides the registry declaration
|
|
42
42
|
* verbatim (projected to the frozen row shape); hasSkillMd reads
|
|
43
43
|
* the flows/<id>/SKILL.md leaf live. skillRefs ride the registry
|
|
44
44
|
* declaration (empty today — the frozen refs pointed at the RETIRED flow.py rows and the retired enhance recipes).
|
|
@@ -67,7 +67,17 @@ export declare function spawnRows(cdir: string, prefix: string, scope: "card-spa
|
|
|
67
67
|
export declare function engineDirs(enginesRoot: string): string[];
|
|
68
68
|
/** LEVEL 1+3 model docs (lane_disclosure._model_rows 259-312):
|
|
69
69
|
* GUIDE.md / agents/AGENT.md / agents/skills/* per model dir. */
|
|
70
|
-
|
|
70
|
+
/** THE AUTHORED SKILL WALK (skillAuthored.ts): docs the agent wrote
|
|
71
|
+
* live under <stateRoot>/skills/<family>/<stem>/SKILL.md and serve
|
|
72
|
+
* under the per-model id shape (`model:<family>:<stem>`), so a
|
|
73
|
+
* written skill is discoverable in melite_load and read by
|
|
74
|
+
* melite_skill_read with no extra door.
|
|
75
|
+
* @param stateRoot the estate's state root (the authored plane)
|
|
76
|
+
* @param mid the model family id
|
|
77
|
+
* @param genre the family's genre, for the row's scoping
|
|
78
|
+
* @returns rows in stem order (a stable index) */
|
|
79
|
+
export declare function authoredRows(stateRoot: string, mid: string, genre: string | null): DocRow[];
|
|
80
|
+
export declare function modelRows(engine: string, stateRoot?: string): DocRow[];
|
|
71
81
|
export interface CardWalk {
|
|
72
82
|
readonly rows: DocRow[];
|
|
73
83
|
readonly buckets: Map<string, {
|
package/lib/skillRows.js
CHANGED
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
import { readdirSync } from "node:fs";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
import { DIR_ID_ALIASES, isDir, isFile, subdirs, readText, stem } from "./skillFs.js";
|
|
7
|
+
import { authoredSkillDoc } from "./skillAuthored.js";
|
|
7
8
|
import { frontmatter, gateSkill } from "./skillFrontmatter.js";
|
|
8
9
|
import { LaneWireError } from "./skillPlane.js";
|
|
9
10
|
import { expandRegistryFlow, registrySkillBody, seedFlowsSeat } from "./flowsData.js";
|
|
10
11
|
import { composeFamilyStages, liveFamilySeat } from "./flowsFamilyCompose.js";
|
|
11
|
-
/** One registry
|
|
12
|
+
/** One registry flow-tool property, projected to the frozen
|
|
12
13
|
* FlowToolDecl shape (always ptype + description; enum / default /
|
|
13
14
|
* minimum / maximum ride only when the registry declares them —
|
|
14
15
|
* nulls never serve). */
|
|
@@ -36,7 +37,7 @@ export function projectToolProperties(properties) {
|
|
|
36
37
|
* silently — the registry is code, so a declaration bug throws LOUD
|
|
37
38
|
* out of expandRegistryFlow instead of marking a row). Skips the
|
|
38
39
|
* registry when flows/ is absent (_flow_rows 387-388: not-a-dir
|
|
39
|
-
* -> []). The
|
|
40
|
+
* -> []). The flow tool rides the registry declaration
|
|
40
41
|
* verbatim (projected to the frozen row shape); hasSkillMd reads
|
|
41
42
|
* the flows/<id>/SKILL.md leaf live. skillRefs ride the registry
|
|
42
43
|
* declaration (empty today — the frozen refs pointed at the RETIRED flow.py rows and the retired enhance recipes).
|
|
@@ -242,7 +243,37 @@ function familyLane(mdir, mid, genre, skillRows) {
|
|
|
242
243
|
}
|
|
243
244
|
/** LEVEL 1+3 model docs (lane_disclosure._model_rows 259-312):
|
|
244
245
|
* GUIDE.md / agents/AGENT.md / agents/skills/* per model dir. */
|
|
245
|
-
|
|
246
|
+
/** THE AUTHORED SKILL WALK (skillAuthored.ts): docs the agent wrote
|
|
247
|
+
* live under <stateRoot>/skills/<family>/<stem>/SKILL.md and serve
|
|
248
|
+
* under the per-model id shape (`model:<family>:<stem>`), so a
|
|
249
|
+
* written skill is discoverable in melite_load and read by
|
|
250
|
+
* melite_skill_read with no extra door.
|
|
251
|
+
* @param stateRoot the estate's state root (the authored plane)
|
|
252
|
+
* @param mid the model family id
|
|
253
|
+
* @param genre the family's genre, for the row's scoping
|
|
254
|
+
* @returns rows in stem order (a stable index) */
|
|
255
|
+
export function authoredRows(stateRoot, mid, genre) {
|
|
256
|
+
const rows = [];
|
|
257
|
+
const root = join(stateRoot, "skills", mid);
|
|
258
|
+
let names;
|
|
259
|
+
try {
|
|
260
|
+
names = readdirSync(root).sort();
|
|
261
|
+
}
|
|
262
|
+
catch {
|
|
263
|
+
// no authored skill for this family (the absent root is the
|
|
264
|
+
// empty case, never an error)
|
|
265
|
+
return rows;
|
|
266
|
+
}
|
|
267
|
+
for (const sname of names) {
|
|
268
|
+
if (sname.startsWith("."))
|
|
269
|
+
continue;
|
|
270
|
+
const r = readDoc(authoredSkillDoc(stateRoot, mid, sname), "model:" + mid + ":" + sname, "model-skill", genre, null, mid);
|
|
271
|
+
if (r !== null)
|
|
272
|
+
rows.push(r);
|
|
273
|
+
}
|
|
274
|
+
return rows;
|
|
275
|
+
}
|
|
276
|
+
export function modelRows(engine, stateRoot) {
|
|
246
277
|
const rows = [];
|
|
247
278
|
const modelsRoot = join(engine, "models");
|
|
248
279
|
if (!isDir(modelsRoot))
|
|
@@ -256,6 +287,14 @@ export function modelRows(engine) {
|
|
|
256
287
|
const agent = readDoc(join(mdir, "agents", "AGENT.md"), "model:" + mid, "model", genre, null, mid);
|
|
257
288
|
if (agent !== null)
|
|
258
289
|
rows.push(agent);
|
|
290
|
+
// THE AUTHORED PLANE (skillAuthored.ts): the agent writes skills
|
|
291
|
+
// into the state root — a written doc is walked here so the same
|
|
292
|
+
// index and read doors serve it as the tracked ones (the lora
|
|
293
|
+
// hand-off's skill lands this way).
|
|
294
|
+
if (stateRoot !== undefined) {
|
|
295
|
+
for (const r of authoredRows(stateRoot, mid, genre))
|
|
296
|
+
rows.push(r);
|
|
297
|
+
}
|
|
259
298
|
// THE SPAWN PLANE (subagent-only; the index filters, the
|
|
260
299
|
// spawn reader resolves — never listed to the constructor).
|
|
261
300
|
// Walked BEFORE the skills loop: a spawn-only model dir (no
|
package/package.json
CHANGED
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@melite/estate-queue",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2-alpha",
|
|
4
4
|
"license": "AGPL-3.0-or-later",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"description": "The
|
|
6
|
+
"description": "The estate's run core as Cordis services — serial queue, live-run registry, manage and flows seats, the skill plane, and the runs gate vocabulary.",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@deepseek-ai/dsh-atomic-write": "0.2.1-rc.2",
|
|
9
9
|
"@deepseek-ai/dsh-brand": "0.2.1-rc.2",
|
|
10
|
-
"@deepseek-ai/dsh-home-paths": "0.2.1-rc.2",
|
|
11
10
|
"@deepseek-ai/dsh-timeout": "0.2.1-rc.2",
|
|
12
11
|
"@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
|
|
13
12
|
"@deepseek-ai/dsh-util-values": "0.2.1-rc.2",
|
|
14
13
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
15
14
|
"@deepseek-ai/cordis-plugin-timer": "~1.1.3",
|
|
16
|
-
"@melite/comfyui-cordis": "0.2.
|
|
17
|
-
"@melite/
|
|
18
|
-
"@melite/
|
|
19
|
-
"@melite/
|
|
20
|
-
"@melite/
|
|
21
|
-
"@melite/estate-provisioning": "0.2.
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@types/node": "^22.20.0",
|
|
25
|
-
"typescript": "^5.9.3",
|
|
26
|
-
"@deepseek-ai/cordis": "^4.0.5"
|
|
15
|
+
"@melite/comfyui-cordis": "0.2.2-alpha",
|
|
16
|
+
"@melite/contracts": "0.2.2-alpha",
|
|
17
|
+
"@melite/engine-contract": "0.2.2-alpha",
|
|
18
|
+
"@melite/estate-drafts": "0.2.2-alpha",
|
|
19
|
+
"@melite/comfyui-card-kit": "0.2.2-alpha",
|
|
20
|
+
"@melite/estate-provisioning": "0.2.2-alpha"
|
|
27
21
|
},
|
|
28
22
|
"exports": {
|
|
29
23
|
".": {
|
|
@@ -40,10 +34,26 @@
|
|
|
40
34
|
"lib/**/*.js",
|
|
41
35
|
"lib/**/*.d.ts"
|
|
42
36
|
],
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/JayDataEngineer/melite.git",
|
|
40
|
+
"directory": "packages/harness/estate-queue"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"melite",
|
|
44
|
+
"comfyui",
|
|
45
|
+
"cordis",
|
|
46
|
+
"agent",
|
|
47
|
+
"media-generation",
|
|
48
|
+
"library"
|
|
49
|
+
],
|
|
43
50
|
"scripts": {
|
|
44
51
|
"build": "tsc -p tsconfig.build.json",
|
|
45
52
|
"typecheck": "tsc --noEmit"
|
|
46
53
|
},
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=22.18.0"
|
|
56
|
+
},
|
|
47
57
|
"publishConfig": {
|
|
48
58
|
"access": "public"
|
|
49
59
|
}
|
package/lib/resurrect.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { QueueRoots } from "./queue.js";
|
|
2
|
-
export type { QueueRoots };
|
|
3
|
-
/** Sweep half: stale running/queued sidecars settle failed (+ boot
|
|
4
|
-
* notes), live ids exempt. Returns swept ids in sorted order. */
|
|
5
|
-
export declare function bootSweep(roots: QueueRoots, live: readonly string[]): Promise<string[]>;
|
|
6
|
-
//# sourceMappingURL=resurrect.d.ts.map
|
package/lib/resurrect.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// resurrect.ts — thin compat seam over queue.ts (the single P5 core).
|
|
2
|
-
//
|
|
3
|
-
// STROKE 83: the hollow bootResurrect wrapper is RETIRED — the
|
|
4
|
-
// service's bootReconcile (runsRegistry.ts) replays _request.json
|
|
5
|
-
// through the start door, so revived rows carry REAL params. What
|
|
6
|
-
// stays here is the sweep ADAPTER (the QueueRoots signature) —
|
|
7
|
-
// all discipline lives in queue.ts, this file only adapts the
|
|
8
|
-
// signature, never reimplements (no second sweeper).
|
|
9
|
-
//
|
|
10
|
-
// Erasable-syntax TS only (node --experimental-strip-types): no
|
|
11
|
-
// enums, import type for types, .ts specifiers for relative imports.
|
|
12
|
-
import { bootSweep as coreSweep } from "./queue.js";
|
|
13
|
-
/** Sweep half: stale running/queued sidecars settle failed (+ boot
|
|
14
|
-
* notes), live ids exempt. Returns swept ids in sorted order. */
|
|
15
|
-
export async function bootSweep(roots, live) {
|
|
16
|
-
return coreSweep(roots.stateRoot, live);
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=resurrect.js.map
|