2026-07-25 16:04:48 +08:00
|
|
|
{
|
|
|
|
|
"name": "@deepseek-ai/dsh-client-ui-workspace",
|
|
|
|
|
"description": "Workspace picker plugin: one WorkspacePicker registered into the sidebar and empty-state workspace slots",
|
2026-08-13 05:58:16 +08:00
|
|
|
"version": "0.0.1-rc.5",
|
2026-08-11 00:02:53 +08:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "restricted"
|
|
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
|
|
|
"directory": "packages/client/ui-workspace"
|
|
|
|
|
},
|
2026-07-25 16:04:48 +08:00
|
|
|
"type": "module",
|
|
|
|
|
"main": "lib/index.js",
|
|
|
|
|
"types": "lib/types/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./lib/types/index.d.ts",
|
|
|
|
|
"default": "./lib/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./invariant": {
|
|
|
|
|
"types": "./lib/types/invariant.d.ts",
|
|
|
|
|
"default": "./lib/invariant.js"
|
|
|
|
|
},
|
|
|
|
|
"./client": {
|
|
|
|
|
"types": "./lib/types/client/index.d.ts",
|
|
|
|
|
"default": "./lib/client.js"
|
|
|
|
|
},
|
|
|
|
|
"./src/*": "./src/*",
|
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
|
},
|
2026-08-10 20:39:26 +08:00
|
|
|
"dsh": {
|
|
|
|
|
"client": {
|
|
|
|
|
"inject": [
|
|
|
|
|
"@deepseek-ai/dsh-client-locale",
|
|
|
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-conversation",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-sidebar"
|
|
|
|
|
],
|
|
|
|
|
"platform": "web"
|
|
|
|
|
}
|
2026-07-25 16:04:48 +08:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"bundle": "tsdown",
|
|
|
|
|
"watch": "tsdown --watch"
|
|
|
|
|
},
|
2026-08-13 01:46:57 +08:00
|
|
|
"license": "MIT",
|
feat(web): session list one-list, hover card, row menus, rename, manual ordering
Sidebar session list grows the figma 239-10458 feature set and the
workspace/session browsing region moves wholesale into ui-workspace:
- Group-by menu (WorkSpace / In one list): flat mode lists every session
top-level, strictly newest-first; the choice persists across reloads.
- Session rows get a 500ms hover detail card (title / relative time /
status line) and a ... menu (Rename / Fork session / Delete session,
visual-only for now); workspace headers get ... with Rename (wired) and
Delete workspace (visual-only).
- workspace.rename RPC: trims, rejects duplicate titles on the create
chain (workspace-name-conflict), no-op on same title; modal dialog with
client-side duplicate pre-check.
- workspace.insertSessionBefore RPC (DOM-insertBefore semantics, omitted
anchor appends): HTML5 drag reorder of root sessions inside a workspace
group; order truth stays host-side, the view refreshes from the
response/changed frame.
- Activity pinning removed: the session/event touchSession chain is gone;
workspace accounts are manually owned (new sessions prepend, explicit
reordering only). Contracts and tests updated, api catalog regenerated.
- ui-sidebar reduced to the column shell (brand, fold state machine, New
Session, Settings) exposing one sidebar.workspaces hole with a two-fact
owner share {wide, expandSidebar}; ui-workspace owns the whole region
(header, search, grouped/flat lists, dialogs, drag) plus the picker via
a shared WorkspaceCreateFlow. The old sidebar.workspace picker slot and
its deferral indirection are gone.
- ui-primitives: Menu gains label entries, danger rows, and
closeOnPointerLeave; new HoverCard (portaled, open-delay, disabled
guard). Hover card and row menu never coexist.
2026-07-26 00:02:46 +08:00
|
|
|
"dependencies": {
|
|
|
|
|
"clsx": "^2.0.0"
|
|
|
|
|
},
|
2026-07-25 16:04:48 +08:00
|
|
|
"peerDependencies": {
|
2026-08-11 00:16:45 +08:00
|
|
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
|
|
|
"@deepseek-ai/cordis": "workspace:^",
|
2026-07-25 16:04:48 +08:00
|
|
|
"react": "^18.2.0"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-07-30 15:56:41 +08:00
|
|
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
2026-07-25 16:04:48 +08:00
|
|
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
2026-07-30 15:56:41 +08:00
|
|
|
"@deepseek-ai/dsh-client-test-runtime": "workspace:^",
|
2026-07-25 16:04:48 +08:00
|
|
|
"@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-sidebar": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
|
|
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
|
|
|
"@types/react": "~18.3.1",
|
2026-08-11 00:16:45 +08:00
|
|
|
"@deepseek-ai/cordis": "workspace:^",
|
2026-07-25 16:04:48 +08:00
|
|
|
"react": "^18.2.0"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"lib/index.js",
|
|
|
|
|
"lib/invariant.js",
|
|
|
|
|
"lib/client.js",
|
2026-08-04 22:06:32 +08:00
|
|
|
"lib/types/**/*.d.ts"
|
2026-07-25 16:04:48 +08:00
|
|
|
]
|
|
|
|
|
}
|