feat: per-session store + configurable host limits; fix divider drag runaway

- state: side-store per conversation, injected as a prop instead of a module singleton
- host: schemastery Config (read/media/list/terminal limits) resolved from cordis config
- shape: types/exports/peerDependencies for the web profile + plugin-shape spec
- fix: split divider emits incremental deltas so drags track the cursor 1:1
- docs: README refresh
This commit is contained in:
Menghuan1918
2026-08-09 22:07:03 +08:00
parent a10c9fc77e
commit e2ee427ea3
16 changed files with 421 additions and 97 deletions
+41 -2
View File
@@ -80,6 +80,9 @@ importers:
node-pty:
specifier: ^1.1.0
version: 1.1.0
schemastery:
specifier: ^3.18.0
version: 3.18.0
ws:
specifier: ^8.18.0
version: 8.21.2
@@ -87,9 +90,15 @@ importers:
specifier: ^5.3.0
version: 5.3.0
devDependencies:
'@cordisjs/plugin-loader':
specifier: ^1.0.0-rc.5
version: 1.0.0-rc.5(cordis@4.0.0-rc.7)
'@deepseek-ai/dsh-client-runtime':
specifier: link:/Users/menghuan/.dsh/source/current/packages/client/runtime
version: link:../../.dsh/source/current/packages/client/runtime
'@deepseek-ai/dsh-client-schema-form':
specifier: link:/Users/menghuan/.dsh/source/current/packages/client/schema-form
version: link:../../.dsh/source/current/packages/client/schema-form
'@deepseek-ai/dsh-client-ui-conversation':
specifier: link:/Users/menghuan/.dsh/source/current/packages/client/ui-conversation
version: link:../../.dsh/source/current/packages/client/ui-conversation
@@ -99,9 +108,15 @@ importers:
'@deepseek-ai/dsh-client-ui-slots':
specifier: link:/Users/menghuan/.dsh/source/current/packages/client/ui-slots
version: link:../../.dsh/source/current/packages/client/ui-slots
'@deepseek-ai/dsh-client-web-react':
specifier: link:/Users/menghuan/.dsh/source/current/packages/client/web-react
version: link:../../.dsh/source/current/packages/client/web-react
'@deepseek-ai/dsh-host-webserver':
specifier: link:/Users/menghuan/.dsh/source/current/packages/host/webserver
version: link:../../.dsh/source/current/packages/host/webserver
'@deepseek-ai/dsh-invariants':
specifier: link:/Users/menghuan/.dsh/source/current/packages/support/invariants
version: link:../../.dsh/source/current/packages/support/invariants
'@deepseek-ai/dsh-session':
specifier: link:/Users/menghuan/.dsh/source/current/packages/core/session
version: link:../../.dsh/source/current/packages/core/session
@@ -119,7 +134,7 @@ importers:
version: 8.18.1
cordis:
specifier: ^4.0.0-rc.7
version: 4.0.0-rc.7
version: 4.0.0-rc.7(@cordisjs/plugin-loader@1.0.0-rc.5)
lightningcss:
specifier: ^1.32.0
version: 1.33.0
@@ -207,6 +222,15 @@ packages:
'@codemirror/view@6.43.8':
resolution: {integrity: sha512-qtItTDssZ/5GFfi94hrILu9j/VUeFPDPkhovEfmWFj2ipTxnzPB8DdHgfbb8HYTzLTYhrndKmyQxXUz/PDLenw==}
'@cordisjs/plugin-loader@1.0.0-rc.5':
resolution: {integrity: sha512-084Wn2SzkFinbaASTq8blHOUqQt/oxZfX6gnrt0lnJ1CrystulFLL1+XVgF4o7lUMN9bHn4cfT1pMtkHprCtHw==}
peerDependencies:
cordis: ^4.0.0-rc.7
node-addon-require-builtin: ^0.1.0
peerDependenciesMeta:
node-addon-require-builtin:
optional: true
'@jridgewell/sourcemap-codec@1.5.5':
resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
@@ -814,6 +838,9 @@ packages:
scheduler@0.23.0:
resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}
schemastery@3.18.0:
resolution: {integrity: sha512-Jw2uxjoyyqc/yeurmChUEc/jbi8GsrdXV/KmqRUDZXJAXAmrJiPsz8vKa17l/VckyzljHZ9oGaul443CQiXxtA==}
siginfo@2.0.0:
resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}
@@ -1179,6 +1206,11 @@ snapshots:
style-mod: 4.1.3
w3c-keyname: 2.2.8
'@cordisjs/plugin-loader@1.0.0-rc.5(cordis@4.0.0-rc.7)':
dependencies:
cordis: 4.0.0-rc.7(@cordisjs/plugin-loader@1.0.0-rc.5)
cosmokit: 1.8.1
'@jridgewell/sourcemap-codec@1.5.5': {}
'@lezer/common@1.5.2': {}
@@ -1483,10 +1515,12 @@ snapshots:
convert-source-map@2.0.0: {}
cordis@4.0.0-rc.7:
cordis@4.0.0-rc.7(@cordisjs/plugin-loader@1.0.0-rc.5):
dependencies:
'@standard-schema/spec': 1.1.0
cosmokit: 1.8.1
optionalDependencies:
'@cordisjs/plugin-loader': 1.0.0-rc.5(cordis@4.0.0-rc.7)
cosmokit@1.8.1: {}
@@ -1658,6 +1692,11 @@ snapshots:
dependencies:
loose-envify: 1.4.0
schemastery@3.18.0:
dependencies:
'@standard-schema/spec': 1.1.0
cosmokit: 1.8.1
siginfo@2.0.0: {}
source-map-js@1.2.1: {}