@melite/estate-queue 0.2.0-alpha → 0.2.3-rc.4

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 (87) hide show
  1. package/README.md +0 -5
  2. package/lib/bench.js +30 -3
  3. package/lib/cardsCompose.d.ts +31 -0
  4. package/lib/cardsCompose.js +65 -1
  5. package/lib/cardsDangling.js +17 -7
  6. package/lib/cardsDroppable.d.ts +11 -0
  7. package/lib/cardsDroppable.js +50 -0
  8. package/lib/cardsFacts.d.ts +37 -0
  9. package/lib/cardsFacts.js +47 -1
  10. package/lib/cardsLanes.d.ts +18 -0
  11. package/lib/cardsLanes.js +2 -1
  12. package/lib/cardsRegistry.d.ts +12 -20
  13. package/lib/cardsRegistry.js +288 -96
  14. package/lib/discloseRegistry.d.ts +5 -0
  15. package/lib/discloseRegistry.js +3 -3
  16. package/lib/filmLead.js +9 -1
  17. package/lib/filmMemoryWarn.js +1 -0
  18. package/lib/flowsData.d.ts +110 -21
  19. package/lib/flowsData.js +201 -23
  20. package/lib/flowsFamilyCompose.js +1 -0
  21. package/lib/flowsParamsOverlay.d.ts +8 -1
  22. package/lib/flowsParamsOverlay.js +47 -2
  23. package/lib/flowsRegistryRows.d.ts +0 -4
  24. package/lib/flowsRegistryRows.js +177 -371
  25. package/lib/index.d.ts +0 -1
  26. package/lib/index.js +0 -4
  27. package/lib/ledgerTail.js +1 -0
  28. package/lib/loadPlane.d.ts +46 -4
  29. package/lib/loadPlane.js +109 -7
  30. package/lib/loadRegistry.js +9 -2
  31. package/lib/managePlane.d.ts +5 -0
  32. package/lib/managePlane.js +412 -51
  33. package/lib/managePreflight.js +38 -6
  34. package/lib/manageProbe.d.ts +35 -0
  35. package/lib/manageProbe.js +141 -2
  36. package/lib/manageRegistry.d.ts +10 -0
  37. package/lib/manageRegistry.js +7 -1
  38. package/lib/managerRail.js +1 -0
  39. package/lib/queueCore.js +3 -1
  40. package/lib/queueLock.js +22 -10
  41. package/lib/queueResurrect.d.ts +0 -3
  42. package/lib/queueResurrect.js +5 -3
  43. package/lib/queueRetry.d.ts +12 -10
  44. package/lib/queueRetry.js +2 -4
  45. package/lib/queueSidecar.d.ts +36 -1
  46. package/lib/queueSidecar.js +30 -2
  47. package/lib/queueSubmit.d.ts +4 -1
  48. package/lib/queueSubmit.js +28 -5
  49. package/lib/queueSweep.d.ts +38 -11
  50. package/lib/queueSweep.js +73 -16
  51. package/lib/runsChange.d.ts +5 -4
  52. package/lib/runsExecute.d.ts +16 -1
  53. package/lib/runsExecute.js +102 -50
  54. package/lib/runsGates.d.ts +11 -3
  55. package/lib/runsGates.js +12 -3
  56. package/lib/runsList.d.ts +59 -3
  57. package/lib/runsList.js +228 -36
  58. package/lib/runsRegistry.d.ts +87 -6
  59. package/lib/runsRegistry.js +664 -98
  60. package/lib/runsSourceEcho.js +9 -3
  61. package/lib/runsStart.d.ts +6 -4
  62. package/lib/runsStart.js +32 -25
  63. package/lib/runsTypes.d.ts +54 -1
  64. package/lib/runsTypes.js +82 -3
  65. package/lib/runsValidate.d.ts +1 -0
  66. package/lib/runsValidate.js +5 -0
  67. package/lib/runsValidateArms.js +48 -2
  68. package/lib/runsValidateServe.js +15 -12
  69. package/lib/runsValidateShared.d.ts +8 -10
  70. package/lib/runsValidateShared.js +41 -15
  71. package/lib/runsValidateStages.d.ts +1 -1
  72. package/lib/runsValidateStages.js +90 -50
  73. package/lib/runtimeProvision.js +10 -2
  74. package/lib/skillAuthored.d.ts +50 -0
  75. package/lib/skillAuthored.js +178 -0
  76. package/lib/skillFs.js +3 -0
  77. package/lib/skillPlane.d.ts +40 -2
  78. package/lib/skillPlane.js +63 -13
  79. package/lib/skillRegistry.d.ts +24 -1
  80. package/lib/skillRegistry.js +69 -5
  81. package/lib/skillRows.d.ts +13 -3
  82. package/lib/skillRows.js +52 -9
  83. package/lib/vocab.d.ts +29 -0
  84. package/lib/vocab.js +78 -0
  85. package/package.json +24 -14
  86. package/lib/resurrect.d.ts +0 -6
  87. package/lib/resurrect.js +0 -18
package/package.json CHANGED
@@ -1,29 +1,23 @@
1
1
  {
2
2
  "name": "@melite/estate-queue",
3
- "version": "0.2.0-alpha",
3
+ "version": "0.2.3-rc.4",
4
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
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",
14
+ "@melite/comfyui-card-kit": "0.2.3-rc.4",
15
15
  "@deepseek-ai/cordis-plugin-timer": "~1.1.3",
16
- "@melite/comfyui-cordis": "0.2.0-alpha",
17
- "@melite/comfyui-card-kit": "0.2.0-alpha",
18
- "@melite/contracts": "0.2.0-alpha",
19
- "@melite/engine-contract": "0.2.0-alpha",
20
- "@melite/estate-drafts": "0.2.0-alpha",
21
- "@melite/estate-provisioning": "0.2.0-alpha"
22
- },
23
- "devDependencies": {
24
- "@types/node": "^22.20.0",
25
- "typescript": "^5.9.3",
26
- "@deepseek-ai/cordis": "^4.0.5"
16
+ "@melite/comfyui-cordis": "0.2.3-rc.4",
17
+ "@melite/engine-contract": "0.2.3-rc.4",
18
+ "@melite/contracts": "0.2.3-rc.4",
19
+ "@melite/estate-provisioning": "0.2.3-rc.4",
20
+ "@melite/estate-drafts": "0.2.3-rc.4"
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
  }
@@ -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