9d8a38a4c4
fix: 修正 ORPC handler 语义、加固 Electron 安全、优化构建与运行时配置
...
- todo.router: create 错误码 NOT_FOUND → INTERNAL_SERVER_ERROR,remove 增加存在性检查
- __root: devtools 仅在 DEV 环境渲染
- Electron: 添加 will-navigate 导航拦截、显式安全 webPreferences、deny-all 权限请求
- sidecar: 空 catch 块补充意图注释,新增 lastResolvedUrl getter
- todo.contract: 硬编码 omit 改用 generatedFieldKeys
- router: QueryClient 添加 staleTime/retry 默认值
- turbo: build 任务精细化 inputs 提升缓存命中率
- fields: id() 改为模块私有
2026-03-05 14:06:43 +08:00
8245abe217
feat(build): 支持桌面端多架构打包矩阵
2026-02-15 23:26:00 +08:00
a585069cdc
refactor: rename compile:mac/win to compile:darwin/windows to match Bun target names
2026-02-08 23:39:30 +08:00
b149cc5dc0
refactor: decentralize turbo task config — move compile/dist to workspace turbo.json
...
Sink package-specific tasks from root turbo.json into workspace configs:
- compile/compile:* → apps/server/turbo.json (only server compiles binaries)
- dist/dist:* → apps/desktop/turbo.json (only desktop distributes)
- Cross-package deps (desktop→server#compile) owned by desktop config
- Desktop dist scripts no longer bypass Turbo by calling bun run build
Root turbo.json reduced from 16 to 4 generic lifecycle tasks.
2026-02-08 23:26:24 +08:00
e171db8196
refactor: simplify compile.ts to single-target and add per-platform compile scripts
...
- Rewrite compile.ts from 112 to 66 lines: single target with auto-detect host, remove multi-target batch logic
- Add compile:linux/mac/win scripts to server, root, and turbo configs
- Wire desktop dist:* to depend on matching server compile:* (avoid unnecessary cross-platform compilation)
- Update AGENTS.md docs across root, server, and desktop
2026-02-08 22:25:30 +08:00
2b3026cf69
chore(turbo): simplify and optimize monorepo configuration
2026-02-07 16:35:30 +08:00
adb14cff77
chore: 重构 Turbo 构建配置并强化 Bun 专用说明
...
将应用特定的构建输出配置下沉至各自 turbo.json,根级 build 任务添加拓扑依赖;AGENTS.md 统一添加 Bun 专用运行时警告;桌面端启用 Linux CEF 渲染器。
2026-02-07 16:14:55 +08:00
924bcd6aa2
refactor: 重构构建流程,提升输出灵活性与配置性
...
- 移除目标映射表并根据配置前缀生成输出文件名,使构建输出更灵活可配置
- 重构构建任务配置,将原有分步构建逻辑合并为统一的编译任务,明确依赖关系和输出路径
2026-01-21 22:02:01 +08:00
011c9211f5
rename
2026-01-21 15:00:11 +08:00