@chatcode/chatcode-cli 3.0.2 → 3.0.4-rc.1

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 (221) hide show
  1. package/README.i18n.yaml +10 -10
  2. package/README.md +26 -1
  3. package/README.zh.md +26 -1
  4. package/lib/bin.js +70 -75
  5. package/lib/{command-errors-CIYn1nnW.js → command-errors-BkCHTQHj.js} +12 -12
  6. package/lib/{command-trees-8o99Bws7.js → command-trees-5HFyC5sI.js} +2 -2
  7. package/lib/{component-identity-CnmIKHEF.js → component-identity-De91VHwW.js} +3 -3
  8. package/lib/{dist-DxjlHHph.js → dist-CsDWUvQ4.js} +238 -232
  9. package/lib/dsh-ecosystem-spec/protocols/profile-definitions.d.ts +13 -0
  10. package/lib/dsh-ecosystem-spec/protocols/profile-definitions.js +59 -0
  11. package/lib/dsh-ecosystem-spec/protocols/tui-channel-http.d.ts +15 -0
  12. package/lib/dsh-ecosystem-spec/protocols/tui-channel-http.js +32 -0
  13. package/lib/dsh-ecosystem-spec/protocols/tui-channel.d.ts +59 -0
  14. package/lib/dsh-ecosystem-spec/protocols/tui-channel.js +166 -0
  15. package/lib/dsh-ecosystem-spec/protocols/tui-contributions.d.ts +42 -0
  16. package/lib/dsh-ecosystem-spec/protocols/tui-contributions.js +143 -0
  17. package/lib/dsh-ecosystem-spec/registry/README.md +14 -0
  18. package/lib/dsh-ecosystem-spec/registry/contracts/decision-events-v1alpha1.json +13 -0
  19. package/lib/dsh-ecosystem-spec/registry/contracts/scene-v1alpha1.json +13 -0
  20. package/lib/dsh-ecosystem-spec/registry/contracts/settings-section-v1alpha1.json +13 -0
  21. package/lib/dsh-ecosystem-spec/registry/contracts/tui-channel-v1alpha1.json +30 -0
  22. package/lib/dsh-ecosystem-spec/registry/contracts/workspace-provider-v1alpha1.json +6 -0
  23. package/lib/dsh-ecosystem-spec/registry/host-descriptor.tui.example.json +56 -0
  24. package/lib/dsh-ecosystem-spec/registry/permissions-0.1.json +13 -0
  25. package/lib/dsh-ecosystem-spec/registry/registry-0.15.json +149 -0
  26. package/lib/dsh-ecosystem-spec/schemas/conformance-claim.schema.json +15 -0
  27. package/lib/dsh-ecosystem-spec/schemas/effect-ledger-record.schema.json +16 -0
  28. package/lib/dsh-ecosystem-spec/schemas/host-descriptor.schema.json +26 -0
  29. package/lib/{dump-config-BSTrhTT_.js → dump-config-BcH-VYuv.js} +5 -5
  30. package/lib/dump-config-CyopmD85.js +2 -0
  31. package/lib/{dump-config-schema-Cz4A13GB.js → dump-config-schema-DM0fb6Ns.js} +2 -2
  32. package/lib/{extension-events-DciGPKJa.js → extension-events-CdYCRP0o.js} +26 -26
  33. package/lib/{frames-7PAg0Q9b.js → frames-DOX-Jgk8.js} +4 -4
  34. package/lib/headless-compat.js +2 -2
  35. package/lib/{home-migration-DLaSvmfn.js → home-migration-BjDmRwBB.js} +23 -4
  36. package/lib/{host-access-CmD27uhQ.js → host-access-Bk4xps5E.js} +1 -1
  37. package/lib/{keymap-CFChEJ2W.js → keymap-CJ1kvLR2.js} +17 -16
  38. package/lib/{plugin-jvd9PCVt.js → plugin-XR7ncbnW.js} +3767 -2331
  39. package/lib/{plugin-DYHtreEd.js → plugin-eJjD6r12.js} +1 -1
  40. package/lib/{profile-boot-Blq7uqhx.js → profile-boot-BNQry1NM.js} +109 -14
  41. package/lib/profile-boot.js +2 -2
  42. package/lib/{scenes-ai_8sHDs.js → scenes-CAmWncZD.js} +3 -3
  43. package/lib/{settings-sections-QQ1-2lhL.js → settings-sections-CakcvBv9.js} +7 -3
  44. package/lib/startup-diagnostics-C_hRCp-q.js +91 -0
  45. package/lib/statusBarSettings-BPPS_Usm.js +382 -0
  46. package/lib/{supports-color-CcW-FGjr.js → supports-color-DyChQwlI.js} +2 -2
  47. package/lib/{themes-DTzG_9I_.js → themes-OjcUpZzw.js} +13 -13
  48. package/lib/tui-compat-command-trees.js +1 -1
  49. package/lib/tui-compat-extensions.js +4 -4
  50. package/lib/tui-compat-plugin-host.js +5 -5
  51. package/lib/tui-compat-scenes.js +1 -1
  52. package/lib/tui-compat-settings-sections.js +1 -1
  53. package/lib/tui-compat-working-activity.js +4 -4
  54. package/lib/tui-compat-workspaces.js +1 -1
  55. package/lib/tui-compat.js +44 -29
  56. package/lib/types/args.d.ts +2 -0
  57. package/lib/types/home-migration.d.ts +8 -0
  58. package/lib/types/permission-bypass.d.ts +16 -0
  59. package/lib/types/profile-boot.d.ts +12 -0
  60. package/lib/types/startup-diagnostics.d.ts +13 -0
  61. package/lib/types/tui-compat.d.ts +6 -0
  62. package/lib/types/web-browser.d.ts +6 -0
  63. package/lib/types/web-instance.d.ts +42 -0
  64. package/lib/web-browser-Vcgfdsv_.js +46 -0
  65. package/lib/web-instance-B0jec7cq.js +2 -0
  66. package/lib/web-instance-DbP7IHPv.js +280 -0
  67. package/lib/{workspaces-CznCgVHv.js → workspaces-XY7UdfXp.js} +2 -2
  68. package/package.json +40 -32
  69. package/runtime/manifest.json +4 -6
  70. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +34 -4
  71. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +9 -0
  72. package/runtime/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -1
  73. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +2 -0
  74. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-stream.js +4 -0
  75. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +39 -0
  76. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +6 -1
  77. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +10 -3
  78. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +7 -0
  79. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +8 -1
  80. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +10 -0
  81. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +28 -1
  82. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +39 -0
  83. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.d.ts +2 -0
  84. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +32 -0
  85. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.d.ts +8 -0
  86. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.js +19 -1
  87. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +28 -0
  88. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/feed.js +17 -0
  89. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +67 -19
  90. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/index.d.ts +1 -1
  91. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/profile-context.d.ts +11 -1
  92. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +22 -3
  93. package/runtime/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +9 -3
  94. package/runtime/node_modules/@deepseek-ai/dsh-base/package.json +2 -1
  95. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +3 -2
  96. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
  97. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +1 -1
  98. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
  99. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +60 -12
  100. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/directory.d.ts +3 -1
  101. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/locales.d.ts +6 -0
  102. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +3 -5
  103. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +23 -27
  104. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/contract/slots.d.ts +3 -1
  105. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  106. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
  107. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +8 -7
  108. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/SettingsDocumentAction.d.ts +1 -1
  109. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/settings-document-store.d.ts +2 -1
  110. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +33 -12
  111. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/locales.d.ts +2 -0
  112. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
  113. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  114. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  115. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +8 -1
  116. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/locales.d.ts +2 -0
  117. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +84 -8
  118. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/types/region.d.ts +9 -0
  119. package/runtime/node_modules/@deepseek-ai/dsh-compaction-basic/lib/types/summarizer.d.ts +7 -0
  120. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
  121. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.d.ts +11 -0
  122. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
  123. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.d.ts +28 -0
  124. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
  125. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/package.json +42 -0
  126. package/runtime/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +102 -14
  127. package/runtime/node_modules/@deepseek-ai/dsh-config-editor/lib/types/index.d.ts +34 -4
  128. package/runtime/node_modules/@deepseek-ai/dsh-config-editor/package.json +1 -0
  129. package/runtime/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +2 -1
  130. package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +21 -8
  131. package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.d.ts +4 -6
  132. package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +18 -7
  133. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -8
  134. package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/types/client/HeaderAction.d.ts +1 -1
  135. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/index.js +5 -4
  136. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/index.d.ts +4 -3
  137. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +4 -3
  138. package/runtime/node_modules/@deepseek-ai/dsh-skill/lib/types/index.d.ts +1 -1
  139. package/runtime/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +7 -1
  140. package/runtime/node_modules/@deepseek-ai/dsh-storage/lib/types/backend.d.ts +4 -0
  141. package/runtime/node_modules/@deepseek-ai/dsh-storage-domain/lib/index.js +60 -0
  142. package/runtime/node_modules/@deepseek-ai/dsh-storage-domain/lib/types/domain.d.ts +15 -0
  143. package/runtime/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +25 -0
  144. package/runtime/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -0
  145. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/index.js +5472 -0
  146. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/command-args.d.ts +17 -0
  147. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti/cicd.d.ts +8 -0
  148. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti/tianti.d.ts +7 -0
  149. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti-deliver/tianti-deliver.d.ts +8 -0
  150. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/config.d.ts +27 -0
  151. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/index.d.ts +12 -0
  152. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/memory-config.d.ts +10 -0
  153. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/runtime.d.ts +105 -0
  154. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/aliases.d.ts +11 -0
  155. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/auth.d.ts +20 -0
  156. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/client.d.ts +206 -0
  157. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/config.d.ts +20 -0
  158. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/index.d.ts +6 -0
  159. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/log.d.ts +16 -0
  160. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/types.d.ts +136 -0
  161. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/codebase.d.ts +19 -0
  162. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/dynamicWorkflow.d.ts +10 -0
  163. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/engine.d.ts +8 -0
  164. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/executor.d.ts +11 -0
  165. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/executors.d.ts +15 -0
  166. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/index.d.ts +23 -0
  167. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/memorySuggestions.d.ts +12 -0
  168. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/openspec.d.ts +31 -0
  169. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/recommend.d.ts +8 -0
  170. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/render.d.ts +8 -0
  171. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/requirementContext.d.ts +12 -0
  172. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/scenarioUpgrade.d.ts +24 -0
  173. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/state.d.ts +16 -0
  174. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/store.d.ts +33 -0
  175. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/templates.d.ts +8 -0
  176. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/types.d.ts +385 -0
  177. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/writeReviewSync.d.ts +6 -0
  178. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/index.d.ts +29 -0
  179. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/store.d.ts +20 -0
  180. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/types.d.ts +49 -0
  181. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/tools.d.ts +12 -0
  182. package/runtime/node_modules/@deepseek-ai/dsh-tianti/package.json +55 -0
  183. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +57 -13
  184. package/runtime/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +2 -1
  185. package/runtime/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +2 -1
  186. package/runtime/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +2 -1
  187. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-D5kpKf--.css +1 -0
  188. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dz_cDcce.js +133 -0
  189. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dz_cDcce.js.map +1 -0
  190. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-apple-touch-icon.png +0 -0
  191. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-icon-32.png +0 -0
  192. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-mask-icon.svg +1 -0
  193. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon-dark.svg +1 -3
  194. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.ico +0 -0
  195. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.svg +1 -3
  196. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +8 -4
  197. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/preview.html +8 -4
  198. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/package.json +2 -1
  199. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +110 -33
  200. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.d.ts +6 -0
  201. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.js +23 -17
  202. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.d.ts +10 -0
  203. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +95 -21
  204. package/lib/dump-config-DBW7YLx-.js +0 -2
  205. package/lib/tuiDisplayPrefs-BCHRRcfe.js +0 -162
  206. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +0 -1
  207. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +0 -127
  208. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js.map +0 -1
  209. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-arm64/README.md +0 -9
  210. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-arm64/bin/system.node +0 -0
  211. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-arm64/package.json +0 -31
  212. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-arm64/prebuilds.json +0 -6
  213. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-x64/README.md +0 -9
  214. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-x64/package.json +0 -31
  215. package/runtime/node_modules/@deepseek-ai/node-addon-system-darwin-x64/prebuilds.json +0 -6
  216. package/runtime/node_modules/@deepseek-ai/node-addon-system-linux-arm64/README.md +0 -11
  217. package/runtime/node_modules/@deepseek-ai/node-addon-system-linux-arm64/package.json +0 -31
  218. package/runtime/node_modules/@deepseek-ai/node-addon-system-linux-arm64/prebuilds.json +0 -24
  219. package/runtime/node_modules/@deepseek-ai/node-addon-system-linux-x64/README.md +0 -11
  220. package/runtime/node_modules/@deepseek-ai/node-addon-system-linux-x64/package.json +0 -31
  221. package/runtime/node_modules/@deepseek-ai/node-addon-system-linux-x64/prebuilds.json +0 -24
