eklavya 1.71.1 → 1.71.2
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/README.md
CHANGED
|
@@ -52,7 +52,7 @@ Code's learning loop.
|
|
|
52
52
|
|---|---|
|
|
53
53
|
| Learner state and concepts | `get_learner_profile`, `log_session_concepts`, `upsert_concepts`, `get_concept_graph` |
|
|
54
54
|
| Questions and assessment | `get_session_quiz_plan`, `record_attempt`, `get_gate_status` |
|
|
55
|
-
| Quiz side panel (experimental) | `present_question` for the model; `panel_sync` and `panel_answer`, called only by the panel mod, never by the model |
|
|
55
|
+
| Quiz side panel (experimental) | `present_question` for the model; `panel_sync` and `panel_answer`, called only by the panel mod, never by the model; its header stacks the mark above the topic in a pane under 60 cells wide |
|
|
56
56
|
| Settings | `get_config`, `set_config` |
|
|
57
57
|
| Find and read memory | `memory_search`, `memory_get`, `memory_timeline`, `memory_file_history`, `memory_status` |
|
|
58
58
|
| Maintain memory | `memory_write`, `memory_correct`, `memory_delete`, `memory_collections` |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eklavya",
|
|
3
3
|
"displayName": "Eklavya",
|
|
4
|
-
"version": "1.71.
|
|
4
|
+
"version": "1.71.2",
|
|
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"
|
|
@@ -43,6 +43,9 @@ import type { PanelPending, PanelQuestion, PanelState } from './types'
|
|
|
43
43
|
* for the next sync.
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
|
+
// Below this many cells across, the header stacks the mark over the topic (the pane reports bodyColumns).
|
|
47
|
+
const NARROW = 60
|
|
48
|
+
|
|
46
49
|
const REF = { plugin: 'eklavya', key: 'quiz' } as const
|
|
47
50
|
const quiz = atom(REF, EMPTY)
|
|
48
51
|
|
|
@@ -397,15 +400,17 @@ export const register: Register = on => {
|
|
|
397
400
|
))}
|
|
398
401
|
</Box>
|
|
399
402
|
)
|
|
400
|
-
// A list tile: the mark on the left
|
|
403
|
+
// A list tile: the mark on the left, the name over the topic beside it. A pane narrower than
|
|
404
|
+
// NARROW cells stacks them, so the topic gets the full width instead of a sliver.
|
|
405
|
+
const stacked = ((e.props as { bodyColumns?: number }).bodyColumns ?? Infinity) < NARROW
|
|
401
406
|
const head = (subtitle?: string) => (
|
|
402
|
-
<Box flexDirection=
|
|
407
|
+
<Box flexDirection={stacked ? 'column' : 'row'} alignItems={stacked ? 'flex-start' : 'center'} gap={2}>
|
|
403
408
|
{logo}
|
|
404
409
|
<Box flexDirection="column" flexShrink={1}>
|
|
405
410
|
<Text bold color={BRAND}>
|
|
406
411
|
{WORDMARK}
|
|
407
412
|
</Text>
|
|
408
|
-
{subtitle ? <Text>{subtitle}</Text> : null}
|
|
413
|
+
{subtitle ? <Text wrap="wrap">{subtitle}</Text> : null}
|
|
409
414
|
</Box>
|
|
410
415
|
</Box>
|
|
411
416
|
)
|
package/package.json
CHANGED