This commit is contained in:
76
.config.yaml
Normal file
76
.config.yaml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
# CLI Command Memory Configuration
|
||||||
|
|
||||||
|
# Database settings
|
||||||
|
database:
|
||||||
|
path: "~/.cli_memory/database.db"
|
||||||
|
wal_mode: true
|
||||||
|
timeout: 30.0
|
||||||
|
|
||||||
|
# Recording settings
|
||||||
|
recording:
|
||||||
|
max_commands_per_workflow: 100
|
||||||
|
min_commands_for_workflow: 3
|
||||||
|
auto_save_interval: 10
|
||||||
|
capture_exit_code: true
|
||||||
|
capture_duration: true
|
||||||
|
|
||||||
|
# Project detection
|
||||||
|
project:
|
||||||
|
auto_detect_git: true
|
||||||
|
cache_ttl: 3600
|
||||||
|
excluded_dirs:
|
||||||
|
- node_modules
|
||||||
|
- __pycache__
|
||||||
|
- .git
|
||||||
|
- venv
|
||||||
|
- .venv
|
||||||
|
|
||||||
|
# Search settings
|
||||||
|
search:
|
||||||
|
max_results: 50
|
||||||
|
default_limit: 20
|
||||||
|
enable_fuzzy: true
|
||||||
|
fuzzy_threshold: 0.6
|
||||||
|
|
||||||
|
# Suggestions engine
|
||||||
|
suggestions:
|
||||||
|
max_suggestions: 10
|
||||||
|
min_confidence: 0.3
|
||||||
|
decay_factor: 0.95
|
||||||
|
recency_weight: 0.3
|
||||||
|
frequency_weight: 0.4
|
||||||
|
context_weight: 0.3
|
||||||
|
|
||||||
|
# Pattern detection
|
||||||
|
patterns:
|
||||||
|
min_sequence_length: 3
|
||||||
|
min_occurrences: 2
|
||||||
|
max_pattern_length: 10
|
||||||
|
similarity_threshold: 0.8
|
||||||
|
timeout: 30.0
|
||||||
|
|
||||||
|
# Script generation
|
||||||
|
script:
|
||||||
|
output_dir: "~/.cli_memory/scripts"
|
||||||
|
include_error_handling: true
|
||||||
|
include_logging: true
|
||||||
|
dry_run_default: false
|
||||||
|
|
||||||
|
# Playback settings
|
||||||
|
playback:
|
||||||
|
default_speed: 1.0
|
||||||
|
confirm_each: false
|
||||||
|
show_progress: true
|
||||||
|
pause_on_error: true
|
||||||
|
|
||||||
|
# Shell integration
|
||||||
|
shell:
|
||||||
|
enable_autocomplete: true
|
||||||
|
prompt_command: "cm-prompt"
|
||||||
|
history_file: "~/.cli_memory/shell_history"
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
logging:
|
||||||
|
level: "info"
|
||||||
|
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||||
|
file: "~/.cli_memory/logs/app.log"
|
||||||
Reference in New Issue
Block a user