@@ -0,0 +1,382 @@
1
+ import z from "@deepseek-ai/schemastery";
2
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/settingsCompat.js
3
+ /** Mark display fields editable on hosts that support volatile Config references. */
4
+ function withLiveSettings(schema, fields) {
5
+ for (const key of fields) {
6
+ const field = schema.dict?.[String(key)];
7
+ if (field === void 0) continue;
8
+ if (field.volatile) schema.dict[String(key)] = field.volatile();
9
+ else Object.assign(field.meta, { volatile: true });
10
+ }
11
+ return schema;
12
+ }
13
+ /** Keep plain Config consumers reading the latest snapshots without exposing references. */
14
+ function liveConfigValues(config) {
15
+ return new Proxy(config, { get(target, key, receiver) {
16
+ const value = Reflect.get(target, key, receiver);
17
+ if (value && typeof value === "object" && Symbol.for("cosmokit.volatile.write") in value && "get" in value && typeof value.get === "function") return value.get();
18
+ return value;
19
+ } });
20
+ }
21
+ /** Observe display settings without remounting the TUI or creating another session. */
22
+ function displaySettingsScope(owner, settingsCtx, ns, schema, config) {
23
+ const settings = settingsCtx.settings;
24
+ if (typeof settings.register === "function") {
25
+ const scope = settings.register(ns, schema);
26
+ return {
27
+ get: () => scope.get(),
28
+ watch: (listener) => scope.watch(listener),
29
+ legacy: true
30
+ };
31
+ }
32
+ const get = () => Object.fromEntries(Object.keys(schema.dict ?? {}).map((key) => [key, Reflect.get(config, key)]));
33
+ const events = owner;
34
+ return {
35
+ get,
36
+ watch: (listener) => events.on("loader/volatile-update", () => listener(get())),
37
+ legacy: false
38
+ };
39
+ }
40
+ /** Read effective values on new hosts; retain support for older descriptor implementations. */
41
+ function settingsValue(settings, ns) {
42
+ const descriptor = settings.describe().find((row) => row.ns === ns);
43
+ return descriptor && "value" in descriptor ? descriptor.value : settings.get?.(ns);
44
+ }
45
+ //#endregion
46
+ //#region ../../../dsh-TUI/lib/types/tuiDisplayPrefs.js
47
+ /** Default footer shows account-wide tokens today and current context usage. */
48
+ const DEFAULT_STATUS_BAR = Object.freeze({
49
+ compact: true,
50
+ tokenDashboard: true,
51
+ model: false,
52
+ thinking: false,
53
+ cwd: false,
54
+ contextUsage: true,
55
+ cache: false,
56
+ tokens: false,
57
+ tps: false,
58
+ gitBranch: false,
59
+ sessionTitle: false,
60
+ sessionId: false,
61
+ goal: false,
62
+ mode: false,
63
+ contextBar: false,
64
+ activity: false,
65
+ trajectory: false,
66
+ shortcutHint: false
67
+ });
68
+ const TOOL_BACKGROUNDS = new Set([
69
+ "none",
70
+ "subtle",
71
+ "strong"
72
+ ]);
73
+ const SCROLL_GUTTERS = new Set([
74
+ "timeline",
75
+ "scrollbar",
76
+ "hidden"
77
+ ]);
78
+ const STATUS_BAR_KEYS = Object.keys(DEFAULT_STATUS_BAR);
79
+ /** Normalize untrusted/config-layer values without mutating the input. */
80
+ function normalizeToolBackground(value) {
81
+ return typeof value === "string" && TOOL_BACKGROUNDS.has(value) ? value : "none";
82
+ }
83
+ /** Same normalize contract as toolBackground; `timeline` is the default. */
84
+ function normalizeScrollGutter(value) {
85
+ return typeof value === "string" && SCROLL_GUTTERS.has(value) ? value : "timeline";
86
+ }
87
+ /** Merge a partial settings value over the stable status-bar defaults. */
88
+ function normalizeStatusBar(value) {
89
+ const normalized = { ...DEFAULT_STATUS_BAR };
90
+ if (value === null || typeof value !== "object" || Array.isArray(value)) return normalized;
91
+ const input = value;
92
+ for (const key of STATUS_BAR_KEYS) if (typeof input[key] === "boolean") normalized[key] = input[key];
93
+ return normalized;
94
+ }
95
+ function formatTokenCount(value) {
96
+ const rounded = Math.max(0, Math.round(value));
97
+ if (rounded < 1e3) return String(rounded);
98
+ if (rounded < 1e6) return `${(rounded / 1e3).toFixed(rounded < 1e4 ? 1 : 0)}k`;
99
+ return `${(rounded / 1e6).toFixed(rounded < 1e7 ? 1 : 0)}m`;
100
+ }
101
+ /**
102
+ * Format context-window usage for future status-line consumers.
103
+ * Invalid or unavailable inputs intentionally produce no field.
104
+ */
105
+ function formatContextUsage(used, contextWindow, compact = true) {
106
+ if (!Number.isFinite(used) || !Number.isFinite(contextWindow) || used === void 0 || contextWindow === void 0 || contextWindow <= 0) return;
107
+ const safeUsed = Math.max(0, used);
108
+ const percent = Math.min(999, safeUsed / contextWindow * 100);
109
+ const percentText = `${percent < 10 ? percent.toFixed(1) : Math.round(percent)}%`;
110
+ const counts = `${formatTokenCount(safeUsed)}/${formatTokenCount(contextWindow)}`;
111
+ return compact ? `${percentText} (${counts})` : `${counts} (${percentText})`;
112
+ }
113
+ /** Page inset per preset: `{ x }` = blank columns per side, `{ y }` = blank
114
+ * rows top/bottom. `normal` is the default and matches the original
115
+ * hard-coded inset (2 columns / 1 row). */
116
+ const PAGE_MARGIN_PRESETS = Object.freeze({
117
+ none: {
118
+ x: 0,
119
+ y: 0
120
+ },
121
+ slim: {
122
+ x: 1,
123
+ y: 1
124
+ },
125
+ normal: {
126
+ x: 2,
127
+ y: 1
128
+ },
129
+ roomy: {
130
+ x: 4,
131
+ y: 2
132
+ }
133
+ });
134
+ const DEFAULT_PAGE_MARGIN = "normal";
135
+ const PAGE_MARGIN_MODES = new Set([
136
+ "none",
137
+ "slim",
138
+ "normal",
139
+ "roomy"
140
+ ]);
141
+ const PAGE_MARGIN_SPEC_RE = /^(\d{1,2})(?:[x×,,](\d{1,2}))?$/u;
142
+ function isPageMarginMode(value) {
143
+ return PAGE_MARGIN_MODES.has(value);
144
+ }
145
+ /** Parse a custom spec (canonicalizes `N` → `Nx1`); undefined when invalid
146
+ * or out of bounds. */
147
+ function parsePageMarginSpec(text) {
148
+ const match = PAGE_MARGIN_SPEC_RE.exec(text.trim().toLowerCase());
149
+ if (match === null) return void 0;
150
+ const x = Number.parseInt(match[1], 10);
151
+ const y = match[2] === void 0 ? 1 : Number.parseInt(match[2], 10);
152
+ if (x > 8 || y > 4) return void 0;
153
+ return `${x}x${y}`;
154
+ }
155
+ /** Normalize untrusted/config-layer values without mutating the input:
156
+ * preset names and valid custom specs pass through, everything else falls
157
+ * back to the default preset. */
158
+ function normalizePageMargin(value) {
159
+ if (typeof value === "string") {
160
+ if (isPageMarginMode(value)) return value;
161
+ const spec = parsePageMarginSpec(value);
162
+ if (spec !== void 0) return spec;
163
+ }
164
+ return DEFAULT_PAGE_MARGIN;
165
+ }
166
+ /** Resolve a stored setting to its geometry (presets via the table, custom
167
+ * specs via their numbers; anything unparseable → the default preset). */
168
+ function resolvePageMargin(setting) {
169
+ if (isPageMarginMode(setting)) return PAGE_MARGIN_PRESETS[setting];
170
+ const spec = parsePageMarginSpec(setting);
171
+ if (spec !== void 0) {
172
+ const [x, y] = spec.split("x");
173
+ return {
174
+ x: Number.parseInt(x, 10),
175
+ y: Number.parseInt(y, 10)
176
+ };
177
+ }
178
+ return PAGE_MARGIN_PRESETS[DEFAULT_PAGE_MARGIN];
179
+ }
180
+ const pageMarginListeners = /* @__PURE__ */ new Set();
181
+ let pageMarginState = DEFAULT_PAGE_MARGIN;
182
+ /** Subscribe to page-margin setting changes; returns the unsubscribe fn. */
183
+ function subscribePageMargin(listener) {
184
+ pageMarginListeners.add(listener);
185
+ return () => {
186
+ pageMarginListeners.delete(listener);
187
+ };
188
+ }
189
+ /** Current applied setting (normalized; safe for useSyncExternalStore —
190
+ * a primitive string identity is stable). */
191
+ function getPageMarginSetting() {
192
+ return normalizePageMargin(pageMarginState);
193
+ }
194
+ /** Apply a new setting (normalized, no-op when unchanged). Returns the
195
+ * value that ended up applied — useful for the plugin to mirror the
196
+ * channel. */
197
+ function applyPageMargin(setting) {
198
+ const next = normalizePageMargin(setting);
199
+ if (next !== pageMarginState) {
200
+ pageMarginState = next;
201
+ for (const listener of [...pageMarginListeners]) listener();
202
+ }
203
+ return next;
204
+ }
205
+ //#endregion
206
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/statusBarSettings.js
207
+ /** Shared status-footer settings declarations and validation. */
208
+ /**
209
+ * Build the complete footer schema for both composition and live settings.
210
+ * @returns A schema retaining every supported status field.
211
+ */
212
+ function createStatusBarSchema() {
213
+ const fields = Object.fromEntries(Object.entries(DEFAULT_STATUS_BAR).map(([key, value]) => [key, z.boolean().default(value)]));
214
+ return z.object(fields).default({ ...DEFAULT_STATUS_BAR });
215
+ }
216
+ /** Fields shown by the status-bar settings group. */
217
+ const STATUS_BAR_FIELDS = [
218
+ {
219
+ path: ["statusBar", "tokenDashboard"],
220
+ label: "Show daily token dashboard",
221
+ descriptions: { zh: "显示今日 Token 看板" },
222
+ hint: "Show account-wide tokens used today. Context occupancy follows Show context usage.",
223
+ hintDescriptions: { zh: "显示平台账号今日总 Token 消耗;上下文占用由“显示上下文用量”控制。" },
224
+ group: "status-bar",
225
+ kind: "boolean"
226
+ },
227
+ {
228
+ path: ["statusBar", "compact"],
229
+ label: "Compact status bar",
230
+ descriptions: { zh: "紧凑状态栏" },
231
+ hint: "Prefer the compact status presentation when terminal space allows.",
232
+ hintDescriptions: { zh: "终端空间允许时优先使用紧凑状态栏布局。" },
233
+ group: "status-bar",
234
+ kind: "boolean"
235
+ },
236
+ {
237
+ path: ["statusBar", "model"],
238
+ label: "Show model",
239
+ descriptions: { zh: "显示模型" },
240
+ hint: "Show the current model name in the status bar.",
241
+ hintDescriptions: { zh: "在状态栏显示当前模型名称。" },
242
+ group: "status-bar",
243
+ kind: "boolean"
244
+ },
245
+ {
246
+ path: ["statusBar", "thinking"],
247
+ label: "Show thinking",
248
+ descriptions: { zh: "显示思考" },
249
+ hint: "Show the live reasoning effort or thinking mode.",
250
+ hintDescriptions: { zh: "显示当前推理强度或思考模式。" },
251
+ group: "status-bar",
252
+ kind: "boolean"
253
+ },
254
+ {
255
+ path: ["statusBar", "cwd"],
256
+ label: "Show working directory",
257
+ descriptions: { zh: "显示工作目录" },
258
+ hint: "Show the session working directory.",
259
+ hintDescriptions: { zh: "显示当前会话的工作目录。" },
260
+ group: "status-bar",
261
+ kind: "boolean"
262
+ },
263
+ {
264
+ path: ["statusBar", "contextUsage"],
265
+ label: "Show context usage",
266
+ descriptions: { zh: "显示上下文用量" },
267
+ hint: "Show current context-window consumption in the dashboard, or the status line when the dashboard is hidden.",
268
+ hintDescriptions: { zh: "显示当前上下文窗口占用;今日看板开启时显示在看板内,关闭时显示在状态行。" },
269
+ group: "status-bar",
270
+ kind: "boolean"
271
+ },
272
+ {
273
+ path: ["statusBar", "cache"],
274
+ label: "Show cache",
275
+ descriptions: { zh: "显示缓存" },
276
+ hint: "Show prompt-cache hit information.",
277
+ hintDescriptions: { zh: "显示提示词缓存命中信息。" },
278
+ group: "status-bar",
279
+ kind: "boolean"
280
+ },
281
+ {
282
+ path: ["statusBar", "tokens"],
283
+ label: "Show token totals",
284
+ descriptions: { zh: "显示 Token 总量" },
285
+ hint: "Show running input and output token totals.",
286
+ hintDescriptions: { zh: "显示累计输入与输出 Token。" },
287
+ group: "status-bar",
288
+ kind: "boolean"
289
+ },
290
+ {
291
+ path: ["statusBar", "tps"],
292
+ label: "Show output speed",
293
+ descriptions: { zh: "显示输出速度" },
294
+ hint: "Show live and recent tokens-per-second metrics.",
295
+ hintDescriptions: { zh: "显示实时及近期每秒 Token 指标。" },
296
+ group: "status-bar",
297
+ kind: "boolean"
298
+ },
299
+ {
300
+ path: ["statusBar", "gitBranch"],
301
+ label: "Show git branch",
302
+ descriptions: { zh: "显示 Git 分支" },
303
+ hint: "Show the current git branch when available.",
304
+ hintDescriptions: { zh: "可用时显示当前 Git 分支。" },
305
+ group: "status-bar",
306
+ kind: "boolean"
307
+ },
308
+ {
309
+ path: ["statusBar", "sessionTitle"],
310
+ label: "Show session title",
311
+ descriptions: { zh: "显示会话标题" },
312
+ hint: "Show the current session title.",
313
+ hintDescriptions: { zh: "显示当前会话标题。" },
314
+ group: "status-bar",
315
+ kind: "boolean"
316
+ },
317
+ {
318
+ path: ["statusBar", "sessionId"],
319
+ label: "Show session id",
320
+ descriptions: { zh: "显示会话 ID" },
321
+ hint: "Show the short session id (# + first 8 chars) — it matches the session log filename for --resume.",
322
+ hintDescriptions: { zh: "显示短会话 ID(# + 前 8 位)——与日志文件名对应,方便 --resume 定位。" },
323
+ group: "status-bar",
324
+ kind: "boolean"
325
+ },
326
+ {
327
+ path: ["statusBar", "goal"],
328
+ label: "Show goal status",
329
+ descriptions: { zh: "显示 Goal 状态" },
330
+ hint: "Show a compact goal chip (phase glyph + rounds) in the status footer while a goal exists.",
331
+ hintDescriptions: { zh: "存在 Goal 时,在底部状态栏显示紧凑的 Goal 状态(阶段符号与轮次)。" },
332
+ group: "status-bar",
333
+ kind: "boolean"
334
+ },
335
+ {
336
+ path: ["statusBar", "mode"],
337
+ label: "Show session mode",
338
+ descriptions: { zh: "显示会话模式" },
339
+ hint: "Show the active non-default session mode.",
340
+ hintDescriptions: { zh: "显示当前启用的非默认会话模式。" },
341
+ group: "status-bar",
342
+ kind: "boolean"
343
+ },
344
+ {
345
+ path: ["statusBar", "contextBar"],
346
+ label: "Show context progress bar",
347
+ descriptions: { zh: "显示上下文进度条" },
348
+ hint: "Show the segmented context progress bar on its own footer row.",
349
+ hintDescriptions: { zh: "在底部单独一行显示分段上下文进度条。" },
350
+ group: "status-bar",
351
+ kind: "boolean"
352
+ },
353
+ {
354
+ path: ["statusBar", "activity"],
355
+ label: "Show activity summary",
356
+ descriptions: { zh: "显示活动摘要" },
357
+ hint: "Show the idle working-activity summary.",
358
+ hintDescriptions: { zh: "显示空闲时的工作活动摘要。" },
359
+ group: "status-bar",
360
+ kind: "boolean"
361
+ },
362
+ {
363
+ path: ["statusBar", "trajectory"],
364
+ label: "Show trajectory strip",
365
+ descriptions: { zh: "显示轨迹条" },
366
+ hint: "Show the animated mini trajectory strip at the footer edge.",
367
+ hintDescriptions: { zh: "在状态栏边缘显示动态迷你轨迹条。" },
368
+ group: "status-bar",
369
+ kind: "boolean"
370
+ },
371
+ {
372
+ path: ["statusBar", "shortcutHint"],
373
+ label: "Show shortcut reminder",
374
+ descriptions: { zh: "显示快捷键提示" },
375
+ hint: "Control only the idle `? for shortcuts` reminder; pressing ? and the Esc shortcut hints are unaffected.",
376
+ hintDescriptions: { zh: "仅控制空闲时的 `? for shortcuts` 提示;按 ? 打开快捷键以及 Esc 快捷提示均不受影响。" },
377
+ group: "status-bar",
378
+ kind: "boolean"
379
+ }
380
+ ];
381
+ //#endregion
382
+ export { settingsValue as _, formatContextUsage as a, normalizePageMargin as c, normalizeToolBackground as d, parsePageMarginSpec as f, liveConfigValues as g, displaySettingsScope as h, applyPageMargin as i, normalizeScrollGutter as l, subscribePageMargin as m, createStatusBarSchema as n, getPageMarginSetting as o, resolvePageMargin as p, DEFAULT_PAGE_MARGIN as r, isPageMarginMode as s, STATUS_BAR_FIELDS as t, normalizeStatusBar as u, withLiveSettings as v };
@@ -1,5 +1,5 @@
1
1
  import { r as __require, t as __commonJSMin } from "./rolldown-runtime-2rV9d50f.js";
2
- //#region ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
2
+ //#region ../../../dsh-TUI/node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
3
3
  var require_has_flag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
4
  module.exports = (flag, argv = process.argv) => {
5
5
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
@@ -9,7 +9,7 @@ var require_has_flag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9
9
  };
10
10
  }));
11
11
  //#endregion
12
- //#region ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
12
+ //#region ../../../dsh-TUI/node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
13
13
  var require_supports_color = /* @__PURE__ */ __commonJSMin(((exports, module) => {
14
14
  const os = __require("os");
15
15
  const tty = __require("tty");
@@ -1,12 +1,12 @@
1
- import { c as parseCombo, i as comboMatchesStrict, r as canonicalCombo, s as fixedReservedCombos, u as reservedActionCombos } from "./keymap-CFChEJ2W.js";
2
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, s as requirePluginCaller, t as activationContext } from "./host-access-CmD27uhQ.js";
3
- import { n as componentIdentityOf } from "./component-identity-CnmIKHEF.js";
4
- import { S as DATA_DIR, f as cleanRenderText, p as cleanScalarText } from "./extension-events-DciGPKJa.js";
1
+ import { c as parseCombo, i as comboMatchesStrict, r as canonicalCombo, s as fixedReservedCombos, u as reservedActionCombos } from "./keymap-CJ1kvLR2.js";
2
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, s as requirePluginCaller, t as activationContext } from "./host-access-Bk4xps5E.js";
3
+ import { n as componentIdentityOf } from "./component-identity-De91VHwW.js";
4
+ import { S as DATA_DIR, f as cleanRenderText, p as cleanScalarText } from "./extension-events-CdYCRP0o.js";
5
5
  import { readFileSync, readdirSync } from "node:fs";
6
6
  import { join } from "node:path";
7
- import { KNOWN_SESSION_EVENT_TYPES } from "@deepseek-ai/dsh-session";
8
7
  import { Context, Service } from "@deepseek-ai/cordis";
9
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/dialogs.js
8
+ import { KNOWN_SESSION_EVENT_TYPES } from "@deepseek-ai/dsh-session";
9
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/dialogs.js
10
10
  /**
11
11
  * Managed plugin dialogs — the pi `ctx.ui.select/confirm/input` seam for
12
12
  * ChatCode CLI TUI. Plugins hand the HOST a declarative request; the TUI renders the
@@ -279,7 +279,7 @@ function getHostDialogStore(runtime) {
279
279
  }
280
280
  }
281
281
  //#endregion
282
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/status.js
282
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/status.js
283
283
  /**
284
284
  * Keyed status-line contributions — pi's `ctx.ui.setStatus(key, text)`.
285
285
  * Each plugin owns a key; setting text shows it, setting undefined clears
@@ -503,7 +503,7 @@ function getHostStatusStore(runtime) {
503
503
  }
504
504
  }
505
505
  //#endregion
506
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/shortcuts.js
506
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/shortcuts.js
507
507
  /**
508
508
  * Plugin keyboard shortcuts — pi's `pi.registerShortcut`. A plugin binds a
509
509
  * combo (`ctrl+shift+p`, `alt+k`, …) to a handler; the chat screen matches
@@ -704,7 +704,7 @@ function getHostShortcuts(runtime) {
704
704
  }
705
705
  }
706
706
  //#endregion
707
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/renderers.js
707
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/renderers.js
708
708
  /**
709
709
  * Custom session-entry renderers — pi's `pi.registerMessageRenderer`. A
710
710
  * plugin that appends its own log-only session events (`session.append(
@@ -876,7 +876,7 @@ function getHostRenderers(runtime) {
876
876
  }
877
877
  }
878
878
  //#endregion
879
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/toast.js
879
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/toast.js
880
880
  /**
881
881
  * Plugin-facing transient notifications — a fire-and-forget toast shown on
882
882
  * the host's existing notification surface (the same toasts the channel
@@ -1011,7 +1011,7 @@ function getHostToastStore(runtime) {
1011
1011
  }
1012
1012
  }
1013
1013
  //#endregion
1014
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/theme.js
1014
+ //#region ../../../dsh-TUI/lib/types/theme.js
1015
1015
  /**
1016
1016
  * dsh-tui color themes — ChatCode CLI terminal family.
1017
1017
  *
@@ -1486,7 +1486,7 @@ function getActiveTheme() {
1486
1486
  return getTheme(activeThemeName);
1487
1487
  }
1488
1488
  //#endregion
1489
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/customTheme.js
1489
+ //#region ../../../dsh-TUI/lib/types/customTheme.js
1490
1490
  /**
1491
1491
  * User-defined color themes for dsh-tui.
1492
1492
  *
@@ -1716,7 +1716,7 @@ function indexCustomThemeNames() {
1716
1716
  nameIndexed = true;
1717
1717
  }
1718
1718
  //#endregion
1719
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/themes.js
1719
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/themes.js
1720
1720
  /**
1721
1721
  * Cordis-backed runtime theme contributions.
1722
1722
  *
@@ -1,2 +1,2 @@
1
- import { r as name, t as TuiCommandTreeRuntime } from "./command-trees-8o99Bws7.js";
1
+ import { r as name, t as TuiCommandTreeRuntime } from "./command-trees-5HFyC5sI.js";
2
2
  export { TuiCommandTreeRuntime, TuiCommandTreeRuntime as default, name };
@@ -1,9 +1,9 @@
1
- import { a as normalizeCancelDecision, c as installDecisionGuard, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, t as DECISION_HANDLER_TIMEOUT_MS, x as readGrantStore } from "./extension-events-DciGPKJa.js";
2
- import { A as TuiDialogRuntime, C as matchShortcut, D as getHostStatusStore, E as TuiStatusStore, O as DIALOG_DEFAULT_TIMEOUT_MS, T as TuiStatusRuntime, _ as TuiToastRuntime, j as TuiDialogStore, k as INPUT_CELLS, t as TuiThemeRuntime, w as parseShortcutCombo, x as TuiShortcutRuntime, y as TuiRendererRuntime } from "./themes-DTzG_9I_.js";
1
+ import { a as normalizeCancelDecision, c as installDecisionGuard, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, t as DECISION_HANDLER_TIMEOUT_MS, x as readGrantStore } from "./extension-events-CdYCRP0o.js";
2
+ import { A as TuiDialogRuntime, C as matchShortcut, D as getHostStatusStore, E as TuiStatusStore, O as DIALOG_DEFAULT_TIMEOUT_MS, T as TuiStatusRuntime, _ as TuiToastRuntime, j as TuiDialogStore, k as INPUT_CELLS, t as TuiThemeRuntime, w as parseShortcutCombo, x as TuiShortcutRuntime, y as TuiRendererRuntime } from "./themes-OjcUpZzw.js";
3
3
  import { appendFileSync, mkdirSync } from "node:fs";
4
4
  import { homedir } from "node:os";
5
5
  import { dirname, join } from "node:path";
6
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/extensions.js
6
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/extensions.js
7
7
  /**
8
8
  * The dsh-tui-extensions row: mounts every plugin-facing UI seam service in
9
9
  * one cordis plugin (one profile row, one patch-surface entry — see issue
@@ -65,7 +65,7 @@ function logDiag(line) {
65
65
  mkdirSync(dirname(file), { recursive: true });
66
66
  const p = (n) => String(n).padStart(2, "0");
67
67
  const d = /* @__PURE__ */ new Date();
68
- appendFileSync(file, "[" + (d.getFullYear() + "-" + p(d.getMonth() + 1) + "-" + p(d.getDate()) + " " + p(d.getHours()) + ":" + p(d.getMinutes()) + ":" + p(d.getSeconds())) + "] [dsh-tui-DIAG] " + line + "\n", "utf8");
68
+ appendFileSync(file, "[" + (d.getFullYear() + "-" + p(d.getMonth() + 1) + "-" + p(d.getDate()) + " " + p(d.getHours()) + ":" + p(d.getMinutes()) + ":" + p(d.getSeconds())) + "] [chatcode-cli-DIAG] " + line + "\n", "utf8");
69
69
  } catch {}
