@melite/estate-queue 0.1.5-pre-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.
Files changed (82) hide show
  1. package/LICENSE +561 -457
  2. package/README.md +0 -5
  3. package/lib/cardsArmError.d.ts +52 -3
  4. package/lib/cardsArmError.js +7 -1
  5. package/lib/cardsCompose.d.ts +31 -0
  6. package/lib/cardsCompose.js +98 -7
  7. package/lib/cardsFacts.d.ts +16 -0
  8. package/lib/cardsFacts.js +25 -1
  9. package/lib/cardsLanes.d.ts +51 -3
  10. package/lib/cardsLanes.js +337 -13
  11. package/lib/cardsLanesCopy.d.ts +21 -0
  12. package/lib/cardsLanesCopy.js +22 -0
  13. package/lib/cardsRegistry.d.ts +105 -5
  14. package/lib/cardsRegistry.js +826 -46
  15. package/lib/cardsVariant.d.ts +12 -7
  16. package/lib/cardsVariant.js +196 -58
  17. package/lib/discloseRegistry.d.ts +41 -6
  18. package/lib/discloseRegistry.js +155 -17
  19. package/lib/filmLead.js +5 -3
  20. package/lib/flowsData.d.ts +77 -21
  21. package/lib/flowsData.js +159 -21
  22. package/lib/flowsFamilyCompose.js +12 -1
  23. package/lib/flowsRegistryRows.d.ts +0 -3
  24. package/lib/flowsRegistryRows.js +166 -222
  25. package/lib/index.d.ts +1 -1
  26. package/lib/index.js +6 -4
  27. package/lib/loadPlane.d.ts +46 -4
  28. package/lib/loadPlane.js +116 -7
  29. package/lib/loadRegistry.js +9 -2
  30. package/lib/manageOps.js +2 -1
  31. package/lib/managePlane.d.ts +16 -1
  32. package/lib/managePlane.js +955 -65
  33. package/lib/managePreflight.d.ts +26 -0
  34. package/lib/managePreflight.js +211 -0
  35. package/lib/manageProbe.d.ts +52 -0
  36. package/lib/manageProbe.js +171 -1
  37. package/lib/queueCore.d.ts +14 -1
  38. package/lib/queueCore.js +13 -0
  39. package/lib/queueLock.js +19 -10
  40. package/lib/queueResurrect.d.ts +7 -5
  41. package/lib/queueResurrect.js +25 -9
  42. package/lib/queueRetry.d.ts +12 -10
  43. package/lib/queueRetry.js +2 -4
  44. package/lib/queueSidecar.d.ts +122 -1
  45. package/lib/queueSidecar.js +192 -7
  46. package/lib/queueSubmit.d.ts +70 -4
  47. package/lib/queueSubmit.js +159 -7
  48. package/lib/runsErrorCodes.js +5 -3
  49. package/lib/runsExecute.d.ts +16 -1
  50. package/lib/runsExecute.js +97 -39
  51. package/lib/runsGates.d.ts +16 -4
  52. package/lib/runsGates.js +17 -5
  53. package/lib/runsList.d.ts +100 -4
  54. package/lib/runsList.js +364 -63
  55. package/lib/runsRefusalVoices.js +50 -1
  56. package/lib/runsRegistry.d.ts +142 -9
  57. package/lib/runsRegistry.js +960 -163
  58. package/lib/runsStart.d.ts +30 -7
  59. package/lib/runsStart.js +136 -14
  60. package/lib/runsTypes.d.ts +46 -3
  61. package/lib/runsTypes.js +63 -9
  62. package/lib/runsValidate.d.ts +1 -0
  63. package/lib/runsValidate.js +5 -0
  64. package/lib/runsValidateArms.js +25 -0
  65. package/lib/runsValidateServe.js +25 -12
  66. package/lib/runsValidateShared.d.ts +8 -1
  67. package/lib/runsValidateShared.js +44 -4
  68. package/lib/runsValidateStages.d.ts +1 -1
  69. package/lib/runsValidateStages.js +107 -55
  70. package/lib/runtimeProvision.d.ts +119 -0
  71. package/lib/runtimeProvision.js +243 -0
  72. package/lib/skillAuthored.d.ts +50 -0
  73. package/lib/skillAuthored.js +178 -0
  74. package/lib/skillPlane.d.ts +40 -2
  75. package/lib/skillPlane.js +63 -13
  76. package/lib/skillRegistry.d.ts +24 -1
  77. package/lib/skillRegistry.js +69 -5
  78. package/lib/skillRows.d.ts +13 -3
  79. package/lib/skillRows.js +49 -5
  80. package/package.json +33 -23
  81. package/lib/resurrect.d.ts +0 -6
  82. package/lib/resurrect.js +0 -18
