Files
ServerKit/agent/internal/agentui
Juan DenisandClaude Fable 5 9e0f063d0a fix(agent): restore Linux build + register flag panic
Found while standing up a Linux agent to test the panel terminal:

- agentui/pairer.go calls isServiceInstalled/waitForServiceStopped which
  only existed in platform_windows.go, so the agent did not compile for
  Linux at all (its primary target). platform_other.go now stubs both:
  isServiceInstalled() returns false so pairing skips the SCM stop/start
  dance entirely on non-Windows.
- register defined -c as shorthand for --connection-string, colliding
  with the global -c/--config persistent flag; pflag panics on shorthand
  redefinition, so `serverkit-agent register` crashed on every platform
  at HEAD. Shorthand dropped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 00:36:32 -04:00
..