@songtonyli/dsh-cli 0.1.62 → 0.1.64

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 (326) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  4. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  5. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  6. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  7. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  8. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  9. package/node_modules/@deepseek-ai/dsh/package.json +117 -117
  10. package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
  11. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  12. package/node_modules/@deepseek-ai/dsh-agent/package.json +20 -20
  13. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  14. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +26 -26
  15. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +25 -25
  16. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
  17. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +34 -34
  18. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
  19. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  20. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
  21. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +13 -13
  22. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
  23. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +13 -13
  24. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1 -1
  25. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +42 -42
  26. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +72 -72
  27. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  28. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -20
  29. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
  30. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  31. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
  32. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  33. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  34. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  35. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  36. package/node_modules/@deepseek-ai/dsh-base/package.json +96 -96
  37. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  38. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  39. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  40. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  41. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  42. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  43. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
  44. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -13
  45. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +7 -7
  46. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +15 -15
  47. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -7
  48. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +11 -11
  49. package/node_modules/@deepseek-ai/dsh-client-store/package.json +3 -3
  50. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +19 -19
  51. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +15 -15
  52. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
  53. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
  54. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
  55. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -17
  56. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +36 -36
  57. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +15 -15
  58. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +30 -30
  59. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
  60. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
  61. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
  62. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -14
  63. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +12 -12
  64. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +11 -11
  65. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -18
  66. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +18 -18
  67. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +21 -21
  68. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -17
  69. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -22
  70. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +19 -19
  71. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +6 -6
  72. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
  73. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +4 -4
  74. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
  75. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -10
  76. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +9 -9
  77. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  78. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +19 -19
  79. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +11 -11
  80. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  81. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +16 -16
  82. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +14 -14
  83. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -14
  84. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +8 -8
  85. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +11 -11
  86. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +11 -11
  87. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +9 -9
  88. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +11 -11
  89. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +11 -11
  90. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +12 -12
  91. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  92. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +14 -14
  93. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +13 -13
  94. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  95. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +16 -16
  96. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +17 -17
  97. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +17 -17
  98. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
  99. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
  100. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
  101. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +14 -14
  102. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +27 -27
  103. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +19 -19
  104. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +23 -23
  105. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -16
  106. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
  107. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  108. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  109. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  110. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  111. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  112. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  113. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +26 -26
  114. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  115. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
  116. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  117. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
  118. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +21 -21
  119. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  120. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  121. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -9
  122. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  123. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  124. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  125. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +22 -22
  126. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +7 -7
  127. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  128. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +17 -14
  129. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +17 -7
  130. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +17 -7
  131. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +37 -3
  132. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +42 -41
  133. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +24 -24
  134. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +33 -33
  135. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +23 -23
  136. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +6 -6
  137. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +15 -15
  138. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  139. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  140. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
  141. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  142. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  143. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
  144. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  145. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +7 -7
  146. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  147. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  148. package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
  149. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  150. package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
  151. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  152. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  153. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
  154. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
  155. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
  156. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  157. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
  158. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  159. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  160. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  161. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  162. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  163. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
  164. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
  165. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
  166. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  167. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  168. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  169. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  170. package/node_modules/@deepseek-ai/dsh-llm/package.json +10 -10
  171. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
  172. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +44 -44
  173. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +14 -14
  174. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
  175. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +26 -26
  176. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +24 -24
  177. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
  178. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
  179. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  180. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  181. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
  182. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  183. package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
  184. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  185. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  186. package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +8 -8
  187. package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +4 -4
  188. package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +4 -4
  189. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +42 -4
  190. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +9 -2
  191. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +1 -1
  192. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +48 -4
  193. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +21 -21
  194. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  195. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
  196. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +33 -33
  197. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  198. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  199. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  200. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  201. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  202. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  203. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  204. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.i18n.yaml +2 -2
  205. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.md +1 -1
  206. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.zh.md +1 -1
  207. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +25 -25
  208. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  209. package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.i18n.yaml +2 -2
  210. package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.md +1 -1
  211. package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.zh.md +1 -1
  212. package/node_modules/@deepseek-ai/dsh-sandbox-policy/lib/index.js +16 -0
  213. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
  214. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  215. package/node_modules/@deepseek-ai/dsh-schedule/package.json +34 -34
  216. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  217. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +9 -9
  218. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
  219. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +29 -29
  220. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
  221. package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
  222. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
  223. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  224. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  225. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
  226. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  227. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  228. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  229. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
  230. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -25
  231. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  232. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  233. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
  234. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  235. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  236. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  237. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
  238. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  239. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  240. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
  241. package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
  242. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +18 -18
  243. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  244. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  245. package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
  246. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  247. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  248. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  249. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  250. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  251. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +8 -8
  252. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  253. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  254. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +33 -33
  255. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  256. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
  257. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  258. package/node_modules/@deepseek-ai/dsh-subagent/package.json +45 -45
  259. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  260. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +17 -17
  261. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +25 -25
  262. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +20 -20
  263. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  264. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  265. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
  266. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  267. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
  268. package/node_modules/@deepseek-ai/dsh-time-context/package.json +21 -21
  269. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  270. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  271. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  272. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +12 -12
  273. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
  274. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +24 -24
  275. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
  276. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +13 -1
  277. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +16 -16
  278. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +32 -32
  279. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +28 -28
  280. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  281. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
  282. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
  283. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
  284. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +25 -25
  285. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
  286. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +14 -14
  287. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
  288. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +22 -22
  289. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +28 -28
  290. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
  291. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +18 -18
  292. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +22 -22
  293. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +23 -23
  294. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +11 -11
  295. package/node_modules/@deepseek-ai/dsh-tools/package.json +25 -25
  296. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +12 -12
  297. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -9
  298. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -9
  299. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +427 -122
  300. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +81 -81
  301. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
  302. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  303. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  304. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +16 -16
  305. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  306. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  307. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  308. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  309. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  310. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  311. package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
  312. package/node_modules/@deepseek-ai/dsh-web-app/package.json +146 -146
  313. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
  314. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +18 -18
  315. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +18 -18
  316. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
  317. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
  318. package/node_modules/@deepseek-ai/dsh-webhook/package.json +23 -23
  319. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
  320. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  321. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  322. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
  323. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  324. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
  325. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  326. package/package.json +291 -291
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-message-feedback",
3
3
  "description": "Canonical Session-log ratings and notes for finalized assistant messages",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -44,28 +44,28 @@
