Documentation
¶
Overview ¶
Package cmd 提供 CLI 命令
Index ¶
- func Execute()
- func GetConfig() *config.Config
- type AuthSnapshot
- type DayData
- type InputMode
- type MCPTool
- type Model
- type PriorityAnalysis
- type PriorityData
- type ProviderInfo
- type QuadrantAnalysis
- type QuadrantData
- type SortType
- type SummaryData
- type TaskOutput
- type TimeAnalysis
- type TimeData
- type TrendAnalysis
- type ViewType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthSnapshot ¶
type MCPTool ¶
type MCPTool struct {
Name string `json:"name"`
Description string `json:"description"`
InputSchema map[string]interface{} `json:"inputSchema"`
}
MCPTool MCP 工具定义
type PriorityAnalysis ¶
type PriorityAnalysis struct {
Urgent PriorityData `json:"urgent"`
High PriorityData `json:"high"`
Medium PriorityData `json:"medium"`
Low PriorityData `json:"low"`
None PriorityData `json:"none"`
Summary SummaryData `json:"summary"`
}
PriorityAnalysis 优先级分析结果
type PriorityData ¶
type PriorityData struct {
Count int `json:"count"`
Percentage float64 `json:"percentage"`
Tasks []string `json:"tasks,omitempty"`
}
PriorityData 优先级数据
type ProviderInfo ¶
type ProviderInfo struct {
Name string
ShortName string
DisplayName string
Description string
AuthType string
Enabled bool
Connected bool
Capabilities []string
}
ProviderInfo Provider 信息
type QuadrantAnalysis ¶
type QuadrantAnalysis struct {
Q1 QuadrantData `json:"q1"`
Q2 QuadrantData `json:"q2"`
Q3 QuadrantData `json:"q3"`
Q4 QuadrantData `json:"q4"`
}
QuadrantAnalysis 四象限分析结果
type QuadrantData ¶
type QuadrantData struct {
Name string `json:"name"`
Description string `json:"description"`
Count int `json:"count"`
Percentage float64 `json:"percentage"`
Tasks []string `json:"tasks,omitempty"`
}
QuadrantData 象限数据
type SummaryData ¶
type SummaryData struct {
Total int `json:"total"`
Active int `json:"active"`
Completed int `json:"completed"`
AvgPriorityScore float64 `json:"avg_priority_score"`
}
SummaryData 汇总数据
type TaskOutput ¶
type TaskOutput struct {
ID string `json:"id"`
Title string `json:"title"`
Status string `json:"status"`
Quadrant string `json:"quadrant,omitempty"`
Priority string `json:"priority,omitempty"`
DueDate string `json:"due_date,omitempty"`
Tags []string `json:"tags,omitempty"`
Source string `json:"source"`
ListID string `json:"list_id,omitempty"`
ListName string `json:"list_name,omitempty"`
Progress int `json:"progress,omitempty"`
PriorityScore int `json:"priority_score,omitempty"`
}
TaskOutput 任务输出格式
type TimeAnalysis ¶
type TimeAnalysis struct {
Overdue TimeData `json:"overdue"`
Today TimeData `json:"today"`
Tomorrow TimeData `json:"tomorrow"`
ThisWeek TimeData `json:"this_week"`
NextWeek TimeData `json:"next_week"`
ThisMonth TimeData `json:"this_month"`
Future TimeData `json:"future"`
NoDueDate TimeData `json:"no_due_date"`
}
TimeAnalysis 时间分析结果
type TimeData ¶
type TimeData struct {
Description string `json:"description"`
Count int `json:"count"`
Tasks []string `json:"tasks,omitempty"`
}
TimeData 时间数据
type TrendAnalysis ¶
type TrendAnalysis struct {
DailyCompletions []DayData `json:"daily_completions"`
WeeklyAverage float64 `json:"weekly_average"`
TotalCompleted int `json:"total_completed"`
}
TrendAnalysis 趋势分析结果
Click to show internal directories.
Click to hide internal directories.