70
70
  }
71
71
  //#endregion
@@ -1,10 +1,10 @@
1
- import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, t as activationContext } from "./host-access-CmD27uhQ.js";
2
- import { c as requiresDecisionEvents, o as requireComponentIdentity, r as declaresCommand, s as requiresContract, t as bindComponentIdentity } from "./component-identity-CnmIKHEF.js";
3
- import { B as createAdmissionCatalog, F as verifyRegistry, I as DECISION_EVENTS_COORDINATE, J as parseManifest, L as TUI_DECISION_EVENT_NAMES, M as loadSpecData, P as verifyContractProfiles, R as TUI_EXTENSION_API_VERSION, Y as projectManifest, c as installDecisionGuard, l as registerDecisionHandler, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, s as decisionHandlerMetadataOf, t as DECISION_HANDLER_TIMEOUT_MS, u as withDecisionRegistration, x as readGrantStore, z as TUI_EXTENSION_PERMISSION_NAMES } from "./extension-events-DciGPKJa.js";
4
- import { A as validatePlugin, C as TuiPluginStorageRuntime, D as buildHostDescriptor, E as HOST_SUPPORTED_CONTRACTS, O as negotiate, S as STORAGE_MAX_KEYS, T as TuiEffectLedgerRuntime, b as STORAGE_KEY_MAX_LENGTH, c as OBSERVE_CALLBACK_QUEUE_LIMIT, d as OBSERVE_ID_MAX_CHARS, f as OBSERVE_IMAGE_BASE64_MAX_CHARS, g as TuiMessageObserverRuntime, h as OBSERVE_SUMMARY_CELLS, i as withCommandErrorMapping, k as createContractIndex, l as OBSERVE_CALLBACK_TIMEOUT_MS, m as OBSERVE_SCOPE_MAX_CHARS, n as hasCommandErrorCode, o as stampCommandOwner, p as OBSERVE_IMAGE_MAX_BYTES, r as mapCommandError, s as unstampCommandOwner, t as COMMAND_ERROR_CODES, u as OBSERVE_CONTENT_MAX_CHARS, x as STORAGE_MAX_BYTES, y as PluginStorageError } from "./command-errors-CIYn1nnW.js";
1
+ import { a as compositionRoot, i as bindCallerEffect, n as activationFiber, o as concreteService, r as assertCallerContext, t as activationContext } from "./host-access-Bk4xps5E.js";
2
+ import { c as requiresDecisionEvents, o as requireComponentIdentity, r as declaresCommand, s as requiresContract, t as bindComponentIdentity } from "./component-identity-De91VHwW.js";
3
+ import { B as createAdmissionCatalog, F as verifyRegistry, I as DECISION_EVENTS_COORDINATE, J as parseManifest, L as TUI_DECISION_EVENT_NAMES, M as loadSpecData, P as verifyContractProfiles, R as TUI_EXTENSION_API_VERSION, Y as projectManifest, c as installDecisionGuard, l as registerDecisionHandler, n as DECISION_TOTAL_TIMEOUT_MS, o as DECISION_EVENT_PERMISSIONS, s as decisionHandlerMetadataOf, t as DECISION_HANDLER_TIMEOUT_MS, u as withDecisionRegistration, x as readGrantStore, z as TUI_EXTENSION_PERMISSION_NAMES } from "./extension-events-CdYCRP0o.js";
4
+ import { A as validatePlugin, C as TuiPluginStorageRuntime, D as buildHostDescriptor, E as HOST_SUPPORTED_CONTRACTS, O as negotiate, S as STORAGE_MAX_KEYS, T as TuiEffectLedgerRuntime, b as STORAGE_KEY_MAX_LENGTH, c as OBSERVE_CALLBACK_QUEUE_LIMIT, d as OBSERVE_ID_MAX_CHARS, f as OBSERVE_IMAGE_BASE64_MAX_CHARS, g as TuiMessageObserverRuntime, h as OBSERVE_SUMMARY_CELLS, i as withCommandErrorMapping, k as createContractIndex, l as OBSERVE_CALLBACK_TIMEOUT_MS, m as OBSERVE_SCOPE_MAX_CHARS, n as hasCommandErrorCode, o as stampCommandOwner, p as OBSERVE_IMAGE_MAX_BYTES, r as mapCommandError, s as unstampCommandOwner, t as COMMAND_ERROR_CODES, u as OBSERVE_CONTENT_MAX_CHARS, x as STORAGE_MAX_BYTES, y as PluginStorageError } from "./command-errors-BkCHTQHj.js";
5
5
  import { randomUUID } from "node:crypto";
