shadok-ai 0.16.6 → 0.16.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/index.html +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.16.6",
3
+ "version": "0.16.8",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test --test-timeout=120000 test/*.ts context/*/test/*.test.mjs",
package/public/index.html CHANGED
@@ -2272,6 +2272,20 @@
2272
2272
  .tab .lastat, .tab .ctxnum { font-size: 11px; color: var(--text-dim); }
2273
2273
  .tab.active { border-left: 0; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); background: var(--bg-raised); font-weight: 600; }
2274
2274
  :root:not([data-mode="light"]) .tab.active { background: var(--bg-inset); box-shadow: inset 0 0 0 1px var(--line); }
2275
+ /* A working agent must stay visible in light mode. Two things hid it: 12% of
2276
+ the accent over a near-white panel is barely a tint, and the white
2277
+ `.tab.active` above comes later at the same weight, so the agent you are
2278
+ watching — the one most likely to be working — went plain white. The tint
2279
+ is mixed INTO the surface (opaque) and the selectors outweigh both
2280
+ `.tab.active` rules, so the active tab keeps its state colour in either mode.
2281
+ `background-COLOR`, never the shorthand: `background` expands to
2282
+ `background-image: none`, and these selectors outweigh `.tab.has-bg`, so the
2283
+ shorthand silently erased the green hatch of an agent with background work
2284
+ still running (measured: light mode, a working non-active row lost it). */
2285
+ :root[data-mode="light"] .tab.working,
2286
+ :root[data-mode="light"] .rail-item.working { background-color: color-mix(in srgb, var(--amber) 22%, var(--bg-raised)); }
2287
+ :root[data-mode="light"] .tab.working.active { background-color: color-mix(in srgb, var(--amber) 18%, var(--bg-raised)); }
2288
+ :root:not([data-mode="light"]) .tab.working.active { background-color: color-mix(in srgb, var(--amber) 16%, var(--bg-inset)); }
2275
2289
  .tab.active .tav .led { border-color: var(--bg-raised); }
2276
2290
  .tab.unread { border-left: 0; border-radius: 6px; font-weight: 700; }
2277
2291
  .group-head { gap: 10px; padding: 8px; font-size: 14px; color: var(--text); border-radius: 6px; }