client

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client handles communication with VSCode bridge

func NewClient

func NewClient(port int) *Client

NewClient creates a new client for bridge communication

func (*Client) ExecuteTask

func (c *Client) ExecuteTask(ctx context.Context, task models.Task) error

ExecuteTask sends a task for execution

func (*Client) ExecuteWorkspace

func (c *Client) ExecuteWorkspace(ctx context.Context, workspace models.Workspace) error

ExecuteWorkspace sends a workspace for execution

func (*Client) LoadAuthFromToken

func (c *Client) LoadAuthFromToken(token string) error

LoadAuthFromToken loads authentication from a token discovered out-of-band, such as the VSTR_TOKEN env var, avoiding a re-read of the bridge file.

func (*Client) TestConnection

func (c *Client) TestConnection(ctx context.Context) error

TestConnection verifies connectivity and authentication with bridge

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL