@gamaze/hicortex 0.22.2 → 0.22.3
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/assets/dashboard.html +9 -35
- package/package.json +1 -1
- package/server.json +2 -2
package/assets/dashboard.html
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
- Overview: the counter/bar/headroom key off LIVE memories (absorbed
|
|
40
40
|
rows show as an "absorbed (kept as evidence)" note); the counter is
|
|
41
41
|
STATIC (no replay tracking — owner ruling 2026-09-13).
|
|
42
|
-
- Recall card: the RAW uses-per-showing ratio
|
|
42
|
+
- Recall card: the RAW uses-per-showing ratio, NO
|
|
43
43
|
grade verdict (#426 owner semantics ruling: recall depends on the
|
|
44
44
|
conversation, higher is not a target).
|
|
45
45
|
- Rail header: "Fleet".
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
default, which used to degrade the corner to a standalone Upgrade
|
|
90
90
|
button. The upgrade CTA is a MENU ITEM (same plan-unset eligibility
|
|
91
91
|
the shipped #365 code used); no standalone upgrade button remains.
|
|
92
|
-
- RECALL CARD: below the band at most ONE subtle line (
|
|
92
|
+
- RECALL CARD: below the band at most ONE subtle line (zone word +
|
|
93
93
|
muted "provisional"; pill chrome dropped); the zone word rides the
|
|
94
94
|
marker, the zone-label row is gone — the card stops setting the row
|
|
95
95
|
height.
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
DOWN into the siblings' chart slot (header → big → band → foot).
|
|
136
136
|
"provisional" is hover-only now — a tooltip on the band (the card
|
|
137
137
|
stays marked; the visible word failed to communicate). Vocabulary
|
|
138
|
-
amendment: Low / HEALTHY / Overfetching. Marker +
|
|
138
|
+
amendment: Low / HEALTHY / Overfetching. Marker + zone word stay.
|
|
139
139
|
|
|
140
140
|
REPLAY + RANGE (#452, owner directives 2026-09-16):
|
|
141
141
|
- 30-DAY DEFAULT FOR ALL VIEWS: the replay ledger, the band and the
|
|
@@ -397,10 +397,6 @@
|
|
|
397
397
|
.big .n.noconf{ font-size:14.5px; font-weight:520; letter-spacing:0; color:var(--dim); }
|
|
398
398
|
html:not([data-theme="light"]) .big .n.noconf{ text-shadow:none; }
|
|
399
399
|
.big .l{ font-size:10px; color:var(--faint); text-transform:uppercase; letter-spacing:.13em; }
|
|
400
|
-
.trend{ font-size:12px; line-height:1; flex:none; }
|
|
401
|
-
.trend.up{ color:var(--green-mid); }
|
|
402
|
-
.trend.down{ color:var(--red); }
|
|
403
|
-
.trend.flat{ color:var(--dim); }
|
|
404
400
|
/* THE card sub-line — one text type */
|
|
405
401
|
.csub{ font-size:11px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
406
402
|
.csub b{ color:var(--green-mid); font-weight:600; }
|
|
@@ -419,7 +415,7 @@
|
|
|
419
415
|
row). The visible "provisional" word is GONE — the marking is hover-only
|
|
420
416
|
now, a tooltip on the band (the visible word failed to communicate).
|
|
421
417
|
Vocabulary (owner 2026-09-14): Low / Healthy / Overfetching. The raw
|
|
422
|
-
number stays tooltip-only on the marker
|
|
418
|
+
number stays tooltip-only on the marker (mock
|
|
423
419
|
family). Colors: the band + word carry concrete per-theme colors from
|
|
424
420
|
the JS stop table (setTheme re-renders), the dot rides theme tokens. */
|
|
425
421
|
.rec-word.none{ color:var(--dim); }
|
|
@@ -3178,23 +3174,6 @@ function buildTokNights(used, cap, periodStart){
|
|
|
3178
3174
|
}
|
|
3179
3175
|
}
|
|
3180
3176
|
|
|
3181
|
-
/* trend = mean of the last 7 nights vs the prior 7 (a DEFINED window — the
|
|
3182
|
-
old first-vs-last-over-the-range comparison had no window at all). Titles
|
|
3183
|
-
state the window so the arrow is never mysterious. */
|
|
3184
|
-
function recallTrend(){
|
|
3185
|
-
const flat={cls:'flat',sym:'▬'};
|
|
3186
|
-
if(!D||!D.series) return Object.assign(flat,{title:'no snapshot data'});
|
|
3187
|
-
const vals=D.series.map(s=>s.metrics&&s.metrics.adoption?s.metrics.adoption.uses_per_showing:null).filter(v=>typeof v==='number');
|
|
3188
|
-
const last7=vals.slice(-7), prior7=vals.slice(-14,-7);
|
|
3189
|
-
const mean=a=>a.length?a.reduce((x,y)=>x+y,0)/a.length:null;
|
|
3190
|
-
const a=mean(prior7), b=mean(last7);
|
|
3191
|
-
if(a===null||b===null) return Object.assign(flat,{title:'trend needs 7+ nights of history'});
|
|
3192
|
-
const d=b-a;
|
|
3193
|
-
if(d>0.005) return {cls:'up',sym:'↗',title:'up — mean of the last 7 nights vs the prior 7 ('+b.toFixed(3)+' vs '+a.toFixed(3)+')'};
|
|
3194
|
-
if(d<-0.005) return {cls:'down',sym:'↘',title:'down — mean of the last 7 nights vs the prior 7 ('+b.toFixed(3)+' vs '+a.toFixed(3)+')'};
|
|
3195
|
-
return Object.assign(flat,{title:'flat — mean of the last 7 nights vs the prior 7 ('+b.toFixed(3)+' vs '+a.toFixed(3)+')'});
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
3177
|
/* ---------- Recall level — the designed U-band (#426 final ruling
|
|
3199
3178
|
2026-09-13). A continuous red→green→red gradient spans the PROVISIONAL
|
|
3200
3179
|
zone edges (echoed by /dashboard/field as thresholds.recall_uses — the
|
|
@@ -3291,16 +3270,11 @@ function renderRecBand(ups){
|
|
|
3291
3270
|
word.style.color=''; word.style.textShadow='none';
|
|
3292
3271
|
word.title='no showings yet';
|
|
3293
3272
|
}
|
|
3294
|
-
/* trend arrow
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
el('rec-trend').title=tr.title;
|
|
3300
|
-
}else{
|
|
3301
|
-
el('rec-trend').className='trend flat'; el('rec-trend').innerHTML='▬';
|
|
3302
|
-
el('rec-trend').title='no showings yet';
|
|
3303
|
-
}
|
|
3273
|
+
/* No trend arrow (owner 2026-09-20: removed — unclear). Its renderer and
|
|
3274
|
+
the element writes are removed WITH it: a leftover write to a removed
|
|
3275
|
+
element is a boot-killing TypeError whenever the recall band carries
|
|
3276
|
+
real data (bedrock 0.22.2: "0 memories" — boot died before the counter
|
|
3277
|
+
was ever seeded). */
|
|
3304
3278
|
}
|
|
3305
3279
|
|
|
3306
3280
|
/* ---------- Memory Precision — Level 1, the pushed index (#476). A compact
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamaze/hicortex",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"description": "Persistent agent identity for AI agents \u2014 a hand-edited identity layer, nightly-distilled experience, and lessons injected every session, shared across your whole fleet. Works with Hermes, OpenClaw, Claude Code, Pi, and opencode.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
package/server.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"name": "io.github.gamaze-labs/hicortex",
|
|
4
4
|
"title": "Hicortex \u2014 AI Fleet Memory",
|
|
5
5
|
"description": "Shared fleet memory for AI agents: nightly self-correction, recall every prompt (supported agents).",
|
|
6
|
-
"version": "0.22.
|
|
6
|
+
"version": "0.22.3",
|
|
7
7
|
"packages": [
|
|
8
8
|
{
|
|
9
9
|
"registryType": "npm",
|
|
10
10
|
"identifier": "@gamaze/hicortex",
|
|
11
|
-
"version": "0.22.
|
|
11
|
+
"version": "0.22.3",
|
|
12
12
|
"transport": {
|
|
13
13
|
"type": "stdio",
|
|
14
14
|
"command": "npx",
|