b10271

ggml-org/llama.cppb10271Aug 4, 2026by github-actions[bot]same day as b10270

What changed since b10270

medium risk

Adds a per-conversation working directory picker with path navigation and search to the agent UI, plus server-side file search hardening.

New features

  • Agents can now select a per-conversation working directory through an interactive picker in the UI.
  • The picker supports path navigation for both POSIX and Windows roots, treating path-like queries as directory traversal rather than glob matching.
  • Per-call tool working directories are persisted on tool result messages and shown on exec shell rows.
  • A new get_info tool call block is rendered in the UI.
  • Tool paths under the home directory are abbreviated with a tilde for readability.

Improvements

  • file_glob_search was extended and hardened with a kind enum, timeouts, symlink guards, and an absolute base path.
  • Picker search results are cached to speed up repeated lookups.
  • Working directory rows are rendered as synthetic messages without causing scroll jumps mid-chat.
  • The picker was refactored into shared utils and sub-components for maintainability.
  • Search scope is displayed in the footer and auto-searches on open so the current directory and siblings appear immediately.

Bug fixes

  • Repeated directory picks now reuse the trailing cwd row instead of duplicating it.
  • Injected cwd rows no longer cause the chat view to jump when added mid-conversation.
  • Legacy cwd row formats were dropped in favor of the persisted isSynthetic flag, avoiding inconsistent rendering.

Upgrade notes

This release builds on the previous one and focuses on the web UI and server file-search layer, so no migration steps are required for typical CLI or library users. If you rely on the server's file_glob_search endpoint, note the tightened listing behavior (kind enum, timeout, symlink guard, absolute base) and verify your client passes compatible parameters. Persisted conversations using older cwd row formats will be normalized to the new synthetic-flag representation.

Analyzed Oct 31, 2026

Upgrading?

Release notes summary

Adds a working directory picker for agents, enabling file system navigation.

Key Highlights

  • Working directory picker for agents
  • Path navigation support (POSIX and Windows roots)
  • Improved file search functionality
  • Path abbreviation using tilde

Release Notes (excerpt)

<details open> ui: CWD for agent (#26518) * server : extend file_glob_search for UI pickers * ui : add per-conversation working directory with picker * ui : add path navigation and search scope to cwd picker Treat path-like queries (starting with / or ~) as directory navigation instead of glob-matching the whole query: search the parent for the last segment, and descend into an exactly-typed directory by listing its children. Show the effective search scope in the footer and auto-search…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories