feat: add status watcher to MCP server (#18320)

This is meant to complement the existing task reporter since the LLM
does not call it reliably.

It also includes refactoring to use the common agent flags/env vars.
This commit is contained in:
Asher
2025-06-13 12:53:43 -08:00
committed by GitHub
parent 5bcde58bdc
commit 4bd5609e13
12 changed files with 931 additions and 186 deletions

View File

@ -75,7 +75,7 @@ fi
return xerrors.Errorf("agent token not found")
}
client, err := r.createAgentClient()
client, err := r.tryCreateAgentClient()
if err != nil {
return xerrors.Errorf("create agent client: %w", err)
}