@acryldev/plugin-context 0.0.0-stage → 0.1.0

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.
Files changed (284) hide show
  1. package/LICENSE +21 -0
  2. package/docs/README.md +160 -0
  3. package/docs/delivery/local-live.md +113 -0
  4. package/docs/delivery/marketplace.md +16 -0
  5. package/docs/docs.json +2836 -0
  6. package/docs/extending/agent-preset.md +37 -0
  7. package/docs/extending/chat-command.md +28 -0
  8. package/docs/extending/client-slot.md +135 -0
  9. package/docs/extending/config-schema.md +7 -0
  10. package/docs/extending/cordis-core.md +63 -0
  11. package/docs/extending/desktop-app.md +53 -0
  12. package/docs/extending/desktop-main.md +25 -0
  13. package/docs/extending/event-hook.md +14 -0
  14. package/docs/extending/host-route.md +33 -0
  15. package/docs/extending/llm-adapter.md +38 -0
  16. package/docs/extending/packaging.md +53 -0
  17. package/docs/extending/prompt-contribution.md +9 -0
  18. package/docs/extending/service.md +13 -0
  19. package/docs/extending/skill-provider.md +9 -0
  20. package/docs/extending/state-and-persistence.md +71 -0
  21. package/docs/extending/three-role-capability.md +33 -0
  22. package/docs/extending/tool-plugin.md +24 -0
  23. package/docs/extending/tui-command.md +8 -0
  24. package/docs/extending/tui-components.md +61 -0
  25. package/docs/extending/ui-branding.md +43 -0
  26. package/docs/extending/ui-components.md +56 -0
  27. package/docs/extending/ui-customization.md +41 -0
  28. package/docs/extending/ui-library.md +66 -0
  29. package/docs/extending/ui-theme.md +55 -0
  30. package/docs/extending/workspace-tab.md +50 -0
  31. package/docs/maps/events.md +108 -0
  32. package/docs/maps/mount-points.md +154 -0
  33. package/docs/maps/slot-contracts.md +3376 -0
  34. package/docs/maps/taxonomy.md +306 -0
  35. package/docs/maps/theme-tokens.md +115 -0
  36. package/docs/maps/ui-components.md +26 -0
  37. package/docs/reference/cookbook/adding-a-package.md +174 -0
  38. package/docs/reference/cookbook/adding-a-remote-api.md +199 -0
  39. package/docs/reference/cookbook/adding-a-settings-card.md +74 -0
  40. package/docs/reference/cookbook/adding-a-tool.md +103 -0
  41. package/docs/reference/cookbook/adding-an-llm-adapter.md +45 -0
  42. package/docs/reference/cookbook/extension-cookbook.md +134 -0
  43. package/docs/reference/cordis-api/context.md +366 -0
  44. package/docs/reference/cordis-api/events.md +209 -0
  45. package/docs/reference/cordis-api/fiber.md +377 -0
  46. package/docs/reference/cordis-api/inherited.md +40 -0
  47. package/docs/reference/cordis-api/registry.md +154 -0
  48. package/docs/reference/cordis-api/service.md +104 -0
  49. package/docs/reference/cordis-guides/cordis-usage-cheatsheet.md +167 -0
  50. package/docs/reference/cordis-guides/cordis_system_guide_for_coding_agents.md +4666 -0
  51. package/docs/reference/cordis-guides/development-canvas-plugin.md +109 -0
  52. package/docs/reference/cordis-guides/hello-world-plugin-guide.md +517 -0
  53. package/docs/reference/harness/agent-lifecycle.md +93 -0
  54. package/docs/reference/harness/architecture.md +168 -0
  55. package/docs/reference/harness/capability-seams.md +675 -0
  56. package/docs/reference/harness/config-catalog.md +4523 -0
  57. package/docs/reference/harness/cordis-primer.md +47 -0
  58. package/docs/reference/harness/defensive-patterns.md +35 -0
  59. package/docs/reference/harness/event-producer-consumer.md +111 -0
  60. package/docs/reference/harness/glossary.md +47 -0
  61. package/docs/reference/harness/tool-catalog.md +2721 -0
  62. package/docs/reference/harness/tool-execution-pipeline.md +67 -0
  63. package/docs/reference/subsystems/README.md +75 -0
  64. package/docs/reference/subsystems/agent-team.md +233 -0
  65. package/docs/reference/subsystems/approval.md +172 -0
  66. package/docs/reference/subsystems/attachment.md +363 -0
  67. package/docs/reference/subsystems/boot.md +324 -0
  68. package/docs/reference/subsystems/browser-use.md +69 -0
  69. package/docs/reference/subsystems/client-modules.md +186 -0
  70. package/docs/reference/subsystems/client-resources.md +94 -0
  71. package/docs/reference/subsystems/commands.md +225 -0
  72. package/docs/reference/subsystems/compaction.md +286 -0
  73. package/docs/reference/subsystems/computer-use.md +58 -0
  74. package/docs/reference/subsystems/conversation.md +287 -0
  75. package/docs/reference/subsystems/core.md +1107 -0
  76. package/docs/reference/subsystems/credentials.md +497 -0
  77. package/docs/reference/subsystems/deliverables.md +180 -0
  78. package/docs/reference/subsystems/extensions.md +386 -0
  79. package/docs/reference/subsystems/feedback.md +402 -0
  80. package/docs/reference/subsystems/filesystem.md +532 -0
  81. package/docs/reference/subsystems/goal.md +315 -0
  82. package/docs/reference/subsystems/invariants.md +90 -0
  83. package/docs/reference/subsystems/jobs.md +501 -0
  84. package/docs/reference/subsystems/llm-streaming.md +1131 -0
  85. package/docs/reference/subsystems/lsp.md +204 -0
  86. package/docs/reference/subsystems/mcp.md +141 -0
  87. package/docs/reference/subsystems/office-to-pdf.md +89 -0
  88. package/docs/reference/subsystems/otel.md +46 -0
  89. package/docs/reference/subsystems/permission-presets.md +169 -0
  90. package/docs/reference/subsystems/persistence.md +418 -0
  91. package/docs/reference/subsystems/plan.md +89 -0
  92. package/docs/reference/subsystems/product-telemetry.md +81 -0
  93. package/docs/reference/subsystems/ptc-runtime.md +234 -0
  94. package/docs/reference/subsystems/sandbox.md +223 -0
  95. package/docs/reference/subsystems/schedule.md +545 -0
  96. package/docs/reference/subsystems/scope.md +61 -0
  97. package/docs/reference/subsystems/session-projection.md +358 -0
  98. package/docs/reference/subsystems/session-query.md +511 -0
  99. package/docs/reference/subsystems/session-reference.md +226 -0
  100. package/docs/reference/subsystems/session-telemetry.md +214 -0
  101. package/docs/reference/subsystems/session-title.md +206 -0
  102. package/docs/reference/subsystems/session.md +1300 -0
  103. package/docs/reference/subsystems/settings.md +157 -0
  104. package/docs/reference/subsystems/shell.md +316 -0
  105. package/docs/reference/subsystems/sidebar-right.md +160 -0
  106. package/docs/reference/subsystems/skills.md +354 -0
  107. package/docs/reference/subsystems/slots.md +201 -0
  108. package/docs/reference/subsystems/spill.md +126 -0
  109. package/docs/reference/subsystems/ssh.md +137 -0
  110. package/docs/reference/subsystems/storage.md +262 -0
  111. package/docs/reference/subsystems/subagent.md +762 -0
  112. package/docs/reference/subsystems/subprocess.md +323 -0
  113. package/docs/reference/subsystems/system-prompt.md +226 -0
  114. package/docs/reference/subsystems/terminal.md +186 -0
  115. package/docs/reference/subsystems/todo.md +34 -0
  116. package/docs/reference/subsystems/token-meter.md +108 -0
  117. package/docs/reference/subsystems/tools.md +749 -0
  118. package/docs/reference/subsystems/typert.md +489 -0
  119. package/docs/reference/subsystems/user-questions.md +309 -0
  120. package/docs/reference/subsystems/voice-input.md +166 -0
  121. package/docs/reference/subsystems/web-client.md +102 -0
  122. package/docs/reference/subsystems/web-server.md +228 -0
  123. package/docs/reference/subsystems/web.md +208 -0
  124. package/docs/reference/subsystems/webhook.md +72 -0
  125. package/docs/reference/subsystems/workflow.md +280 -0
  126. package/docs/reference/subsystems/workspace.md +661 -0
  127. package/docs/start-here/blueprints.md +33 -0
  128. package/docs/start-here/this-runtime.md +84 -0
  129. package/docs/start-here/troubleshooting.md +29 -0
  130. package/docs/start-here/trust-and-safety.md +39 -0
  131. package/docs/start-here/verify-before-done.md +46 -0
  132. package/example-plugins/README.md +45 -0
  133. package/example-plugins/packages/agent-preset-reviewer/agent.cordis.yml +18 -0
  134. package/example-plugins/packages/agent-preset-reviewer/preset.yml +3 -0
  135. package/example-plugins/packages/capability-swap-consumer/cordis.patch.yml +3 -0
  136. package/example-plugins/packages/capability-swap-consumer/index.js +14 -0
  137. package/example-plugins/packages/capability-swap-consumer/package.json +25 -0
  138. package/example-plugins/packages/capability-swap-provider-loud/cordis.patch.yml +3 -0
  139. package/example-plugins/packages/capability-swap-provider-loud/index.js +20 -0
  140. package/example-plugins/packages/capability-swap-provider-loud/package.json +25 -0
  141. package/example-plugins/packages/capability-swap-provider-quiet/cordis.patch.yml +3 -0
  142. package/example-plugins/packages/capability-swap-provider-quiet/index.js +20 -0
  143. package/example-plugins/packages/capability-swap-provider-quiet/package.json +25 -0
  144. package/example-plugins/packages/chat-command-basic/cordis.patch.yml +3 -0
  145. package/example-plugins/packages/chat-command-basic/index.js +26 -0
  146. package/example-plugins/packages/chat-command-basic/package.json +25 -0
  147. package/example-plugins/packages/client-chat-message-action/client.js +46 -0
  148. package/example-plugins/packages/client-chat-message-action/cordis.patch.yml +3 -0
  149. package/example-plugins/packages/client-chat-message-action/index.js +9 -0
  150. package/example-plugins/packages/client-chat-message-action/package.json +31 -0
  151. package/example-plugins/packages/client-slot-header-action/client.js +57 -0
  152. package/example-plugins/packages/client-slot-header-action/cordis.patch.yml +3 -0
  153. package/example-plugins/packages/client-slot-header-action/index.js +13 -0
  154. package/example-plugins/packages/client-slot-header-action/package.json +31 -0
  155. package/example-plugins/packages/client-slot-sidebar-tab/client.js +57 -0
  156. package/example-plugins/packages/client-slot-sidebar-tab/cordis.patch.yml +3 -0
  157. package/example-plugins/packages/client-slot-sidebar-tab/index.js +9 -0
  158. package/example-plugins/packages/client-slot-sidebar-tab/package.json +32 -0
  159. package/example-plugins/packages/client-theme-override/client.js +52 -0
  160. package/example-plugins/packages/client-theme-override/cordis.patch.yml +3 -0
  161. package/example-plugins/packages/client-theme-override/index.js +9 -0
  162. package/example-plugins/packages/client-theme-override/package.json +30 -0
  163. package/example-plugins/packages/client-tool-view/client.js +47 -0
  164. package/example-plugins/packages/client-tool-view/cordis.patch.yml +3 -0
  165. package/example-plugins/packages/client-tool-view/index.js +24 -0
  166. package/example-plugins/packages/client-tool-view/package.json +34 -0
  167. package/example-plugins/packages/client-ui-components/client.js +77 -0
  168. package/example-plugins/packages/client-ui-components/cordis.patch.yml +3 -0
  169. package/example-plugins/packages/client-ui-components/index.js +9 -0
  170. package/example-plugins/packages/client-ui-components/package.json +31 -0
  171. package/example-plugins/packages/client-ui-library/client.js +715 -0
  172. package/example-plugins/packages/client-ui-library/cordis.patch.yml +3 -0
  173. package/example-plugins/packages/client-ui-library/index.js +9 -0
  174. package/example-plugins/packages/client-ui-library/package.json +37 -0
  175. package/example-plugins/packages/client-workspace-tab/client.js +72 -0
  176. package/example-plugins/packages/client-workspace-tab/cordis.patch.yml +3 -0
  177. package/example-plugins/packages/client-workspace-tab/index.js +9 -0
  178. package/example-plugins/packages/client-workspace-tab/package.json +30 -0
  179. package/example-plugins/packages/config-schema-basic/cordis.patch.yml +3 -0
  180. package/example-plugins/packages/config-schema-basic/index.js +19 -0
  181. package/example-plugins/packages/config-schema-basic/package.json +25 -0
  182. package/example-plugins/packages/desktop-main-profile-info/cordis.patch.yml +3 -0
  183. package/example-plugins/packages/desktop-main-profile-info/index.js +22 -0
  184. package/example-plugins/packages/desktop-main-profile-info/package.json +25 -0
  185. package/example-plugins/packages/event-hook-basic/cordis.patch.yml +3 -0
  186. package/example-plugins/packages/event-hook-basic/index.js +17 -0
  187. package/example-plugins/packages/event-hook-basic/package.json +22 -0
  188. package/example-plugins/packages/generated-capability-template/cordis.patch.yml +3 -0
  189. package/example-plugins/packages/generated-capability-template/index.js +16 -0
  190. package/example-plugins/packages/generated-capability-template/package.json +42 -0
  191. package/example-plugins/packages/host-route-basic/cordis.patch.yml +3 -0
  192. package/example-plugins/packages/host-route-basic/index.js +20 -0
  193. package/example-plugins/packages/host-route-basic/package.json +29 -0
  194. package/example-plugins/packages/lifecycle-function-basic/cordis.patch.yml +3 -0
  195. package/example-plugins/packages/lifecycle-function-basic/index.js +12 -0
  196. package/example-plugins/packages/lifecycle-function-basic/package.json +15 -0
  197. package/example-plugins/packages/lifecycle-function-hot-shim/cordis.patch.yml +3 -0
  198. package/example-plugins/packages/lifecycle-function-hot-shim/impl.js +5 -0
  199. package/example-plugins/packages/lifecycle-function-hot-shim/index.js +18 -0
  200. package/example-plugins/packages/lifecycle-function-hot-shim/package.json +23 -0
  201. package/example-plugins/packages/lifecycle-hooks-observer/cordis.patch.yml +3 -0
  202. package/example-plugins/packages/lifecycle-hooks-observer/index.js +23 -0
  203. package/example-plugins/packages/lifecycle-hooks-observer/package.json +22 -0
  204. package/example-plugins/packages/llm-adapter-echo/cordis.patch.yml +3 -0
  205. package/example-plugins/packages/llm-adapter-echo/index.js +42 -0
  206. package/example-plugins/packages/llm-adapter-echo/package.json +25 -0
  207. package/example-plugins/packages/prompt-assemble-hook/cordis.patch.yml +3 -0
  208. package/example-plugins/packages/prompt-assemble-hook/index.js +22 -0
  209. package/example-plugins/packages/prompt-assemble-hook/package.json +22 -0
  210. package/example-plugins/packages/prompt-contribution-basic/cordis.patch.yml +3 -0
  211. package/example-plugins/packages/prompt-contribution-basic/index.js +18 -0
  212. package/example-plugins/packages/prompt-contribution-basic/package.json +22 -0
  213. package/example-plugins/packages/service-consumer-greeter/cordis.patch.yml +3 -0
  214. package/example-plugins/packages/service-consumer-greeter/index.js +14 -0
  215. package/example-plugins/packages/service-consumer-greeter/package.json +22 -0
  216. package/example-plugins/packages/service-provider-greeter/cordis.patch.yml +3 -0
  217. package/example-plugins/packages/service-provider-greeter/index.js +22 -0
  218. package/example-plugins/packages/service-provider-greeter/package.json +25 -0
  219. package/example-plugins/packages/settings-section-basic/cordis.patch.yml +3 -0
  220. package/example-plugins/packages/settings-section-basic/index.js +34 -0
  221. package/example-plugins/packages/settings-section-basic/package.json +26 -0
  222. package/example-plugins/packages/skill-provider-basic/cordis.patch.yml +3 -0
  223. package/example-plugins/packages/skill-provider-basic/index.js +31 -0
  224. package/example-plugins/packages/skill-provider-basic/package.json +22 -0
  225. package/example-plugins/packages/state-host-store/client.js +57 -0
  226. package/example-plugins/packages/state-host-store/cordis.patch.yml +3 -0
  227. package/example-plugins/packages/state-host-store/index.js +90 -0
  228. package/example-plugins/packages/state-host-store/package.json +31 -0
  229. package/example-plugins/packages/state-workspace-file/cordis.patch.yml +3 -0
  230. package/example-plugins/packages/state-workspace-file/index.js +52 -0
  231. package/example-plugins/packages/state-workspace-file/package.json +25 -0
  232. package/example-plugins/packages/tool-basic/cordis.patch.yml +3 -0
  233. package/example-plugins/packages/tool-basic/index.js +25 -0
  234. package/example-plugins/packages/tool-basic/package.json +25 -0
  235. package/example-plugins/packages/tool-policy-hook/cordis.patch.yml +3 -0
  236. package/example-plugins/packages/tool-policy-hook/index.js +28 -0
  237. package/example-plugins/packages/tool-policy-hook/package.json +25 -0
  238. package/example-plugins/packages/tui-command-basic/cordis.patch.yml +3 -0
  239. package/example-plugins/packages/tui-command-basic/index.js +24 -0
  240. package/example-plugins/packages/tui-command-basic/package.json +22 -0
  241. package/example-plugins/packages/tui-overlay-themed/cordis.patch.yml +3 -0
  242. package/example-plugins/packages/tui-overlay-themed/index.js +65 -0
  243. package/example-plugins/packages/tui-overlay-themed/package.json +25 -0
  244. package/example-plugins/packages/tui-ui-library/cordis.patch.yml +3 -0
  245. package/example-plugins/packages/tui-ui-library/index.js +73 -0
  246. package/example-plugins/packages/tui-ui-library/package.json +29 -0
  247. package/example-plugins/packages/web-page-branding/cordis.patch.yml +3 -0
  248. package/example-plugins/packages/web-page-branding/index.js +31 -0
  249. package/example-plugins/packages/web-page-branding/package.json +22 -0
  250. package/example-plugins/scenarios.json +11 -0
  251. package/index.js +384 -0
  252. package/lib/blend-apply.js +107 -0
  253. package/lib/blend-capture.js +249 -0
  254. package/lib/blend-ledger.js +76 -0
  255. package/lib/contract.js +5 -0
  256. package/lib/install.js +516 -0
  257. package/lib/lookup.js +67 -0
  258. package/lib/manifest.js +56 -0
  259. package/lib/pack-root.js +22 -0
  260. package/lib/provenance.js +110 -0
  261. package/lib/publish.js +64 -0
  262. package/lib/reconcile.js +83 -0
  263. package/lib/router.js +55 -0
  264. package/lib/scopes.js +82 -0
  265. package/lib/skills.js +54 -0
  266. package/lib/stage.js +157 -0
  267. package/lib/verify.js +77 -0
  268. package/package.json +56 -3
  269. package/scripts/lib/indexes.mjs +45 -0
  270. package/scripts/lib/manifest.mjs +127 -0
  271. package/scripts/lib/maps.mjs +482 -0
  272. package/skills/acryl-add-provider-or-capability/SKILL.md +12 -0
  273. package/skills/acryl-add-ui/SKILL.md +18 -0
  274. package/skills/acryl-build-plugin/SKILL.md +21 -0
  275. package/skills/acryl-change-plugin/SKILL.md +16 -0
  276. package/skills/acryl-desktop-shell/SKILL.md +12 -0
  277. package/skills/acryl-diagnose-plugin/SKILL.md +10 -0
  278. package/skills/acryl-fix-plugin/SKILL.md +12 -0
  279. package/skills/acryl-improve-ui/SKILL.md +10 -0
  280. package/skills/acryl-remove-plugin/SKILL.md +11 -0
  281. package/skills/acryl-restyle-ui/SKILL.md +14 -0
  282. package/skills/acryl-share-plugin/SKILL.md +23 -0
  283. package/skills/acryl-tui-ui/SKILL.md +12 -0
  284. package/README.md +0 -3
