@pagelines/sdk 1.0.657 → 1.0.658

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.
@@ -72,12 +72,19 @@ export type LiveTurnSegment = {
72
72
  kind: 'work';
73
73
  activityIds: string[];
74
74
  };
75
- /** One rendered block of the interleaved live progression (mockup 28c). */
75
+ /**
76
+ * One rendered block of the interleaved live progression (mockup 28c).
77
+ * `id` is content-stable (segment position / first activity id) so streaming
78
+ * updates never shift a block onto a different view identity — an identity
79
+ * shift remounts the subtree, and a remount mid-stream reads as flicker.
80
+ */
76
81
  export type LiveTurnBlock = {
77
82
  kind: 'text';
83
+ id: string;
78
84
  content: string;
79
85
  } | {
80
86
  kind: 'work';
87
+ id: string;
81
88
  journal: WorkJournalModel;
82
89
  };
83
90
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagelines/sdk",
3
- "version": "1.0.657",
3
+ "version": "1.0.658",
4
4
  "description": "PageLines SDK for agent management, auth, and billing",
5
5
  "type": "module",
6
6
  "main": "./dist/sdk.js",