@tangle-network/agent-app 0.63.57 → 0.63.59
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/dist/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/assistant/index.js +7 -4
- package/dist/assistant/index.js.map +1 -1
- package/dist/chat-routes/index.js +4 -4
- package/dist/{chunk-RLMLHEEQ.js → chunk-5C3RXQQ7.js} +2 -2
- package/dist/{chunk-RDIHNSVZ.js → chunk-6XSQCP6W.js} +2 -2
- package/dist/{chunk-5I5ZB2EZ.js → chunk-DCGATWZ5.js} +5 -5
- package/dist/chunk-DCGATWZ5.js.map +1 -0
- package/dist/{chunk-H7CSSEP7.js → chunk-LAZCUQFZ.js} +14 -6
- package/dist/{chunk-H7CSSEP7.js.map → chunk-LAZCUQFZ.js.map} +1 -1
- package/dist/{chunk-YE7S5UAE.js → chunk-PIGW5LRM.js} +3 -3
- package/dist/{chunk-7TBF3DC2.js → chunk-SRA7VAVK.js} +2 -2
- package/dist/platform/delegated-keys.d.ts +5 -5
- package/dist/platform/index.js +10 -11
- package/dist/platform/index.js.map +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/public-consultation/index.js +4 -4
- package/dist/sandbox/index.js +4 -4
- package/dist/theme/tokens.css +141 -36
- package/dist/tools/index.js +4 -4
- package/dist/web-react/chat-message-types.d.ts +12 -4
- package/dist/web-react/chat-tool-call.d.ts +4 -1
- package/dist/web-react/index.d.ts +1 -1
- package/dist/web-react/index.js +3 -1
- package/dist/work-product/index.js +2 -2
- package/package.json +15 -15
- package/dist/chunk-5I5ZB2EZ.js.map +0 -1
- /package/dist/{chunk-RLMLHEEQ.js.map → chunk-5C3RXQQ7.js.map} +0 -0
- /package/dist/{chunk-RDIHNSVZ.js.map → chunk-6XSQCP6W.js.map} +0 -0
- /package/dist/{chunk-YE7S5UAE.js.map → chunk-PIGW5LRM.js.map} +0 -0
- /package/dist/{chunk-7TBF3DC2.js.map → chunk-SRA7VAVK.js.map} +0 -0
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
import "../chunk-QGJOT6R6.js";
|
|
36
36
|
import {
|
|
37
37
|
parseRenderUiSchema
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-6XSQCP6W.js";
|
|
39
39
|
import "../chunk-S5SRJJQG.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-DCGATWZ5.js";
|
|
41
41
|
import {
|
|
42
42
|
createTurnTrace
|
|
43
43
|
} from "../chunk-W6G2HF6M.js";
|
|
@@ -25,14 +25,14 @@ import "../chunk-QGJOT6R6.js";
|
|
|
25
25
|
import "../chunk-L3QR274L.js";
|
|
26
26
|
import "../chunk-XELWWXJJ.js";
|
|
27
27
|
import "../chunk-DSMGS4IV.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-PIGW5LRM.js";
|
|
29
29
|
import "../chunk-OY7A6M7S.js";
|
|
30
30
|
import "../chunk-O7UX55EU.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-6XSQCP6W.js";
|
|
32
32
|
import "../chunk-S5SRJJQG.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-SRA7VAVK.js";
|
|
34
34
|
import "../chunk-UGWQLQDS.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-DCGATWZ5.js";
|
|
36
36
|
import "../chunk-YRWUJKW5.js";
|
|
37
37
|
import "../chunk-D6UJEOZQ.js";
|
|
38
38
|
import "../chunk-W6G2HF6M.js";
|
package/dist/sandbox/index.js
CHANGED
|
@@ -165,14 +165,14 @@ import "../chunk-QGJOT6R6.js";
|
|
|
165
165
|
import "../chunk-L3QR274L.js";
|
|
166
166
|
import "../chunk-XELWWXJJ.js";
|
|
167
167
|
import "../chunk-DSMGS4IV.js";
|
|
168
|
-
import "../chunk-
|
|
168
|
+
import "../chunk-PIGW5LRM.js";
|
|
169
169
|
import "../chunk-OY7A6M7S.js";
|
|
170
170
|
import "../chunk-O7UX55EU.js";
|
|
171
|
-
import "../chunk-
|
|
171
|
+
import "../chunk-6XSQCP6W.js";
|
|
172
172
|
import "../chunk-S5SRJJQG.js";
|
|
173
|
-
import "../chunk-
|
|
173
|
+
import "../chunk-SRA7VAVK.js";
|
|
174
174
|
import "../chunk-UGWQLQDS.js";
|
|
175
|
-
import "../chunk-
|
|
175
|
+
import "../chunk-DCGATWZ5.js";
|
|
176
176
|
import "../chunk-D6UJEOZQ.js";
|
|
177
177
|
import "../chunk-W6G2HF6M.js";
|
|
178
178
|
import {
|
package/dist/theme/tokens.css
CHANGED
|
@@ -2060,7 +2060,11 @@
|
|
|
2060
2060
|
* Geometry reads three variables the clock writes every frame: --fw-t (clock ms), --fw-v0 (window start ms)
|
|
2061
2061
|
* and --fw-k (px per ms). A mark carries --s and --e (its start and end ms), so growth, playback and zoom
|
|
2062
2062
|
* move marks without a React render.
|
|
2063
|
-
* Type uses
|
|
2063
|
+
* Type uses the 12/14/18 px scale; spacing sits on a 4 px grid. */
|
|
2064
|
+
/* light-dark() follows the host's Brand theme (data-theme or the light/dark class), not the OS: a light page
|
|
2065
|
+
on a dark OS otherwise resolves the dark fallbacks and muted text drops to 2.4:1. */
|
|
2066
|
+
:is(:root[data-theme="light"], .light) .fw-root { color-scheme: light; }
|
|
2067
|
+
:is(:root[data-theme="dark"], .dark) .fw-root { color-scheme: dark; }
|
|
2064
2068
|
.fw-root {
|
|
2065
2069
|
--fw-text: var(--text-primary, light-dark(#23232b, #ececf1));
|
|
2066
2070
|
--fw-muted: var(--text-muted, light-dark(#5d5d68, #a4a4b0));
|
|
@@ -2076,17 +2080,22 @@
|
|
|
2076
2080
|
--fw-failed: light-dark(#d4304a, #ff5c74);
|
|
2077
2081
|
--fw-ok: var(--status-running, light-dark(#0d8a5f, #34c48c));
|
|
2078
2082
|
--fw-amber: light-dark(#a35d00, #f2b14c);
|
|
2083
|
+
/* Step kinds inside an agent bar: two hues far from each other and from the outcome greens and reds. */
|
|
2084
|
+
--fw-kind-model: light-dark(#4f46e5, #8f91f7);
|
|
2085
|
+
--fw-kind-tool: light-dark(#0e8fb0, #4cc9e6);
|
|
2079
2086
|
--fw-neutral-bar: color-mix(in oklab, var(--fw-text) 15%, var(--fw-surface));
|
|
2080
2087
|
--fw-hatch: color-mix(in oklab, var(--fw-text) 22%, transparent);
|
|
2081
2088
|
/* Root agent neutral, then five agent hues. Each passes 3:1 against both surfaces as a mark. */
|
|
2082
2089
|
--fw-h0: light-dark(#6c6f84, #a3a6bb);
|
|
2083
2090
|
--fw-h1: light-dark(#4b55d6, #8f96ff);
|
|
2084
|
-
|
|
2091
|
+
/* No warm hue among the agents: amber is kept for the slowest and red for failure. */
|
|
2092
|
+
--fw-h2: light-dark(#3d8a52, #6fcb8a);
|
|
2085
2093
|
--fw-h3: light-dark(#0b87a0, #35c2db);
|
|
2086
2094
|
--fw-h4: light-dark(#b0418a, #dc72bb);
|
|
2087
2095
|
--fw-h5: light-dark(#6d44c7, #ab8cf7);
|
|
2088
2096
|
--fw-ease: cubic-bezier(.2, .8, .2, 1);
|
|
2089
|
-
|
|
2097
|
+
/* Bar height = row height - 16, so a centered bar sits 8 px from the row edge: 20 px in a 36 px step row. */
|
|
2098
|
+
--fw-bar-h: 20px;
|
|
2090
2099
|
/* One label column for rows, axis and every lane layer; the agent view caps it lower and drops it on phones. */
|
|
2091
2100
|
--fw-label-col: min(var(--fw-name-w), 42%);
|
|
2092
2101
|
--fw-bar-shift: 0px;
|
|
@@ -2100,10 +2109,11 @@
|
|
|
2100
2109
|
font-family: var(--font-sans, Inter, ui-sans-serif, system-ui, sans-serif);
|
|
2101
2110
|
font-size: 14px;
|
|
2102
2111
|
line-height: 20px;
|
|
2103
|
-
|
|
2112
|
+
/* Tabular figures only on numeric cells: on names they widen hyphens ("v6 - battery", "glm - 5.3"). */
|
|
2113
|
+
font-feature-settings: "cv11" 1;
|
|
2104
2114
|
-webkit-font-smoothing: antialiased;
|
|
2105
2115
|
}
|
|
2106
|
-
.fw-root-agents { --fw-bar-h:
|
|
2116
|
+
.fw-root-agents { --fw-bar-h: 24px; --fw-label-col: min(var(--fw-name-w), 28%); border-radius: 16px; }
|
|
2107
2117
|
.fw-root *, .fw-root *::before, .fw-root *::after { box-sizing: border-box; }
|
|
2108
2118
|
.fw-root :is(p, dl, dd, h3, ul) { margin: 0; padding: 0; }
|
|
2109
2119
|
.fw-root :is(button, input, select) { font: inherit; color: inherit; }
|
|
@@ -2115,11 +2125,13 @@
|
|
|
2115
2125
|
.fw-root [data-tone="3"] { --tone: var(--fw-h3); }
|
|
2116
2126
|
.fw-root [data-tone="4"] { --tone: var(--fw-h4); }
|
|
2117
2127
|
.fw-root [data-tone="5"] { --tone: var(--fw-h5); }
|
|
2128
|
+
/* Light fills carry enough of the hue to tell agents apart on white (24% and 42% both read as "pastel, washed out"); the outline is
|
|
2129
|
+
the full hue, which passes 3:1 against the surface, so every mark keeps its edge. */
|
|
2118
2130
|
.fw-root [data-tone] {
|
|
2119
|
-
--fill: light-dark(
|
|
2120
|
-
--line: light-dark(
|
|
2121
|
-
--dim: light-dark(color-mix(in oklab, var(--tone)
|
|
2122
|
-
--dim-line: light-dark(color-mix(in oklab, var(--tone)
|
|
2131
|
+
--fill: light-dark(var(--tone), color-mix(in oklab, var(--tone) 94%, #000));
|
|
2132
|
+
--line: light-dark(var(--tone), var(--tone));
|
|
2133
|
+
--dim: light-dark(color-mix(in oklab, var(--tone) 62%, #fff), color-mix(in oklab, var(--tone) 40%, #17171d));
|
|
2134
|
+
--dim-line: light-dark(color-mix(in oklab, var(--tone) 70%, #fff), color-mix(in oklab, var(--tone) 55%, #17171d));
|
|
2123
2135
|
}
|
|
2124
2136
|
/* Header */
|
|
2125
2137
|
.fw-root .fw-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--fw-border); flex-wrap: wrap; }
|
|
@@ -2131,12 +2143,13 @@
|
|
|
2131
2143
|
.fw-root .fw-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
2132
2144
|
.fw-root .fw-state-live { color: var(--fw-accent); background: color-mix(in oklab, var(--fw-accent) 12%, transparent); }
|
|
2133
2145
|
.fw-root .fw-state-live::before { animation: fw-pulse 1.6s var(--fw-ease) infinite; }
|
|
2134
|
-
.fw-root .fw-headline { color: var(--fw-muted);
|
|
2146
|
+
.fw-root .fw-headline { color: var(--fw-muted); display: flex; align-items: center; gap: 8px; }
|
|
2135
2147
|
.fw-root .fw-done-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--fw-ok); color: var(--fw-ok); font-size: 12px; line-height: 1; }
|
|
2136
2148
|
.fw-root .fw-tools { display: flex; align-items: center; gap: 8px; }
|
|
2137
2149
|
.fw-root .fw-views { display: inline-flex; padding: 4px; border-radius: 8px; background: var(--fw-well); border: 1px solid var(--fw-border); }
|
|
2138
2150
|
.fw-root .fw-view-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 12px; border-radius: 6px; font-size: 14px; color: var(--fw-muted); cursor: pointer; transition: background-color 120ms var(--fw-ease), color 120ms var(--fw-ease); }
|
|
2139
|
-
|
|
2151
|
+
/* The shown view is a state, not a control: no click target, no pointer. */
|
|
2152
|
+
.fw-root .fw-view-button[aria-checked="true"] { opacity: 1; cursor: default; background: var(--fw-surface); color: var(--fw-text); box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 0 0 1px var(--fw-border); }
|
|
2140
2153
|
.fw-root .fw-search { position: relative; display: flex; align-items: center; }
|
|
2141
2154
|
.fw-root .fw-search-glyph { position: absolute; left: 8px; display: inline-flex; color: var(--fw-muted); pointer-events: none; }
|
|
2142
2155
|
.fw-root .fw-search-input { appearance: none; width: 200px; height: 32px; padding: 0 12px 0 28px; border: 1px solid var(--fw-border); border-radius: 8px; background: var(--fw-well); font-size: 14px; }
|
|
@@ -2152,9 +2165,7 @@
|
|
|
2152
2165
|
/* Axis */
|
|
2153
2166
|
.fw-root .fw-axis { display: grid; grid-template-columns: var(--fw-label-col) minmax(0, 1fr); height: 32px; color: var(--fw-muted); font-size: 12px; }
|
|
2154
2167
|
.fw-root .fw-axis-top { border-bottom: 1px solid var(--fw-border); }
|
|
2155
|
-
.fw-root .fw-axis-bottom { height: 28px; border-top: 1px solid var(--fw-border); }
|
|
2156
2168
|
.fw-root .fw-axis-label { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; border-right: 1px solid var(--fw-border); min-width: 0; }
|
|
2157
|
-
.fw-root .fw-axis-bottom .fw-axis-label { border-right-color: transparent; }
|
|
2158
2169
|
.fw-root .fw-branch-controls { margin-left: auto; display: flex; gap: 4px; }
|
|
2159
2170
|
.fw-root .fw-text-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; color: var(--fw-muted); cursor: pointer; white-space: nowrap; }
|
|
2160
2171
|
.fw-root .fw-text-button:hover { background: var(--fw-hover); color: var(--fw-text); }
|
|
@@ -2163,7 +2174,6 @@
|
|
|
2163
2174
|
.fw-root .fw-axis-track { position: relative; overflow: hidden; cursor: ew-resize; touch-action: none; }
|
|
2164
2175
|
.fw-root .fw-tick { position: absolute; top: 50%; transform: translate(4px, -50%); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 16px; }
|
|
2165
2176
|
.fw-root .fw-cursor-handle { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--fw-text); box-shadow: 0 0 0 2px var(--fw-surface); left: calc(var(--fw-pad) + (var(--fw-t) - var(--fw-v0)) * var(--fw-k) * 1px - 4.5px); bottom: -5px; z-index: 3; }
|
|
2166
|
-
.fw-root .fw-axis-bottom .fw-cursor-handle { top: -5px; bottom: auto; }
|
|
2167
2177
|
/* Body */
|
|
2168
2178
|
.fw-root .fw-viewport { position: relative; }
|
|
2169
2179
|
.fw-root .fw-scroller { position: relative; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; outline: 0; }
|
|
@@ -2172,11 +2182,32 @@
|
|
|
2172
2182
|
.fw-root .fw-gridline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fw-grid); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
|
|
2173
2183
|
.fw-root .fw-cursor-layer { z-index: 3; }
|
|
2174
2184
|
.fw-root .fw-marker-layer { position: absolute; top: 0; bottom: 0; left: var(--fw-label-col); right: 0; overflow: hidden; pointer-events: none; z-index: 2; }
|
|
2175
|
-
|
|
2185
|
+
/* An event's line is drawn behind the rows, with the gridlines, so bars and labels cover it; its label stays on top. */
|
|
2186
|
+
.fw-root .fw-marker { --fw-marker: var(--fw-muted); position: absolute; top: 0; bottom: 0; width: 0; left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
|
|
2187
|
+
.fw-root .fw-marker-line { --fw-marker: var(--fw-muted); opacity: .4; position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--fw-marker); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
|
|
2188
|
+
.fw-root .fw-marker-line[data-tone="ok"] { --fw-marker: var(--fw-ok); }
|
|
2189
|
+
.fw-root .fw-marker-line[data-tone="failed"] { --fw-marker: var(--fw-failed); }
|
|
2176
2190
|
.fw-root .fw-marker[data-tone="ok"] { --fw-marker: var(--fw-ok); }
|
|
2177
2191
|
.fw-root .fw-marker[data-tone="failed"] { --fw-marker: var(--fw-failed); }
|
|
2192
|
+
/* A pause: the run stood still. A hatched band across every row with its reason on top, never blank space. */
|
|
2193
|
+
.fw-root .fw-pause { position: absolute; top: 0; bottom: 0; left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); width: calc(max(0, var(--e) - var(--s)) * var(--fw-k) * 1px);
|
|
2194
|
+
background: repeating-linear-gradient(-45deg, color-mix(in oklab, var(--fw-text) 9%, transparent) 0 1px, transparent 1px 6px), color-mix(in oklab, var(--fw-text) 4%, transparent);
|
|
2195
|
+
border-inline: 1px dashed color-mix(in oklab, var(--fw-text) 24%, transparent); }
|
|
2196
|
+
.fw-root .fw-pause-label b { font-weight: 600; color: var(--fw-text); }
|
|
2197
|
+
.fw-root .fw-pause-label { position: absolute; z-index: 2; top: 50%; left: calc(var(--fw-pad) + ((var(--s) + var(--e)) / 2 - var(--fw-v0)) * var(--fw-k) * 1px); translate: -50% -50%; width: max-content; padding: 0 8px; white-space: nowrap;
|
|
2198
|
+
border-radius: 4px; font-size: 12px; line-height: 20px; color: var(--fw-muted); background: var(--fw-surface); box-shadow: inset 0 0 0 1px var(--fw-border); }
|
|
2199
|
+
/* The label takes the pointer, for its reason; the band stays click-through to the rows. */
|
|
2200
|
+
.fw-root .fw-pause-label[title] { pointer-events: auto; cursor: help; }
|
|
2178
2201
|
.fw-root .fw-marker-label { position: absolute; top: 2px; left: 3px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; border-radius: 4px; font-size: 12px; line-height: 16px; color: var(--fw-marker); background: var(--fw-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-marker) 40%, transparent); }
|
|
2179
2202
|
.fw-root .fw-marker-label-left { left: auto; right: 3px; }
|
|
2203
|
+
.fw-root .fw-marker[data-tone="warn"], .fw-root .fw-event[data-tone="warn"] { --fw-marker: var(--fw-amber); }
|
|
2204
|
+
/* The event track: one dot per marker on the axis; click or N/P moves the cursor there. */
|
|
2205
|
+
.fw-root .fw-event { --fw-marker: var(--fw-muted); position: absolute; bottom: 2px; width: 8px; height: 8px; margin-left: -4px; padding: 0; border: 0; border-radius: 50%; background: var(--fw-marker); box-shadow: 0 0 0 2px var(--fw-surface); cursor: pointer; z-index: 4; left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
|
|
2206
|
+
.fw-root .fw-event[data-tone="ok"] { --fw-marker: var(--fw-ok); }
|
|
2207
|
+
.fw-root .fw-event[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--fw-surface), 0 0 0 4px var(--fw-marker); }
|
|
2208
|
+
.fw-root .fw-event-label { position: absolute; bottom: 14px; z-index: 5; transform: translateX(-50%); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); padding: 0 8px; border-radius: 4px; background: var(--fw-surface); box-shadow: inset 0 0 0 1px var(--fw-border); color: var(--fw-text); font-size: 12px; line-height: 20px; white-space: nowrap; pointer-events: none; }
|
|
2209
|
+
.fw-root .fw-event[data-tone="failed"] { --fw-marker: var(--fw-failed); }
|
|
2210
|
+
.fw-root .fw-event:hover, .fw-root .fw-event:focus-visible { transform: scale(1.4); outline: 0; }
|
|
2180
2211
|
.fw-root .fw-cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in oklab, var(--fw-text) 70%, transparent); left: calc(var(--fw-pad) + (var(--fw-t) - var(--fw-v0)) * var(--fw-k) * 1px); }
|
|
2181
2212
|
.fw-root .fw-empty { padding: 40px 16px; text-align: center; color: var(--fw-muted); }
|
|
2182
2213
|
.fw-root .fw-sticky { position: absolute; top: 0; left: 0; right: 0; z-index: 2; background: var(--fw-surface); box-shadow: 0 1px 0 var(--fw-border), 0 6px 12px -8px rgb(0 0 0 / .35); }
|
|
@@ -2185,6 +2216,10 @@
|
|
|
2185
2216
|
.fw-root .fw-row:hover { background: var(--fw-hover); }
|
|
2186
2217
|
.fw-root .fw-row.fw-active { background: color-mix(in oklab, var(--fw-accent) 7%, transparent); }
|
|
2187
2218
|
.fw-root .fw-row[aria-selected="true"] { background: color-mix(in oklab, var(--fw-accent) 11%, transparent); }
|
|
2219
|
+
/* A selected agent lifts: an accent edge on its row, and its peers recede so the reader sees what the panels below follow. */
|
|
2220
|
+
.fw-root-agents[data-selection] .fw-row[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--fw-accent); }
|
|
2221
|
+
.fw-root-agents[data-selection] .fw-row:not([aria-selected="true"]) > [role="gridcell"] { opacity: .45; transition: opacity 160ms var(--fw-ease); }
|
|
2222
|
+
.fw-root-agents[data-selection] .fw-row:not([aria-selected="true"]):hover > [role="gridcell"] { opacity: .8; }
|
|
2188
2223
|
.fw-root .fw-row:focus-visible { box-shadow: inset 2px 0 0 var(--fw-accent); }
|
|
2189
2224
|
.fw-root .fw-sticky-row { background: var(--fw-surface); }
|
|
2190
2225
|
.fw-root .fw-label { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 12px 0 calc(12px + var(--depth) * 16px); border-right: 1px solid var(--fw-border); }
|
|
@@ -2212,13 +2247,17 @@
|
|
|
2212
2247
|
.fw-root .fw-view-agents .fw-label { padding-left: 16px; gap: 12px; border-right: 0; }
|
|
2213
2248
|
.fw-root .fw-view-agents .fw-names { flex-direction: column; align-items: flex-start; gap: 0; }
|
|
2214
2249
|
.fw-root .fw-view-agents .fw-span-name { font-weight: 600; line-height: 18px; }
|
|
2215
|
-
|
|
2250
|
+
/* One 16 px line that wraps its last part out of sight: when the line is full the tool count drops whole, never "7 to…". */
|
|
2251
|
+
.fw-root .fw-view-agents .fw-subtitle { display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; height: 16px; overflow: hidden; max-width: 100%; min-width: 0; color: var(--fw-muted); font-size: 13px; line-height: 16px; }
|
|
2252
|
+
.fw-root .fw-view-agents .fw-subtitle-extra { flex: none; white-space: nowrap; }
|
|
2253
|
+
.fw-root .fw-view-agents .fw-subtitle-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2254
|
+
.fw-root .fw-view-agents .fw-detail-icon { flex: none; width: 16px; height: 16px; align-items: center; justify-content: center; overflow: hidden; }
|
|
2216
2255
|
.fw-root .fw-view-agents .fw-detail { font-size: 12px; line-height: 16px; }
|
|
2217
|
-
.fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line, var(--fw-muted));
|
|
2256
|
+
.fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line, var(--fw-muted)); }
|
|
2218
2257
|
/* Lanes and marks */
|
|
2219
2258
|
.fw-root .fw-lane { position: relative; overflow: hidden; min-width: 0; }
|
|
2220
2259
|
.fw-root .fw-invalid { position: absolute; left: var(--fw-pad); top: 50%; transform: translateY(-50%); color: var(--fw-muted); }
|
|
2221
|
-
.fw-root :is(.fw-bar, .fw-seg, .fw-end) {
|
|
2260
|
+
.fw-root :is(.fw-bar, .fw-seg, .fw-end, .fw-mark) {
|
|
2222
2261
|
--x0: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px);
|
|
2223
2262
|
--w: calc(max(0, min(var(--e), var(--fw-t)) - var(--s)) * var(--fw-k) * 1px);
|
|
2224
2263
|
--on: clamp(0, (var(--fw-t) - var(--s)) * 1000, 1);
|
|
@@ -2227,27 +2266,60 @@
|
|
|
2227
2266
|
left: var(--x0);
|
|
2228
2267
|
opacity: var(--on);
|
|
2229
2268
|
}
|
|
2230
|
-
.fw-root
|
|
2269
|
+
.fw-root .fw-enter > [role="gridcell"] { animation: fw-unfold 220ms var(--fw-ease) var(--fw-enter-delay) both; }
|
|
2270
|
+
.fw-root .fw-enter :is(.fw-bar, .fw-seg) { animation: fw-grow 420ms var(--fw-ease) var(--fw-enter-delay) both; }
|
|
2271
|
+
.fw-root .fw-enter .fw-end { animation: fw-land 220ms var(--fw-ease) calc(var(--fw-enter-delay) + 300ms) both; }
|
|
2272
|
+
.fw-root .fw-settle :is(.fw-bar, .fw-seg) { animation: fw-settle 600ms var(--fw-ease); }
|
|
2273
|
+
.fw-root .fw-settle .fw-end { animation: fw-land 260ms var(--fw-ease); }
|
|
2274
|
+
/* A live bar grows with the clock instead of stepping each tick. */
|
|
2275
|
+
.fw-root .fw-row[data-running] .fw-bar { transition: width 120ms linear; }
|
|
2276
|
+
/* A restart: an amber notch through the bar at that moment; the bar keeps its own state. */
|
|
2277
|
+
.fw-root .fw-mark { position: absolute; z-index: 2; left: calc(var(--x0) - 1px); width: 2px; top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2 - 4px); height: calc(var(--fw-bar-h) + 8px);
|
|
2278
|
+
border-radius: 2px; background: var(--fw-amber); box-shadow: 0 0 0 1px var(--fw-surface); opacity: var(--on); pointer-events: auto; }
|
|
2279
|
+
/* Centered by top, not a negative margin, so measured spacing stays on the grid. */
|
|
2280
|
+
.fw-root :is(.fw-bar, .fw-seg) { top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2); height: var(--fw-bar-h); width: max(var(--w), calc(var(--on) * 3px)); border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
|
|
2231
2281
|
.fw-root .fw-bar { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
|
|
2232
2282
|
/* The mark under the pointer lifts: a brighter fill and a ring in its own tone. */
|
|
2233
2283
|
.fw-root :is(.fw-bar, .fw-seg):hover { filter: brightness(1.18); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px color-mix(in oklab, var(--line) 55%, transparent); z-index: 1; }
|
|
2234
2284
|
.fw-root .fw-bar.fw-k-tool { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
|
|
2235
2285
|
/* A handoff is a moment: a slim pill in the receiving tone, not a block of work. */
|
|
2236
|
-
.fw-root .fw-bar.fw-k-handoff { background: var(--line); height:
|
|
2286
|
+
.fw-root .fw-bar.fw-k-handoff { background: var(--line); height: 8px; top: calc(50% + var(--fw-bar-shift) - 4px); box-shadow: none; }
|
|
2237
2287
|
.fw-root .fw-bar.fw-k-waiting { background: repeating-linear-gradient(-45deg, var(--fw-hatch) 0 1px, transparent 1px 5px); box-shadow: inset 0 0 0 1px var(--fw-hatch); }
|
|
2238
2288
|
.fw-root .fw-bar.fw-k-failed { background: color-mix(in oklab, var(--fw-failed) 22%, var(--fw-surface)); box-shadow: inset 0 0 0 1px var(--fw-failed); color: var(--fw-failed); }
|
|
2239
2289
|
.fw-root .fw-bar.fw-k-pipeline { background: linear-gradient(90deg, var(--fw-neutral-bar), color-mix(in oklab, var(--fw-neutral-bar) 55%, var(--fw-surface))); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 12%, transparent); }
|
|
2240
2290
|
.fw-root .fw-bar.fw-k-pipeline.fw-has-marks { background: color-mix(in oklab, var(--tone) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 18%, transparent); }
|
|
2241
2291
|
.fw-root .fw-bar.fw-k-pipeline.fw-has-agents { background: repeating-linear-gradient(-45deg, var(--fw-hatch) 0 1px, transparent 1px 5px), color-mix(in oklab, var(--fw-text) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 12%, transparent); }
|
|
2242
2292
|
/* An agent bar with no child marks says who it is by its lane color, never a neutral grey. */
|
|
2243
|
-
|
|
2293
|
+
/* In the agent view the bar's own extent between steps is waiting: a flat faint fill under the step segments (long hatching read muddy). */
|
|
2294
|
+
.fw-root .fw-view-agents .fw-bar.fw-k-pipeline.fw-has-marks { background: color-mix(in oklab, var(--tone) 12%, transparent); }
|
|
2295
|
+
/* An agent lane is a tint of its color; full saturation is kept for its model and tool segments and its status dot, so a run never
|
|
2296
|
+
reads as a wall of colored slabs. */
|
|
2297
|
+
.fw-root .fw-view-agents .fw-bar.fw-k-pipeline:not(.fw-has-marks, .fw-has-agents) { background: color-mix(in oklab, var(--tone) 30%, var(--fw-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 55%, transparent); }
|
|
2298
|
+
/* A family row without one shared outcome is neutral when bars mean outcomes, not a hue of its own. */
|
|
2299
|
+
.fw-root.fw-fill-outcome .fw-view-agents .fw-row[data-span-id^="family:"]:not([data-outcome]), .fw-root.fw-fill-outcome .fw-view-agents .fw-row[data-span-id^="family:"]:not([data-outcome]) [data-tone] { --tone: var(--fw-h0); }
|
|
2244
2300
|
/* A host outcome re-tones the whole lane: dot, bar and marks. */
|
|
2301
|
+
/* Muted agents (the default): one quiet tone for every agent bar, its steps and handoffs; the slowest agent alone takes amber, and
|
|
2302
|
+
failure keeps its red glyph, so color only ever means state. */
|
|
2303
|
+
.fw-root.fw-fill-muted .fw-view-agents [data-tone] { --tone: var(--fw-h0); }
|
|
2304
|
+
.fw-root:is(.fw-fill-muted, .fw-fill-agent) .fw-view-agents .fw-row[data-slowest], .fw-root:is(.fw-fill-muted, .fw-fill-agent) .fw-view-agents .fw-row[data-slowest] [data-tone] { --tone: var(--fw-amber); }
|
|
2245
2305
|
.fw-root [data-outcome="ok"], .fw-root [data-outcome="ok"] [data-tone] { --tone: var(--fw-ok); }
|
|
2246
2306
|
.fw-root [data-outcome="failed"], .fw-root [data-outcome="failed"] [data-tone] { --tone: var(--fw-failed); }
|
|
2247
2307
|
.fw-root [data-outcome="warn"], .fw-root [data-outcome="warn"] [data-tone] { --tone: var(--fw-amber); }
|
|
2248
2308
|
.fw-root [data-outcome="neutral"], .fw-root [data-outcome="neutral"] [data-tone] { --tone: var(--fw-muted); }
|
|
2249
2309
|
.fw-root .fw-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--fw-muted); font-size: 12px; line-height: 16px; }
|
|
2250
2310
|
.fw-root .fw-legend li { display: inline-flex; align-items: center; gap: 8px; }
|
|
2311
|
+
.fw-root .fw-legends { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 8px; }
|
|
2312
|
+
.fw-root .fw-legends .fw-legend { margin: 0; }
|
|
2313
|
+
.fw-root .fw-kinds { margin: 0; padding: 0; justify-content: flex-start; color: var(--fw-muted); }
|
|
2314
|
+
.fw-root .fw-kinds .fw-swatch-model { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-model); }
|
|
2315
|
+
/* With per-agent hues the key shows kind as shade, as the bars do: darker for a model call, lighter for a tool call. */
|
|
2316
|
+
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-model { background: color-mix(in oklab, var(--fw-text) 58%, var(--fw-surface)); }
|
|
2317
|
+
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-tool { background: color-mix(in oklab, var(--fw-text) 24%, var(--fw-surface)); }
|
|
2318
|
+
.fw-root .fw-kinds .fw-swatch-tool { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-tool); }
|
|
2319
|
+
.fw-root .fw-kinds .fw-swatch-wait { width: 12px; height: 8px; border-radius: 2px; background: color-mix(in oklab, var(--fw-text) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 18%, transparent); }
|
|
2320
|
+
.fw-root .fw-kinds .fw-swatch-handoff { width: 10px; height: 8px; border-left: 1.5px solid var(--fw-muted); border-bottom: 1.5px solid var(--fw-muted); border-bottom-left-radius: 3px; }
|
|
2321
|
+
.fw-root .fw-kinds .fw-swatch-failed { width: 12px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--fw-failed); }
|
|
2322
|
+
.fw-root .fw-description { margin: 0; color: var(--fw-muted); font-size: 14px; line-height: 20px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2251
2323
|
.fw-root .fw-legend .fw-swatch { width: 12px; height: 8px; border-radius: 2px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
|
|
2252
2324
|
.fw-root .fw-legend b { color: var(--fw-text); font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
2253
2325
|
.fw-root .fw-legend .fw-swatch-step { display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; background: var(--fw-well); color: var(--fw-failed); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 50%, transparent); }
|
|
@@ -2257,40 +2329,64 @@
|
|
|
2257
2329
|
.fw-root .fw-view-agents .fw-seg { pointer-events: auto; }
|
|
2258
2330
|
.fw-root .fw-seg-model { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
|
|
2259
2331
|
.fw-root .fw-seg-tool { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
|
|
2332
|
+
/* Without per-agent hues (muted or outcome fill), a step's kind owns its color; with them, kind is the darker and lighter shade of the
|
|
2333
|
+
agent's own hue (the rules above), so each agent stays one color. */
|
|
2334
|
+
.fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-model { background: var(--fw-kind-model); box-shadow: none; }
|
|
2335
|
+
.fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-tool { background: var(--fw-kind-tool); box-shadow: none; }
|
|
2336
|
+
.fw-root .fw-view-agents .fw-seg-tool { container-type: inline-size; justify-content: flex-start; }
|
|
2337
|
+
.fw-root .fw-seg-name { padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; line-height: 16px; font-weight: 600; color: light-dark(#fff, #06222b); pointer-events: none; }
|
|
2338
|
+
@container (max-width: 56px) { .fw-root .fw-seg-name { display: none; } }
|
|
2339
|
+
.fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents :is(.fw-seg-alt.fw-seg-model, .fw-seg-alt.fw-seg-tool) { filter: brightness(.88); }
|
|
2260
2340
|
.fw-root .fw-seg-failed { background: color-mix(in oklab, var(--fw-failed) 18%, var(--fw-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 70%, transparent); color: var(--fw-failed); }
|
|
2261
|
-
|
|
2341
|
+
/* In the agent view a failed turn draws like any turn; the agent's own failure shows once, by its name and its end label. */
|
|
2342
|
+
.fw-root .fw-view-agents .fw-seg-failed { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
|
|
2262
2343
|
.fw-root .fw-glyph { display: inline-flex; color: currentColor; }
|
|
2263
2344
|
.fw-root .fw-glyph svg { width: 11px; height: 11px; stroke-width: 2; }
|
|
2264
2345
|
.fw-root .fw-seg-model .fw-glyph, .fw-root .fw-k-model .fw-glyph { color: light-dark(var(--tone), #fff); }
|
|
2265
|
-
|
|
2346
|
+
/* End labels sit on the surface, so connectors and event lines stop at them, and never run past the lane: a label that would
|
|
2347
|
+
be cut at the right edge slides back over its bar's tail instead. */
|
|
2348
|
+
.fw-root .fw-end { z-index: 2; display: inline-flex; align-items: center; gap: 8px; top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2); height: var(--fw-bar-h);
|
|
2349
|
+
left: min(calc(var(--x0) + max(var(--w), 3px) + 4px), calc(100% - var(--fw-end-w, 0px) - 4px)); padding: 0 4px; border-radius: 4px; background: var(--fw-surface); white-space: nowrap; pointer-events: none; }
|
|
2266
2350
|
.fw-root .fw-duration { font-size: 12px; color: var(--fw-muted); font-variant-numeric: tabular-nums; }
|
|
2267
2351
|
.fw-root .fw-k-failed ~ .fw-end .fw-duration { color: var(--fw-failed); }
|
|
2268
2352
|
.fw-root .fw-badge { height: 18px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--fw-amber); background: color-mix(in oklab, var(--fw-amber) 13%, transparent); border: 1px solid color-mix(in oklab, var(--fw-amber) 28%, transparent); }
|
|
2269
2353
|
/* Handoff elbows: 1.5 px stroke, 6 px radius, a 5 px dot where the handoff leaves its sender. */
|
|
2270
|
-
|
|
2354
|
+
/* Under the rows (which follow it), so end labels and badges always sit above the connectors. */
|
|
2355
|
+
.fw-root .fw-links { position: absolute; top: 0; bottom: 0; left: var(--fw-label-col); right: 0; overflow: hidden; pointer-events: none; z-index: 0; }
|
|
2271
2356
|
.fw-root .fw-link {
|
|
2272
2357
|
--x: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px);
|
|
2273
2358
|
position: absolute; width: 8px; border: 0 solid var(--line); border-bottom-width: 1.5px; translate: 0 var(--fw-bar-shift);
|
|
2274
2359
|
opacity: clamp(0, (var(--fw-t) - var(--s)) * 1000, 1);
|
|
2275
2360
|
}
|
|
2276
2361
|
.fw-root .fw-view-spans .fw-link { opacity: calc(clamp(0, (var(--fw-t) - var(--s)) * 1000, 1) * .7); }
|
|
2277
|
-
/* Agent-view connectors
|
|
2278
|
-
|
|
2362
|
+
/* Agent-view connectors rest faint, one curved elbow per spawn in the agent's hue (they show who started whom), and come to
|
|
2363
|
+
full strength for the agent under the pointer, pinned or focused. */
|
|
2364
|
+
.fw-root .fw-view-agents .fw-link:not(.fw-link-hot) { opacity: calc(clamp(0, (var(--fw-t) - var(--s)) * 1000, 1) * .6); }
|
|
2279
2365
|
.fw-root .fw-link { transition: opacity 160ms var(--fw-ease); }
|
|
2280
|
-
.fw-root .fw-link-down { left: calc(var(--x) - 8px); border-left-width: 1.5px; border-bottom-left-radius:
|
|
2281
|
-
.fw-root .fw-link-up { left: var(--x); border-right-width: 1.5px; border-bottom-right-radius:
|
|
2366
|
+
.fw-root .fw-link-down { left: calc(var(--x) - 8px); border-left-width: 1.5px; border-bottom-left-radius: 12px; }
|
|
2367
|
+
.fw-root .fw-link-up { left: var(--x); border-right-width: 1.5px; border-bottom-right-radius: 12px; }
|
|
2282
2368
|
.fw-root .fw-link::before { content: ""; position: absolute; top: -3.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 1.5px var(--fw-surface); }
|
|
2283
2369
|
.fw-root .fw-link-down::before { left: -3.25px; }
|
|
2284
2370
|
.fw-root .fw-link-up::before { right: -3.25px; }
|
|
2285
2371
|
/* Span card */
|
|
2286
2372
|
.fw-root .fw-card-anchor { display: contents; }
|
|
2373
|
+
/* Agent view: the card docks under the lanes instead of floating over the plot (judges: "covers the data it describes"). */
|
|
2374
|
+
/* Two classes on the root so these win over the base .fw-root .fw-card rule that follows. */
|
|
2375
|
+
.fw-root.fw-root-agents .fw-card-anchor { display: block; padding: 0 24px 12px; }
|
|
2376
|
+
.fw-root.fw-root-agents .fw-card, .fw-root.fw-root-agents .fw-card-above .fw-card { position: relative; left: auto !important; top: auto !important; transform: none; animation-name: fw-arrive; width: auto; max-width: 560px; }
|
|
2377
|
+
.fw-root .fw-seg-alt { filter: brightness(.78); }
|
|
2378
|
+
/* Agent view: the scrubber track shows how far the run has played, so at rest it reads full, not empty. */
|
|
2379
|
+
.fw-root.fw-root-agents .fw-slider { background: linear-gradient(90deg, color-mix(in oklab, var(--fw-text) 32%, transparent) var(--fw-progress), var(--fw-well) var(--fw-progress)) 0 50% / 100% 4px no-repeat; }
|
|
2380
|
+
/* The playhead: a round knob on a thin neutral track, visible at rest without outweighing the chart. */
|
|
2381
|
+
.fw-root.fw-root-agents .fw-slider::-webkit-slider-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fw-text); box-shadow: 0 0 0 3px var(--fw-surface); }
|
|
2382
|
+
.fw-root.fw-root-agents .fw-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fw-text); box-shadow: 0 0 0 3px var(--fw-surface); }
|
|
2287
2383
|
.fw-root .fw-card { position: absolute; z-index: 20; width: 320px; padding: 12px; border-radius: 12px; background: var(--fw-raised); border: 1px solid var(--fw-border);
|
|
2288
2384
|
box-shadow: 0 12px 32px -8px rgb(0 0 0 / .28), 0 2px 6px rgb(0 0 0 / .08); animation: fw-arrive 140ms var(--fw-ease); }
|
|
2289
2385
|
/* A hover card never covers the next mark: only a pinned card (a dialog) takes the pointer. */
|
|
2290
2386
|
.fw-root .fw-card[role="tooltip"] { pointer-events: none; }
|
|
2291
2387
|
.fw-root .fw-card-above .fw-card { transform: translateY(-100%); animation-name: fw-arrive-above; }
|
|
2292
2388
|
.fw-root .fw-card-agent { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
|
|
2293
|
-
.fw-root .fw-card-agent .fw-agent-dot {
|
|
2389
|
+
.fw-root .fw-card-agent .fw-agent-dot { align-self: center; }
|
|
2294
2390
|
.fw-root .fw-card-head { display: flex; align-items: flex-start; gap: 8px; }
|
|
2295
2391
|
.fw-root .fw-card-head .fw-icon-tile { flex-basis: 28px; width: 28px; height: 28px; border-radius: 8px; }
|
|
2296
2392
|
.fw-root .fw-card-head .fw-icon-tile :is(svg, img) { width: 16px; height: 16px; }
|
|
@@ -2311,12 +2407,13 @@
|
|
|
2311
2407
|
.fw-root .fw-card-text { margin-top: 12px; }
|
|
2312
2408
|
.fw-root .fw-card-compact { width: 280px; padding: 12px; }
|
|
2313
2409
|
.fw-root .fw-card-compact .fw-card-agent { margin-bottom: 8px; font-size: 14px; line-height: 20px; }
|
|
2314
|
-
.fw-root .fw-card-who { min-width: 0; flex: 1; overflow: hidden;
|
|
2410
|
+
.fw-root .fw-card-who { min-width: 0; flex: 1; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
|
2315
2411
|
.fw-root .fw-card-detail { margin: -4px 0 8px 16px; color: var(--fw-muted); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
|
|
2316
2412
|
.fw-root .fw-pill-outcome { color: var(--line); background: color-mix(in oklab, var(--tone) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 35%, transparent); }
|
|
2317
2413
|
.fw-root .fw-card-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--fw-well); }
|
|
2318
2414
|
.fw-root .fw-card-cells dt { font-size: 12px; line-height: 16px; color: var(--fw-muted); }
|
|
2319
2415
|
.fw-root .fw-card-cells dd { font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
2416
|
+
.fw-root .fw-card-step { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--fw-border); color: var(--fw-muted); font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
|
|
2320
2417
|
.fw-root .fw-card-result { margin-top: 8px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
2321
2418
|
.fw-root .fw-card-text p { margin-top: 4px; color: var(--fw-text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
|
|
2322
2419
|
/* Playback */
|
|
@@ -2339,6 +2436,12 @@
|
|
|
2339
2436
|
.fw-root .fw-zoom { display: inline-flex; gap: 0; }
|
|
2340
2437
|
.fw-root .fw-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
2341
2438
|
@keyframes fw-spin { to { transform: rotate(360deg); } }
|
|
2439
|
+
/* Motion verbs. Grow: an arriving bar extends from its start. Unfold: an arriving row's cells slide in, staggered by
|
|
2440
|
+
--fw-enter-delay. Settle: a bar that just finished eases its edge and lands its end label. */
|
|
2441
|
+
@keyframes fw-grow { from { clip-path: inset(0 100% 0 0 round 4px); } }
|
|
2442
|
+
@keyframes fw-unfold { from { opacity: 0; translate: 0 -4px; } }
|
|
2443
|
+
@keyframes fw-land { from { opacity: 0; translate: -6px 0; } }
|
|
2444
|
+
@keyframes fw-settle { 40% { filter: brightness(1.3); } }
|
|
2342
2445
|
@keyframes fw-pulse { 50% { opacity: .35; } }
|
|
2343
2446
|
@keyframes fw-arrive { from { opacity: 0; transform: translateY(4px); } }
|
|
2344
2447
|
@keyframes fw-arrive-above { from { opacity: 0; transform: translateY(calc(-100% - 4px)); } }
|
|
@@ -2363,10 +2466,12 @@
|
|
|
2363
2466
|
.fw-root .fw-branch-controls, .fw-root .fw-zoom { display: none; }
|
|
2364
2467
|
.fw-root .fw-heading, .fw-root .fw-playback { padding-left: 12px; padding-right: 12px; }
|
|
2365
2468
|
}
|
|
2366
|
-
/* The agent timeline is one quiet surface: no inner rules
|
|
2469
|
+
/* The agent timeline is one quiet surface: no inner rules; controls and axis sit above the lanes. */
|
|
2367
2470
|
.fw-root-agents .fw-heading { border-bottom: 0; padding: 20px 24px 12px; }
|
|
2368
|
-
.fw-root-agents .fw-axis-
|
|
2369
|
-
.fw-root-agents .fw-
|
|
2471
|
+
.fw-root-agents .fw-axis-top { border-bottom: 0; }
|
|
2472
|
+
.fw-root-agents .fw-axis-top .fw-axis-label { border-right-color: transparent; }
|
|
2473
|
+
.fw-root-agents .fw-playback { border-top: 0; padding: 0 24px 8px; }
|
|
2474
|
+
.fw-root-agents .fw-body { padding-bottom: 12px; }
|
|
2370
2475
|
.fw-root-agents .fw-view-agents .fw-label { padding-left: 24px; }
|
|
2371
2476
|
.fw-root-agents .fw-zoom, .fw-root-agents .fw-time { display: none; }
|
|
2372
2477
|
/* The agent view keeps scrubbing on a hairline track; the lanes above already show the activity. */
|
|
@@ -2379,15 +2484,15 @@
|
|
|
2379
2484
|
(At 768 px a 28% column cut 15 of 17 names on a real 17-agent run.) */
|
|
2380
2485
|
@container (max-width: 899px) {
|
|
2381
2486
|
/* The root is the queried container, so the variables go on its children. */
|
|
2382
|
-
|
|
2487
|
+
/* In a 40 px row: the name on 0-20 px, a 16 px bar on 20-36 px. */
|
|
2488
|
+
.fw-root-agents > * { --fw-label-col: 0px; --fw-bar-shift: 8px; --fw-bar-h: 16px; }
|
|
2383
2489
|
.fw-root-agents .fw-view-agents .fw-names { flex-direction: row; align-items: baseline; gap: 8px; min-width: 0; }
|
|
2384
|
-
.fw-root-agents .fw-view-agents .fw-agent-dot { align-self: center; margin-top: 0; }
|
|
2385
2490
|
/* The label leaves the grid flow, so the lane must claim the track column itself. */
|
|
2386
2491
|
.fw-root-agents .fw-view-agents .fw-lane { grid-column: 2; }
|
|
2387
2492
|
/* Elbows pass behind the name, not through its letters. A transform or layout containment would make each row
|
|
2388
2493
|
its own stacking context and trap the name under the connector layer, so stacked rows place by top instead. */
|
|
2389
2494
|
.fw-root-agents .fw-view-agents .fw-row { transform: none; top: var(--row-y); contain: style; }
|
|
2390
|
-
.fw-root-agents .fw-view-agents .fw-label { position: absolute; z-index: 3; top:
|
|
2495
|
+
.fw-root-agents .fw-view-agents .fw-label { position: absolute; z-index: 3; top: 0; left: 0; height: 20px; max-width: calc(100% - var(--fw-pad)); padding: 0 8px 0 var(--fw-pad); gap: 8px; align-items: center; pointer-events: none; overflow: hidden; border-radius: 0 4px 4px 0; background: var(--fw-surface); }
|
|
2391
2496
|
}
|
|
2392
2497
|
|
|
2393
2498
|
@layer theme {
|
package/dist/tools/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outcomeStatus,
|
|
6
6
|
resolveToolCapabilities,
|
|
7
7
|
restrictTaxonomy
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-PIGW5LRM.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_APP_TOOL_PATHS,
|
|
11
11
|
DEFAULT_HEADER_NAMES,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
verifyCapabilityToken,
|
|
25
25
|
verifyExpiringCapabilityToken
|
|
26
26
|
} from "../chunk-O7UX55EU.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-6XSQCP6W.js";
|
|
28
28
|
import "../chunk-S5SRJJQG.js";
|
|
29
29
|
import {
|
|
30
30
|
APP_TOOL_NAMES,
|
|
@@ -33,9 +33,9 @@ import {
|
|
|
33
33
|
defineAppTool,
|
|
34
34
|
findCustomTool,
|
|
35
35
|
isAppToolName
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-SRA7VAVK.js";
|
|
37
37
|
import "../chunk-UGWQLQDS.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-DCGATWZ5.js";
|
|
39
39
|
import {
|
|
40
40
|
ToolInputError
|
|
41
41
|
} from "../chunk-F4XBNR5L.js";
|
|
@@ -110,7 +110,7 @@ export interface ChatMessagesProps {
|
|
|
110
110
|
/** Open a full-transcript view (e.g. {@link RunDrillIn}) from a tool row's
|
|
111
111
|
* actions slot. */
|
|
112
112
|
onToolCallClick?: (call: ChatToolCallInfo, message: ChatUiMessage) => void;
|
|
113
|
-
/** Per-tool custom
|
|
113
|
+
/** Per-tool custom renderers for the row's optional presentation and expanded body. */
|
|
114
114
|
toolRenderers?: ToolDetailRenderers;
|
|
115
115
|
/** Stream-error affordance: when the turn failed (a thrown transport error or
|
|
116
116
|
* a loop-level `onErrorEvent`), pass the message here to render an error row.
|
|
@@ -153,6 +153,14 @@ export interface ProposalApprovalHandlers {
|
|
|
153
153
|
onApprove: (proposalId: string, toolCallId: string) => void | Promise<void>;
|
|
154
154
|
onReject: (proposalId: string, toolCallId: string) => void | Promise<void>;
|
|
155
155
|
}
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
export
|
|
156
|
+
/** Optional product-owned presentation for an existing shared tool row.
|
|
157
|
+
* Missing title/description/detail fields retain the shared defaults. */
|
|
158
|
+
export interface ToolDetailPresentation {
|
|
159
|
+
title?: string;
|
|
160
|
+
description?: string;
|
|
161
|
+
detail?: ReactNode;
|
|
162
|
+
}
|
|
163
|
+
/** Per-tool custom renderers, keyed by tool name. A React node customizes only
|
|
164
|
+
* the expanded detail; a presentation can also customize the collapsed row.
|
|
165
|
+
* Return null to retain every shared default. */
|
|
166
|
+
export type ToolDetailRenderers = Record<string, (call: ChatToolCallInfo, message: ChatUiMessage) => ReactNode | ToolDetailPresentation>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
/** Tool result adaptation, approval cards, and expanded run-row details. */
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
1
3
|
import type { ToolPart } from '@tangle-network/ui/types';
|
|
2
|
-
import type { ChatToolCallInfo, ChatUiMessage, ProposalApprovalHandlers, ToolDetailRenderers } from './chat-message-types';
|
|
4
|
+
import type { ChatToolCallInfo, ChatUiMessage, ProposalApprovalHandlers, ToolDetailPresentation, ToolDetailRenderers } from './chat-message-types';
|
|
5
|
+
export declare function resolveToolPresentation(rendered: ReactNode | ToolDetailPresentation): ToolDetailPresentation;
|
|
3
6
|
/** Extract `{proposalId, status}` from a tool outcome when it is a proposal
|
|
4
7
|
* awaiting human approval; null otherwise. */
|
|
5
8
|
export declare function pendingApprovalOf(call: ChatToolCallInfo): {
|
|
@@ -78,7 +78,7 @@ export * from './chat-message-types';
|
|
|
78
78
|
export * from './chat-message-metrics';
|
|
79
79
|
export * from './run-drill-in';
|
|
80
80
|
export * from './chat-empty-state';
|
|
81
|
-
export { pendingApprovalOf, chatToolCallPart } from './chat-tool-call';
|
|
81
|
+
export { pendingApprovalOf, chatToolCallPart, resolveToolPresentation } from './chat-tool-call';
|
|
82
82
|
export { ChatMessages, useThinkingSeconds } from './chat-messages';
|
|
83
83
|
export * from './api-access-panel';
|
|
84
84
|
export * from './agent-setup-block';
|
package/dist/web-react/index.js
CHANGED
|
@@ -109,6 +109,7 @@ import {
|
|
|
109
109
|
recordGridRowLabel,
|
|
110
110
|
resolveChatInteraction,
|
|
111
111
|
resolveProvenanceStanding,
|
|
112
|
+
resolveToolPresentation,
|
|
112
113
|
responseErrorMessage,
|
|
113
114
|
restoreChatInteractions,
|
|
114
115
|
rollUpProvenanceStanding,
|
|
@@ -146,7 +147,7 @@ import {
|
|
|
146
147
|
withoutRecordGridCreated,
|
|
147
148
|
withoutRecordGridRemoved,
|
|
148
149
|
withoutRecordGridUpdate
|
|
149
|
-
} from "../chunk-
|
|
150
|
+
} from "../chunk-LAZCUQFZ.js";
|
|
150
151
|
import {
|
|
151
152
|
useInfiniteScroll
|
|
152
153
|
} from "../chunk-UHSUY6H6.js";
|
|
@@ -528,6 +529,7 @@ export {
|
|
|
528
529
|
requestWorkspacePrewarm,
|
|
529
530
|
resolveChatInteraction,
|
|
530
531
|
resolveProvenanceStanding,
|
|
532
|
+
resolveToolPresentation,
|
|
531
533
|
responseErrorMessage,
|
|
532
534
|
restoreChatInteractions,
|
|
533
535
|
rollUpProvenanceStanding,
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
} from "../chunk-ZVEEWGDK.js";
|
|
27
27
|
import {
|
|
28
28
|
defineAppTool
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-SRA7VAVK.js";
|
|
30
30
|
import "../chunk-UGWQLQDS.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-DCGATWZ5.js";
|
|
32
32
|
import {
|
|
33
33
|
ToolInputError
|
|
34
34
|
} from "../chunk-F4XBNR5L.js";
|