mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 14:05:11 +00:00
feat(coding-agent): add FooterDataProvider for git branch and extension statuses
Expose data that extensions cannot otherwise access: git branch and extension statuses from setStatus(). Token stats, model info, etc. remain computable via ctx.sessionManager and ctx.model.
This commit is contained in:
parent
b4351040a7
commit
7b902612e9
8 changed files with 227 additions and 230 deletions
|
|
@ -33,13 +33,13 @@ const claudeCodeVersion = "2.1.2";
|
|||
|
||||
// Map pi! tool names to Claude Code's exact tool names
|
||||
const claudeCodeToolNames: Record<string, string> = {
|
||||
"read": "Read",
|
||||
"write": "Write",
|
||||
"edit": "Edit",
|
||||
"bash": "Bash",
|
||||
"grep": "Grep",
|
||||
"find": "Glob",
|
||||
"ls": "Glob",
|
||||
read: "Read",
|
||||
write: "Write",
|
||||
edit: "Edit",
|
||||
bash: "Bash",
|
||||
grep: "Grep",
|
||||
find: "Glob",
|
||||
ls: "Glob",
|
||||
};
|
||||
|
||||
const toClaudeCodeName = (name: string) => claudeCodeToolNames[name] || name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue