File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
apps/array/src/main/services/agent Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 99 PROTOCOL_VERSION ,
1010 type RequestPermissionRequest ,
1111 type RequestPermissionResponse ,
12- type SessionNotification ,
1312} from "@agentclientprotocol/sdk" ;
1413import { Agent , type OnLogCallback } from "@posthog/agent" ;
1514import { app } from "electron" ;
@@ -550,15 +549,8 @@ export class AgentService extends TypedEventEmitter<AgentServiceEvents> {
550549 } ;
551550 } ,
552551
553- async sessionUpdate ( params : SessionNotification ) : Promise < void > {
554- // Emit session update notifications to the renderer
555- // These are called directly by the agent (not through the stream),
556- // so we need to manually emit them
557- onAcpMessage ( {
558- jsonrpc : "2.0" ,
559- method : "session/update" ,
560- params,
561- } ) ;
552+ async sessionUpdate ( ) {
553+ // session/update notifications flow through the tapped stream
562554 } ,
563555
564556 extNotification : async (
You can’t perform that action at this time.
0 commit comments