@try-works/dsh-minimal-router 0.2.4 → 0.2.5
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/client/index.js +21 -13
- package/package.json +1 -1
package/client/index.js
CHANGED
|
@@ -65300,7 +65300,7 @@ var OverviewCss = [
|
|
|
65300
65300
|
".router-meter-tick { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--color-bg); }",
|
|
65301
65301
|
/* F-37-51: the session list reads like the recent-calls list - one row per
|
|
65302
65302
|
session, the kit checkbox first, the id reduced to its tail. */
|
|
65303
|
-
".router-sessions { display: flex; flex-direction: column; gap: 0;
|
|
65303
|
+
".router-sessions { display: flex; flex-direction: column; gap: 0; width: 100%; }",
|
|
65304
65304
|
".router-sessions-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--spacing-4); padding-bottom: var(--spacing-2); }",
|
|
65305
65305
|
".router-sessions-label { font-family: var(--font-mono); font-size: var(--text-caps); line-height: var(--leading-caps); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-meta); }",
|
|
65306
65306
|
".router-sessions-count { font-family: var(--font-mono); font-size: var(--text-meta); line-height: var(--leading-meta); color: var(--color-meta); }",
|
|
@@ -65837,18 +65837,26 @@ var Overview = OverviewDef.make({
|
|
|
65837
65837
|
],
|
|
65838
65838
|
Separator(h3).class("router-rule"),
|
|
65839
65839
|
meter,
|
|
65840
|
-
|
|
65841
|
-
|
|
65842
|
-
|
|
65843
|
-
|
|
65844
|
-
|
|
65845
|
-
|
|
65846
|
-
h3.span.class("router-
|
|
65847
|
-
|
|
65848
|
-
|
|
65849
|
-
|
|
65850
|
-
h3.
|
|
65851
|
-
|
|
65840
|
+
// Owner review (2026-12-05): the session list and the recent-calls list
|
|
65841
|
+
// are two tables. Each is its own raised panel with its own heading, so
|
|
65842
|
+
// they can never read as one continuous list.
|
|
65843
|
+
h3.div.class("router-card router-panel").attr("data-surface", "raised").attr("data-table", "sessions").children(sessionsCard),
|
|
65844
|
+
h3.div.class("router-card router-panel").attr("data-surface", "raised").attr("data-table", "recent").children(
|
|
65845
|
+
h3.div.class("router-card-head").children(
|
|
65846
|
+
h3.span.class("router-caps-label").children("Recent calls"),
|
|
65847
|
+
h3.span.class("router-card-meta").children(recent.length === 0 ? "none" : String(recent.length))
|
|
65848
|
+
),
|
|
65849
|
+
...recent.length === 0 ? [
|
|
65850
|
+
h3.div.class("router-recent-empty").children("No calls yet")
|
|
65851
|
+
] : recent.map(
|
|
65852
|
+
(row) => h3.div.class("router-recent-row").children(
|
|
65853
|
+
h3.span.class("router-recent-time").children(
|
|
65854
|
+
row.at.length >= 16 ? row.at.slice(11, 16) : row.at
|
|
65855
|
+
),
|
|
65856
|
+
h3.span.class("router-recent-id").children(row.requestId),
|
|
65857
|
+
h3.span.class("router-recent-meta").children(
|
|
65858
|
+
row.decision + " \xB7 " + row.model + (row.gate === null ? "" : " \xB7 " + row.gate)
|
|
65859
|
+
)
|
|
65852
65860
|
)
|
|
65853
65861
|
)
|
|
65854
65862
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@try-works/dsh-minimal-router",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "DSH local router plugin: per-session auto-routing between a local engine and remote models, evidence pages, and a plugin-owned engine provider.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|