llama.cpp/tools/ui/tests/unit
Xuan-Son Nguyen b19f1d9e63
ui: add search_chats tool (#32051)
* ui: add search_chats tool

* add from_timestamp / to_timestamp

* ui: search_chats review fixes

- keep search_chats disabled on import, copy tool policy on fork
- stream messages without attachment payloads, one transaction for time ranges
- keep the output within budget, cut whole messages from the older end
- reject impossible date-times, quote titles and attachment names
- typed readOnly tables, move localIsoString to formatters as formatLocalIso

Assisted-by: Claude (Opus 5.5 Medium)

---------

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2026-11-12 09:44:35 +01:00
..
abort.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
agentic-hotpath.bench.ts ui: add read_media tool (#25877) 2026-08-12 12:03:32 +02:00
agentic-max-turns-default.test.ts fix(ui): take the agentic turns default from DEFAULT_AGENTIC_CONFIG (#30582) 2026-10-15 12:36:06 +02:00
agentic-section-expansion.test.ts ui: Add "Show tool call in progress" setting (#30681) 2026-10-22 08:14:47 +03:00
agentic-sections.test.ts ui: Improve Chat Messages rendering performance (#28460) 2026-09-06 10:52:40 +02:00
agentic-strip.test.ts ui: Constants refactor (#26908) 2026-08-13 06:53:56 +02:00
assistant-raw-output.test.ts refactor: Clean up UI types (#26909) 2026-08-13 08:07:34 +02:00
branching.test.ts ui: Improve Chat Messages rendering performance (#28460) 2026-09-06 10:52:40 +02:00
brand-favicons.test.ts ui: take the logo and favicons from the llama-brand package (#32039) 2026-11-11 23:25:35 +01:00
chat-activity.test.ts ui: Stores split refactor (#27240) 2026-08-20 19:02:04 +02:00
chat-form-expand.test.ts ui: expand the chat form into a large editor for longer messages (#31973) 2026-11-10 13:33:50 +01:00
classify-tool-result.test.ts ui : fix MCP image attachments not displayed in tool block (#25789) (#28089) 2026-09-04 19:53:16 +02:00
clipboard.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
code.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
command-token.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
compaction.test.ts ui: add conversation compaction (#27401) 2026-10-27 07:49:27 +02:00
compute-line-diff.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
continue-intent.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
conversation-export.test.ts ui: gather chats into named groups in the sidebar (#32012) 2026-11-10 15:44:46 +01:00
conversation-import.test.ts ui: gather chats into named groups in the sidebar (#32012) 2026-11-10 15:44:46 +01:00
conversations-store.test.ts ui: Improve Chat Messages rendering performance (#28460) 2026-09-06 10:52:40 +02:00
formatters.test.ts ui : Search dialog (#31173) 2026-10-28 08:53:41 +02:00
gguf-metadata.test.ts ui: show audio in Discover for models whose mmproj has an audio encoder (#31837) 2026-11-10 22:34:46 +01:00
glob-search-children.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
headers.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
hf-helpers.test.ts ui : Discover & Download Models from HF Hub (#29584) 2026-10-17 17:20:51 +02:00
hf-mmproj-modalities.test.ts ui: show audio in Discover for models whose mmproj has an audio encoder (#31837) 2026-11-10 22:34:46 +01:00
jpeg-orientation.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
latex-protection.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
markdown-structure.test.ts ui: expand the chat form into a large editor for longer messages (#31973) 2026-11-10 13:33:50 +01:00
markdown-syntax.test.ts ui: expand the chat form into a large editor for longer messages (#31973) 2026-11-10 13:33:50 +01:00
mcp-default-overrides-merge.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
mcp-servers-default.test.ts ui: Constants refactor (#26908) 2026-08-13 06:53:56 +02:00
mcp-service.test.ts ui: read structuredContent from MCP tool result when content is empty (#26691) 2026-08-15 20:00:18 +02:00
mention-badge.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
mention-segments.test.ts ui: UI/chat form follow ups (#26743) 2026-08-10 13:32:51 +02:00
mention-token.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
model-compatibility.test.ts ui : model memory-fit estimation (#27957) 2026-09-30 13:42:17 +03:00
model-families.test.ts ui : add the models manager (#29583) 2026-10-09 10:34:45 +02:00
model-id-parser.test.ts ui : Discover & Download Models from HF Hub (#29584) 2026-10-17 17:20:51 +02:00
model-list.test.ts ui: list org-less models first in the model selector (#31215) 2026-10-27 07:52:54 +02:00
model-names.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
model-sidecar-grammar.test.ts ui : Discover & Download Models from HF Hub (#29584) 2026-10-17 17:20:51 +02:00
parse-exec-shell-status.test.ts ui: Improve Chat Messages rendering performance (#28460) 2026-09-06 10:52:40 +02:00
parse-mcp-server-settings.test.ts ui: Constants refactor (#26908) 2026-08-13 06:53:56 +02:00
parse-toolcalls-memo.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
partial-tool-call-cleanup.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
pwa.spec.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
queued-message-isolation.test.ts ui: keep queued steering messages in their own conversation (#31304) 2026-11-02 13:34:17 +02:00
reasoning-context.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
redact.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
request-helpers.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
sanitize-headers.test.ts ui: Constants refactor (#26908) 2026-08-13 06:53:56 +02:00
search-chats.test.ts ui: add search_chats tool (#32051) 2026-11-12 09:44:35 +01:00
search-results-fixture.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
search-results.test.ts ui: Improve Chat Messages rendering performance (#28460) 2026-09-06 10:52:40 +02:00
settings-private-fields.test.ts ui: mask API Key field in settings and error splash to stop browser a… (#26562) 2026-08-15 22:52:55 +02:00
settings-tool-call-in-progress.test.ts ui: Add "Show tool call in progress" setting (#30681) 2026-10-22 08:14:47 +03:00
sse.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
stream-discovery.test.ts ui: Linting & Formatting scripts (#26819) 2026-08-10 08:38:37 +02:00
stream-finish.test.ts ui: add conversation compaction (#27401) 2026-10-27 07:49:27 +02:00
stream-resume.test.ts ui: Stores split refactor (#27240) 2026-08-20 19:02:04 +02:00
tool-call-meta.test.ts ui: Improve Chat Messages rendering performance (#28460) 2026-09-06 10:52:40 +02:00
tool-calls.test.ts ui: Add "Show tool call in progress" setting (#30681) 2026-10-22 08:14:47 +03:00
uri-template.test.ts ui: Constants refactor (#26908) 2026-08-13 06:53:56 +02:00
working-directory.test.ts ui: Constants refactor (#26908) 2026-08-13 06:53:56 +02:00