summaryrefslogtreecommitdiff
path: root/internal/api/logs.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-05-20 19:23:45 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-05-20 19:23:45 +0000
commit4bef835671542d5785c7dc6229662b9d5b0053f8 (patch)
tree1645363944f59831d249f1dc4d14c4be0e1f712d /internal/api/logs.go
parentbf5ea107f6aec57c1fc3d094cd42aef239d46f15 (diff)
feat: add [runners] config section to toggle each runner on/off
Adds RunnersConfig{Claude,Gemini,Local,Container *bool} to Config, parsed from a [runners] TOML section. Each field uses the *bool pointer pattern (nil = enabled by default, false = disabled) so existing installs require no config changes. serve.go / run.go now gate each runner registration on the corresponding Enabled() method. The pool's runners map remains the authoritative routing table — absent entries are already skipped by pickAgent and fail-fast in getRunner, so no executor changes are needed. Example: [runners] gemini = false # disable cloud gemini runner local = true # explicit (same as default) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/logs.go')
0 files changed, 0 insertions, 0 deletions