Commit Graph

4 Commits

Author SHA1 Message Date
5ca954f68f setup-plugins: clone external deps from git, unset AGENT_* vars
- unset AGENT_ID/AGENT_WORKSPACE/AGENT_VERIFY so plugin installers
  don't refuse operations gated to human-only
- --install-cli <branch>: shallow-clone HarborForge.Cli to tmp, symlink
  into plugins/ for the install script to find
- --yonexus-client/--yonexus-protocol <branch>: same pattern for
  Yonexus.Client and Yonexus.Protocol (needed for tsc build)
- build_yonexus step runs tsc before Yonexus.Server install
- cloned repos and symlinks cleaned up on EXIT trap
- --install-cli only passed to HarborForge when the flag is given
2026-04-16 10:10:19 +00:00
0166a92f93 setup-plugins: pass per-plugin install flags
HarborForge gets --install-cli, --install-monitor yes, and
--openclaw-profile-path. PaddedCell, Dirigent, Yonexus get
--openclaw-profile-path. ContractorAgent unchanged (no support).
2026-04-16 09:40:01 +00:00
601262abec refactor: setup-plugins writes config via openclaw config set
Instead of just exporting env vars (which are ephemeral), the script
now calls 'openclaw config set' to persist each plugin's sensitive
fields (apiKey, tokens, ports, etc.) under plugins.entries.<id>.config.

Config key mapping per plugin is derived from each plugin's
openclaw.plugin.json configSchema. .env.example updated with all
available variables and their corresponding plugin IDs.
2026-04-16 08:02:54 +00:00
7eb3d177e0 feat: add plugin setup script and env template
scripts/setup-plugins.sh reads sensitive config from .env (gitignored),
initialises submodules, installs npm deps, and runs each plugin's own
install script. Supports --uninstall, --skip-deps, and per-plugin
selection. .env.example documents all available variables.
2026-04-16 07:58:53 +00:00