lumiverse-spindle-types 0.4.59 → 0.4.61

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
- "version": "0.4.59",
3
+ "version": "0.4.61",
4
4
  "types": "./src/index.ts",
5
5
  "keywords": [
6
6
  "lumiverse",
package/src/api.ts CHANGED
@@ -1881,6 +1881,11 @@ export type WorkerToHost =
1881
1881
  patch: {
1882
1882
  content?: string;
1883
1883
  metadata?: Record<string, unknown>;
1884
+ swipes?: string[];
1885
+ swipe_id?: number;
1886
+ swipe_dates?: number[];
1887
+ reasoning?: { text?: string | null; duration?: number | null };
1888
+ skipChunkRebuild?: boolean;
1884
1889
  };
1885
1890
  }
1886
1891
  | {
@@ -501,6 +501,8 @@ export interface SpindleAPI {
501
501
  text?: string | null;
502
502
  duration?: number | null;
503
503
  };
504
+ /** Internal-only escape hatch for extension/system rewrites that should not invalidate chat chunks. */
505
+ skipChunkRebuild?: boolean;
504
506
  }
505
507
  ): Promise<void>;
506
508
  deleteMessage(chatId: string, messageId: string): Promise<void>;