* feat: add conversations, desktop (Tauri), and offline sync Major new features: - conversations module: Slack-like channels, threads, reactions, pins - Tauri desktop app with local SQLite for offline-first operation - Hybrid logical clock sync engine with conflict resolution - DB provider abstraction (D1/Tauri/memory) with React context Conversations: - Text/voice/announcement channels with categories - Message threads, reactions, attachments, pinning - Real-time presence and typing indicators - Full-text search across messages Desktop (Tauri): - Local SQLite database with sync to cloud D1 - Offline mutation queue with automatic replay - Window management and keyboard shortcuts - Desktop shell with offline banner Sync infrastructure: - Vector clock implementation for causality tracking - Last-write-wins with semantic conflict resolution - Delta sync via checkpoints for bandwidth efficiency - Comprehensive test coverage Also adds e2e test setup with Playwright and CI workflows for desktop releases. * fix(tests): sync engine test schema and checkpoint logic - Add missing process_after column and sync_tombstone table to test schemas - Fix checkpoint update to save cursor even when records array is empty - Revert claude-code-review.yml workflow changes to match main --------- Co-authored-by: Nicholai <nicholaivogelfilms@gmail.com>
81 lines
2.1 KiB
JSON
81 lines
2.1 KiB
JSON
{
|
|
"$schema": "./gen/schemas/desktop-schema.json",
|
|
"productName": "Compass",
|
|
"version": "0.1.0",
|
|
"identifier": "work.nicholai.compass",
|
|
"build": {
|
|
"devUrl": "http://localhost:3000",
|
|
"frontendDist": "../out",
|
|
"beforeDevCommand": "bun dev",
|
|
"beforeBuildCommand": "bun run build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "Compass",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"center": true,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"decorations": true,
|
|
"transparent": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; img-src 'self' data: https: blob:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' http://localhost:* http://127.0.0.1:* https: wss:; font-src 'self' data:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'",
|
|
"capabilities": ["default"]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"publisher": "HPS Compass",
|
|
"category": "Business",
|
|
"shortDescription": "Construction Project Management",
|
|
"longDescription": "Compass - A comprehensive construction project management application with AI-powered assistance",
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": ""
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "10.13",
|
|
"entitlements": null,
|
|
"exceptionDomain": "",
|
|
"frameworks": [],
|
|
"providerShortName": null,
|
|
"signingIdentity": null
|
|
},
|
|
"linux": {
|
|
"deb": {
|
|
"depends": []
|
|
},
|
|
"appimage": {
|
|
"bundleMediaFramework": false
|
|
}
|
|
},
|
|
"externalBin": [],
|
|
"copyright": "",
|
|
"license": "MIT",
|
|
"category": "Business"
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"active": true,
|
|
"endpoints": [],
|
|
"pubkey": ""
|
|
}
|
|
}
|
|
}
|