@lincyaw/dsh 0.2.0-rc.120 → 0.2.0-rc.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -265,9 +265,11 @@
265
265
  "../workbench/src/document-editor/DocumentBlockPreview.tsx",
266
266
  "../workbench/src/panels/SourceDocumentPanel.tsx",
267
267
  "../workbench/src/panels/DocumentNarrationPanel.tsx",
268
+ "../workbench/src/panels/DocumentPeekPanel.tsx",
268
269
  "../workbench/src/panels/DocumentView.tsx",
269
270
  "../workbench/src/import-messages.ts",
270
271
  "../workbench/src/panels/DocumentImportDialog.tsx",
272
+ "../workbench/src/panels/MaterialsDialog.tsx",
271
273
  "../workbench/src/panels/WorkspaceHome.tsx",
272
274
  "../workbench/src/panels/HomePanel.tsx",
273
275
  "../workbench/src/speech-settings-messages.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lincyaw/dsh",
3
- "version": "0.2.0-rc.120",
3
+ "version": "0.2.0-rc.122",
4
4
  "description": "Presmium's bundle for DeepSeek Harness: the workbench of presmium studio, its host side (Presmium's tools, approvals, document context, skills and routes) and its client side (the root layout and the workbench's panels, precompiled) (experimental)",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -89,10 +89,10 @@
89
89
  "node-addon-require-builtin": "0.1.9",
90
90
  "ws": "8.22.0",
91
91
  "zod": "4.4.3",
92
- "@lincyaw/cli": "1.0.0-rc.121",
93
- "@lincyaw/mcp": "1.0.0-rc.121",
94
- "@lincyaw/kernel": "1.0.0-rc.121",
95
- "@lincyaw/skills": "1.0.0-rc.121"
92
+ "@lincyaw/kernel": "1.0.0-rc.123",
93
+ "@lincyaw/cli": "1.0.0-rc.123",
94
+ "@lincyaw/skills": "1.0.0-rc.123",
95
+ "@lincyaw/mcp": "1.0.0-rc.123"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@deepseek-ai/dsh": "0.2.1-alpha.4"
@@ -108,8 +108,8 @@
108
108
  "react": "18.3.1",
109
109
  "react-dom": "18.3.1",
110
110
  "react-resizable-panels": "^4.14.5",
111
- "@lincyaw/design": "1.0.0-rc.121",
112
- "@lincyaw/workbench": "0.2.0-rc.122"
111
+ "@lincyaw/design": "1.0.0-rc.123",
112
+ "@lincyaw/workbench": "0.2.0-rc.124"
113
113
  },
114
114
  "scripts": {}
115
115
  }
@@ -14,6 +14,13 @@ import { CLIENT_MESSAGES } from './messages.ts'
14
14
  * send. Without a model the composer's takeover shows over the draft, which waits beneath it.
15
15
  */
16
16
  export function registerAgentRequests(ctx: DshClientContext, workbench: Workbench, setup: AssistantSetup): void {
17
+ // The workbench offers what only the AI can do (writing a document from source material) by the model's readiness.
18
+ ctx.effect(() => {
19
+ const tell = () => workbench.setAgentReadiness(setup.readiness.getSnapshot(), setup.openModels)
20
+ tell()
21
+ const off = setup.readiness.subscribe(tell)
22
+ return () => { off(); workbench.setAgentReadiness('unknown') }
23
+ }, 'presmium: tell the workbench whether the AI has a model')
17
24
  ctx.inject(['sessions', 'layout'], inner => inner.effect(() => {
18
25
  let active: DshSessionBinding | undefined
19
26
  let offRequests: (() => void) | undefined
@@ -12,7 +12,7 @@ export const ROUTES: Record<string, string> = Object.fromEntries([
12
12
  'document/transcription/adoption/plan', 'document/transcription/adoption/apply',
13
13
  'ir', 'ir/events', 'preview', 'build', 'check', 'jobs', 'jobs/cancel', 'jobs/events', 'voice-catalog', 'voice-capabilities',
14
14
  'review', 'review/workspace', 'review/open', 'review/step', 'review/accept', 'review/reject', 'review/restore',
15
- 'tree', 'tree/operation', 'document/links', 'documents/search', 'document/preview', 'embed/source'].map(path => [path, `${WORKSPACE_ROUTES}${path}`]),
15
+ 'tree', 'tree/operation', 'document/links', 'documents/search', 'document/preview', 'embed/source', 'tree/attention', 'document/materials'].map(path => [path, `${WORKSPACE_ROUTES}${path}`]),
16
16
  ['focus', `${SERVER_ROUTES}focus`],
17
17
  ['control', `${SERVER_ROUTES}control`],
18
18
  ['diagnostics', `${SERVER_ROUTES}diagnostics`],
@@ -28,7 +28,7 @@ const ROUTES = {
28
28
  ir: { path: `${WORKSPACE_ROUTES}ir/events`, event: 'revision' },
29
29
  jobs: { path: `${WORKSPACE_ROUTES}jobs/events`, event: 'job' },
30
30
  'agent-activity': { path: `${WORKSPACE_ROUTES}agent-activity/events`, event: 'agent-activity' },
31
- /** `{ type: 'tree' }` whenever the document tree or the trash changes; the client reads `tree` again. */
31
+ /** `{ type: 'tree' }` whenever the document tree or the trash changes, `{ type: 'attention' }` when what needs attention does; the client reads `tree` or `tree/attention` again. */
32
32
  tree: { path: `${WORKSPACE_ROUTES}tree/events`, event: 'tree' },
33
33
  } as const
34
34
  const MAX_SUBSCRIPTIONS = 16