@tangle-network/agent-app 0.63.81 → 1.0.0
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/theme/tokens.css +24 -12
- package/package.json +5 -5
package/dist/theme/tokens.css
CHANGED
|
@@ -1927,6 +1927,8 @@
|
|
|
1927
1927
|
--fw-failed: var(--surface-danger-text);
|
|
1928
1928
|
--fw-ok: var(--surface-success-text);
|
|
1929
1929
|
--fw-amber: var(--surface-warning-text);
|
|
1930
|
+
/* The running hue: a live agent's dot, outcome and pill. The host sets it to the one running ink its other pages use. */
|
|
1931
|
+
--fw-live: var(--fw-accent);
|
|
1930
1932
|
/* Step kinds inside an agent bar: the chart accent and a categorical hue, far from the outcome greens and reds. */
|
|
1931
1933
|
--fw-kind-model: var(--chart-accent);
|
|
1932
1934
|
--fw-kind-tool: var(--tone-cyan-icon);
|
|
@@ -1990,10 +1992,10 @@
|
|
|
1990
1992
|
.fw-root .fw-title { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
|
|
1991
1993
|
.fw-root .fw-state { display: inline-flex; align-items: center; gap: 8px; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--fw-muted); background: var(--fw-well); flex-shrink: 0; }
|
|
1992
1994
|
.fw-root .fw-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
1993
|
-
.fw-root .fw-state-live { color: var(--fw-
|
|
1995
|
+
.fw-root .fw-state-live { color: var(--fw-live); background: color-mix(in oklab, var(--fw-live) 12%, transparent); }
|
|
1994
1996
|
.fw-root .fw-state-live::before { animation: fw-pulse 1.6s var(--fw-ease) infinite; }
|
|
1995
|
-
.fw-root .fw-headline { color: var(--fw-muted);
|
|
1996
|
-
.fw-root .fw-
|
|
1997
|
+
.fw-root .fw-headline { color: var(--fw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
1998
|
+
.fw-root .fw-headline::before { content: "·"; margin-right: 8px; }
|
|
1997
1999
|
.fw-root .fw-tools { display: flex; align-items: center; gap: 8px; }
|
|
1998
2000
|
.fw-root .fw-views { display: inline-flex; padding: 4px; border-radius: var(--radius-md); background: var(--fw-well); border: 1px solid var(--fw-border); }
|
|
1999
2001
|
.fw-root .fw-view-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--fw-muted); cursor: pointer; transition: background-color 120ms var(--fw-ease), color 120ms var(--fw-ease); }
|
|
@@ -2108,6 +2110,8 @@
|
|
|
2108
2110
|
.fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line, var(--fw-muted)); }
|
|
2109
2111
|
/* The dot is outcome only (critique P0 #3): an agent with no recorded outcome gets a hollow ring, never its lane hue. */
|
|
2110
2112
|
.fw-root .fw-row:not([data-outcome]) .fw-agent-dot:not([data-outcome]) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fw-muted); }
|
|
2113
|
+
.fw-root :is(.fw-agent-dot, .fw-legend .fw-swatch)[data-ring] { background: transparent; box-shadow: inset 0 0 0 2px var(--line, var(--fw-muted)); }
|
|
2114
|
+
.fw-root :is(.fw-agent-dot, .fw-legend .fw-swatch)[data-outcome="live"]:not([data-ring]) { box-shadow: 0 0 0 3px color-mix(in oklab, var(--fw-live) 22%, transparent); }
|
|
2111
2115
|
/* Lanes and marks */
|
|
2112
2116
|
.fw-root .fw-lane { position: relative; overflow: hidden; min-width: 0; }
|
|
2113
2117
|
.fw-root .fw-invalid { position: absolute; left: var(--fw-pad); top: 50%; transform: translateY(-50%); color: var(--fw-muted); }
|
|
@@ -2133,9 +2137,9 @@
|
|
|
2133
2137
|
/* While searching, ancestors shown only for context recede and the matching names stand out. */
|
|
2134
2138
|
.fw-root .fw-row[data-search="context"] .fw-label { opacity: 0.55; }
|
|
2135
2139
|
.fw-root .fw-row[data-search="match"] .fw-name-text { font-weight: 600; }
|
|
2136
|
-
/* A restart:
|
|
2140
|
+
/* A restart: a notch in the failure ink through the bar at that moment (the run overview's ✕); the bar keeps its own state. */
|
|
2137
2141
|
.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);
|
|
2138
|
-
border-radius: 2px; background: var(--fw-
|
|
2142
|
+
border-radius: 2px; background: var(--fw-failed); box-shadow: 0 0 0 1px var(--fw-surface); pointer-events: auto; }
|
|
2139
2143
|
/* Centered by top, not a negative margin, so measured spacing stays on the grid. */
|
|
2140
2144
|
.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: var(--radius-tag); cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
|
|
2141
2145
|
.fw-root .fw-bar { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
|
|
@@ -2162,11 +2166,17 @@
|
|
|
2162
2166
|
failure keeps its red glyph, so color only ever means state. */
|
|
2163
2167
|
.fw-root.fw-fill-muted .fw-view-agents [data-tone] { --tone: var(--fw-h0); }
|
|
2164
2168
|
/* With per-agent hues the slowest agent keeps its own hue and says so with the amber pill (round 27: an amber-brown bar read "muddy"). */
|
|
2165
|
-
.fw-root.fw-fill-muted .fw-view-agents .fw-row[data-slowest], .fw-root.fw-fill-muted .fw-view-agents .fw-row[data-slowest] [data-tone] { --tone: var(--fw-amber); }
|
|
2166
2169
|
.fw-root [data-outcome="ok"], .fw-root [data-outcome="ok"] [data-tone] { --tone: var(--fw-ok); }
|
|
2167
2170
|
.fw-root [data-outcome="failed"], .fw-root [data-outcome="failed"] [data-tone] { --tone: var(--fw-failed); }
|
|
2168
2171
|
.fw-root [data-outcome="warn"], .fw-root [data-outcome="warn"] [data-tone] { --tone: var(--fw-amber); }
|
|
2172
|
+
.fw-root [data-outcome="live"], .fw-root [data-outcome="live"] [data-tone] { --tone: var(--fw-live); }
|
|
2169
2173
|
.fw-root [data-outcome="neutral"], .fw-root [data-outcome="neutral"] [data-tone] { --tone: var(--fw-muted); }
|
|
2174
|
+
/* An agent's dot states how it ended in every fill: the muted fill quiets the lanes, never the dot (0.21.23 drew Shipped grey). */
|
|
2175
|
+
.fw-root.fw-root .fw-agent-dot[data-outcome="ok"] { --tone: var(--fw-ok); }
|
|
2176
|
+
.fw-root.fw-root .fw-agent-dot[data-outcome="failed"] { --tone: var(--fw-failed); }
|
|
2177
|
+
.fw-root.fw-root .fw-agent-dot[data-outcome="warn"] { --tone: var(--fw-amber); }
|
|
2178
|
+
.fw-root.fw-root .fw-agent-dot[data-outcome="live"] { --tone: var(--fw-live); }
|
|
2179
|
+
.fw-root.fw-root .fw-agent-dot[data-outcome="neutral"] { --tone: var(--fw-muted); }
|
|
2170
2180
|
.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: 14px; line-height: 18px; }
|
|
2171
2181
|
.fw-root .fw-legend li { display: inline-flex; align-items: center; gap: 8px; }
|
|
2172
2182
|
.fw-root .fw-legends { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 8px; }
|
|
@@ -2178,6 +2188,7 @@
|
|
|
2178
2188
|
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-tool { background: light-dark(oklch(0.80 0 0), oklch(0.64 0 0)); }
|
|
2179
2189
|
.fw-root .fw-kinds .fw-swatch-tool { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-tool); }
|
|
2180
2190
|
.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); }
|
|
2191
|
+
.fw-root .fw-kinds .fw-swatch-event { width: 8px; height: 8px; border-radius: 50%; background: var(--fw-muted); box-shadow: 0 0 0 2px var(--fw-surface); }
|
|
2181
2192
|
.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; }
|
|
2182
2193
|
.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; }
|
|
2183
2194
|
.fw-root .fw-legend .fw-swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
|
|
@@ -2216,9 +2227,9 @@
|
|
|
2216
2227
|
.fw-root .fw-seg-chip { padding: 0 4px; border-radius: var(--radius-pill); background: color-mix(in oklab, currentColor 18%, transparent); font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
2217
2228
|
.fw-root .fw-seg-meta { font-variant-numeric: tabular-nums; }
|
|
2218
2229
|
@container (max-width: 24px) { .fw-root :is(.fw-seg-label, .fw-view-agents .fw-seg .fw-glyph) { display: none; } }
|
|
2219
|
-
/* Fail and retry read as filled chips inside the bar
|
|
2230
|
+
/* Fail and retry read as filled chips inside the bar: red, and a quiet grey for a retry that recovered. */
|
|
2220
2231
|
.fw-root .fw-view-agents .fw-seg .fw-glyph { flex: none; margin-left: 6px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--fw-failed); color: light-dark(var(--fw-surface), hsl(var(--hsl-background))); }
|
|
2221
|
-
.fw-root .fw-view-agents .fw-seg .fw-glyph[data-glyph="retry"] { background: var(--fw-
|
|
2232
|
+
.fw-root .fw-view-agents .fw-seg .fw-glyph[data-glyph="retry"] { background: var(--fw-muted); }
|
|
2222
2233
|
.fw-root .fw-view-agents .fw-seg .fw-glyph svg { width: 9px; height: 9px; stroke-width: 2.5; }
|
|
2223
2234
|
.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); }
|
|
2224
2235
|
.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); }
|
|
@@ -2234,7 +2245,7 @@
|
|
|
2234
2245
|
background: linear-gradient(var(--fw-tint, transparent) 0 0), var(--fw-surface); white-space: nowrap; pointer-events: none; }
|
|
2235
2246
|
.fw-root .fw-duration { font-size: 14px; color: var(--fw-muted); font-variant-numeric: tabular-nums; }
|
|
2236
2247
|
.fw-root .fw-k-failed ~ .fw-end .fw-duration { color: var(--fw-failed); }
|
|
2237
|
-
.fw-root .fw-badge { height:
|
|
2248
|
+
.fw-root .fw-badge { height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fw-muted); background: transparent; box-shadow: inset 0 0 0 1px var(--fw-border); }
|
|
2238
2249
|
/* Handoff elbows: 1.5 px stroke, 6 px radius, a 5 px dot where the handoff leaves its sender. */
|
|
2239
2250
|
/* Under the rows (which follow it), so end labels and badges always sit above the connectors. */
|
|
2240
2251
|
.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; }
|
|
@@ -2261,7 +2272,7 @@
|
|
|
2261
2272
|
/* The playhead: a round knob on a thin neutral track, visible at rest without outweighing the chart. */
|
|
2262
2273
|
.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); }
|
|
2263
2274
|
.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); }
|
|
2264
|
-
.fw-root .fw-card { position: absolute; z-index: 20; width: min(320px, calc(100% - 16px)); padding: 12px; border-radius: var(--radius-xl); background: var(--fw-raised); border: 1px solid var(--fw-border);
|
|
2275
|
+
.fw-root .fw-card { position: absolute; z-index: 20; width: min(320px, calc(100% - 16px)); max-height: min(60vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border-radius: var(--radius-xl); background: var(--fw-raised); border: 1px solid var(--fw-border);
|
|
2265
2276
|
box-shadow: var(--shadow-dropdown); animation: fw-arrive 140ms var(--fw-ease); }
|
|
2266
2277
|
/* A hover card never covers the next mark: only a pinned card (a dialog) takes the pointer. */
|
|
2267
2278
|
.fw-root .fw-card[role="tooltip"] { pointer-events: none; }
|
|
@@ -2274,7 +2285,7 @@
|
|
|
2274
2285
|
.fw-root .fw-card-name { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 600; overflow-wrap: anywhere; }
|
|
2275
2286
|
.fw-root .fw-pill { flex-shrink: 0; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; font-weight: 600; }
|
|
2276
2287
|
.fw-root .fw-pill-done { color: var(--fw-ok); background: color-mix(in oklab, var(--fw-ok) 13%, transparent); }
|
|
2277
|
-
.fw-root .fw-pill-running { color: var(--fw-
|
|
2288
|
+
.fw-root .fw-pill-running { color: var(--fw-live); background: color-mix(in oklab, var(--fw-live) 13%, transparent); }
|
|
2278
2289
|
.fw-root .fw-pill-failed { color: var(--fw-failed); background: color-mix(in oklab, var(--fw-failed) 13%, transparent); }
|
|
2279
2290
|
.fw-root .fw-icon-button { appearance: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--fw-muted); cursor: pointer; flex-shrink: 0; }
|
|
2280
2291
|
.fw-root .fw-icon-button:hover:not(:disabled) { background: var(--fw-hover); color: var(--fw-text); }
|
|
@@ -2287,7 +2298,8 @@
|
|
|
2287
2298
|
/* A value of several parts wraps between parts, never inside one ("4.0M" / "cached"). */
|
|
2288
2299
|
.fw-root .fw-card-parts { display: flex; flex-wrap: wrap; column-gap: 4px; }
|
|
2289
2300
|
.fw-root .fw-card-parts > * { white-space: nowrap; }
|
|
2290
|
-
.fw-root .fw-card-parts > * + *::before { content: "· "; color: var(--fw-muted); }
|
|
2301
|
+
.fw-root .fw-card-parts:not(.fw-card-stack) > * + *::before { content: "· "; color: var(--fw-muted); }
|
|
2302
|
+
.fw-root .fw-card-stack { flex-direction: column; }
|
|
2291
2303
|
.fw-root .fw-card-tools { display: grid; grid-template-columns: minmax(0, max-content) max-content; justify-content: start; column-gap: 16px; margin-top: 4px; color: var(--fw-muted); font-weight: 400; }
|
|
2292
2304
|
.fw-root .fw-card-tools > span { display: contents; }
|
|
2293
2305
|
.fw-root .fw-card-tools > span > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"packageManager": "pnpm@11.28.8",
|
|
5
5
|
"description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
|
|
6
6
|
"keywords": [
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
"@tangle-network/browser-agent-driver": "0.37.0",
|
|
812
812
|
"@tangle-network/hub-sdk": "1.0.4",
|
|
813
813
|
"@tangle-network/sandbox": "1.0.40",
|
|
814
|
-
"@tangle-network/sandbox-ui": "1.1.
|
|
814
|
+
"@tangle-network/sandbox-ui": "1.1.8",
|
|
815
815
|
"@tangle-network/tcloud": "0.8.6",
|
|
816
816
|
"@tangle-network/ui": "11.48.0",
|
|
817
817
|
"@testing-library/dom": "^10.4.2",
|
|
@@ -873,7 +873,7 @@
|
|
|
873
873
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
874
874
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
875
875
|
"@tangle-network/agent-eval": "^1.0.0",
|
|
876
|
-
"@tangle-network/agent-integrations": ">=0.54.2 <0.58.0 || >=0.59.0 <0.61.0 || >=0.66.0 <0.67.0 || >=0.67.0 <0.68.0 || >=0.68.0 <0.69.0 || >=0.69.0 <0.70.0 || >=0.70.0 <0.71.0 || >=0.75.0 <0.76.0 || >=0.76.2 <0.77.0",
|
|
876
|
+
"@tangle-network/agent-integrations": ">=0.54.2 <0.58.0 || >=0.59.0 <0.61.0 || >=0.66.0 <0.67.0 || >=0.67.0 <0.68.0 || >=0.68.0 <0.69.0 || >=0.69.0 <0.70.0 || >=0.70.0 <0.71.0 || >=0.75.0 <0.76.0 || >=0.76.2 <0.77.0 || ^1.0.0",
|
|
877
877
|
"@tangle-network/agent-interface": "^5.9.0",
|
|
878
878
|
"@tangle-network/agent-knowledge": "^23.0.0",
|
|
879
879
|
"@tangle-network/agent-profile-materialize": "^1.0.0",
|
|
@@ -883,7 +883,7 @@
|
|
|
883
883
|
"@tangle-network/hub-sdk": "^1.0.2",
|
|
884
884
|
"@tangle-network/sandbox": "^1.0.1",
|
|
885
885
|
"@tangle-network/sandbox-ui": "^1.0.0",
|
|
886
|
-
"@tangle-network/tcloud": "^0.5.2 || >=0.8.1 <0.9.0",
|
|
886
|
+
"@tangle-network/tcloud": "^0.5.2 || >=0.8.1 <0.9.0 || ^1.0.0",
|
|
887
887
|
"@tangle-network/ui": ">=11.48.0 <12.0.0",
|
|
888
888
|
"@tiptap/core": ">=3.28.0 <4.0.0",
|
|
889
889
|
"@tiptap/extension-mention": ">=3.28.0 <4.0.0",
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
"dependencies": {
|
|
1010
1010
|
"@tangle-network/agent-core": "^1.0.1",
|
|
1011
1011
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
1012
|
-
"@tangle-network/charts": "^0.
|
|
1012
|
+
"@tangle-network/charts": "^1.0.0",
|
|
1013
1013
|
"proper-lockfile": "4.1.2"
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|