disclaw/disclaw.yaml
Nick Tabeling d71081d2b1 feat(config): move workspaces_root to home dir, add tilde expansion
- disclaw.yaml: change default workspaces_root to ~/.disclaw/workspaces
- src/config/loader.ts: add expandWorkspacesRoot() with ~ expansion via
  os.homedir(), path.resolve() normalisation, and in-repo warning via
  console.warn (explains CLAUDE.md walk-up leak risk)
- tests/unit/workspace-root-resolve.test.ts: Vitest unit tests (a-d)
- README.md: add Migration bestehender Workspaces section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 10:40:34 +02:00

13 lines
434 B
YAML

# Path where workspace folders are created
# Supports tilde expansion: ~ is replaced with the user's home directory
workspaces_root: "~/.disclaw/workspaces"
# Name of the management channel
management_channel: "disclaw"
# Claude Code CLI command (default: "claude")
# Override if claude is installed at a custom path
claude_command: "claude"
# Timeout in seconds for claude CLI processes (default: 120)
claude_timeout_seconds: 120