Files
deepseek-harness/packages/client/ui-session/package.json
T
imccyu cb2910ef09 ♻️ refactor(session): move Session status into api-session-status
Move the Client Session status table (running state, the effective
pending interaction, and completion reminders) and the useSessionStatus
root hook out of ui-session into the new @deepseek-ai/dsh-api-session-status
package. The UiSessionStatus service is provided as uiSession.sessionStatus
and read as ctx.uiSession.sessionStatus through the mergeable
UiSessionService type of ctx.uiSession.

Pending-interaction registration, precedence, withdrawal, and teardown
delegation stay in ui-session unchanged; ui-session now exposes the
effective requests read-only as ctx.uiSession.pendingInteractions, which
the status table and the Conversation stop shortcut consume. ui-session no
longer depends on api-remotes.

Refs #4076
2026-11-11 12:16:37 +08:00

69 lines
1.8 KiB
JSON

{
"name": "@deepseek-ai/dsh-client-ui-session",
"description": "Session Controller adapter for React and session-scoped slots",
"version": "0.2.2-rc.2",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
"directory": "packages/client/ui-session"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./client": {
"types": "./lib/types/client/index.d.ts",
"default": "./lib/client.js"
},
"./src/*": "./src/*",
"./package.json": "./package.json",
"./locale/*.json": "./locale/*.json"
},
"dsh": {
"client": {
"inject": [
"@deepseek-ai/dsh-api-remote-access",
"@deepseek-ai/dsh-api-session-controller",
"@deepseek-ai/dsh-client-ui-renderer"
],
"platform": "web"
}
},
"scripts": {
"bundle": "tsdown",
"watch": "tsdown --watch"
},
"license": "MIT",
"peerDependencies": {
"@deepseek-ai/cordis": "workspace:~"
},
"devDependencies": {
"@deepseek-ai/cordis": "workspace:~",
"@deepseek-ai/dsh-api-remote-access": "workspace:*",
"@deepseek-ai/dsh-api-session-controller": "workspace:*",
"@deepseek-ai/dsh-client-store": "workspace:*",
"@deepseek-ai/dsh-client-test-runtime": "workspace:*",
"@deepseek-ai/dsh-client-ui-renderer": "workspace:*",
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
"@deepseek-ai/dsh-session": "workspace:*",
"@deepseek-ai/dsh-util-values": "workspace:*",
"react": "^18.2.0"
},
"files": [
"locale/*.json",
"lib/index.js",
"lib/client.js",
"lib/types/**/*.d.ts",
"lib/types/**/*.d.ts.map",
"lib/**/*.js.map",
"src"
]
}