feat(daemon): dynamic agent capabilities via clawdie-hw-probe --capabilities #258

Merged
clawdie merged 1 commit from feat/dynamic-agent-capabilities into main 2026-06-28 01:41:17 +02:00

1 commit

Author SHA1 Message Date
3b25668c9e feat(daemon): dynamic agent capabilities via clawdie-hw-probe --capabilities
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
Replaces hardcoded ["shell","freebsd","code"] with a call to
clawdie-hw-probe --capabilities during autospawn agent registration.

probe_capabilities():
  - Runs clawdie-hw-probe --capabilities (cross-platform, < 100ms)
  - Parses the JSON array from stdout: ["shell","freebsd","code"]
  - Falls back to ["shell","code"] if probe unavailable

Platform examples:
  FreeBSD:  ["shell","freebsd","code"]
  Linux:    ["shell","linux","code","vulkan"]

This is Phase 1b of the dynamic capabilities plan. The hw-probe change
(Phase 1a) is in clawdie-iso feat/hw-probe-capabilities.
Phase 2 (T2.x) adds ollama/llama.cpp/cuda detection to the same probe
pipeline — no new env vars, no protocol changes.
2026-06-28 01:38:52 +02:00