diff --git a/plugins/index.json b/plugins/index.json index 937eaae..03b5f51 100644 --- a/plugins/index.json +++ b/plugins/index.json @@ -55,9 +55,9 @@ "dir": "promptlib", "main": "main.js", "style": "styles.css", - "version": "1.14.13", + "version": "1.14.14", "files": { - "main.js": "32808c2b9586fbf011ad3cbf2f3e6a2506d22cb1768d1f7b867fac8daa31568c", + "main.js": "27f5c4dd5e90ee6ae0bf7ad8ecf36bae62c2e436c2882c7c41f6272a32f7bafd", "styles.css": "a086b172cc8261b9f346e612b5f76cc085d5a1e486657d0c656cb87c675f238c" } }, diff --git a/plugins/promptlib/main.js b/plugins/promptlib/main.js index 72e7b48..2f769bb 100644 --- a/plugins/promptlib/main.js +++ b/plugins/promptlib/main.js @@ -2270,7 +2270,7 @@ global.IWBPluginHost.register({ id: 'promptlib', name: '提示词库', - version: '1.14.13', + version: '1.14.14', apiVersion: 1, capabilities: ['panels', 'promptlib', 'nodeTypes', 'canvas', 'canvasWrite', 'nodeActions', 'commands'], data: { schemaVersion: 3, maxBytes: 4 * 1024 * 1024 }, @@ -2557,7 +2557,8 @@ } if (ctx.nodes && typeof ctx.nodes.register === 'function') { try { - ctx.nodes.register({ id: 'ptpl', title: '提示词模板', defaults: { outKind: 'prompt' }, ports: { in: false, out: true }, height: 360, render: renderTplNode }) + // 2026-12-03(用户):补输入端口 —— 参考图节点可以接到模板上(宿主的 nodeRefsOf 会把入边 ref 透传给下游生图)。 + ctx.nodes.register({ id: 'ptpl', title: '提示词模板', defaults: { outKind: 'prompt' }, ports: { in: true, out: true }, height: 360, render: renderTplNode }) } catch (e) { try { ctx.storage && ctx.storage.set('lastError', 'node:' + String((e && e.message) || e)) } catch (e2) { /* ignore */ } } diff --git a/plugins/promptlib/manifest.json b/plugins/promptlib/manifest.json index e95a2ea..f0fe1ea 100644 --- a/plugins/promptlib/manifest.json +++ b/plugins/promptlib/manifest.json @@ -1,7 +1,7 @@ { "id": "promptlib", "name": "提示词库", - "version": "1.14.13", + "version": "1.14.14", "apiVersion": 1, "main": "main.js", "style": "styles.css", @@ -13,7 +13,7 @@ "提示词" ], "files": { - "main.js": "32808c2b9586fbf011ad3cbf2f3e6a2506d22cb1768d1f7b867fac8daa31568c", + "main.js": "27f5c4dd5e90ee6ae0bf7ad8ecf36bae62c2e436c2882c7c41f6272a32f7bafd", "styles.css": "a086b172cc8261b9f346e612b5f76cc085d5a1e486657d0c656cb87c675f238c" } } diff --git a/site/dev/index.html b/site/dev/index.html index fb30104..565f5cd 100644 --- a/site/dev/index.html +++ b/site/dev/index.html @@ -3,7 +3,7 @@