comfy-ts 2.20.0 → 2.20.1
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/dist/cli.js +3 -3
- package/dist/{exampleAssets-j1f26nGc.js → exampleAssets-8MycEthF.js} +6 -2
- package/dist/{exampleAssets-j1f26nGc.js.map → exampleAssets-8MycEthF.js.map} +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/{run-run-QEoh7Wbh.js → run-run-BslhZ0Qm.js} +2 -2
- package/dist/{run-run-QEoh7Wbh.js.map → run-run-BslhZ0Qm.js.map} +1 -1
- package/dist/{run-tui-YxiSoNvK.js → run-tui-Cxa8ksav.js} +2 -2
- package/dist/{run-tui-YxiSoNvK.js.map → run-tui-Cxa8ksav.js.map} +1 -1
- package/dist/serve-web.js +28 -28
- package/dist/web.js +5 -1
- package/dist/web.js.map +1 -1
- package/package.json +2 -1
- package/src/cli/serve/web/state/RunSt.poll.test.ts +38 -0
- package/src/cli/serve/web/state/RunSt.ts +6 -2
- package/src/host/ComfyHost.ts +2 -0
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as readableStringify, c as writeHostFile, l as renderHttpBase, n as comfyTsPackageDir, r as ComfyTS, s as ComfySchema } from "./exampleAssets-
|
|
2
|
+
import { a as readableStringify, c as writeHostFile, l as renderHttpBase, n as comfyTsPackageDir, r as ComfyTS, s as ComfySchema } from "./exampleAssets-8MycEthF.js";
|
|
3
3
|
import { D as readLoraMirror, F as fetchLoraList, H as lmModelName, K as lmTrainedWords, _ as buildLoraMirror, j as writeLoraMirror } from "./schemaDrift-DaWsE-mt.js";
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
5
|
import { constants, homedir } from "node:os";
|
|
@@ -554,14 +554,14 @@ async function main() {
|
|
|
554
554
|
}
|
|
555
555
|
armHopChild();
|
|
556
556
|
if (cmd === "run") {
|
|
557
|
-
const { runRun } = await import("./run-run-
|
|
557
|
+
const { runRun } = await import("./run-run-BslhZ0Qm.js");
|
|
558
558
|
return runRun(rest);
|
|
559
559
|
}
|
|
560
560
|
if (cmd === "serve") {
|
|
561
561
|
const { runServe } = await import("./run-serve-CsEYPGm9.js");
|
|
562
562
|
return runServe(rest);
|
|
563
563
|
}
|
|
564
|
-
const { runTui } = await import("./run-tui-
|
|
564
|
+
const { runTui } = await import("./run-tui-Cxa8ksav.js");
|
|
565
565
|
return runTui(rest);
|
|
566
566
|
}
|
|
567
567
|
console.log(HELP);
|
|
@@ -1003,7 +1003,7 @@ var ComfySchema = class {
|
|
|
1003
1003
|
};
|
|
1004
1004
|
//#endregion
|
|
1005
1005
|
//#region package.json
|
|
1006
|
-
var version = "2.20.
|
|
1006
|
+
var version = "2.20.1";
|
|
1007
1007
|
//#endregion
|
|
1008
1008
|
//#region src/litegraph/LiteGraphLinkID.ts
|
|
1009
1009
|
const asLiteGraphLinkID = (id) => id;
|
|
@@ -5192,6 +5192,10 @@ var ComfyHost = class {
|
|
|
5192
5192
|
};
|
|
5193
5193
|
this.checkSchemaDrift = async (p) => {
|
|
5194
5194
|
const loaded = this.schema.data.spec;
|
|
5195
|
+
if (Object.keys(loaded).length === 0) return {
|
|
5196
|
+
nodes: null,
|
|
5197
|
+
models: []
|
|
5198
|
+
};
|
|
5195
5199
|
const live = {};
|
|
5196
5200
|
if (p.full) Object.assign(live, await this.fetchJSON_("/object_info"));
|
|
5197
5201
|
else for (const m of MODEL_LISTS) if (loaded[m.node] != null) Object.assign(live, await this.fetchJSON_(`/object_info/${m.node}`));
|
|
@@ -6259,4 +6263,4 @@ function comfyTsPackageDir(moduleUrl = import.meta.url) {
|
|
|
6259
6263
|
//#endregion
|
|
6260
6264
|
export { readableStringify as a, writeHostFile as c, settingsPathFor as i, renderHttpBase as l, comfyTsPackageDir as n, importSharp as o, ComfyTS as r, ComfySchema as s, bundledExamplesDir as t };
|
|
6261
6265
|
|
|
6262
|
-
//# sourceMappingURL=exampleAssets-
|
|
6266
|
+
//# sourceMappingURL=exampleAssets-8MycEthF.js.map
|