Files
Jheison Martinez BolivarandGitHub 4368b8f163 feat(linux): add headless mode for install/start/stop operations (#686)
* feat(linux): add headless mode for install/start/stop operations

* docs(linux): document headless mode commands and usage

* refactor(linux-headless): write web-root.json instead of polling IPC for URL

* fix(linux-headless): fail start when web identity never appears instead of returning success

* docs(linux-headless): add use-case context and clarify launcher path dependency

* fix(linux-headless): ensure launcher, identity and shutdown align with tools-pack

- Bake OD_DATA_DIR into launcher so manual runs use the same paths as tools-pack
- Validate web-root.json fields before accepting to reject stale identity
- Remove web-root.json on successful stop
- Add IPC server for graceful STATUS/SHUTDOWN handling

* fix(linux-headless): create IPC server before writing web-root.json
2026-05-07 01:52:03 +08:00

43 lines
1019 B
JSON

{
"name": "@open-design/packaged",
"version": "0.4.1",
"private": true,
"type": "module",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"./headless": {
"default": "./dist/headless.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"build": "node ./esbuild.config.mjs && tsc -p tsconfig.json --emitDeclarationOnly",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@open-design/daemon": "workspace:*",
"@open-design/desktop": "workspace:*",
"@open-design/platform": "workspace:*",
"@open-design/sidecar": "workspace:*",
"@open-design/sidecar-proto": "workspace:*",
"@open-design/web": "workspace:*"
},
"devDependencies": {
"@types/node": "24.12.2",
"electron": "41.3.0",
"esbuild": "0.27.7",
"typescript": "6.0.3"
},
"engines": {
"node": "~24"
}
}