-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtodo_list(v2.1.0).json
More file actions
138 lines (138 loc) · 8.36 KB
/
Copy pathtodo_list(v2.1.0).json
File metadata and controls
138 lines (138 loc) · 8.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"version": "2.1.0",
"codename": "AI Copilot Integration",
"release_target": "2026-05-01",
"focus": "AI Features & Smart Automation",
"marketing_message": "Your AI-powered dev partner, living inside VS Code",
"status": "planned",
"prerequisite": "v2.0.0 must be complete and stable",
"tasks": [
{
"id": "inline_ai_suggestions",
"title": "Inline AI Command Suggestions",
"priority": "P0",
"status": "planned",
"estimated_hours": 20,
"description": "Show AI-generated command suggestions inline as the user types in the command input or terminal",
"subtasks": [
{ "id": "IA-01", "task": "Design inline suggestion ghost-text UI (VS Code InlineCompletionItemProvider)", "status": "planned" },
{ "id": "IA-02", "task": "Integrate with ML scoring engine from v1.5.0 for local suggestions", "status": "planned" },
{ "id": "IA-03", "task": "Add API call fallback for complex/unseen commands (optional, user opt-in)", "status": "planned" },
{ "id": "IA-04", "task": "Debounce input to avoid excessive API calls", "status": "planned" },
{ "id": "IA-05", "task": "Accept suggestion with Tab key", "status": "planned" },
{ "id": "IA-06", "task": "Dismiss suggestion with Escape key", "status": "planned" },
{ "id": "IA-07", "task": "Track acceptance rate for AI suggestions in analytics", "status": "planned" },
{ "id": "IA-08", "task": "Toggle AI suggestions on/off in settings", "status": "planned" }
],
"dependencies": ["ML scoring engine from v1.5.0", "Analytics engine from v1.5.0"],
"files_to_create": ["src/ai/inlineSuggestions.ts"],
"technical_notes": "Use VS Code InlineCompletionItemProvider. Start with local ML model, add optional API-powered fallback."
},
{
"id": "natural_language_commands",
"title": "Natural Language to Command Converter",
"priority": "P0",
"status": "planned",
"estimated_hours": 18,
"description": "User types plain English like 'create a new git branch called feature/login' and DotCommand generates the exact shell command",
"subtasks": [
{ "id": "NL-01", "task": "Build natural language input panel in command picker", "status": "planned" },
{ "id": "NL-02", "task": "Implement intent parsing for common dev tasks (git, npm, docker, etc.)", "status": "planned" },
{ "id": "NL-03", "task": "Generate command preview before execution", "status": "planned" },
{ "id": "NL-04", "task": "Allow user to edit generated command before running", "status": "planned" },
{ "id": "NL-05", "task": "Save generated command to command library option", "status": "planned" },
{ "id": "NL-06", "task": "Add 'NL mode' toggle in command palette with ?? prefix", "status": "planned" },
{ "id": "NL-07", "task": "Test with 50+ natural language inputs across categories", "status": "planned" }
],
"dependencies": ["Command palette from v2.0.0"],
"files_to_create": ["src/ai/naturalLanguage.ts"],
"technical_notes": "Start with rule-based NL parsing for top 5 categories. Add API-powered NL as optional upgrade. Use ?? prefix in picker to activate NL mode."
},
{
"id": "smart_error_fix",
"title": "Smart Error Fix Engine",
"priority": "P0",
"status": "planned",
"estimated_hours": 16,
"description": "Detect terminal errors and automatically suggest fix commands with one-click apply",
"subtasks": [
{ "id": "SE-01", "task": "Monitor terminal output for error patterns", "status": "planned" },
{ "id": "SE-02", "task": "Build error pattern library (npm ERR, git errors, docker errors, etc.)", "status": "planned" },
{ "id": "SE-03", "task": "Map error patterns to fix commands", "status": "planned" },
{ "id": "SE-04", "task": "Show fix suggestion notification with one-click apply", "status": "planned" },
{ "id": "SE-05", "task": "Log fix success/failure back to analytics", "status": "planned" },
{ "id": "SE-06", "task": "Allow user to add custom error->fix mappings", "status": "planned" },
{ "id": "SE-07", "task": "Show error explanation alongside fix suggestion", "status": "planned" }
],
"dependencies": ["Terminal monitoring from v1.x", "Analytics engine from v1.5.0"],
"files_to_create": ["src/ai/errorFix.ts", "src/data/errorPatterns.json"],
"technical_notes": "Use regex pattern matching on terminal output. Start with 30+ common error patterns across npm, git, docker. Non-intrusive notification (no modal)."
},
{
"id": "ai_command_generator",
"title": "AI Command Generator from File Context",
"priority": "P1",
"status": "planned",
"estimated_hours": 14,
"description": "Analyze the currently open file and suggest relevant commands (e.g. open a .dockerfile → suggest docker build commands)",
"subtasks": [
{ "id": "AG-01", "task": "Hook into VS Code active editor changed event", "status": "planned" },
{ "id": "AG-02", "task": "Map file types/names to command suggestions", "status": "planned" },
{ "id": "AG-03", "task": "Show generated commands in status bar tooltip", "status": "planned" },
{ "id": "AG-04", "task": "Parse file content for deeper context (imports, scripts, etc.)", "status": "planned" },
{ "id": "AG-05", "task": "Combine with context detection from v1.4.0", "status": "planned" },
{ "id": "AG-06", "task": "Add 'Generate commands for this file' right-click context menu", "status": "planned" }
],
"dependencies": ["Context detection engine from v1.4.0"],
"files_to_create": ["src/ai/fileContextGenerator.ts"],
"technical_notes": "Build on top of ContextDetector from v1.4.0. This enhances it with per-file granularity instead of per-workspace."
},
{
"id": "context_chat_panel",
"title": "DotCommand AI Chat Panel",
"priority": "P1",
"status": "planned",
"estimated_hours": 20,
"description": "Sidebar chat panel where user can ask dev questions and get runnable command answers",
"subtasks": [
{ "id": "CC-01", "task": "Build chat webview panel (sidebar)", "status": "planned" },
{ "id": "CC-02", "task": "Chat UI: user bubble, assistant bubble, input field", "status": "planned" },
{ "id": "CC-03", "task": "Detect runnable commands in assistant responses and add Run button", "status": "planned" },
{ "id": "CC-04", "task": "Context injection: auto-include current project stack in prompt", "status": "planned" },
{ "id": "CC-05", "task": "Chat history persistence in globalState", "status": "planned" },
{ "id": "CC-06", "task": "Clear chat history command", "status": "planned" },
{ "id": "CC-07", "task": "Copy response to clipboard button", "status": "planned" },
{ "id": "CC-08", "task": "Save suggested command to library from chat", "status": "planned" }
],
"dependencies": ["Webview system from v2.0.0", "Context detection from v1.4.0"],
"files_to_create": ["src/webviews/chatPanel.ts", "src/webviews/chatPanel.html"],
"technical_notes": "Webview with message passing. Detect code blocks in response and wrap with run/copy/save actions. Use context from ContextDetector as system prompt prefix."
}
],
"summary": {
"total_tasks": 5,
"total_subtasks": 38,
"estimated_total_hours": 88,
"completed_tasks": 0,
"pending_tasks": 5,
"progress_percentage": "0%"
},
"new_settings_to_add": [
"dotcommand.ai.enabled - Master toggle for all AI features (default: true)",
"dotcommand.ai.apiKey - Optional API key for enhanced AI (default: empty)",
"dotcommand.ai.inlineSuggestions - Toggle inline suggestions (default: true)",
"dotcommand.ai.naturalLanguage - Toggle NL command mode (default: true)",
"dotcommand.ai.errorFix - Toggle smart error fix (default: true)"
],
"definition_of_done": [
"All 5 AI features working without API key (local ML fallback)",
"API key mode provides enhanced responses",
"Inline suggestions appear within 150ms",
"NL parser handles 50+ tested inputs correctly",
"Error fix library covers 30+ common error patterns",
"File context generator covers all 15+ detected technologies",
"Chat panel persists history across sessions",
"All features have analytics tracking hooked in",
"Zero TypeScript compilation errors"
]
}