@lunora/solid 1.0.0-alpha.119 → 1.0.0-alpha.120

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/index.d.mts CHANGED
@@ -85,8 +85,12 @@ type AgentThreadStatus = "awaiting_input" | "cancelled" | "error" | "idle" | "ru
85
85
  */
86
86
  interface AgentThreadRecord {
87
87
  createdAt?: number;
88
- /** The failure message when `status === "error"`. */
89
- error?: string;
88
+ /**
89
+ * The failure message when `status === "error"`, `null` once a later run
90
+ * cleared it, absent on a thread that has never failed. Read it for
91
+ * truthiness — `null` and absent both mean "no error".
92
+ */
93
+ error?: null | string;
90
94
  /** The workflow instance id of the in-flight run — the handle `cancel` targets. */
91
95
  instanceId?: string;
92
96
  messageCount?: number;
package/dist/index.d.ts CHANGED
@@ -85,8 +85,12 @@ type AgentThreadStatus = "awaiting_input" | "cancelled" | "error" | "idle" | "ru
85
85
  */
86
86
  interface AgentThreadRecord {
87
87
  createdAt?: number;
88
- /** The failure message when `status === "error"`. */
89
- error?: string;
88
+ /**
89
+ * The failure message when `status === "error"`, `null` once a later run
90
+ * cleared it, absent on a thread that has never failed. Read it for
91
+ * truthiness — `null` and absent both mean "no error".
92
+ */
93
+ error?: null | string;
90
94
  /** The workflow instance id of the in-flight run — the handle `cancel` targets. */
91
95
  instanceId?: string;
92
96
  messageCount?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/solid",
3
- "version": "1.0.0-alpha.119",
3
+ "version": "1.0.0-alpha.120",
4
4
  "description": "SolidJS adapter for Lunora — live queries, optimistic mutations, and reactive loaders",
5
5
  "keywords": [
6
6
  "cloudflare",