@meistrari/chat-nuxt 4.13.0-rc.17 → 4.13.0-rc.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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "4.13.0-rc.17",
4
+ "version": "4.13.0-rc.18",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -756,6 +756,7 @@ export declare const chatV3MessageSchema: z.ZodObject<{
756
756
  author: z.ZodNullable<z.ZodObject<{
757
757
  userId: z.ZodString;
758
758
  }, z.core.$strip>>;
759
+ error: z.ZodNullable<z.ZodString>;
759
760
  }, z.core.$strip>;
760
761
  export type ChatV3Message = z.infer<typeof chatV3MessageSchema>;
761
762
  export declare const chatV3MessageListQuerySchema: z.ZodObject<{
@@ -829,6 +830,7 @@ export declare const chatV3MessageListSchema: z.ZodObject<{
829
830
  author: z.ZodNullable<z.ZodObject<{
830
831
  userId: z.ZodString;
831
832
  }, z.core.$strip>>;
833
+ error: z.ZodNullable<z.ZodString>;
832
834
  }, z.core.$strip>>;
833
835
  nextCursor: z.ZodNullable<z.ZodString>;
834
836
  eventCursor: z.ZodNullable<z.ZodString>;
@@ -475,6 +475,11 @@ export const chatV3MessageSchema = z.object({
475
475
  * always null for now; it is never inferred from who created the thread.
476
476
  */
477
477
  author: chatV3MessageAuthorSchema.nullable(),
478
+ /**
479
+ * Why the message failed or ended uncertain, as agent-api said it: its error text, else its
480
+ * code. `null` for a message that did not fail, or whose failure came with no reason.
481
+ */
482
+ error: z.string().nullable(),
478
483
  });
479
484
  export const chatV3MessageListQuerySchema = z.object({
480
485
  /** Exclusive cursor: the `nextCursor` of the previous page, which reads older messages. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "4.13.0-rc.17",
3
+ "version": "4.13.0-rc.18",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {