2026-04-14 13:30:18 +00:00
|
|
|
module forge.secuaas.ovh/olivier/claude-failover
|
2026-04-14 13:29:24 +00:00
|
|
|
|
2026-04-14 18:02:25 +00:00
|
|
|
go 1.22
|
|
|
|
|
|
feat(dispatcher): Phase 2.2 — Task Dispatcher avec fsnotify
- internal/dispatcher: fsnotify sur inbox/, fallback poll 60s, launchAgent
- parseFrontmatter YAML, modelForPriority (critical→opus, reste→sonnet)
- waitForPrompt polling ❯, buildTaskMessage, 1 tache par session
- isSessionFree: check tmux liveness + state idle + cooldown 5min
- 5 tests unitaires (parse, model, dispatch, no-session, missing-tmux)
- go.mod: ajout fsnotify v1.9.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 20:30:08 +00:00
|
|
|
require (
|
2026-04-16 21:00:16 +00:00
|
|
|
github.com/fsnotify/fsnotify v1.9.0
|
|
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
feat(dispatcher): Phase 2.2 — Task Dispatcher avec fsnotify
- internal/dispatcher: fsnotify sur inbox/, fallback poll 60s, launchAgent
- parseFrontmatter YAML, modelForPriority (critical→opus, reste→sonnet)
- waitForPrompt polling ❯, buildTaskMessage, 1 tache par session
- isSessionFree: check tmux liveness + state idle + cooldown 5min
- 5 tests unitaires (parse, model, dispatch, no-session, missing-tmux)
- go.mod: ajout fsnotify v1.9.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 20:30:08 +00:00
|
|
|
)
|
2026-04-16 21:00:16 +00:00
|
|
|
|
|
|
|
|
require golang.org/x/sys v0.13.0 // indirect
|