.capy/settings.json to configure repository-level behavior.
Add the schema for autocomplete + validation:
Basic setup
Setup hooks
Run once when the repository is initialized in a session.Terminals
Persistent sessions that start automatically.Previews
Preview URLs for running web services.Tool hooks
Run commands before/after tool execution.bash_run, edit, multi_edit, write, read, glob, grep.
Context
Control how hook output is added to agent context.| Property | Type | Default | Description |
|---|---|---|---|
maxOutputLength | number | 2000 | Maximum characters of hook output to include |
truncateStrategy | string | tail | Truncation strategy: head, tail, middle |