Skip to main content

Module setup

Module setup 

Source
Expand description

Plugin setup and repair commands.

These are operational commands that check and mutate appdata, write .env files, and validate auth/port configuration before the server starts. Business logic stays in app.rs; this module is allowed to touch the filesystem and network only for diagnostics and setup purposes.

Enums§

SetupCommand

Functions§

apply_plugin_options
Translate Claude Code plugin options (CLAUDE_PLUGIN_OPTION_*) into the SOMA_* process env vars the binary reads, before Config::load() runs.
run_setup