@jingyi0605/codingns4dsh 0.2.1-beta.4 → 0.2.1-beta.6

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 (459) hide show
  1. package/README.en.md +134 -159
  2. package/README.md +128 -261
  3. package/assets/provider-icons/doubao.png +0 -0
  4. package/data/build/dist/client/account-bar.d.ts +1 -1
  5. package/data/build/dist/client/account-bar.d.ts.map +1 -1
  6. package/data/build/dist/client/account-bar.js +22 -14
  7. package/data/build/dist/client/account-bar.js.map +1 -1
  8. package/data/build/dist/client/adapter-catalog-watch.d.ts +8 -0
  9. package/data/build/dist/client/adapter-catalog-watch.d.ts.map +1 -0
  10. package/data/build/dist/client/adapter-catalog-watch.js +79 -0
  11. package/data/build/dist/client/adapter-catalog-watch.js.map +1 -0
  12. package/data/build/dist/client/avatar/catalog-panel.d.ts +1 -1
  13. package/data/build/dist/client/avatar/catalog-panel.d.ts.map +1 -1
  14. package/data/build/dist/client/avatar/catalog-panel.js +13 -11
  15. package/data/build/dist/client/avatar/catalog-panel.js.map +1 -1
  16. package/data/build/dist/client/avatar/engine.d.ts.map +1 -1
  17. package/data/build/dist/client/avatar/engine.js +26 -7
  18. package/data/build/dist/client/avatar/engine.js.map +1 -1
  19. package/data/build/dist/client/avatar/live2d.d.ts +2 -0
  20. package/data/build/dist/client/avatar/live2d.d.ts.map +1 -1
  21. package/data/build/dist/client/avatar/live2d.js +16 -6
  22. package/data/build/dist/client/avatar/live2d.js.map +1 -1
  23. package/data/build/dist/client/avatar/manager.d.ts.map +1 -1
  24. package/data/build/dist/client/avatar/manager.js +8 -2
  25. package/data/build/dist/client/avatar/manager.js.map +1 -1
  26. package/data/build/dist/client/avatar/slot.d.ts.map +1 -1
  27. package/data/build/dist/client/avatar/slot.js +4 -1
  28. package/data/build/dist/client/avatar/slot.js.map +1 -1
  29. package/data/build/dist/client/bundle.js +48459 -98385
  30. package/data/build/dist/client/bundle.js.map +1 -1
  31. package/data/build/dist/client/cli-catalog.d.ts +5 -0
  32. package/data/build/dist/client/cli-catalog.d.ts.map +1 -1
  33. package/data/build/dist/client/cli-catalog.js +15 -0
  34. package/data/build/dist/client/cli-catalog.js.map +1 -1
  35. package/data/build/dist/client/cli-slots.d.ts.map +1 -1
  36. package/data/build/dist/client/cli-slots.js +7 -45
  37. package/data/build/dist/client/cli-slots.js.map +1 -1
  38. package/data/build/dist/client/client.assistant-configuration-view.js +4526 -0
  39. package/data/build/dist/client/client.assistant-configuration-view.js.map +1 -0
  40. package/data/build/dist/client/client.assistant-debug-workbench.js +764 -0
  41. package/data/build/dist/client/client.assistant-debug-workbench.js.map +1 -0
  42. package/data/build/dist/client/client.assistant-prompt-editor.js +76 -0
  43. package/data/build/dist/client/client.assistant-prompt-editor.js.map +1 -0
  44. package/data/build/dist/client/client.assistant-prompts.js +44 -0
  45. package/data/build/dist/client/client.assistant-prompts.js.map +1 -0
  46. package/data/build/dist/client/client.assistant-voice-sessions.js +144 -0
  47. package/data/build/dist/client/client.assistant-voice-sessions.js.map +1 -0
  48. package/data/build/dist/client/client.assistant-workbench.js +2929 -0
  49. package/data/build/dist/client/client.assistant-workbench.js.map +1 -0
  50. package/data/build/dist/client/client.delegate-command.js +1315 -0
  51. package/data/build/dist/client/client.delegate-command.js.map +1 -0
  52. package/data/build/dist/client/client.editor-engine.js +32486 -0
  53. package/data/build/dist/client/client.editor-engine.js.map +1 -0
  54. package/data/build/dist/client/client.manager.js +3454 -0
  55. package/data/build/dist/client/client.manager.js.map +1 -0
  56. package/data/build/dist/client/client.model-catalog-cache.js +543 -0
  57. package/data/build/dist/client/client.model-catalog-cache.js.map +1 -0
  58. package/data/build/dist/client/client.native-workspace-store.js +689 -0
  59. package/data/build/dist/client/client.native-workspace-store.js.map +1 -0
  60. package/data/build/dist/client/client.primitives-adapter.js +333 -0
  61. package/data/build/dist/client/client.primitives-adapter.js.map +1 -0
  62. package/data/build/dist/client/client.react-dom.js +7286 -0
  63. package/data/build/dist/client/client.react-dom.js.map +1 -0
  64. package/data/build/dist/client/client.rolldown-runtime.js +59 -0
  65. package/data/build/dist/client/client.theme.js +386 -0
  66. package/data/build/dist/client/client.theme.js.map +1 -0
  67. package/data/build/dist/client/client.transport.js +3323 -0
  68. package/data/build/dist/client/client.transport.js.map +1 -0
  69. package/data/build/dist/client/client.xterm-engine.js +13064 -0
  70. package/data/build/dist/client/client.xterm-engine.js.map +1 -0
  71. package/data/build/dist/client/debug/ui.d.ts.map +1 -1
  72. package/data/build/dist/client/debug/ui.js +14 -5
  73. package/data/build/dist/client/debug/ui.js.map +1 -1
  74. package/data/build/dist/client/desktop-assistant.js +19 -5
  75. package/data/build/dist/client/editor-engine.d.ts +4 -0
  76. package/data/build/dist/client/editor-engine.d.ts.map +1 -0
  77. package/data/build/dist/client/editor-engine.js +50 -0
  78. package/data/build/dist/client/editor-engine.js.map +1 -0
  79. package/data/build/dist/client/engine-loader.d.ts +5 -0
  80. package/data/build/dist/client/engine-loader.d.ts.map +1 -0
  81. package/data/build/dist/client/engine-loader.js +35 -0
  82. package/data/build/dist/client/engine-loader.js.map +1 -0
  83. package/data/build/dist/client/features/assistant-configuration-loader.d.ts +14 -0
  84. package/data/build/dist/client/features/assistant-configuration-loader.d.ts.map +1 -0
  85. package/data/build/dist/client/features/assistant-configuration-loader.js +13 -0
  86. package/data/build/dist/client/features/assistant-configuration-loader.js.map +1 -0
  87. package/data/build/dist/client/features/assistant-configuration-session.d.ts.map +1 -1
  88. package/data/build/dist/client/features/assistant-configuration-session.js +13 -4
  89. package/data/build/dist/client/features/assistant-configuration-session.js.map +1 -1
  90. package/data/build/dist/client/features/assistant-configuration-view.d.ts +66 -0
  91. package/data/build/dist/client/features/assistant-configuration-view.d.ts.map +1 -0
  92. package/data/build/dist/client/features/assistant-configuration-view.js +133 -0
  93. package/data/build/dist/client/features/assistant-configuration-view.js.map +1 -0
  94. package/data/build/dist/client/features/assistant-debug-workbench.d.ts +4 -11
  95. package/data/build/dist/client/features/assistant-debug-workbench.d.ts.map +1 -1
  96. package/data/build/dist/client/features/assistant-debug-workbench.js +41 -68
  97. package/data/build/dist/client/features/assistant-debug-workbench.js.map +1 -1
  98. package/data/build/dist/client/features/assistant-display-store.d.ts +57 -0
  99. package/data/build/dist/client/features/assistant-display-store.d.ts.map +1 -0
  100. package/data/build/dist/client/features/assistant-display-store.js +189 -0
  101. package/data/build/dist/client/features/assistant-display-store.js.map +1 -0
  102. package/data/build/dist/client/features/assistant-prompt-editor.d.ts +12 -0
  103. package/data/build/dist/client/features/assistant-prompt-editor.d.ts.map +1 -0
  104. package/data/build/dist/client/features/assistant-prompt-editor.js +14 -0
  105. package/data/build/dist/client/features/assistant-prompt-editor.js.map +1 -0
  106. package/data/build/dist/client/features/assistant-view-loader.d.ts +17 -0
  107. package/data/build/dist/client/features/assistant-view-loader.d.ts.map +1 -0
  108. package/data/build/dist/client/features/assistant-view-loader.js +49 -0
  109. package/data/build/dist/client/features/assistant-view-loader.js.map +1 -0
  110. package/data/build/dist/client/features/assistant-workbench.d.ts +1 -60
  111. package/data/build/dist/client/features/assistant-workbench.d.ts.map +1 -1
  112. package/data/build/dist/client/features/assistant-workbench.js +41 -169
  113. package/data/build/dist/client/features/assistant-workbench.js.map +1 -1
  114. package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -1
  115. package/data/build/dist/client/features/cli-adapters.js +44 -13
  116. package/data/build/dist/client/features/cli-adapters.js.map +1 -1
  117. package/data/build/dist/client/features/global-voice-assistant.d.ts.map +1 -1
  118. package/data/build/dist/client/features/global-voice-assistant.js +33 -27
  119. package/data/build/dist/client/features/global-voice-assistant.js.map +1 -1
  120. package/data/build/dist/client/features/peer-host.d.ts +2 -1
  121. package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
  122. package/data/build/dist/client/features/peer-host.js +124 -58
  123. package/data/build/dist/client/features/peer-host.js.map +1 -1
  124. package/data/build/dist/client/features/workspace-session-enhancement.d.ts.map +1 -1
  125. package/data/build/dist/client/features/workspace-session-enhancement.js +37 -10
  126. package/data/build/dist/client/features/workspace-session-enhancement.js.map +1 -1
  127. package/data/build/dist/client/file-management-dom.d.ts +3 -1
  128. package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
  129. package/data/build/dist/client/file-management-dom.js +85 -79
  130. package/data/build/dist/client/file-management-dom.js.map +1 -1
  131. package/data/build/dist/client/git-management.d.ts +1 -1
  132. package/data/build/dist/client/git-management.d.ts.map +1 -1
  133. package/data/build/dist/client/git-management.js +46 -27
  134. package/data/build/dist/client/git-management.js.map +1 -1
  135. package/data/build/dist/client/locale.d.ts.map +1 -1
  136. package/data/build/dist/client/locale.js +10 -0
  137. package/data/build/dist/client/locale.js.map +1 -1
  138. package/data/build/dist/client/locales/assistantAvatar.d.ts +1 -1
  139. package/data/build/dist/client/locales/assistantAvatar.js +2 -2
  140. package/data/build/dist/client/locales/assistantAvatar.js.map +1 -1
  141. package/data/build/dist/client/locales/fileWorkspace.d.ts.map +1 -1
  142. package/data/build/dist/client/locales/fileWorkspace.js +2 -0
  143. package/data/build/dist/client/locales/fileWorkspace.js.map +1 -1
  144. package/data/build/dist/client/locales/peerHost.d.ts.map +1 -1
  145. package/data/build/dist/client/locales/peerHost.js +4 -0
  146. package/data/build/dist/client/locales/peerHost.js.map +1 -1
  147. package/data/build/dist/client/locales/peerHostWorkspace.js +2 -2
  148. package/data/build/dist/client/locales/peerHostWorkspace.js.map +1 -1
  149. package/data/build/dist/client/locales/usage.d.ts.map +1 -1
  150. package/data/build/dist/client/locales/usage.js +4 -0
  151. package/data/build/dist/client/locales/usage.js.map +1 -1
  152. package/data/build/dist/client/model-catalog-cache.d.ts.map +1 -1
  153. package/data/build/dist/client/model-catalog-cache.js +9 -2
  154. package/data/build/dist/client/model-catalog-cache.js.map +1 -1
  155. package/data/build/dist/client/peer-host-management-api.d.ts +2 -2
  156. package/data/build/dist/client/peer-host-management-api.d.ts.map +1 -1
  157. package/data/build/dist/client/peer-host-management-api.js +8 -5
  158. package/data/build/dist/client/peer-host-management-api.js.map +1 -1
  159. package/data/build/dist/client/provider-icon-assets.js +5 -39
  160. package/data/build/dist/client/provider-icon-assets.js.map +1 -1
  161. package/data/build/dist/client/provider-icon-bridge.d.ts +6 -0
  162. package/data/build/dist/client/provider-icon-bridge.d.ts.map +1 -0
  163. package/data/build/dist/client/provider-icon-bridge.js +65 -0
  164. package/data/build/dist/client/provider-icon-bridge.js.map +1 -0
  165. package/data/build/dist/client/provider-icons.d.ts +1 -0
  166. package/data/build/dist/client/provider-icons.d.ts.map +1 -1
  167. package/data/build/dist/client/provider-icons.js +2 -1
  168. package/data/build/dist/client/provider-icons.js.map +1 -1
  169. package/data/build/dist/client/remote-web-context.d.ts +2 -0
  170. package/data/build/dist/client/remote-web-context.d.ts.map +1 -1
  171. package/data/build/dist/client/remote-web-context.js +50 -2
  172. package/data/build/dist/client/remote-web-context.js.map +1 -1
  173. package/data/build/dist/client/rpc-call.d.ts +4 -0
  174. package/data/build/dist/client/rpc-call.d.ts.map +1 -0
  175. package/data/build/dist/client/rpc-call.js +23 -0
  176. package/data/build/dist/client/rpc-call.js.map +1 -0
  177. package/data/build/dist/client/serial-polling.d.ts +15 -0
  178. package/data/build/dist/client/serial-polling.d.ts.map +1 -0
  179. package/data/build/dist/client/serial-polling.js +48 -0
  180. package/data/build/dist/client/serial-polling.js.map +1 -0
  181. package/data/build/dist/client/session-adapter-cache.d.ts.map +1 -1
  182. package/data/build/dist/client/session-adapter-cache.js +11 -1
  183. package/data/build/dist/client/session-adapter-cache.js.map +1 -1
  184. package/data/build/dist/client/settings-section.js +8 -2
  185. package/data/build/dist/client/settings-section.js.map +1 -1
  186. package/data/build/dist/client/sherpa-voice-adapter.d.ts.map +1 -1
  187. package/data/build/dist/client/sherpa-voice-adapter.js +8 -8
  188. package/data/build/dist/client/sherpa-voice-adapter.js.map +1 -1
  189. package/data/build/dist/client/subscription-slot.d.ts +11 -0
  190. package/data/build/dist/client/subscription-slot.d.ts.map +1 -1
  191. package/data/build/dist/client/subscription-slot.js +42 -15
  192. package/data/build/dist/client/subscription-slot.js.map +1 -1
  193. package/data/build/dist/client/terminal/xterm-engine.d.ts +4 -0
  194. package/data/build/dist/client/terminal/xterm-engine.d.ts.map +1 -0
  195. package/data/build/dist/client/terminal/xterm-engine.js +5 -0
  196. package/data/build/dist/client/terminal/xterm-engine.js.map +1 -0
  197. package/data/build/dist/client/terminal/xterm-view.d.ts.map +1 -1
  198. package/data/build/dist/client/terminal/xterm-view.js +33 -25
  199. package/data/build/dist/client/terminal/xterm-view.js.map +1 -1
  200. package/data/build/dist/host/avatar/temporary-previews.d.ts +3 -1
  201. package/data/build/dist/host/avatar/temporary-previews.d.ts.map +1 -1
  202. package/data/build/dist/host/avatar/temporary-previews.js +7 -2
  203. package/data/build/dist/host/avatar/temporary-previews.js.map +1 -1
  204. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts +1 -1
  205. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts.map +1 -1
  206. package/data/build/dist/host/cli-adapters/acp-cli-driver.js +3 -10
  207. package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
  208. package/data/build/dist/host/cli-adapters/antigravity-driver.d.ts.map +1 -1
  209. package/data/build/dist/host/cli-adapters/antigravity-driver.js +2 -2
  210. package/data/build/dist/host/cli-adapters/antigravity-driver.js.map +1 -1
  211. package/data/build/dist/host/cli-adapters/antigravity-subscription.d.ts.map +1 -1
  212. package/data/build/dist/host/cli-adapters/antigravity-subscription.js +10 -10
  213. package/data/build/dist/host/cli-adapters/antigravity-subscription.js.map +1 -1
  214. package/data/build/dist/host/cli-adapters/binary-detection.d.ts +19 -0
  215. package/data/build/dist/host/cli-adapters/binary-detection.d.ts.map +1 -0
  216. package/data/build/dist/host/cli-adapters/binary-detection.js +71 -0
  217. package/data/build/dist/host/cli-adapters/binary-detection.js.map +1 -0
  218. package/data/build/dist/host/cli-adapters/claude-driver.d.ts +2 -0
  219. package/data/build/dist/host/cli-adapters/claude-driver.d.ts.map +1 -1
  220. package/data/build/dist/host/cli-adapters/claude-driver.js +11 -5
  221. package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
  222. package/data/build/dist/host/cli-adapters/claude-model-options.d.ts.map +1 -1
  223. package/data/build/dist/host/cli-adapters/claude-model-options.js +2 -1
  224. package/data/build/dist/host/cli-adapters/claude-model-options.js.map +1 -1
  225. package/data/build/dist/host/cli-adapters/claude-process.d.ts +7 -0
  226. package/data/build/dist/host/cli-adapters/claude-process.d.ts.map +1 -0
  227. package/data/build/dist/host/cli-adapters/claude-process.js +59 -0
  228. package/data/build/dist/host/cli-adapters/claude-process.js.map +1 -0
  229. package/data/build/dist/host/cli-adapters/codebuddy-driver.d.ts +3 -0
  230. package/data/build/dist/host/cli-adapters/codebuddy-driver.d.ts.map +1 -1
  231. package/data/build/dist/host/cli-adapters/codebuddy-driver.js +26 -12
  232. package/data/build/dist/host/cli-adapters/codebuddy-driver.js.map +1 -1
  233. package/data/build/dist/host/cli-adapters/command-code-driver.d.ts +0 -1
  234. package/data/build/dist/host/cli-adapters/command-code-driver.d.ts.map +1 -1
  235. package/data/build/dist/host/cli-adapters/command-code-driver.js +10 -32
  236. package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
  237. package/data/build/dist/host/cli-adapters/cursor-driver.d.ts.map +1 -1
  238. package/data/build/dist/host/cli-adapters/cursor-driver.js +4 -3
  239. package/data/build/dist/host/cli-adapters/cursor-driver.js.map +1 -1
  240. package/data/build/dist/host/cli-adapters/delegate-dispatch.js +1 -1
  241. package/data/build/dist/host/cli-adapters/delegate-dispatch.js.map +1 -1
  242. package/data/build/dist/host/cli-adapters/delegation-mention-rewrite.d.ts +2 -0
  243. package/data/build/dist/host/cli-adapters/delegation-mention-rewrite.d.ts.map +1 -1
  244. package/data/build/dist/host/cli-adapters/delegation-mention-rewrite.js +5 -0
  245. package/data/build/dist/host/cli-adapters/delegation-mention-rewrite.js.map +1 -1
  246. package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts.map +1 -1
  247. package/data/build/dist/host/cli-adapters/desktop-app-runtime.js +2 -4
  248. package/data/build/dist/host/cli-adapters/desktop-app-runtime.js.map +1 -1
  249. package/data/build/dist/host/cli-adapters/doubao-app.d.ts +27 -0
  250. package/data/build/dist/host/cli-adapters/doubao-app.d.ts.map +1 -0
  251. package/data/build/dist/host/cli-adapters/doubao-app.js +110 -0
  252. package/data/build/dist/host/cli-adapters/doubao-app.js.map +1 -0
  253. package/data/build/dist/host/cli-adapters/doubao-artifact-store.d.ts +16 -0
  254. package/data/build/dist/host/cli-adapters/doubao-artifact-store.d.ts.map +1 -0
  255. package/data/build/dist/host/cli-adapters/doubao-artifact-store.js +142 -0
  256. package/data/build/dist/host/cli-adapters/doubao-artifact-store.js.map +1 -0
  257. package/data/build/dist/host/cli-adapters/doubao-artifacts.d.ts +16 -0
  258. package/data/build/dist/host/cli-adapters/doubao-artifacts.d.ts.map +1 -0
  259. package/data/build/dist/host/cli-adapters/doubao-artifacts.js +34 -0
  260. package/data/build/dist/host/cli-adapters/doubao-artifacts.js.map +1 -0
  261. package/data/build/dist/host/cli-adapters/doubao-cdp.d.ts +49 -0
  262. package/data/build/dist/host/cli-adapters/doubao-cdp.d.ts.map +1 -0
  263. package/data/build/dist/host/cli-adapters/doubao-cdp.js +177 -0
  264. package/data/build/dist/host/cli-adapters/doubao-cdp.js.map +1 -0
  265. package/data/build/dist/host/cli-adapters/doubao-driver.d.ts +33 -0
  266. package/data/build/dist/host/cli-adapters/doubao-driver.d.ts.map +1 -0
  267. package/data/build/dist/host/cli-adapters/doubao-driver.js +291 -0
  268. package/data/build/dist/host/cli-adapters/doubao-driver.js.map +1 -0
  269. package/data/build/dist/host/cli-adapters/doubao-events.d.ts +21 -0
  270. package/data/build/dist/host/cli-adapters/doubao-events.d.ts.map +1 -0
  271. package/data/build/dist/host/cli-adapters/doubao-events.js +126 -0
  272. package/data/build/dist/host/cli-adapters/doubao-events.js.map +1 -0
  273. package/data/build/dist/host/cli-adapters/doubao-runtime.d.ts +6 -0
  274. package/data/build/dist/host/cli-adapters/doubao-runtime.d.ts.map +1 -0
  275. package/data/build/dist/host/cli-adapters/doubao-runtime.js +176 -0
  276. package/data/build/dist/host/cli-adapters/doubao-runtime.js.map +1 -0
  277. package/data/build/dist/host/cli-adapters/doubao-tools.d.ts +8 -0
  278. package/data/build/dist/host/cli-adapters/doubao-tools.d.ts.map +1 -0
  279. package/data/build/dist/host/cli-adapters/doubao-tools.js +139 -0
  280. package/data/build/dist/host/cli-adapters/doubao-tools.js.map +1 -0
  281. package/data/build/dist/host/cli-adapters/driver.d.ts +4 -3
  282. package/data/build/dist/host/cli-adapters/driver.d.ts.map +1 -1
  283. package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
  284. package/data/build/dist/host/cli-adapters/feature.js +30 -36
  285. package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
  286. package/data/build/dist/host/cli-adapters/grok-driver.d.ts.map +1 -1
  287. package/data/build/dist/host/cli-adapters/grok-driver.js +2 -1
  288. package/data/build/dist/host/cli-adapters/grok-driver.js.map +1 -1
  289. package/data/build/dist/host/cli-adapters/json-rpc-process.d.ts.map +1 -1
  290. package/data/build/dist/host/cli-adapters/json-rpc-process.js +3 -1
  291. package/data/build/dist/host/cli-adapters/json-rpc-process.js.map +1 -1
  292. package/data/build/dist/host/cli-adapters/kimi-driver.d.ts.map +1 -1
  293. package/data/build/dist/host/cli-adapters/kimi-driver.js +4 -3
  294. package/data/build/dist/host/cli-adapters/kimi-driver.js.map +1 -1
  295. package/data/build/dist/host/cli-adapters/legacy-session-adapter.d.ts +2 -0
  296. package/data/build/dist/host/cli-adapters/legacy-session-adapter.d.ts.map +1 -1
  297. package/data/build/dist/host/cli-adapters/legacy-session-adapter.js +11 -0
  298. package/data/build/dist/host/cli-adapters/legacy-session-adapter.js.map +1 -1
  299. package/data/build/dist/host/cli-adapters/log-files.d.ts +3 -0
  300. package/data/build/dist/host/cli-adapters/log-files.d.ts.map +1 -0
  301. package/data/build/dist/host/cli-adapters/log-files.js +32 -0
  302. package/data/build/dist/host/cli-adapters/log-files.js.map +1 -0
  303. package/data/build/dist/host/cli-adapters/model-catalog.d.ts +2 -0
  304. package/data/build/dist/host/cli-adapters/model-catalog.d.ts.map +1 -1
  305. package/data/build/dist/host/cli-adapters/model-catalog.js +10 -0
  306. package/data/build/dist/host/cli-adapters/model-catalog.js.map +1 -1
  307. package/data/build/dist/host/cli-adapters/native-team-subagent.js +1 -1
  308. package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
  309. package/data/build/dist/host/cli-adapters/opencode-driver.d.ts +11 -0
  310. package/data/build/dist/host/cli-adapters/opencode-driver.d.ts.map +1 -1
  311. package/data/build/dist/host/cli-adapters/opencode-driver.js +132 -49
  312. package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -1
  313. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.d.ts +29 -0
  314. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.d.ts.map +1 -0
  315. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +471 -0
  316. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js.map +1 -0
  317. package/data/build/dist/host/cli-adapters/pi-driver.d.ts.map +1 -1
  318. package/data/build/dist/host/cli-adapters/pi-driver.js +2 -1
  319. package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
  320. package/data/build/dist/host/cli-adapters/process-utils.d.ts +12 -4
  321. package/data/build/dist/host/cli-adapters/process-utils.d.ts.map +1 -1
  322. package/data/build/dist/host/cli-adapters/process-utils.js +151 -17
  323. package/data/build/dist/host/cli-adapters/process-utils.js.map +1 -1
  324. package/data/build/dist/host/cli-adapters/qoder-driver.d.ts.map +1 -1
  325. package/data/build/dist/host/cli-adapters/qoder-driver.js +63 -100
  326. package/data/build/dist/host/cli-adapters/qoder-driver.js.map +1 -1
  327. package/data/build/dist/host/cli-adapters/qoder-subscription.d.ts +6 -1
  328. package/data/build/dist/host/cli-adapters/qoder-subscription.d.ts.map +1 -1
  329. package/data/build/dist/host/cli-adapters/qoder-subscription.js +37 -10
  330. package/data/build/dist/host/cli-adapters/qoder-subscription.js.map +1 -1
  331. package/data/build/dist/host/cli-adapters/registry.d.ts +13 -21
  332. package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
  333. package/data/build/dist/host/cli-adapters/registry.js +102 -131
  334. package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
  335. package/data/build/dist/host/cli-adapters/rpc-driver-utils.d.ts +2 -10
  336. package/data/build/dist/host/cli-adapters/rpc-driver-utils.d.ts.map +1 -1
  337. package/data/build/dist/host/cli-adapters/rpc-driver-utils.js +1 -28
  338. package/data/build/dist/host/cli-adapters/rpc-driver-utils.js.map +1 -1
  339. package/data/build/dist/host/cli-adapters/session-store.d.ts +5 -1
  340. package/data/build/dist/host/cli-adapters/session-store.d.ts.map +1 -1
  341. package/data/build/dist/host/cli-adapters/session-store.js +68 -11
  342. package/data/build/dist/host/cli-adapters/session-store.js.map +1 -1
  343. package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts +3 -3
  344. package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts.map +1 -1
  345. package/data/build/dist/host/cli-adapters/standard-stream-driver.js +14 -38
  346. package/data/build/dist/host/cli-adapters/standard-stream-driver.js.map +1 -1
  347. package/data/build/dist/host/cli-adapters/windows-command-environment.d.ts +12 -0
  348. package/data/build/dist/host/cli-adapters/windows-command-environment.d.ts.map +1 -0
  349. package/data/build/dist/host/cli-adapters/windows-command-environment.js +53 -0
  350. package/data/build/dist/host/cli-adapters/windows-command-environment.js.map +1 -0
  351. package/data/build/dist/host/cli-bridge/dispatch.js +1 -1
  352. package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
  353. package/data/build/dist/host/debug.d.ts.map +1 -1
  354. package/data/build/dist/host/debug.js +5 -4
  355. package/data/build/dist/host/debug.js.map +1 -1
  356. package/data/build/dist/host/dsh-runtime-version.d.ts +1 -1
  357. package/data/build/dist/host/dsh-runtime-version.d.ts.map +1 -1
  358. package/data/build/dist/host/dsh-runtime-version.js +22 -17
  359. package/data/build/dist/host/dsh-runtime-version.js.map +1 -1
  360. package/data/build/dist/host/features/assistant-avatar-runtime.d.ts.map +1 -1
  361. package/data/build/dist/host/features/assistant-avatar-runtime.js +43 -19
  362. package/data/build/dist/host/features/assistant-avatar-runtime.js.map +1 -1
  363. package/data/build/dist/host/features/assistant-background.d.ts +44 -0
  364. package/data/build/dist/host/features/assistant-background.d.ts.map +1 -0
  365. package/data/build/dist/host/features/assistant-background.js +116 -0
  366. package/data/build/dist/host/features/assistant-background.js.map +1 -0
  367. package/data/build/dist/host/features/assistant-index-updates.d.ts +5 -0
  368. package/data/build/dist/host/features/assistant-index-updates.d.ts.map +1 -1
  369. package/data/build/dist/host/features/assistant-index-updates.js +29 -6
  370. package/data/build/dist/host/features/assistant-index-updates.js.map +1 -1
  371. package/data/build/dist/host/features/assistant-source-cache.d.ts +12 -0
  372. package/data/build/dist/host/features/assistant-source-cache.d.ts.map +1 -0
  373. package/data/build/dist/host/features/assistant-source-cache.js +58 -0
  374. package/data/build/dist/host/features/assistant-source-cache.js.map +1 -0
  375. package/data/build/dist/host/features/global-voice-coordinator.d.ts.map +1 -1
  376. package/data/build/dist/host/features/global-voice-coordinator.js +15 -10
  377. package/data/build/dist/host/features/global-voice-coordinator.js.map +1 -1
  378. package/data/build/dist/host/features/global-voice-rpc.d.ts.map +1 -1
  379. package/data/build/dist/host/features/global-voice-rpc.js +288 -114
  380. package/data/build/dist/host/features/global-voice-rpc.js.map +1 -1
  381. package/data/build/dist/host/features/peer-host.d.ts.map +1 -1
  382. package/data/build/dist/host/features/peer-host.js +61 -21
  383. package/data/build/dist/host/features/peer-host.js.map +1 -1
  384. package/data/build/dist/host/features/sherpa-voice-worker.d.ts +18 -0
  385. package/data/build/dist/host/features/sherpa-voice-worker.d.ts.map +1 -0
  386. package/data/build/dist/host/features/sherpa-voice-worker.js +40 -0
  387. package/data/build/dist/host/features/sherpa-voice-worker.js.map +1 -0
  388. package/data/build/dist/host/features/sherpa-worker-runtime.d.ts +41 -0
  389. package/data/build/dist/host/features/sherpa-worker-runtime.d.ts.map +1 -0
  390. package/data/build/dist/host/features/sherpa-worker-runtime.js +200 -0
  391. package/data/build/dist/host/features/sherpa-worker-runtime.js.map +1 -0
  392. package/data/build/dist/host/features/types.d.ts +6 -4
  393. package/data/build/dist/host/features/types.d.ts.map +1 -1
  394. package/data/build/dist/host/index.d.ts +1 -1
  395. package/data/build/dist/host/index.d.ts.map +1 -1
  396. package/data/build/dist/host/index.js +31 -21
  397. package/data/build/dist/host/index.js.map +1 -1
  398. package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
  399. package/data/build/dist/host/lan-access-dsh.js +5 -22
  400. package/data/build/dist/host/lan-access-dsh.js.map +1 -1
  401. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts +6 -46
  402. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts.map +1 -1
  403. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js +48 -28
  404. package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js.map +1 -1
  405. package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.d.ts.map +1 -1
  406. package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.js +1 -0
  407. package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.js.map +1 -1
  408. package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts.map +1 -1
  409. package/data/build/dist/host/modules/peer-host/peer-host-handshake.js +4 -1
  410. package/data/build/dist/host/modules/peer-host/peer-host-handshake.js.map +1 -1
  411. package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts +7 -1
  412. package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts.map +1 -1
  413. package/data/build/dist/host/modules/peer-host/peer-host-session.js +40 -13
  414. package/data/build/dist/host/modules/peer-host/peer-host-session.js.map +1 -1
  415. package/data/build/dist/host/provider-icon-assets.d.ts +5 -0
  416. package/data/build/dist/host/provider-icon-assets.d.ts.map +1 -0
  417. package/data/build/dist/host/provider-icon-assets.js +61 -0
  418. package/data/build/dist/host/provider-icon-assets.js.map +1 -0
  419. package/data/build/dist/host/rpc.js +2 -2
  420. package/data/build/dist/host/rpc.js.map +1 -1
  421. package/data/build/dist/host/session-migration-repair.d.ts +4 -0
  422. package/data/build/dist/host/session-migration-repair.d.ts.map +1 -1
  423. package/data/build/dist/host/session-migration-repair.js +75 -2
  424. package/data/build/dist/host/session-migration-repair.js.map +1 -1
  425. package/data/build/dist/host/terminal/backends/tmux-backend.d.ts +1 -1
  426. package/data/build/dist/host/terminal/backends/tmux-backend.d.ts.map +1 -1
  427. package/data/build/dist/host/terminal/backends/tmux-backend.js +15 -14
  428. package/data/build/dist/host/terminal/backends/tmux-backend.js.map +1 -1
  429. package/data/build/dist/shared/assistant-avatar-engine.d.ts +5 -0
  430. package/data/build/dist/shared/assistant-avatar-engine.d.ts.map +1 -1
  431. package/data/build/dist/shared/assistant-avatar-engine.js +14 -0
  432. package/data/build/dist/shared/assistant-avatar-engine.js.map +1 -1
  433. package/data/build/dist/shared/contracts/cli-adapter.d.ts +6 -0
  434. package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
  435. package/data/build/dist/shared/contracts/errors.d.ts +1 -0
  436. package/data/build/dist/shared/contracts/errors.d.ts.map +1 -1
  437. package/data/build/dist/shared/contracts/errors.js +1 -0
  438. package/data/build/dist/shared/contracts/errors.js.map +1 -1
  439. package/data/build/dist/shared/contracts/peer-host.d.ts +1 -0
  440. package/data/build/dist/shared/contracts/peer-host.d.ts.map +1 -1
  441. package/data/build/dist/shared/contracts/peer-host.js +1 -0
  442. package/data/build/dist/shared/contracts/peer-host.js.map +1 -1
  443. package/data/build/dist/shared/contracts/version.d.ts +3 -1
  444. package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
  445. package/data/build/dist/shared/contracts/version.js +20 -7
  446. package/data/build/dist/shared/contracts/version.js.map +1 -1
  447. package/data/build/dist/shared/peer-host-http-routes.d.ts +62 -0
  448. package/data/build/dist/shared/peer-host-http-routes.d.ts.map +1 -0
  449. package/data/build/dist/shared/peer-host-http-routes.js +31 -0
  450. package/data/build/dist/shared/peer-host-http-routes.js.map +1 -0
  451. package/data/build/dist/shared/provider-icon-resources.d.ts +4 -0
  452. package/data/build/dist/shared/provider-icon-resources.d.ts.map +1 -0
  453. package/data/build/dist/shared/provider-icon-resources.js +24 -0
  454. package/data/build/dist/shared/provider-icon-resources.js.map +1 -0
  455. package/package.json +2 -2
  456. package/profile/README.md +2 -2
  457. package/profile/package.json +2 -2
  458. package/profile/version.json +1 -1
  459. package/version.json +1 -1