@@ -0,0 +1,57 @@
1
+ // Example: client-slot.header-action (browser half)
2
+ // Type: client-slot
3
+ // Surfaces: web desktop
4
+ // Teaches: a browser plugin WITHOUT a build step. The bundle is CommonJS wrapped in
5
+ // window.__ModuleLoader__.load(...), the exact wrapper the repo's tsdown config
6
+ // adds (plugins/brand-client/tsdown.config.ts). `react` and
7
+ // `react-dom` are provided by the app via require(); use React.createElement
8
+ // (no JSX, there is no compiler). State persists in localStorage.
9
+ // Expect: a "Notes" button in the conversation header actions; click opens a panel.
10
+ // Docs: extending.client-slot
11
+ // Pattern: ui-schedule (src/client/index.ts) fills 'conversation.session.header.actions'
12
+ window.__ModuleLoader__.load({ id: 'acryl-example-client-notes', factory: (require) => {
13
+ var module = { exports: {} }; var exports = module.exports;
14
+
15
+ const React = require('react')
16
+ const ReactDOM = require('react-dom')
17
+ const h = React.createElement
18
+ console.info('[acryl-example-client-notes] client module loaded (react ' + typeof React.createElement + ')')
19
+ const KEY = 'acryl-example-client-notes'
20
+
21
+ function load() {
22
+ try { return JSON.parse(localStorage.getItem(KEY) || '[]') } catch { return [] }
23
+ }
24
+
25
+ function NotesAction() {
26
+ const [open, setOpen] = React.useState(false)
27
+ const [notes, setNotes] = React.useState(load)
28
+ const [draft, setDraft] = React.useState('')
29
+ const save = next => { setNotes(next); localStorage.setItem(KEY, JSON.stringify(next)) }
30
+ const add = () => { if (draft.trim()) { save([...notes, { id: Date.now(), text: draft.trim() }]); setDraft('') } }
31
+
32
+ const panel = open && h('div', { style: { position: 'fixed', top: 56, right: 16, width: 320, maxHeight: '70vh', overflow: 'auto', zIndex: 9999, padding: 12, background: 'var(--surface, #fff)', color: 'var(--text, #111)', border: '1px solid #8884', borderRadius: 8, boxShadow: '0 8px 24px #0003' } },
33
+ h('strong', null, 'Notes'),
34
+ notes.map(n => h('div', { key: n.id, style: { display: 'flex', gap: 8, marginTop: 8 } },
35
+ h('span', { style: { flex: 1 } }, n.text),
36
+ h('button', { onClick: () => save(notes.filter(x => x.id !== n.id)) }, 'x'))),
37
+ h('div', { style: { display: 'flex', gap: 8, marginTop: 12 } },
38
+ h('input', { value: draft, placeholder: 'New note', style: { flex: 1 }, onChange: e => setDraft(e.target.value), onKeyDown: e => { if (e.key === 'Enter') add() } }),
39
+ h('button', { onClick: add }, 'Add')))
40
+
41
+ return h(React.Fragment, null,
42
+ h('button', { type: 'button', onClick: () => setOpen(v => !v), title: 'Notes' }, 'Notes'),
43
+ panel && ReactDOM.createPortal(panel, document.body))
44
+ }
45
+
46
+ // Required service: the UI slot registry.
47
+ exports.inject = ['slots']
48
+
49
+ exports.apply = function apply(ctx) {
50
+ console.info('[acryl-example-client-notes] apply: registering header action')
51
+ // slots.inject waits for the slot's own declaration, so this works whether this
52
+ // package loads before or after the package that declares the slot.
53
+ ctx.slots.inject('conversation.session.header.actions', () =>
54
+ ctx.slots.register({ name: 'conversation.session.header.actions', id: 'acryl-example-client-notes', order: 60 }, NotesAction))
55
+ }
56
+
57
+ return module.exports; } });
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: example-client-notes
3
+ name: acryl-example-client-notes
@@ -0,0 +1,13 @@
1
+ // Example: client-slot.header-action
2
+ // Type: client-slot
3
+ // Surfaces: web desktop
4
+ // Teaches: the HOST half of a client plugin is an empty apply(); the UI lives in client.js (see that file).
5
+ // Expect: ACTIVE host row; a Notes button appears in the conversation header after a page reload.
6
+ // Docs: extending.client-slot
7
+ // Pattern: plugins/brand-client (src/index.ts)
8
+ export const name = 'acryl-example-client-notes'
9
+
10
+ // Host half: this package contributes browser presentation only. The browser
11
+ // half ships through exports["./client"] (client.js), discovered because
12
+ // package.json declares "dsh.client".
13
+ export function apply() {}
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "acryl-example-client-notes",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "description": "Adds a top-bar button that opens a notes panel (web client plugin, no build step)",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./index.js",
9
+ "exports": {
10
+ ".": "./index.js",
11
+ "./package.json": "./package.json",
12
+ "./client": "./client.js"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "cordis.patch.yml",
17
+ "client.js"
18
+ ],
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-ui-renderer",
26
+ "@deepseek-ai/dsh-client-ui-conversation"
27
+ ],
28
+ "platform": "web"
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,57 @@
1
+ // Example: client-slot.sidebar-tab (browser half)
2
+ // Type: client-slot
3
+ // Surfaces: web desktop
4
+ // Teaches: a tab in the right sidebar, in the same two stages the built-in tabs use: (1) register the tab
5
+ // TYPE in `ctx.sidebarRightTabs` (a title, and a guide entry so the user can open it from the
6
+ // sidebar's "new tab" page); (2) register the tab BODY in the keyed `sidebar.right.pane.tab` slot
7
+ // under the type's `id`. State lives in localStorage. No build step, no JSX.
8
+ // Expect: a "Todo" entry on the sidebar's new-tab page; opening it shows a small persistent todo list.
9
+ // Docs: extending.client-slot
10
+ // Pattern: the built-in files tab (packages/client/ui-sidebar-files) and docs/reference/subsystems/sidebar-right.md
11
+ // Status: structure copied from the built-in tab; verify in the real UI after installing (reload the page).
12
+ window.__ModuleLoader__.load({ id: 'acryl-example-client-sidebar-tab', factory: (require) => {
13
+ var module = { exports: {} }; var exports = module.exports;
14
+
15
+ const React = require('react')
16
+ const h = React.createElement
17
+ const TAB_ID = 'acryl-example-client-sidebar-tab'
18
+ const KEY = TAB_ID + ':items'
19
+
20
+ function load() {
21
+ try { return JSON.parse(localStorage.getItem(KEY) || '[]') } catch { return [] }
22
+ }
23
+
24
+ function TodoBody() {
25
+ const [items, setItems] = React.useState(load)
26
+ const [draft, setDraft] = React.useState('')
27
+ const save = next => { setItems(next); try { localStorage.setItem(KEY, JSON.stringify(next)) } catch { /* private mode */ } }
28
+ const add = () => { if (draft.trim()) { save([...items, { id: Date.now(), text: draft.trim(), done: false }]); setDraft('') } }
29
+ return h('div', { style: { padding: 12, display: 'flex', flexDirection: 'column', gap: 8 } },
30
+ h('strong', null, 'Todo'),
31
+ items.map(item => h('label', { key: item.id, style: { display: 'flex', gap: 8, alignItems: 'center' } },
32
+ h('input', { type: 'checkbox', checked: item.done, onChange: () => save(items.map(x => x.id === item.id ? { ...x, done: !x.done } : x)) }),
33
+ h('span', { style: { flex: 1, textDecoration: item.done ? 'line-through' : 'none' } }, item.text),
34
+ h('button', { type: 'button', onClick: () => save(items.filter(x => x.id !== item.id)) }, 'x'))),
35
+ h('div', { style: { display: 'flex', gap: 8 } },
36
+ h('input', { value: draft, placeholder: 'New item', style: { flex: 1 }, onChange: e => setDraft(e.target.value), onKeyDown: e => { if (e.key === 'Enter') add() } }),
37
+ h('button', { type: 'button', onClick: add }, 'Add')))
38
+ }
39
+
40
+ // Required services: the slot registry and the sidebar's tab-type registry.
41
+ exports.inject = ['slots', 'sidebarRightTabs']
42
+
43
+ exports.apply = function apply(ctx) {
44
+ console.info('[' + TAB_ID + '] apply: registering sidebar tab')
45
+ // Stage one: what the tab type IS. `kind` is what "open a tab of this kind" names.
46
+ ctx.effect(() => ctx.sidebarRightTabs.register({
47
+ id: TAB_ID,
48
+ kind: 'acryl-example-todo',
49
+ title: () => 'Todo',
50
+ guide: [{ order: 90, title: () => 'Todo', description: () => 'A small persistent todo list' }],
51
+ }), TAB_ID + ': tab type')
52
+ // Stage two: the body, in the keyed seat, under the type's id.
53
+ ctx.effect(() => ctx.slots.inject('sidebar.right.pane.tab', () =>
54
+ ctx.slots.register({ name: 'sidebar.right.pane.tab', key: TAB_ID }, TodoBody)), TAB_ID + ': tab body')
55
+ }
56
+
57
+ return module.exports; } });
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: example-client-sidebar-tab
3
+ name: acryl-example-client-sidebar-tab
@@ -0,0 +1,9 @@
1
+ // Example: client-slot.sidebar-tab (host half)
2
+ // Type: client-slot
3
+ // Surfaces: web desktop
4
+ // Teaches: a UI-only plugin has an empty host `apply`; all behavior is in ./client.js.
5
+ // Expect: row ACTIVE, nothing else on the host.
6
+ // Docs: extending.client-slot
7
+ export const name = 'acryl-example-client-sidebar-tab'
8
+
9
+ export function apply() {}
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "acryl-example-client-sidebar-tab",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "description": "Adds a tab to the right sidebar (web client plugin, no build step)",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./index.js",
9
+ "exports": {
10
+ ".": "./index.js",
11
+ "./package.json": "./package.json",
12
+ "./client": "./client.js"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "cordis.patch.yml",
17
+ "client.js"
18
+ ],
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-ui-renderer",
26
+ "@deepseek-ai/dsh-client-ui-conversation",
27
+ "@deepseek-ai/dsh-client-ui-sidebar-right"
28
+ ],
29
+ "platform": "web"
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,52 @@
1
+ // Example: ui-theme.override (browser half)
2
+ // Type: client-slot (theme service)
3
+ // Surfaces: web desktop (the same code; both render the same client app)
4
+ // Teaches: restyle the app WITHOUT touching a stylesheet: the client `theme` service stacks a token override layer
5
+ // over whichever theme is active. `ctx.theme.overrideTokens(sourceId, { '--token': { light, dark } })`:
6
+ // BOTH modes are mandatory (repeat the value if it is the same in both), so the override never turns illegible
7
+ // when the user switches light/dark. One layer per sourceId: calling again replaces it; the returned disposer
8
+ // removes it. Font: override `--dsw-font-family` (a CSS font-family list; load a web font with an
9
+ // `@font-face` <style> if it is not a system font). To ship a whole named theme instead, `ctx.theme.register({
10
+ // id, colorScheme: 'light' | 'dark', tokens })` and let the user pick it (`ctx.theme.setTheme(id)` changes the
11
+ // user's saved preference, so only do that when they asked).
12
+ // TAB / WINDOW TITLE: the app rewrites `document.title` at runtime from a locale string that a plugin cannot
13
+ // replace, so a title set in index.html (see web-page-branding) is overwritten. Keep yours with a
14
+ // MutationObserver on <head> that rewrites the product name (below). The host page title is only the pre-boot title.
15
+ // Expect: the brand accent becomes orange, the UI font a serif stack, and the tab title reads "My Studio".
16
+ // Docs: extending.ui-theme
17
+ // Pattern: deepseek-harness/packages/client/ui-theme (ThemeRuntime.overrideTokens / register)
18
+ window.__ModuleLoader__.load({ id: 'acryl-example-theme-override', factory: (require) => {
19
+ var module = { exports: {} }; var exports = module.exports;
20
+
21
+ const SOURCE = 'acryl-example-theme-override'
22
+ console.info('[' + SOURCE + '] client module loaded')
23
+
24
+ // Required service: the theme registry (ui-theme).
25
+ exports.inject = ['theme']
26
+
27
+ exports.apply = function apply(ctx) {
28
+ // Effect-owned: the layer is removed when this plugin unloads (remove or update), restoring the base theme.
29
+ ctx.effect(() => ctx.theme.overrideTokens(SOURCE, {
30
+ // Brand accent: buttons, focus, links. Use a lighter value in dark mode for contrast.
31
+ '--dsw-alias-brand-primary': { light: '#e8590c', dark: '#ff922b' },
32
+ // Font for the whole app (system fonts only; no download).
33
+ '--dsw-font-family': {
34
+ light: "Georgia, 'Times New Roman', serif",
35
+ dark: "Georgia, 'Times New Roman', serif",
36
+ },
37
+ }), SOURCE + ': token layer')
38
+ // Keep the product name in the tab/window title (the app resets it whenever the session title changes).
39
+ ctx.effect(() => {
40
+ const rename = () => {
41
+ const next = document.title.replaceAll('ACRYL', 'My Studio').replaceAll('DeepSeek Harness', 'My Studio')
42
+ if (next !== document.title) document.title = next
43
+ }
44
+ rename()
45
+ const observer = new MutationObserver(rename)
46
+ observer.observe(document.head, { childList: true, characterData: true, subtree: true })
47
+ return () => observer.disconnect()
48
+ }, SOURCE + ': title')
49
+ console.info('[' + SOURCE + '] apply: override layer registered')
50
+ }
51
+
52
+ return module.exports; } });
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: example-theme-override
3
+ name: acryl-example-theme-override
@@ -0,0 +1,9 @@
1
+ // Example: ui-theme.override (host half)
2
+ // Type: client-slot (theme service, browser only)
3
+ // Surfaces: web desktop
4
+ // Teaches: a UI-only plugin has an empty host `apply`; the restyling is in ./client.js.
5
+ // Expect: row ACTIVE; colors and font change after a page (Web) or window (Desktop) reload.
6
+ // Docs: extending.ui-theme
7
+ export const name = 'acryl-example-theme-override'
8
+
9
+ export function apply() {}
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "acryl-example-theme-override",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "description": "Restyles the Web and Desktop app: brand color, accent, and font via the theme service (no build step)",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./index.js",
9
+ "exports": {
10
+ ".": "./index.js",
11
+ "./package.json": "./package.json",
12
+ "./client": "./client.js"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "cordis.patch.yml",
17
+ "client.js"
18
+ ],
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-ui-theme"
26
+ ],
27
+ "platform": "web"
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,47 @@
1
+ // Example: client-tool-view.custom-card (browser half)
2
+ // Type: client-slot (tool renderer)
3
+ // Surfaces: web desktop
4
+ // Teaches: `tool.call.toolview` is a KEYED slot dispatched by the wire tool name: register with `key: '<tool name>'` (any tool, including one your own
5
+ // package registered) and the app renders that tool's calls with your component. It receives `{ callId, toolName, block, cwd, openFile, ... }`
6
+ // (full contract in maps/slot-contracts.md). `block` is either a RUNNING call (`block.name`, `block.argsRaw`, no `kind: 'tool-result'`) or a
7
+ // SETTLED result (`block.kind === 'tool-result'`, `block.content` = content blocks, `block.isError`, `block.call.argsRaw`). Render both. A key the
8
+ // app already covers (bash, read, edit, ...) is REPLACED, not shared, so use it for your own tools. Build from the shared components.
9
+ // Expect: a small card: "words" and "chars" tags for a finished call, "counting..." while running.
10
+ // Docs: extending.client-slot
11
+ // Pattern: maps/slot-contracts.md ("tool.call.toolview"), deepseek-harness/packages/client/ui-tool (the shipped tool rows)
12
+ window.__ModuleLoader__.load({ id: 'acryl-example-tool-view', factory: (require) => {
13
+ var module = { exports: {} }; var exports = module.exports;
14
+
15
+ const React = require('react')
16
+ const { Tag } = require('@deepseek-ai/dsh-client-ui-primitives')
17
+ const h = React.createElement
18
+ const ID = 'acryl-example-tool-view'
19
+ console.info('[' + ID + '] client module loaded')
20
+
21
+ function parse(block) {
22
+ if (block.kind !== 'tool-result') return undefined
23
+ const text = (block.content || []).map(part => (part.type === 'text' ? part.text : '')).join('')
24
+ try { return JSON.parse(text) } catch { return undefined }
25
+ }
26
+
27
+ function WordStatsView({ toolName, block }) {
28
+ const stats = parse(block)
29
+ const failed = block.kind === 'tool-result' && block.isError
30
+ return h('div', { 'data-example': ID, style: { display: 'flex', gap: 8, alignItems: 'center', padding: '6px 10px', border: '1px solid var(--dsw-alias-border-l1, #8884)', borderRadius: 8, margin: '4px 0' } },
31
+ h('strong', null, toolName),
32
+ failed ? h(Tag, { tone: 'outline' }, 'failed')
33
+ : stats ? [h(Tag, { key: 'w', tone: 'outline' }, stats.words + ' words'), h(Tag, { key: 'c', tone: 'outline' }, stats.chars + ' chars')]
34
+ : h('span', { style: { opacity: 0.7 } }, 'counting...'))
35
+ }
36
+
37
+ // Required service: the slot registry.
38
+ exports.inject = ['slots']
39
+
40
+ exports.apply = function apply(ctx) {
41
+ console.info('[' + ID + '] apply: registering tool view')
42
+ // slots.inject waits for the slot's own declaration (it exists while the chat entry is mounted), so load order does not matter.
43
+ ctx.slots.inject('tool.call.toolview', () =>
44
+ ctx.slots.register({ name: 'tool.call.toolview', key: 'example_word_stats' }, WordStatsView))
45
+ }
46
+
47
+ return module.exports; } });
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: example-tool-view
3
+ name: acryl-example-tool-view
@@ -0,0 +1,24 @@
1
+ // Example: client-tool-view.custom-card (host half)
2
+ // Type: tool + client-slot (a tool renderer)
3
+ // Surfaces: web desktop (the tool also works on the CLI, which has no custom renderers)
4
+ // Teaches: a tool with its own conversation card. The host half registers the tool `example_word_stats`; the browser half (client.js) registers a
5
+ // `tool.call.toolview` keyed by that SAME tool name, so the app draws its calls with your component instead of the generic tool row.
6
+ // Expect: row ACTIVE; the model can call `example_word_stats`; in the chat its calls render as a card after a page reload.
7
+ // Docs: extending.client-slot
8
+ import { defineTool } from '@deepseek-ai/dsh-tools'
9
+
10
+ export const name = 'acryl-example-tool-view'
11
+ export const inject = ['tools']
12
+
13
+ export function apply(ctx) {
14
+ ctx.tools.register(defineTool({
15
+ name: 'example_word_stats',
16
+ description: 'Count the words and characters of a text. Returns JSON {"words": n, "chars": m}.',
17
+ parameters: { text: { type: 'string', required: true, description: 'The text to measure' } },
18
+ output: { schema: { type: 'string' }, render: (_args, value) => [{ type: 'text', text: value }] },
19
+ async execute(args) {
20
+ const text = String(args.text)
21
+ return JSON.stringify({ words: text.split(/\s+/u).filter(Boolean).length, chars: text.length })
22
+ },
23
+ }))
24
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "acryl-example-tool-view",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "description": "A tool plus a custom card that renders its calls in the conversation (tool.call.toolview slot)",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./index.js",
9
+ "exports": {
10
+ ".": "./index.js",
11
+ "./package.json": "./package.json",
12
+ "./client": "./client.js"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "cordis.patch.yml",
17
+ "client.js"
18
+ ],
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-ui-primitives",
26
+ "@deepseek-ai/dsh-client-ui-tool"
27
+ ],
28
+ "platform": "web"
29
+ }
30
+ },
31
+ "peerDependencies": {
32
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.2"
33
+ }
34
+ }
@@ -0,0 +1,77 @@
1
+ // Example: ui-components.shared-primitives (browser half)
2
+ // Type: client-slot
3
+ // Surfaces: web desktop
4
+ // Teaches: build UI from the app's OWN component library instead of hand-styling: `require('@deepseek-ai/dsh-client-ui-primitives')`
5
+ // gives Button, Modal, Input, Switch, Tag, Pill, Tooltip, Toast, Menu, MarkdownText, CodeBlock, icons and more (see
6
+ // maps/ui-components.md). They are already themed (light and dark, your token overrides apply) and accessible, so the UI
7
+ // matches the app with no CSS. Declare the package in `dsh.client.inject` (package.json) so it is loaded first.
8
+ // This example fills `sidebar.footer.action`, a ROOT-scoped slot (it renders with or without an open session), and gets
9
+ // `{ wide }` (false when the sidebar is the narrow rail). State lives in localStorage.
10
+ // Also shows the keyboard-shortcut pattern: Cmd/Ctrl+Shift+K toggles the modal (see the useEffect in QuickNotes).
11
+ // Expect: a "Quick notes" button beside Settings; click or Cmd/Ctrl+Shift+K opens a modal with an input, a "Show done" switch and tagged notes.
12
+ // Docs: extending.ui-components
13
+ // Pattern: plugins/cordis-plugin-market/src/client/index.ts (the Market button fills the same slot)
14
+ window.__ModuleLoader__.load({ id: 'acryl-example-ui-components', factory: (require) => {
15
+ var module = { exports: {} }; var exports = module.exports;
16
+
17
+ const React = require('react')
18
+ const { Button, Modal, Input, Switch, Tag } = require('@deepseek-ai/dsh-client-ui-primitives')
19
+ const h = React.createElement
20
+ const ID = 'acryl-example-ui-components'
21
+ const KEY = ID + ':notes'
22
+ console.info('[' + ID + '] client module loaded (Button ' + typeof Button + ', Modal ' + typeof Modal + ')')
23
+
24
+ function load() {
25
+ try { return JSON.parse(localStorage.getItem(KEY) || '[]') } catch { return [] }
26
+ }
27
+
28
+ function QuickNotes({ wide }) {
29
+ const [open, setOpen] = React.useState(false)
30
+ const [notes, setNotes] = React.useState(load)
31
+ const [draft, setDraft] = React.useState('')
32
+ const [showDone, setShowDone] = React.useState(true)
33
+ const save = next => { setNotes(next); try { localStorage.setItem(KEY, JSON.stringify(next)) } catch { /* private mode */ } }
34
+ const add = () => { if (draft.trim()) { save([...notes, { id: Date.now(), text: draft.trim(), done: false }]); setDraft('') } }
35
+ const shown = notes.filter(n => showDone || !n.done)
36
+
37
+ // KEYBOARD SHORTCUT. The Web and Desktop client has no plugin shortcut registry, so a plugin owns a guarded keydown listener: a modifier
38
+ // combination (never a bare key), ignored while the user types in a field or when another handler already used the event, and removed on unmount.
39
+ React.useEffect(() => {
40
+ const onKey = event => {
41
+ if (event.defaultPrevented) return
42
+ const target = event.target
43
+ const typing = target instanceof HTMLElement && (target.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/u.test(target.tagName))
44
+ if (typing) return
45
+ if ((event.metaKey || event.ctrlKey) && event.shiftKey && event.key.toLowerCase() === 'k') { event.preventDefault(); setOpen(value => !value) }
46
+ }
47
+ window.addEventListener('keydown', onKey)
48
+ return () => window.removeEventListener('keydown', onKey)
49
+ }, [])
50
+
51
+ return h(React.Fragment, null,
52
+ h(Button, { variant: 'ghost', onClick: () => setOpen(true), title: 'Quick notes' }, wide ? 'Quick notes' : 'N'),
53
+ h(Modal, {
54
+ open, onClose: () => setOpen(false), title: 'Quick notes', closeLabel: 'Close',
55
+ footer: h(Button, { variant: 'primary', onClick: add }, 'Add'),
56
+ },
57
+ h(Input, { value: draft, placeholder: 'New note', onChange: e => setDraft(e.target.value), onKeyDown: e => { if (e.key === 'Enter') add() } }),
58
+ h('div', { style: { margin: '12px 0' } }, h(Switch, { checked: showDone, onChange: setShowDone, label: 'Show done' })),
59
+ shown.map(n => h('div', { key: n.id, style: { display: 'flex', gap: 8, alignItems: 'center', margin: '6px 0' } },
60
+ h(Tag, { tone: n.done ? 'outline' : 'outline' }, n.done ? 'done' : 'todo'),
61
+ h('span', { style: { flex: 1, textDecoration: n.done ? 'line-through' : 'none' } }, n.text),
62
+ h(Button, { variant: 'ghost', size: 'sm', onClick: () => save(notes.map(x => x.id === n.id ? { ...x, done: !x.done } : x)) }, n.done ? 'Undo' : 'Done'),
63
+ h(Button, { variant: 'ghost', size: 'sm', onClick: () => save(notes.filter(x => x.id !== n.id)) }, 'Delete'))),
64
+ ))
65
+ }
66
+
67
+ // Required service: the slot registry.
68
+ exports.inject = ['slots']
69
+
70
+ exports.apply = function apply(ctx) {
71
+ console.info('[' + ID + '] apply: registering sidebar footer action')
72
+ // slots.inject waits for the slot's own declaration, so load order does not matter.
73
+ ctx.slots.inject('sidebar.footer.action', () =>
74
+ ctx.slots.register({ name: 'sidebar.footer.action', id: ID, order: 50 }, QuickNotes))
75
+ }
76
+
77
+ return module.exports; } });
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: example-ui-components
3
+ name: acryl-example-ui-components
@@ -0,0 +1,9 @@
1
+ // Example: ui-components.shared-primitives (host half)
2
+ // Type: client-slot
3
+ // Surfaces: web desktop
4
+ // Teaches: a UI-only plugin has an empty host `apply`; the UI is in ./client.js.
5
+ // Expect: row ACTIVE; a "Quick notes" button in the sidebar footer after a reload.
6
+ // Docs: extending.ui-components
7
+ export const name = 'acryl-example-ui-components'
8
+
9
+ export function apply() {}
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "acryl-example-ui-components",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "description": "Quick-notes launcher built from the shared UI primitives (Button, Modal, Input, Switch, Tag) in the sidebar footer",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./index.js",
9
+ "exports": {
10
+ ".": "./index.js",
11
+ "./package.json": "./package.json",
12
+ "./client": "./client.js"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "cordis.patch.yml",
17
+ "client.js"
18
+ ],
19
+ "dsh": {
20
+ "bundle": {
21
+ "patch": "./cordis.patch.yml"
22
+ },
23
+ "client": {
24
+ "inject": [
25
+ "@deepseek-ai/dsh-client-ui-primitives",
26
+ "@deepseek-ai/dsh-client-ui-sidebar"
27
+ ],
28
+ "platform": "web"
29
+ }
30
+ }
31
+ }