Skip to content

Commit c45d19f

Browse files
fix: broken api
1 parent 015f365 commit c45d19f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

extensions/vscode/src/extension/VsCodeMessenger.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ export class VsCodeMessenger {
634634
await configHandler.controlPlaneClient.getAgentState(agentSessionId);
635635

636636
// Debug what we got back
637-
debugger;
637+
// debugger;
638638
console.log("Agent state response:", agentState);
639639

640640
if (!agentState) {
@@ -657,7 +657,9 @@ export class VsCodeMessenger {
657657

658658
// For MVP: Simply load the session by sending to webview
659659
// The webview will dispatch the newSession action with the session data
660-
this.webviewProtocol.send("loadAgentSession", agentState.session);
660+
this.webviewProtocol.send("loadAgentSession", {
661+
session: agentState.session,
662+
});
661663

662664
vscode.window.showInformationMessage(
663665
`Successfully loaded agent workflow: ${agentState.session.title || "Untitled"}`,

0 commit comments

Comments
 (0)