test: add KUGETSU_TEMP_DIR export test

Add unit test to verify KUGETSU_TEMP_DIR is exported in cmd_delegate.
Also update SKILL.md to document KUGETSU_TEMP_DIR config option.
This commit is contained in:
shokollm
2026-04-02 01:18:49 +00:00
parent e184b1e5b0
commit c0d4314933
2 changed files with 10 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ A default config file is created during `kugetsu init` with commented examples:
| Variable | Default | Description |
|----------|---------|-------------|
| `MAX_CONCURRENT_AGENTS` | 3 | Maximum number of concurrent dev agents |
| `KUGETSU_TEMP_DIR` | `~/.local/share/opencode/tool-output` | Temp directory for subagent tool output (useful in headless environments where /tmp is restricted) |
### Environment Variables for Agents