@@ -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
- /** GET /v1/skills — the index (count + wire rows, both planes). */
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: {
@@ -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
- /** GET /v1/skills — the index (count + wire rows, both planes). */
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
- throw new Error(typeof err.error === "string"
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 = {
@@ -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 headless-tool property, projected to the frozen
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 headless tool rides the registry declaration
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
- export declare function modelRows(engine: string): DocRow[];
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 headless-tool property, projected to the frozen
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 headless tool rides the registry declaration
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).
@@ -117,7 +118,12 @@ export function readDoc(path, sid, scope, genre, card, model) {
117
118
  const fm = frontmatter(text);
118
119
  // (split never yields [] — pop is always a string here)
119
120
  const leaf = path.split("/").pop();
120
- const gated = gateSkill(sid, fm.name !== "" ? fm.name : stem(leaf), fm.description.slice(0, 200), scope, genre, card, model, null, null);
121
+ const gated = gateSkill(sid, fm.name !== "" ? fm.name : stem(leaf),
122
+
123
+ // long prompts and skills — that is intentional"): the authored
124
+ // tier-1 line rides every load verbatim; the old .slice(0, 200)
125
+ // cut intentional lines mid-word with no wall ever seeing it.
126
+ fm.description, scope, genre, card, model, null, null);
121
127
  return { row: gated, path };
122
128
  }
123
129
  /** THE SPAWN PLANE (operator pin, stroke 87): leaves under
@@ -230,14 +236,44 @@ function familyLane(mdir, mid, genre, skillRows) {
230
236
  lines.push("- `" + r.row.id + "` — " + r.row.name + (r.row.description === "" ? "" : ": " + r.row.description));
231
237
  }
232
238
  return {
233
- row: gateSkill("model:" + mid, mid, mid + " family lane: " + String(skillRows.length) + " skill row(s) to read before writing a prompt", "model-lane", genre, null, mid, null, null),
239
+ row: gateSkill("model:" + mid, mid, mid + " family lane: " + String(skillRows.length) + " skill row(s) deepening the craft line when the ask is unusual (never required pre-reads)", "model-lane", genre, null, mid, null, null),
234
240
  path: join(mdir, "agents", "skills"),
235
241
  bodyText: lines.join("\n") + "\n",
236
242
  };
237
243
  }
238
244
  /** LEVEL 1+3 model docs (lane_disclosure._model_rows 259-312):
239
245
  * GUIDE.md / agents/AGENT.md / agents/skills/* per model dir. */
240
- export function modelRows(engine) {
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) {
241
277
  const rows = [];
242
278
  const modelsRoot = join(engine, "models");
243
279
  if (!isDir(modelsRoot))
@@ -251,6 +287,14 @@ export function modelRows(engine) {
251
287
  const agent = readDoc(join(mdir, "agents", "AGENT.md"), "model:" + mid, "model", genre, null, mid);
252
288
  if (agent !== null)
253
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
+ }
254
298
  // THE SPAWN PLANE (subagent-only; the index filters, the
255
299
  // spawn reader resolves — never listed to the constructor).
256
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.1.5-pre-alpha",
4
- "license": "SSPL-1.0",
3
+ "version": "0.2.2-alpha",
4
+ "license": "AGPL-3.0-or-later",
5
5
  "type": "module",
6
- "description": "The serial run queue as a host Cordis service (REBUILD-5 of the gateway kill): lock-first single-writer, sidecar/ledger I/O, reproduce/resume refusal arms, run-status probe slot. No doors, no routes, no port — the runs remote exposes the lanes over this seat.",
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
- "@deepseek-ai/cordis-plugin-timer": "1.1.6",
9
- "@deepseek-ai/dsh-atomic-write": "0.2.0-rc.1",
10
- "@deepseek-ai/dsh-brand": "0.2.0-rc.1",
11
- "@deepseek-ai/dsh-home-paths": "0.2.0-rc.1",
12
- "@deepseek-ai/dsh-timeout": "0.2.0-rc.1",
13
- "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1",
14
- "@deepseek-ai/dsh-util-values": "0.2.0-rc.1",
15
- "@deepseek-ai/schemastery": "^3.18.4",
16
- "@melite/comfyui-card-kit": "0.1.5-pre-alpha",
17
- "@melite/comfyui-cordis": "0.1.5-pre-alpha",
18
- "@melite/contracts": "0.1.5-pre-alpha",
19
- "@melite/engine-contract": "0.1.5-pre-alpha",
20
- "@melite/estate-drafts": "0.1.5-pre-alpha",
21
- "@melite/estate-provisioning": "0.1.5-pre-alpha"
22
- },
23
- "devDependencies": {
24
- "@types/node": "^22.20.0",
25
- "typescript": "^5.9.3",
26
- "@deepseek-ai/cordis": "^4.0.4"
8
+ "@deepseek-ai/dsh-atomic-write": "0.2.1-rc.2",
9
+ "@deepseek-ai/dsh-brand": "0.2.1-rc.2",
10
+ "@deepseek-ai/dsh-timeout": "0.2.1-rc.2",
11
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
12
+ "@deepseek-ai/dsh-util-values": "0.2.1-rc.2",
13
+ "@deepseek-ai/schemastery": "^3.18.5",
14
+ "@deepseek-ai/cordis-plugin-timer": "~1.1.3",
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
  ".": {
@@ -33,17 +27,33 @@
33
27
  "./package.json": "./package.json"
34
28
  },
35
29
  "peerDependencies": {
36
- "@deepseek-ai/cordis": "^4.0.4"
30
+ "@deepseek-ai/cordis": "^4.0.5"
37
31
  },
38
32
  "files": [
39
33
  "lib/index.js",
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
  }
@@ -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