mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
- Sub-agents are long-lived daemons that keep running on the inbox after the initial task, so agent.Wait() never unblocks for them. Replaced the Wait-based watcher with a per-turn OnTurnEnd callback: Agent.SetOnTurnEnd installs it under the agent mutex, the runner's stdout decoder fires it on every turn_end event from the child. - trackSwarmAgent now subscribes via SetOnTurnEnd. First turn_end per tracked sub-agent marks it done; when every entry is done, zot flushes one [auto-swarm update] turn via SubmitOrQueue summarising each agent's status / task / transcript tail (and the turn error if any) so the main agent can recap the collective outcome in chat. - System addendum extended to tell the model to expect that update message and treat it as observed state, not a new user request. - README: /settings row in the slash-commands table, new /settings subsection covering both toggles, auto-swarm paragraph appended to the /swarm subsection, /settings listed as a read-only mid-turn command. |
||
|---|---|---|
| .. | ||
| agent | ||
| assets | ||
| auth | ||
| core | ||
| extproto | ||
| provider | ||
| skills | ||
| swarm | ||
| tui | ||