@@ -0,0 +1,689 @@
1
+ window.__ModuleLoader__.load({
2
+ id: "@jingyi0605/codingns4dsh",
3
+ chunk: "client.native-workspace-store.js",
4
+ factory: (require) => {
5
+ var module = { exports: {} };
6
+ var exports = module.exports;
7
+ const require_assistant_prompts = require("@jingyi0605/codingns4dsh/client.assistant-prompts.js");
8
+ //#region src/shared/contracts/version.ts
9
+ /** 当前经过完整验证的 DSH 版本;源文件由根目录 version.json 同步。 */
10
+ const DSH_VERSION = "0.2.1-alpha.1";
11
+ /**
12
+ * 插件正式验证的 DSH 版本范围,覆盖 rc.2 到当前验证的 alpha.1。
13
+ *
14
+ * 0.2.0-rc.2 与 0.2.1-alpha.1 属于同一 API 世代:插件消费的 7 个宿主包接口面
15
+ * 未变(仅 dsh-client-ui-primitives 新增 InlineEditor),会话格式仍为 v4。因此
16
+ * 这里保留明确上界,是为了让 npm/DSH 安装期也能识别 0.2.1-alpha.1 这个跨 patch
17
+ * 预发布版本;出现新的 API 世代或结构变化时,应重新验证并更新范围与能力路由。
18
+ */
19
+ const DSH_COMPATIBILITY = ">=0.2.0-rc.2 <=0.2.1-alpha.1";
20
+ /**
21
+ * 兼容范围下界,即插件仍然接受的最低 DSH 版本。
22
+ *
23
+ * 供“宿主没有注入真实版本、但已确认处于现代世代”的保守回退使用:回退值取自
24
+ * 范围本身,因此永远落在兼容范围内。写死某个历史版本会在范围收紧后变成
25
+ * “不支持的 DSH 版本”,把仅仅缺少启动页注入的页面误判为宿主不兼容。
26
+ */
27
+ function minimumSupportedDshVersion() {
28
+ return /^>=([^ ]+)/u.exec(">=0.2.0-rc.2 <=0.2.1-alpha.1")?.[1] ?? "0.2.1-alpha.1";
29
+ }
30
+ /** Host 注入到浏览器页面的真实 DSH 版本全局字段。 */
31
+ const CODINGNS_DSH_VERSION_GLOBAL = "__CODINGNS_DSH_VERSION__";
32
+ /** 识别没有 alpha2 Sidebar 扩展 API 的 DSH 旧版运行时。 */
33
+ function isLegacyDshVersion(version) {
34
+ return /^0\.1\.5(?:-|$)/u.test(version);
35
+ }
36
+ /** Codingns4DSH 插件自身的 npm 版本。 */
37
+ const CODINGNS_VERSION = "0.2.1-beta.6";
38
+ /** 判断宿主版本是否落在当前插件声明的 DSH 兼容范围内;范围省略上界时不校验上限。 */
39
+ function isDshVersionCompatible(version) {
40
+ const match = /^>=([^ ]+)(?: <=([^ ]+))?$/u.exec(DSH_COMPATIBILITY);
41
+ const actual = parseVersion(version);
42
+ const minimum = parseVersion(match?.[1] ?? "");
43
+ if (match === null || !actual || !minimum) return version === DSH_VERSION;
44
+ if (match[2] === void 0) return compareVersions(actual, minimum) >= 0;
45
+ const maximum = parseVersion(match[2]);
46
+ if (maximum === void 0) return version === DSH_VERSION;
47
+ return compareVersions(actual, minimum) >= 0 && compareVersions(actual, maximum) <= 0;
48
+ }
49
+ /** 判断 DSH 版本是否达到某个功能模块要求的最低版本。 */
50
+ function isDshVersionAtLeast(version, minimum) {
51
+ return isVersionAtLeast(version, minimum);
52
+ }
53
+ /** 按语义版本比较大小;预发布标识参与排序,构建元数据不影响优先级,非法版本不放行。 */
54
+ function isVersionAtLeast(version, minimum) {
55
+ const actual = parseVersion(version);
56
+ const required = parseVersion(minimum);
57
+ if (!actual || !required) return false;
58
+ return compareVersions(actual, required) >= 0;
59
+ }
60
+ function parseVersion(value) {
61
+ const match = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u.exec(value);
62
+ if (!match) return void 0;
63
+ if (!match.slice(1, 4).map(Number).every(Number.isSafeInteger)) return void 0;
64
+ const prerelease = match[4]?.split(".") ?? [];
65
+ if (prerelease.some((part) => /^0\d+$/u.test(part))) return void 0;
66
+ return {
67
+ major: Number(match[1]),
68
+ minor: Number(match[2]),
69
+ patch: Number(match[3]),
70
+ prerelease
71
+ };
72
+ }
73
+ function compareVersions(left, right) {
74
+ for (const key of [
75
+ "major",
76
+ "minor",
77
+ "patch"
78
+ ]) if (left[key] !== right[key]) return left[key] - right[key];
79
+ if (left.prerelease.length === 0 && right.prerelease.length > 0) return 1;
80
+ if (left.prerelease.length > 0 && right.prerelease.length === 0) return -1;
81
+ for (let index = 0; index < Math.max(left.prerelease.length, right.prerelease.length); index += 1) {
82
+ const leftPart = left.prerelease[index];
83
+ const rightPart = right.prerelease[index];
84
+ if (leftPart === void 0) return -1;
85
+ if (rightPart === void 0) return 1;
86
+ if (leftPart === rightPart) continue;
87
+ const leftNumeric = /^\d+$/u.test(leftPart);
88
+ if (leftNumeric !== /^\d+$/u.test(rightPart)) return leftNumeric ? -1 : 1;
89
+ if (leftNumeric && leftPart.length !== rightPart.length) return leftPart.length - rightPart.length;
90
+ return leftPart < rightPart ? -1 : 1;
91
+ }
92
+ return 0;
93
+ }
94
+ //#endregion
95
+ //#region src/shared/contracts/config.ts
96
+ const DEFAULT_ASSISTANT_VOICE_SETTINGS = {
97
+ initialized: false,
98
+ provider: "dsh-speech-to-text",
99
+ modelId: "",
100
+ asrEncoder: "",
101
+ asrDecoder: "",
102
+ asrJoiner: "",
103
+ asrTokens: "",
104
+ vadModel: "",
105
+ ttsModel: "",
106
+ ttsTokens: "",
107
+ ttsLexicon: ""
108
+ };
109
+ const DEFAULT_ASSISTANT_SETTINGS = {
110
+ managedWorkspaceIds: [],
111
+ voice: DEFAULT_ASSISTANT_VOICE_SETTINGS,
112
+ prompts: require_assistant_prompts.DEFAULT_ASSISTANT_PROMPTS
113
+ };
114
+ /** 并发子代理数上限:下限 1 保证至少能派发,上限避免一次性压垮本机。 */
115
+ const SUBAGENT_BRIDGE_MAX_CONCURRENT_LIMITS = {
116
+ min: 1,
117
+ max: 32
118
+ };
119
+ const DEFAULT_SUBAGENT_BRIDGE_SETTINGS = {
120
+ enabled: false,
121
+ maxConcurrentSubagents: 8
122
+ };
123
+ /** 归一化子代理托管设置:只有显式 true 才算开启;并发数按上下限收敛。 */
124
+ function normalizeSubagentBridgeSettings(value) {
125
+ const record = typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
126
+ return {
127
+ enabled: record.enabled === true,
128
+ maxConcurrentSubagents: clampSettingsInteger(record.maxConcurrentSubagents, SUBAGENT_BRIDGE_MAX_CONCURRENT_LIMITS, DEFAULT_SUBAGENT_BRIDGE_SETTINGS.maxConcurrentSubagents)
129
+ };
130
+ }
131
+ const DEFAULT_SUBSCRIPTION_USAGE_SETTINGS = {
132
+ timeoutSecs: 10,
133
+ refreshIntervalMins: 5
134
+ };
135
+ const SUBSCRIPTION_USAGE_TIMEOUT_SECS_LIMITS = {
136
+ min: 3,
137
+ max: 120
138
+ };
139
+ const SUBSCRIPTION_USAGE_REFRESH_INTERVAL_MINS_LIMITS = {
140
+ min: 0,
141
+ max: 1440
142
+ };
143
+ /** 归一化用量查询设置:缺省字段回填默认值,越界值收敛到允许范围。 */
144
+ function normalizeSubscriptionUsageSettings(value) {
145
+ const record = typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
146
+ return {
147
+ timeoutSecs: clampSettingsInteger(record.timeoutSecs, SUBSCRIPTION_USAGE_TIMEOUT_SECS_LIMITS, DEFAULT_SUBSCRIPTION_USAGE_SETTINGS.timeoutSecs),
148
+ refreshIntervalMins: clampSettingsInteger(record.refreshIntervalMins, SUBSCRIPTION_USAGE_REFRESH_INTERVAL_MINS_LIMITS, DEFAULT_SUBSCRIPTION_USAGE_SETTINGS.refreshIntervalMins)
149
+ };
150
+ }
151
+ function clampSettingsInteger(value, limits, fallback) {
152
+ const numeric = typeof value === "number" && Number.isFinite(value) ? Math.round(value) : fallback;
153
+ return Math.min(limits.max, Math.max(limits.min, numeric));
154
+ }
155
+ const SIDEBAR_GESTURE_DISTANCE_PERCENT_LIMITS = {
156
+ min: 15,
157
+ max: 80
158
+ };
159
+ const DEFAULT_SIDEBAR_GESTURE_SETTINGS = {
160
+ sidebarGestures: true,
161
+ sidebarGestureMapping: "swipe-inward",
162
+ sidebarGestureEdge: "avoid",
163
+ sidebarGestureDistancePercent: 25
164
+ };
165
+ /** 归一化手势设置:缺省回填、越界收敛,非法枚举回落到默认值。 */
166
+ function normalizeSidebarGestureSettings(value) {
167
+ const record = typeof value === "object" && value !== null ? value : {};
168
+ const percent = record.sidebarGestureDistancePercent === void 0 ? legacyThresholdPxToPercent(record.sidebarGestureThresholdPx) : record.sidebarGestureDistancePercent;
169
+ return {
170
+ sidebarGestures: record.sidebarGestures === void 0 ? DEFAULT_SIDEBAR_GESTURE_SETTINGS.sidebarGestures : record.sidebarGestures === true,
171
+ sidebarGestureMapping: record.sidebarGestureMapping === "swap" ? "swap" : "swipe-inward",
172
+ sidebarGestureEdge: record.sidebarGestureEdge === "edge" ? "edge" : "avoid",
173
+ sidebarGestureDistancePercent: clampSettingsInteger(percent, SIDEBAR_GESTURE_DISTANCE_PERCENT_LIMITS, 25)
174
+ };
175
+ }
176
+ /**
177
+ * 把已废弃的像素门槛换算成视口百分比。
178
+ *
179
+ * 换算结果不低于当前默认值:旧像素值在绝大多数移动视口上本来就低于
180
+ * `视口宽度 × 40%`,属于「从未生效」的设置,用户实际上一直在用默认手感。
181
+ * 让它们落到新默认值,才能获得本次灵敏度修复;只有确实高于下限的旧值
182
+ * 才保留其「更严格」的意图。
183
+ */
184
+ function legacyThresholdPxToPercent(value) {
185
+ if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) return void 0;
186
+ const percent = Math.round(value / 390 * 100);
187
+ return Math.max(25, percent);
188
+ }
189
+ const DEFAULT_FILE_MANAGEMENT_SETTINGS = {
190
+ menuEnhancement: true,
191
+ fileEditor: true,
192
+ sessionChangedFiles: true
193
+ };
194
+ const MOBILE_VIEWPORT_MAX_PX_LIMITS = {
195
+ min: 480,
196
+ max: 1280
197
+ };
198
+ const DEFAULT_MOBILE_ACCESS_SETTINGS = {
199
+ hideSidebarOnMobile: true,
200
+ optimizeSettingsOnMobile: true,
201
+ mobileViewportMaxPx: 1024,
202
+ ...DEFAULT_SIDEBAR_GESTURE_SETTINGS
203
+ };
204
+ /**
205
+ * 归一化移动端访问设置:缺省回填默认值,越界值收敛到允许范围。
206
+ * 第二个参数只用于读取旧版本写在 workspaceSessionEnhancement 下的手势设置。
207
+ */
208
+ function normalizeMobileAccessSettings(value, legacyGestureValue) {
209
+ const record = typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
210
+ const legacy = typeof legacyGestureValue === "object" && legacyGestureValue !== null && !Array.isArray(legacyGestureValue) ? legacyGestureValue : {};
211
+ const gestureValue = (key) => record[key] ?? legacy[key];
212
+ const gesture = {};
213
+ const sidebarGestures = gestureValue("sidebarGestures");
214
+ const sidebarGestureMapping = gestureValue("sidebarGestureMapping");
215
+ const sidebarGestureEdge = gestureValue("sidebarGestureEdge");
216
+ const sidebarGestureDistancePercent = gestureValue("sidebarGestureDistancePercent");
217
+ const sidebarGestureThresholdPx = gestureValue("sidebarGestureThresholdPx");
218
+ if (sidebarGestures !== void 0) gesture.sidebarGestures = sidebarGestures;
219
+ if (sidebarGestureMapping !== void 0) gesture.sidebarGestureMapping = sidebarGestureMapping;
220
+ if (sidebarGestureEdge !== void 0) gesture.sidebarGestureEdge = sidebarGestureEdge;
221
+ if (sidebarGestureDistancePercent !== void 0) gesture.sidebarGestureDistancePercent = sidebarGestureDistancePercent;
222
+ if (sidebarGestureDistancePercent === void 0 && sidebarGestureThresholdPx !== void 0) gesture.sidebarGestureThresholdPx = sidebarGestureThresholdPx;
223
+ return {
224
+ hideSidebarOnMobile: record.hideSidebarOnMobile === void 0 ? DEFAULT_MOBILE_ACCESS_SETTINGS.hideSidebarOnMobile : record.hideSidebarOnMobile === true,
225
+ optimizeSettingsOnMobile: record.optimizeSettingsOnMobile === void 0 ? DEFAULT_MOBILE_ACCESS_SETTINGS.optimizeSettingsOnMobile : record.optimizeSettingsOnMobile === true,
226
+ mobileViewportMaxPx: clampSettingsInteger(record.mobileViewportMaxPx, MOBILE_VIEWPORT_MAX_PX_LIMITS, DEFAULT_MOBILE_ACCESS_SETTINGS.mobileViewportMaxPx),
227
+ ...normalizeSidebarGestureSettings(gesture)
228
+ };
229
+ }
230
+ /** 首次启用快捷会话时提供的内置指令。 */
231
+ const DEFAULT_QUICK_PHRASES = [
232
+ {
233
+ id: "builtin-quick-1",
234
+ text: "请将本次会话变更的所有代码提交到git暂存区,然后总结一条中文的提交信息"
235
+ },
236
+ {
237
+ id: "builtin-quick-2",
238
+ text: "分析本项目模块的代码实现,并分析存在的问题"
239
+ },
240
+ {
241
+ id: "builtin-quick-3",
242
+ text: "分析当前项目中的未提交文件,按照功能模块进行分类提交,提交信息格式请参考我最近的提交记录"
243
+ },
244
+ {
245
+ id: "builtin-quick-4",
246
+ text: "请给出完整的开发提示词,我将在新的页面中继续开发"
247
+ }
248
+ ];
249
+ const DEFAULT_LAN_ACCESS_DSH_PWA_SETTINGS = {
250
+ enabled: true,
251
+ serviceWorker: false,
252
+ installPrompt: true,
253
+ notifications: "off"
254
+ };
255
+ /** 归一化 PWA 设置:缺省回填默认值,非法枚举回落到最保守档位。 */
256
+ function normalizeLanAccessDshPwaSettings(value) {
257
+ const record = typeof value === "object" && value !== null && !Array.isArray(value) ? value : {};
258
+ return {
259
+ enabled: record.enabled === void 0 ? DEFAULT_LAN_ACCESS_DSH_PWA_SETTINGS.enabled : record.enabled === true,
260
+ serviceWorker: record.serviceWorker === true,
261
+ installPrompt: record.installPrompt === void 0 ? DEFAULT_LAN_ACCESS_DSH_PWA_SETTINGS.installPrompt : record.installPrompt === true,
262
+ notifications: record.notifications === "local" || record.notifications === "push" ? record.notifications : "off"
263
+ };
264
+ }
265
+ const CODINGNS_SETTINGS_NAMESPACE = "codingns";
266
+ /** DSH 配置表单可能使用的插件 entry id;scoped 包名是当前 Bundle 的正式 ID。 */
267
+ const CODINGNS_SETTINGS_ENTRY_IDS = [
268
+ "@jingyi0605/codingns4dsh",
269
+ "codingns4dsh",
270
+ CODINGNS_SETTINGS_NAMESPACE
271
+ ];
272
+ const CODINGNS_CONTROL_BASE_URL_FIELD = "controlBaseUrl";
273
+ const CODINGNS_CONTROL_BASE_URLS_FIELD = "controlBaseUrls";
274
+ const CODINGNS_MODULES_FIELD = "modules";
275
+ const CODINGNS_LAN_ACCESS_DSH_FIELD = "lanAccessDsh";
276
+ const CODINGNS_TERMINAL_ENHANCEMENT_FIELD = "terminalEnhancement";
277
+ const CODINGNS_WORKSPACE_SESSION_ENHANCEMENT_FIELD = "workspaceSessionEnhancement";
278
+ const CODINGNS_FILE_MANAGEMENT_FIELD = "fileManagement";
279
+ const CODINGNS_MOBILE_ACCESS_FIELD = "mobileAccess";
280
+ const CODINGNS_SUBSCRIPTION_USAGE_FIELD = "subscriptionUsage";
281
+ const CODINGNS_ASSISTANT_FIELD = "assistant";
282
+ const DEFAULT_CODINGNS_CONTROL_BASE_URLS = ["https://channel.codingns.com:1443"];
283
+ /** 控制站的网页登录地址,用于注册 Codingns4DSH 账号。 */
284
+ const CODINGNS_CONTROL_STATION_URL = "https://channel.codingns.com:1443";
285
+ /** 独立 H5 登录页面地址;登录控制站后可从设置页复制给其他设备。 */
286
+ const CODINGNS_H5_LOGIN_URL = "https://dsh.codingns.com";
287
+ const DEFAULT_TERMINAL_ENHANCEMENT_SETTINGS = {
288
+ bindingScope: "workspace",
289
+ defaultProfile: "system",
290
+ appearance: {
291
+ theme: "inherit",
292
+ background: null,
293
+ foreground: null,
294
+ cursorColor: null,
295
+ fontFamily: null,
296
+ fontSize: null,
297
+ lineHeight: null,
298
+ cursorStyle: null,
299
+ cursorBlink: null,
300
+ scrollback: null
301
+ }
302
+ };
303
+ const DEFAULT_WORKSPACE_SESSION_ENHANCEMENT_SETTINGS = {
304
+ showAdapterLogo: true,
305
+ showArchivedSessions: true,
306
+ showWorkspaceHiding: true,
307
+ hiddenWorkspaceIds: [],
308
+ showSubscriptionUsage: true,
309
+ showQuickPhrases: true,
310
+ showSkillQuickReference: true,
311
+ rememberConversationRightbarRatio: false,
312
+ quickPhrases: DEFAULT_QUICK_PHRASES.map((phrase) => ({ ...phrase })),
313
+ quickPhrasesSeeded: true
314
+ };
315
+ [...DEFAULT_CODINGNS_CONTROL_BASE_URLS];
316
+ function captureRestartFeatureStates(descriptors, settings, dshVersion) {
317
+ const states = {};
318
+ for (const descriptor of descriptors) if (descriptor.activation === "restart") states[descriptor.name] = isFeatureDshVersionCompatible(descriptor, dshVersion) && isFeatureEnabled(descriptor, settings);
319
+ return states;
320
+ }
321
+ /**
322
+ * 判定一个功能模块当前是否应当启用。
323
+ *
324
+ * 常驻模块(ui.alwaysEnabled)始终启用;其余模块读取设置里的用户意图,
325
+ * 用户没有表达过意图时使用模块自己声明的 enabledByDefault。
326
+ */
327
+ function isFeatureEnabled(descriptor, settings) {
328
+ if (descriptor.disabled === true) return false;
329
+ if (descriptor.ui?.alwaysEnabled === true) return true;
330
+ return settings?.modules[descriptor.name] ?? descriptor.enabledByDefault;
331
+ }
332
+ /** 汇总当前应当启用的模块名,交给 FeatureRegistry.reconcile 对齐状态。 */
333
+ function enabledFeatureNames(descriptors, settings, restartStates, dshVersion) {
334
+ const names = [];
335
+ for (const descriptor of descriptors) if ((descriptor.activation === "restart" && restartStates !== void 0 ? restartStates[descriptor.name] ?? descriptor.enabledByDefault : isFeatureEnabled(descriptor, settings)) && isFeatureDshVersionCompatible(descriptor, dshVersion)) names.push(descriptor.name);
336
+ return names;
337
+ }
338
+ /** 判断模块是否可以在当前 DSH 版本运行。未提供运行时版本时保留旧调用方行为。 */
339
+ function isFeatureDshVersionCompatible(descriptor, dshVersion) {
340
+ if (descriptor.minimumDshVersion === void 0 || dshVersion === void 0) return true;
341
+ return isDshVersionAtLeast(dshVersion, descriptor.minimumDshVersion);
342
+ }
343
+ //#endregion
344
+ //#region src/client/native-workspace-store.ts
345
+ /**
346
+ * 读取原生 Workspace 列表 Store 对象本身。
347
+ *
348
+ * PeerHost 顺序投影必须就地改写这个对象的方法,归档入口只读它的快照。
349
+ */
350
+ function readNativeWorkspaceListStore(uiContext) {
351
+ const store = readNativeService(uiContext, "workspaces", "list");
352
+ if (!isRecord(store) || typeof store.getSnapshot !== "function" || typeof store.subscribe !== "function") return void 0;
353
+ return store;
354
+ }
355
+ /** 读取原生 Workspace 快照;形状不符或服务缺失时返回 undefined,调用方退回原生 Remote。 */
356
+ function readNativeWorkspaceSnapshot(uiContext) {
357
+ const snapshot = readNativeWorkspaceListStore(uiContext)?.getSnapshot();
358
+ const record = isRecord(snapshot) ? snapshot : void 0;
359
+ if (record === void 0 || !Array.isArray(record.items)) return void 0;
360
+ return {
361
+ items: record.items.flatMap((item) => {
362
+ const value = isRecord(item) ? item : void 0;
363
+ const workspaceId = readText(value?.workspaceId);
364
+ if (workspaceId === void 0) return [];
365
+ const path = readText(value?.path);
366
+ const title = readText(value?.title) ?? path ?? workspaceId;
367
+ return [{
368
+ workspaceId,
369
+ ...path === void 0 ? {} : { path },
370
+ title,
371
+ sessionIds: readTextList(value?.sessionIds)
372
+ }];
373
+ }),
374
+ archivedSessionIds: readTextList(record.archivedSessionIds)
375
+ };
376
+ }
377
+ /** 读取 DSH 原生服务集合中的字段;非 Web 宿主或版本差异时保持缺失。 */
378
+ function readNativeService(uiContext, name, field) {
379
+ if (uiContext === void 0) return void 0;
380
+ try {
381
+ const getter = uiContext.get;
382
+ if (typeof getter !== "function") return void 0;
383
+ const service = getter.call(uiContext, name);
384
+ if (field === void 0) return service;
385
+ return isRecord(service) ? service[field] : void 0;
386
+ } catch {
387
+ return;
388
+ }
389
+ }
390
+ function readText(value) {
391
+ return typeof value === "string" && value.trim() !== "" ? value.trim() : void 0;
392
+ }
393
+ function readTextList(value) {
394
+ return Array.isArray(value) ? value.flatMap((item) => {
395
+ const text = readText(item);
396
+ return text === void 0 ? [] : [text];
397
+ }) : [];
398
+ }
399
+ function isRecord(value) {
400
+ return typeof value === "object" && value !== null && !Array.isArray(value);
401
+ }
402
+ //#endregion
403
+ Object.defineProperty(exports, "CODINGNS_ASSISTANT_FIELD", {
404
+ enumerable: true,
405
+ get: function() {
406
+ return CODINGNS_ASSISTANT_FIELD;
407
+ }
408
+ });
409
+ Object.defineProperty(exports, "CODINGNS_CONTROL_BASE_URLS_FIELD", {
410
+ enumerable: true,
411
+ get: function() {
412
+ return CODINGNS_CONTROL_BASE_URLS_FIELD;
413
+ }
414
+ });
415
+ Object.defineProperty(exports, "CODINGNS_CONTROL_BASE_URL_FIELD", {
416
+ enumerable: true,
417
+ get: function() {
418
+ return CODINGNS_CONTROL_BASE_URL_FIELD;
419
+ }
420
+ });
421
+ Object.defineProperty(exports, "CODINGNS_CONTROL_STATION_URL", {
422
+ enumerable: true,
423
+ get: function() {
424
+ return CODINGNS_CONTROL_STATION_URL;
425
+ }
426
+ });
427
+ Object.defineProperty(exports, "CODINGNS_DSH_VERSION_GLOBAL", {
428
+ enumerable: true,
429
+ get: function() {
430
+ return CODINGNS_DSH_VERSION_GLOBAL;
431
+ }
432
+ });
433
+ Object.defineProperty(exports, "CODINGNS_FILE_MANAGEMENT_FIELD", {
434
+ enumerable: true,
435
+ get: function() {
436
+ return CODINGNS_FILE_MANAGEMENT_FIELD;
437
+ }
438
+ });
439
+ Object.defineProperty(exports, "CODINGNS_H5_LOGIN_URL", {
440
+ enumerable: true,
441
+ get: function() {
442
+ return CODINGNS_H5_LOGIN_URL;
443
+ }
444
+ });
445
+ Object.defineProperty(exports, "CODINGNS_LAN_ACCESS_DSH_FIELD", {
446
+ enumerable: true,
447
+ get: function() {
448
+ return CODINGNS_LAN_ACCESS_DSH_FIELD;
449
+ }
450
+ });
451
+ Object.defineProperty(exports, "CODINGNS_MOBILE_ACCESS_FIELD", {
452
+ enumerable: true,
453
+ get: function() {
454
+ return CODINGNS_MOBILE_ACCESS_FIELD;
455
+ }
456
+ });
457
+ Object.defineProperty(exports, "CODINGNS_MODULES_FIELD", {
458
+ enumerable: true,
459
+ get: function() {
460
+ return CODINGNS_MODULES_FIELD;
461
+ }
462
+ });
463
+ Object.defineProperty(exports, "CODINGNS_SETTINGS_ENTRY_IDS", {
464
+ enumerable: true,
465
+ get: function() {
466
+ return CODINGNS_SETTINGS_ENTRY_IDS;
467
+ }
468
+ });
469
+ Object.defineProperty(exports, "CODINGNS_SETTINGS_NAMESPACE", {
470
+ enumerable: true,
471
+ get: function() {
472
+ return CODINGNS_SETTINGS_NAMESPACE;
473
+ }
474
+ });
475
+ Object.defineProperty(exports, "CODINGNS_SUBSCRIPTION_USAGE_FIELD", {
476
+ enumerable: true,
477
+ get: function() {
478
+ return CODINGNS_SUBSCRIPTION_USAGE_FIELD;
479
+ }
480
+ });
481
+ Object.defineProperty(exports, "CODINGNS_TERMINAL_ENHANCEMENT_FIELD", {
482
+ enumerable: true,
483
+ get: function() {
484
+ return CODINGNS_TERMINAL_ENHANCEMENT_FIELD;
485
+ }
486
+ });
487
+ Object.defineProperty(exports, "CODINGNS_VERSION", {
488
+ enumerable: true,
489
+ get: function() {
490
+ return CODINGNS_VERSION;
491
+ }
492
+ });
493
+ Object.defineProperty(exports, "CODINGNS_WORKSPACE_SESSION_ENHANCEMENT_FIELD", {
494
+ enumerable: true,
495
+ get: function() {
496
+ return CODINGNS_WORKSPACE_SESSION_ENHANCEMENT_FIELD;
497
+ }
498
+ });
499
+ Object.defineProperty(exports, "DEFAULT_ASSISTANT_SETTINGS", {
500
+ enumerable: true,
501
+ get: function() {
502
+ return DEFAULT_ASSISTANT_SETTINGS;
503
+ }
504
+ });
505
+ Object.defineProperty(exports, "DEFAULT_ASSISTANT_VOICE_SETTINGS", {
506
+ enumerable: true,
507
+ get: function() {
508
+ return DEFAULT_ASSISTANT_VOICE_SETTINGS;
509
+ }
510
+ });
511
+ Object.defineProperty(exports, "DEFAULT_CODINGNS_CONTROL_BASE_URLS", {
512
+ enumerable: true,
513
+ get: function() {
514
+ return DEFAULT_CODINGNS_CONTROL_BASE_URLS;
515
+ }
516
+ });
517
+ Object.defineProperty(exports, "DEFAULT_FILE_MANAGEMENT_SETTINGS", {
518
+ enumerable: true,
519
+ get: function() {
520
+ return DEFAULT_FILE_MANAGEMENT_SETTINGS;
521
+ }
522
+ });
523
+ Object.defineProperty(exports, "DEFAULT_LAN_ACCESS_DSH_PWA_SETTINGS", {
524
+ enumerable: true,
525
+ get: function() {
526
+ return DEFAULT_LAN_ACCESS_DSH_PWA_SETTINGS;
527
+ }
528
+ });
529
+ Object.defineProperty(exports, "DEFAULT_MOBILE_ACCESS_SETTINGS", {
530
+ enumerable: true,
531
+ get: function() {
532
+ return DEFAULT_MOBILE_ACCESS_SETTINGS;
533
+ }
534
+ });
535
+ Object.defineProperty(exports, "DEFAULT_QUICK_PHRASES", {
536
+ enumerable: true,
537
+ get: function() {
538
+ return DEFAULT_QUICK_PHRASES;
539
+ }
540
+ });
541
+ Object.defineProperty(exports, "DEFAULT_SUBSCRIPTION_USAGE_SETTINGS", {
542
+ enumerable: true,
543
+ get: function() {
544
+ return DEFAULT_SUBSCRIPTION_USAGE_SETTINGS;
545
+ }
546
+ });
547
+ Object.defineProperty(exports, "DEFAULT_TERMINAL_ENHANCEMENT_SETTINGS", {
548
+ enumerable: true,
549
+ get: function() {
550
+ return DEFAULT_TERMINAL_ENHANCEMENT_SETTINGS;
551
+ }
552
+ });
553
+ Object.defineProperty(exports, "DEFAULT_WORKSPACE_SESSION_ENHANCEMENT_SETTINGS", {
554
+ enumerable: true,
555
+ get: function() {
556
+ return DEFAULT_WORKSPACE_SESSION_ENHANCEMENT_SETTINGS;
557
+ }
558
+ });
559
+ Object.defineProperty(exports, "DSH_COMPATIBILITY", {
560
+ enumerable: true,
561
+ get: function() {
562
+ return DSH_COMPATIBILITY;
563
+ }
564
+ });
565
+ Object.defineProperty(exports, "DSH_VERSION", {
566
+ enumerable: true,
567
+ get: function() {
568
+ return DSH_VERSION;
569
+ }
570
+ });
571
+ Object.defineProperty(exports, "MOBILE_VIEWPORT_MAX_PX_LIMITS", {
572
+ enumerable: true,
573
+ get: function() {
574
+ return MOBILE_VIEWPORT_MAX_PX_LIMITS;
575
+ }
576
+ });
577
+ Object.defineProperty(exports, "SIDEBAR_GESTURE_DISTANCE_PERCENT_LIMITS", {
578
+ enumerable: true,
579
+ get: function() {
580
+ return SIDEBAR_GESTURE_DISTANCE_PERCENT_LIMITS;
581
+ }
582
+ });
583
+ Object.defineProperty(exports, "SUBAGENT_BRIDGE_MAX_CONCURRENT_LIMITS", {
584
+ enumerable: true,
585
+ get: function() {
586
+ return SUBAGENT_BRIDGE_MAX_CONCURRENT_LIMITS;
587
+ }
588
+ });
589
+ Object.defineProperty(exports, "SUBSCRIPTION_USAGE_REFRESH_INTERVAL_MINS_LIMITS", {
590
+ enumerable: true,
591
+ get: function() {
592
+ return SUBSCRIPTION_USAGE_REFRESH_INTERVAL_MINS_LIMITS;
593
+ }
594
+ });
595
+ Object.defineProperty(exports, "SUBSCRIPTION_USAGE_TIMEOUT_SECS_LIMITS", {
596
+ enumerable: true,
597
+ get: function() {
598
+ return SUBSCRIPTION_USAGE_TIMEOUT_SECS_LIMITS;
599
+ }
600
+ });
601
+ Object.defineProperty(exports, "captureRestartFeatureStates", {
602
+ enumerable: true,
603
+ get: function() {
604
+ return captureRestartFeatureStates;
605
+ }
606
+ });
607
+ Object.defineProperty(exports, "enabledFeatureNames", {
608
+ enumerable: true,
609
+ get: function() {
610
+ return enabledFeatureNames;
611
+ }
612
+ });
613
+ Object.defineProperty(exports, "isDshVersionCompatible", {
614
+ enumerable: true,
615
+ get: function() {
616
+ return isDshVersionCompatible;
617
+ }
618
+ });
619
+ Object.defineProperty(exports, "isFeatureDshVersionCompatible", {
620
+ enumerable: true,
621
+ get: function() {
622
+ return isFeatureDshVersionCompatible;
623
+ }
624
+ });
625
+ Object.defineProperty(exports, "isFeatureEnabled", {
626
+ enumerable: true,
627
+ get: function() {
628
+ return isFeatureEnabled;
629
+ }
630
+ });
631
+ Object.defineProperty(exports, "isLegacyDshVersion", {
632
+ enumerable: true,
633
+ get: function() {
634
+ return isLegacyDshVersion;
635
+ }
636
+ });
637
+ Object.defineProperty(exports, "minimumSupportedDshVersion", {
638
+ enumerable: true,
639
+ get: function() {
640
+ return minimumSupportedDshVersion;
641
+ }
642
+ });
643
+ Object.defineProperty(exports, "normalizeLanAccessDshPwaSettings", {
644
+ enumerable: true,
645
+ get: function() {
646
+ return normalizeLanAccessDshPwaSettings;
647
+ }
648
+ });
649
+ Object.defineProperty(exports, "normalizeMobileAccessSettings", {
650
+ enumerable: true,
651
+ get: function() {
652
+ return normalizeMobileAccessSettings;
653
+ }
654
+ });
655
+ Object.defineProperty(exports, "normalizeSubagentBridgeSettings", {
656
+ enumerable: true,
657
+ get: function() {
658
+ return normalizeSubagentBridgeSettings;
659
+ }
660
+ });
661
+ Object.defineProperty(exports, "normalizeSubscriptionUsageSettings", {
662
+ enumerable: true,
663
+ get: function() {
664
+ return normalizeSubscriptionUsageSettings;
665
+ }
666
+ });
667
+ Object.defineProperty(exports, "readNativeService", {
668
+ enumerable: true,
669
+ get: function() {
670
+ return readNativeService;
671
+ }
672
+ });
673
+ Object.defineProperty(exports, "readNativeWorkspaceListStore", {
674
+ enumerable: true,
675
+ get: function() {
676
+ return readNativeWorkspaceListStore;
677
+ }
678
+ });
679
+ Object.defineProperty(exports, "readNativeWorkspaceSnapshot", {
680
+ enumerable: true,
681
+ get: function() {
682
+ return readNativeWorkspaceSnapshot;
683
+ }
684
+ });
685
+ return module.exports;
686
+ }
687
+ });
688
+
689
+ //# sourceMappingURL=client.native-workspace-store.js.map