feat(mission-control): self-hosted orchestration dashboard for all profiles#10
Merged
Conversation
…ofiles Adds opt-in install of Mission Control (builderz-labs/mission-control) to every profile. Native gateway adapters cover OpenClaw + Claude SDK; Hermes and Paperclip wire in through the generic REST API (101 endpoints). lib/mission-control.sh - install_mission_control: git clone, ensure Node 22 + pnpm, pnpm install, pnpm build, .env with auto-generated AUTH_PASS (24 b64 chars) and API_KEY (32 hex chars) when operator leaves them blank. - setup_mission_control_systemd: opt-in unit on port MC_PORT, runs pnpm start via Type=simple Restart=on-failure. Per-profile wiring - profiles/openclaw/03-mission-control.sh: exports OPENCLAW_CONFIG_PATH + OPENCLAW_STATE_DIR so the OpenClaw adapter sees the local install. - profiles/hermes/03-mission-control.sh, profiles/paperclip/03-mission-control.sh: generic adapter path. - profiles/cli-bundle/10-mission-control.sh: exports MC_CLAUDE_HOME so the Claude SDK adapter sees ~/.claude. .env.example (all 4 profiles) gains a MC block: INSTALL_MISSION_CONTROL, MC_DIR, MC_REPO, MC_BRANCH, MC_PORT, MC_AS_SERVICE, MC_AUTH_USER, MC_AUTH_PASS, MC_API_KEY, MC_ALLOWED_HOSTS, MC_DATA_DIR, MC_CLAUDE_HOME, MC_GATEWAY_OPTIONAL, OPENCLAW_CONFIG_PATH, OPENCLAW_STATE_DIR. Tests - tests/test_mission_control.bats: 2 no-op safety tests (toggle false / toggle unset). - All 33 bats tests + lint + env-completeness pass locally. .gitignore - .mcp.json added (carried in from the working tree). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds opt-in install of Mission Control to every profile. Native gateway adapters cover OpenClaw + Claude SDK; Hermes/Paperclip wire in through the generic REST API (101 endpoints).
lib/mission-control.shinstall_mission_control— git clone, ensure Node 22 + pnpm,pnpm install && pnpm build, writes.envwith auto-generatedAUTH_PASS(24 b64 chars) andAPI_KEY(32 hex chars) when operator leaves them blank.setup_mission_control_systemd— opt-in unit onMC_PORT,pnpm startwithRestart=on-failure.Per-profile wiring
03-mission-control.shOPENCLAW_CONFIG_PATH)03-mission-control.sh03-mission-control.sh10-mission-control.shMC_CLAUDE_HOME).env.exampleblock (all 4 profiles)INSTALL_MISSION_CONTROL,MC_DIR,MC_REPO,MC_BRANCH,MC_PORT,MC_AS_SERVICE,MC_AUTH_USER,MC_AUTH_PASS,MC_API_KEY,MC_ALLOWED_HOSTS,MC_DATA_DIR,MC_CLAUDE_HOME,MC_GATEWAY_OPTIONAL,OPENCLAW_CONFIG_PATH,OPENCLAW_STATE_DIR.Tests
tests/test_mission_control.bats— 2 no-op safety testsWhy
🤖 Generated with Claude Code