docs: add workspace collaboration design and client demos

Document shared workspaces, realtime messaging, member handling, and source permissions. Include local interaction demos and verification scripts, and update development startup for Electron Node mode. Production collaboration services remain unimplemented.
This commit is contained in:
lofyer
2026-09-28 17:04:34 +08:00
parent 440d878d76
commit 599a0a6645
19 changed files with 880 additions and 22 deletions
+10
View File
@@ -0,0 +1,10 @@
import process from 'node:process'
import { concurrently } from 'concurrently'
// Avoid CLI argv detection treating Electron's Node mode as a bundled app.
const { result } = concurrently([
{ command: 'npm run dev:api', name: 'api', prefixColor: 'cyan' },
{ command: 'npm run dev:web -- --host 127.0.0.1', name: 'web', prefixColor: 'magenta' }
], { killOthersOn: ['success', 'failure'] })
result.then(() => { process.exitCode = 0 }, () => { process.exitCode = 1 })