chore: project hygiene — fix workspace:*, sandbox USER, dead config (#11289)

* chore: project hygiene fixes (workspace:*, sandbox USER, dead config)

* chore: also fix workspace:* in zalouser dependencies
This commit is contained in:
max
2026-02-08 02:36:42 -08:00
committed by GitHub
parent c56fb7f353
commit 28e1a65ebc
10 changed files with 30 additions and 51 deletions

View File

@@ -28,6 +28,11 @@ Docs: https://docs.openclaw.ai
### Changes
- Hygiene: remove `workspace:*` from `dependencies` in msteams, nostr, zalo extensions (breaks external `npm install`; keep in `devDependencies` only).
- Hygiene: add non-root `sandbox` user to `Dockerfile.sandbox` and `Dockerfile.sandbox-browser`.
- Hygiene: remove dead `vitest` key from `package.json` (superseded by `vitest.config.ts`).
- Hygiene: remove redundant top-level `overrides` from `package.json` (pnpm uses `pnpm.overrides`).
- Hygiene: sync `onlyBuiltDependencies` between `pnpm-workspace.yaml` and `package.json` (add missing `node-llama-cpp`, sort alphabetically).
- Cron: default `wakeMode` is now `"now"` for new jobs (was `"next-heartbeat"`). (#10776) Thanks @tyler6204.
- Cron: `cron run` defaults to force execution; use `--due` to restrict to due-only. (#10776) Thanks @tyler6204.
- Models: support Anthropic Opus 4.6 and OpenAI Codex gpt-5.3-codex (forward-compat fallbacks). (#9853, #10720, #9995) Thanks @TinyTb, @calvin-hpnet, @tyler6204.

View File

@@ -13,4 +13,8 @@ RUN apt-get update \
ripgrep \
&& rm -rf /var/lib/apt/lists/*
RUN useradd --create-home --shell /bin/bash sandbox
USER sandbox
WORKDIR /home/sandbox
CMD ["sleep", "infinity"]

View File

@@ -23,6 +23,10 @@ RUN apt-get update \
COPY scripts/sandbox-browser-entrypoint.sh /usr/local/bin/openclaw-sandbox-browser
RUN chmod +x /usr/local/bin/openclaw-sandbox-browser
RUN useradd --create-home --shell /bin/bash sandbox
USER sandbox
WORKDIR /home/sandbox
EXPOSE 9222 5900 6080
CMD ["openclaw-sandbox-browser"]

View File

@@ -8,7 +8,6 @@
"@microsoft/agents-hosting-express": "^1.2.3",
"@microsoft/agents-hosting-extensions-teams": "^1.2.3",
"express": "^5.2.1",
"openclaw": "workspace:*",
"proper-lockfile": "^4.1.2"
},
"devDependencies": {

View File

@@ -5,7 +5,6 @@
"type": "module",
"dependencies": {
"nostr-tools": "^2.23.0",
"openclaw": "workspace:*",
"zod": "^4.3.6"
},
"devDependencies": {

View File

@@ -4,7 +4,6 @@
"description": "OpenClaw Zalo channel plugin",
"type": "module",
"dependencies": {
"openclaw": "workspace:*",
"undici": "7.21.0"
},
"devDependencies": {

View File

@@ -4,8 +4,7 @@
"description": "OpenClaw Zalo Personal Account plugin via zca-cli",
"type": "module",
"dependencies": {
"@sinclair/typebox": "0.34.48",
"openclaw": "workspace:*"
"@sinclair/typebox": "0.34.48"
},
"devDependencies": {
"openclaw": "workspace:*"

View File

@@ -185,9 +185,6 @@
"@napi-rs/canvas": "^0.1.89",
"node-llama-cpp": "3.15.1"
},
"overrides": {
"tar": "7.5.7"
},
"engines": {
"node": ">=22.12.0"
},
@@ -215,37 +212,5 @@
"protobufjs",
"sharp"
]
},
"vitest": {
"coverage": {
"provider": "v8",
"reporter": [
"text",
"lcov"
],
"thresholds": {
"lines": 70,
"functions": 70,
"branches": 70,
"statements": 70
},
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.test.ts"
]
},
"include": [
"src/**/*.test.ts"
],
"exclude": [
"dist/**",
"apps/macos/**",
"apps/macos/.build/**",
"**/vendor/**",
"apps/macos/.build/**",
"dist/OpenClaw.app/**"
]
}
}

22
pnpm-lock.yaml generated
View File

@@ -435,12 +435,13 @@ importers:
express:
specifier: ^5.2.1
version: 5.2.1
openclaw:
specifier: workspace:*
version: link:../..
proper-lockfile:
specifier: ^4.1.2
version: 4.1.2
devDependencies:
openclaw:
specifier: workspace:*
version: link:../..
extensions/nextcloud-talk:
devDependencies:
@@ -453,12 +454,13 @@ importers:
nostr-tools:
specifier: ^2.23.0
version: 2.23.0(typescript@5.9.3)
openclaw:
specifier: workspace:*
version: link:../..
zod:
specifier: ^4.3.6
version: 4.3.6
devDependencies:
openclaw:
specifier: workspace:*
version: link:../..
extensions/open-prose:
devDependencies:
@@ -540,18 +542,20 @@ importers:
extensions/zalo:
dependencies:
openclaw:
specifier: workspace:*
version: link:../..
undici:
specifier: 7.21.0
version: 7.21.0
devDependencies:
openclaw:
specifier: workspace:*
version: link:../..
extensions/zalouser:
dependencies:
'@sinclair/typebox':
specifier: 0.34.48
version: 0.34.48
devDependencies:
openclaw:
specifier: workspace:*
version: link:../..

View File

@@ -5,11 +5,12 @@ packages:
- extensions/*
onlyBuiltDependencies:
- "@whiskeysockets/baileys"
- "@lydell/node-pty"
- "@matrix-org/matrix-sdk-crypto-nodejs"
- "@napi-rs/canvas"
- "@whiskeysockets/baileys"
- authenticate-pam
- esbuild
- node-llama-cpp
- protobufjs
- sharp
- "@napi-rs/canvas"