@melite/estate-queue 0.1.4-alpha → 0.1.5-pre-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 (93) hide show
  1. package/README.md +55 -0
  2. package/lib/bench.d.ts +19 -11
  3. package/lib/bench.js +47 -57
  4. package/lib/cardsArmError.d.ts +45 -2
  5. package/lib/cardsArmError.js +28 -4
  6. package/lib/cardsCompose.d.ts +13 -1
  7. package/lib/cardsCompose.js +109 -61
  8. package/lib/cardsDangling.d.ts +2 -2
  9. package/lib/cardsDangling.js +82 -37
  10. package/lib/cardsFacts.d.ts +16 -3
  11. package/lib/cardsFacts.js +14 -0
  12. package/lib/cardsLanes.d.ts +12 -2
  13. package/lib/cardsLanes.js +73 -10
  14. package/lib/cardsRegistry.d.ts +93 -5
  15. package/lib/cardsRegistry.js +323 -54
  16. package/lib/cardsVariant.d.ts +10 -1
  17. package/lib/cardsVariant.js +66 -13
  18. package/lib/discloseRegistry.d.ts +6 -5
  19. package/lib/discloseRegistry.js +11 -9
  20. package/lib/flowsData.d.ts +67 -12
  21. package/lib/flowsData.js +230 -104
  22. package/lib/flowsFamilyCompose.d.ts +5 -8
  23. package/lib/flowsFamilyCompose.js +13 -13
  24. package/lib/flowsParamsOverlay.d.ts +55 -0
  25. package/lib/flowsParamsOverlay.js +197 -0
  26. package/lib/flowsRegistryRows.d.ts +3 -1
  27. package/lib/flowsRegistryRows.js +148 -6
  28. package/lib/index.d.ts +0 -3
  29. package/lib/index.js +14 -5
  30. package/lib/lifecycleLatch.d.ts +16 -0
  31. package/lib/lifecycleLatch.js +42 -0
  32. package/lib/loadPlane.d.ts +3 -2
  33. package/lib/loadPlane.js +25 -8
  34. package/lib/loadRegistry.js +1 -1
  35. package/lib/manageOps.d.ts +8 -2
  36. package/lib/manageOps.js +26 -6
  37. package/lib/managePlane.d.ts +31 -0
  38. package/lib/managePlane.js +360 -85
  39. package/lib/manageProbe.d.ts +1 -10
  40. package/lib/manageProbe.js +18 -7
  41. package/lib/manageRegistry.d.ts +42 -4
  42. package/lib/manageRegistry.js +45 -7
  43. package/lib/mediaKinds.d.ts +1 -1
  44. package/lib/mediaKinds.js +1 -1
  45. package/lib/queue.js +14 -10
  46. package/lib/queueCore.d.ts +7 -4
  47. package/lib/queueCore.js +9 -5
  48. package/lib/queueLifecycle.d.ts +0 -24
  49. package/lib/queueLifecycle.js +9 -63
  50. package/lib/queueLock.d.ts +8 -2
  51. package/lib/queueLock.js +9 -6
  52. package/lib/queueSidecar.d.ts +4 -0
  53. package/lib/queueSidecar.js +1 -0
  54. package/lib/queueSubmit.d.ts +61 -10
  55. package/lib/queueSubmit.js +120 -46
  56. package/lib/queueSweep.js +13 -2
  57. package/lib/runsChange.d.ts +8 -0
  58. package/lib/runsChange.js +21 -5
  59. package/lib/runsErrorCodes.d.ts +1 -1
  60. package/lib/runsErrorCodes.js +33 -0
  61. package/lib/runsExecute.d.ts +26 -0
  62. package/lib/runsExecute.js +143 -5
  63. package/lib/runsGates.js +4 -3
  64. package/lib/runsList.js +13 -19
  65. package/lib/runsRefusalVoices.js +52 -0
  66. package/lib/runsRegistry.d.ts +105 -7
  67. package/lib/runsRegistry.js +744 -100
  68. package/lib/runsSourceEcho.d.ts +27 -0
  69. package/lib/runsSourceEcho.js +84 -18
  70. package/lib/runsStart.d.ts +56 -14
  71. package/lib/runsStart.js +184 -45
  72. package/lib/runsTypes.d.ts +35 -0
  73. package/lib/runsTypes.js +7 -0
  74. package/lib/runsValidateArms.js +61 -7
  75. package/lib/runsValidateServe.d.ts +2 -2
  76. package/lib/runsValidateServe.js +26 -4
  77. package/lib/runsValidateShared.d.ts +1 -1
  78. package/lib/runsValidateStages.d.ts +10 -3
  79. package/lib/runsValidateStages.js +23 -3
  80. package/lib/service.d.ts +24 -6
  81. package/lib/service.js +19 -11
  82. package/lib/skillFs.d.ts +9 -4
  83. package/lib/skillFs.js +12 -14
  84. package/lib/skillPlane.d.ts +3 -2
  85. package/lib/skillPlane.js +12 -6
  86. package/lib/skillRegistry.js +1 -1
  87. package/lib/skillRows.d.ts +4 -3
  88. package/lib/skillRows.js +14 -12
  89. package/lib/toolProjection.d.ts +1 -1
  90. package/lib/toolProjection.js +1 -1
  91. package/package.json +8 -7
  92. package/lib/runStatus.d.ts +0 -7
  93. package/lib/runStatus.js +0 -21
