`CommandService.list` and `execute` carry the wire contract directly through `@Remote`, and the Client assembly mounts the generated commands contribution. The legacy API Proxy route, its schemas, the map rows, the generated client methods and the fixture's command domain are removed, so the catalog and the admission call have one owner again. `Session.command()` keeps a result-shaped public face for parity with the prompt, cancel and attachment neighbours it sits beside, and reads the generated namespace through one `SessionRemotes` parameter. The Session cluster declares that face against the owning business package rather than the generated contribution: the Host compiler aggregate builds this package, and it runs before any contribution is emitted. Migrated calls lose the `title-invalid` class of protocol-only error codes and report `internal`; no production caller branched on them.
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-client-ui-command",
|
|
"description": "Client command surface: global directory cache, '/' source, three command UI kinds, popupSelect registry",
|
|
"version": "0.0.1-rc.2",
|
|
"publishConfig": {
|
|
"access": "restricted"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/client/ui-command"
|
|
},
|
|
"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"
|
|
},
|
|
"dsh": {
|
|
"client": {
|
|
"inject": [
|
|
"@deepseek-ai/dsh-api-remotes",
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-ui-slash",
|
|
"@deepseek-ai/dsh-client-ui-conversation"
|
|
],
|
|
"platform": "web"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"bundle": "tsdown",
|
|
"watch": "tsdown --watch"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"clsx": "^2.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
|
"@deepseek-ai/dsh-commands": "workspace:^",
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
"@deepseek-ai/cordis": "workspace:^",
|
|
"react": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/dsh-api-remotes": "workspace:^",
|
|
"@deepseek-ai/dsh-client-connection": "workspace:^",
|
|
"@deepseek-ai/dsh-client-locale": "workspace:^",
|
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
|
"@deepseek-ai/dsh-client-test-runtime": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-conversation": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
|
"@deepseek-ai/dsh-commands": "workspace:^",
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
"@types/react": "~18.3.1",
|
|
"@deepseek-ai/cordis": "workspace:^",
|
|
"react": "^18.2.0"
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/invariant.js",
|
|
"lib/client.js",
|
|
"lib/types/**/*.d.ts"
|
|
]
|
|
}
|