mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 03:01:56 +00:00
feat: add ctx.ui.setWorkingMessage() extension API
Allows extensions to customize the streaming loader message. Pass undefined to restore default.
This commit is contained in:
parent
016a24e9a1
commit
271b49da3c
6 changed files with 24 additions and 1 deletions
|
|
@ -150,6 +150,10 @@ export async function runRpcMode(session: AgentSession): Promise<never> {
|
|||
} as RpcExtensionUIRequest);
|
||||
},
|
||||
|
||||
setWorkingMessage(_message?: string): void {
|
||||
// Working message not supported in RPC mode - requires TUI loader access
|
||||
},
|
||||
|
||||
setWidget(key: string, content: unknown): void {
|
||||
// Only support string arrays in RPC mode - factory functions are ignored
|
||||
if (content === undefined || Array.isArray(content)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue