cua

package
v0.107.28 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package cua connects K-brain to Cua Driver's native MCP interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCommand

func ResolveCommand(command []string) ([]string, error)

Types

type Client

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

func New

func New(command []string, dir string) *Client

func (*Client) Call

func (c *Client) Call(ctx context.Context, name string, args json.RawMessage) (*mcp.CallToolResult, error)

func (*Client) Close

func (c *Client) Close(ctx context.Context) (closeErr error)

func (*Client) Describe

func (c *Client) Describe(ctx context.Context, name string) (string, error)

func (*Client) Discover

func (c *Client) Discover(ctx context.Context) (string, error)

func (*Client) Guide

func (c *Client) Guide(ctx context.Context, file string) (string, error)

Guide reads only bundled skill resources, never arbitrary server resources.

Jump to

Keyboard shortcuts

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