zot/internal/agent
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
..
extensions feat: runtime cwd switching via hidden /cd and extension submit_slash 2026-05-19 19:38:47 +02:00
modes feat: auto-swarm summary, system-prompt nudge, README/docs 2026-05-25 18:47:29 +02:00
tools feat: auto-swarm summary, system-prompt nudge, README/docs 2026-05-25 18:47:29 +02:00
args.go Load user skills by default 2026-05-24 20:12:06 +02:00
botcmd.go Use ASCII ellipses throughout 2026-05-22 17:19:29 +02:00
botcmd_unix.go fix ci on windows: split detach helper into posix/windows variants 2026-04-18 10:58:10 +02:00
botcmd_windows.go fix ci on windows: split detach helper into posix/windows variants 2026-04-18 10:58:10 +02:00
build.go feat: /settings dialog with auto-swarm toggle 2026-05-25 18:29:08 +02:00
build_test.go swarm: introduce /swarm dashboard, /btw-style transcript view, and per-session scope 2026-05-16 11:53:20 +02:00
changelog.go fix(changelog): strip commit/date suffix from version strings 2026-04-25 17:50:35 +02:00
cli.go feat: auto-swarm summary, system-prompt nudge, README/docs 2026-05-25 18:47:29 +02:00
config.go feat: /settings dialog with auto-swarm toggle 2026-05-25 18:29:08 +02:00
extcmd.go feat: extension system (subprocess + json-rpc, any language) 2026-04-19 14:09:43 +02:00
modelsync.go Align built-in model catalog 2026-05-24 19:32:19 +02:00
modelsync_test.go Align built-in model catalog 2026-05-24 19:32:19 +02:00
rpc.go feat: runtime cwd switching via hidden /cd and extension submit_slash 2026-05-19 19:38:47 +02:00
settings_store.go feat: auto-swarm summary, system-prompt nudge, README/docs 2026-05-25 18:47:29 +02:00
swarm_agent.go Use ASCII ellipses throughout 2026-05-22 17:19:29 +02:00
swarm_agent_test.go Fix swarm tests on Windows CI 2026-05-16 14:12:03 +02:00
systemprompt.go Embed zot docs in binary 2026-05-20 20:25:29 +02:00
update.go fix(update): re-check every launch when the cache says up-to-date 2026-04-20 18:31:51 +02:00
updatecmd.go Use ASCII ellipses throughout 2026-05-22 17:19:29 +02:00