Documentation
¶
Index ¶
- Variables
- func EmitAgentCreated(client Client, agentID string, agentName string, modelName string)
- func EmitAgentDeleted(client Client, agentID string, agentName string)
- func EmitAgentHandoff(client Client, fromAgentID string, toAgentID string, taskID string, ...)
- func EmitAgentUpdated(client Client, agentID string, agentName string, updatedFields []string)
- func EmitCodeInterpreterSession(client Client, taskID string, scriptsExecuted int, errorsEncountered int, ...)
- func EmitConversationResumed(client Client, taskID string, daysSinceLastActivity int, messageCount int)
- func EmitMessageCreated(client Client, messageID string, taskID string, role string)
- func EmitMessageDeleted(client Client, messageID string, taskID string, role string)
- func EmitModelCreated(client Client, modelID string, modelName string, modelProviderID string, ...)
- func EmitModelDeleted(client Client, modelID string, modelName string, modelProviderID string)
- func EmitModelProviderCreated(client Client, modelProviderID string, modelProviderName string, ...)
- func EmitModelProviderDeleted(client Client, modelProviderID string, modelProviderName string, ...)
- func EmitQuickAsk(client Client, agentName string, maxTurns int, filesIncluded int, ...)
- func EmitSessionStarted(client Client, sessionType string, agentName string, workspace string, ...)
- func EmitTaskCreated(client Client, taskID string, agentID string)
- func EmitTaskDeleted(client Client, taskID string, agentID string)
- func EmitTaskUpdated(client Client, taskID string, updatedFields []string)
- func EmitToolExecuted(client Client, taskID string, toolName string, executionTimeMs int64, ...)
- type Client
- type Event
- type InMemoryClient
- type NoopClient
- type PostHogClient
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// PostHogAPIKey is the PostHog project API key
PostHogAPIKey = ""
)
Functions ¶
func EmitAgentCreated ¶
func EmitAgentDeleted ¶
func EmitAgentHandoff ¶
func EmitAgentUpdated ¶
func EmitConversationResumed ¶
func EmitMessageCreated ¶
func EmitMessageDeleted ¶
func EmitModelCreated ¶
func EmitModelDeleted ¶
func EmitQuickAsk ¶
func EmitSessionStarted ¶
func EmitTaskCreated ¶
func EmitTaskDeleted ¶
func EmitTaskUpdated ¶
Types ¶
type InMemoryClient ¶
type InMemoryClient struct {
Events []Event
}
func NewInMemoryClient ¶
func NewInMemoryClient() *InMemoryClient
func (*InMemoryClient) Close ¶
func (c *InMemoryClient) Close()
func (*InMemoryClient) Enqueue ¶
func (c *InMemoryClient) Enqueue(event Event)
type NoopClient ¶
type NoopClient struct {
}
func NewNoopClient ¶
func NewNoopClient() *NoopClient
func (*NoopClient) Close ¶
func (c *NoopClient) Close()
func (*NoopClient) Enqueue ¶
func (c *NoopClient) Enqueue(event Event)
type PostHogClient ¶
type PostHogClient struct {
// contains filtered or unexported fields
}
func NewPostHogClient ¶
func NewPostHogClient() (*PostHogClient, error)
func (*PostHogClient) Close ¶
func (c *PostHogClient) Close()
func (*PostHogClient) Enqueue ¶
func (c *PostHogClient) Enqueue(event Event)
Click to show internal directories.
Click to hide internal directories.