From 68fd26a2a55f2a032e091bc1f91f53b8acc29d64 Mon Sep 17 00:00:00 2001 From: Javier Leandro Arancibia Date: Sat, 30 May 2026 12:03:49 +0000 Subject: [PATCH] fix: align gum and dotbot plugins with established plugin conventions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix install_guidance.plugin: array to string (consistent with fzf, bat, ripgrep, etc.) - Fix passthrough args: remove non-standard catch-all arg (use empty args[]) - Fix passthrough description: '_ _ via X' → 'Passthrough to X CLI' - Add missing 'cwd': 'invoke_cwd' to passthrough commands --- plugins/dotbot/plugin.json | 14 ++++---------- plugins/gum/plugin.json | 14 ++++---------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/plugins/dotbot/plugin.json b/plugins/dotbot/plugin.json index e151e379..d5dc7a51 100644 --- a/plugins/dotbot/plugin.json +++ b/plugins/dotbot/plugin.json @@ -10,7 +10,7 @@ } ], "install_guidance": { - "plugin": ["dotbot"], + "plugin": "dotbot", "binary": "dotbot", "check": "which dotbot", "install_steps": [ @@ -198,21 +198,15 @@ "namespace": "dotbot", "resource": "_", "action": "_", - "description": "_ _ via dotbot", + "description": "Passthrough to dotbot CLI", "adapter": "process", "adapterConfig": { "command": "dotbot", "missingDependencyHelp": "Install dotbot: pip install dotbot", + "cwd": "invoke_cwd", "passthrough": true }, - "args": [ - { - "name": "args", - "type": "string", - "required": false, - "description": "Additional dotbot arguments" - } - ] + "args": [] } ] } diff --git a/plugins/gum/plugin.json b/plugins/gum/plugin.json index a9feef54..1335bfaf 100644 --- a/plugins/gum/plugin.json +++ b/plugins/gum/plugin.json @@ -10,7 +10,7 @@ } ], "install_guidance": { - "plugin": ["gum"], + "plugin": "gum", "binary": "gum", "check": "which gum", "install_steps": [ @@ -337,21 +337,15 @@ "namespace": "gum", "resource": "_", "action": "_", - "description": "_ _ via gum", + "description": "Passthrough to gum CLI", "adapter": "process", "adapterConfig": { "command": "gum", "missingDependencyHelp": "Install gum: brew install gum", + "cwd": "invoke_cwd", "passthrough": true }, - "args": [ - { - "name": "args", - "type": "string", - "required": false, - "description": "Additional gum arguments" - } - ] + "args": [] } ] }