44
44
  ],
45
45
  "license": "MIT",
46
46
  "peerDependencies": {
47
- "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
48
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
49
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
50
- "@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
51
- "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
52
- "@deepseek-ai/cordis": "4.0.4",
53
- "@deepseek-ai/dsh-command-feedback": "0.2.0-rc.2"
47
+ "@deepseek-ai/dsh-brand": "0.2.1-alpha.1",
48
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
49
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1",
50
+ "@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.1",
51
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.1",
52
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
53
+ "@deepseek-ai/dsh-command-feedback": "0.2.1-alpha.1"
54
54
  },
55
55
  "dependencies": {
56
- "@deepseek-ai/schemastery": "3.18.4",
56
+ "@deepseek-ai/schemastery": "3.18.5-alpha.1",
57
57
  "zod": "^4.4.3"
58
58
  },
59
59
  "devDependencies": {
60
- "@deepseek-ai/cordis-plugin-include": "1.0.9",
61
- "@deepseek-ai/cordis-plugin-loader": "1.0.5",
62
- "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
63
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
64
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
65
- "@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
66
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.0-rc.2",
67
- "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
68
- "@deepseek-ai/cordis": "4.0.4",
69
- "@deepseek-ai/dsh-command-feedback": "0.2.0-rc.2"
60
+ "@deepseek-ai/cordis-plugin-include": "1.0.10-alpha.1",
61
+ "@deepseek-ai/cordis-plugin-loader": "1.0.6-alpha.1",
62
+ "@deepseek-ai/dsh-brand": "0.2.1-alpha.1",
63
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
64
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1",
65
+ "@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.1",
66
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-alpha.1",
67
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.1",
68
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
69
+ "@deepseek-ai/dsh-command-feedback": "0.2.1-alpha.1"
70
70
  }
71
71
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-native-command",
3
3
  "description": "Host-native command and path-opening utilities with shell-free execution, cancellation, desktop detection, and WSL handoff",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,13 +32,13 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
- "@deepseek-ai/dsh-subprocess": "0.2.0-rc.2",
35
+ "@deepseek-ai/dsh-subprocess": "0.2.1-alpha.1",
36
36
  "open": "^11.0.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@deepseek-ai/cordis": "4.0.4"
39
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@deepseek-ai/cordis": "4.0.4"
42
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
43
43
  }
44
44
  }
@@ -27,24 +27,24 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@deepseek-ai/schemastery": "3.18.4"
30
+ "@deepseek-ai/schemastery": "3.18.5-alpha.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
34
- "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
35
- "@deepseek-ai/cordis": "4.0.4"
33
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.1",
34
+ "@deepseek-ai/dsh-tools": "0.2.1-alpha.1",
35
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
39
- "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.2",
40
- "@deepseek-ai/dsh-goal": "0.2.0-rc.2",
41
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
42
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
43
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
44
- "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
45
- "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
46
- "@deepseek-ai/cordis": "4.0.4",
47
- "@deepseek-ai/cordis-plugin-include": "1.0.9",
48
- "@deepseek-ai/cordis-plugin-loader": "1.0.5"
38
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.1",
39
+ "@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.1",
40
+ "@deepseek-ai/dsh-goal": "0.2.1-alpha.1",
41
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.1",
42
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1",
43
+ "@deepseek-ai/dsh-session-projection": "0.2.1-alpha.1",
44
+ "@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.1",
45
+ "@deepseek-ai/dsh-tools": "0.2.1-alpha.1",
46
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
47
+ "@deepseek-ai/cordis-plugin-include": "1.0.10-alpha.1",
48
+ "@deepseek-ai/cordis-plugin-loader": "1.0.6-alpha.1"
49
49
  }
50
50
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-office-to-pdf",
3
3
  "description": "Shared Office-to-PDF conversion with bounded queues and caching",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -44,21 +44,21 @@
44
44
  "lib/typert.remote-client.d.ts"
45
45
  ],
