fix: add KUGETSU_TEMP_DIR to config template
Add KUGETSU_TEMP_DIR config option to cmd_init template with default value of ~/.local/share/opencode/tool-output (opencode-allowed directory). This allows users to configure a temp directory that opencode can access instead of /tmp which may be blocked in headless mode. Fixes #73
This commit is contained in:
@@ -1248,6 +1248,10 @@ cmd_init() {
|
||||
# Verbosity level for PM agent output (verbose, default, or quiet)
|
||||
# KUGETSU_VERBOSITY=default
|
||||
|
||||
# Temporary directory for agent operations (default: ~/.local/share/opencode/tool-output)
|
||||
# Use this instead of /tmp which may be blocked by opencode in headless mode
|
||||
# KUGETSU_TEMP_DIR="$HOME/.local/share/opencode/tool-output"
|
||||
|
||||
# Git server configurations
|
||||
# Format: GIT_SERVERS["hostname"]="https://hostname"
|
||||
# Add servers with: kugetsu server add <name> <url>
|
||||
|
||||
Reference in New Issue
Block a user