feat: tutorial extension (#1169)

Co-authored-by: Kalvin Chau <kalvin@squareup.com>
This commit is contained in:
Bradley Axen
2025-02-13 10:54:06 -08:00
committed by GitHub
parent 3ef552d7bf
commit 911f9b2033
8 changed files with 776 additions and 0 deletions

View File

@@ -137,6 +137,10 @@ impl DeveloperRouter {
If you need to run a long lived command, background it - e.g. `uvicorn main:app &` so that
this tool does not run indefinitely.
**Important**: Each shell command runs in its own process. Things like directory changes or
sourcing files do not persist between tool calls. So you may need to repeat them each time by
stringing together commands, e.g. `cd example && ls` or `source env/bin/activate && pip install numpy`
**Important**: Use ripgrep - `rg` - when you need to locate a file or a code reference, other solutions
may show ignored or hidden files. For example *do not* use `find` or `ls -r`
- List files by name: `rg --files | rg <filename>`