@melite/estate-queue 0.1.4-alpha → 0.2.0-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 (106) hide show
  1. package/LICENSE +561 -457
  2. package/README.md +55 -0
  3. package/lib/bench.d.ts +19 -11
  4. package/lib/bench.js +47 -57
  5. package/lib/cardsArmError.d.ts +94 -2
  6. package/lib/cardsArmError.js +34 -4
  7. package/lib/cardsCompose.d.ts +13 -1
  8. package/lib/cardsCompose.js +151 -67
  9. package/lib/cardsDangling.d.ts +2 -2
  10. package/lib/cardsDangling.js +82 -37
  11. package/lib/cardsFacts.d.ts +32 -3
  12. package/lib/cardsFacts.js +39 -1
  13. package/lib/cardsLanes.d.ts +62 -4
  14. package/lib/cardsLanes.js +407 -20
  15. package/lib/cardsLanesCopy.d.ts +21 -0
  16. package/lib/cardsLanesCopy.js +22 -0
  17. package/lib/cardsRegistry.d.ts +195 -10
  18. package/lib/cardsRegistry.js +959 -67
  19. package/lib/cardsVariant.d.ts +22 -8
  20. package/lib/cardsVariant.js +243 -52
  21. package/lib/discloseRegistry.d.ts +42 -11
  22. package/lib/discloseRegistry.js +163 -23
  23. package/lib/filmLead.js +5 -3
  24. package/lib/flowsData.d.ts +68 -13
  25. package/lib/flowsData.js +236 -107
  26. package/lib/flowsFamilyCompose.d.ts +5 -8
  27. package/lib/flowsFamilyCompose.js +25 -14
  28. package/lib/flowsParamsOverlay.d.ts +55 -0
  29. package/lib/flowsParamsOverlay.js +197 -0
  30. package/lib/flowsRegistryRows.d.ts +4 -1
  31. package/lib/flowsRegistryRows.js +325 -25
  32. package/lib/index.d.ts +1 -3
  33. package/lib/index.js +20 -5
  34. package/lib/lifecycleLatch.d.ts +16 -0
  35. package/lib/lifecycleLatch.js +42 -0
  36. package/lib/loadPlane.d.ts +3 -2
  37. package/lib/loadPlane.js +34 -8
  38. package/lib/loadRegistry.js +1 -1
  39. package/lib/manageOps.d.ts +8 -2
  40. package/lib/manageOps.js +28 -7
  41. package/lib/managePlane.d.ts +42 -1
  42. package/lib/managePlane.js +911 -101
  43. package/lib/managePreflight.d.ts +26 -0
  44. package/lib/managePreflight.js +179 -0
  45. package/lib/manageProbe.d.ts +15 -7
  46. package/lib/manageProbe.js +79 -8
  47. package/lib/manageRegistry.d.ts +42 -4
  48. package/lib/manageRegistry.js +45 -7
  49. package/lib/mediaKinds.d.ts +1 -1
  50. package/lib/mediaKinds.js +1 -1
  51. package/lib/queue.js +14 -10
  52. package/lib/queueCore.d.ts +21 -5
  53. package/lib/queueCore.js +22 -5
  54. package/lib/queueLifecycle.d.ts +0 -24
  55. package/lib/queueLifecycle.js +9 -63
  56. package/lib/queueLock.d.ts +8 -2
  57. package/lib/queueLock.js +9 -6
  58. package/lib/queueResurrect.d.ts +7 -2
  59. package/lib/queueResurrect.js +25 -6
  60. package/lib/queueSidecar.d.ts +114 -1
  61. package/lib/queueSidecar.js +178 -7
  62. package/lib/queueSubmit.d.ts +124 -10
  63. package/lib/queueSubmit.js +251 -48
  64. package/lib/queueSweep.js +13 -2
  65. package/lib/runsChange.d.ts +8 -0
  66. package/lib/runsChange.js +21 -5
  67. package/lib/runsErrorCodes.d.ts +1 -1
  68. package/lib/runsErrorCodes.js +35 -0
  69. package/lib/runsExecute.d.ts +26 -0
  70. package/lib/runsExecute.js +184 -6
  71. package/lib/runsGates.d.ts +5 -1
  72. package/lib/runsGates.js +10 -5
  73. package/lib/runsList.d.ts +43 -3
  74. package/lib/runsList.js +172 -58
  75. package/lib/runsRefusalVoices.js +101 -0
  76. package/lib/runsRegistry.d.ts +188 -12
  77. package/lib/runsRegistry.js +1233 -179
  78. package/lib/runsSourceEcho.d.ts +27 -0
  79. package/lib/runsSourceEcho.js +84 -18
  80. package/lib/runsStart.d.ts +80 -17
  81. package/lib/runsStart.js +303 -49
  82. package/lib/runsTypes.d.ts +62 -2
  83. package/lib/runsTypes.js +30 -6
  84. package/lib/runsValidateArms.js +61 -7
  85. package/lib/runsValidateServe.d.ts +2 -2
  86. package/lib/runsValidateServe.js +46 -14
  87. package/lib/runsValidateShared.d.ts +10 -1
  88. package/lib/runsValidateShared.js +14 -0
  89. package/lib/runsValidateStages.d.ts +10 -3
  90. package/lib/runsValidateStages.js +44 -12
  91. package/lib/runtimeProvision.d.ts +119 -0
  92. package/lib/runtimeProvision.js +243 -0
  93. package/lib/service.d.ts +24 -6
  94. package/lib/service.js +19 -11
  95. package/lib/skillFs.d.ts +9 -4
  96. package/lib/skillFs.js +12 -14
  97. package/lib/skillPlane.d.ts +3 -2
  98. package/lib/skillPlane.js +12 -6
  99. package/lib/skillRegistry.js +1 -1
  100. package/lib/skillRows.d.ts +4 -3
  101. package/lib/skillRows.js +21 -14
  102. package/lib/toolProjection.d.ts +1 -1
  103. package/lib/toolProjection.js +1 -1
  104. package/package.json +18 -17
  105. package/lib/runStatus.d.ts +0 -7
  106. package/lib/runStatus.js +0 -21
