home / guides
guides/
- docConfig FilesDSCC reads JSON settings and Markdown instruction files from multiple locations and merges them.
- docHooksHooks are shell commands DSCC runs around tool calls. Declare them in settings.hooks.PreToolUse[] and settings.hooks.PostToolUse[] (arrays of shell commands, config.rs:568–572).
- docInteractive ModeThe interactive REPL is the default DSCC experience. Start it with dscc (no subcommand) on any TTY. The input editor lives at crates/dscc-cli/src/input.rs (1193 lines).
- docMCP ServersDSCC talks to MCP (Model Context Protocol) servers to expand its tool surface. Configure servers under settings.mcpServers.<name> (crates/runtime/src/config.rs:531–550).
- docOne-Shot ModeOne-shot mode runs a single prompt and exits. Use it for scripting, CI, and piping DSCC into other tools. Entry point: dscc prompt <text> (main.rs:318).
- docPermissionsDSCC gates every tool call through a permission mode. Modes are defined at crates/runtime/src/permissions.rs:4–23.
- docSessionsDSCC persists every interactive run to disk so you can inspect, resume, or compact it later.
- docSlash CommandsSlash commands are typed into the REPL starting with /. The full registry is a compile-time static array SLASH_COMMAND_SPECS at crates/commands/src/lib.rs:73–300, parsed by SlashCo…