- internal/watcher: detecte fin de tache via signal file, prompt ❯, idle timeout - state: ForEachWorking, SetStalled, SetActiveAccount, ActiveAccount - config: WatcherConfig, DispatcherConfig, JanitorConfig, NotificationsConfig + defaults - 5 tests unitaires, go test ./... -race OK Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Version actuelle : 0.2.0
[0.2.0] - 2026-04-14
Type: Minor — Implémentation des goroutines Phase 2
Ajouté
- Phase 2.1 :
internal/watcher— SessionWatcher (détection fin de tâche, timeout, signal file) - Phase 2.5 :
internal/notify— Notifier Telegram + Resend email - Phase 2.2 :
internal/dispatcher— Dispatcher fsnotify + launchAgent - Phase 2.3 :
internal/quota— QuotaMonitor (scraping pane tmux) - Phase 2.4 :
internal/switcher— AccountSwitcher (state machine flip symlink) - Phase 2.6 :
internal/janitor— Janitor (housekeeping agent-queue) - Phase 2.7 :
cmd/claude-failover/main.go— Intégration complète toutes goroutines - Nouveaux champs config :
watcher,dispatcher,janitor,notifications state: ForEachWorking, SetStalled, SetActiveAccount, ActiveAccountconfig.example.yaml: sections complètes pour tous les composantsscripts/claude-failover.service: unité systemd
Tests effectués
- ✅ go test ./... -race (toutes phases)
[0.1.0] - 2026-04-14
Type: Initial — Daemon skeleton
Ajouté
- Entry point, signal handling, config YAML loader
- tmux.Client interface + ExecClient
- State struct (JSON flush, sessions)
- HTTP /health + /status
- SessionLifecycleManager (reconcile 15s)