From bb4211ff2ad53d2a2be750916429c41b1f8b3f75 Mon Sep 17 00:00:00 2001 From: pashpashpash Date: Thu, 9 Oct 2025 13:05:26 -0700 Subject: [PATCH] added missing cli host stubs (#6716) --- cli/pkg/hostbridge/simple_workspace.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/cli/pkg/hostbridge/simple_workspace.go b/cli/pkg/hostbridge/simple_workspace.go index de4e357a..9eb9ce7f 100644 --- a/cli/pkg/hostbridge/simple_workspace.go +++ b/cli/pkg/hostbridge/simple_workspace.go @@ -63,3 +63,23 @@ func (s *SimpleWorkspaceService) GetDiagnostics(ctx context.Context, req *host.G FileDiagnostics: []*cline.FileDiagnostics{}, }, nil } + +// OpenProblemsPanel opens the problems panel - no-op for console implementation +func (s *SimpleWorkspaceService) OpenProblemsPanel(ctx context.Context, req *host.OpenProblemsPanelRequest) (*host.OpenProblemsPanelResponse, error) { + return &host.OpenProblemsPanelResponse{}, nil +} + +// OpenInFileExplorerPanel opens a file/folder in the file explorer - no-op for console implementation +func (s *SimpleWorkspaceService) OpenInFileExplorerPanel(ctx context.Context, req *host.OpenInFileExplorerPanelRequest) (*host.OpenInFileExplorerPanelResponse, error) { + return &host.OpenInFileExplorerPanelResponse{}, nil +} + +// OpenClineSidebarPanel opens the Cline sidebar panel - no-op for console implementation +func (s *SimpleWorkspaceService) OpenClineSidebarPanel(ctx context.Context, req *host.OpenClineSidebarPanelRequest) (*host.OpenClineSidebarPanelResponse, error) { + return &host.OpenClineSidebarPanelResponse{}, nil +} + +// OpenTerminalPanel opens the terminal panel - no-op for console implementation +func (s *SimpleWorkspaceService) OpenTerminalPanel(ctx context.Context, req *host.OpenTerminalRequest) (*host.OpenTerminalResponse, error) { + return &host.OpenTerminalResponse{}, nil +}