46
46
  "peerDependencies": {
47
- "@deepseek-ai/cordis": "4.0.4"
47
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@deepseek-ai/cordis": "4.0.4",
51
- "@deepseek-ai/cordis-plugin-loader": "1.0.5",
52
- "@deepseek-ai/cordis-plugin-include": "1.0.9",
53
- "@deepseek-ai/dsh-api-workspace-files": "0.2.0-rc.2",
54
- "@deepseek-ai/dsh-fs": "0.2.0-rc.2",
55
- "@deepseek-ai/dsh-session": "0.2.0-rc.2"
50
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
51
+ "@deepseek-ai/cordis-plugin-loader": "1.0.6-alpha.1",
52
+ "@deepseek-ai/cordis-plugin-include": "1.0.10-alpha.1",
53
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.1-alpha.1",
54
+ "@deepseek-ai/dsh-fs": "0.2.1-alpha.1",
55
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1"
56
56
  },
57
57
  "dependencies": {
58
58
  "@deepseek-ai/libreoffice-kit": "^0.1.5",
59
- "@deepseek-ai/schemastery": "3.18.4",
60
- "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
61
- "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
59
+ "@deepseek-ai/schemastery": "3.18.5-alpha.1",
60
+ "@deepseek-ai/dsh-brand": "0.2.1-alpha.1",
61
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.1",
62
62
  "zod": "^4.4.3"
63
63
  }
64
64
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-otel",
3
3
  "description": "Cordis service for independent ordinary-event and byte-bounded Session-log OTLP channels",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,11 +37,11 @@
37
37
  "got": "^14.6.6"
38
38
  },
39
39
  "peerDependencies": {
40
- "@deepseek-ai/cordis": "4.0.4",
41
- "@deepseek-ai/dsh-session": "0.2.0-rc.2"
40
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
41
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@deepseek-ai/cordis": "4.0.4",
45
- "@deepseek-ai/dsh-session": "0.2.0-rc.2"
44
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
45
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1"
46
46
  }
47
47
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-output-retention",
3
3
  "description": "Zero-dependency bounded-retention primitive: ItemRetainer/TextRetainer + neutral notice helpers (what did we keep, what did we omit)",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "4.0.4"
30
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@deepseek-ai/cordis": "4.0.4"
33
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
34
34
  }
35
35
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-package-manifest",
3
3
  "description": "Shared type declarations for package.json.dsh configuration fields",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "4.0.4"
30
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@deepseek-ai/cordis": "4.0.4"
33
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
34
34
  }
35
35
  }
@@ -21,11 +21,11 @@
21
21
  en: 3b3fe69be228870a
22
22
  zh: af3f146f86615ad4
23
23
  /deepseek-ai-dsh-permission-presets/use-this-package/switching-presets:
24
- en: ede3169d799a7578
25
- zh: cb88e3ade597e486
24
+ en: 3004d00a18c56e0c
25
+ zh: 9d6d536017a85b50
26
26
  /deepseek-ai-dsh-permission-presets/use-this-package/what-users-see:
27
- en: 628a5bdd956e206c
28
- zh: 172be9a9748d65ce
27
+ en: d7a2005199968758
28
+ zh: 05141e093c4d05e0
29
29
  /deepseek-ai-dsh-permission-presets/use-this-package/session-defaults:
30
30
  en: 88218998b169a203
31
31
  zh: 7a3646ff0ca28549
@@ -36,11 +36,11 @@
36
36
  en: 172f5c8af5705ada
37
37
  zh: b424834e38adb25d
38
38
  /deepseek-ai-dsh-permission-presets/understand-the-implementation/write-path:
39
- en: b01849a5fa73aae9
40
- zh: cbd7fcf50117502b
39
+ en: 795fbc41a089f6fe
40
+ zh: f239cc3e060d44f1
41
41
  /deepseek-ai-dsh-permission-presets/understand-the-implementation/read-side-and-custom:
42
- en: c9ca792038f44654
43
- zh: 83cc2641c800c114
42
+ en: 92b52102237657ac
43
+ zh: f2e2c091ef82cdd9
44
44
  /deepseek-ai-dsh-permission-presets/understand-the-implementation/session-pinning-and-blank-reuse:
45
45
  en: 893cea88bce22903
46
46
  zh: 2431e19ced670511
