feat(desktop): Electron shell M2 — embedded server, desktop login, instance lock (#173)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei ZhengandClaude Fable 5 authored and GitHub committed 2026-08-04 16:57:28 +08:00
1 parent 045ac250e0
commit 7015fb0153
35 files changed
+1477 -112

No files matched your search

+3 -2
View File
@@ -1,8 +1,9 @@
import { defineConfig } from "tsup";
export default defineConfig({
// Explicitly name entries to preserve the dist/api/types.js subpath (exports "./api" points to it).
entry: { index: "src/index.ts", "api/types": "src/api/types.ts" },
// Explicitly name entries to preserve the dist/api/types.js and dist/lock.js subpaths
// (exports "./api" and "./lock" point to them; lock is side-effect-free for pre-checks).
entry: { index: "src/index.ts", "api/types": "src/api/types.ts", lock: "src/lock.ts" },
format: ["esm"],
target: "node22",
dts: true,