comfy-ts 2.6.0 → 2.7.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/README.md +3 -1
- package/dist/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/{run-serve-CVu39RNd.js → run-serve-D1Tsuru9.js} +172 -12
- package/dist/run-serve-D1Tsuru9.js.map +1 -0
- package/dist/{run-tui-idFhdO4f.js → run-tui-JxlEbb_f.js} +3 -3
- package/dist/{run-tui-idFhdO4f.js.map → run-tui-JxlEbb_f.js.map} +1 -1
- package/dist/serve-web.js +15 -22
- package/dist/{state-C90kdjtB.js → state-CaHeDL-0.js} +6 -2
- package/dist/{state-C90kdjtB.js.map → state-CaHeDL-0.js.map} +1 -1
- package/dist/web.d.ts +3 -0
- package/dist/web.js +5 -1
- package/dist/web.js.map +1 -1
- package/examples/web/tsconfig.json +4 -1
- package/package.json +1 -1
- package/src/cli/comfy-ts-cli.ts +1 -1
- package/src/cli/serve/ServeApp.ts +76 -8
- package/src/cli/serve/promptEnhancers.ts +69 -0
- package/src/cli/serve/run-serve.ts +38 -6
- package/src/cli/serve/safeName.ts +12 -0
- package/src/cli/serve/web/api.ts +23 -0
- package/src/cli/serve/web/components/PromptEnhancer.tsx +76 -32
- package/src/cli/serve/web/components/VarsForm.tsx +11 -0
- package/src/cli/serve/web/llm.ts +254 -0
- package/src/cli/serve/web/state/EnhancerSt.ts +268 -157
- package/src/cli/serve/web/state/FormSt.ts +4 -1
- package/src/cli/serve/web/state/WebSt.ts +26 -1
- package/src/cli/serve/web/styles.ts +2 -0
- package/src/state.ts +6 -0
- package/dist/run-serve-CVu39RNd.js.map +0 -1
- package/src/cli/serve/web/openrouter.ts +0 -142
|
@@ -815,7 +815,7 @@ var ComfySchema = class {
|
|
|
815
815
|
};
|
|
816
816
|
//#endregion
|
|
817
817
|
//#region package.json
|
|
818
|
-
var version = "2.
|
|
818
|
+
var version = "2.7.0";
|
|
819
819
|
//#endregion
|
|
820
820
|
//#region src/litegraph/LiteGraphLinkID.ts
|
|
821
821
|
const asLiteGraphLinkID = (id) => id;
|
|
@@ -4833,6 +4833,10 @@ var ComfyTS = class ComfyTS {
|
|
|
4833
4833
|
resolveFromDrafts(relativePath) {
|
|
4834
4834
|
return asAbsolutePath(join(this.baseFolder, "drafts", relativePath));
|
|
4835
4835
|
}
|
|
4836
|
+
/** master prompts of the serve web ui's prompt enhancer — hand-editable markdown */
|
|
4837
|
+
resolveFromPromptEnhancers(relativePath) {
|
|
4838
|
+
return asAbsolutePath(join(this.baseFolder, "prompt-enhancers", relativePath));
|
|
4839
|
+
}
|
|
4836
4840
|
resolveFromCache(relativePath) {
|
|
4837
4841
|
return asAbsolutePath(join(this.baseFolder, "cache", relativePath));
|
|
4838
4842
|
}
|
|
@@ -4859,4 +4863,4 @@ var ComfyTS = class ComfyTS {
|
|
|
4859
4863
|
//#endregion
|
|
4860
4864
|
export { importSharp as a, stripAnsi as i, settingsPathFor as n, ComfySchema as o, readableStringify as r, ComfyTS as t };
|
|
4861
4865
|
|
|
4862
|
-
//# sourceMappingURL=state-
|
|
4866
|
+
//# sourceMappingURL=state-CaHeDL-0.js.map
|