@tangle-network/agent-app 0.60.286 → 0.61.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.
Files changed (51) hide show
  1. package/dist/app-auth/index.js +2 -2
  2. package/dist/assistant/index.js +5 -6
  3. package/dist/assistant/index.js.map +1 -1
  4. package/dist/chat-react/index.js +1 -1
  5. package/dist/chat-routes/index.js +26 -21
  6. package/dist/chat-routes/index.js.map +1 -1
  7. package/dist/{chunk-BI5AZAOO.js → chunk-4P5NFBWX.js} +4 -4
  8. package/dist/{chunk-GDUT72VK.js → chunk-6OSJNJA2.js} +9 -4
  9. package/dist/chunk-6OSJNJA2.js.map +1 -0
  10. package/dist/{chunk-U77HPL3I.js → chunk-LO6VQ35O.js} +2 -2
  11. package/dist/{chunk-XTMRAE6I.js → chunk-UCCSJX64.js} +3 -5
  12. package/dist/chunk-UCCSJX64.js.map +1 -0
  13. package/dist/{chunk-7D5MHMCP.js → chunk-VJBFCNAU.js} +4 -4
  14. package/dist/design-canvas/index.js +3 -3
  15. package/dist/design-canvas-react/index.js +4 -4
  16. package/dist/launch-invariants/index.js +8 -8
  17. package/dist/openui/index.js +3 -3
  18. package/dist/platform/index.js +12 -12
  19. package/dist/profile/index.js +1 -1
  20. package/dist/runtime/index.js +3 -3
  21. package/dist/runtime/router-turn.js +2 -2
  22. package/dist/sequences/index.js +5 -5
  23. package/dist/settings-react/index.js +1 -1
  24. package/dist/skills/index.js +3 -3
  25. package/dist/skills-placement/box.js +1 -1
  26. package/dist/skills-placement/index.js +1 -1
  27. package/dist/stories/chat-controls/fixtures.d.ts +0 -3
  28. package/dist/theme/tokens.css +10 -6
  29. package/dist/trace/index.d.ts +2 -2
  30. package/dist/trace/index.js +4 -2
  31. package/dist/trace/index.js.map +1 -1
  32. package/dist/trace/mission-flow.d.ts +1 -1
  33. package/dist/turn-stream/index.js +3 -3
  34. package/dist/web-react/index.js +10 -16
  35. package/dist/web-react/mission-activity.d.ts +1 -3
  36. package/dist/work-product/index.js +10 -10
  37. package/package.json +2 -7
  38. package/dist/chunk-BLCYKYFV.js +0 -346
  39. package/dist/chunk-BLCYKYFV.js.map +0 -1
  40. package/dist/chunk-GDUT72VK.js.map +0 -1
  41. package/dist/chunk-XTMRAE6I.js.map +0 -1
  42. package/dist/stories/chat-controls/discovery-waterfall-fixture.d.ts +0 -3
  43. package/dist/trace/flow-types.d.ts +0 -32
  44. package/dist/web-react/flow-waterfall-model.d.ts +0 -22
  45. package/dist/web-react/flow-waterfall.css +0 -72
  46. package/dist/web-react/flow-waterfall.d.ts +0 -14
  47. package/dist/web-react/flow-waterfall.js +0 -7
  48. package/dist/web-react/flow-waterfall.js.map +0 -1
  49. /package/dist/{chunk-BI5AZAOO.js.map → chunk-4P5NFBWX.js.map} +0 -0
  50. /package/dist/{chunk-U77HPL3I.js.map → chunk-LO6VQ35O.js.map} +0 -0
  51. /package/dist/{chunk-7D5MHMCP.js.map → chunk-VJBFCNAU.js.map} +0 -0
