zot/internal/agent
patriceckhart ad93054ac4 feat(editor): extend path tab-completion to /btw and /swarm editors
The shell-style path tab-completion added in the previous commit only
ran against the main interactive editor; /btw and /swarm have their
own *tui.Editor instances inside their dialogs and routed Tab through
editor.HandleKey untouched, so '~/Dev'+Tab inserted nothing in those
modes.

Refactored the completion into a free helper:

  tryPathTabCompleteEditor(ed *tui.Editor, cwd string) bool

The Interactive method is now a thin wrapper that adds frame
invalidation. btwDialog gained a cwd field (set by Open) and calls
the helper before forwarding to editor.HandleKey. swarmDialog
already tracked d.cwd; both its prompt-editor and spawn-editor
paths now run the helper before HandleKey, gated to skip when the
@-picker popup is active so Tab there still selects the highlighted
chip.

Net effect: ~/Dev+Tab, ./int+Tab, cmd/+Tab, etc. now work the same
way in the main composer, in /btw side chats, and in /swarm spawn
and follow-up prompts.
2026-05-19 18:50:05 +02:00
..
extensions feat(ext): interactive extension panels + persistence 2026-04-22 08:53:21 +02:00
modes feat(editor): extend path tab-completion to /btw and /swarm editors 2026-05-19 18:50:05 +02:00
tools telegram: let zot send images and files back through the bridge 2026-04-28 08:23:04 +02:00
args.go swarm: introduce /swarm dashboard, /btw-style transcript view, and per-session scope 2026-05-16 11:53:20 +02:00
botcmd.go Improve Telegram status and stop commands 2026-05-07 19:05:57 +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 swarm: introduce /swarm dashboard, /btw-style transcript view, and per-session scope 2026-05-16 11:53:20 +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 swarm: introduce /swarm dashboard, /btw-style transcript view, and per-session scope 2026-05-16 11:53:20 +02:00
config.go add deepseek provider (api-key, openai-compatible v4 catalog) 2026-05-10 16:49:31 +02:00
extcmd.go feat: extension system (subprocess + json-rpc, any language) 2026-04-19 14:09:43 +02:00
modelsync.go add Google Gemini provider 2026-05-07 21:15:34 +02:00
rpc.go feat(ext): interactive extension panels + persistence 2026-04-22 08:53:21 +02:00
settings_store.go interactive: load resumed sessions asynchronously 2026-05-04 15:47:55 +02:00
swarm_agent.go Format swarm code 2026-05-16 14:01:23 +02:00
swarm_agent_test.go Fix swarm tests on Windows CI 2026-05-16 14:12:03 +02:00
systemprompt.go feat(tui): context diffs + framed tool blocks + paced streaming 2026-04-20 15:50:39 +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 agent: add 'zot update' subcommand for in-place self-update 2026-05-12 21:27:11 +02:00