openclaw/packages/gateway-protocol/package.json
Peter Steinberger 68e23ccf84
feat: let agents apply plugin and personal themes (#152460)
* feat: let agents apply plugin and personal themes

Add declarative plugin theme metadata, descriptive theme list/get/set/import operations, and shared profile appearance writes. Plugin additions and palette updates follow hot reload without a Gateway restart. Preserve legacy local imports, bound profile authority, and atomic concurrent preference updates.

Refs #152449.

* fix: complete theme integration and defer catalog loading

* refactor: share theme mode validation and trim startup work

* chore: shrink theme assertion allowances

* test: await the initial Android gateway handoff

* fix(gateway): settle chat waits after user cancellation

* fix(gateway): preserve upstream cancellation settlement

* test(memory): preserve real worker deadline clocks

* test(daemon): preserve distinct replacement fixture identity

* test(transcripts): await completed automatic capture startup

Observe the real startup promise before exercising next-day account ownership, and always stop the service during cleanup. This removes the provider-entry timing race while preserving the ownership assertions.
2026-09-19 04:51:01 -07:00

112 lines
3.4 KiB
JSON

{
"name": "@openclaw/gateway-protocol",
"version": "2026.9.5",
"description": "Typed schemas and runtime validators for the OpenClaw Gateway WebSocket protocol",
"keywords": [
"gateway",
"openclaw",
"protocol",
"typebox",
"websocket"
],
"homepage": "https://github.com/openclaw/openclaw#readme",
"bugs": {
"url": "https://github.com/openclaw/openclaw/issues"
},
"license": "MIT",
"author": "OpenClaw Foundation (https://openclaw.org)",
"repository": {
"type": "git",
"url": "git+https://github.com/openclaw/openclaw.git",
"directory": "packages/gateway-protocol"
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md",
"protocol.schema.json"
],
"sideEffects": false,
"type": "module",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"./client-info": {
"types": "./dist/client-info.d.mts",
"import": "./dist/client-info.mjs",
"default": "./dist/client-info.mjs"
},
"./connect-error-details": {
"types": "./dist/connect-error-details.d.mts",
"import": "./dist/connect-error-details.mjs",
"default": "./dist/connect-error-details.mjs"
},
"./frame-guards": {
"types": "./dist/frame-guards.d.mts",
"import": "./dist/frame-guards.mjs",
"default": "./dist/frame-guards.mjs"
},
"./gateway-error-details": {
"types": "./dist/gateway-error-details.d.mts",
"import": "./dist/gateway-error-details.mjs",
"default": "./dist/gateway-error-details.mjs"
},
"./restart-unavailable": {
"types": "./dist/restart-unavailable.d.mts",
"import": "./dist/restart-unavailable.mjs",
"default": "./dist/restart-unavailable.mjs"
},
"./schema": {
"types": "./dist/schema.d.mts",
"import": "./dist/schema.mjs",
"default": "./dist/schema.mjs"
},
"./startup-unavailable": {
"types": "./dist/startup-unavailable.d.mts",
"import": "./dist/startup-unavailable.mjs",
"default": "./dist/startup-unavailable.mjs"
},
"./system-agent-context": {
"types": "./dist/system-agent-context.d.mts",
"import": "./dist/system-agent-context.mjs",
"default": "./dist/system-agent-context.mjs"
},
"./theme": {
"types": "./dist/theme.d.mts",
"import": "./dist/theme.mjs",
"default": "./dist/theme.mjs"
},
"./version": {
"types": "./dist/version.d.mts",
"import": "./dist/version.mjs",
"default": "./dist/version.mjs"
}
},
"scripts": {
"build": "tsdown src/index.ts src/client-info.ts src/connect-error-details.ts src/frame-guards.ts src/gateway-error-details.ts src/restart-unavailable.ts src/schema.ts src/startup-unavailable.ts src/version.ts src/system-agent-context.ts src/theme.ts --no-config --platform node --format esm --dts --out-dir dist --clean && node --import tsx ../../scripts/check-protocol-registry-types.mts",
"prepack": "pnpm run build && node --import tsx ../../scripts/protocol-gen.ts --out ./protocol.schema.json"
},
"dependencies": {
"typebox": "1.3.30"
},
"devDependencies": {
"@openclaw/normalization-core": "workspace:*"
},
"engines": {
"node": ">=22.19.0"
},
"publishConfig": {
"access": "public"
},
"openclaw": {
"release": {
"publishToNpm": true
}
}
}