1
0

fix claude

This commit is contained in:
2025-06-01 23:35:22 +09:00
parent a9bdf20415
commit 575ea58b14
21 changed files with 2113 additions and 7 deletions

33
config/default.toml Normal file
View File

@ -0,0 +1,33 @@
# ai.shell Configuration
[server]
# MCP Server configuration
host = "127.0.0.1"
port = 8765
protocol = "http" # http or websocket
[llm]
# Ollama configuration
ollama_host = "http://localhost:11434"
default_model = "qwen2.5-coder:7b"
timeout_seconds = 300
[logging]
# Log configuration
level = "info" # debug, info, warn, error
file = "~/.ai-shell/ai-shell.log"
max_size_mb = 10
max_backups = 3
[cli]
# CLI behavior
history_file = "~/.ai-shell/history"
max_history = 1000
prompt = "ai> "
color_output = true
[security]
# Security settings
allowed_commands = ["ls", "cat", "grep", "find", "git", "cargo", "npm", "python"]
sandbox_mode = false
max_file_size_mb = 50