mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 13:04:08 +00:00
feat(coding-agent): add ExtensionAPI setLabel
This commit is contained in:
parent
fde9b089f4
commit
157e4e51bf
10 changed files with 41 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ export async function runPrintMode(session: AgentSession, options: PrintModeOpti
|
|||
getSessionName: () => {
|
||||
return session.sessionManager.getSessionName();
|
||||
},
|
||||
setLabel: (entryId, label) => {
|
||||
session.sessionManager.appendLabelChange(entryId, label);
|
||||
},
|
||||
getActiveTools: () => session.getActiveToolNames(),
|
||||
getAllTools: () => session.getAllTools(),
|
||||
setActiveTools: (toolNames: string[]) => session.setActiveToolsByName(toolNames),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue