Documentation
¶
Index ¶
- func IsPathWithin(path, root string) booldeprecated
- func SafeJoin(root, rel string) (string, error)deprecated
- func SanitizeName(name string) errordeprecated
- type ActionStatus
- type LogEntry
- type Message
- type PlatformStatus
- type ProgressAnalysis
- type ProviderInfo
- type QRStatus
- type Server
- type Session
- type ShareToken
- type Skill
- type Toolset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPathWithin
deprecated
added in
v0.5.1
func SanitizeName
deprecated
added in
v0.5.1
Types ¶
type ActionStatus ¶ added in v0.3.0
type Message ¶
type Message struct {
ID string `json:"id"`
SessionID string `json:"session_id"`
Role string `json:"role"`
Content string `json:"content"`
Timestamp int64 `json:"timestamp"`
ToolCalls []map[string]interface{} `json:"tool_calls,omitempty"`
ToolName string `json:"tool_name,omitempty"`
ToolCallID string `json:"tool_call_id,omitempty"`
}
type PlatformStatus ¶ added in v0.3.0
type ProgressAnalysis ¶ added in v0.4.8
type ProviderInfo ¶ added in v0.3.0
type QRStatus ¶ added in v0.4.0
type QRStatus struct {
Platform string `json:"platform"`
Status string `json:"status"` // pending, scanning, confirmed, expired, error
QRCode string `json:"qr_code,omitempty"` // base64 encoded PNG
Message string `json:"message,omitempty"`
ExpiresIn int `json:"expires_in,omitempty"` // seconds remaining
}
type Session ¶
type Session struct {
ID string `json:"id"`
Profile string `json:"profile"`
Source string `json:"source"`
Model string `json:"model"`
Title string `json:"title"`
WorkDir string `json:"work_dir"`
WorkDirUserSet bool `json:"work_dir_user_set"`
StartedAt int64 `json:"started_at"`
EndedAt *int64 `json:"ended_at"`
LastActive int64 `json:"last_active"`
IsActive bool `json:"is_active"`
MessageCount int `json:"message_count"`
ToolCallCount int `json:"tool_call_count"`
InputTokens int `json:"input_tokens"`
OutputTokens int `json:"output_tokens"`
Preview string `json:"preview"`
ParentSessionID *string `json:"parent_session_id"`
}
type ShareToken ¶ added in v0.4.23
type ShareToken struct {
}
type Skill ¶ added in v0.3.0
type Skill struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Category string `json:"category"`
Tags []string `json:"tags"`
Enabled bool `json:"enabled"`
Source string `json:"source"` // "default" or "user"
Status string `json:"status,omitempty"` // auto-skill status: pending/approved/archived/rejected
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.