@lunora/vue 1.0.0-alpha.151 → 1.0.0-alpha.153

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
@@ -160,8 +160,12 @@ type AgentThreadStatus = "awaiting_input" | "cancelled" | "error" | "idle" | "ru
160
160
  */
161
161
  interface AgentThreadRecord {
162
162
  createdAt?: number;
163
- /** The failure message when `status === "error"`. */
164
- error?: string;
163
+ /**
164
+ * The failure message when `status === "error"`, `null` once a later run
165
+ * cleared it, absent on a thread that has never failed. Read it for
166
+ * truthiness — `null` and absent both mean "no error".
167
+ */
168
+ error?: null | string;
165
169
  /** The workflow instance id of the in-flight run — the handle `cancel` targets. */
166
170
  instanceId?: string;
167
171
  messageCount?: number;
package/dist/index.d.ts CHANGED
@@ -160,8 +160,12 @@ type AgentThreadStatus = "awaiting_input" | "cancelled" | "error" | "idle" | "ru
160
160
  */
161
161
  interface AgentThreadRecord {
162
162
  createdAt?: number;
163
- /** The failure message when `status === "error"`. */
164
- error?: string;
163
+ /**
164
+ * The failure message when `status === "error"`, `null` once a later run
165
+ * cleared it, absent on a thread that has never failed. Read it for
166
+ * truthiness — `null` and absent both mean "no error".
167
+ */
168
+ error?: null | string;
165
169
  /** The workflow instance id of the in-flight run — the handle `cancel` targets. */
166
170
  instanceId?: string;
167
171
  messageCount?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/vue",
3
- "version": "1.0.0-alpha.151",
3
+ "version": "1.0.0-alpha.153",
4
4
  "description": "Vue adapter for Lunora — live composables, optimistic mutations, and reactive loaders",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -54,9 +54,9 @@
54
54
  "access": "public"
55
55
  },
56
56
  "dependencies": {
57
- "@lunora/client": "1.0.0-alpha.116",
57
+ "@lunora/client": "1.0.0-alpha.117",
58
58
  "@lunora/errors": "1.0.0-alpha.39",
59
- "@lunora/ratelimit": "1.0.0-alpha.66",
59
+ "@lunora/ratelimit": "1.0.0-alpha.67",
60
60
  "@visulima/storage-client": "1.0.3"
61
61
  },
62
62
  "peerDependencies": {