@peasant-labs/fairtrade 0.0.18 → 0.0.19
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/README.md +11 -2
- package/THIRD_PARTY_NOTICES.md +31 -0
- package/dist/lib/{GraphLegend-D9bZVLfT.js → GraphLegend-BB0V2w59.js} +18 -7
- package/dist/lib/commons.js +2 -2
- package/dist/lib/components.css +1 -1
- package/dist/lib/graph.js +1 -1
- package/dist/lib/types/BrandMark.d.ts +2 -2
- package/dist/lib/types/commons/providers.d.ts +1 -1
- package/dist/lib/types/provider-policy.d.ts +2 -2
- package/dist/lib/types/transcript/UsageDisclosure.d.ts +8 -0
- package/dist/lib/types/transcript/analytics.d.ts +3 -6
- package/dist/lib/types/transcript/state-capabilities.d.ts +2 -1
- package/dist/lib/types/transcript/usage.d.ts +19 -0
- package/dist/lib/types/transcript/view-model.d.ts +39 -0
- package/dist/lib/{ui-BtpmsgDx.js → ui-DkPbLhcp.js} +2306 -2126
- package/dist/lib/ui.js +2 -2
- package/package.json +16 -9
package/dist/lib/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gt as x, H as S, Hn as C, Ht as w, I as T, In as E, It as D, J as O, Jt as k, K as A, Kt as j, L as M, Ln as N, Lt as P, M as F, Mn as I, Mt as L, N as R, Nn as z, Nt as B, O as V, On as H, Ot as U, P as W, Pn as G, Pt as K, Q as q, Qt as J, R as Y, Rn as X, Rt as Z, S as Q, Sn as $, St as ee, T as te, Tn as ne, Tt as re, U as ie, Un as ae, Ut as oe, V as se, Vn as ce, Vt as le, W as ue, Wt as de, X as fe, Xt as pe, Y as me, Yt as he, Z as ge, Zt as _e, _ as ve, _n as ye, _t as be, a as xe, an as Se, at as Ce, b as we, bn as Te, bt as Ee, c as De, cn as Oe, ct as ke, d as Ae, dn as je, dt as Me, en as Ne, et as Pe, f as Fe, fn as Ie, ft as Le, g as Re, gn as ze, gt as Be, h as Ve, hn as He, ht as Ue, i as We, in as Ge, it as Ke, j as qe, jn as Je, jt as Ye, k as Xe, kn as Ze, kt as Qe, l as $e, ln as et, lt as tt, m as nt, mn as rt, mt as it, n as at, nn as ot, nt as st, o as ct, on as lt, ot as ut, p as dt, pn as ft, pt, q as mt, qt as ht, r as gt, rn as _t, rt as vt, s as yt, sn as bt, st as xt, t as St, tn as Ct, tt as wt, u as Tt, un as Et, ut as Dt, v as Ot, vn as kt, vt as At, w as jt, wn as Mt, wt as Nt, x as Pt, xn as Ft, xt as It, y as Lt, yn as Rt, yt as zt, z as Bt, zn as Vt, zt as Ht } from "./ui-
|
|
2
|
-
import { $ as Ut, Ct as Wt, St as Gt, _t as Kt, a as qt, bt as Jt, c as Yt, ct as Xt, d as Zt, dt as Qt, et as $t, f as en, ft as tn, gt as nn, ht as rn, i as an, l as on, lt as sn, m as cn, mt as ln, n as un, o as dn, p as fn, pt as pn, r as mn, s as hn, st as gn, t as _n, u as vn, ut as yn, vt as bn, xt as xn, yt as Sn } from "./GraphLegend-
|
|
1
|
+
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gt as x, H as S, Hn as C, Ht as w, I as T, In as E, It as D, J as O, Jt as k, K as A, Kt as j, L as M, Ln as N, Lt as P, M as F, Mn as I, Mt as L, N as R, Nn as z, Nt as B, O as V, On as H, Ot as U, P as W, Pn as G, Pt as K, Q as q, Qt as J, R as Y, Rn as X, Rt as Z, S as Q, Sn as $, St as ee, T as te, Tn as ne, Tt as re, U as ie, Un as ae, Ut as oe, V as se, Vn as ce, Vt as le, W as ue, Wt as de, X as fe, Xt as pe, Y as me, Yt as he, Z as ge, Zt as _e, _ as ve, _n as ye, _t as be, a as xe, an as Se, at as Ce, b as we, bn as Te, bt as Ee, c as De, cn as Oe, ct as ke, d as Ae, dn as je, dt as Me, en as Ne, et as Pe, f as Fe, fn as Ie, ft as Le, g as Re, gn as ze, gt as Be, h as Ve, hn as He, ht as Ue, i as We, in as Ge, it as Ke, j as qe, jn as Je, jt as Ye, k as Xe, kn as Ze, kt as Qe, l as $e, ln as et, lt as tt, m as nt, mn as rt, mt as it, n as at, nn as ot, nt as st, o as ct, on as lt, ot as ut, p as dt, pn as ft, pt, q as mt, qt as ht, r as gt, rn as _t, rt as vt, s as yt, sn as bt, st as xt, t as St, tn as Ct, tt as wt, u as Tt, un as Et, ut as Dt, v as Ot, vn as kt, vt as At, w as jt, wn as Mt, wt as Nt, x as Pt, xn as Ft, xt as It, y as Lt, yn as Rt, yt as zt, z as Bt, zn as Vt, zt as Ht } from "./ui-DkPbLhcp.js";
|
|
2
|
+
import { $ as Ut, Ct as Wt, St as Gt, _t as Kt, a as qt, bt as Jt, c as Yt, ct as Xt, d as Zt, dt as Qt, et as $t, f as en, ft as tn, gt as nn, ht as rn, i as an, l as on, lt as sn, m as cn, mt as ln, n as un, o as dn, p as fn, pt as pn, r as mn, s as hn, st as gn, t as _n, u as vn, ut as yn, vt as bn, xt as xn, yt as Sn } from "./GraphLegend-BB0V2w59.js";
|
|
3
3
|
import { n as Cn, t as wn } from "./ChartLine-Cycmpjep.js";
|
|
4
4
|
export { gn as AccentLegend, _t as Accordion, Ye as ApprovalBar, Ie as Avatar, ft as AvatarGroup, Gt as BrandMark, $ as Breadcrumb, ce as Button, C as ButtonGroup, ne as Card, h as CardImg, Cn as ChartBar, wn as ChartLine, G as Checkbox, zt as CheckpointMarker, Ze as Chip, ke as CliSteps, tt as CommandBlock, x as CommandPalette, $t as CommitGraph, U as ConfirmInline, it as ConnectionPill, K as ConsentDialog, y as ConsentSummary, r as CountBadge, ht as DATE_PRESETS, Qe as DangerZone, Ue as DataState, Se as DataTable, k as DateRange, he as DateRangeCalendar, j as Dialog, Ut as DiffView, mt as ENTRY_TYPES, je as EmptyState, Nt as EvidenceCaption, re as EvidenceTarget, Z as Explainer, xt as FacetRail, lt as FeedbackPanel, N as Field, Je as FilterChip, e as FocusedModeToggle, dn as GRAPH_APP_SECTIONS, _n as GRAPH_LEGEND_ITEMS, Dt as GettingStarted, vt as GovTile, hn as GraphAppShell, un as GraphLegend, Yt as GraphSectionNav, mn as GraphSubagentBranch, an as GraphToolNode, qt as GraphTurnNode, g as GroupedMultiSelect, O as HARNESSES, Me as HandleClaim, tn as Heatmap, on as IN_USE_APPS, vn as InUseShell, X as Input, pn as IntensityScope, ln as IntensitySwatch, rt as Kbd, He as KbdChord, cn as MapCanvas, rn as MapNode, Rt as Menu, f as MetaItem, L as ModerationQueue, Le as OnboardingCard, Xt as PROVIDER_ACCENT, Ft as Pager, Te as Pagination, Ee as Phase, It as PhaseDivider, B as PolicySelect, ye as Popover, bt as Progress, Ke as ProviderBars, sn as ProviderIcon, yn as ProviderName, Qt as ProviderTag, me as ROLES, v as Radio, E as RadioGroup, Zt as RailSection, en as RailShell, nn as RampLegend, D as RedactionReview, i as RoleRoster, H as Row, fe as SESSION_OUTCOMES, ge as STOP_REASONS, Pe as ScopeChip, ae as Segmented, Vt as Select, pt as SignInProviders, Oe as Skeleton, Ge as Sparkline, et as Spinner, fn as SplitRail, Ce as StatGrid, ut as StatTile, I as StatusDot, le as StepIndicator, w as StepWizard, l as Steps, p as StepsWaterfall, z as Switch, q as TOOL_CALL_KINDS, A as TOOL_GROUPS, Mt as Tabs, ze as Tag, ee as TaskBoundary, Be as TeachingEmptyState, Ht as Term, o as Textarea, t as ThinkingBlock, s as TimeStrip, Ne as Timeline, Ct as TimelineItem, Et as Toast, _e as ToastProvider, ot as ToolCall, At as ToolCallRenderer, kt as Tooltip, be as Tour, nt as TranscriptCheckRow, Q as TranscriptDiffEntryCard, c as TranscriptDiffHunks, Ve as TranscriptFilterSection, Fe as TranscriptFiltersRail, $e as TranscriptLabelPopover, te as TranscriptMarkdown, ve as TranscriptOutcomeChip, Re as TranscriptOutlineRail, Tt as TranscriptScorecard, Ae as TranscriptScrubber, Pt as TranscriptTaskBody, jt as TranscriptThinking, we as TranscriptToolBody, Lt as TranscriptToolCall, Ot as TranscriptTurnCard, dt as TranscriptViewSwitch, St as TranscriptViewer, oe as Treemap, u as TurnContextBar, wt as VisibilityEye, st as VisibilitySegmented, P as WhereDoesThisGo, R as adaptTranscript, gt as advanceTranscriptInitialPositionConsumption, T as annotateTranscript, M as assessScorecard, Y as buildTaskWaterfall, m as composeSessionTitle, Bt as computeAnalytics, a as computePersonalMedians, se as computeTaskGroups, S as computeTasks, ie as computeTurnLabels, Kt as coverageLevel, ue as detectPhases, W as diffLines, bn as effortLevel, Xe as formatDateLong, n as formatDurationMins, pe as formatRange, qe as formatRelative, Sn as locSize, F as nextNavTurn, We as normalizeTranscriptInitialPosition, b as phaseLabel, _ as prefilterTurns, d as projectLabel, Jt as providerAccent, xn as providerDisplayName, Wt as resolveBrand, xe as resolveTranscriptInitialPosition, ct as shouldApplyTranscriptInitialPosition, de as squarify, V as summarizePrompt, yt as transcriptInitialPositionReadiness, De as transcriptInitialPositionToken, J as useToast, at as useTranscriptInitialPosition };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peasant-labs/fairtrade",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.19",
|
|
5
5
|
"description": "Fairtrade design-system library: canonical tokens, base styles, component CSS, and React UI exports.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/peasant-labs/fairtrade-design-system"
|
|
11
11
|
},
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
13
|
+
"node": ">=26"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -59,18 +59,21 @@
|
|
|
59
59
|
"files": [
|
|
60
60
|
"dist/lib",
|
|
61
61
|
"LICENSE",
|
|
62
|
+
"THIRD_PARTY_NOTICES.md",
|
|
62
63
|
"README.md"
|
|
63
64
|
],
|
|
64
65
|
"sideEffects": [
|
|
65
66
|
"*.css"
|
|
66
67
|
],
|
|
67
|
-
"packageManager": "pnpm@
|
|
68
|
+
"packageManager": "pnpm@11.24.0",
|
|
68
69
|
"scripts": {
|
|
69
70
|
"dev": "vite",
|
|
70
71
|
"contrast": "node scripts/contrast.mjs",
|
|
71
72
|
"llm": "node scripts/gen-llm-artifacts.mjs",
|
|
72
73
|
"test:package-provenance": "node scripts/assert-package-provenance.mjs && node scripts/package-provenance.test.mjs",
|
|
73
74
|
"test:release-guard": "node --test scripts/release-guard.test.mjs",
|
|
75
|
+
"test:release-notes": "node scripts/release-notes.test.mjs",
|
|
76
|
+
"test:release-notes:mutations": "node scripts/release-notes.mutations.mjs",
|
|
74
77
|
"prebuild:lib": "pnpm test:release-guard",
|
|
75
78
|
"gen:check": "node scripts/gen-llm-artifacts.mjs && git diff --exit-code public/tokens.json public/components.json packages/tokens/tokens.css packages/tokens/tokens.json packages/tokens/base.css packages/tokens/fonts.css",
|
|
76
79
|
"build:app": "node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build",
|
|
@@ -100,6 +103,10 @@
|
|
|
100
103
|
"test:explore-page-intent": "node scripts/explore-page-intent.render.test.mjs",
|
|
101
104
|
"test:explore-page-intent:mutations": "node scripts/explore-page-intent.mutations.mjs",
|
|
102
105
|
"test:transcript-schema-adapter": "node scripts/transcript-schema-adapter.test.mjs",
|
|
106
|
+
"test:pi-transcript": "node scripts/pi-transcript.test.mjs",
|
|
107
|
+
"test:pi-transcript:mutations": "node scripts/pi-transcript.mutations.mjs",
|
|
108
|
+
"test:pi-transcript:mounted": "PI_MOUNTED_TEST=1 node scripts/pi-transcript.test.mjs",
|
|
109
|
+
"test:pi-transcript:visual": "node scripts/pi-transcript.probe.mjs",
|
|
103
110
|
"test:transcript-schema-adapter:mutations": "node scripts/transcript-schema-adapter.mutations.mjs",
|
|
104
111
|
"test:transcript-filters": "node scripts/transcript-filters.test.mjs",
|
|
105
112
|
"test:transcript-turn-model": "node scripts/transcript-turn-model.test.mjs",
|
|
@@ -114,7 +121,7 @@
|
|
|
114
121
|
"test:transcript-outcome-chip:mutations": "node scripts/transcript-outcome-chip.mutations.mjs",
|
|
115
122
|
"test:transcript-viewer-outcome": "node scripts/transcript-viewer-outcome.test.mjs",
|
|
116
123
|
"test:transcript-viewer-outcome:mutations": "node scripts/transcript-viewer-outcome.mutations.mjs",
|
|
117
|
-
"test:gates": "pnpm test:structured-shiki && node scripts/gates.test.mjs && node scripts/turns-to-flow-edges.test.mjs && pnpm test:transcript-helpers && pnpm test:transcript-outcome-chip && pnpm test:transcript-viewer-outcome",
|
|
124
|
+
"test:gates": "pnpm test:structured-shiki && pnpm test:pi-transcript && pnpm test:pi-transcript:mutations && node scripts/gates.test.mjs && node scripts/turns-to-flow-edges.test.mjs && pnpm test:transcript-helpers && pnpm test:transcript-outcome-chip && pnpm test:transcript-viewer-outcome && pnpm test:release-notes",
|
|
118
125
|
"test:analytics": "node src/ui/analytics/metrics.test.mjs",
|
|
119
126
|
"test:mobile-layout": "node scripts/mobile-layout.test.mjs",
|
|
120
127
|
"test:transcript-composite-width": "node scripts/transcript-composite-width.test.mjs",
|
|
@@ -127,12 +134,12 @@
|
|
|
127
134
|
"smoke:changes": "node scripts/smoke-changes.mjs",
|
|
128
135
|
"test:changes-overflow": "node scripts/changes-overflow.test.mjs",
|
|
129
136
|
"shoot:manage": "node scripts/shootmanage.mjs",
|
|
130
|
-
"build:lib": "pnpm test:package-provenance && pnpm test:contract && pnpm test:runtime-floor && pnpm test:code-map-state && pnpm test:code-map-ranking && pnpm test:code-map-ranking:mutations && pnpm test:code-map-ranking:bench && pnpm test:timeline-encoding-channels && pnpm test:timeline-highlight && pnpm test:code-map-interactions && pnpm test:code-map-drag-smoothness && pnpm test:code-map-wheel-zoom && pnpm test:code-map-descent-feedback && pnpm test:timeline-navigation && pnpm test:transcript-initial-position && pnpm test:transcript-initial-position:render && pnpm test:transcript-initial-position:mutations && pnpm test:transcript-header-condense && pnpm test:transcript-header-condense:mutations && pnpm test:explore-page-intent && pnpm test:explore-page-intent:mutations && pnpm test:gates && pnpm test:transcript-helpers:mutations && pnpm test:transcript-outcome-chip:mutations && pnpm test:transcript-viewer-outcome:mutations && node src/ui/analytics/metrics.test.mjs && node scripts/mobile-layout.test.mjs && node scripts/transcript-composite-width.test.mjs && node scripts/css-token-lint.mjs && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build --config vite.lib.config.js && vite build --config vite.lib-css.config.js && node scripts/finalize-lib-build.mjs && tsc -p tsconfig.lib.json && node scripts/smoke-lib.mjs && node scripts/smoke-transcript.mjs && node scripts/smoke-transcript-ui.mjs && pnpm test:transcript-markdown && pnpm test:transcript-markdown:mutations && pnpm test:graph-contract-enums && pnpm test:transcript-schema-adapter && pnpm test:transcript-schema-adapter:mutations && pnpm test:transcript-filters && pnpm test:transcript-turn-model && pnpm test:transcript-turn-model:mutations && pnpm test:provider-harnesses && pnpm test:provider-harnesses:mutations && node scripts/smoke-map.mjs && node scripts/smoke-changes.mjs && pnpm test:changes-overflow && pnpm test:timeline-a11y && pnpm test:timeline-ghosts && pnpm test:insight-panel && node scripts/contrast.mjs --css dist/lib/tokens.css && node scripts/assert-pack-contents.mjs",
|
|
137
|
+
"build:lib": "pnpm test:package-provenance && pnpm test:contract && pnpm test:runtime-floor && pnpm test:code-map-state && pnpm test:code-map-ranking && pnpm test:code-map-ranking:mutations && pnpm test:code-map-ranking:bench && pnpm test:timeline-encoding-channels && pnpm test:timeline-highlight && pnpm test:code-map-interactions && pnpm test:code-map-drag-smoothness && pnpm test:code-map-wheel-zoom && pnpm test:code-map-descent-feedback && pnpm test:timeline-navigation && pnpm test:transcript-initial-position && pnpm test:transcript-initial-position:render && pnpm test:transcript-initial-position:mutations && pnpm test:transcript-header-condense && pnpm test:transcript-header-condense:mutations && pnpm test:explore-page-intent && pnpm test:explore-page-intent:mutations && pnpm test:gates && pnpm test:transcript-helpers:mutations && pnpm test:transcript-outcome-chip:mutations && pnpm test:transcript-viewer-outcome:mutations && pnpm test:release-notes:mutations && node src/ui/analytics/metrics.test.mjs && node scripts/mobile-layout.test.mjs && node scripts/transcript-composite-width.test.mjs && node scripts/css-token-lint.mjs && node scripts/gen-llm-artifacts.mjs && node scripts/contrast.mjs && vite build --config vite.lib.config.js && vite build --config vite.lib-css.config.js && node scripts/finalize-lib-build.mjs && tsc -p tsconfig.lib.json && node scripts/smoke-lib.mjs && node scripts/smoke-transcript.mjs && node scripts/smoke-transcript-ui.mjs && pnpm test:transcript-markdown && pnpm test:transcript-markdown:mutations && pnpm test:graph-contract-enums && pnpm test:transcript-schema-adapter && pnpm test:transcript-schema-adapter:mutations && pnpm test:transcript-filters && pnpm test:transcript-turn-model && pnpm test:transcript-turn-model:mutations && pnpm test:provider-harnesses && pnpm test:provider-harnesses:mutations && node scripts/smoke-map.mjs && node scripts/smoke-changes.mjs && pnpm test:changes-overflow && pnpm test:timeline-a11y && pnpm test:timeline-ghosts && pnpm test:insight-panel && node scripts/contrast.mjs --css dist/lib/tokens.css && node scripts/assert-pack-contents.mjs",
|
|
131
138
|
"pack:check": "node scripts/assert-pack-contents.mjs",
|
|
132
139
|
"smoke:tarball": "node scripts/smoke-tarball.mjs",
|
|
133
140
|
"oracle:graph": "node scripts/graph-oracle.mjs",
|
|
134
141
|
"oracle:graph:check": "node scripts/check-graph-oracle.mjs",
|
|
135
|
-
"prepack": "pnpm build:lib",
|
|
142
|
+
"prepack": "pnpm build:lib && pnpm test:pi-transcript:mounted",
|
|
136
143
|
"build": "pnpm build:app",
|
|
137
144
|
"preview": "vite preview",
|
|
138
145
|
"storybook": "storybook dev -p 6006",
|
|
@@ -142,7 +149,7 @@
|
|
|
142
149
|
"test:turns-to-flow-edges": "node scripts/turns-to-flow-edges.test.mjs"
|
|
143
150
|
},
|
|
144
151
|
"dependencies": {
|
|
145
|
-
"@peasant-labs/schema": "0.
|
|
152
|
+
"@peasant-labs/schema": "0.18.0",
|
|
146
153
|
"@tanstack/react-table": "^8.21.3",
|
|
147
154
|
"lucide": "^1.20.0",
|
|
148
155
|
"lucide-react": "^1.18.0",
|
|
@@ -152,9 +159,9 @@
|
|
|
152
159
|
"remark-gfm": "4.0.1"
|
|
153
160
|
},
|
|
154
161
|
"peerDependencies": {
|
|
162
|
+
"@xyflow/react": "^12.0.0",
|
|
155
163
|
"react": ">=19.0.0 <20",
|
|
156
|
-
"react-dom": ">=19.0.0 <20"
|
|
157
|
-
"@xyflow/react": "^12.0.0"
|
|
164
|
+
"react-dom": ">=19.0.0 <20"
|
|
158
165
|
},
|
|
159
166
|
"devDependencies": {
|
|
160
167
|
"@storybook/addon-a11y": "^10.4.6",
|