Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentsPayload ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
type InputMessage ¶
type InputMessage struct {
ID string `json:"id"`
Type string `json:"type"`
From string `json:"from"`
Payload struct {
SessionID string `json:"sessionId"`
Trigger string `json:"trigger"`
AgentID string `json:"agentId"`
ContentType string `json:"contentType"`
Payload []byte `json:"payload"`
} `json:"payload"`
}
messages send by server to CLI
type Message ¶
type Message struct {
ID string `json:"id"`
Type string `json:"type"`
Payload map[string]any `json:"payload"`
}
func NewAgentsMessage ¶
func NewAgentsMessage(id string, payload AgentsPayload) Message
type OutputPayload ¶
type Websocket ¶ added in v0.0.66
type Websocket struct {
WebSocketId string
OtelToken string
OtelUrl string
Project project.ProjectContext
Done chan struct{}
// contains filtered or unexported fields
}
func NewWebsocket ¶ added in v0.0.66
func (*Websocket) SendMessage ¶ added in v0.0.66
Update SendMessage to accept the MessageType interface
func (*Websocket) StartReadingMessages ¶ added in v0.0.66
Click to show internal directories.
Click to hide internal directories.