multica/server/internal/cli
yushen 12dec9f122 fix(daemon): add reload guard and atomic config writes
- Prevent concurrent reloadWorkspaces with a dedicated mutex
- SaveCLIConfig now writes to a temp file then renames for atomicity,
  preventing partial reads by the daemon's config watcher

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 17:11:15 +08:00
..
client.go feat(auth): add browser-based CLI login flow 2026-03-26 14:51:41 +08:00
client_test.go test(cli): add unit tests for PostJSON API client method 2026-03-26 15:04:50 +08:00
config.go fix(daemon): add reload guard and atomic config writes 2026-03-26 17:11:15 +08:00
flags.go refactor(cli): unify daemon into multica-cli binary with cobra subcommands 2026-03-24 15:44:49 +08:00
output.go refactor(cli): unify daemon into multica-cli binary with cobra subcommands 2026-03-24 15:44:49 +08:00