zot/internal
patriceckhart 4f008e8871 fix(@-picker): pick up files and folders created mid-session
fileSuggester.scan() cached the directory listing keyed only on the
absolute path, and the only invalidation paths (Reset / Invalidate /
SetCWD) never fired for in-place filesystem changes. Once the picker
had scanned the cwd, any later mkdir or touch was invisible until
zot restarted.

Key the cache on (path, mtime) instead. Stat the browse directory on
every scan and re-read when its ModTime has moved; OSes bump dir
mtime on every entry add / remove / rename, so the picker now reflects
the filesystem within a keystroke. Stat is one cheap syscall and only
runs while the popup is open, so the input loop stays responsive on
large repos.

Added TestFileSuggesterPicksUpNewEntries to pin the behaviour: scan,
sleep past the fs mtime tick, mkdir, scan again, expect the new dir.
2026-05-19 18:37:36 +02:00
..
agent fix(@-picker): pick up files and folders created mid-session 2026-05-19 18:37:36 +02:00
assets assets: refresh zot logo to cleaner pixel-art Z 2026-04-20 12:01:43 +02:00
auth add deepseek provider (api-key, openai-compatible v4 catalog) 2026-05-10 16:49:31 +02:00
core Deliver sliding-in messages during agent loop 2026-05-16 12:47:38 +02:00
extproto feat(ext): interactive extension panels + persistence 2026-04-22 08:53:21 +02:00
provider add deepseek provider (api-key, openai-compatible v4 catalog) 2026-05-10 16:49:31 +02:00
skills perf(prompt): cut system prompt to the bone (410 -> 54 tokens) 2026-04-19 17:39:38 +02:00
swarm swarm: drop git-worktree / isolation; agents share the host cwd 2026-05-17 00:01:29 +02:00
tui swarm: introduce /swarm dashboard, /btw-style transcript view, and per-session scope 2026-05-16 11:53:20 +02:00