comfy-ts 2.4.2 → 2.5.0
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 +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/{run-tui-BqNO9Ck0.js → run-tui-t2TRBN0H.js} +5 -5
- package/dist/{run-tui-BqNO9Ck0.js.map → run-tui-t2TRBN0H.js.map} +1 -1
- package/dist/{state-D9w1aJow.js → state-DY3Mp9Cl.js} +2 -2
- package/dist/{state-D9w1aJow.js.map → state-DY3Mp9Cl.js.map} +1 -1
- package/dist/web.d.ts +18 -18
- package/dist/web.js +1 -1
- package/package.json +3 -3
- package/src/cli/tui/state/TuiSt.ts +4 -4
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { g as fetchLoraList, h as writeLoraMirror, l as buildLoraMirror, p as readLoraMirror, v as lmModelName, y as lmTrainedWords } from "./DefinedWorkflow-CnzmQrBh.js";
|
|
3
|
-
import { o as ComfySchema, r as readableStringify, t as ComfyTS } from "./state-
|
|
3
|
+
import { o as ComfySchema, r as readableStringify, t as ComfyTS } from "./state-DY3Mp9Cl.js";
|
|
4
4
|
import { spawnSync } from "node:child_process";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmdirSync, writeFileSync } from "node:fs";
|
|
@@ -279,7 +279,7 @@ async function main() {
|
|
|
279
279
|
const { runServe } = await import("./run-serve-D47Zas-a.js");
|
|
280
280
|
return runServe(rest);
|
|
281
281
|
}
|
|
282
|
-
const { runTui } = await import("./run-tui-
|
|
282
|
+
const { runTui } = await import("./run-tui-t2TRBN0H.js");
|
|
283
283
|
return runTui(rest);
|
|
284
284
|
}
|
|
285
285
|
console.log(HELP);
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -11900,27 +11900,27 @@ declare const types$1: import("arktype").Module<{
|
|
|
11900
11900
|
};
|
|
11901
11901
|
PromptID: PromptID;
|
|
11902
11902
|
PromptRelated_WsMsg: {
|
|
11903
|
-
type: "
|
|
11903
|
+
type: "progress";
|
|
11904
11904
|
data: {
|
|
11905
|
-
|
|
11905
|
+
value: number;
|
|
11906
|
+
max: number;
|
|
11906
11907
|
};
|
|
11907
11908
|
} | {
|
|
11908
|
-
type: "
|
|
11909
|
+
type: "executing";
|
|
11909
11910
|
data: {
|
|
11910
|
-
nodes: ComfyNodeId[];
|
|
11911
11911
|
prompt_id: PromptID;
|
|
11912
|
+
node?: ComfyNodeId | null | undefined;
|
|
11912
11913
|
};
|
|
11913
11914
|
} | {
|
|
11914
|
-
type: "
|
|
11915
|
+
type: "execution_cached";
|
|
11915
11916
|
data: {
|
|
11917
|
+
nodes: ComfyNodeId[];
|
|
11916
11918
|
prompt_id: PromptID;
|
|
11917
|
-
node?: ComfyNodeId | null | undefined;
|
|
11918
11919
|
};
|
|
11919
11920
|
} | {
|
|
11920
|
-
type: "
|
|
11921
|
+
type: "execution_start";
|
|
11921
11922
|
data: {
|
|
11922
|
-
|
|
11923
|
-
max: number;
|
|
11923
|
+
prompt_id: PromptID;
|
|
11924
11924
|
};
|
|
11925
11925
|
} | {
|
|
11926
11926
|
type: "progress_state";
|
|
@@ -11975,27 +11975,27 @@ declare const types$1: import("arktype").Module<{
|
|
|
11975
11975
|
data: string;
|
|
11976
11976
|
};
|
|
11977
11977
|
WsMsg: {
|
|
11978
|
-
type: "
|
|
11978
|
+
type: "progress";
|
|
11979
11979
|
data: {
|
|
11980
|
-
|
|
11980
|
+
value: number;
|
|
11981
|
+
max: number;
|
|
11981
11982
|
};
|
|
11982
11983
|
} | {
|
|
11983
|
-
type: "
|
|
11984
|
+
type: "executing";
|
|
11984
11985
|
data: {
|
|
11985
|
-
nodes: ComfyNodeId[];
|
|
11986
11986
|
prompt_id: PromptID;
|
|
11987
|
+
node?: ComfyNodeId | null | undefined;
|
|
11987
11988
|
};
|
|
11988
11989
|
} | {
|
|
11989
|
-
type: "
|
|
11990
|
+
type: "execution_cached";
|
|
11990
11991
|
data: {
|
|
11992
|
+
nodes: ComfyNodeId[];
|
|
11991
11993
|
prompt_id: PromptID;
|
|
11992
|
-
node?: ComfyNodeId | null | undefined;
|
|
11993
11994
|
};
|
|
11994
11995
|
} | {
|
|
11995
|
-
type: "
|
|
11996
|
+
type: "execution_start";
|
|
11996
11997
|
data: {
|
|
11997
|
-
|
|
11998
|
-
max: number;
|
|
11998
|
+
prompt_id: PromptID;
|
|
11999
11999
|
};
|
|
12000
12000
|
} | {
|
|
12001
12001
|
type: "progress_state";
|
package/dist/index.d.ts
CHANGED
|
@@ -11900,27 +11900,27 @@ declare const types$1: import("arktype").Module<{
|
|
|
11900
11900
|
};
|
|
11901
11901
|
PromptID: PromptID;
|
|
11902
11902
|
PromptRelated_WsMsg: {
|
|
11903
|
-
type: "
|
|
11903
|
+
type: "progress";
|
|
11904
11904
|
data: {
|
|
11905
|
-
|
|
11905
|
+
value: number;
|
|
11906
|
+
max: number;
|
|
11906
11907
|
};
|
|
11907
11908
|
} | {
|
|
11908
|
-
type: "
|
|
11909
|
+
type: "executing";
|
|
11909
11910
|
data: {
|
|
11910
|
-
nodes: ComfyNodeId[];
|
|
11911
11911
|
prompt_id: PromptID;
|
|
11912
|
+
node?: ComfyNodeId | null | undefined;
|
|
11912
11913
|
};
|
|
11913
11914
|
} | {
|
|
11914
|
-
type: "
|
|
11915
|
+
type: "execution_cached";
|
|
11915
11916
|
data: {
|
|
11917
|
+
nodes: ComfyNodeId[];
|
|
11916
11918
|
prompt_id: PromptID;
|
|
11917
|
-
node?: ComfyNodeId | null | undefined;
|
|
11918
11919
|
};
|
|
11919
11920
|
} | {
|
|
11920
|
-
type: "
|
|
11921
|
+
type: "execution_start";
|
|
11921
11922
|
data: {
|
|
11922
|
-
|
|
11923
|
-
max: number;
|
|
11923
|
+
prompt_id: PromptID;
|
|
11924
11924
|
};
|
|
11925
11925
|
} | {
|
|
11926
11926
|
type: "progress_state";
|
|
@@ -11975,27 +11975,27 @@ declare const types$1: import("arktype").Module<{
|
|
|
11975
11975
|
data: string;
|
|
11976
11976
|
};
|
|
11977
11977
|
WsMsg: {
|
|
11978
|
-
type: "
|
|
11978
|
+
type: "progress";
|
|
11979
11979
|
data: {
|
|
11980
|
-
|
|
11980
|
+
value: number;
|
|
11981
|
+
max: number;
|
|
11981
11982
|
};
|
|
11982
11983
|
} | {
|
|
11983
|
-
type: "
|
|
11984
|
+
type: "executing";
|
|
11984
11985
|
data: {
|
|
11985
|
-
nodes: ComfyNodeId[];
|
|
11986
11986
|
prompt_id: PromptID;
|
|
11987
|
+
node?: ComfyNodeId | null | undefined;
|
|
11987
11988
|
};
|
|
11988
11989
|
} | {
|
|
11989
|
-
type: "
|
|
11990
|
+
type: "execution_cached";
|
|
11990
11991
|
data: {
|
|
11992
|
+
nodes: ComfyNodeId[];
|
|
11991
11993
|
prompt_id: PromptID;
|
|
11992
|
-
node?: ComfyNodeId | null | undefined;
|
|
11993
11994
|
};
|
|
11994
11995
|
} | {
|
|
11995
|
-
type: "
|
|
11996
|
+
type: "execution_start";
|
|
11996
11997
|
data: {
|
|
11997
|
-
|
|
11998
|
-
max: number;
|
|
11998
|
+
prompt_id: PromptID;
|
|
11999
11999
|
};
|
|
12000
12000
|
} | {
|
|
12001
12001
|
type: "progress_state";
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { C as extractErrorMessage, D as logError, S as loraPreviewMapFrom, _ as fetchLoraPreviewBytes, a as getLoraKeyword, b as loraBasename, c as setLoraKeyword, d as getLoraPreviewUrl, f as loraMatchesFilter, g as fetchLoraList, i as clearLoraKeywordOverride, m as refreshLoraInfoCacheIfChanged, n as LorasVar, o as isLoraKeywordFromMirror, r as PromptVar, s as loraKeywordFromMirror, u as getLoraDisplayName, x as loraKey } from "./DefinedWorkflow-CnzmQrBh.js";
|
|
2
|
-
import { a as importSharp, i as stripAnsi, n as settingsPathFor } from "./state-
|
|
2
|
+
import { a as importSharp, i as stripAnsi, n as settingsPathFor } from "./state-DY3Mp9Cl.js";
|
|
3
3
|
import { a as assignFamilyColors, c as findDefinedWorkflow, i as listDraftsForFile, l as mergeWorkflowSources, n as draftKeyForFile, o as buildFileRows, s as familyOf, t as DraftsSt, u as scanCflowFiles } from "./DraftsSt-C1MbWnEp.js";
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
6
6
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, statSync, writeFileSync } from "node:fs";
|
|
7
7
|
import { basename, dirname, join, resolve } from "pathe";
|
|
8
8
|
import { imageMeta } from "image-meta";
|
|
9
|
-
import { makeAutoObservable,
|
|
9
|
+
import { makeAutoObservable, observableRef, reaction, runInAction } from "mobx";
|
|
10
10
|
import { Box, Text, measureElement, render, useApp, useInput, useStdin } from "ink";
|
|
11
11
|
import sharp from "sharp";
|
|
12
12
|
import { observer } from "mobx-react-lite";
|
|
@@ -4160,8 +4160,8 @@ var TuiSt = class {
|
|
|
4160
4160
|
this.varsViewH = 0;
|
|
4161
4161
|
this.wf = wf;
|
|
4162
4162
|
makeAutoObservable(this, {
|
|
4163
|
-
wf:
|
|
4164
|
-
hostOverride:
|
|
4163
|
+
wf: observableRef,
|
|
4164
|
+
hostOverride: observableRef,
|
|
4165
4165
|
onExit: false,
|
|
4166
4166
|
editor: false,
|
|
4167
4167
|
picker: false,
|
|
@@ -4411,4 +4411,4 @@ async function runTui(args) {
|
|
|
4411
4411
|
//#endregion
|
|
4412
4412
|
export { runTui };
|
|
4413
4413
|
|
|
4414
|
-
//# sourceMappingURL=run-tui-
|
|
4414
|
+
//# sourceMappingURL=run-tui-t2TRBN0H.js.map
|