Skip to content

feat: run plugin install scripts#655

Merged
sheepbox8646 merged 1 commit into
mainfrom
codex/plugin-install-scripts
Jun 17, 2026
Merged

feat: run plugin install scripts#655
sheepbox8646 merged 1 commit into
mainfrom
codex/plugin-install-scripts

Conversation

@sheepbox8646

Copy link
Copy Markdown
Member

Summary

  • Add the plugin manifest install field with string/list parsing and normalized SDK/OpenAPI output.
  • Change Supermarket plugin install order to fetch trusted manifest, extract the bundle, run install commands from /data/.memoh/plugins/<plugin_id>, then create DB/MCP installation records.
  • Inject only MEMOH_PLUGIN_ID, MEMOH_PLUGIN_DIR, and MEMOH_BOT_ID; command failure now fails the API before DB/MCP plugin creation.
  • Return install_scripts metadata on successful installs with command count, exit code, and truncated stdout/stderr.

Validation

  • mise run sdk-generate
  • TMPDIR=/tmp go test ./internal/plugins ./internal/handlers ./internal/skills ./internal/hooks ./cmd/agent
  • pnpm --filter @memohai/web build
  • TMPDIR=/tmp git commit -m "feat: run plugin install scripts" (pre-commit Go lint/tests)

Related: memohai/supermarket#14

@sheepbox8646 sheepbox8646 merged commit eb688b4 into main Jun 17, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant