mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
* feat(dev): add desktop tools-dev control plane * refactor(sidecar): split Open Design contracts Move Open Design-specific sidecar protocol definitions into @open-design/contracts so sidecar and platform can remain descriptor-driven primitives. * refactor(daemon): organize package sources Keep daemon app code, tests, and sidecar entrypoints in separate package directories so each layer can be built and verified independently. * chore(repo): streamline maintenance entrypoints Centralize agent guidance by directory and reduce root command chains while preserving the existing build scope. * docs: translate agent guidance to English * fix(sidecar): tolerate stale IPC sockets Remove stale Unix socket files only after confirming no listener is active, so tools-dev can restart after unclean shutdowns.
1.6 KiB
1.6 KiB
tools/AGENTS.md
Follow the root AGENTS.md first. This file only records module-level boundaries for tools/.
Active tools
tools/devprovides@open-design/tools-devand thetools-devbin. It is the only currently active local development lifecycle control plane.pnpm tools-devmanages daemon -> web -> desktop.pnpm tools-dev run webruns foreground daemon + web for the Playwright webServer flow.pnpm tools-dev inspect desktop ...inspects the desktop runtime through sidecar IPC.
Placeholder tools
tools/packis the minimal placeholder for the futuretools-packworkstream.- Do not add a package manifest, root script, packaging command, or release/signing logic under
tools/packin this round. - The package/build boundary of root
pnpm buildis intentionally unchanged in this round and should be handled by the futuretools-packtask.
Orchestration boundary
- Orchestration layers must consume primitives from
@open-design/sidecar-proto,@open-design/sidecar, and@open-design/platform. - Do not hand-build
--od-stamp-*args, process-scan regexes, runtime tokens, process roles, or duplicate namespace/source args intools/dev, futuretools/pack, or packaged launchers. - Port flags are authoritative inputs:
--daemon-portand--web-port. Internal env vars areOD_PORTandOD_WEB_PORT; do not introduceNEXT_PORT.
Common tools commands
pnpm --filter @open-design/tools-dev typecheck
pnpm --filter @open-design/tools-dev build
pnpm tools-dev status --json
pnpm tools-dev logs --json
pnpm tools-dev check