zot/internal/agent/tools
patriceckhart 80c0ac97a5 feat: auto-swarm summary, system-prompt nudge, README/docs
- 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.
2026-05-25 18:47:29 +02:00
..
bash.go fix(bash): kill process group immediately on cancel 2026-04-23 18:47:44 +02:00
bash_unix.go fix(bash): kill entire process group on cancel 2026-04-23 09:43:57 +02:00
bash_windows.go fix(bash): kill entire process group on cancel 2026-04-23 09:43:57 +02:00
edit.go feat(tui): context diffs + framed tool blocks + paced streaming 2026-04-20 15:50:39 +02:00
read.go Add separator before truncated tool footers 2026-05-22 17:12:06 +02:00
sandbox.go rename: /lock -> /jail, /unlock -> /unjail 2026-04-20 08:57:40 +02:00
sandbox_test.go initial commit 2026-04-17 20:36:38 +02:00
swarm_spawn.go feat: auto-swarm summary, system-prompt nudge, README/docs 2026-05-25 18:47:29 +02:00
telegram_send.go telegram: let zot send images and files back through the bridge 2026-04-28 08:23:04 +02:00
tools_test.go perf(read): drop line numbers from model-facing output 2026-04-19 17:33:05 +02:00
write.go feat(tui): live-stream file body during write/edit tool calls 2026-04-20 08:37:14 +02:00