@lunora/angular 1.0.0-alpha.98 → 1.0.0-alpha.99

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
@@ -23,8 +23,12 @@ type AgentThreadStatus = "awaiting_input" | "cancelled" | "error" | "idle" | "ru
23
23
  */
24
24
  interface AgentThreadRecord {
25
25
  createdAt?: number;
26
- /** The failure message when `status === "error"`. */
27
- error?: string;
26
+ /**
27
+ * The failure message when `status === "error"`, `null` once a later run
28
+ * cleared it, absent on a thread that has never failed. Read it for
29
+ * truthiness — `null` and absent both mean "no error".
30
+ */
31
+ error?: null | string;
28
32
  /** The workflow instance id of the in-flight run — the handle `cancel` targets. */
29
33
  instanceId?: string;
30
34
  messageCount?: number;
package/dist/index.d.ts CHANGED
@@ -23,8 +23,12 @@ type AgentThreadStatus = "awaiting_input" | "cancelled" | "error" | "idle" | "ru
23
23
  */
24
24
  interface AgentThreadRecord {
25
25
  createdAt?: number;
26
- /** The failure message when `status === "error"`. */
27
- error?: string;
26
+ /**
27
+ * The failure message when `status === "error"`, `null` once a later run
28
+ * cleared it, absent on a thread that has never failed. Read it for
29
+ * truthiness — `null` and absent both mean "no error".
30
+ */
31
+ error?: null | string;
28
32
  /** The workflow instance id of the in-flight run — the handle `cancel` targets. */
29
33
  instanceId?: string;
30
34
  messageCount?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/angular",
3
- "version": "1.0.0-alpha.98",
3
+ "version": "1.0.0-alpha.99",
4
4
  "description": "Angular reactive adapter for Lunora — signal-based live queries and mutations",
5
5
  "keywords": [
6
6
  "angular",