Runs commands in the user's login shell ($SHELL -l -c) so PATH additions and env vars from shell profiles (.zprofile/.profile) are available. Shell aliases are intentionally not loaded (requires -i which causes startup noise and job control side effects). Implementation spawns $SHELL directly via a loginShell flag threaded through the bash executor — no double-shell wrapping. - Registered as builtin slash command with autocomplete - Reuses existing bash execution pipeline (streaming, session recording) - Output included in LLM context for agent reference - Added loginShell option to executeBash and handleBashCommand - Browser mode rejects /terminal (terminal-only command) - Updated web-command-parity-contract tests AI-assisted: This change was authored with Claude (AI pair programming). |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| resources/extensions/memory | ||
| tests | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||