Search, find, read and edit files in the workspace
The AI can now search across all files of a workspace, find files by pattern, read PDFs and notebooks, and change a single notebook cell.
People who use a chat with a workspace: the AI can search across all files, find files by pattern, read PDFs and notebooks, and edit single notebook cells (with approval). No action needed.
Text version
Search across all files, find files by name pattern, read PDFs and notebooks, edit one notebook cell.
In a chat with a workspace, the AI finds its way through a project faster. It searches every file at once with a regular expression and gets back matching lines, only the file names, or a count per file. It lists files by a pattern such as src/**/*.ts, newest first. Both skip .git, node_modules and binary files and say how much they left out.
A PDF now comes back as text, page by page, up to 20 pages at a time. The text is extracted inside your workspace, not on our servers. A Jupyter notebook comes back as its cells with source and outputs; images in outputs are only named.
To change a notebook, the AI inserts, replaces or deletes one cell instead of rewriting the file. That edit asks for approval like any other change to your files.
The search tools only read what the AI could open anyway. Details are on the Containers page.
No action is needed.