@@ -20,13 +20,104 @@ import { readFileSync } from "node:fs";
20
20
  import { join } from "node:path";
21
21
  import { Service } from "@deepseek-ai/cordis";
22
22
  import { resolveRepoRoot } from "@melite/comfyui-cordis";
23
- import { getRegistryFlow, registryFlowNames } from "./flowsData.js";
24
- /** Search the card defs: the q tokens (whitespace-split,
25
- * case-folded) ALL match (id + label + description + tags); the
26
- * tags param (comma list) ALL match def.tags. Empty q + tags =
27
- * all. */
23
+ import { seedFlowsSeat } from "./flowsData.js";
24
+ /** The words a user sentence carries but no card owns — articles,
25
+ * pronouns, auxiliaries and request verbs. Ignored for scoring (the
26
+ * full-sentence miss was the transcript's first call: "Make an image
27
+ * of an anime girl." carries four stopwords around one real word). */
28
+ const STOPWORDS = new Set([
29
+ "a", "an", "the", "of", "to", "with", "for", "and", "or", "in", "on", "at", "by",
30
+ "from", "into", "me", "my", "i", "we", "you", "it", "this", "that", "these", "those",
31
+ "turn", "want", "need", "please", "can", "could", "would", "should",
32
+ "do", "does", "is", "are", "be", "as", "so", "if", "then", "than", "using", "use",
33
+ ]);
34
+ /** The modality vocabulary: a query word names a modality, and a card
35
+ * whose tags/genre carry that modality answers it (the transcript's
36
+ * `tags=image` facet, scored instead of required). */
37
+ const MODALITY_WORDS = {
38
+ image: "image", images: "image", photo: "image", photos: "image", picture: "image",
39
+ pictures: "image", still: "image", illustration: "image",
40
+ video: "video", videos: "video", clip: "video", clips: "video", movie: "video",
41
+ animation: "video", animate: "video", film: "video",
42
+ audio: "audio", sound: "audio", sounds: "audio", music: "audio", voice: "audio",
43
+ speech: "audio", talk: "audio", talking: "audio",
44
+ mesh: "mesh", "3d": "mesh", blender: "mesh",
45
+ };
46
+ /** Request verbs → the OPERATION tag they mean. A card declares its
47
+ * operations in tags (generate/edit/upscale); the user's verb is the
48
+ * same intent in another spelling, so it scores like a modality word
49
+ * ("make an image" must rank the GENERATE card above the EDIT card —
50
+ * the transcript's request was to generate, not to edit). */
51
+ const OPERATION_WORDS = {
52
+ make: "generate", create: "generate", generate: "generate", render: "generate",
53
+ draw: "generate", imagine: "generate", produce: "generate", design: "generate",
54
+ edit: "edit", modify: "edit", change: "edit", adjust: "edit", retouch: "edit",
55
+ upscale: "upscale", enlarge: "upscale", upres: "upscale", enhance: "upscale",
56
+ animate: "animate", motion: "animate",
57
+ };
58
+
59
+
60
+
61
+ export function diceTrigrams(a, b) {
62
+ if (a === b)
63
+ return 1;
64
+ if (a.length < 3 || b.length < 3)
65
+ return 0;
66
+ const grams = (w) => {
67
+ const m = new Map();
68
+ for (let i = 0; i + 3 <= w.length; i++) {
69
+ const g = w.slice(i, i + 3);
70
+ m.set(g, (m.get(g) ?? 0) + 1);
71
+ }
72
+ return m;
73
+ };
74
+ const ga = grams(a);
75
+ const gb = grams(b);
76
+ let overlap = 0;
77
+ for (const [g, n] of ga)
78
+ overlap += Math.min(n, gb.get(g) ?? 0);
79
+ return (2 * overlap) / (a.length - 2 + b.length - 2);
80
+ }
81
+ /** Score one query token against one card; returns the weight and
82
+ * the WHY line, or null. Order: exact tag, exact word, modality,
83
+ * fuzzy (the strongest facet wins — one reason per token). */
84
+ function scoreToken(tok, words, dtags, genre) {
85
+ if (dtags.includes(tok))
86
+ return { weight: 3, why: "tag:" + tok };
87
+ if (words.includes(tok))
88
+ return { weight: 2, why: "word:" + tok };
89
+ const modality = MODALITY_WORDS[tok];
90
+ if (modality !== undefined && (dtags.includes(modality) || genre.toLowerCase() === modality)) {
91
+ return { weight: 2, why: "modality:" + tok };
92
+ }
93
+ const operation = OPERATION_WORDS[tok];
94
+ if (operation !== undefined && dtags.includes(operation)) {
95
+ return { weight: 2, why: "operation:" + tok + "->" + operation };
96
+ }
97
+ let best = 0;
98
+ let bestWord = "";
99
+ for (const w of words) {
100
+ const d = diceTrigrams(tok, w);
101
+ if (d > best) {
102
+ best = d;
103
+ bestWord = w;
104
+ }
105
+ }
106
+ if (best >= 0.42) {
107
+ return { weight: Math.round(best * 100) / 100, why: "fuzzy:" + tok + "~" + bestWord + "(" + best.toFixed(2) + ")" };
108
+ }
109
+ return null;
110
+ }
111
+ /** Search the card defs (slice 3, the intent door): the tags param
112
+ * (comma list) is a HARD facet — a card must carry every tag. q is
113
+ * RANKED, never an AND: every non-stopword token scores its best
114
+ * facet (exact tag 3, exact word 2, modality 2, trigram fuzzy
115
+ * 0.42–1), rows sort by score then id, and every row carries the
116
+ * WHY it surfaced. With tags stated the facet alone keeps a row
117
+ * (score 0 is a lawful tag hit); without tags a row needs at least
118
+ * one scoring token. Empty q + tags = every tag-matched card. */
28
119
  export function searchCards(defs, q, tags) {
29
- const toks = q.toLowerCase().split(/\s+/).filter((t) => t !== "");
120
+ const toks = q.toLowerCase().split(/[^a-z0-9]+/).filter((t) => t !== "" && !STOPWORDS.has(t));
30
121
  const want = tags.toLowerCase().split(",").map((t) => t.trim()).filter((t) => t !== "");
31
122
  const out = [];
32
123
  for (const [id, def] of defs) {
@@ -36,13 +127,30 @@ export function searchCards(defs, q, tags) {
36
127
  continue;
37
128
  const label = def.identity?.label ?? id;
38
129
  const description = def.identity?.description ?? "";
39
- const hay = (id + " " + label + " " + description + " " + dtags.join(" ")).toLowerCase();
40
- if (!toks.every((t) => hay.includes(t)))
130
+ const genre = def.identity?.genre ?? "";
131
+ // THE FAMILY CORPUS (friction-report #5): the boarded family ids
132
+ // ride the corpus split on separators, so `krea` routes to the
133
+ // card boarding krea-2 (fuzzy on the whole id already caught the
134
+ // full spelling — the splits catch the bare name).
135
+ const fams = def.boarded ?? [];
136
+ const famWords = fams.flatMap((f) => [f, ...f.split(/[-_]+/)]).join(" ");
137
+ const words = (id + " " + label + " " + description + " " + low.join(" ") + " " + famWords).toLowerCase().split(/[^a-z0-9]+/).filter((w) => w !== "");
138
+ const why = want.length > 0 ? ["tags=" + want.join(",")] : [];
139
+ let score = 0;
140
+ for (const tok of toks) {
141
+ const hit = scoreToken(tok, words, low, genre);
142
+ if (hit !== null) {
143
+ score += hit.weight;
144
+ why.push(hit.why);
145
+ }
146
+ }
147
+ // the facet law: tags stated => the tag match is the row; tags
148
+ // silent => a row needs a scoring token (never the whole corpus)
149
+ if (want.length === 0 && toks.length > 0 && score === 0)
41
150
  continue;
42
- out.push({ id, label, description, genre: def.identity?.genre ?? "", tags: dtags });
151
+ out.push({ id, label, description, genre, tags: dtags, matched_by: why.length > 0 ? why.join("; ") : "all", score });
43
152
  }
44
- // (map keys are unique — the equal arm never fires)
45
- out.sort((a, b) => (a.id < b.id ? -1 : a.id > b.id ? 1 : /* v8 ignore next */ 0));
153
+ out.sort((a, b) => (b.score - a.score) || (a.id < b.id ? -1 : a.id > b.id ? 1 : /* v8 ignore next */ 0));
46
154
  return out;
47
155
  }
48
156
  /** Search the flow rows (PURE over the merged rows). */
@@ -58,10 +166,11 @@ export function searchFlows(rows, q) {
58
166
  }
59
167
  /** The flow rows: REGISTRY (the compile truth) merged with the
60
168
  * flows/<name>/tool.json leaf (the agent face: stage_title). */
61
- export function flowSummaryRows(repo) {
169
+ export function flowSummaryRows(repo, flowsSeat) {
170
+ const seat = flowsSeat ?? seedFlowsSeat();
62
171
  const out = [];
63
- for (const name of registryFlowNames()) {
64
- const flow = getRegistryFlow(name);
172
+ for (const name of seat.names()) {
173
+ const flow = seat.get(name);
65
174
 
66
175
 
67
176
  if (flow === undefined)
@@ -80,10 +189,11 @@ export function flowSummaryRows(repo) {
80
189
  return out;
81
190
  }
82
191
  /** The contract rows, one per registry flow, in registry order. */
83
- export function flowContractRows() {
192
+ export function flowContractRows(flowsSeat) {
193
+ const seat = flowsSeat ?? seedFlowsSeat();
84
194
  const out = [];
85
- for (const name of registryFlowNames()) {
86
- const flow = getRegistryFlow(name);
195
+ for (const name of seat.names()) {
196
+ const flow = seat.get(name);
87
197
 
88
198
 
89
199
  if (flow === undefined)
@@ -120,24 +230,54 @@ export class DiscloseDirectoryService extends Service {
120
230
 
121
231
 
122
232
  contracts() {
123
- return { flows: flowContractRows() };
233
+ return { flows: flowContractRows(this.ctx.get("meliteFlows")) };
124
234
  }
125
235
  /** GET /v1/discover: unknown
126
236
  * lookup refuses with the door's own voice; the body carries the
127
- * requested planes only. */
237
+ * requested planes only. totals is the UNFILTERED estate size
238
+ * (friction-report #5: a filtered answer must say "N cards, M
239
+ * matched" — never present the match as the catalog); missed_tags
240
+ * is the tag vocabulary of cards the filter removed, so a miss is
241
+ * discoverable in one hop. */
128
242
  discover(lookup, q, tags) {
129
243
  if (lookup !== "all" && lookup !== "cards" && lookup !== "flows") {
130
244
  throw new Error("unknown lookup '" + lookup + "' (all | cards | flows)");
131
245
  }
132
- const body = {};
246
+ const allFlows = flowSummaryRows(resolveRepoRoot(), this.ctx.get("meliteFlows"));
247
+ const cards = this.ctx.cardRegistry;
248
+ const defs = cards.defsSync();
249
+ const filtering = q !== "" || tags !== "";
250
+ const body = {
251
+ totals: { flows: allFlows.length, cards: defs.size },
252
+ };
133
253
  if (lookup === "all" || lookup === "flows") {
134
- body.flows = searchFlows(flowSummaryRows(resolveRepoRoot()), q);
254
+ body.flows = searchFlows(allFlows, q);
135
255
  }
136
256
  if (lookup === "all" || lookup === "cards") {
137
257
  // property read: the hard inject (above) is the fiber's
138
258
  // contract — the legal spelling under the tutorial's law.
139
- const cards = this.ctx.cardRegistry;
140
- body.cards = searchCards(cards.defsSync(), q, tags);
259
+ body.cards = searchCards(defs, q, tags);
260
+ if (filtering) {
261
+ // THE MISS VOCABULARY (friction-report #5): tags carried by
262
+ // NO matched card — the rows the filter removed, so a miss is
263
+ // discoverable in one hop (a second q/tags off this list).
264
+ const matchedIds = new Set((body.cards ?? []).map((c) => c.id));
265
+ const matchedTags = new Set();
266
+ for (const c of body.cards ?? []) {
267
+ for (const t of defs.get(c.id)?.tags ?? [])
268
+ matchedTags.add(t);
269
+ }
270
+ const missed = new Set();
271
+ for (const [id, def] of defs) {
272
+ if (matchedIds.has(id))
273
+ continue;
274
+ for (const t of def.tags ?? []) {
275
+ if (!matchedTags.has(t))
276
+ missed.add(t);
277
+ }
278
+ }
279
+ body.missed_tags = [...missed].sort().slice(0, 40);
280
+ }
141
281
  }
142
282
  return body;
143
283
  }
package/lib/filmLead.js CHANGED
@@ -6,9 +6,11 @@
6
6
  // is the one pure, filesystem-free decision the gallery needs:
7
7
  // when the engine composed the film itself, the film leads the
8
8
  // names.
9
- /** The ENGINE FILM artifact — the in-graph assembly's output
10
- * (SaveVideo prefix h3_t4_film + ComfyUI's counter suffix). */
11
- const ENGINE_FILM_RE = /(?:^|\/)h3_t4_film_\d+_\.mp4$/;
9
+
10
+
11
+
12
+
13
+ const ENGINE_FILM_RE = /(?:^|[/_])h3_t4_film_\d+_\.mp4$/;
12
14
  /** The engine-composed film's name among a stage's artifacts, if
13
15
  * any — presentation order only, never composition. */
14
16
  export function engineFilmName(names) {
@@ -44,7 +44,7 @@ export interface RegistryStage {
44
44
  readonly fromFlow: RegistryFromFlow | null;
45
45
  }
46
46
  /** The compile-time initial kinds (flow.initial_validators). */
47
- export type RegistryInitialKind = "photo" | "glb" | "bake_params" | "text";
47
+ export type RegistryInitialKind = "photo" | "video" | "glb" | "bake_params" | "text";
48
48
  /** One headless-tool overlay (FlowToolOverlay: tool param -> the
49
49
  * stage doc path it stamps, with the value choices map). */
50
50
  export interface RegistryToolOverlay {
@@ -109,21 +109,64 @@ export declare function plainStage(row: {
109
109
  } | null;
110
110
  }): RegistryStage;
111
111
  export declare function linkedStage(flow: string, stage: string, id: string, inputs: Record<string, RegistryEdge>): RegistryStage;
112
- /** Register one flow into the live seat. LOUD: a duplicate id
113
- * refuses (one owner per flow id — the same interlock as cards and
114
- * model families). Returns the disposer; call it and the flow is
115
- * gone from every read below. */
116
- export declare function registerRegistryFlow(flow: RegistryFlow): () => void;
117
- /** All registered flow names (the flow.scan_flow_ids order — sorted;
118
- * the live seat, so a hot registration is visible at once). */
119
- export declare function registryFlowNames(): string[];
120
- /** The raw (unexpanded) declaration, or undefined for unknown names. */
121
- export declare function getRegistryFlow(name: string): RegistryFlow | undefined;
112
+ import { Service } from "@deepseek-ai/cordis";
113
+ import type { Context } from "@deepseek-ai/cordis";
114
+ /** The read face pure registry code needs — the seat injected into
115
+ * the pure plane (link resolution + the known-flows voice). */
116
+ export interface FlowsSeat {
117
+ /** The raw (unexpanded) declaration, or undefined for unknown names. */
118
+ get(name: string): RegistryFlow | undefined;
119
+ /** All registered flow names, sorted (the flow.scan_flow_ids order
120
+ * — the live seat, so a hot registration is visible at once). */
121
+ names(): string[];
122
+ }
123
+ /** A pure read-only seat over the boot seed (REGISTRY verbatim, no
124
+ * registration surface): the door for callers with no host fiber —
125
+ * pure rigs and the walls. Service-owning callers read the live
126
+ * seat instead (ctx.get("meliteFlows")).
127
+ * @returns the seeded FlowsSeat. */
128
+ export declare function seedFlowsSeat(): FlowsSeat;
129
+ /** The live flow registry seat (J4 cure: the table is instance
130
+ * state, never a module global). */
131
+ export declare class FlowsSeatService extends Service implements FlowsSeat {
132
+ static readonly inject: readonly string[];
133
+ private flows;
134
+ constructor(ctx: Context);
135
+ /** The raw (unexpanded) declaration, or undefined for unknown
136
+ * names. */
137
+ get(name: string): RegistryFlow | undefined;
138
+ /** All registered flow names, sorted. */
139
+ names(): string[];
140
+ /** Register one flow into the live seat. LOUD: a duplicate id
141
+ * refuses (one owner per flow id — the same interlock as cards
142
+ * and model families); the stage and validator interlocks ride
143
+ * verbatim. Returns the disposer; call it (or dispose the
144
+ * ctx.effect that owns it) and the flow is gone from every
145
+ * read.
146
+ * @param flow - the declaration to seat.
147
+ * @returns the disposer removing exactly this row. */
148
+ register(flow: RegistryFlow): () => void;
149
+ }
122
150
  /** Resolve every fromFlow row against its source flow (Stage.from_flow
123
151
  * verbatim: the source row's engine/card/description/expected/
124
152
  * outputs/card_io/params ride; the link's id + inputs win). Throws
125
153
  * LOUD on a dangling link (authoring bug — never a silent row). */
126
- export declare function expandRegistryFlow(flow: RegistryFlow): RegistryFlow;
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ export declare function refuseRawWorkflowShape(flowId: string, st: RegistryStage): void;
169
+ export declare function expandRegistryFlow(flow: RegistryFlow, seat: FlowsSeat): RegistryFlow;
127
170
 
128
171
 
129
172
 
@@ -138,6 +181,18 @@ export interface InitialsRoots {
138
181
  readonly repoRoot: string;
139
182
  readonly stateRoot: string;
140
183
  }
184
+ /** The on-disk candidate paths one gate-blessed file initial may
185
+ * live at — the press gate's SAME trees, extracted so the
186
+ * claim-time re-probe (runsRegistry pump) judges by the identical
187
+ * set instead of re-spelling it. Contract: `raw` already passed
188
+ * checkFileInitial's shape gates (data:/blob:, extension vocab,
189
+ * traversal, malformed run-prefix URL) — this builds candidates
190
+ * only; a raw outside those gates gets a list that misses, which
191
+ * is the honest answer for a value the gate would have refused.
192
+ * @param raw the trimmed path reference ({path: …} unwrapped)
193
+ * @param roots the same roots manifest the press gate rode
194
+ * @returns the candidate paths, in the press gate's order */
195
+ export declare function initialFileCandidates(raw: string, roots: InitialsRoots): string[];
141
196
  /** The compile-time gate over a registry flow's initial_validators:
142
197
  * the first refusal text, or null when every PRESENT initial
143
198
  * passes (absent initials ride — the $channel/branch arms own
@@ -175,5 +230,5 @@ export declare function extractRequestInitials(flow: RegistryFlow, body: Record<
175
230
  refusal: string;
176
231
  };
177
232
  /** Render one registry flow as its skill-body text. */
178
- export declare function registrySkillBody(flow: RegistryFlow): string;
233
+ export declare function registrySkillBody(flow: RegistryFlow, seat: FlowsSeat): string;
179
234
  //# sourceMappingURL=flowsData.d.ts.map