@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.
Files changed (27) hide show
  1. package/dist/lib/{InUseShell-CY5Acw6t.js → GraphLegend-D9bZVLfT.js} +764 -553
  2. package/dist/lib/commons.js +139 -139
  3. package/dist/lib/graph.css +1 -1
  4. package/dist/lib/graph.js +921 -359
  5. package/dist/lib/types/graph/index.d.ts +16 -0
  6. package/dist/lib/types/transcript/CheckRow.d.ts +3 -1
  7. package/dist/lib/types/transcript/OutcomeChip.d.ts +18 -0
  8. package/dist/lib/types/transcript/filters.d.ts +127 -0
  9. package/dist/lib/types/transcript/graph/engine/GraphControls.d.ts +13 -0
  10. package/dist/lib/types/transcript/graph/engine/TrajectoryGraph.d.ts +18 -0
  11. package/dist/lib/types/transcript/graph/engine/TrajectoryGraphLegend.d.ts +18 -0
  12. package/dist/lib/types/transcript/graph/engine/constants.d.ts +37 -0
  13. package/dist/lib/types/transcript/graph/engine/index.d.ts +23 -0
  14. package/dist/lib/types/transcript/graph/engine/nodes/SubagentBranchNode.d.ts +11 -0
  15. package/dist/lib/types/transcript/graph/engine/nodes/ToolPillNode.d.ts +11 -0
  16. package/dist/lib/types/transcript/graph/engine/nodes/TurnCardNode.d.ts +11 -0
  17. package/dist/lib/types/transcript/graph/engine/turnsToFlow.d.ts +47 -0
  18. package/dist/lib/types/transcript/graph/engine/types.d.ts +131 -0
  19. package/dist/lib/types/transcript/graph/engine/useCanvasSync.d.ts +17 -0
  20. package/dist/lib/types/transcript/index.d.ts +5 -0
  21. package/dist/lib/types/transcript/time.d.ts +22 -0
  22. package/dist/lib/types/transcript/title.d.ts +48 -0
  23. package/dist/lib/types/transcript/turnNav.d.ts +9 -0
  24. package/dist/lib/types/transcript/view-model.d.ts +22 -0
  25. package/dist/lib/{ui-CLo_683m.js → ui-BtpmsgDx.js} +2564 -2533
  26. package/dist/lib/ui.js +4 -4
  27. 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.