Files
deepseek-harness/packages/test-support/client-runtime/package.json
T
imccyu e2e0af8159 build(deps): upgrade the client to React 19 (#9217)
* build(deps): upgrade the client to React 19

Raise react and react-dom to ^19.3.1 in every workspace manifest and the
root @types/react and @types/react-dom to 19.3, then regenerate the
lockfile on the current master. The website keeps the React 18 optional
peer of @docsearch/react 3.8.2, whose peer range excludes React 19.

Refs #9214

* fix(client): adopt React 19-only ref types and coverage arm

These adaptations compile or cover only under React 19:

- RefObject replaces MutableRefObject, which @types/react 19 deprecates;
  RefObject.current is writable only in the React 19 types.
- Tooltip excludes its React 18 element.ref arm from coverage instead of
  the React 19 props arm, which now always runs, and writes an object
  ref through RefObject.
- THIRD_PARTY_NOTICES.md takes the React 19.3.1 repository URL.

Refs #9214

* docs(upgrade-guide): describe the React 19 client runtime

Client plugins receive React 19 from the shared module table and compile
against React 19 types; the guide lists the runtime and type changes
plugin authors must handle and the new test-runtime peer range.

Refs #9214

* test(ui-directory-picker-browse): wait for the passive refocus after a failed pick

The browser re-parks focus on the edit zone in a passive effect after the
commit that shows the failure alert. The test asserted focus right after
the alert appeared, so on Windows CI under React 19 it could run before
the effect. It now waits for the focus.

Refs #9214
2026-11-27 02:45:21 +08:00

106 lines
4.4 KiB
JSON

{
"name": "@deepseek-ai/dsh-client-test-runtime",
"description": "Browser test runtimes: a jsdom slot bench with test-owned Session and Workspace doubles, and a whole-client tier that boots the web roster through the production bootClient over an endpoint-named Remote mock",
"version": "0.2.3-alpha.2",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
"directory": "packages/test-support/client-runtime"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./src/*": "./src/*",
"./package.json": "./package.json"
},
"license": "MIT",
"dependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.3",
"vitest": "^4.1.11"
},
"peerDependencies": {
"@deepseek-ai/cordis": "workspace:~",
"@deepseek-ai/cordis-plugin-include": "workspace:~",
"@deepseek-ai/cordis-plugin-loader": "workspace:~",
"@deepseek-ai/dsh-api-gateway": "workspace:*",
"@deepseek-ai/dsh-api-session-controller": "workspace:*",
"@deepseek-ai/dsh-api-workspace-controller": "workspace:*",
"@deepseek-ai/dsh-attachment": "workspace:*",
"@deepseek-ai/dsh-client-connection": "workspace:*",
"@deepseek-ai/dsh-client-hmr": "workspace:*",
"@deepseek-ai/dsh-client-modules": "workspace:*",
"@deepseek-ai/dsh-client-store": "workspace:*",
"@deepseek-ai/dsh-client-ui-chat": "workspace:*",
"@deepseek-ai/dsh-client-ui-conversation": "workspace:*",
"@deepseek-ai/dsh-client-ui-renderer": "workspace:*",
"@deepseek-ai/dsh-client-ui-session": "workspace:*",
"@deepseek-ai/dsh-client-ui-session-status": "workspace:*",
"@deepseek-ai/dsh-client-ui-settings": "workspace:*",
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
"@deepseek-ai/dsh-client-web": "workspace:*",
"@deepseek-ai/dsh-remote-mock": "workspace:*",
"@deepseek-ai/dsh-session": "workspace:*",
"@deepseek-ai/dsh-subagent": "workspace:*",
"@deepseek-ai/dsh-typert-protocol": "workspace:*",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"@deepseek-ai/dsh-client-ui-context-menu": "workspace:*"
},
"devDependencies": {
"@deepseek-ai/dsh-brand": "workspace:*",
"@deepseek-ai/cordis": "workspace:~",
"@deepseek-ai/cordis-plugin-include": "workspace:~",
"@deepseek-ai/cordis-plugin-loader": "workspace:~",
"@deepseek-ai/dsh-api-gateway": "workspace:*",
"@deepseek-ai/dsh-api-remote-access": "workspace:*",
"@deepseek-ai/dsh-api-remotes": "workspace:*",
"@deepseek-ai/dsh-api-session-controller": "workspace:*",
"@deepseek-ai/dsh-api-workspace-controller": "workspace:*",
"@deepseek-ai/dsh-attachment": "workspace:*",
"@deepseek-ai/dsh-base": "workspace:*",
"@deepseek-ai/dsh-client-connection": "workspace:*",
"@deepseek-ai/dsh-client-hmr": "workspace:*",
"@deepseek-ai/dsh-client-locale": "workspace:*",
"@deepseek-ai/dsh-client-modules": "workspace:*",
"@deepseek-ai/dsh-client-store": "workspace:*",
"@deepseek-ai/dsh-client-ui-chat": "workspace:*",
"@deepseek-ai/dsh-client-ui-conversation": "workspace:*",
"@deepseek-ai/dsh-client-ui-layout": "workspace:*",
"@deepseek-ai/dsh-client-ui-renderer": "workspace:*",
"@deepseek-ai/dsh-client-ui-responsive": "workspace:*",
"@deepseek-ai/dsh-client-ui-session": "workspace:*",
"@deepseek-ai/dsh-client-ui-session-status": "workspace:*",
"@deepseek-ai/dsh-client-ui-settings": "workspace:*",
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
"@deepseek-ai/dsh-client-ui-theme": "workspace:*",
"@deepseek-ai/dsh-client-ui-workspace": "workspace:*",
"@deepseek-ai/dsh-client-web": "workspace:*",
"@deepseek-ai/dsh-remote-mock": "workspace:*",
"@deepseek-ai/dsh-session": "workspace:*",
"@deepseek-ai/dsh-settings": "workspace:*",
"@deepseek-ai/dsh-subagent": "workspace:*",
"@deepseek-ai/dsh-typert-protocol": "workspace:*",
"@deepseek-ai/dsh-web-app": "workspace:*",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"@deepseek-ai/dsh-client-ui-context-menu": "workspace:*",
"@deepseek-ai/dsh-client-config": "workspace:*"
},
"files": [
"lib/index.js",
"lib/types/**/*.d.ts",
"lib/types/**/*.d.ts.map",
"lib/**/*.js.map",
"src"
]
}