feat(server): add persistent terminal and notebook watcher (#5)

Use node-pty for native terminal support and chokidar for recursive cross-platform watching with atomic-save normalization. Validate terminal messages, detach clients safely, and expose debounced typed notebook events.
This commit is contained in:
Florian Schmidt
2026-11-16 00:04:45 +01:00
parent d06f4336ae
commit 7cf1ef82ba
9 changed files with 408 additions and 1 deletions
+3 -1
View File
@@ -12,7 +12,9 @@
"dependencies": {
"@fastify/websocket": "^11.0.1",
"@shellbook/core": "workspace:*",
"fastify": "^5.1.0"
"fastify": "^5.1.0",
"node-pty": "^1.1.0",
"chokidar": "^4.0.3"
},
"devDependencies": {
"tsx": "^4.19.2"