{"_id":"@baekho-lim/openclaw-secret-wallet","name":"@baekho-lim/openclaw-secret-wallet","dist-tags":{"beta":"0.2.0","latest":"0.2.0"},"versions":{"0.2.0":{"name":"@baekho-lim/openclaw-secret-wallet","version":"0.2.0","type":"module","main":"./dist/index.js","description":"OpenClaw plugin for secret-wallet with selective inject and gated write tools","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc -p tsconfig.json","test":"vitest run -c vitest.config.ts","pack:smoke":"TMPDIR=$(mktemp -d) && npm pack --pack-destination \"$TMPDIR\" >/dev/null && TAR=$(ls -1 \"$TMPDIR\"/*.tgz | head -1) && tar -tzf \"$TAR\" | grep -q '^package/dist/index.js$'","prepack":"npm run build"},"dependencies":{"@sinclair/typebox":"^0.34.47"},"peerDependencies":{"openclaw":">=2026.1.29"},"devDependencies":{"@types/node":"^24.3.0","typescript":"^5.9.3","vitest":"^4.0.18"},"openclaw":{"extensions":["./dist/index.js"]},"_id":"@baekho-lim/openclaw-secret-wallet@0.2.0","gitHead":"000648f67ffb1b506f6142af571664fa8e669e60","_nodeVersion":"24.1.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-4zhIla7iIRMKdiTYdp1YrWeytiBlzL6XarV62rjV3fICln2vN/LtXYhY9wDehUXLFk/SxxwkR/pYL9UUSUP2pA==","shasum":"fe3649a8454d97d243e3bb328bde272bc3dfd3a8","tarball":"https://registry.npmjs.org/@baekho-lim/openclaw-secret-wallet/-/openclaw-secret-wallet-0.2.0.tgz","fileCount":7,"unpackedSize":16935,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID8Qp0x9j/IaivDgzwFnAmKztqZjU+31nwrxMBiZh0gAAiEAhTjwjE61uX/H7qPfVbyGEG4Lr5GQhf/uxU/rxnBF+zA="}]},"_npmUser":{"name":"baekholim","email":"bh@baekho.io"},"directories":{},"maintainers":[{"name":"baekholim","email":"bh@baekho.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openclaw-secret-wallet_0.2.0_1772178408464_0.8405054415701334"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T07:46:48.309Z","0.2.0":"2026-02-27T07:46:48.616Z","modified":"2026-02-27T07:46:48.856Z"},"maintainers":[{"name":"baekholim","email":"bh@baekho.io"}],"description":"OpenClaw plugin for secret-wallet with selective inject and gated write tools","readme":"# OpenClaw Secret Wallet Plugin\n\nOpenClaw plugin for the `secret-wallet` CLI with safer default behavior:\n- read tools are available\n- write tools are gated (`allowWriteTools=false` by default)\n- inject tool is gated (`allowInjectTool=false` by default)\n- `secret_wallet_inject` always injects selected secrets via repeated `--only`\n\n## Install\n\n```bash\nopenclaw plugins install @baekho-lim/openclaw-secret-wallet\n```\n\n## Required binary\n\nInstall `secret-wallet` first:\n\n```bash\nbrew install baekho-lim/tap/secret-wallet\n```\n\n## Config\n\n```json5\n{\n  plugins: {\n    entries: {\n      \"secret-wallet\": {\n        enabled: true,\n        config: {\n          binaryPath: \"/usr/local/bin/secret-wallet\",\n          allowWriteTools: false,\n          allowInjectTool: true\n        }\n      }\n    }\n  }\n}\n```\n\n`binaryPath` can be omitted to resolve `secret-wallet` from `PATH`.\n\n## Tools\n\n- `secret_wallet_status`\n- `secret_wallet_list`\n- `secret_wallet_get`\n- `secret_wallet_add` (registered only when `allowWriteTools=true`)\n- `secret_wallet_remove` (registered only when `allowWriteTools=true`)\n- `secret_wallet_inject` (registered only when `allowInjectTool=true`)\n\n`secret_wallet_inject` input:\n\n```json\n{\n  \"command\": [\"node\", \"server.js\"],\n  \"secretNames\": [\"OPENAI_KEY\", \"DB_URL\"]\n}\n```\n\nThis maps to:\n\n```bash\nsecret-wallet inject --only OPENAI_KEY --only DB_URL -- node server.js\n```\n\n## Local development\n\n```bash\npnpm --filter @baekho-lim/openclaw-secret-wallet build\npnpm --filter @baekho-lim/openclaw-secret-wallet test\npnpm --filter @baekho-lim/openclaw-secret-wallet pack:smoke\n```\n\n## Contribution note (OpenClaw repository)\n\nWhen contributing from the OpenClaw monorepo, follow repository guidance and use:\n\n```bash\nscripts/committer \"<conventional-commit-message>\" <files...>\n```\n","readmeFilename":"README.md","_rev":"1-ce11913b8b12d2f07a944647b210bdc5"}