* feat(core): add configurable shell and init command for exec
Allow users to configure which shell is used for /shell commands, cron
exec, hooks, and webhook exec. Supports sh, bash, zsh, fish, cmd,
powershell, and pwsh.
New config options (global and per-project):
- shell: shell binary path (default: sh on Unix, powershell.exe on Windows)
- init_command: prepended to every command (e.g. "source ~/.zshrc")
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs: add shell configuration section to usage guide
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* refactor: rename init_command to shell_profile
The name "init_command" was ambiguous — it reads as "command to run on
init/startup" rather than "a script prepended to every shell execution".
"shell_profile" better conveys the sourcing-then-executing semantics.
Renames: config key, struct fields, function params, local variables,
and documentation across 8 files. No behavior change.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>