@peasant-labs/fairtrade 0.0.16 → 0.0.18
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/lib/{InUseShell-CY5Acw6t.js → GraphLegend-D9bZVLfT.js} +764 -553
- package/dist/lib/commons.js +139 -139
- package/dist/lib/graph.css +1 -1
- package/dist/lib/graph.js +921 -359
- package/dist/lib/types/graph/index.d.ts +16 -0
- package/dist/lib/types/transcript/CheckRow.d.ts +3 -1
- package/dist/lib/types/transcript/OutcomeChip.d.ts +18 -0
- package/dist/lib/types/transcript/filters.d.ts +127 -0
- package/dist/lib/types/transcript/graph/engine/GraphControls.d.ts +13 -0
- package/dist/lib/types/transcript/graph/engine/TrajectoryGraph.d.ts +18 -0
- package/dist/lib/types/transcript/graph/engine/TrajectoryGraphLegend.d.ts +18 -0
- package/dist/lib/types/transcript/graph/engine/constants.d.ts +37 -0
- package/dist/lib/types/transcript/graph/engine/index.d.ts +23 -0
- package/dist/lib/types/transcript/graph/engine/nodes/SubagentBranchNode.d.ts +11 -0
- package/dist/lib/types/transcript/graph/engine/nodes/ToolPillNode.d.ts +11 -0
- package/dist/lib/types/transcript/graph/engine/nodes/TurnCardNode.d.ts +11 -0
- package/dist/lib/types/transcript/graph/engine/turnsToFlow.d.ts +47 -0
- package/dist/lib/types/transcript/graph/engine/types.d.ts +131 -0
- package/dist/lib/types/transcript/graph/engine/useCanvasSync.d.ts +17 -0
- package/dist/lib/types/transcript/index.d.ts +5 -0
- package/dist/lib/types/transcript/time.d.ts +22 -0
- package/dist/lib/types/transcript/title.d.ts +48 -0
- package/dist/lib/types/transcript/turnNav.d.ts +9 -0
- package/dist/lib/types/transcript/view-model.d.ts +22 -0
- package/dist/lib/{ui-CLo_683m.js → ui-BtpmsgDx.js} +2564 -2533
- package/dist/lib/ui.js +4 -4
- package/package.json +20 -5
|
@@ -328,6 +328,28 @@ export type AnnotationVM = {
|
|
|
328
328
|
preview?: string;
|
|
329
329
|
isPrimary?: boolean;
|
|
330
330
|
};
|
|
331
|
+
/**
|
|
332
|
+
* A manual label applied to a single turn (entry), in the general host-defined
|
|
333
|
+
* taxonomy shape (arbitrary `typeId`/`typeName`/`value`) — distinct from the
|
|
334
|
+
* composite viewer's own `SavedLabel` (state-capabilities.js), which is the
|
|
335
|
+
* narrower fixed outcome/flag shape `LabelPopover` writes into `savedLabels`.
|
|
336
|
+
* `TurnLabel` is the framework-agnostic wire shape a host app's own annotation
|
|
337
|
+
* model maps to/from when it manages labelling outside the composite viewer.
|
|
338
|
+
* `id` is empty for an optimistic, not-yet-persisted label.
|
|
339
|
+
*/
|
|
340
|
+
export type TurnLabel = {
|
|
341
|
+
/**
|
|
342
|
+
* the entry index this label targets (`turn.index`)
|
|
343
|
+
*/
|
|
344
|
+
entryIndex: number;
|
|
345
|
+
typeId: string;
|
|
346
|
+
typeName: string;
|
|
347
|
+
value: string;
|
|
348
|
+
/**
|
|
349
|
+
* host-assigned id; empty string for an optimistic pre-save
|
|
350
|
+
*/
|
|
351
|
+
id: string;
|
|
352
|
+
};
|
|
331
353
|
/**
|
|
332
354
|
* One file in the Files tab, with cooked churn. The adapter aggregates per-file
|
|
333
355
|
* reads/writes/edits/deletes across all tool calls.
|