fix(engine): register grep/find/ls alongside read/bash/edit/write for coding sessions
pi-coding-agent 0.70's createCodingTools preset only includes read/bash/edit/write, but pi-claude-cli's tool-mapping translates Claude's Glob→find and Grep→grep. Triage sessions running through Claude CLI hit "Tool find not found" the moment the model called Glob and looped on the error. Compose the built-in set explicitly so every tool referenced by tool-mapping.ts is registered. Read-only sessions also gain ls (was silently dropped earlier when readonly was redefined upstream). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1867,7 +1867,8 @@ function AgentsView({ state }: { state: DashboardState }) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((key.return || input === "l") && selectedRun) {
|
||||
const isEnterKey = key.return || input === "\r" || input === "\n";
|
||||
if ((isEnterKey || input === "l") && selectedRun) {
|
||||
setDetailFocused(true);
|
||||
setShowRunLogs(true);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user