@@ -1,3 +0,0 @@
1
- import type { FlowTrace } from "../../trace";
2
- /** Recorded Discovery contract-canary trace; see discovery-waterfall-provenance.md. */
3
- export declare const discoveryWaterfallTrace: FlowTrace;
@@ -1,32 +0,0 @@
1
- /**
2
- * The shared FlowSpan / FlowTrace data shapes — the LEAF both the trace barrel
3
- * (`./index`, which builds + renders them) and the delegation converters
4
- * (`./mission-flow`, which emit them) import, so neither has to reach back
5
- * through the barrel. The barrel re-exports these names unchanged.
6
- */
7
- export interface FlowSpan {
8
- kind: 'pipeline' | 'model' | 'tool' | 'waiting' | 'handoff';
9
- /** Stable identity and parent identity for nested, incrementally updated traces. */
10
- id?: string;
11
- parentId?: string;
12
- /** Running spans extend from endMs to the viewer's observation time. */
13
- status?: 'running' | 'done' | 'failed';
14
- name: string;
15
- startMs: number;
16
- endMs: number;
17
- approx?: boolean;
18
- meta?: Record<string, unknown>;
19
- }
20
- /** Describe the structure of a flow trace including spans, timing, tokens, cost, and tool calls */
21
- export interface FlowTrace {
22
- spans: FlowSpan[];
23
- totalMs: number;
24
- promptTokens: number;
25
- completionTokens: number;
26
- /** Computed when per-token pricing is supplied. */
27
- costUsd?: number;
28
- toolCalls: number;
29
- /** Authoritative LLM request count when supplied; absent means unknown. */
30
- modelCalls?: number;
31
- errors?: number;
32
- }
@@ -1,22 +0,0 @@
1
- import type { FlowSpan, FlowTrace } from '../trace/flow-types';
2
- export interface WaterfallRow {
3
- id: string;
4
- parentId?: string;
5
- name: string;
6
- kind: FlowSpan['kind'];
7
- offsetPct: number;
8
- widthPct: number;
9
- durationLabel: string;
10
- approx: boolean;
11
- ok: boolean;
12
- depth: number;
13
- hasChildren: boolean;
14
- span: FlowSpan;
15
- }
16
- export declare function spanFailed(span: FlowSpan): boolean;
17
- export declare function spanRunning(span: FlowSpan): boolean;
18
- /** One geometry owner for the web surface and its established public helper.
19
- * Orphaned parents become roots; cycles are broken without dropping any span. */
20
- export declare function waterfallLayout(trace: FlowTrace): WaterfallRow[];
21
- /** Search keeps ancestor context and deliberately reveals matches inside collapsed branches. */
22
- export declare function visibleWaterfallRows(rows: WaterfallRow[], query: string, collapsed: Set<string>): WaterfallRow[];
@@ -1,72 +0,0 @@
1
- /* Standalone surface: consumes Brand/Agent App tokens; no Tailwind build required. */
2
- .fw-root {
3
- --fw-text: var(--text-primary, hsl(var(--foreground)));
4
- --fw-muted: var(--text-muted, hsl(var(--muted-foreground)));
5
- --fw-surface: var(--bg-card, hsl(var(--background)));
6
- --fw-border: var(--border-default, hsl(var(--border)));
7
- --fw-well: var(--md3-surface-container, hsl(var(--secondary)));
8
- --fw-accent: var(--accent-text, hsl(var(--primary)));
9
- color: var(--fw-text);
10
- background: var(--fw-surface);
11
- border: 1px solid var(--fw-border);
12
- border-radius: var(--radius-lg, .75rem);
13
- min-width: 0;
14
- font: inherit;
15
- font-size: .8125rem;
16
- line-height: 1.5;
17
- }
18
- .fw-root *, .fw-root *::before, .fw-root *::after { box-sizing: border-box; }
19
- .fw-root :is(p, dl, dd) { margin: 0; }
20
- .fw-root .fw-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem; border-bottom: 1px solid var(--fw-border); }
21
- .fw-root .fw-title { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .875rem; }
22
- .fw-root .fw-search { display: flex; min-width: 0; gap: .25rem; align-items: center; }
23
- .fw-root .fw-control { appearance: auto; font: inherit; font-size: .75rem; line-height: 1.4; min-height: 2rem; padding: .25rem .5rem; border: 1px solid var(--fw-border); border-radius: var(--radius-sm, .375rem); color: var(--fw-text); background: var(--fw-surface); cursor: pointer; }
24
- .fw-root .fw-control:hover, .fw-root .fw-toggle:hover { background: var(--fw-well); }
25
- .fw-root :is(button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--fw-accent); outline-offset: 2px; }
26
- .fw-root :is(button, input):disabled { opacity: .5; cursor: default; }
27
- .fw-root .fw-search-input { width: 10rem; min-width: 0; cursor: text; }
28
- .fw-root .fw-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1rem; padding: .75rem; border-bottom: 1px solid var(--fw-border); }
29
- .fw-root .fw-muted { color: var(--fw-muted); font-size: .75rem; }
30
- .fw-root .fw-value { margin-top: .125rem; font-family: var(--font-mono, monospace); font-size: .875rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
31
- .fw-root .fw-legend { display: flex; flex-wrap: wrap; gap: .25rem .75rem; padding: .5rem .75rem; border-bottom: 1px solid var(--fw-border); color: var(--fw-muted); font-size: .75rem; }
32
- .fw-root .fw-legend-item { display: inline-flex; align-items: center; gap: .25rem; }
33
- .fw-root .fw-dot { width: .375rem; height: .375rem; border-radius: 50%; }
34
- .fw-root .fw-orchestrator { background: var(--fw-muted); }
35
- .fw-root .fw-model { background: var(--chart-accent, hsl(var(--primary))); }
36
- .fw-root .fw-tool { background: var(--status-cold, hsl(var(--accent))); }
37
- .fw-root .fw-waiting { background: var(--status-stopped, hsl(var(--warning-strong))); }
38
- .fw-root .fw-handoff { background: var(--status-running, hsl(var(--success))); }
39
- .fw-root .fw-failed { background: var(--status-error, hsl(var(--destructive))); }
40
- .fw-root .fw-branches { display: flex; gap: .5rem; padding: .5rem .75rem 0; }
41
- .fw-root .fw-timeline { overflow-x: auto; padding: .75rem; }
42
- .fw-root .fw-track { min-width: 480px; }
43
- .fw-root .fw-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 70px; align-items: center; gap: .5rem; }
44
- .fw-root .fw-axis { padding-bottom: .5rem; color: var(--fw-muted); font-size: .75rem; }
45
- .fw-root .fw-ticks { display: flex; justify-content: space-between; font-family: var(--font-mono, monospace); font-variant-numeric: tabular-nums; }
46
- .fw-root .fw-align-right { text-align: right; }
47
- .fw-root .fw-empty { padding: 2rem .5rem; text-align: center; color: var(--fw-muted); font-size: .875rem; }
48
- .fw-root .fw-row { border-radius: .25rem; padding: .375rem 0; }
49
- .fw-root .fw-slowest { background: var(--fw-well); outline: 1px solid var(--fw-border); }
50
- .fw-root .fw-pending { opacity: .4; }
51
- .fw-root .fw-name { display: flex; align-items: center; min-width: 0; }
52
- .fw-root .fw-toggle { appearance: none; width: 1.5rem; height: 1.5rem; margin-right: .25rem; flex-shrink: 0; border: 0; border-radius: .25rem; background: transparent; color: var(--fw-text); font: inherit; cursor: pointer; }
53
- .fw-root .fw-leaf { margin-right: .25rem; width: 1.5rem; flex-shrink: 0; text-align: center; color: var(--fw-muted); }
54
- .fw-root .fw-span-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; }
55
- .fw-root .fw-error-text { color: var(--text-danger, var(--status-error)); }
56
- .fw-root .fw-bar-track { position: relative; height: 1rem; overflow: hidden; border-radius: .125rem; background: var(--fw-well); }
57
- .fw-root .fw-bar { position: absolute; top: 0; bottom: 0; border-radius: .125rem; }
58
- .fw-root .fw-approx { opacity: .7; }
59
- .fw-root .fw-playhead { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fw-text); }
60
- .fw-root .fw-duration { padding-right: .25rem; text-align: right; font-family: var(--font-mono, monospace); font-size: .75rem; font-variant-numeric: tabular-nums; }
61
- .fw-root .fw-slowest-caption { padding: 0 .75rem .5rem; color: var(--fw-muted); font-size: .75rem; overflow-wrap: anywhere; }
62
- .fw-root .fw-text { color: var(--fw-text); }
63
- .fw-root .fw-playback { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--fw-border); padding: .75rem; }
64
- .fw-root .fw-speed, .fw-root .fw-position { display: flex; align-items: center; gap: .25rem; color: var(--fw-muted); font-size: .75rem; }
65
- .fw-root .fw-position { flex: 1; min-width: 6rem; gap: .5rem; }
66
- .fw-root .fw-slider { min-width: 0; flex: 1; accent-color: var(--fw-accent); }
67
- .fw-root .fw-time { font-family: var(--font-mono, monospace); font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--fw-muted); }
68
- .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; }
69
- @media (max-width: 480px) {
70
- .fw-root .fw-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
71
- .fw-root .fw-position { flex-basis: 100%; }
72
- }
@@ -1,14 +0,0 @@
1
- import type { FlowTrace } from '../trace/flow-types';
2
- export interface FlowWaterfallProps {
3
- trace: FlowTrace;
4
- /** Extend running spans between incoming snapshots. Inferred from span status by default. */
5
- live?: boolean;
6
- /** Epoch-ms origin when the producer supplies one; otherwise advance from the latest snapshot. */
7
- startedAt?: number;
8
- /** Accessible name also distinguishes multiple waterfalls on one page. */
9
- label?: string;
10
- /** Fold all branches on first mount for large traces; search still reveals matches. */
11
- defaultCollapsed?: boolean;
12
- }
13
- /** Shared trace inspector. Data remains producer-owned; playback only clips its presentation. */
14
- export declare function FlowWaterfall({ trace, live, startedAt, label, defaultCollapsed }: FlowWaterfallProps): import("react").JSX.Element;
@@ -1,7 +0,0 @@
1
- import {
2
- FlowWaterfall
3
- } from "../chunk-BLCYKYFV.js";
4
- export {
5
- FlowWaterfall
6
- };
7
- //# sourceMappingURL=flow-waterfall.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}