Skip to content

Commit ee82457

Browse files
committed
undo
1 parent bdf8c03 commit ee82457

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

apps/array/src/main/services/agent/service.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
PROTOCOL_VERSION,
1010
type RequestPermissionRequest,
1111
type RequestPermissionResponse,
12-
type SessionNotification,
1312
} from "@agentclientprotocol/sdk";
1413
import { Agent, type OnLogCallback } from "@posthog/agent";
1514
import { 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 (

0 commit comments

Comments
 (0)