@tangle-network/ui 11.51.3 → 11.51.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @tangle-network/ui
2
2
 
3
+ ## 11.51.4
4
+
5
+ - Normalize retained record lifecycle aliases through the shared status vocabulary; stopped and absent terminal states remain distinct from success.
6
+
3
7
  ## 11.51.3
4
8
 
5
9
  ### Patch Changes
@@ -46,6 +46,7 @@ const META = {
46
46
  };
47
47
  const ALIASES = {
48
48
  active: "running",
49
+ working: "running",
49
50
  in_progress: "running",
50
51
  "in-progress": "running",
51
52
  streaming: "running",
@@ -56,6 +57,7 @@ const ALIASES = {
56
57
  needs_you: "needs-you",
57
58
  needs_input: "needs-you",
58
59
  awaiting_input: "needs-you",
60
+ winner: "done",
59
61
  completed: "done",
60
62
  complete: "done",
61
63
  success: "done",
@@ -63,6 +65,9 @@ const ALIASES = {
63
65
  shipped: "done",
64
66
  error: "failed",
65
67
  errored: "failed",
68
+ "driver-failed": "failed",
69
+ down: "stopped",
70
+ "no-winner": "stopped",
66
71
  cancelled: "stopped",
67
72
  canceled: "stopped",
68
73
  aborted: "stopped"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/ui",
3
- "version": "11.51.3",
3
+ "version": "11.51.4",
4
4
  "description": "Generic React UI components for Tangle products — primitives, chat, run, files, editor, markdown.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -167,7 +167,7 @@
167
167
  "peerDependencies": {
168
168
  "@hocuspocus/provider": ">=2.15.0 <5.0.0",
169
169
  "@nanostores/react": ">=0.8.4 <3.0.0",
170
- "@tangle-network/brand": "^1.31.2",
170
+ "@tangle-network/brand": "^1.31.3",
171
171
  "@tiptap/core": ">=3.20.4 <4.0.0",
172
172
  "@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
173
173
  "@tiptap/extension-collaboration-caret": ">=3.7.0 <4.0.0",
@@ -42,12 +42,12 @@ const META: Record<RunStatus, StatusMeta> = {
42
42
 
43
43
  // The vocabularies ui and its products already speak, so each maps here once.
44
44
  const ALIASES: Record<string, RunStatus> = {
45
- active: "running", in_progress: "running", "in-progress": "running", streaming: "running",
45
+ active: "running", working: "running", in_progress: "running", "in-progress": "running", streaming: "running",
46
46
  pending: "waiting", queued: "waiting", blocked: "waiting",
47
47
  "attention-needed": "needs-you", needs_you: "needs-you", needs_input: "needs-you", awaiting_input: "needs-you",
48
- completed: "done", complete: "done", success: "done", succeeded: "done", shipped: "done",
49
- error: "failed", errored: "failed",
50
- cancelled: "stopped", canceled: "stopped", aborted: "stopped",
48
+ winner: "done", completed: "done", complete: "done", success: "done", succeeded: "done", shipped: "done",
49
+ error: "failed", errored: "failed", "driver-failed": "failed",
50
+ down: "stopped", "no-winner": "stopped", cancelled: "stopped", canceled: "stopped", aborted: "stopped",
51
51
  };
52
52
 
53
53
  /** Any status string as a `RunStatus`; a value nothing names reads as Unknown, never as a guess. */