@@ -1,5 +1,5 @@
1
1
  import type { ManifestRow } from "./skillPlane.js";
2
- import type { CardDefinition } from "@melite/comfyui-cordis";
2
+ import type { CardDefinition } from '@melite/comfyui-card-kit/card-definition';
3
3
  /** Py-era card dir names (underscores) -> registry ids (hyphens).
4
4
  * The three dirs predate the registry; the mapping is closed (a
5
5
  * fourth mismatch refuses LOUD at the walk, never a silent skip).
@@ -21,7 +21,7 @@
21
21
  import { emitParamsSchema } from "@melite/comfyui-cordis";
22
22
  import { cardWireName } from "@melite/comfyui-cordis";
23
23
  import { modelsBooted, modelsService } from "@melite/comfyui-cordis";
24
- import { semanticModelEntries } from "@melite/comfyui-cordis/semanticModelKnob";
24
+ import { semanticModelEntries } from "@melite/comfyui-card-kit/semanticModelKnob";
25
25
  /** Py-era card dir names (underscores) -> registry ids (hyphens).
26
26
  * The three dirs predate the registry; the mapping is closed (a
27
27
  * fourth mismatch refuses LOUD at the walk, never a silent skip).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melite/estate-queue",
3
- "version": "0.1.4-alpha",
3
+ "version": "0.1.5-pre-alpha",
4
4
  "license": "SSPL-1.0",
5
5
  "type": "module",
6
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.",
@@ -11,13 +11,14 @@
11
11
  "@deepseek-ai/dsh-home-paths": "0.2.0-rc.1",
12
12
  "@deepseek-ai/dsh-timeout": "0.2.0-rc.1",
13
13
  "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1",
14
+ "@deepseek-ai/dsh-util-values": "0.2.0-rc.1",
14
15
  "@deepseek-ai/schemastery": "^3.18.4",
15
- "@melite/comfyui-card-kit": "0.1.4-alpha",
16
- "@melite/comfyui-cordis": "0.1.4-alpha",
17
- "@melite/engine-contract": "0.1.4-alpha",
18
- "@melite/contracts": "0.1.4-alpha",
19
- "@melite/estate-drafts": "0.1.4-alpha",
20
- "@melite/estate-provisioning": "0.1.4-alpha"
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"
21
22
  },
22
23
  "devDependencies": {
23
24
  "@types/node": "^22.20.0",
@@ -1,7 +0,0 @@
1
- export type RunStatusProbe = (runId: string) => string | null;
2
- export declare function registerRunStatusProbe(fn: RunStatusProbe | null): void;
3
-
4
-
5
-
6
- export declare function runStatus(runId: string): string | null;
7
- //# sourceMappingURL=runStatus.d.ts.map
package/lib/runStatus.js DELETED
@@ -1,21 +0,0 @@
1
- // queue/runStatus.ts — the live-run status probe slot.
2
- //
3
-
4
- // arms) need the live-registry status owned by the runs door,
5
- // but queue must not import doors (dsh service direction: leaves
6
- // depend downward; availability flows upward). The door registers
7
- // its probe at import (the setBusPublisher seam pattern); queue
8
-
9
- let PROBE = null;
10
- export function registerRunStatusProbe(fn) {
11
- PROBE = fn;
12
- }
13
-
14
-
15
-
16
- export function runStatus(runId) {
17
- if (PROBE === null)
18
- return null;
19
- return PROBE(runId);
20
- }
21
- //# sourceMappingURL=runStatus.js.map