mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-27 22:06: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. |
||
|---|---|---|
| .. | ||
| telegram | ||
| btw_dialog.go | ||
| changelog_dialog.go | ||
| confirm_dialog.go | ||
| dialog_frame.go | ||
| ext_panel_dialog.go | ||
| file_suggest.go | ||
| file_suggest_test.go | ||
| help.go | ||
| image_scroll_test.go | ||
| interactive.go | ||
| json.go | ||
| jump_dialog.go | ||
| keychord_hint.go | ||
| keychord_hint_test.go | ||
| login_dialog.go | ||
| logout_dialog.go | ||
| model_dialog.go | ||
| print.go | ||
| rescue_dialog.go | ||
| session_dialog.go | ||
| session_ops_dialog.go | ||
| session_tree_dialog.go | ||
| settings_dialog.go | ||
| skills_dialog.go | ||
| slash_suggest.go | ||
| slash_suggest_test.go | ||
| spinner.go | ||
| study_test.go | ||
| swarm_dialog.go | ||
| swarm_dialog_test.go | ||
| swarm_slash.go | ||
| swarm_slash_test.go | ||
| telegram_dialog.go | ||
| update_banner.go | ||
| welcome.go | ||