mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
feat: add terminal input hook for extensions
This commit is contained in:
committed by
Mario Zechner
Unverified
parent
6da488a5aa
commit
30fd99bd82
@@ -144,6 +144,11 @@ export async function runRpcMode(session: AgentSession): Promise<never> {
|
||||
} as RpcExtensionUIRequest);
|
||||
},
|
||||
|
||||
onTerminalInput(): () => void {
|
||||
// Raw terminal input not supported in RPC mode
|
||||
return () => {};
|
||||
},
|
||||
|
||||
setStatus(key: string, text: string | undefined): void {
|
||||
// Fire and forget - no response needed
|
||||
output({
|
||||
|
||||
Reference in New Issue
Block a user