Initial TrueGrowth source import

This commit is contained in:
2026-07-07 09:36:36 +08:00
commit 3b6781d695
2283 changed files with 691996 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
## 1. Packaging Setup
- [x] 1.1 Add Electron Builder and packaging metadata for macOS and Windows targets.
- [x] 1.2 Add app staging script that copies the production renderer, Electron main/preload, assets, Local API, and required helper scripts into a packageable app directory.
- [x] 1.3 Add package scripts for macOS, Windows, current host, and all desktop targets.
- [x] 1.4 Ensure packaged Electron loads local renderer files and sets packaged-mode runtime environment.
## 2. Runtime Integration
- [x] 2.1 Confirm Local API starts from the packaged app without requiring pnpm, Vite, or a repo checkout.
- [x] 2.2 Confirm writable runtime paths use customer user-data locations in packaged mode.
- [x] 2.3 Keep heavyweight dependency setup routed through Model Center readiness actions.
## 3. Documentation
- [x] 3.1 Document customer artifact expectations for macOS and Windows.
- [x] 3.2 Document repeatable local/CI build commands, prerequisites, and output paths.
- [x] 3.3 Document signing/notarization requirements and unsigned internal-test limitations.
## 4. Verification
- [x] 4.1 Run syntax checks for packaging scripts and Electron main/preload files.
- [x] 4.2 Run the web production build.
- [x] 4.3 Build the macOS package on this macOS host.
- [x] 4.4 Attempt or document Windows package build constraints; build on Windows/CI when available.
- [x] 4.5 Smoke-check packaged startup and Local API health where possible.