vibe-learning-opencode 0.1.6 → 0.1.8
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 +18 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -89,15 +89,16 @@ Flow:
|
|
|
89
89
|
- Round 3: (if needed) Give hint and ask again
|
|
90
90
|
- FINAL STEP (MANDATORY): Call record_learning tool, THEN say "Good! Implementing now."
|
|
91
91
|
|
|
92
|
-
\u26A0\uFE0F CRITICAL - After final round,
|
|
92
|
+
\u26A0\uFE0F CRITICAL - After final round, call BOTH tools:
|
|
93
|
+
|
|
94
|
+
1. Record learning result:
|
|
93
95
|
mcp__vibe-learning__record_learning({
|
|
94
|
-
concept_id: "kebab-case-concept",
|
|
96
|
+
concept_id: "kebab-case-concept",
|
|
95
97
|
level: 3,
|
|
96
98
|
result: "correct" | "partial" | "skipped"
|
|
97
99
|
})
|
|
98
|
-
DO NOT say "Implementing now" until record_learning is called.
|
|
99
100
|
|
|
100
|
-
|
|
101
|
+
2. Record 1-2 unknown unknowns (related concepts user might not know):
|
|
101
102
|
mcp__vibe-learning__record_unknown_unknown({
|
|
102
103
|
concept_id: "related-concept",
|
|
103
104
|
related_to: "main-concept",
|
|
@@ -105,6 +106,8 @@ After implementation, record 1-2 unknown unknowns:
|
|
|
105
106
|
why_important: "why important"
|
|
106
107
|
})
|
|
107
108
|
|
|
109
|
+
THEN say "Good! Implementing now."
|
|
110
|
+
|
|
108
111
|
ONE question per message. Wait for answer.`,
|
|
109
112
|
"senior-light": `Execute NOW: Call mcp__vibe-learning__set_mode with mode="senior_light". Confirm mode changed.
|
|
110
113
|
|
|
@@ -125,22 +128,23 @@ Flow:
|
|
|
125
128
|
- Round 3: If Round 2 vague, "[Round 3/3] Hint: [hint]. What do you think?"
|
|
126
129
|
- FINAL STEP (MANDATORY): Call record_learning, THEN say "Good thinking! Implementing now."
|
|
127
130
|
|
|
128
|
-
\u26A0\uFE0F CRITICAL - After final round,
|
|
129
|
-
|
|
131
|
+
\u26A0\uFE0F CRITICAL - After final round, call BOTH tools:
|
|
132
|
+
|
|
133
|
+
1. mcp__vibe-learning__record_learning({
|
|
130
134
|
concept_id: "kebab-case-concept",
|
|
131
135
|
level: 3,
|
|
132
136
|
result: "correct" | "partial" | "skipped"
|
|
133
137
|
})
|
|
134
|
-
DO NOT say "Implementing now" until record_learning is called.
|
|
135
138
|
|
|
136
|
-
|
|
137
|
-
mcp__vibe-learning__record_unknown_unknown({
|
|
139
|
+
2. mcp__vibe-learning__record_unknown_unknown({
|
|
138
140
|
concept_id: "related-concept",
|
|
139
141
|
related_to: "main-concept",
|
|
140
142
|
context: "brief context",
|
|
141
143
|
why_important: "why important"
|
|
142
144
|
})
|
|
143
145
|
|
|
146
|
+
THEN say "Good thinking! Implementing now."
|
|
147
|
+
|
|
144
148
|
ONE question per round. Be strict like a real senior.`,
|
|
145
149
|
before: `[VibeLearning - Before Mode]
|
|
146
150
|
|
|
@@ -174,11 +178,12 @@ Call mcp__vibe-learning__get_concept_level for the main concept to register it i
|
|
|
174
178
|
**STEP 4: Ask Learning Question (CONDITIONAL)**
|
|
175
179
|
Call mcp__vibe-learning__should_ask_question to check.
|
|
176
180
|
- If shouldAsk is true AND mode is not "off":
|
|
177
|
-
-
|
|
181
|
+
- Format:
|
|
182
|
+
**[VibeLearning]**
|
|
183
|
+
_Learning Question (Level X)_
|
|
184
|
+
[Your question here]?
|
|
178
185
|
- After user answers, call mcp__vibe-learning__record_learning
|
|
179
|
-
- If shouldAsk is false:
|
|
180
|
-
|
|
181
|
-
Ask naturally, like conversation. Keep it brief.`;
|
|
186
|
+
- If shouldAsk is false: skip silently (no cooldown message needed)`;
|
|
182
187
|
function parseLearnCommand(text) {
|
|
183
188
|
const lower = text.toLowerCase().trim();
|
|
184
189
|
if (lower === "/learn" || lower === "/learn status")
|