summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-12 17:52:53 -0500
committerhaoyuren <13851610112@163.com>2026-03-12 17:52:53 -0500
commitb116335f9dbde4f483c0b2b8e7bfca5d321c5dfc (patch)
tree8bd84b0f4a54eb879c8cc5a158002e999b23d57e /package.json
parentebec1a1073f9cc5b69e125d5b284669545ea3d9f (diff)
Add bidirectional file sync, OT system, comments, and real-time collaboration
Implement full Overleaf integration with Socket.IO v0.9 real-time sync: - FileSyncBridge for bidirectional temp dir ↔ Overleaf sync via chokidar + diff-match-patch - OT state machine, transform functions, and CM6 adapter for collaborative editing - Comment system with highlights, tooltips, and review panel - Project list, file tree management, and socket-based compilation - 3-layer loop prevention (write guards, content equality, debounce) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json
index a12e423..ffcf155 100644
--- a/package.json
+++ b/package.json
@@ -21,18 +21,21 @@
"@codemirror/view": "^6.34.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
- "chokidar": "^4.0.0",
+ "chokidar": "^5.0.0",
+ "diff-match-patch": "^1.0.5",
"node-pty": "^1.0.0",
"pdfjs-dist": "^4.9.155",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-resizable-panels": "^2.1.0",
- "simple-git": "^3.27.0",
+ "ws": "^8.19.0",
"zustand": "^5.0.0"
},
"devDependencies": {
+ "@types/diff-match-patch": "^1.0.36",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
+ "@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^4.3.0",
"electron": "^33.0.0",
"electron-builder": "^25.1.0",