Harry Bayliss 7b5a22618f Dispatch MCP requests concurrently per connection
handleConn processed requests serially, so a slow tool (e.g.
wait_for_pattern with a 300s timeout) monopolized the single per-agent
MCP connection and every queued call timed out behind it. Handle each
request in its own goroutine, serialize responses through a per-conn
write mutex (full response written atomically, partial writes handled),
copy the request line before handing it off (bufio reuses its buffer),
and wait on a WaitGroup before closing the conn so in-flight handlers
finish cleanly. Greeting stays sequential; notifications still get no
response.

Resolves the [MCP TIMEOUT] TODO item.
2026-05-25 12:39:31 +01:00
2026-05-21 15:45:01 +01:00
2026-05-14 16:03:49 +01:00
wip
2026-05-15 00:28:06 +01:00
wip
2026-05-15 00:28:06 +01:00
2026-05-18 11:28:00 +01:00
2026-05-14 13:37:20 +01:00
Description
Terminal-based agent orchestration shell. Named after my dog.
3.1 MiB
v0.0.7 Latest
2026-05-18 13:02:46 +01:00
Languages
Go 99.6%
Makefile 0.4%