eklavya 1.62.0 → 1.62.1
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eklavya",
|
|
3
3
|
"displayName": "Eklavya",
|
|
4
|
-
"version": "1.62.
|
|
4
|
+
"version": "1.62.1",
|
|
5
5
|
"description": "Learn while your agent works. Turns coding-agent generation time into adaptive, Socratic learning grounded in the code being written.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Ajay Kumar"
|
|
@@ -148,6 +148,10 @@ export const STR = {
|
|
|
148
148
|
nothingTyped: 'Write your answer first, or pick one of the options.',
|
|
149
149
|
graderFailed: "We couldn't check that answer. Your text is saved here — Retry.",
|
|
150
150
|
explainer: 'A page explaining this is being written.',
|
|
151
|
+
/** What the transcript draws for the mod's own queued prompts; the model still reads the full text. */
|
|
152
|
+
askedNext: 'Eklavya: next quiz question',
|
|
153
|
+
askedExplainer: 'Eklavya: write an explainer page for the missed question',
|
|
154
|
+
askedOther: 'Eklavya: a note for Claude',
|
|
151
155
|
focus: 'Ctrl+X then Tab moves the keys here.',
|
|
152
156
|
keys: '1–4 pick · o other · s submit · k skip · Esc back to prompt',
|
|
153
157
|
keysApp: '1–4 pick · o other · s submit · k skip',
|
|
@@ -345,6 +345,17 @@ export const register: Register = on => {
|
|
|
345
345
|
}
|
|
346
346
|
})
|
|
347
347
|
|
|
348
|
+
// The mod's queued prompts are instructions for the model, not words for the
|
|
349
|
+
// learner: their transcript row shows one short line, as a tool call does.
|
|
350
|
+
// Only the drawing changes; the model still reads the whole message.
|
|
351
|
+
on('ui.render', { component: 'UserMessage' }, async ($, e, next) => {
|
|
352
|
+
const from = e.props.origin
|
|
353
|
+
if (from.kind !== 'plugin' || from.name !== 'eklavya') return next(e)
|
|
354
|
+
const said = e.props.text
|
|
355
|
+
const text = said === NEXT_PROMPT ? STR.askedNext : said.includes('eklavya-explainer') ? STR.askedExplainer : STR.askedOther
|
|
356
|
+
return next({ ...e, props: { ...e.props, text } })
|
|
357
|
+
})
|
|
358
|
+
|
|
348
359
|
on('ui.render', { component: 'Pane', requestId: 'eklavya-quiz' }, async ($, e, next) => {
|
|
349
360
|
// Only our pane: every other pane, and everything else, is the host's.
|
|
350
361
|
if (e.requestId !== PANE) return next(e)
|
package/package.json
CHANGED