mirror of
https://github.com/nexu-io/open-design.git
synced 2026-09-20 06:15:06 +08:00
4b48f94b7c
* refactor(ci): align tools-pack sources with scope boundaries * refactor(tools-pack): unify test source imports * fix(tools-pack): resolve workspace root from package Generated-By: looper 0.11.2 (runner=fixer, agent=codex) * test(tools-pack): exercise bundled CLI directly --------- Co-authored-by: Looper <looper@noreply.github.com>
1.0 KiB
1.0 KiB
apps/packaged
Follow the root AGENTS.md and apps/AGENTS.md first. This app owns only the packaged Electron runtime assembly entry.
Owns
- Packaged Electron entry glue.
- Packaged config loading.
- Runtime startup of daemon/web sidecars before desktop main.
od://packaged entry routing to the internal web runtime.
Does not own
- Product/business logic.
- Web, daemon, or desktop implementation details.
- Sidecar protocol definitions or process stamp semantics.
Rules
- Consume
@open-design/sidecar-proto,@open-design/sidecar, and@open-design/platformprimitives; do not hand-build stamp flags or process matching logic. - Keep data/log/runtime/cache paths namespace-scoped and independent from daemon/web ports.
- Keep Next.js packaged runtime as SSR/web-sidecar-owned; do not put Next output under
OD_RESOURCE_ROOT. OD_RESOURCE_ROOTis for daemon non-Next read-only resources. Keep its bundled-tree contract aligned with the authoritative list intools/pack/src/resources/index.tsinstead of maintaining a shorter copy here.