2026-06-22 21:57:32 +02:00
|
|
|
{
|
|
|
|
|
"name": "web",
|
|
|
|
|
"private": true,
|
|
|
|
|
"version": "0.0.0",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "vite",
|
|
|
|
|
"build": "tsc -b && vite build",
|
|
|
|
|
"lint": "eslint .",
|
feat: download dirs, file transfer resume, Wails desktop app, PWA, CI
Daemon:
- Per-network download directories (-download-dir flag, set_download_dir IPC)
- File transfer resume after disconnection: .tmp.meta sidecars survive
interruption; resume_offset in file-accept lets sender seek and continue
- set_download_dir IPC command; download_dir reported in state_snapshot
Protocol:
- PeerMessage.ResumeOffset (EXT-006) for file transfer resume
- IpcMessage.ShareNetworks json tag changed from "networks" to "network_ids"
to fix duplicate json tag collision with Networks []NetworkInfo
Desktop app (cmd/app):
- Wails v2 shell embedding daemon logic directly (no subprocess)
- System tray on Linux/Windows via getlantern/systray; macOS hides to Dock
- OS notifications for message_received and file_complete via Wails events
- notray build tag for headless/CI builds without GTK tray headers
- build-app.sh: builds web frontend, copies dist, runs wails build
Web / PWA:
- manifest.json + Apple touch icon meta tags for mobile "Add to Home Screen"
- PNG icons (192px, 512px, 180px) generated from SVG
- Wails EventsOn("notify") hook in App.tsx for native OS notifications
CI:
- .gitea/workflows/build.yml: server binaries cross-compiled for 5 platforms,
desktop app for Linux amd64, release artifacts published on v* tags
Docs:
- README: download dir, file transfer resume, desktop app, PWA, CI sections
- EXTENSIONS.md: EXT-004 daemon mode marked shipped; EXT-006 resume added
- FUTURE.md: roadmap updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 21:38:28 +02:00
|
|
|
"preview": "vite preview",
|
|
|
|
|
"wails:dev": "wails dev",
|
|
|
|
|
"wails:build": "wails build"
|
2026-06-22 21:57:32 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2026-06-23 00:06:41 +02:00
|
|
|
"libsodium-wrappers": "^0.8.4",
|
2026-06-22 21:57:32 +02:00
|
|
|
"react": "^19.2.6",
|
|
|
|
|
"react-dom": "^19.2.6",
|
|
|
|
|
"zustand": "^5.0.14"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@eslint/js": "^10.0.1",
|
|
|
|
|
"@types/node": "^24.12.3",
|
|
|
|
|
"@types/react": "^19.2.14",
|
|
|
|
|
"@types/react-dom": "^19.2.3",
|
|
|
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
|
|
|
"eslint": "^10.3.0",
|
|
|
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
|
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
|
|
|
"globals": "^17.6.0",
|
|
|
|
|
"typescript": "~6.0.2",
|
|
|
|
|
"typescript-eslint": "^8.59.2",
|
|
|
|
|
"vite": "^8.0.12"
|
|
|
|
|
}
|
|
|
|
|
}
|