Commit Graph

75 Commits

Author SHA1 Message Date
zhi
15474eee48 docs: update README with new install usage 2026-03-05 11:50:28 +00:00
zhi
0daf1432a7 refactor: rewrite install script to match Dirigent pattern
- Plugin name changed to 'padded-cell' (in OpenClaw)
- Install to ~/.openclaw/plugins/padded-cell/ instead of skills
- Add plugins.entries.padded-cell configuration
- Add to plugins.allow list
- Use --install and --uninstall flags
- Follow Dirigent's delta tracking pattern
2026-03-05 11:49:56 +00:00
zhi
1c84b4d6a0 refactor: remove env file creation, use full path in examples
- Remove creation of paddedcell.env file
- Update post-install instructions to use full pass_mgr path
- Simplify to 6 steps (remove verification step)
- Update uninstall to not reference env file
2026-03-05 11:34:19 +00:00
zhi
62044ab948 fix: use openclaw config command for configuration management
- Use 'openclaw config get/set --json' instead of direct file manipulation
- Correctly remove plugin path from OpenClaw config during uninstall
- Remove pass_mgr binary during uninstall
2026-03-05 11:25:05 +00:00
zhi
3a495f8d64 fix: create OpenClaw config if not exists and simplify install summary
- Create ~/.openclaw/config.json if it doesn't exist
- Automatically add plugin path to config
- Simplify post-install steps (remove redundant 'add to profile' step)
2026-03-05 11:21:22 +00:00
zhi
259f9dc418 fix: remove unused PADDEDCELL_SKILLS_DIR env variable
The plugins.load.paths configuration is automatically updated,
so this environment variable is not needed.
2026-03-05 11:16:40 +00:00
zhi
ceb17f375b fix: correct path construction in install script
- Fix duplicate .openclaw in env file path
- Use consistent installDir variable throughout
- Fix skills path in OpenClaw config update
- Fix fallback path in uninstall function
2026-03-05 11:13:49 +00:00
zhi
9ecb065b43 feat: interactive password input for pass_mgr admin init
- Remove --key-path parameter requirement
- Add interactive password prompt (hidden input like sudo)
- Require password confirmation
- Password must be at least 6 characters
- Uses golang.org/x/term for secure password input
2026-03-05 11:07:47 +00:00
zhi
84c9df633a feat: require password for admin init and auto-configure plugin path
- pass_mgr admin init now requires --key-path parameter
- Password must be at least 6 characters long
- Install script now updates OpenClaw plugins.load.paths config
- Falls back to manual instructions if config file not found
2026-03-05 10:51:51 +00:00
zhi
5084cfecb8 fix: remove auto-init of pass_mgr from install script
- Remove automatic pass_mgr admin init during installation
- Users must manually run 'pass_mgr admin init' after install
- Update install summary to show initialization as a required step
- This allows non-interactive installation
2026-03-05 10:28:13 +00:00
zhi
21d04b17cd feat: add --uninstall support to install script
- Add --uninstall flag to remove installed components
- List items to be removed before confirmation
- Remove pass_mgr binary, skills modules, and env config
- Preserve admin key directory (warns user to remove manually)
- Update PROJECT_PLAN.md with uninstall usage
2026-03-05 10:13:29 +00:00
zhi
8d270bfddf docs: update test plan with build fix results 2026-03-05 10:01:29 +00:00
zhi
28af11cfbb fix: resolve build errors in pass_mgr, pcexec, and safe-restart
- Fix Go syntax error: use BoolVar for --username flag instead of string
- Fix TypeScript type errors: filter undefined values from process.env
- Fix TypeScript type error: add type assertion for fetch response
- Add .gitignore to exclude node_modules and build outputs
2026-03-05 10:00:30 +00:00
zhi
849effd301 feat: add install script and update project docs
- Add install.mjs: unified installer with dependency check, build, install, config
- Update PROJECT_PLAN.md: add section 6 for installation script requirements
- Update AGENT_TASKS.md: add T-7001~T-7005 for installation tasks
- Support flags: --prefix, --build-only, --skip-check, --verbose
2026-03-05 09:48:40 +00:00
zhi
b37ebb3db1 docs: add bilingual README with language switcher
- Update README.md to English version with language navigation
- Add README.zh-CN.md for Simplified Chinese
- Add language switcher links in both files
2026-03-05 09:38:38 +00:00
root
10e1124550 feat: implement pass_mgr, pcexec, and safe-restart modules
- Add pass_mgr Go binary with AES-256-GCM encryption
- Add pcexec TypeScript tool with password sanitization
- Add safe-restart module with state machine and API
- Add slash command handler with cooldown support
- Update README with usage documentation
2026-03-05 09:27:44 +00:00
nav
10d7e8a6c2 Rename slash command and add permissions/cooldown 2026-03-05 09:00:47 +00:00
nav
455ea26039 Define /padded-cell slash command 2026-03-05 08:57:14 +00:00
nav
0eeb75d257 Add slash command feature toggles 2026-03-05 08:52:27 +00:00
nav
f090e1b31c Clarify no master key; use agent keypair 2026-03-05 08:48:00 +00:00
nav
c294689135 Set default algorithm and admin init args 2026-03-05 08:25:11 +00:00
nav
9036ecf725 Update pass_mgr options and admin key path 2026-03-05 08:20:04 +00:00
nav
840f8c7b67 Update password path and username lookup 2026-03-05 08:14:28 +00:00
nav
a2f75af6d4 Add agent task breakdown 2026-03-05 07:45:15 +00:00
root
572e7d57b0 Add project plan 2026-03-05 07:38:20 +00:00