From 15facd8cfd5ed43fd503326d950df40e5ef81a3a Mon Sep 17 00:00:00 2001
From: Adam <2363879+adamdotdevin@users.noreply.github.com>
Date: Tue, 25 Nov 2025 07:40:11 -0600
Subject: feat(share): SSR'd diffs

---
 packages/ui/src/context/data.tsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'packages/ui/src/context/data.tsx')

diff --git a/packages/ui/src/context/data.tsx b/packages/ui/src/context/data.tsx
index a32349a86..c2766a5af 100644
--- a/packages/ui/src/context/data.tsx
+++ b/packages/ui/src/context/data.tsx
@@ -1,5 +1,6 @@
 import type { Message, Session, Part, FileDiff, SessionStatus } from "@opencode-ai/sdk"
 import { createSimpleContext } from "./helper"
+import { PreloadMultiFileDiffResult } from "@pierre/precision-diffs/ssr"
 
 type Data = {
   session: Session[]
@@ -9,6 +10,9 @@ type Data = {
   session_diff: {
     [sessionID: string]: FileDiff[]
   }
+  session_diff_preload?: {
+    [sessionID: string]: PreloadMultiFileDiffResult<any>[]
+  }
   message: {
     [sessionID: string]: Message[]
   }
-- 
cgit v1.2.3

