@kmmao/happy-wire 0.11.8 → 0.11.10

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
@@ -1516,7 +1516,21 @@ const sessionProgressListSchema = z__namespace.object({
1516
1516
  startedAt: z__namespace.number(),
1517
1517
  updatedAt: z__namespace.number(),
1518
1518
  /** When this list stopped being active (got pushed to history). */
1519
- archivedAt: z__namespace.number().optional()
1519
+ archivedAt: z__namespace.number().optional(),
1520
+ /**
1521
+ * Tool-call message IDs for file-editing tools (Edit/Write/MultiEdit/
1522
+ * NotebookEdit) that ran while this list was the active one. Consumers
1523
+ * resolve these against the session message stream to render per-list
1524
+ * file change summaries without duplicating diff content into metadata.
1525
+ */
1526
+ toolCallIds: z__namespace.array(z__namespace.string()).optional(),
1527
+ /**
1528
+ * Timestamp at which an auto-summary was triggered for this list's
1529
+ * completion (all todos completed → all completed transition). Dedup flag
1530
+ * so the CLI hook only fires ONE synthetic summary-trigger message per
1531
+ * list lifecycle, even if subsequent TodoWrite calls keep it all done.
1532
+ */
1533
+ summaryGeneratedAt: z__namespace.number().optional()
1520
1534
  });
1521
1535
  const sessionProgressStateSchema = z__namespace.object({
1522
1536
  /** Ordered by startedAt asc; last item is typically the active one. */
package/dist/index.d.cts CHANGED
@@ -3488,6 +3488,8 @@ declare const sessionProgressListSchema: z.ZodObject<{
3488
3488
  startedAt: z.ZodNumber;
3489
3489
  updatedAt: z.ZodNumber;
3490
3490
  archivedAt: z.ZodOptional<z.ZodNumber>;
3491
+ toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3492
+ summaryGeneratedAt: z.ZodOptional<z.ZodNumber>;
3491
3493
  }, z.core.$strip>;
3492
3494
  type SessionProgressList = z.infer<typeof sessionProgressListSchema>;
3493
3495
  /**
@@ -3518,6 +3520,8 @@ declare const sessionProgressStateSchema: z.ZodObject<{
3518
3520
  startedAt: z.ZodNumber;
3519
3521
  updatedAt: z.ZodNumber;
3520
3522
  archivedAt: z.ZodOptional<z.ZodNumber>;
3523
+ toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3524
+ summaryGeneratedAt: z.ZodOptional<z.ZodNumber>;
3521
3525
  }, z.core.$strip>>>;
3522
3526
  currentListId: z.ZodOptional<z.ZodString>;
3523
3527
  todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
package/dist/index.d.mts CHANGED
@@ -3488,6 +3488,8 @@ declare const sessionProgressListSchema: z.ZodObject<{
3488
3488
  startedAt: z.ZodNumber;
3489
3489
  updatedAt: z.ZodNumber;
3490
3490
  archivedAt: z.ZodOptional<z.ZodNumber>;
3491
+ toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3492
+ summaryGeneratedAt: z.ZodOptional<z.ZodNumber>;
3491
3493
  }, z.core.$strip>;
3492
3494
  type SessionProgressList = z.infer<typeof sessionProgressListSchema>;
3493
3495
  /**
@@ -3518,6 +3520,8 @@ declare const sessionProgressStateSchema: z.ZodObject<{
3518
3520
  startedAt: z.ZodNumber;
3519
3521
  updatedAt: z.ZodNumber;
3520
3522
  archivedAt: z.ZodOptional<z.ZodNumber>;
3523
+ toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3524
+ summaryGeneratedAt: z.ZodOptional<z.ZodNumber>;
3521
3525
  }, z.core.$strip>>>;
3522
3526
  currentListId: z.ZodOptional<z.ZodString>;
3523
3527
  todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
package/dist/index.mjs CHANGED
@@ -1496,7 +1496,21 @@ const sessionProgressListSchema = z.object({
1496
1496
  startedAt: z.number(),
1497
1497
  updatedAt: z.number(),
1498
1498
  /** When this list stopped being active (got pushed to history). */
1499
- archivedAt: z.number().optional()
1499
+ archivedAt: z.number().optional(),
1500
+ /**
1501
+ * Tool-call message IDs for file-editing tools (Edit/Write/MultiEdit/
1502
+ * NotebookEdit) that ran while this list was the active one. Consumers
1503
+ * resolve these against the session message stream to render per-list
1504
+ * file change summaries without duplicating diff content into metadata.
1505
+ */
1506
+ toolCallIds: z.array(z.string()).optional(),
1507
+ /**
1508
+ * Timestamp at which an auto-summary was triggered for this list's
1509
+ * completion (all todos completed → all completed transition). Dedup flag
1510
+ * so the CLI hook only fires ONE synthetic summary-trigger message per
1511
+ * list lifecycle, even if subsequent TodoWrite calls keep it all done.
1512
+ */
1513
+ summaryGeneratedAt: z.number().optional()
1500
1514
  });
1501
1515
  const sessionProgressStateSchema = z.object({
1502
1516
  /** Ordered by startedAt asc; last item is typically the active one. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.11.8",
3
+ "version": "0.11.10",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",