picoclaw/pkg/config
wangyanfu2 e0d2be35c2 fix(tools): make exec tool timeout configurable via config
Add TimeoutSeconds field to ExecConfig so the shell command execution
timeout can be configured instead of being hardcoded to 60s.

- Add TimeoutSeconds int field to ExecConfig in pkg/config/config.go
  with json/env tags (PICOCLAW_TOOLS_EXEC_TIMEOUT_SECONDS)
- Set default value of 60s in DefaultConfig() in pkg/config/defaults.go
- Read TimeoutSeconds from config in NewExecToolWithConfig() in
  pkg/tools/shell.go; falls back to 60s when value is 0 or unset
2026-03-06 09:51:58 +08:00
..
config.go fix(tools): make exec tool timeout configurable via config 2026-03-06 09:51:58 +08:00
config_test.go feat: make summarization message threshold and token percent configurable (#854) (#1029) 2026-03-04 11:23:01 +08:00
defaults.go fix(tools): make exec tool timeout configurable via config 2026-03-06 09:51:58 +08:00
migration.go feat: add Avian as a named LLM provider 2026-03-03 19:36:46 +00:00
migration_test.go fix: update provider count in migration test to include Avian 2026-03-04 20:14:58 +00:00
model_config_test.go refactor(modernize): apply safe modernize fixes 2026-02-27 16:35:07 +08:00