Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct {
// contains filtered or unexported fields
}
func NewBrowser ¶
func NewBrowser() *Browser
func (*Browser) CursorPosition ¶
func (*Browser) RightClick ¶
func (b *Browser) RightClick()
func (*Browser) Screenshot ¶
type Computer ¶
type ContentContent ¶
type ContentContent struct {
Type string `json:"type"`
Source ContentSource `json:"source,omitempty"`
}
type ContentSource ¶
type Message ¶
type Message struct {
Role string `json:"role"`
Content []MessageContent `json:"content"`
}
func NewToolResponseMessage ¶
func NewToolResponseMessage(toolresults []ToollCallResult) Message
type MessageContent ¶
type MessageContent struct {
Type string `json:"type"` // text, image, tool_use, tool_result
// for text
Text string `json:"text,omitempty"`
// for tool_use
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Input *MessageInput `json:"input,omitempty"`
// for tool_result
Content []ContentContent `json:"content,omitempty"`
ToolUseID string `json:"tool_use_id,omitempty"`
IsError bool `json:"is_error,omitempty"`
}
type MessageInput ¶
type Robot ¶
type Robot struct {
Bounds Rect
}
func (*Robot) CursorPosition ¶
func (*Robot) RightClick ¶
func (r *Robot) RightClick()
func (*Robot) Screenshot ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
browsercmd
command
|
|
|
brwserweb
command
|
|
|
computercmd
command
|
|
|
computerweb
command
|
Click to show internal directories.
Click to hide internal directories.