Files
SneakyCode/config/config.yaml
Phillip Tarrant 3f9012e6c2 feat: implement tweaks plan - modals, smart shell, spinner, /models, debug log, skills
Phase 1: Permission modal dialog, session resume modal, HistoryInput with
up/down arrow cycling, remove "You:" echo from chat log, LLM client cleanup
on unmount.

Phase 2: Smart shell auto-approve using allowed/denied command lists from
ToolsConfig, animated thinking spinner with live token count in status bar.

Phase 3: /models slash command (list + switch), CLI directory positional
argument, JSONL debug logger with rotation.

Phase 4: Skills system with SkillsManager, load_skill LLM tool, /skills
listing, skill invocation via slash commands, system prompt integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:46:44 -05:00

84 lines
1.3 KiB
YAML

# SneakyCode Configuration
llm:
model: "qwen3.5:latest"
endpoint: "http://localhost:11434"
api_path: "/v1/chat/completions"
temperature: 0.1
max_tokens: 4096
timeout: 120
max_retries: 3
retry_backoff_base: 1.0
retry_backoff_max: 30.0
agent:
max_iterations: 25
max_conversation_tokens: 32000
workspace_root: "."
truncation_keep_recent: 10
truncation_threshold: 0.85
permissions:
auto_approve:
- read_file
- list_dir
- grep_files
- find_files
- finish
prompt_user:
- write_file
- delete_file
- run_command
- str_replace
- patch_apply
- make_dir
deny: []
tools:
shell:
allowed_commands:
- git
- python
- pip
- pytest
- ruff
- ls
- cat
- head
- tail
- wc
- diff
- grep
- find
- echo
denied_commands:
- rm -rf /
- sudo
- curl
- wget
max_output_bytes: 65536
filesystem:
max_file_size_bytes: 1048576 # 1 MB
binary_detection: true
session:
session_dir: ".sneakycode/sessions"
auto_save: true
max_session_age_hours: 72
offer_resume: true
display:
show_tool_calls: true
show_token_usage: true
stream_output: true
debug:
enabled: false
log_dir: ".sneakycode/logs"
max_files: 10
skills:
enabled: true
directories:
- ".sneakycode/skills"