Files

1 line
3.1 KiB
JSON

{"repo": "b1ankcat/ash", "files": {"config.toml.example": {"ed302274a0a7e88492262e555b91e80f7dbc7c58": {"t": 1785746800.6336613, "n": 1388, "h": "dc0de49adde51cc4", "c": "# ash configuration example\n# Copy to config.toml and fill in your values.\n# The API key may alternatively be supplied via the ASH_API_KEY environment variable.\n\n# Required\napi_type = \"openai\" # openai | anthropic | gemini | ollama | groq | cohere | deepseek | xai\napi_key = \"sk-...\" # your API key (or omit and set ASH_API_KEY env var)\nmodel_name = \"gpt-4o-mini\" # model to use\n\n# Optional: override the default API endpoint (e.g. for proxies or local models)\n# base_url = \"https://my-proxy.example.com/v1\"\n\n# Commands that are allowed to run (empty = all commands allowed)\nallow_list = [\"ls\", \"cat\", \"git\", \"echo\", \"curl\"]\n\n# Commands that are always rejected (deny wins over allow if a command appears in both)\ndeny_list = [\"rm\", \"sudo\", \"dd\", \"mkfs\"]\n\n# LLM request timeout in seconds (default: 60)\n# request_timeout_secs = 60\n\n# Tools to probe in PATH and include in LLM context (default: git, curl, docker, python3, node, cargo, make)\n# tools_to_probe = [\"git\", \"curl\", \"docker\", \"python3\", \"node\", \"cargo\", \"make\"]\n\n# Include OS, architecture, and current working directory in the LLM prompt context.\n# Note: cwd may reveal internal path structure to the LLM API.\n# collect_sys_info = true\n\n# Include SHELL, TERM, and available tool list in the LLM prompt context.\n# PATH is never forwarded regardless of this setting.\n# collect_env_info = true\n"}, "05af32534dc0d11c7bfdc4d1c7ab2e85e30e76a8": {"t": 1785767747.1511264, "n": 1386, "h": "38a17d450ae72c1e", "c": "# ash configuration example\n# Copy to config.toml and fill in your values.\n# The API key may alternatively be supplied via the ASH_API_KEY environment variable.\n\n# Required\nprovider_name = \"openai\" # human-readable provider label\napi_type = \"openai\" # openai | anthropic | gemini | ollama | groq | cohere | deepseek | xai\napi_key = \"sk-...\" # your API key (or leave blank and set ASH_API_KEY)\nmodel_name = \"gpt-4o-mini\" # model to use\n\n# Optional: override the default API endpoint (e.g. for proxies or local models)\n# base_url = \"https://my-proxy.example.com/v1\"\n\n# Commands that are allowed to run (empty = all commands allowed)\nallow_list = [\"ls\", \"cat\", \"git\", \"echo\", \"curl\"]\n\n# Commands that are always rejected (deny wins over allow if a command appears in both)\ndeny_list = [\"rm\", \"sudo\", \"dd\", \"mkfs\"]\n\n# When true (default): silently reject denied commands and exit 1 without showing the UI.\n# When false: show the high-risk UI and require double-confirmation before executing.\n# silent_reject = true\n\n# Include OS, architecture, and current working directory in the LLM prompt context.\n# Note: cwd may reveal internal path structure to the LLM API.\n# collect_sys_info = true\n\n# Include SHELL, TERM, and available tool list in the LLM prompt context.\n# PATH is never forwarded regardless of this setting.\n# collect_env_info = true\n"}}}}