openscript_cli 0.1.0

Command-line interface for OpenScript
# OpenScript Configuration File
# This file configures the OpenScript runtime and CLI

[runtime]
# Maximum execution time in seconds (0 = unlimited)
timeout = 300

# Maximum memory usage in MB (0 = unlimited) 
max_memory = 1024

# Maximum recursion depth
max_recursion_depth = 1000

# Enable debug mode
debug = false

# Log level: "error", "warn", "info", "debug", "trace"
log_level = "info"

[ai]
# OpenAI API configuration
api_key = "${OPENAI_API_KEY}"
default_model = "gpt-3.5-turbo"
max_tokens = 4096
temperature = 0.7
timeout = 30

# Rate limiting
max_requests_per_minute = 60
max_requests_per_hour = 1000

[security]
# Allow file system access
allow_file_access = true

# Allow network access
allow_network_access = true

# Allow system command execution
allow_system_commands = false

# Allowed file extensions for reading/writing
allowed_file_extensions = ["txt", "json", "yaml", "yml", "csv", "md"]

# Blocked domains for network requests
blocked_domains = ["localhost", "127.0.0.1", "0.0.0.0"]

[performance]
# Enable compilation cache
cache_enabled = true
cache_directory = "${HOME}/.openscript/cache"

# Parallel execution settings
max_parallel_tasks = 4

# Memory optimization
gc_threshold = 1000000  # bytes

[development]
# Enable experimental features
experimental_features = false

# Enable performance profiling
profiling = false

# Hot reload for development
hot_reload = false

[plugins]
# Plugin directories
plugin_paths = [
    "${HOME}/.openscript/plugins",
    "./plugins"
]

# Auto-load plugins
auto_load = true

[output]
# Output formatting
colored_output = true
json_pretty_print = true

# Progress indicators
show_progress = true
progress_style = "bar"  # "bar", "spinner", "dots"