@@ -53,11 +53,11 @@ The generated [configuration catalog](../../../docs/config-catalog.md#deepseek-a
53
53
 
54
54
  ### Switching presets
55
55
 
56
- Switching to Auto first runs its synchronous admission check; every preset switch then changes only the knobs whose effective value differs, and selecting the preset already in effect changes nothing. The current value resolves as the still-matching last recorded selection, including a recorded Auto selection under the `never` approval policy, else the first matching configured entry, else `custom`. Users switch through the `/permission` command: a bare invocation reports the current preset and every available entry, and a preset argument switches to it.
56
+ Switching to Auto first runs its synchronous admission check; every preset switch then changes only the knobs whose effective value differs, and selecting the preset already in effect changes nothing. The current value resolves as the still-matching last recorded selection, including a recorded Auto selection under either approval policy and either sandbox value Auto writes, else the first matching configured entry, else `custom`. Users switch through the `/permission` command: a bare invocation reports the current preset and every available entry, and a preset argument switches to it.
57
57
 
58
58
  ### What users see
59
59
 
60
- Clients render selectable entries from the process catalog: configured presets in table order followed by Auto while its integration is live. They join that snapshot with the Session's current value; an unmatched `custom` value may label the current control but never appears as a selectable catalog row. Auto's identity and knob bundle, Full access sandbox with the `ask` approval policy, are fixed inside this service; a recorded Auto selection also matches the `never` policy that delegated children pin. The shipped client locale dictionaries own Auto's label and description, while configured presets retain Host-supplied presentation. Callers cannot publish another preset through a generic contribution API, and they can switch away from `custom` but cannot select or persist a named custom preset through this service.
60
+ Clients render selectable entries from the process catalog: configured presets in table order followed by Auto while its integration is live. They join that snapshot with the Session's current value; an unmatched `custom` value may label the current control but never appears as a selectable catalog row. Auto's identity and knob bundle are fixed inside this service: the `ask` approval policy with the Full access sandbox, or with `workspace-write` while the session's sandbox backend also confines reads, so Auto keeps the Apple container. A recorded Auto selection also matches either sandbox value and the `never` policy that delegated children pin. The shipped client locale dictionaries own Auto's label and description, while configured presets retain Host-supplied presentation. Callers cannot publish another preset through a generic contribution API, and they can switch away from `custom` but cannot select or persist a named custom preset through this service.
61
61
 
62
62
  ### Session defaults
63
63
 
@@ -82,11 +82,11 @@ The observable behavior is covered in [Use this package](#use-this-package); thi
82
82
 
83
83
  ### Write path
84
84
 
85
- `set()` resolves the preset and synchronously runs Auto admission when applicable. Transitions append `permission/preset` only when the effective preset changes, then write each changed knob through its canonical setter — `setSandboxMode` from `dsh-sandbox-policy` and `setApprovalPolicy` from `dsh-user-approval`. The selection event therefore preserves user intent when two presets share a bundle. Switching between Auto and Full access records the new identity and the changed approval policy. A net-zero selection appends nothing.
85
+ `set()` resolves the preset and synchronously runs Auto admission when applicable. For Auto it resolves the sandbox value from `ctx.sandboxPolicy.confinesReads(session)`: `workspace-write` on a backend that confines reads, otherwise `danger-full-access`. The value is logged like any knob, so a backend switch never rewrites it and selecting Auto again resolves it anew. Transitions append `permission/preset` only when the effective preset changes, then write each changed knob through its canonical setter — `setSandboxMode` from `dsh-sandbox-policy` and `setApprovalPolicy` from `dsh-user-approval`. The selection event therefore preserves user intent when two presets share a bundle. Switching between Auto and Full access records the new identity and the changed approval policy, and also the sandbox mode when the session's backend confines reads. A net-zero selection appends nothing. `confineAuto(session)` is the one other write: it narrows an Auto session that still has `danger-full-access` to `workspace-write` when its backend confines reads, appending only `sandbox/mode`. It never widens a confined session and leaves the identity and the approval policy a delegated child pins unchanged.
86
86
 
87
87
  ### Read side and `custom`
88
88
 
89
- `current(session)` reads the required `permissions` projection, whose unit folds the three whole-value knob events over the composition defaults (`ctx.shell.sandboxMode` and the approval config). The host state also retains whether `session/end-seed` has occurred, so session pinning distinguishes an explicitly empty restored seed from a genuinely fresh session without rescanning the log. A still-matching last selection wins shared-bundle ties, and a recorded Auto selection also matches the `never` approval policy; otherwise the first configured match wins; otherwise the derived `CUSTOM_PRESET` is returned. A missing projection key fails explicitly.
89
+ `current(session)` reads the required `permissions` projection, whose unit folds the three whole-value knob events over the composition defaults (`ctx.shell.sandboxMode` and the approval config). The host state also retains whether `session/end-seed` has occurred, so session pinning distinguishes an explicitly empty restored seed from a genuinely fresh session without rescanning the log. A still-matching last selection wins shared-bundle ties, and a recorded Auto selection also matches either approval policy and either sandbox value Auto writes; otherwise the first configured match wins; otherwise the derived `CUSTOM_PRESET` is returned. A missing projection key fails explicitly.
90
90
 
91
91
  `optionOf(name)` returns a configured entry, the live Auto entry, or the display-only `custom` entry. It throws only when the name matches none of those; a withdrawn Auto entry is unavailable.
92
92
 
@@ -53,11 +53,11 @@ kind: "package-reference"
53
53
 
54
54
  ### 切换预设
55
55
 
56
- 切换到 Auto 时,服务先同步执行其准入检查;每次预设切换随后只改变实际值不同的旋钮,再次选择当前已生效的预设不会产生任何变化。当前值解析顺序为:仍匹配的最近一次记录选择(已记录的 Auto 选择在 `never` 审批策略下也匹配),其次是配置表中的第一个匹配项,否则为 `custom`。用户通过 `/permission` 命令切换:不带参数调用时报告当前预设与所有可用条目,带预设参数时切换过去。
56
+ 切换到 Auto 时,服务先同步执行其准入检查;每次预设切换随后只改变实际值不同的旋钮,再次选择当前已生效的预设不会产生任何变化。当前值解析顺序为:仍匹配的最近一次记录选择(已记录的 Auto 选择在任一审批策略、且沙箱值为 Auto 会写入的两种之一时也匹配),其次是配置表中的第一个匹配项,否则为 `custom`。用户通过 `/permission` 命令切换:不带参数调用时报告当前预设与所有可用条目,带预设参数时切换过去。
57
57
 
58
58
  ### 用户看到什么
59
59
 
60
- 客户端从进程级目录渲染可选条目:先按表顺序列出配置预设,再在 Auto integration 存活时列出 Auto。客户端把这份快照与 Session 当前值合并;不匹配的 `custom` 值可以标记当前控件,但绝不会成为可选目录行。Auto 的身份与旋钮组合(Full access 沙箱加 `ask` 审批策略)固定在本服务内部;已记录的 Auto 选择也匹配委派子会话固定的 `never` 策略。shipped 客户端的 locale 字典拥有 Auto 的 label 与 description,而配置预设保留 Host 提供的展示信息。调用方不能通过通用 contribution API 发布其他预设;他们可以从 `custom` 切换出去,但不能通过此服务选中或持久化一个具名 custom 预设。
60
+ 客户端从进程级目录渲染可选条目:先按表顺序列出配置预设,再在 Auto integration 存活时列出 Auto。客户端把这份快照与 Session 当前值合并;不匹配的 `custom` 值可以标记当前控件,但绝不会成为可选目录行。Auto 的身份与旋钮组合固定在本服务内部:`ask` 审批策略搭配 Full access 沙箱,当会话的沙箱后端同时限制读取时则搭配 `workspace-write`,因此 Auto 会保留 Apple container。已记录的 Auto 选择也匹配这两种沙箱值,以及委派子会话固定的 `never` 策略。shipped 客户端的 locale 字典拥有 Auto 的 label 与 description,而配置预设保留 Host 提供的展示信息。调用方不能通过通用 contribution API 发布其他预设;他们可以从 `custom` 切换出去,但不能通过此服务选中或持久化一个具名 custom 预设。
61
61
 
62
62
  ### 会话默认值
63
63
 
@@ -82,11 +82,11 @@ kind: "package-reference"
82
82
 
83
83
  ### 写入路径
84
84
 
85
- `set()` 解析预设,并在适用时同步执行 Auto 准入检查。切换仅在有效预设变化时追加 `permission/preset`,再通过各自的权威 setter——`dsh-sandbox-policy` 的 `setSandboxMode` 与 `dsh-user-approval` 的 `setApprovalPolicy`——写入每个变化的旋钮。因此,两个预设共享同一组取值时,选择事件仍会保留用户意图。Auto 与 Full access 之间切换时,记录新的身份与变化的审批策略。净变化为零的选择不追加任何内容。
85
+ `set()` 解析预设,并在适用时同步执行 Auto 准入检查。对于 Auto,它根据 `ctx.sandboxPolicy.confinesReads(session)` 解析沙箱值:后端限制读取时为 `workspace-write`,否则为 `danger-full-access`。该值像任何旋钮一样写入日志,因此切换后端不会改写它,再次选择 Auto 会重新解析。切换仅在有效预设变化时追加 `permission/preset`,再通过各自的权威 setter——`dsh-sandbox-policy` 的 `setSandboxMode` 与 `dsh-user-approval` 的 `setApprovalPolicy`——写入每个变化的旋钮。因此,两个预设共享同一组取值时,选择事件仍会保留用户意图。Auto 与 Full access 之间切换时,记录新的身份与变化的审批策略,会话的后端限制读取时还会记录沙箱模式。净变化为零的选择不追加任何内容。`confineAuto(session)` 是另一个写入入口:当后端限制读取时,它把仍为 `danger-full-access` 的 Auto 会话收窄为 `workspace-write`,只追加 `sandbox/mode`。它绝不放宽已受限的会话,并保持身份以及委派子会话所固定的审批策略不变。
86
86
 
87
87
  ### 读取侧与 `custom`
88
88
 
89
- `current(session)` 读取必需的 `permissions` 投影;该单元在组合默认值(`ctx.shell.sandboxMode` 与审批配置)之上折叠三个全量值旋钮事件。host 状态还会保留 `session/end-seed` 是否已经出现,使会话固定无需重扫日志即可区分显式为空的恢复 seed 与真正的新会话。仍匹配的最近选择在共享捆绑时胜出,已记录的 Auto 选择在 `never` 审批策略下也匹配;否则配置表中的第一个匹配项胜出;否则返回推导出的 `CUSTOM_PRESET`。投影 key 缺失时会显式失败。
89
+ `current(session)` 读取必需的 `permissions` 投影;该单元在组合默认值(`ctx.shell.sandboxMode` 与审批配置)之上折叠三个全量值旋钮事件。host 状态还会保留 `session/end-seed` 是否已经出现,使会话固定无需重扫日志即可区分显式为空的恢复 seed 与真正的新会话。仍匹配的最近选择在共享捆绑时胜出,已记录的 Auto 选择在任一审批策略、且沙箱值为 Auto 会写入的两种之一时也匹配;否则配置表中的第一个匹配项胜出;否则返回推导出的 `CUSTOM_PRESET`。投影 key 缺失时会显式失败。
90
90
 
91
91
  `optionOf(name)` 返回配置条目、存活的 Auto 条目或仅供显示的 `custom` 条目。只有名称不匹配这三者时才抛错;已撤回的 Auto 条目不可用。
92
92
 
@@ -53,12 +53,21 @@ const AUTO_PRESET = "auto";
53
53
  /**
54
54
  * Fixed execution bundle for the live Auto integration. `ask` routes reviewer
55
55
  * denials to the user; a stored Auto identity also matches `never`, which a
56
- * delegated child pins so its reviewer denials stay final.
56
+ * delegated child pins so its reviewer denials stay final. `sandbox` applies
57
+ * unless the session's backend confines reads, which keeps
58
+ * {@link CONFINED_AUTO_SANDBOX}.
57
59
  */
58
60
  const AUTO_PRESET_SPEC = {
59
61
  sandbox: "danger-full-access",
60
62
  approval: "ask"
61
63
  };
64
+ /**
65
+ * The sandbox mode Auto writes while the session's backend also confines
66
+ * reads (see `SandboxPolicyService.confinesReads`): the backend keeps
67
+ * confining commands and the review gate replaces the approval prompts for
68
+ * leaving it.
69
+ */
70
+ const CONFINED_AUTO_SANDBOX = "workspace-write";
62
71
  const permissionStateSchema = z$1.object({
63
72
  preset: z$1.string().nullable(),
64
73
  sandbox: z$1.union([
@@ -299,7 +308,7 @@ let PermissionPresetService = (() => {
299
308
  if (state.preset !== null) {
300
309
  const spec = this.specOf(state.preset);
301
310
  if (spec !== void 0 && matches(spec)) return state.preset;
302
- if (state.preset === "auto" && spec?.sandbox === sandbox && approval === "never") return AUTO_PRESET;
311
+ if (state.preset === "auto" && spec !== void 0 && (sandbox === AUTO_PRESET_SPEC.sandbox || sandbox === CONFINED_AUTO_SANDBOX)) return AUTO_PRESET;
303
312
  }
304
313
  for (const [name, spec] of Object.entries(this.presets)) if (matches(spec)) return name;
305
314
  return CUSTOM_PRESET;
@@ -307,7 +316,9 @@ let PermissionPresetService = (() => {
307
316
  /**
308
317
  * Resolve an available preset's knob bundle.
309
318
  * @param name - the preset name to resolve.
310
- * @returns the configured bundle.
319
+ * @returns the configured bundle; for Auto, the bundle of a session whose
320
+ * backend does not confine reads. `set` writes `workspace-write` instead
321
+ * for a session whose backend confines reads.
311
322
  * @throws when `name` is neither configured nor the currently live Auto preset.
312
323
  */
313
324
  resolve(name) {
@@ -346,9 +357,36 @@ let PermissionPresetService = (() => {
346
357
  setApprovalPolicy(session, policy);
347
358
  });
348
359
  }
360
+ /**
361
+ * Narrow an Auto session that still has full access to the confined mode its
362
+ * backend keeps: a Session recorded before Auto kept the container, or one
363
+ * whose backend switched to it afterwards. Writes only the sandbox mode, so
364
+ * the preset identity and the approval policy a delegated child pins stay as
365
+ * they are. Never widens a confined session.
366
+ * @param session - the session to narrow.
367
+ * @returns whether the session's sandbox mode changed.
368
+ */
369
+ confineAuto(session) {
370
+ if (this.current(session) !== "auto") return false;
371
+ if ((this.permissionState(session).sandbox ?? this.ctx.shell.sandboxMode) !== AUTO_PRESET_SPEC.sandbox || this.autoSandbox(session) !== CONFINED_AUTO_SANDBOX) return false;
372
+ setSandboxMode(session, CONFINED_AUTO_SANDBOX);
373
+ return true;
374
+ }
375
+ /**
376
+ * The sandbox mode an Auto selection writes for `session`: the confined mode
377
+ * while its backend also confines reads, otherwise full access. The mode is
378
+ * logged like any preset knob, so a later backend switch never rewrites it.
379
+ */
380
+ autoSandbox(session) {
381
+ return this.ctx.get("sandboxPolicy")?.confinesReads(session) === true ? CONFINED_AUTO_SANDBOX : AUTO_PRESET_SPEC.sandbox;
382
+ }
349
383
  /** Apply one preset through its durable identity and canonical knob setters. */
350
384
  apply(session, name, setApproval) {
351
- const spec = this.resolve(name);
385
+ const resolved = this.resolve(name);
386
+ const spec = name === "auto" ? {
387
+ ...resolved,
388
+ sandbox: this.autoSandbox(session)
389
+ } : resolved;
352
390
  if (name === "auto") this.autoAdmit?.();
353
391
  const current = this.current(session);
354
392
  const knobs = this.permissionState(session);
@@ -35,7 +35,7 @@ export const TYPERT = {
35
35
  typeSymbol: '@deepseek-ai/dsh-permission-presets/client#PermissionCatalog',
36
36
  create: _deepseek_ai_dsh_permission_presets_permissionPresets_catalog_result$schema,
37
37
  },
38
- sourceLocation: {"file":"packages/interaction/permission-presets/src/index.ts","line":293,"column":3},
38
+ sourceLocation: {"file":"packages/interaction/permission-presets/src/index.ts","line":305,"column":3},
39
39
  },
40
40
  ],
41
41
  model: {
@@ -88,7 +88,7 @@ export const TYPERT = {
88
88
  "name": "resolve",
89
89
  "signature": "resolve(name: string): PresetSpec",
90
90
  "summary": "Resolve an available preset's knob bundle.",
91
- "jsDoc": "/**\n * Resolve an available preset's knob bundle.\n * @param name - the preset name to resolve.\n * @returns the configured bundle.\n * @throws when `name` is neither configured nor the currently live Auto preset.\n */"
91
+ "jsDoc": "/**\n * Resolve an available preset's knob bundle.\n * @param name - the preset name to resolve.\n * @returns the configured bundle; for Auto, the bundle of a session whose\n * backend does not confine reads. `set` writes `workspace-write` instead\n * for a session whose backend confines reads.\n * @throws when `name` is neither configured nor the currently live Auto preset.\n */"
92
92
  },
93
93
  {
94
94
  "kind": "method",
@@ -103,6 +103,13 @@ export const TYPERT = {
103
103
  "signature": "set(session: Session, name: string): void",
104
104
  "summary": "Record a changed preset, then update each changed knob through its own setter.",
105
105
  "jsDoc": "/**\n * Record a changed preset, then update each changed knob through its own\n * setter. Selecting the effective preset again appends nothing.\n * @param session - the session the switch belongs to.\n * @param name - the preset to switch to; unknown names throw.\n */"
106
+ },
107
+ {
108
+ "kind": "method",
109
+ "name": "confineAuto",
110
+ "signature": "confineAuto(session: Session): boolean",
111
+ "summary": "Narrow an Auto session that still has full access to the confined mode its backend keeps: a Session recorded before Auto kept the container, or one whose backend switched to it afterwards.",
112
+ "jsDoc": "/**\n * Narrow an Auto session that still has full access to the confined mode its\n * backend keeps: a Session recorded before Auto kept the container, or one\n * whose backend switched to it afterwards. Writes only the sandbox mode, so\n * the preset identity and the approval policy a delegated child pins stay as\n * they are. Never widens a confined session.\n * @param session - the session to narrow.\n * @returns whether the session's sandbox mode changed.\n */"
106
113
  }
107
114
  ],
108
115
  "types": [
@@ -32,7 +32,7 @@ export const TYPERT_REMOTE = {
32
32
  typeSymbol: '@deepseek-ai/dsh-permission-presets/client#PermissionCatalog',
33
33
  create: _deepseek_ai_dsh_permission_presets_permissionPresets_catalog_result$schema,
34
34
  },
35
- sourceLocation: {"file":"packages/interaction/permission-presets/src/index.ts","line":293,"column":3},
35
+ sourceLocation: {"file":"packages/interaction/permission-presets/src/index.ts","line":305,"column":3},
36
36
  },
37
37
  ],
38
38
  }
@@ -48,12 +48,21 @@ export const AUTO_PRESET = 'auto';
48
48
  /**
49
49
  * Fixed execution bundle for the live Auto integration. `ask` routes reviewer
50
50
  * denials to the user; a stored Auto identity also matches `never`, which a
51
- * delegated child pins so its reviewer denials stay final.
51
+ * delegated child pins so its reviewer denials stay final. `sandbox` applies
52
+ * unless the session's backend confines reads, which keeps
53
+ * {@link CONFINED_AUTO_SANDBOX}.
52
54
  */
53
55
  const AUTO_PRESET_SPEC = {
54
56
  sandbox: 'danger-full-access',
55
57
  approval: 'ask',
56
58
  };
59
+ /**
60
+ * The sandbox mode Auto writes while the session's backend also confines
61
+ * reads (see `SandboxPolicyService.confinesReads`): the backend keeps
62
+ * confining commands and the review gate replaces the approval prompts for
63
+ * leaving it.
64
+ */
65
+ const CONFINED_AUTO_SANDBOX = 'workspace-write';
57
66
  const permissionStateSchema = zod.object({
58
67
  preset: zod.string().nullable(),
59
68
  sandbox: zod.union([
@@ -268,7 +277,11 @@ let PermissionPresetService = (() => {
268
277
  const spec = this.specOf(state.preset);
269
278
  if (spec !== undefined && matches(spec))
270
279
  return state.preset;
271
- if (state.preset === AUTO_PRESET && spec?.sandbox === sandbox && approval === 'never')
280
+ // A stored Auto selection keeps its identity under either approval policy
281
+ // and either sandbox mode it can write, so a session recorded before Auto
282
+ // kept the container still resolves to Auto and its review gate.
283
+ if (state.preset === AUTO_PRESET && spec !== undefined
284
+ && (sandbox === AUTO_PRESET_SPEC.sandbox || sandbox === CONFINED_AUTO_SANDBOX))
272
285
  return AUTO_PRESET;
273
286
  }
274
287
  for (const [name, spec] of Object.entries(this.presets)) {
@@ -280,7 +293,9 @@ let PermissionPresetService = (() => {
280
293
  /**
281
294
  * Resolve an available preset's knob bundle.
282
295
  * @param name - the preset name to resolve.
283
- * @returns the configured bundle.
296
+ * @returns the configured bundle; for Auto, the bundle of a session whose
297
+ * backend does not confine reads. `set` writes `workspace-write` instead
298
+ * for a session whose backend confines reads.
284
299
  * @throws when `name` is neither configured nor the currently live Auto preset.
285
300
  */
286
301
  resolve(name) {
@@ -313,9 +328,38 @@ let PermissionPresetService = (() => {
313
328
  set(session, name) {
314
329
  this.apply(session, name, (policy) => { setApprovalPolicy(session, policy); });
315
330
  }
331
+ /**
332
+ * Narrow an Auto session that still has full access to the confined mode its
333
+ * backend keeps: a Session recorded before Auto kept the container, or one
334
+ * whose backend switched to it afterwards. Writes only the sandbox mode, so
335
+ * the preset identity and the approval policy a delegated child pins stay as
336
+ * they are. Never widens a confined session.
337
+ * @param session - the session to narrow.
338
+ * @returns whether the session's sandbox mode changed.
339
+ */
340
+ confineAuto(session) {
341
+ if (this.current(session) !== AUTO_PRESET)
342
+ return false;
343
+ const standing = this.permissionState(session).sandbox ?? this.ctx.shell.sandboxMode;
344
+ if (standing !== AUTO_PRESET_SPEC.sandbox || this.autoSandbox(session) !== CONFINED_AUTO_SANDBOX)
345
+ return false;
346
+ setSandboxMode(session, CONFINED_AUTO_SANDBOX);
347
+ return true;
348
+ }
349
+ /**
350
+ * The sandbox mode an Auto selection writes for `session`: the confined mode
351
+ * while its backend also confines reads, otherwise full access. The mode is
352
+ * logged like any preset knob, so a later backend switch never rewrites it.
353
+ */
354
+ autoSandbox(session) {
355
+ return this.ctx.get('sandboxPolicy')?.confinesReads(session) === true
356
+ ? CONFINED_AUTO_SANDBOX
357
+ : AUTO_PRESET_SPEC.sandbox;
358
+ }
316
359
  /** Apply one preset through its durable identity and canonical knob setters. */
317
360
  apply(session, name, setApproval) {
318
- const spec = this.resolve(name);
361
+ const resolved = this.resolve(name);
362
+ const spec = name === AUTO_PRESET ? { ...resolved, sandbox: this.autoSandbox(session) } : resolved;
319
363
  if (name === AUTO_PRESET)
320
364
  this.autoAdmit?.();
321
365
  const current = this.current(session);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-permission-presets",
3
3
  "description": "User-facing permission presets (ctx.permissionPresets) for the DeepSeek Harness: one product-level Permissions select bundling the sandbox-mode and approval-policy knobs, written through to their own session events",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -48,30 +48,30 @@
48
48
  ],
49
49
  "license": "MIT",
50
50
  "peerDependencies": {
51
- "@deepseek-ai/dsh-shell": "0.2.0-rc.2",
52
- "@deepseek-ai/dsh-commands": "0.2.0-rc.2",
53
- "@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
54
- "@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.2",
55
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
56
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
57
- "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
58
- "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2",
59
- "@deepseek-ai/cordis": "4.0.4"
51
+ "@deepseek-ai/dsh-shell": "0.2.1-alpha.1",
52
+ "@deepseek-ai/dsh-commands": "0.2.1-alpha.1",
53
+ "@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
54
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.1",
55
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1",
56
+ "@deepseek-ai/dsh-session-projection": "0.2.1-alpha.1",
57
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.1",
58
+ "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.1",
59
+ "@deepseek-ai/cordis": "4.0.5-alpha.1"
60
60
  },
61
61
  "dependencies": {
62
- "@deepseek-ai/schemastery": "3.18.4",
62
+ "@deepseek-ai/schemastery": "3.18.5-alpha.1",
63
63
  "zod": "^4.4.3"
64
64
  },
65
65
  "devDependencies": {
66
- "@deepseek-ai/dsh-shell": "0.2.0-rc.2",
67
- "@deepseek-ai/dsh-commands": "0.2.0-rc.2",
68
- "@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
69
- "@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.2",
70
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
71
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
72
- "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
73
- "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2",
74
- "@deepseek-ai/cordis": "4.0.4",
75
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2"
66
+ "@deepseek-ai/dsh-shell": "0.2.1-alpha.1",
67
+ "@deepseek-ai/dsh-commands": "0.2.1-alpha.1",
68
+ "@deepseek-ai/dsh-sandbox": "0.2.1-alpha.1",
69
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.1",
70
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1",
71
+ "@deepseek-ai/dsh-session-projection": "0.2.1-alpha.1",
72
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.1",
73
+ "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.1",
74
+ "@deepseek-ai/cordis": "4.0.5-alpha.1",
75
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.1"
76
76
  }
77
77
  }