mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
* chore: bump vela cli to 0.0.4-test.0 * chore: refresh lockfile for vela cli 0.0.4-test.0 * chore(nix): refresh pnpm deps hash * fix: materialize electron before mac release checks * fix: rebuild electron when mac framework links are invalid * revert: drop release workflow experiments * chore(nix): refresh pnpm deps hash * fix: stop blocking beta mac release on electron symlink preflight * fix: stop using custom electron dist for beta mac packaging * fix: guard oversized chat images and opencode overflow * chore: bump vela cli to 0.0.4 * chore(nix): refresh pnpm deps hash * fix(daemon): surface prompt-image stat failures instead of dropping them resolveSafePromptImagePaths only swallowed unresolvable path input; once a path was confirmed inside UPLOAD_DIR and existed, a statSync failure (EACCES/EPERM, a file vanishing mid-run) silently dropped the image and let the run continue without that prompt context. Since this helper is now also the 1 MB enforcement point, that turned an infra/validation failure into a 'successful' run with missing required context. Collect those into a new failedImages bucket and fail the run with INTERNAL_ERROR at the call site, mirroring the oversized-image guard. Add a unit test covering statSync throwing. --------- Co-authored-by: open-design-bot[bot] <282769551+open-design-bot[bot]@users.noreply.github.com> Co-authored-by: lefarcen <935902669@qq.com>
37 lines
958 B
JSON
37 lines
958 B
JSON
{
|
|
"name": "@open-design/tools-pack",
|
|
"version": "0.8.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"tools-pack": "./bin/tools-pack.mjs"
|
|
},
|
|
"scripts": {
|
|
"build": "node ./esbuild.config.mjs && tsc -p tsconfig.json --emitDeclarationOnly",
|
|
"dev": "tsx ./src/index.ts",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.tests.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@electron/notarize": "3.1.1",
|
|
"@electron/rebuild": "4.0.4",
|
|
"@open-design/platform": "workspace:*",
|
|
"@open-design/sidecar": "workspace:*",
|
|
"@open-design/sidecar-proto": "workspace:*",
|
|
"cac": "6.7.14",
|
|
"electron-builder": "26.8.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@powerformer/vela-cli": "0.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "24.12.2",
|
|
"esbuild": "0.28.0",
|
|
"tsx": "4.22.3",
|
|
"typescript": "6.0.3",
|
|
"vitest": "4.1.6"
|
|
},
|
|
"engines": {
|
|
"node": "~24"
|
|
}
|
|
}
|