From c366958a376451c8ec3dca19e19e0fe8e959ee44 Mon Sep 17 00:00:00 2001 From: zhi Date: Thu, 5 Mar 2026 12:09:42 +0000 Subject: [PATCH] fix: use PaddedCell as plugin id to match directory name - Change plugin id from 'padded-cell' to 'PaddedCell' - Update manifest and install script - OpenClaw infers plugin id from directory name --- install.mjs | 2 +- openclaw.plugin.json | 2 +- pass_mgr/go.mod | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/install.mjs b/install.mjs index 9b50cae..0b93e03 100755 --- a/install.mjs +++ b/install.mjs @@ -22,7 +22,7 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = resolve(dirname(__filename)); // Plugin configuration -const PLUGIN_NAME = 'padded-cell'; +const PLUGIN_NAME = 'PaddedCell'; // Parse arguments const args = process.argv.slice(2); diff --git a/openclaw.plugin.json b/openclaw.plugin.json index 908bc6f..b7047d4 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -1,5 +1,5 @@ { - "id": "padded-cell", + "id": "PaddedCell", "name": "PaddedCell", "version": "0.1.0", "description": "Secure password management, safe execution, and coordinated restart", diff --git a/pass_mgr/go.mod b/pass_mgr/go.mod index 19e7de1..c2a757a 100644 --- a/pass_mgr/go.mod +++ b/pass_mgr/go.mod @@ -2,11 +2,13 @@ module pass_mgr go 1.24.0 -require github.com/spf13/cobra v1.8.0 +require ( + github.com/spf13/cobra v1.8.0 + golang.org/x/term v0.40.0 +) require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect golang.org/x/sys v0.41.0 // indirect - golang.org/x/term v0.40.0 // indirect )