vibe-learning-opencode 0.2.17 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +23 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -89,26 +89,19 @@ var COMMAND_PROMPTS = {
|
|
|
89
89
|
- After mode: on/off
|
|
90
90
|
- Cooldown status
|
|
91
91
|
- Consecutive skips`,
|
|
92
|
-
stats: `Execute NOW: Call mcp__vibe-learning__get_stats with period="month"
|
|
93
|
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
- Summary
|
|
99
|
-
- Weak areas needing reinforcement
|
|
100
|
-
- Strong areas
|
|
101
|
-
- Skipped concepts
|
|
102
|
-
- Growth trends`,
|
|
103
|
-
"report-month": `Execute NOW: Call mcp__vibe-learning__get_report_data with period="month", then format as monthly report.`,
|
|
92
|
+
stats: `Execute NOW: Call mcp__vibe-learning__get_stats with period="month".
|
|
93
|
+
Display the response's formattedOutput field directly if available. Otherwise format as dashboard.`,
|
|
94
|
+
report: `Execute NOW: Call mcp__vibe-learning__get_report_data with period="week".
|
|
95
|
+
Display the response's formattedOutput field directly. This contains a pre-formatted report.`,
|
|
96
|
+
"report-month": `Execute NOW: Call mcp__vibe-learning__get_report_data with period="month".
|
|
97
|
+
Display the response's formattedOutput field directly.`,
|
|
104
98
|
"report-save": `Execute NOW: Call mcp__vibe-learning__save_report with period="week". Confirm file saved.`,
|
|
105
|
-
unknowns: `Execute NOW: Call mcp__vibe-learning__get_unknown_unknowns with period="month" and limit=10
|
|
106
|
-
|
|
107
|
-
- Why each is important
|
|
108
|
-
- Related concepts`,
|
|
99
|
+
unknowns: `Execute NOW: Call mcp__vibe-learning__get_unknown_unknowns with period="month" and limit=10.
|
|
100
|
+
Display the response's formattedOutput field directly. This contains a pre-formatted list.`,
|
|
109
101
|
"unknowns-save": `Execute NOW: Call mcp__vibe-learning__save_unknowns with period="month" and limit=20. Confirm file saved.`,
|
|
110
102
|
review: `Execute NOW: Call mcp__vibe-learning__get_due_reviews with limit=5. For each due concept, ask a level-appropriate question and record results.`,
|
|
111
|
-
interview: `Execute NOW: Call mcp__vibe-
|
|
103
|
+
interview: `Execute NOW: Call mcp__vibe-learning__get_interview_data with period="month".
|
|
104
|
+
Display the response's formattedOutput field directly, then follow the interviewBehavior instructions to conduct interview practice.`,
|
|
112
105
|
pause: `Execute NOW: Call mcp__vibe-learning__set_mode with paused_until set to 1 hour from now (ISO format). Confirm paused.`,
|
|
113
106
|
off: `Execute NOW: Call mcp__vibe-learning__set_mode with senior_enabled=false and after_enabled=false. Confirm learning is off (recording continues).`,
|
|
114
107
|
on: `Execute NOW: Call mcp__vibe-learning__set_mode with senior_enabled=true and after_enabled=true. Confirm full learning mode enabled.`,
|
|
@@ -181,7 +174,19 @@ Call mcp__vibe-learning__should_ask_question to check.
|
|
|
181
174
|
_Learning Question (Level X)_
|
|
182
175
|
[Your question here]?
|
|
183
176
|
- After user answers, call mcp__vibe-learning__record_learning
|
|
184
|
-
- If shouldAsk is false: skip silently (no cooldown message needed)
|
|
177
|
+
- If shouldAsk is false: skip silently (no cooldown message needed)
|
|
178
|
+
|
|
179
|
+
**STEP 5: Review Chaining (AFTER learning question is answered)**
|
|
180
|
+
After calling record_learning:
|
|
181
|
+
1. If the user skipped the learning question, skip the review too.
|
|
182
|
+
2. Otherwise, call mcp__vibe-learning__get_due_reviews with limit=1.
|
|
183
|
+
3. If a due review is found:
|
|
184
|
+
- Format:
|
|
185
|
+
**[VibeLearning Review]**
|
|
186
|
+
_Review Question (Level X) - {conceptId}_
|
|
187
|
+
[Your question here]?
|
|
188
|
+
- After user answers, call mcp__vibe-learning__record_learning for the review
|
|
189
|
+
4. Do NOT chain more reviews (max 1 review per learning session)`;
|
|
185
190
|
function parseLearnCommand(text) {
|
|
186
191
|
const lower = text.toLowerCase().trim();
|
|
187
192
|
if (lower === "/learn" || lower === "/learn status")
|