@tangle-network/agent-app 0.63.58 → 0.63.60
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/assistant/index.js +7 -4
- package/dist/assistant/index.js.map +1 -1
- package/dist/{chunk-H7CSSEP7.js → chunk-LAZCUQFZ.js} +14 -6
- package/dist/{chunk-H7CSSEP7.js.map → chunk-LAZCUQFZ.js.map} +1 -1
- 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/theme/tokens.css +14 -11
- package/dist/vault/store/index.js +330 -259
- package/dist/vault/store/index.js.map +1 -1
- package/dist/vault/store/sandbox-hydrate.d.ts +22 -1
- package/dist/vault/store/sandbox-reconcile.d.ts +11 -3
- package/dist/vault/store/sandbox-sync.d.ts +26 -0
- 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/package.json +5 -5
package/dist/theme/tokens.css
CHANGED
|
@@ -2088,7 +2088,8 @@
|
|
|
2088
2088
|
/* Root agent neutral, then five agent hues. Each passes 3:1 against both surfaces as a mark. */
|
|
2089
2089
|
--fw-h0: light-dark(#6c6f84, #a3a6bb);
|
|
2090
2090
|
--fw-h1: light-dark(#4b55d6, #8f96ff);
|
|
2091
|
-
|
|
2091
|
+
/* No warm hue among the agents: amber is kept for the slowest and red for failure. */
|
|
2092
|
+
--fw-h2: light-dark(#3d8a52, #6fcb8a);
|
|
2092
2093
|
--fw-h3: light-dark(#0b87a0, #35c2db);
|
|
2093
2094
|
--fw-h4: light-dark(#b0418a, #dc72bb);
|
|
2094
2095
|
--fw-h5: light-dark(#6d44c7, #ab8cf7);
|
|
@@ -2272,6 +2273,8 @@
|
|
|
2272
2273
|
.fw-root .fw-settle .fw-end { animation: fw-land 260ms var(--fw-ease); }
|
|
2273
2274
|
/* A live bar grows with the clock instead of stepping each tick. */
|
|
2274
2275
|
.fw-root .fw-row[data-running] .fw-bar { transition: width 120ms linear; }
|
|
2276
|
+
/* The chain that gates the trace's end: an accent edge under its bars, so cutting latency there is visibly what moves the end. */
|
|
2277
|
+
.fw-root .fw-row[data-critical] .fw-bar { box-shadow: inset 0 -2px 0 var(--fw-accent); }
|
|
2275
2278
|
/* A restart: an amber notch through the bar at that moment; the bar keeps its own state. */
|
|
2276
2279
|
.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);
|
|
2277
2280
|
border-radius: 2px; background: var(--fw-amber); box-shadow: 0 0 0 1px var(--fw-surface); opacity: var(--on); pointer-events: auto; }
|
|
@@ -2300,7 +2303,7 @@
|
|
|
2300
2303
|
/* Muted agents (the default): one quiet tone for every agent bar, its steps and handoffs; the slowest agent alone takes amber, and
|
|
2301
2304
|
failure keeps its red glyph, so color only ever means state. */
|
|
2302
2305
|
.fw-root.fw-fill-muted .fw-view-agents [data-tone] { --tone: var(--fw-h0); }
|
|
2303
|
-
.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); }
|
|
2306
|
+
.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); }
|
|
2304
2307
|
.fw-root [data-outcome="ok"], .fw-root [data-outcome="ok"] [data-tone] { --tone: var(--fw-ok); }
|
|
2305
2308
|
.fw-root [data-outcome="failed"], .fw-root [data-outcome="failed"] [data-tone] { --tone: var(--fw-failed); }
|
|
2306
2309
|
.fw-root [data-outcome="warn"], .fw-root [data-outcome="warn"] [data-tone] { --tone: var(--fw-amber); }
|
|
@@ -2311,6 +2314,9 @@
|
|
|
2311
2314
|
.fw-root .fw-legends .fw-legend { margin: 0; }
|
|
2312
2315
|
.fw-root .fw-kinds { margin: 0; padding: 0; justify-content: flex-start; color: var(--fw-muted); }
|
|
2313
2316
|
.fw-root .fw-kinds .fw-swatch-model { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-model); }
|
|
2317
|
+
/* With per-agent hues the key shows kind as shade, as the bars do: darker for a model call, lighter for a tool call. */
|
|
2318
|
+
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-model { background: color-mix(in oklab, var(--fw-text) 58%, var(--fw-surface)); }
|
|
2319
|
+
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-tool { background: color-mix(in oklab, var(--fw-text) 24%, var(--fw-surface)); }
|
|
2314
2320
|
.fw-root .fw-kinds .fw-swatch-tool { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-tool); }
|
|
2315
2321
|
.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); }
|
|
2316
2322
|
.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; }
|
|
@@ -2325,13 +2331,14 @@
|
|
|
2325
2331
|
.fw-root .fw-view-agents .fw-seg { pointer-events: auto; }
|
|
2326
2332
|
.fw-root .fw-seg-model { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
|
|
2327
2333
|
.fw-root .fw-seg-tool { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
|
|
2328
|
-
/*
|
|
2329
|
-
|
|
2330
|
-
.fw-root .fw-view-agents .fw-seg-
|
|
2334
|
+
/* 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
|
|
2335
|
+
agent's own hue (the rules above), so each agent stays one color. */
|
|
2336
|
+
.fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-model { background: var(--fw-kind-model); box-shadow: none; }
|
|
2337
|
+
.fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-tool { background: var(--fw-kind-tool); box-shadow: none; }
|
|
2331
2338
|
.fw-root .fw-view-agents .fw-seg-tool { container-type: inline-size; justify-content: flex-start; }
|
|
2332
|
-
.fw-root .fw-seg-name { padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow:
|
|
2339
|
+
.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; }
|
|
2333
2340
|
@container (max-width: 56px) { .fw-root .fw-seg-name { display: none; } }
|
|
2334
|
-
.fw-root .fw-view-agents .fw-seg-alt.fw-seg-model, .fw-
|
|
2341
|
+
.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); }
|
|
2335
2342
|
.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); }
|
|
2336
2343
|
/* 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. */
|
|
2337
2344
|
.fw-root .fw-view-agents .fw-seg-failed { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
|
|
@@ -2365,10 +2372,6 @@
|
|
|
2365
2372
|
.fw-root .fw-link-up::before { right: -3.25px; }
|
|
2366
2373
|
/* Span card */
|
|
2367
2374
|
.fw-root .fw-card-anchor { display: contents; }
|
|
2368
|
-
/* Agent view: the card docks under the lanes instead of floating over the plot (judges: "covers the data it describes"). */
|
|
2369
|
-
/* Two classes on the root so these win over the base .fw-root .fw-card rule that follows. */
|
|
2370
|
-
.fw-root.fw-root-agents .fw-card-anchor { display: block; padding: 0 24px 12px; }
|
|
2371
|
-
.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; }
|
|
2372
2375
|
.fw-root .fw-seg-alt { filter: brightness(.78); }
|
|
2373
2376
|
/* Agent view: the scrubber track shows how far the run has played, so at rest it reads full, not empty. */
|
|
2374
2377
|
.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; }
|