]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: Filesystem `@mentions` for Chat Form (#26715)
authorAleksander Grygier <redacted>
Fri, 7 Aug 2026 16:45:54 +0000 (18:45 +0200)
committerGitHub <redacted>
Fri, 7 Aug 2026 16:45:54 +0000 (18:45 +0200)
commit23634783c541ed49e0adfd0c64c452d77d1051ed
tree392a2a9b6d92a02a878bb0983f22f68662c63a16
parent4cb22cd537a9b12b717bd725b3fecb83c94894eb
ui: Filesystem `@mentions` for Chat Form (#26715)

* base : @-mention picker foundation - glob search, picker nav, highlight

* feat : @-mention file/folder picker and mention badges in message bubbles

* fix: Imports

* feat : wire the @-mention picker into the chat form

* fix: Bound the glob-search result cache key and prune stale entries
40 files changed:
tools/ui/src/lib/components/app/chat/ChatForm/ChatForm.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormMentionPicker.svelte [new file with mode: 0644]
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerList.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItem.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerPopover.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpResources.svelte [deleted file]
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickers.svelte
tools/ui/src/lib/components/app/chat/ChatForm/ChatFormTextarea.svelte
tools/ui/src/lib/components/app/chat/index.ts
tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte
tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts [new file with mode: 0644]
tools/ui/src/lib/components/app/forms/HighlightedMatch.svelte [new file with mode: 0644]
tools/ui/src/lib/components/app/forms/index.ts
tools/ui/src/lib/constants/chat-form.ts
tools/ui/src/lib/constants/index.ts
tools/ui/src/lib/constants/mention-badge.ts [new file with mode: 0644]
tools/ui/src/lib/constants/settings-keys.ts
tools/ui/src/lib/constants/settings-registry.ts
tools/ui/src/lib/constants/working-directory.ts
tools/ui/src/lib/enums/chat.enums.ts
tools/ui/src/lib/enums/index.ts
tools/ui/src/lib/enums/keyboard.enums.ts
tools/ui/src/lib/hooks/use-debounced-search.svelte.ts [new file with mode: 0644]
tools/ui/src/lib/hooks/use-picker-navigation.svelte.ts [new file with mode: 0644]
tools/ui/src/lib/hooks/use-scroll-active-row.svelte.ts [new file with mode: 0644]
tools/ui/src/lib/types/chat.d.ts
tools/ui/src/lib/types/index.ts
tools/ui/src/lib/types/settings.d.ts
tools/ui/src/lib/utils/glob-search.ts [new file with mode: 0644]
tools/ui/src/lib/utils/index.ts
tools/ui/src/lib/utils/mention-badge.ts [new file with mode: 0644]
tools/ui/src/lib/utils/mention-token.ts [new file with mode: 0644]
tools/ui/src/lib/utils/path-display.ts
tools/ui/src/lib/utils/working-directory.ts
tools/ui/tests/client/components/PickerListScrollHarness.svelte [new file with mode: 0644]
tools/ui/tests/client/picker-list-scroll.svelte.test.ts [new file with mode: 0644]
tools/ui/tests/unit/glob-search-children.test.ts [new file with mode: 0644]
tools/ui/tests/unit/mention-badge.test.ts [new file with mode: 0644]
tools/ui/tests/unit/mention-token.test.ts [new file with mode: 0644]
tools/ui/tests/unit/working-directory.test.ts