You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,69 @@ The Git integration uses:
132
132
133
133
For more technical details, see [internal/git/README.md](internal/git/README.md).
134
134
135
+
## Agentic Project Assist
136
+
137
+
The AI assistant can now operate across your **entire project** — not just the open file. Use `/project` to ask the AI to find, read, and modify multiple files at once based on a natural-language request.
138
+
139
+
### How It Works
140
+
141
+
When you send a `/project` command, the AI runs a three-phase pipeline:
142
+
143
+
1.**Scanning** — recursively walks the workspace directory, collecting all text files (up to 500, skipping `.git`, `vendor`, `node_modules`, `.ti`, `build`)
144
+
2.**Ranking** — sends the file list and your request to the AI model, which returns up to 20 files most likely to need changes
145
+
3.**Modifying** — reads each relevant file (up to 2000 lines), generates `SEARCH/REPLACE` patches, validates them, and writes the changes to disk
146
+
147
+
A change report is displayed when the operation completes, listing every file read, modified, or that encountered an error.
148
+
149
+
### Commands
150
+
151
+
```
152
+
/project <request> Run a project-wide change
153
+
/preview /project <request> Dry-run: show what would change without writing files
154
+
/proceed Apply the changes from the last dry-run
155
+
```
156
+
157
+
### Examples
158
+
159
+
```
160
+
/project add error handling to all HTTP client calls
161
+
/project rename the Config struct to AppConfig everywhere
162
+
/project improve the aichat pane height calculation
163
+
/preview /project update all log.Printf calls to use structured logging
164
+
```
165
+
166
+
### Change Report
167
+
168
+
After each operation you'll see a summary like:
169
+
170
+
```
171
+
Project-wide operation complete
172
+
173
+
Files scanned: 42
174
+
Files modified: 3
175
+
- internal/ui/aichat.go (+5 -2)
176
+
- internal/config/config.go (+1 -0)
177
+
- README.md (+3 -1)
178
+
179
+
Patch failures: 1
180
+
- internal/executor/executor.go: search text not found in file content
181
+
```
182
+
183
+
If nothing was changed: `No files were modified.`
184
+
185
+
### Safety
186
+
187
+
- Only files inside the workspace root are ever read or written
188
+
- Symlinks that resolve outside the workspace are rejected
189
+
- Paths returned by the AI that don't exist on disk are discarded (logged as "hallucinated paths")
190
+
- Preview mode (`/preview /project`) never writes anything to disk
The AI assistant can autonomously fix code issues in your open files. Simply describe what you want to change, and the AI will read your code, generate a fix, and apply it directly to the editor.
0 commit comments