diff --git a/web/shellagent.js b/web/shellagent.js index d449ebd..9fc782e 100644 --- a/web/shellagent.js +++ b/web/shellagent.js @@ -194,7 +194,11 @@ app.registerExtension({ callback: () => { this.convertWidgetToInput(w); const node = addNode("ShellAgentPluginInputText", this, { before: true }); - node.connect(0, this, 1); + if (nodeData.name === 'CLIPTextEncode') { + node.connect(0, this, 1); + } else { + window.alert('[ShellAgent] Unsupported quick operation.') + } } }) }