@melite/engine-contract 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.
- package/README.md +0 -5
- package/lib/types.d.ts +1 -8
- package/package.json +18 -7
package/README.md
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: The engine Service Definition — the engines seat, engine-agnostic stage types, and the pinned engine-id vocabulary every engine adapter and the runs lane share.
|
|
3
|
-
kind: package-library
|
|
4
|
-
---
|
|
5
|
-
|
|
6
1
|
# @melite/engine-contract
|
|
7
2
|
|
|
8
3
|
`@melite/engine-contract` declares the one contract every run-path engine
|
package/lib/types.d.ts
CHANGED
|
@@ -30,13 +30,7 @@ export interface EngineStageOutcome {
|
|
|
30
30
|
readonly outputs: Readonly<Record<string, EngineParamValue>>;
|
|
31
31
|
readonly artifacts: readonly string[];
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
/** A string carrying a compile-time-only brand B (the
|
|
35
|
-
* @deepseek-ai/dsh-brand mechanics, declared local — see the block
|
|
36
|
-
* comment above). */
|
|
37
|
-
type Branded<B extends string> = string & {
|
|
38
|
-
readonly [BRAND]: B;
|
|
39
|
-
};
|
|
33
|
+
import type { Branded } from "@deepseek-ai/dsh-brand";
|
|
40
34
|
/** The engine's own handle for one submitted run (ComfyUI's
|
|
41
35
|
* promptId). Minted ONCE at the transport that pulled it off the
|
|
42
36
|
* wire (comfyui-cordis's /prompt POST), de-branded by nothing —
|
|
@@ -93,5 +87,4 @@ export interface EngineRecord {
|
|
|
93
87
|
readonly executor: EngineExecutor;
|
|
94
88
|
readonly probe?: () => Promise<void>;
|
|
95
89
|
}
|
|
96
|
-
export {};
|
|
97
90
|
//# sourceMappingURL=types.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@melite/engine-contract",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3-rc.4",
|
|
4
4
|
"license": "AGPL-3.0-or-later",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"description": "The engine Service Definition
|
|
6
|
+
"description": "The engine Service Definition — the engines seat, engine-agnostic stage types, and the pinned engine-id vocabulary every engine adapter and the runs lane share.",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"types": "./lib/index.d.ts",
|
|
@@ -23,11 +23,6 @@
|
|
|
23
23
|
},
|
|
24
24
|
"./package.json": "./package.json"
|
|
25
25
|
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@types/node": "^22.20.0",
|
|
28
|
-
"typescript": "^5.9.3",
|
|
29
|
-
"@deepseek-ai/cordis": "^4.0.5"
|
|
30
|
-
},
|
|
31
26
|
"files": [
|
|
32
27
|
"lib/index.js",
|
|
33
28
|
"lib/**/*.js",
|
|
@@ -36,10 +31,26 @@
|
|
|
36
31
|
"peerDependencies": {
|
|
37
32
|
"@deepseek-ai/cordis": "^4.0.5"
|
|
38
33
|
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/JayDataEngineer/melite.git",
|
|
37
|
+
"directory": "packages/engines/contract"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"melite",
|
|
41
|
+
"comfyui",
|
|
42
|
+
"cordis",
|
|
43
|
+
"agent",
|
|
44
|
+
"media-generation",
|
|
45
|
+
"library"
|
|
46
|
+
],
|
|
39
47
|
"scripts": {
|
|
40
48
|
"build": "tsc -p tsconfig.build.json",
|
|
41
49
|
"typecheck": "tsc --noEmit"
|
|
42
50
|
},
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=22.18.0"
|
|
53
|
+
},
|
|
43
54
|
"publishConfig": {
|
|
44
55
|
"access": "public"
|
|
45
56
|
}
|