@kmmao/happy-wire 0.2.8 → 0.2.9

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.cjs CHANGED
@@ -121,7 +121,9 @@ const sessionTaskProgressEventSchema = z__namespace.object({
121
121
  toolUses: z__namespace.number(),
122
122
  durationMs: z__namespace.number()
123
123
  }),
124
- lastToolName: z__namespace.string().optional()
124
+ lastToolName: z__namespace.string().optional(),
125
+ /** AI-generated progress summary (~30s interval, from agentProgressSummaries) */
126
+ summary: z__namespace.string().optional()
125
127
  });
126
128
  const sessionTaskEndEventSchema = z__namespace.object({
127
129
  t: z__namespace.literal("task-end"),
package/dist/index.d.cts CHANGED
@@ -136,6 +136,7 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
136
136
  durationMs: z.ZodNumber;
137
137
  }, z.core.$strip>;
138
138
  lastToolName: z.ZodOptional<z.ZodString>;
139
+ summary: z.ZodOptional<z.ZodString>;
139
140
  }, z.core.$strip>, z.ZodObject<{
140
141
  t: z.ZodLiteral<"task-end">;
141
142
  taskId: z.ZodString;
@@ -331,6 +332,7 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
331
332
  durationMs: z.ZodNumber;
332
333
  }, z.core.$strip>;
333
334
  lastToolName: z.ZodOptional<z.ZodString>;
335
+ summary: z.ZodOptional<z.ZodString>;
334
336
  }, z.core.$strip>, z.ZodObject<{
335
337
  t: z.ZodLiteral<"task-end">;
336
338
  taskId: z.ZodString;
@@ -886,6 +888,7 @@ declare const sessionTaskProgressEventSchema: z.ZodObject<{
886
888
  durationMs: z.ZodNumber;
887
889
  }, z.core.$strip>;
888
890
  lastToolName: z.ZodOptional<z.ZodString>;
891
+ summary: z.ZodOptional<z.ZodString>;
889
892
  }, z.core.$strip>;
890
893
  declare const sessionTaskEndEventSchema: z.ZodObject<{
891
894
  t: z.ZodLiteral<"task-end">;
@@ -1002,6 +1005,7 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1002
1005
  durationMs: z.ZodNumber;
1003
1006
  }, z.core.$strip>;
1004
1007
  lastToolName: z.ZodOptional<z.ZodString>;
1008
+ summary: z.ZodOptional<z.ZodString>;
1005
1009
  }, z.core.$strip>, z.ZodObject<{
1006
1010
  t: z.ZodLiteral<"task-end">;
1007
1011
  taskId: z.ZodString;
@@ -1124,6 +1128,7 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
1124
1128
  durationMs: z.ZodNumber;
1125
1129
  }, z.core.$strip>;
1126
1130
  lastToolName: z.ZodOptional<z.ZodString>;
1131
+ summary: z.ZodOptional<z.ZodString>;
1127
1132
  }, z.core.$strip>, z.ZodObject<{
1128
1133
  t: z.ZodLiteral<"task-end">;
1129
1134
  taskId: z.ZodString;
package/dist/index.d.mts CHANGED
@@ -136,6 +136,7 @@ declare const SessionProtocolMessageSchema: z.ZodObject<{
136
136
  durationMs: z.ZodNumber;
137
137
  }, z.core.$strip>;
138
138
  lastToolName: z.ZodOptional<z.ZodString>;
139
+ summary: z.ZodOptional<z.ZodString>;
139
140
  }, z.core.$strip>, z.ZodObject<{
140
141
  t: z.ZodLiteral<"task-end">;
141
142
  taskId: z.ZodString;
@@ -331,6 +332,7 @@ declare const MessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
331
332
  durationMs: z.ZodNumber;
332
333
  }, z.core.$strip>;
333
334
  lastToolName: z.ZodOptional<z.ZodString>;
335
+ summary: z.ZodOptional<z.ZodString>;
334
336
  }, z.core.$strip>, z.ZodObject<{
335
337
  t: z.ZodLiteral<"task-end">;
336
338
  taskId: z.ZodString;
@@ -886,6 +888,7 @@ declare const sessionTaskProgressEventSchema: z.ZodObject<{
886
888
  durationMs: z.ZodNumber;
887
889
  }, z.core.$strip>;
888
890
  lastToolName: z.ZodOptional<z.ZodString>;
891
+ summary: z.ZodOptional<z.ZodString>;
889
892
  }, z.core.$strip>;
890
893
  declare const sessionTaskEndEventSchema: z.ZodObject<{
891
894
  t: z.ZodLiteral<"task-end">;
@@ -1002,6 +1005,7 @@ declare const sessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1002
1005
  durationMs: z.ZodNumber;
1003
1006
  }, z.core.$strip>;
1004
1007
  lastToolName: z.ZodOptional<z.ZodString>;
1008
+ summary: z.ZodOptional<z.ZodString>;
1005
1009
  }, z.core.$strip>, z.ZodObject<{
1006
1010
  t: z.ZodLiteral<"task-end">;
1007
1011
  taskId: z.ZodString;
@@ -1124,6 +1128,7 @@ declare const sessionEnvelopeSchema: z.ZodObject<{
1124
1128
  durationMs: z.ZodNumber;
1125
1129
  }, z.core.$strip>;
1126
1130
  lastToolName: z.ZodOptional<z.ZodString>;
1131
+ summary: z.ZodOptional<z.ZodString>;
1127
1132
  }, z.core.$strip>, z.ZodObject<{
1128
1133
  t: z.ZodLiteral<"task-end">;
1129
1134
  taskId: z.ZodString;
package/dist/index.mjs CHANGED
@@ -100,7 +100,9 @@ const sessionTaskProgressEventSchema = z.object({
100
100
  toolUses: z.number(),
101
101
  durationMs: z.number()
102
102
  }),
103
- lastToolName: z.string().optional()
103
+ lastToolName: z.string().optional(),
104
+ /** AI-generated progress summary (~30s interval, from agentProgressSummaries) */
105
+ summary: z.string().optional()
104
106
  });
105
107
  const sessionTaskEndEventSchema = z.object({
106
108
  t: z.literal("task-end"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",