6
6
  import { Context, Service } from "@deepseek-ai/cordis";
7
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/dsh-adapter/plugin-host.js
7
+ //#region ../../../dsh-TUI/lib/types/dsh-adapter/plugin-host.js
8
8
  /**
9
9
  * The dsh-tui-plugin-host row: the plugin-interop anchor every later
10
10
  * contract surface hangs off (storage.local, messages.observe, effect
@@ -1,2 +1,2 @@
1
- import { r as name, t as TuiSceneRuntime } from "./scenes-ai_8sHDs.js";
1
+ import { r as name, t as TuiSceneRuntime } from "./scenes-CAmWncZD.js";
2
2
  export { TuiSceneRuntime, TuiSceneRuntime as default, name };
@@ -1,2 +1,2 @@
1
- import { i as name, t as TuiSettingsSectionsRuntime } from "./settings-sections-QQ1-2lhL.js";
1
+ import { i as name, t as TuiSettingsSectionsRuntime } from "./settings-sections-CakcvBv9.js";
2
2
  export { TuiSettingsSectionsRuntime, TuiSettingsSectionsRuntime as default, name };
@@ -1,8 +1,8 @@
1
- import { c as t, o as ActivityTracker, s as setLangOverride, t as DEFAULT_PRESET } from "./frames-7PAg0Q9b.js";
1
+ import { c as t, o as ActivityTracker, s as setLangOverride, t as DEFAULT_PRESET } from "./frames-DOX-Jgk8.js";
2
2
  import { createRequire } from "node:module";
3
3
  import { realpathSync } from "node:fs";
4
4
  import z from "@deepseek-ai/schemastery";
5
- //#region ../../node_modules/.pnpm/dsh-working-activity@0.4.0_@deepseek-ai+cordis@vendor+cordis_@deepseek-ai+dsh-agent@pac_b3b3229b48344000684afed721112e96/node_modules/dsh-working-activity/lib/types/registration.js
5
+ //#region ../../../dsh-TUI/node_modules/.pnpm/dsh-working-activity@0.4.0_e97aba1383d18def469378a5c7fafd60/node_modules/dsh-working-activity/lib/types/registration.js
6
6
  /**
7
7
  * Runtime registration of the `activity/status` session-event type.
8
8
  *
@@ -80,7 +80,7 @@ function registerSessionCopy(req, registered) {
80
80
  } catch {}
81
81
  }
82
82
  //#endregion
83
- //#region ../../node_modules/.pnpm/dsh-working-activity@0.4.0_@deepseek-ai+cordis@vendor+cordis_@deepseek-ai+dsh-agent@pac_b3b3229b48344000684afed721112e96/node_modules/dsh-working-activity/lib/types/index.js
83
+ //#region ../../../dsh-TUI/node_modules/.pnpm/dsh-working-activity@0.4.0_e97aba1383d18def469378a5c7fafd60/node_modules/dsh-working-activity/lib/types/index.js
84
84
  /**
85
85
  * working-activity — a live "working line" for DeepSeek Harness agents.
86
86
  *
@@ -235,7 +235,7 @@ function apply$1(ctx, config = {}) {
235
235
  }, "working-activity tick timer");
236
236
  }
237
237
  //#endregion
238
- //#region ../../node_modules/.pnpm/@chatcode+cco-tui@0.10.0-rc.9_08ea48c8555976e562c6368d51cb542b/node_modules/@chatcode/cco-tui/lib/types/working-activity.js
238
+ //#region ../../../dsh-TUI/lib/types/working-activity.js
239
239
  /**
240
240
  * Re-export of the `dsh-working-activity` plugin under this package's own
241
241
  * name, so the bundle patch layer can mount the working-activity row as
@@ -1,2 +1,2 @@
1
- import { a as localWorkspaceUri, n as WORKSPACE_PROVIDER_TIMEOUT_MS, o as name, r as createLocalWorkspaceRuntime, s as parseLocalWorkspaceReference, t as TuiWorkspaceRuntime } from "./workspaces-CznCgVHv.js";
1
+ import { a as localWorkspaceUri, n as WORKSPACE_PROVIDER_TIMEOUT_MS, o as name, r as createLocalWorkspaceRuntime, s as parseLocalWorkspaceReference, t as TuiWorkspaceRuntime } from "./workspaces-XY7UdfXp.js";
2
2
  export { TuiWorkspaceRuntime, TuiWorkspaceRuntime as default, WORKSPACE_PROVIDER_TIMEOUT_MS, createLocalWorkspaceRuntime, localWorkspaceUri, name, parseLocalWorkspaceReference };