@qwen-code/web-shell 0.25.2 → 0.25.3-nightly.20261019.5dcf7c7cb1

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 (359) hide show
  1. package/NOTICES.txt +32 -0
  2. package/README.md +73 -12
  3. package/dist/{PierreFilePreview-Dk1ZVwYX.js → PierreFilePreview-CsF32JVG.js} +3218 -5181
  4. package/dist/{SpreadsheetPreview-Cfub7Cau.js → SpreadsheetPreview-uDzDLu9O.js} +2 -2
  5. package/dist/WorkspaceFileBrowser-2YqZ92IA.js +9102 -0
  6. package/dist/{agents-route-By3UwziU.js → agents-route-BmGvUI5C.js} +2 -2
  7. package/dist/{cpp-Bb6c2fiE.js → cpp-C0xArK63.js} +12 -8
  8. package/dist/daemon-react-sdk.js +1 -1
  9. package/dist/{index-1CTTJPhC.js → index-D32mpgOf.js} +54735 -51390
  10. package/dist/index.js +22 -22
  11. package/dist/ruby-vDzP41xB.js +41 -0
  12. package/dist/sw.js +1 -1
  13. package/dist/transcript.js +8136 -7937
  14. package/dist/types/App.d.ts +6 -2
  15. package/dist/types/adapters/messageTypes.d.ts +1 -0
  16. package/dist/types/components/ChatContextHeader.d.ts +3 -1
  17. package/dist/types/components/ChatEditor.d.ts +7 -0
  18. package/dist/types/components/ChatPane.d.ts +2 -1
  19. package/dist/types/components/ContextUsagePopover.d.ts +2 -1
  20. package/dist/types/components/SplitView.d.ts +2 -1
  21. package/dist/types/components/StreamingStatus.d.ts +2 -1
  22. package/dist/types/components/artifacts/ArtifactPanel.d.ts +6 -1
  23. package/dist/types/components/artifacts/CodeReviewArtifactDetail.d.ts +5 -0
  24. package/dist/types/components/artifacts/TrajectoryExecutions.d.ts +9 -0
  25. package/dist/types/components/artifacts/TrajectoryInspector.d.ts +5 -1
  26. package/dist/types/components/artifacts/file-name-display.d.ts +1 -0
  27. package/dist/types/components/artifacts/files-messages.d.ts +30 -0
  28. package/dist/types/components/artifacts/useArtifactWorkspaceTarget.d.ts +6 -2
  29. package/dist/types/components/dialogs/AddWorkspaceDialog.d.ts +3 -1
  30. package/dist/types/components/dialogs/ApprovalModeDialog.d.ts +3 -1
  31. package/dist/types/components/managed/ManagedSessionsPage.d.ts +4 -1
  32. package/dist/types/components/managed/RemoteWorkspaceRegistration.d.ts +9 -0
  33. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +2 -1
  34. package/dist/types/components/managed/generated/managed-agent-api.d.ts +1092 -28
  35. package/dist/types/components/managed/java-managed-agent-client.d.ts +56 -0
  36. package/dist/types/components/managed/managed-agent-provider.d.ts +114 -0
  37. package/dist/types/components/managed/managed-input.d.ts +7 -0
  38. package/dist/types/components/managed/managed-pending-storage.d.ts +2 -0
  39. package/dist/types/components/managed/managed-session-messages.d.ts +1 -0
  40. package/dist/types/components/managed/managed-session-storage.d.ts +1 -1
  41. package/dist/types/components/managed/managed-workspace-messages.d.ts +7 -0
  42. package/dist/types/components/managed/managed-workspace-messages.transcript-stub.d.ts +7 -0
  43. package/dist/types/components/managed/use-managed-approval-change.d.ts +25 -0
  44. package/dist/types/components/managed/use-managed-file-references.d.ts +19 -0
  45. package/dist/types/components/managed/use-managed-model-change.d.ts +23 -0
  46. package/dist/types/components/managed/use-managed-skills.d.ts +12 -0
  47. package/dist/types/components/managed/use-managed-tasks.d.ts +1 -0
  48. package/dist/types/components/messages/toolFormatting.d.ts +1 -0
  49. package/dist/types/components/messages/tools/ToolDetailsContext.d.ts +13 -0
  50. package/dist/types/components/sidebar/WebShellSidebar.d.ts +4 -1
  51. package/dist/types/components/ui/alert.d.ts +1 -1
  52. package/dist/types/components/ui/drawer.d.ts +1 -1
  53. package/dist/types/constants/sessions.d.ts +1 -0
  54. package/dist/types/customization.d.ts +2 -0
  55. package/dist/types/daemon/session/actions.d.ts +7 -0
  56. package/dist/types/daemon/session/types.d.ts +3 -1
  57. package/dist/types/hooks/useApprovalModes.d.ts +2 -0
  58. package/dist/types/hooks/useAtMentionSources.d.ts +5 -0
  59. package/dist/types/hooks/useComposerCore.d.ts +2 -2
  60. package/dist/types/hooks/useInputHistory.d.ts +0 -4
  61. package/dist/types/index.d.ts +2 -1
  62. package/dist/types/trajectory/execution-messages.d.ts +9 -0
  63. package/dist/types/trajectory/execution-messages.transcript-stub.d.ts +7 -0
  64. package/dist/types/trajectory/project-trajectory-executions.d.ts +23 -0
  65. package/dist/types/transcript.d.ts +2 -2
  66. package/dist/types/utils/composerTag.d.ts +1 -0
  67. package/dist/types/utils/dom.d.ts +1 -0
  68. package/dist/types/utils/planMode.d.ts +4 -0
  69. package/dist/types/voice/voice-workspace-target.d.ts +2 -0
  70. package/dist/{useDaemonMidTurnInjected-ClQx7vwI.js → useDaemonMidTurnInjected-QD_WdS9-.js} +3769 -3508
  71. package/dist/{vue-d9VL4uFG.js → vue-IHw0KG71.js} +23 -21
  72. package/package.json +7 -4
  73. package/dist/WorkspaceFileBrowser-BF1_WOlE.js +0 -11389
  74. package/dist/abap-Y8Dl9g_6.js +0 -6
  75. package/dist/actionscript-3-BaF0d0xQ.js +0 -6
  76. package/dist/ada-BF2KzuNn.js +0 -6
  77. package/dist/ahk-B-WqUgDL.js +0 -6
  78. package/dist/ahk2-SbcCPlaJ.js +0 -6
  79. package/dist/andromeeda-BbmzSJq1.js +0 -4
  80. package/dist/angular-html-rmyRipUB.js +0 -32
  81. package/dist/angular-ts-gqGZGIqw.js +0 -21
  82. package/dist/apache-BUjz-sD2.js +0 -6
  83. package/dist/apex-DvkHwMsp.js +0 -6
  84. package/dist/apl-9WGfvSCD.js +0 -16
  85. package/dist/applescript-BPx7YFFu.js +0 -6
  86. package/dist/ara-Z2fSOxSw.js +0 -6
  87. package/dist/asciidoc-BiIPQCNW.js +0 -6
  88. package/dist/asm-BTWLY5ym.js +0 -6
  89. package/dist/astro-B3VnZ88h.js +0 -18
  90. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  91. package/dist/awk-Fb0P9dkn.js +0 -6
  92. package/dist/ayu-dark-DJoqd4M9.js +0 -4
  93. package/dist/ayu-light-BzXEJRJ-.js +0 -4
  94. package/dist/ayu-mirage-BJ2oZGzi.js +0 -4
  95. package/dist/ballerina-oZK-YekG.js +0 -6
  96. package/dist/bat-ydjv7YKs.js +0 -6
  97. package/dist/beancount-B97e4I_p.js +0 -6
  98. package/dist/berry-DODBq_Ff.js +0 -6
  99. package/dist/bibtex-EULQRLY5.js +0 -6
  100. package/dist/bicep-BorU73w0.js +0 -6
  101. package/dist/bird2-pg9hCHlc.js +0 -6
  102. package/dist/blade-C1Ndts_b.js +0 -20
  103. package/dist/bsl-D_YKmA0K.js +0 -8
  104. package/dist/c3-CFUossGW.js +0 -6
  105. package/dist/cadence-02UX7mW8.js +0 -6
  106. package/dist/cairo-DM6WF2e3.js +0 -8
  107. package/dist/catppuccin-frappe-DUuBHM65.js +0 -4
  108. package/dist/catppuccin-latte-BNGb0x5j.js +0 -4
  109. package/dist/catppuccin-macchiato-BxrBWMCk.js +0 -4
  110. package/dist/catppuccin-mocha-CuiVuFkm.js +0 -4
  111. package/dist/chapel-eL5CQ0M-.js +0 -8
  112. package/dist/clarity-9DleLt1s.js +0 -6
  113. package/dist/clojure-CXJfHrL3.js +0 -6
  114. package/dist/cmake-BJz8BOTU.js +0 -6
  115. package/dist/cobol-Dl6_7gJe.js +0 -10
  116. package/dist/codeowners-Bt9yU6NX.js +0 -6
  117. package/dist/codeql-DHkodjjI.js +0 -6
  118. package/dist/coffee-DGBR_nr_.js +0 -8
  119. package/dist/common-lisp-EVqT9Zhp.js +0 -6
  120. package/dist/coq-5TmQn6M5.js +0 -6
  121. package/dist/crystal-Bfb0oPlr.js +0 -18
  122. package/dist/csv-CmYOceLb.js +0 -6
  123. package/dist/cue-ZzumE7IT.js +0 -6
  124. package/dist/cypher-jpdmjtA6.js +0 -6
  125. package/dist/d-CBagWSwH.js +0 -6
  126. package/dist/dark-plus-pUHDTVV0.js +0 -4
  127. package/dist/dart-K6TBxHBr.js +0 -6
  128. package/dist/dax-CcDT-8dH.js +0 -6
  129. package/dist/desktop-B93p9R9O.js +0 -6
  130. package/dist/dotenv-To_iU2bW.js +0 -6
  131. package/dist/dracula-BtZx2Kac.js +0 -4
  132. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  133. package/dist/dream-maker-PAx17jaB.js +0 -6
  134. package/dist/edge-Qug5O-Uv.js +0 -12
  135. package/dist/elixir-jJSGlzPp.js +0 -8
  136. package/dist/elm-BtNbw_Cd.js +0 -8
  137. package/dist/emacs-lisp--TAIYkU3.js +0 -6
  138. package/dist/erb-B9A6WGNp.js +0 -10
  139. package/dist/erlang-DNcDT8Hi.js +0 -8
  140. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  141. package/dist/everforest-light-BbXl82Em.js +0 -4
  142. package/dist/fennel-N4WcXuKx.js +0 -6
  143. package/dist/fish-BTDEUgqH.js +0 -6
  144. package/dist/fluent-BMXUxfv1.js +0 -6
  145. package/dist/fortran-fixed-form-B67KFkXH.js +0 -8
  146. package/dist/fortran-free-form-CwqYvCLJ.js +0 -6
  147. package/dist/fsharp-CYOiIVNx.js +0 -8
  148. package/dist/gdresource-B6Cnl39M.js +0 -10
  149. package/dist/gdscript-BWeFgEe_.js +0 -6
  150. package/dist/gdshader-Bk8fF6yr.js +0 -6
  151. package/dist/genie-DzUvd7U9.js +0 -6
  152. package/dist/gherkin-DHRaV0YP.js +0 -6
  153. package/dist/git-commit-Bd32YZ0K.js +0 -8
  154. package/dist/git-rebase-ZWUFO_T4.js +0 -8
  155. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  156. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  157. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  158. package/dist/github-light-default-D99KPAby.js +0 -4
  159. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  160. package/dist/gleam-Bv284lvN.js +0 -6
  161. package/dist/glimmer-js-B-ut3b08.js +0 -14
  162. package/dist/glimmer-ts-CDiMEfki.js +0 -14
  163. package/dist/glsl-CkUcVZNK.js +0 -8
  164. package/dist/gn-B0BSgybI.js +0 -6
  165. package/dist/gnuplot-yPG9-sE_.js +0 -6
  166. package/dist/graphql-CBu2ehBn.js +0 -14
  167. package/dist/groovy-CJQTphOW.js +0 -6
  168. package/dist/gruvbox-dark-hard-C5HOtKIh.js +0 -4
  169. package/dist/gruvbox-dark-medium-FVgwJHuz.js +0 -4
  170. package/dist/gruvbox-dark-soft-B46F314v.js +0 -4
  171. package/dist/gruvbox-light-hard-CJD38wDZ.js +0 -4
  172. package/dist/gruvbox-light-medium-BlIhMYTA.js +0 -4
  173. package/dist/gruvbox-light-soft-DoPHyLVZ.js +0 -4
  174. package/dist/hack-p63ac3SB.js +0 -10
  175. package/dist/haml-CM7CpQHU.js +0 -10
  176. package/dist/handlebars-DfCj1TEO.js +0 -14
  177. package/dist/haskell-WeIwNIP6.js +0 -6
  178. package/dist/haxe-CfMPOItY.js +0 -6
  179. package/dist/hcl-D438OF-I.js +0 -6
  180. package/dist/hjson-DYBUbqOl.js +0 -6
  181. package/dist/hlsl-Bk8TCZNL.js +0 -6
  182. package/dist/horizon-CJQ10nlf.js +0 -4
  183. package/dist/horizon-bright-2WzHy-Vo.js +0 -4
  184. package/dist/houston-BDYrDoDW.js +0 -4
  185. package/dist/html-derivative-DG8ajaXt.js +0 -8
  186. package/dist/http-DLvAkeD-.js +0 -14
  187. package/dist/hurl-CgkFN90t.js +0 -12
  188. package/dist/hxml-DV49tgRk.js +0 -8
  189. package/dist/hy-Brt5EZ7-.js +0 -6
  190. package/dist/imba-CimUv-Uh.js +0 -6
  191. package/dist/jinja-BHOV3ePe.js +0 -11
  192. package/dist/jison-DdreslRX.js +0 -8
  193. package/dist/json5-BT4Fjg39.js +0 -6
  194. package/dist/jsonl-BGuvDmy9.js +0 -6
  195. package/dist/jsonnet-Bx2cfsXg.js +0 -6
  196. package/dist/jssm-BcADi6EI.js +0 -6
  197. package/dist/julia-BxeXMQSJ.js +0 -16
  198. package/dist/just-CJ4EVsJK.js +0 -18
  199. package/dist/kanagawa-dragon-CQySOoTe.js +0 -4
  200. package/dist/kanagawa-lotus-CJRfph3t.js +0 -4
  201. package/dist/kanagawa-wave-Cu5PDRcJ.js +0 -4
  202. package/dist/kdl-BNOv9TC3.js +0 -6
  203. package/dist/kusto-BlqsQffZ.js +0 -6
  204. package/dist/laserwave-6a00oqik.js +0 -4
  205. package/dist/latex-BfhWTgWa.js +0 -8
  206. package/dist/lean-BnVxaZxY.js +0 -6
  207. package/dist/less-B1GLI2Di.js +0 -6
  208. package/dist/light-plus-CZuVqSLX.js +0 -4
  209. package/dist/liquid-D7d9j__1.js +0 -14
  210. package/dist/llvm-DMgfhPsy.js +0 -6
  211. package/dist/log-Al8wyEFV.js +0 -6
  212. package/dist/logo-DBa4JDzV.js +0 -6
  213. package/dist/luau-1oy8yWWo.js +0 -6
  214. package/dist/marko-D0HGUaN1.js +0 -14
  215. package/dist/material-theme-D6KBX41T.js +0 -4
  216. package/dist/material-theme-darker-CkRroheE.js +0 -4
  217. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  218. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  219. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  220. package/dist/matlab-BOAaUVP0.js +0 -6
  221. package/dist/mdc-BI6stFvl.js +0 -12
  222. package/dist/mdx-BOhZZUJ8.js +0 -6
  223. package/dist/mermaid-xImSC5pG.js +0 -6
  224. package/dist/min-dark-C7ak0t6c.js +0 -4
  225. package/dist/min-light-CKFxVcPp.js +0 -4
  226. package/dist/mipsasm-CTx18fBl.js +0 -6
  227. package/dist/mojo-DjLViMAF.js +0 -6
  228. package/dist/monokai-B1aFr0iD.js +0 -4
  229. package/dist/moonbit-qkz9oK4f.js +0 -6
  230. package/dist/move-DoIXlL5f.js +0 -6
  231. package/dist/narrat-DmhDCBs-.js +0 -6
  232. package/dist/nextflow-BTRbEaxp.js +0 -8
  233. package/dist/nextflow-groovy-BJmbcwBu.js +0 -6
  234. package/dist/nginx-D7O4WoB1.js +0 -8
  235. package/dist/night-owl-Bm2rzalh.js +0 -4
  236. package/dist/night-owl-light-CBI5u5kw.js +0 -4
  237. package/dist/nim-DG7jk4Ht.js +0 -20
  238. package/dist/nix-fTRXMGic.js +0 -9
  239. package/dist/nord-CC5OiUXg.js +0 -4
  240. package/dist/nsis-CtKAvjMM.js +0 -6
  241. package/dist/nushell-CgtwSlO3.js +0 -6
  242. package/dist/objective-c-Itk8tzmv.js +0 -6
  243. package/dist/ocaml-eSVK32Eg.js +0 -6
  244. package/dist/odin-BItnF517.js +0 -6
  245. package/dist/one-dark-pro-C5d58L87.js +0 -4
  246. package/dist/one-light-LkMrt1Cf.js +0 -4
  247. package/dist/openscad-Sp5uZ6f2.js +0 -6
  248. package/dist/org-C5S6WgHQ.js +0 -100
  249. package/dist/pascal-xy8pJNns.js +0 -6
  250. package/dist/perl-vJzCkjjH.js +0 -16
  251. package/dist/pierre-dark-D52vmD1t.js +0 -4
  252. package/dist/pierre-dark-protanopia-deuteranopia-Coza2ydH.js +0 -4
  253. package/dist/pierre-dark-soft-D0o08Lfm.js +0 -4
  254. package/dist/pierre-dark-tritanopia-BP-A_WyN.js +0 -4
  255. package/dist/pierre-dark-vibrant-BjUzbiGn.js +0 -4
  256. package/dist/pierre-light-CzM3AfLn.js +0 -4
  257. package/dist/pierre-light-protanopia-deuteranopia-DFclCKch.js +0 -4
  258. package/dist/pierre-light-soft-m3tr_5b6.js +0 -4
  259. package/dist/pierre-light-tritanopia-Dh0MAsTp.js +0 -4
  260. package/dist/pierre-light-vibrant-BZSORskK.js +0 -4
  261. package/dist/pkl-C-zSNmaA.js +0 -6
  262. package/dist/plastic-CSTz3KZp.js +0 -4
  263. package/dist/plsql-pVbGZfOv.js +0 -6
  264. package/dist/po-BNfHvqmm.js +0 -6
  265. package/dist/poimandres-C-VADXHD.js +0 -4
  266. package/dist/polar-CAZahv3u.js +0 -6
  267. package/dist/postcss-05aHdL-n.js +0 -6
  268. package/dist/powerquery-DI9HkTvs.js +0 -6
  269. package/dist/powershell-DwQB8F1X.js +0 -6
  270. package/dist/prisma-K8HipzoA.js +0 -6
  271. package/dist/prolog-C5-yg4TO.js +0 -6
  272. package/dist/proto-C7QgialS.js +0 -6
  273. package/dist/pug-DWY5n4I0.js +0 -12
  274. package/dist/puppet-CUJHmnxV.js +0 -6
  275. package/dist/purescript-rUfGld-4.js +0 -6
  276. package/dist/qml-rTNXsquU.js +0 -8
  277. package/dist/qmldir-BInDYbpo.js +0 -6
  278. package/dist/qss-AeJTysr_.js +0 -6
  279. package/dist/r-BPg6DDVi.js +0 -6
  280. package/dist/racket-B83wSAja.js +0 -6
  281. package/dist/raku-nEQ4ZJJ7.js +0 -6
  282. package/dist/razor-DfCpierF.js +0 -10
  283. package/dist/rbs-CssrqYJT.js +0 -6
  284. package/dist/red-ZH55KNtO.js +0 -4
  285. package/dist/reg-m_s_Kiip.js +0 -6
  286. package/dist/regexp-BazyLpPg.js +0 -6
  287. package/dist/rel-BcRfyd6Q.js +0 -6
  288. package/dist/riscv-Ce8MAQLP.js +0 -6
  289. package/dist/ron-DCEEQypA.js +0 -6
  290. package/dist/rose-pine-CBkWCxr6.js +0 -4
  291. package/dist/rose-pine-dawn-B6ai6aO_.js +0 -4
  292. package/dist/rose-pine-moon-c2UTtcmd.js +0 -4
  293. package/dist/rosmsg-Cz0w1km8.js +0 -6
  294. package/dist/rst-DLMli9w9.js +0 -22
  295. package/dist/ruby-CbJ15R3t.js +0 -30
  296. package/dist/sas-CPEc4gxJ.js +0 -8
  297. package/dist/sass-DxHp5rTx.js +0 -6
  298. package/dist/scala-B_IFinKC.js +0 -6
  299. package/dist/scheme-BCRWuEm4.js +0 -6
  300. package/dist/scss-BoS_aSJ3.js +0 -8
  301. package/dist/sdbl-B7T8abf4.js +0 -6
  302. package/dist/shaderlab-Cr62-Wb4.js +0 -8
  303. package/dist/shellsession-DiDJNQdy.js +0 -8
  304. package/dist/slack-dark-i7wN4OET.js +0 -4
  305. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  306. package/dist/smalltalk-4m7fIk5G.js +0 -6
  307. package/dist/smithy-BqBKlq_3.js +0 -6
  308. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  309. package/dist/solarized-dark-DkqKcBES.js +0 -4
  310. package/dist/solarized-light-PzVcYh5f.js +0 -4
  311. package/dist/solidity-CA32r_X5.js +0 -6
  312. package/dist/soy-zKSLgLn7.js +0 -8
  313. package/dist/sparql-B0KWFEri.js +0 -8
  314. package/dist/splunk-CRXR8A9s.js +0 -6
  315. package/dist/ssh-config-DP-hNVbF.js +0 -6
  316. package/dist/stata-CfG8pWjZ.js +0 -8
  317. package/dist/stylus-CyKEU1Ej.js +0 -6
  318. package/dist/surrealql-C-LAJEpk.js +0 -8
  319. package/dist/svelte-DwQZuWui.js +0 -14
  320. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  321. package/dist/system-verilog-CT3NeZzU.js +0 -6
  322. package/dist/systemd-C-4qm6XH.js +0 -6
  323. package/dist/talonscript-CFF3LF_O.js +0 -6
  324. package/dist/tasl-Cg_WBUAe.js +0 -6
  325. package/dist/tcl-DN7buRTF.js +0 -6
  326. package/dist/templ-kEkd0dRE.js +0 -12
  327. package/dist/terraform-DGvcn9zM.js +0 -6
  328. package/dist/tex-CXAy09re.js +0 -8
  329. package/dist/tokyo-night-DP4TmcQl.js +0 -4
  330. package/dist/ts-tags-CheYVw2x.js +0 -41
  331. package/dist/tsv-BtvSkaG0.js +0 -6
  332. package/dist/turtle-_H59FV7D.js +0 -6
  333. package/dist/twig-CDICZk1J.js +0 -18
  334. package/dist/typespec-ClIfKiQP.js +0 -6
  335. package/dist/typst-E3pfxOv6.js +0 -120
  336. package/dist/v-CxJbuWik.js +0 -6
  337. package/dist/vala-uxaPR7d1.js +0 -6
  338. package/dist/vb-BD2YOVbP.js +0 -6
  339. package/dist/verilog-BHj4jYdq.js +0 -6
  340. package/dist/vesper-DIoW1cuD.js +0 -4
  341. package/dist/vhdl-CUlNa8ac.js +0 -6
  342. package/dist/viml-DsfA-sWm.js +0 -6
  343. package/dist/vitesse-black-BoGvW84i.js +0 -4
  344. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  345. package/dist/vitesse-light-CcmG315c.js +0 -4
  346. package/dist/vue-html-j9xNEdu3.js +0 -8
  347. package/dist/vue-vine-Hkz8HiFl.js +0 -18
  348. package/dist/vyper-CPQuu50u.js +0 -6
  349. package/dist/wasm-BBXxrAl7.js +0 -6
  350. package/dist/wenyan-pbVjoM9_.js +0 -6
  351. package/dist/wgsl-DY4iK1q1.js +0 -6
  352. package/dist/wikitext-Z-MoUasO.js +0 -6
  353. package/dist/wit-CQMQOlTg.js +0 -6
  354. package/dist/wolfram-Dz4KXISs.js +0 -6
  355. package/dist/xsl-BmSZphgC.js +0 -8
  356. package/dist/zenscript-CxBjpf9c.js +0 -6
  357. package/dist/zig-Vm0PO9wB.js +0 -6
  358. /package/dist/{docker-CsHqm9tx.js → dockerfile-CsHqm9tx.js} +0 -0
  359. /package/dist/{make-CsMclxtr.js → makefile-CsMclxtr.js} +0 -0
@@ -412,15 +412,271 @@ export interface paths {
412
412
  patch?: never;
413
413
  trace?: never;
414
414
  };
415
+ "/api/agent/web-shell/v1/workspaces/create": {
416
+ parameters: {
417
+ query?: never;
418
+ header?: never;
419
+ path?: never;
420
+ cookie?: never;
421
+ };
422
+ get?: never;
423
+ put?: never;
424
+ /** @description Create an empty Workspace under the operator-controlled root, or supply sourceWorkspaceId and cwdRelative together to select an existing directory under an ACTIVE ROOT Workspace owned by the actor. Existing-directory creation shares its verified storage, config and policy and persists a default working directory. The actor-scoped idempotency key pins the normalized request and source generation. Completed replay checks current access and never restores grants. */
425
+ post: operations["webShellCreateWorkspace"];
426
+ delete?: never;
427
+ options?: never;
428
+ head?: never;
429
+ patch?: never;
430
+ trace?: never;
431
+ };
432
+ "/api/agent/web-shell/v1/session-options/query": {
433
+ parameters: {
434
+ query?: never;
435
+ header?: never;
436
+ path?: never;
437
+ cookie?: never;
438
+ };
439
+ get?: never;
440
+ put?: never;
441
+ /** @description Read effective approval policy options for an Agent in the authenticated tenant. Requires an actor. Does not create a Session or change an existing policy. */
442
+ post: operations["queryWebShellSessionOptions"];
443
+ delete?: never;
444
+ options?: never;
445
+ head?: never;
446
+ patch?: never;
447
+ trace?: never;
448
+ };
449
+ "/api/agent/web-shell/v1/session-models/query": {
450
+ parameters: {
451
+ query?: never;
452
+ header?: never;
453
+ path?: never;
454
+ cookie?: never;
455
+ };
456
+ get?: never;
457
+ put?: never;
458
+ /** @description Read the allowed model catalog and current model selection of a readable Session. No credentials or provider routes are returned. */
459
+ post: operations["queryWebShellSessionModels"];
460
+ delete?: never;
461
+ options?: never;
462
+ head?: never;
463
+ patch?: never;
464
+ trace?: never;
465
+ };
466
+ "/api/agent/web-shell/v1/session-models/change": {
467
+ parameters: {
468
+ query?: never;
469
+ header?: never;
470
+ path?: never;
471
+ cookie?: never;
472
+ };
473
+ get?: never;
474
+ put?: never;
475
+ /** @description Change the model of an idle Workspace Session for later Turns. The actor-scoped idempotency key replays an earlier completed change before current admission checks; expectedRevision prevents overwriting a concurrent selection. */
476
+ post: operations["changeWebShellSessionModel"];
477
+ delete?: never;
478
+ options?: never;
479
+ head?: never;
480
+ patch?: never;
481
+ trace?: never;
482
+ };
483
+ "/api/agent/web-shell/v1/session-approval/query": {
484
+ parameters: {
485
+ query?: never;
486
+ header?: never;
487
+ path?: never;
488
+ cookie?: never;
489
+ };
490
+ get?: never;
491
+ put?: never;
492
+ /** @description Read the current policy and owner-authorized change support of a readable Workspace Session. */
493
+ post: operations["queryWebShellSessionApproval"];
494
+ delete?: never;
495
+ options?: never;
496
+ head?: never;
497
+ patch?: never;
498
+ trace?: never;
499
+ };
500
+ "/api/agent/web-shell/v1/session-approval/change": {
501
+ parameters: {
502
+ query?: never;
503
+ header?: never;
504
+ path?: never;
505
+ cookie?: never;
506
+ };
507
+ get?: never;
508
+ put?: never;
509
+ /** @description Change the next-user-Turn policy of an idle eligible Workspace Session: built-in qwen-code or a stored AgentDefinition on exactly hosted-workspace-files/1 or hosted-workspace-shell/1,/2. Requires its recorded owner, current OPERATOR or OWNER access and Session-specific Harness feature support. Changes are revision-checked and actor/session-scoped idempotent. Definition creation policy and pins remain immutable. */
510
+ post: operations["changeWebShellSessionApproval"];
511
+ delete?: never;
512
+ options?: never;
513
+ head?: never;
514
+ patch?: never;
515
+ trace?: never;
516
+ };
517
+ "/api/agent/web-shell/v1/runtime-nodes/query": {
518
+ parameters: {
519
+ query?: never;
520
+ header?: never;
521
+ path?: never;
522
+ cookie?: never;
523
+ };
524
+ get?: never;
525
+ put?: never;
526
+ /** @description Lists only administrator-configured SSH nodes authorized for the current tenant and actor. Requires a trusted actor. Registration is disabled by default and answers 200 with supported=false and an empty data array; an enabled deployment may answer supported=true with no authorized nodes. Node credentials, SSH aliases and server paths are not exposed. This read starts no worker. */
527
+ post: operations["webShellQueryRuntimeNodes"];
528
+ delete?: never;
529
+ options?: never;
530
+ head?: never;
531
+ patch?: never;
532
+ trace?: never;
533
+ };
534
+ "/api/agent/web-shell/v1/workspaces/check-directory": {
535
+ parameters: {
536
+ query?: never;
537
+ header?: never;
538
+ path?: never;
539
+ cookie?: never;
540
+ };
541
+ get?: never;
542
+ put?: never;
543
+ /** @description Checks the configured Node.js and pinned qwen-code versions, allowed directory range, existing canonical directory and access permissions over SSH. Requires an enabled deployment and an exact tenant/actor node grant; disabled registration answers 404 ssh_runtime_disabled and an unknown or unauthorized node answers 403 runtime_node_forbidden. This is a preview: registration revalidates the directory and never creates a directory, clones a repository or starts a worker. */
544
+ post: operations["webShellCheckWorkspaceDirectory"];
545
+ delete?: never;
546
+ options?: never;
547
+ head?: never;
548
+ patch?: never;
549
+ trace?: never;
550
+ };
551
+ "/api/agent/web-shell/v1/workspaces/operations/get": {
552
+ parameters: {
553
+ query?: never;
554
+ header?: never;
555
+ path?: never;
556
+ cookie?: never;
557
+ };
558
+ get?: never;
559
+ put?: never;
560
+ /** @description Reads only a Workspace registration owned by the current tenant and actor; an unknown operation or another actor's operation answers 404 operation_not_found. Queries and accepted registration settlement remain available when new registration is disabled. Pending or running operations may resume their original registration attempt. A registration refused before it reserved its directory fails. One that may have reached its node is recovery_blocked and keeps the directory reserved while Java reads the node again, never registering anything: the registration's marker completes it, and a root without the marker, or holding another directory, fails it and releases the directory. Querying never unlocks it or starts a Runtime worker. */
561
+ post: operations["webShellGetWorkspaceOperation"];
562
+ delete?: never;
563
+ options?: never;
564
+ head?: never;
565
+ patch?: never;
566
+ trace?: never;
567
+ };
568
+ "/api/agent/web-shell/v1/workspaces/register": {
569
+ parameters: {
570
+ query?: never;
571
+ header?: never;
572
+ path?: never;
573
+ cookie?: never;
574
+ };
575
+ get?: never;
576
+ put?: never;
577
+ /** @description Admits actor-scoped, idempotent registration of an existing remote directory. The request body carries idempotencyKey; a retry with the same nodeId, path and displayName returns the original operation and its latest durable state, even after new registration is disabled or node admission is revoked. Reusing the key for different content answers 409 idempotency_conflict. Fresh admission requires an enabled deployment and an authorized node (404 ssh_runtime_disabled or 403 runtime_node_forbidden). A completed operation atomically creates the Workspace and creator OWNER grant. 202 does not mean registration is complete; query the operation, then read the Workspace and its canCreateSession hint. This operation creates no Session and starts no Runtime worker. requestId is trace-only and excluded from the request digest. */
578
+ post: operations["webShellRegisterWorkspace"];
579
+ delete?: never;
580
+ options?: never;
581
+ head?: never;
582
+ patch?: never;
583
+ trace?: never;
584
+ };
585
+ "/api/agent/web-shell/v1/workspaces/directories/query": {
586
+ parameters: {
587
+ query?: never;
588
+ header?: never;
589
+ path?: never;
590
+ cookie?: never;
591
+ };
592
+ get?: never;
593
+ put?: never;
594
+ /** @description List bounded immediate real directories on the selected Workspace storage host. Requires an authenticated OWNER of the ACTIVE ROOT Workspace and verified LOCAL storage. Refuses traversal, symlinks and reserved maintenance directories; never uses the ordinary daemon filesystem. Root paths are disclosed only within this authorized scope. */
595
+ post: operations["queryWebShellWorkspaceDirectories"];
596
+ delete?: never;
597
+ options?: never;
598
+ head?: never;
599
+ patch?: never;
600
+ trace?: never;
601
+ };
602
+ "/api/agent/web-shell/v1/session-skills/query": {
603
+ parameters: {
604
+ query?: never;
605
+ header?: never;
606
+ path?: never;
607
+ cookie?: never;
608
+ };
609
+ get?: never;
610
+ put?: never;
611
+ /** @description Read only names and descriptions from the Session's pinned static Skill catalog. Requires a trusted actor and Workspace read access. Never resolves the latest AgentDefinition or discovers host Skills. */
612
+ post: operations["queryWebShellSessionSkills"];
613
+ delete?: never;
614
+ options?: never;
615
+ head?: never;
616
+ patch?: never;
617
+ trace?: never;
618
+ };
619
+ "/api/agent/web-shell/v1/workspaces/files/query": {
620
+ parameters: {
621
+ query?: never;
622
+ header?: never;
623
+ path?: never;
624
+ cookie?: never;
625
+ };
626
+ get?: never;
627
+ put?: never;
628
+ /**
629
+ * Read-only Workspace file query
630
+ * @description Browse directories or search file names within the persisted Workspace working directory. Requires a trusted actor with current OPERATOR or OWNER access to an ACTIVE Workspace, the deployment Workspace-files opt-in, and verified LOCAL or SSH_LOCAL storage. Authorization and binding are rechecked after I/O. Paths are relative to the working directory; host paths and Runtime credentials are never returned. Unsupported storage never falls back to the local daemon, and no Session, worker or model request is created.
631
+ */
632
+ post: operations["webShellWorkspaceFilesQuery"];
633
+ delete?: never;
634
+ options?: never;
635
+ head?: never;
636
+ patch?: never;
637
+ trace?: never;
638
+ };
639
+ "/api/agent/web-shell/v1/workspaces/files/read": {
640
+ parameters: {
641
+ query?: never;
642
+ header?: never;
643
+ path?: never;
644
+ cookie?: never;
645
+ };
646
+ get?: never;
647
+ put?: never;
648
+ /**
649
+ * Read-only Workspace file read
650
+ * @description Read one selection-time snapshot of a nonempty, NUL-free UTF-8 file, at most 24 KiB, using the scope revision returned by query. Requires a trusted actor with current OPERATOR or OWNER access to an ACTIVE Workspace, the deployment Workspace-files opt-in, and verified LOCAL or SSH_LOCAL storage. Authorization and binding are rechecked after I/O. Paths are relative to the working directory; host paths and Runtime credentials are never returned. Unsupported storage never falls back to the local daemon, and no Session, worker or model request is created.
651
+ */
652
+ post: operations["webShellWorkspaceFilesRead"];
653
+ delete?: never;
654
+ options?: never;
655
+ head?: never;
656
+ patch?: never;
657
+ trace?: never;
658
+ };
659
+ "/api/agent/web-shell/v1/tool-details/get": {
660
+ parameters: {
661
+ query?: never;
662
+ header?: never;
663
+ path?: never;
664
+ cookie?: never;
665
+ };
666
+ get?: never;
667
+ put?: never;
668
+ post: operations["getWebShellToolDetails"];
669
+ delete?: never;
670
+ options?: never;
671
+ head?: never;
672
+ patch?: never;
673
+ trace?: never;
674
+ };
415
675
  }
416
676
  export type webhooks = Record<string, never>;
417
677
  export interface components {
418
678
  schemas: {
419
- InputBlock: {
420
- /** @enum {string} */
421
- type: "input_text";
422
- text: string;
423
- };
679
+ InputBlock: components["schemas"]["InputTextBlock"] | components["schemas"]["InputFileBlock"] | components["schemas"]["InputImageBlock"];
424
680
  PublicArtifact: {
425
681
  /** @constant */
426
682
  object: "agent.artifact";
@@ -476,10 +732,17 @@ export interface components {
476
732
  environmentId?: string | null;
477
733
  /** @description The server enforces the bound in UTF-16 code units (Java String.length()), so an astral character counts as two: a title this schema's code-point maxLength accepts can still exceed the server's 256-unit bound and answer 400 invalid_title. */
478
734
  title?: string | null;
479
- /** @description Each block adds to a 4,000,000-character aggregate admission budget per command (per-block 1,000,000-character cap applies). Admission ceiling only: a command whose serialized prompt or durable Session-store record exceeds the Hosted Harness's 64 KiB durable-record limit is accepted and then fails the Turn with hosted_harness_rejected. */
735
+ /** @description Text has a 4,000,000-character aggregate budget and per-block 1,000,000-character cap, counted in code points. Hosted also enforces its 64 KiB durable-record limit for text-only inputs and a 32 MiB prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 8 MiB and requires input-attachments/1. */
480
736
  input?: components["schemas"]["InputBlock"][];
481
737
  metadata?: components["schemas"]["WebShellMetadata"];
482
738
  workspace?: components["schemas"]["WebShellWorkspaceSelection"];
739
+ /**
740
+ * @description Optional initial execution policy for Workspace creation, validated against the resolved Agent and profile. Omission preserves its default and idempotency digest. Independent of planMode.
741
+ * @enum {string}
742
+ */
743
+ approvalMode?: "default" | "auto-edit" | "yolo";
744
+ /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
745
+ planMode?: boolean;
483
746
  };
484
747
  WebShellSubmitRequest: {
485
748
  /** @description Trace correlation only. */
@@ -487,9 +750,15 @@ export interface components {
487
750
  idempotencyKey: string;
488
751
  /** Format: uuid */
489
752
  sessionId: string;
490
- /** @description Each block adds to a 4,000,000-character aggregate admission budget per command (per-block 1,000,000-character cap applies). Admission ceiling only: a command whose serialized prompt or durable Session-store record exceeds the Hosted Harness's 64 KiB durable-record limit is accepted and then fails the Turn with hosted_harness_rejected. */
753
+ /** @description Text has a 4,000,000-character aggregate budget and per-block 1,000,000-character cap, counted in code points. Hosted also enforces its 64 KiB durable-record limit for text-only inputs and a 32 MiB prepared-snapshot ceiling. A complete canonical input containing file/image attachments must fit within 8 MiB and requires input-attachments/1. */
491
754
  input?: components["schemas"]["InputBlock"][];
492
755
  metadata?: components["schemas"]["WebShellMetadata"];
756
+ /**
757
+ * @description D7-3. java_durable asks for the java_durable admission view: the 202 then names the command's operation (operationId, admissionStage, deliveryState), so a lost response resolves through that operation. Only a deployment whose Sessions advertise durableOperations admits it; elsewhere it answers 400 unsupported_feature before anything is read or written. Absent or harness_confirmed keeps today's response. harness_confirmed is the pinned reference design's qwen_confirmed. The request digest leaves this field out, so a retry under the same idempotencyKey replays the same command in either view.
758
+ * @default harness_confirmed
759
+ * @enum {string}
760
+ */
761
+ admissionProfile?: "harness_confirmed" | "java_durable";
493
762
  };
494
763
  WebShellCancelRequest: {
495
764
  /** @description Trace correlation only. */
@@ -498,18 +767,29 @@ export interface components {
498
767
  /** Format: uuid */
499
768
  sessionId: string;
500
769
  turnId: string;
770
+ /**
771
+ * @description D7-3. java_durable asks for the java_durable admission view: the 202 then names the command's operation (operationId, admissionStage, deliveryState), so a lost response resolves through that operation. Only a deployment whose Sessions advertise durableOperations admits it; elsewhere it answers 400 unsupported_feature before anything is read or written. Absent or harness_confirmed keeps today's response. harness_confirmed is the pinned reference design's qwen_confirmed. The request digest leaves this field out, so a retry under the same idempotencyKey replays the same command in either view.
772
+ * @default harness_confirmed
773
+ * @enum {string}
774
+ */
775
+ admissionProfile?: "harness_confirmed" | "java_durable";
501
776
  };
502
777
  /** @description Arbitrary caller metadata, as a JSON object (or null). Accepted and ignored in Phase 1: nothing from it is persisted. On WebShellCreateRequest the Session title travels in that request's own `title` field; WebShellSubmitRequest has no title surface. Any keys are valid. */
503
778
  WebShellMetadata: {
504
779
  [key: string]: unknown;
505
780
  } | null;
506
- /** @description With durable_operations enabled, all three target fields are returned. accepted means Java durable delivery responsibility, not model execution. Missing fields retain the deployed legacy response semantics. */
781
+ /** @description accepted means Java durable delivery responsibility, not model execution. The three operation fields come together, and only on a Turn input or cancel admission that asked for admissionProfile java_durable on a deployment advertising durableOperations (D7-3): operationId names the command's original submit_input or cancel operation, readable through the operation query, and admissionStage and deliveryState are that operation's latest durable values. A fresh input reads java_durable and pending; a cancel of a Turn that already ended reads its settled values. A retry under the same key answers the same operation with replayed true. Missing fields keep the legacy harness_confirmed response semantics, also for Session creation and for a replayed command recorded before v1.58. */
507
782
  WebShellAdmission: {
508
783
  /** Format: uuid */
509
784
  sessionId: string;
510
785
  turnId?: string | null;
511
786
  status: string;
512
787
  replayed: boolean;
788
+ operationId?: string;
789
+ /** @enum {string} */
790
+ admissionStage?: "java_durable" | "harness_confirmed";
791
+ /** @enum {string} */
792
+ deliveryState?: "pending" | "leased" | "confirmed" | "blocked";
513
793
  };
514
794
  WebShellTurn: {
515
795
  turnId: string;
@@ -540,6 +820,24 @@ export interface components {
540
820
  lastSequence: number;
541
821
  workspace?: components["schemas"]["WebShellWorkspaceContext"];
542
822
  capabilities: components["schemas"]["WebShellSessionCapabilities"];
823
+ /**
824
+ * @description Current effective approval policy; initialApprovalMode retains the immutable creation policy.
825
+ * @enum {string}
826
+ */
827
+ approvalMode?: "default" | "auto-edit" | "yolo";
828
+ modelContext?: components["schemas"]["WebShellModelContext"];
829
+ modelSelection?: components["schemas"]["WebShellModelSelection"];
830
+ /** Format: int64 */
831
+ approvalRevision?: number;
832
+ /**
833
+ * @description Immutable creation-time policy, used to confirm creation replay.
834
+ * @enum {string}
835
+ */
836
+ initialApprovalMode?: "default" | "auto-edit" | "yolo";
837
+ /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
838
+ planMode?: boolean;
839
+ /** @description Optional deployment capability; missing means false. */
840
+ planModeSupported?: boolean;
543
841
  };
544
842
  WebShellSessionCapabilities: {
545
843
  /**
@@ -547,6 +845,11 @@ export interface components {
547
845
  * @default false
548
846
  */
549
847
  cwdChange?: boolean;
848
+ /**
849
+ * @description D7-3. Present only on a deployment that enables the java_durable admission profile, where it is true while the Session is readable: a Turn input or cancel may then ask for admissionProfile java_durable. Omitted elsewhere, where asking for it answers 400 unsupported_feature.
850
+ * @default false
851
+ */
852
+ durableOperations?: boolean;
550
853
  /** @default false */
551
854
  actions: boolean;
552
855
  /**
@@ -576,8 +879,14 @@ export interface components {
576
879
  * @default false
577
880
  */
578
881
  sessionDelete?: boolean;
579
- /** @description Present only for persisted Shell Sessions, with no schema default; files and unbound Sessions omit it. True when Workspace files, Shell deployment admission and persisted default/auto-edit approval are valid. False prevents fresh sending. Disabling only the Shell flag preserves accepted cancellation and approval while Workspace files remain enabled and persisted approval remains valid; files-off or invalid approval can refuse attachment. This capability does not override authorization or recovery refusals. */
882
+ /** @description Present only for persisted Shell Sessions, with no schema default; files and unbound Sessions omit it. True when Workspace files, Shell deployment admission and a valid persisted approval mode are valid. False prevents fresh sending. Disabling only the Shell flag preserves accepted cancellation and approval while Workspace files remain enabled and persisted approval remains valid; files-off or invalid approval can refuse attachment. This capability does not override authorization or recovery refusals. */
580
883
  foregroundShell?: boolean;
884
+ /** @description The caller may request an idle Session model change using the server model catalog. Missing means unsupported; authorization and revision admission still apply. */
885
+ modelChange?: boolean;
886
+ /** @description The caller owns this eligible Workspace Session with current OPERATOR or OWNER access. Built-in qwen-code requires approval-selection/1; stored AgentDefinitions on exactly hosted-workspace-files/1 or hosted-workspace-shell/1,/2 also require agent-definition-approval-selection/1. Idle-state admission is checked separately. Missing means false. */
887
+ approvalModeChange?: boolean;
888
+ /** @description Optional deployment capability; missing means false. */
889
+ inputAttachments?: boolean;
581
890
  };
582
891
  WebShellSessionPage: {
583
892
  data: components["schemas"]["WebShellSession"][];
@@ -702,6 +1011,10 @@ export interface components {
702
1011
  canCreateSession: boolean;
703
1012
  /** @enum {string} */
704
1013
  state: "active" | "draining" | "removed";
1014
+ /** @description Persisted default working directory for new WebShell Sessions; absent means dot. */
1015
+ defaultCwdRelative?: string;
1016
+ /** @description Current actor owns this active root Workspace; directory discovery rechecks authorization and native storage. */
1017
+ canSelectDirectory?: boolean;
705
1018
  };
706
1019
  WebShellWorkspacePage: {
707
1020
  data: components["schemas"]["WebShellWorkspace"][];
@@ -715,6 +1028,12 @@ export interface components {
715
1028
  workspaceContext: boolean;
716
1029
  /** @description Supports authorized Workspace discovery, Session creation, and saved binding read-back. This capability does not advertise execution readiness. Deployments may separately opt in to an initial Workspace Turn at creation: Read/Write/Edit under hosted-workspace-files/1, or file tools plus mandatory-approval foreground Shell under hosted-workspace-shell/1 when the Shell opt-in is enabled. The public Shell tool list does not include the child agent tool. Callers holding the OPERATOR role may submit later Turns or rename under the same opt-in while the registry row stays ACTIVE and still backs the Session's binding and the actor recorded by the Workspace create command keeps OPERATOR or above, and may cancel a running Turn (its delivery re-checks no grants). Shell fresh sending also requires foregroundShell=true. Public Shell close, archive, unarchive and delete stay unavailable, including protocol-0, while close of other profiles follows its separate capability and lifecycle admission; archive, delete and unarchive follow their separate retention capabilities after reliable Workspace close. */
717
1030
  workspaceBinding: boolean;
1031
+ /** @description Supports creating empty Workspaces under the operator-controlled root. Missing or false means unsupported; current actor and server admission checks still apply. */
1032
+ workspaceCreation?: boolean;
1033
+ /** @description Supports effective Session policy options and explicit Workspace-bound creation policy. Missing or false means unsupported. */
1034
+ approvalModeSelection?: boolean;
1035
+ /** @description Supports browsing and selecting existing directories on authorized Linux storage; absent means unsupported. */
1036
+ workspaceDirectorySelection?: boolean;
718
1037
  };
719
1038
  /** @description Same authorized explicit default as default_workspace, including when outside this page; null if absent or not creatable. A non-null default is active and has canCreateSession=true. */
720
1039
  defaultWorkspace: (components["schemas"]["WebShellWorkspace"] & {
@@ -778,7 +1097,7 @@ export interface components {
778
1097
  allowText: boolean;
779
1098
  options: components["schemas"]["WebShellActionOption"][];
780
1099
  };
781
- /** @description Receipt IDs are opaque authorized product handles, not private journal or storage refs. Input/cancel completion is command acceptance, not Turn completion or physical stop. Action completion may only record one vote. Lifecycle completion requires its cleanup facts; archive may remain java_durable because Java is its authority. Task cancel 202 is Java durable admission; completion means the authority durably recorded cancellation and returned a receipt, not that the task stopped. Task cancel failed proves non-acceptance and no further delivery, with a failure code; recovery_blocked means acceptance is unknown and needs reconciliation before re-execution. Its status is never cancelled. Physical settlement and an unknown physical outcome belong to the task, independently of operation acceptance. A completed task cancel carries admission stage harness_confirmed and delivery state confirmed with the authority's receipt; failed and recovery_blocked carry java_durable and blocked, so they are never delivered again without reconciliation. */
1100
+ /** @description Receipt IDs are opaque authorized product handles, not private journal or storage refs. Input completion means a Harness admitted its Turn, not that the Turn completed; an input whose Turn failed after a submission no Harness answered is recovery_blocked until the Session journal proves whether a Harness admitted it. For submit_input and task cancel, recovery_blocked means acceptance is unknown: the operation is never delivered again and settles only from its own durable evidence. For close and delete it is a published wait that delivery re-drives. Cancel completion means its Turn reached cancelled; a cancel fails with turn_already_settled when its Turn ended otherwise. Action completion may only record one vote. Lifecycle completion requires its cleanup facts; archive may remain java_durable because Java is its authority. Task cancel 202 is Java durable admission; completion means the authority durably recorded cancellation and returned a receipt, not that the task stopped. Task cancel failed proves non-acceptance and no further delivery, with a failure code; recovery_blocked means acceptance is unknown and needs reconciliation before re-execution. Its status is never cancelled. Physical settlement and an unknown physical outcome belong to the task, independently of operation acceptance. A completed task cancel carries admission stage harness_confirmed and delivery state confirmed with the authority's receipt; failed and recovery_blocked carry java_durable and blocked, so they are never delivered again without reconciliation. */
782
1101
  WebShellCommandOperation: {
783
1102
  operationId: string;
784
1103
  /** Format: uuid */
@@ -795,7 +1114,7 @@ export interface components {
795
1114
  deliveryState: "pending" | "leased" | "confirmed" | "blocked";
796
1115
  receiptId?: string;
797
1116
  actionResolution?: components["schemas"]["WebShellActionResolution"];
798
- /** @description Reason a durable response or task cancellation failed. Action response failures come from the original committed Action, or a definitive invalid response. Task cancel failures are task_already_settled (the run ended before the stop request was recorded), task_action_unavailable and task_not_found; a recovery_blocked task cancel reports task_cancel_unconfirmed. Workspace close recovery_blocked reports original resource identity or unsettled execution; the Session remains closing. */
1117
+ /** @description Reason a durable response or task cancellation failed. Action response failures come from the original committed Action, or a definitive invalid response. Task cancel failures are task_already_settled (the run ended before the stop request was recorded), task_action_unavailable and task_not_found; a recovery_blocked task cancel reports task_cancel_unconfirmed. A lifecycle operation that exhausted its retry budget fails with the settle's failure: session_lifecycle_delivery_failed, managed_capability_mismatch or hosted_harness_protocol_error when the Hosted Harness refused to negotiate, a workspace close or lifecycle refusal (a workspace_close_* or workspace_lifecycle_* code, or runtime_admission_closed; a Runtime Broker runtime_broker_recovery_blocked refusal is reported as workspace_close_identity_unverified), or another Runtime Broker refusal code; one whose settle reached the Harness but stayed unsettled past the larger settled budget fails with session_close_completion_unsettled. A lifecycle recovery_blocked operation reports the refusal it waits on, original resource identity or unsettled execution for a Workspace close, session_close_writer_live while a Harness holds the journal writer or while that check itself fails, or hosted_harness_generation_mismatch while this replica's view of the Harness boot is stale, or hosted_lifecycle_recovery_required while the daemon settles a previous prompt; the Session remains closing. A submit_input failure carries its Turn's error code, and a recovery_blocked submit_input reports submit_input_unconfirmed; a cancel fails with turn_already_settled when its Turn completed or failed without being cancelled. */
799
1118
  failureCode?: string;
800
1119
  replayed: boolean;
801
1120
  } & (unknown & unknown & unknown & unknown & unknown);
@@ -910,7 +1229,7 @@ export interface components {
910
1229
  workspaceId: string;
911
1230
  };
912
1231
  /** @enum {string} */
913
- TaskKind: "child_agent" | "workflow" | "background_shell" | "monitor" | "automation_run";
1232
+ TaskKind: "child_agent" | "workflow" | "background_shell" | "monitor" | "automation_run" | "channel_delivery";
914
1233
  /**
915
1234
  * @description Logical run state. completed is terminal and is set when the run's own line ends settled, with or without a physical execution; failed and cancelled are terminal too, and they also cover a run that ended before its execution started (cancelled before dispatch, or failed with no provable start), when no physical execution ever settled. degraded means that the task still runs with reduced guarantees, such as a Monitor that lost its observation source. recovery_blocked means that recovery cannot prove the physical outcome: it is not settled, is never reported as success and is never re-run automatically.
916
1235
  * @enum {string}
@@ -922,7 +1241,7 @@ export interface components {
922
1241
  */
923
1242
  TaskRuntimeState: "unbound" | "provisioning" | "ready" | "draining" | "lost";
924
1243
  /**
925
- * @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task (since 1.40 for child_agent and 1.46 for workflow, tasks of those kinds in pending, running, waiting or degraded, in an active Session); whether a caller may use it is an authorization check (403 on the cancel route). send_input: reserved for a later capability route. read_output: the task events route returns output events for this task to any caller that can read it. read_output does not change during the task's life, and a task without it produces no output events: its output goes only to Artifacts, so the events route never filters out events that exist.
1244
+ * @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task (since 1.40 for child_agent, 1.46 for workflow and 1.54 for background_shell and monitor, tasks of those kinds in pending, running, waiting or degraded, and since 1.57 for channel_delivery, a delivery still pending because no adapter has claimed it, each in an active Session, and since 1.65 for automation_run in pending, running, waiting or degraded in an active Session; only that occurrence is cancelled and its schedule is preserved); whether a caller may use it is an authorization check (403 on the cancel route). send_input: reserved for a later capability route. read_output: the task events route returns output events for this task to any caller that can read it. read_output does not change during the task's life, and a task without it produces no output events: its output goes only to Artifacts, so the events route never filters out events that exist.
926
1245
  * @enum {string}
927
1246
  */
928
1247
  TaskActionCapability: "cancel" | "send_input" | "read_output";
@@ -931,6 +1250,11 @@ export interface components {
931
1250
  taskId: string;
932
1251
  /** Format: uuid */
933
1252
  sessionId: string;
1253
+ /**
1254
+ * Format: uuid
1255
+ * @description The child Session that runs this task: present for a child_agent or workflow task once the run's committed record names it (the child's attach, or a terminal verdict that names a minted child), and absent for every other kind and before then. The child is a Session in the same Workspace, readable by exactly the callers that can read this task, so its Turns, items and events are the task's own output; reading them needs no other grant.
1256
+ */
1257
+ childSessionId?: string;
934
1258
  kind: components["schemas"]["TaskKind"];
935
1259
  state: components["schemas"]["TaskState"];
936
1260
  /**
@@ -959,7 +1283,7 @@ export interface components {
959
1283
  /** @description The newest Artifacts that hold durable task output, at most 100, oldest first. Entries must not rotate out until older Artifacts can be enumerated and attributed to the task: an evicted Artifact stays readable by id through the Session artifact routes but is no longer discoverable from the task. */
960
1284
  artifactRefs: string[];
961
1285
  actionCapabilities: components["schemas"]["TaskActionCapability"][];
962
- } & (unknown & unknown & unknown & unknown);
1286
+ } & (unknown & unknown & unknown & unknown & unknown);
963
1287
  WebShellTaskPage: {
964
1288
  data: components["schemas"]["WebShellTask"][];
965
1289
  hasMore: boolean;
@@ -1087,7 +1411,7 @@ export interface components {
1087
1411
  };
1088
1412
  /** @description Optional preview for requested native read_file, write_file, edit or run_shell_command approvals. Missing or invalid input, and internal MCP inputs, omit the preview. No general secret redaction is performed; visibility follows Session read permissions. Deploy the version 2 Java reader before a Harness producer starts writing version 2 options. */
1089
1413
  WebShellActionInputPreview: {
1090
- /** @description Exact prefix of the stored payloadJson ({toolName,input}), at most 8192 UTF-8 bytes ending at a complete code point. Truncated text may not be valid JSON. */
1414
+ /** @description Exact UTF-8 prefix of payloadJson ({toolName,input}). Ordinary tools retain the 8192-byte preview. exit_plan_mode includes its complete input within the 64 KiB resource ceiling so a plan can be reviewed after refresh. Truncated ordinary previews may not be valid JSON. */
1091
1415
  text: string;
1092
1416
  /** @description True when text is shorter than the complete UTF-8 input. */
1093
1417
  truncated: boolean;
@@ -1097,20 +1421,267 @@ export interface components {
1097
1421
  */
1098
1422
  byteLength: number;
1099
1423
  };
1100
- };
1101
- responses: {
1102
- /** @description The authenticated actor belongs to another tenant than X-Qwen-Tenant-Id or has an invalid ID (actor_scope_mismatch, which the tenant filter answers on every /v1/agents/ and WebShell route), or the resource is readable but the actor lacks this operation or the original Action responder permission. Artifact content reads may also return artifact_content_forbidden when the actor cannot read the original bytes. */
1103
- Forbidden: {
1104
- headers: {
1105
- [name: string]: unknown;
1106
- };
1107
- content: {
1108
- "application/json": components["schemas"]["ErrorEnvelope"];
1109
- };
1424
+ WebShellWorkspaceCreateRequest: {
1425
+ /** @description Trimmed display name, without control characters. The server validates the normalized name. */
1426
+ displayName: string;
1427
+ idempotencyKey: string;
1428
+ sourceWorkspaceId?: string;
1429
+ cwdRelative?: string;
1110
1430
  };
1111
- /** @description A trusted actor is required for this request but none was supplied (actor_required). In signed authentication mode (qwenSignature) every covered public and WebShell route additionally answers 401 authentication_required when the signature, timestamp or actor headers are missing, and 401 invalid_signature when the signature is wrong or stale. */
1112
- Unauthorized: {
1113
- headers: {
1431
+ WebShellSessionOptionsRequest: {
1432
+ agentId: string;
1433
+ };
1434
+ WebShellSessionOptions: {
1435
+ /** @enum {string} */
1436
+ approvalMode: "default" | "auto-edit" | "yolo";
1437
+ /** @description Execution policies available at creation. Stored definitions retain their initial policy; existing eligible Sessions may select a policy separately. Plan is an independent overlay. */
1438
+ availableApprovalModes: ("default" | "auto-edit" | "yolo")[];
1439
+ /** @description Optional deployment capability; missing means false. */
1440
+ planModeSupported?: boolean;
1441
+ /** @description Optional deployment capability; missing means false. */
1442
+ inputAttachments?: boolean;
1443
+ };
1444
+ /** @description Safe allowlisted observation for a Workspace-bound Session. Unknown counts are omitted, never estimated. */
1445
+ WebShellModelContext: {
1446
+ /** @description Actual model identity from the committed main-model usage resource. */
1447
+ modelId: string;
1448
+ /** @description Provider prompt token count for the latest successfully committed main-model request; not cumulative billing usage. */
1449
+ inputTokens?: number;
1450
+ /** @description Context capacity from the same resolved model configuration. Missing means unknown. */
1451
+ contextWindowSize?: number;
1452
+ /** @description Timestamp of the committed source observation, in Unix epoch milliseconds. */
1453
+ observedAt: number;
1454
+ };
1455
+ WebShellModelSelection: {
1456
+ modelId?: string;
1457
+ /** Format: int64 */
1458
+ revision: number;
1459
+ };
1460
+ WebShellModelOption: {
1461
+ modelId: string;
1462
+ label: string;
1463
+ };
1464
+ WebShellSessionModelsRequest: {
1465
+ sessionId: string;
1466
+ };
1467
+ WebShellSessionModels: {
1468
+ models: components["schemas"]["WebShellModelOption"][];
1469
+ modelSelection: components["schemas"]["WebShellModelSelection"];
1470
+ supported: boolean;
1471
+ };
1472
+ WebShellChangeModelRequest: {
1473
+ sessionId: string;
1474
+ modelId: string;
1475
+ /** Format: int64 */
1476
+ expectedRevision: number;
1477
+ idempotencyKey: string;
1478
+ requestId?: string;
1479
+ };
1480
+ WebShellModelChangeResult: {
1481
+ sessionId: string;
1482
+ modelSelection: components["schemas"]["WebShellModelSelection"];
1483
+ replayed: boolean;
1484
+ };
1485
+ WebShellSessionApprovalRequest: {
1486
+ sessionId: string;
1487
+ };
1488
+ WebShellSessionApproval: {
1489
+ /** @enum {string} */
1490
+ approvalMode: "default" | "auto-edit" | "yolo";
1491
+ /** Format: int64 */
1492
+ approvalRevision: number;
1493
+ availableApprovalModes: ("default" | "auto-edit" | "yolo")[];
1494
+ supported: boolean;
1495
+ /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
1496
+ planMode?: boolean;
1497
+ /** @description Optional deployment capability; missing means false. */
1498
+ planModeSupported?: boolean;
1499
+ };
1500
+ WebShellChangeApprovalRequest: {
1501
+ sessionId: string;
1502
+ /** Format: int64 */
1503
+ expectedRevision: number;
1504
+ idempotencyKey: string;
1505
+ requestId?: string;
1506
+ /** @enum {string} */
1507
+ approvalMode: "default" | "auto-edit" | "yolo";
1508
+ /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
1509
+ planMode?: boolean;
1510
+ };
1511
+ WebShellApprovalChangeResult: {
1512
+ sessionId: string;
1513
+ /** @enum {string} */
1514
+ approvalMode: "default" | "auto-edit" | "yolo";
1515
+ /** Format: int64 */
1516
+ approvalRevision: number;
1517
+ replayed: boolean;
1518
+ /** @description Persisted public Plan overlay, independent of execution permission. Omission on a change preserves the selected state. */
1519
+ planMode?: boolean;
1520
+ };
1521
+ WebShellRuntimeNode: {
1522
+ nodeId: string;
1523
+ displayName: string;
1524
+ };
1525
+ /** @description Disabled registration returns supported=false and no nodes. This capability controls fresh registration only; existing operation queries remain available. */
1526
+ WebShellRuntimeNodePage: {
1527
+ /** @default false */
1528
+ supported: boolean;
1529
+ data: components["schemas"]["WebShellRuntimeNode"][];
1530
+ } & unknown;
1531
+ WebShellWorkspaceDirectoryRequest: {
1532
+ nodeId: string;
1533
+ /** @description Existing absolute directory on the selected node; no directory or repository is created. */
1534
+ path: string;
1535
+ };
1536
+ WebShellWorkspaceDirectory: {
1537
+ nodeId: string;
1538
+ /** @description Canonical absolute path after remote directory validation. */
1539
+ canonicalPath: string;
1540
+ /** @enum {string} */
1541
+ platform: "linux" | "darwin";
1542
+ };
1543
+ WebShellWorkspaceOperationRequest: {
1544
+ operationId: string;
1545
+ };
1546
+ /** @description workspaceId is returned only after completed registration. recovery_blocked means the registration may have reached its node: it keeps the original ownership until Java reads the node and completes it, or fails it and releases the directory. A node that cannot be read, no longer admits the actor or holds another registration's marker leaves it for administrator review, and a new browser draft does not release it. failed releases the directory if the registration reserved it. replayed=true identifies an existing operation returned by a repeated key or a query. */
1547
+ WebShellWorkspaceCreateOperation: {
1548
+ operationId: string;
1549
+ /** @constant */
1550
+ type: "workspace_create";
1551
+ /** @enum {string} */
1552
+ status: "pending" | "running" | "completed" | "failed" | "cancelled" | "recovery_blocked";
1553
+ workspaceId?: string | null;
1554
+ failureCode?: string | null;
1555
+ replayed: boolean;
1556
+ };
1557
+ WebShellWorkspaceRegisterRequest: {
1558
+ nodeId: string;
1559
+ path: string;
1560
+ displayName: string;
1561
+ /** @description Actor-scoped registration key. Reuse this key and the same semantic fields until the operation identity is known. */
1562
+ idempotencyKey: string;
1563
+ /** @description Trace correlation only; excluded from the request digest, so a retry with another requestId still replays. A header-safe value (1 to 128 visible ASCII characters) is echoed as X-Request-Id; any other value is replaced by a server-chosen id. */
1564
+ requestId?: string | null;
1565
+ };
1566
+ WebShellWorkspaceDirectoryPage: {
1567
+ root: string;
1568
+ cwdRelative: string;
1569
+ truncated: boolean;
1570
+ directories: {
1571
+ name: string;
1572
+ cwdRelative: string;
1573
+ }[];
1574
+ };
1575
+ WebShellWorkspaceDirectoryQueryRequest: {
1576
+ workspaceId: string;
1577
+ cwdRelative: string;
1578
+ };
1579
+ InputTextBlock: {
1580
+ /** @enum {string} */
1581
+ type: "input_text" | "text";
1582
+ text: string;
1583
+ };
1584
+ /** @description Inline UTF-8 text file. No host paths, URLs, binary or NUL. Conservative text MIME/extension validation; the complete canonical input containing attachments is limited to 8 MiB. */
1585
+ InputFileBlock: {
1586
+ /** @enum {string} */
1587
+ type: "input_file";
1588
+ name: string;
1589
+ mime_type: string;
1590
+ text: string;
1591
+ };
1592
+ /** @description Canonical base64 PNG, JPEG, GIF or WebP image with a matching signature. The image/jpg alias is normalized to image/jpeg. The complete canonical input containing attachments is limited to 8 MiB. */
1593
+ InputImageBlock: {
1594
+ /** @enum {string} */
1595
+ type: "input_image";
1596
+ /** @enum {string} */
1597
+ mime_type: "image/png" | "image/jpeg" | "image/jpg" | "image/gif" | "image/webp";
1598
+ data: string;
1599
+ };
1600
+ WebShellSkill: {
1601
+ name: string;
1602
+ description: string;
1603
+ };
1604
+ WebShellSessionSkills: {
1605
+ skills: components["schemas"]["WebShellSkill"][];
1606
+ };
1607
+ WebShellWorkspaceFileQueryRequest: {
1608
+ workspaceId: string;
1609
+ cwdRelative: string;
1610
+ directory: string;
1611
+ query?: string;
1612
+ expectedScopeRevision?: string;
1613
+ };
1614
+ WebShellWorkspaceFileReadRequest: {
1615
+ workspaceId: string;
1616
+ cwdRelative: string;
1617
+ path: string;
1618
+ expectedScopeRevision: string;
1619
+ };
1620
+ WebShellWorkspaceFileEntry: {
1621
+ path: string;
1622
+ name: string;
1623
+ /** @enum {string} */
1624
+ kind: "file" | "directory";
1625
+ };
1626
+ WebShellWorkspaceFilePage: {
1627
+ scopeRevision: string;
1628
+ directory: string;
1629
+ entries: components["schemas"]["WebShellWorkspaceFileEntry"][];
1630
+ truncated: boolean;
1631
+ };
1632
+ WebShellWorkspaceFileSnapshot: {
1633
+ scopeRevision: string;
1634
+ path: string;
1635
+ name: string;
1636
+ /** @enum {string} */
1637
+ mimeType: "text/plain";
1638
+ text: string;
1639
+ byteLength: number;
1640
+ sha256: string;
1641
+ };
1642
+ WebShellToolDetails: {
1643
+ /** @description Allowlisted display arguments, or null when unavailable or larger than 4 KiB. */
1644
+ input: {
1645
+ [key: string]: unknown;
1646
+ } | null;
1647
+ /** @description Recorded text or error, bounded to 8 KiB and 200 lines; null means unavailable, an empty string means recorded empty output. */
1648
+ output: string | null;
1649
+ truncated: boolean;
1650
+ /** @description Validated saved Shell display, when available. Text fields share an 8 KiB/200-line budget; directory and output-file paths share an 8 KiB UTF-8 budget. Legacy text remains in output. */
1651
+ shellResult?: components["schemas"]["WebShellShellResult"];
1652
+ };
1653
+ WebShellShellResult: {
1654
+ /** @constant */
1655
+ type: "shell_result";
1656
+ /** @constant */
1657
+ version: 1;
1658
+ text: string;
1659
+ output: string;
1660
+ directory: string;
1661
+ exitCode: number | null;
1662
+ signal: number | null;
1663
+ pid: number | null;
1664
+ error: string | null;
1665
+ /** @enum {string} */
1666
+ outcome: "completed" | "failed" | "cancelled" | "timed_out";
1667
+ notices: string[];
1668
+ truncated: boolean;
1669
+ outputFiles: string[];
1670
+ };
1671
+ };
1672
+ responses: {
1673
+ /** @description The authenticated actor belongs to another tenant than X-Qwen-Tenant-Id or has an invalid ID (actor_scope_mismatch, which the tenant filter answers on every /v1/agents/ and WebShell route), or the resource is readable but the actor lacks this operation or the original Action responder permission. Artifact content reads may also return artifact_content_forbidden when the actor cannot read the original bytes. */
1674
+ Forbidden: {
1675
+ headers: {
1676
+ [name: string]: unknown;
1677
+ };
1678
+ content: {
1679
+ "application/json": components["schemas"]["ErrorEnvelope"];
1680
+ };
1681
+ };
1682
+ /** @description A trusted actor is required for this request but none was supplied (actor_required). In signed authentication mode (qwenSignature) every covered public and WebShell route additionally answers 401 authentication_required when the signature, timestamp or actor headers are missing, and 401 invalid_signature when the signature is wrong or stale. */
1683
+ Unauthorized: {
1684
+ headers: {
1114
1685
  [name: string]: unknown;
1115
1686
  };
1116
1687
  content: {
@@ -2035,4 +2606,497 @@ export interface operations {
2035
2606
  413: components["responses"]["PayloadTooLarge"];
2036
2607
  };
2037
2608
  };
2609
+ webShellCreateWorkspace: {
2610
+ parameters: {
2611
+ query?: never;
2612
+ header?: never;
2613
+ path?: never;
2614
+ cookie?: never;
2615
+ };
2616
+ requestBody: {
2617
+ content: {
2618
+ "application/json": components["schemas"]["WebShellWorkspaceCreateRequest"];
2619
+ };
2620
+ };
2621
+ responses: {
2622
+ /** @description Created Workspace or authorized same-key replay. */
2623
+ 200: {
2624
+ headers: {
2625
+ [name: string]: unknown;
2626
+ };
2627
+ content: {
2628
+ "application/json": components["schemas"]["WebShellWorkspace"];
2629
+ };
2630
+ };
2631
+ 400: components["responses"]["BadRequest"];
2632
+ 401: components["responses"]["Unauthorized"];
2633
+ 403: components["responses"]["Forbidden"];
2634
+ 404: components["responses"]["NotFound"];
2635
+ 409: components["responses"]["Conflict"];
2636
+ 413: components["responses"]["PayloadTooLarge"];
2637
+ };
2638
+ };
2639
+ queryWebShellSessionOptions: {
2640
+ parameters: {
2641
+ query?: never;
2642
+ header?: never;
2643
+ path?: never;
2644
+ cookie?: never;
2645
+ };
2646
+ requestBody: {
2647
+ content: {
2648
+ "application/json": components["schemas"]["WebShellSessionOptionsRequest"];
2649
+ };
2650
+ };
2651
+ responses: {
2652
+ /** @description Effective default and supported policies. */
2653
+ 200: {
2654
+ headers: {
2655
+ [name: string]: unknown;
2656
+ };
2657
+ content: {
2658
+ "application/json": components["schemas"]["WebShellSessionOptions"];
2659
+ };
2660
+ };
2661
+ 400: components["responses"]["BadRequest"];
2662
+ 401: components["responses"]["Unauthorized"];
2663
+ 403: components["responses"]["Forbidden"];
2664
+ 404: components["responses"]["NotFound"];
2665
+ 413: components["responses"]["PayloadTooLarge"];
2666
+ };
2667
+ };
2668
+ queryWebShellSessionModels: {
2669
+ parameters: {
2670
+ query?: never;
2671
+ header?: never;
2672
+ path?: never;
2673
+ cookie?: never;
2674
+ };
2675
+ requestBody: {
2676
+ content: {
2677
+ "application/json": components["schemas"]["WebShellSessionModelsRequest"];
2678
+ };
2679
+ };
2680
+ responses: {
2681
+ /** @description Session model options. */
2682
+ 200: {
2683
+ headers: {
2684
+ [name: string]: unknown;
2685
+ };
2686
+ content: {
2687
+ "application/json": components["schemas"]["WebShellSessionModels"];
2688
+ };
2689
+ };
2690
+ 400: components["responses"]["BadRequest"];
2691
+ 401: components["responses"]["Unauthorized"];
2692
+ 403: components["responses"]["Forbidden"];
2693
+ 404: components["responses"]["NotFound"];
2694
+ 409: components["responses"]["Conflict"];
2695
+ 413: components["responses"]["PayloadTooLarge"];
2696
+ };
2697
+ };
2698
+ changeWebShellSessionModel: {
2699
+ parameters: {
2700
+ query?: never;
2701
+ header?: never;
2702
+ path?: never;
2703
+ cookie?: never;
2704
+ };
2705
+ requestBody: {
2706
+ content: {
2707
+ "application/json": components["schemas"]["WebShellChangeModelRequest"];
2708
+ };
2709
+ };
2710
+ responses: {
2711
+ /** @description The admitted model selection, or the same original result on replay. */
2712
+ 200: {
2713
+ headers: {
2714
+ [name: string]: unknown;
2715
+ };
2716
+ content: {
2717
+ "application/json": components["schemas"]["WebShellModelChangeResult"];
2718
+ };
2719
+ };
2720
+ 400: components["responses"]["BadRequest"];
2721
+ 401: components["responses"]["Unauthorized"];
2722
+ 403: components["responses"]["Forbidden"];
2723
+ 404: components["responses"]["NotFound"];
2724
+ 409: components["responses"]["Conflict"];
2725
+ 413: components["responses"]["PayloadTooLarge"];
2726
+ };
2727
+ };
2728
+ queryWebShellSessionApproval: {
2729
+ parameters: {
2730
+ query?: never;
2731
+ header?: never;
2732
+ path?: never;
2733
+ cookie?: never;
2734
+ };
2735
+ requestBody: {
2736
+ content: {
2737
+ "application/json": components["schemas"]["WebShellSessionApprovalRequest"];
2738
+ };
2739
+ };
2740
+ responses: {
2741
+ /** @description The current policy options. */
2742
+ 200: {
2743
+ headers: {
2744
+ [name: string]: unknown;
2745
+ };
2746
+ content: {
2747
+ "application/json": components["schemas"]["WebShellSessionApproval"];
2748
+ };
2749
+ };
2750
+ 400: components["responses"]["BadRequest"];
2751
+ 401: components["responses"]["Unauthorized"];
2752
+ 403: components["responses"]["Forbidden"];
2753
+ 404: components["responses"]["NotFound"];
2754
+ 409: components["responses"]["Conflict"];
2755
+ 413: components["responses"]["PayloadTooLarge"];
2756
+ };
2757
+ };
2758
+ changeWebShellSessionApproval: {
2759
+ parameters: {
2760
+ query?: never;
2761
+ header?: never;
2762
+ path?: never;
2763
+ cookie?: never;
2764
+ };
2765
+ requestBody: {
2766
+ content: {
2767
+ "application/json": components["schemas"]["WebShellChangeApprovalRequest"];
2768
+ };
2769
+ };
2770
+ responses: {
2771
+ /** @description The committed approval selection, or its original receipt on replay. */
2772
+ 200: {
2773
+ headers: {
2774
+ [name: string]: unknown;
2775
+ };
2776
+ content: {
2777
+ "application/json": components["schemas"]["WebShellApprovalChangeResult"];
2778
+ };
2779
+ };
2780
+ 400: components["responses"]["BadRequest"];
2781
+ 401: components["responses"]["Unauthorized"];
2782
+ 403: components["responses"]["Forbidden"];
2783
+ 404: components["responses"]["NotFound"];
2784
+ 409: components["responses"]["Conflict"];
2785
+ 413: components["responses"]["PayloadTooLarge"];
2786
+ };
2787
+ };
2788
+ webShellQueryRuntimeNodes: {
2789
+ parameters: {
2790
+ query?: never;
2791
+ header?: never;
2792
+ path?: never;
2793
+ cookie?: never;
2794
+ };
2795
+ requestBody?: never;
2796
+ responses: {
2797
+ /** @description SSH registration capability and authorized machine display names. */
2798
+ 200: {
2799
+ headers: {
2800
+ "X-Request-Id": components["headers"]["RequestId"];
2801
+ "Cache-Control"?: "no-store";
2802
+ [name: string]: unknown;
2803
+ };
2804
+ content: {
2805
+ "application/json": components["schemas"]["WebShellRuntimeNodePage"];
2806
+ };
2807
+ };
2808
+ 400: components["responses"]["BadRequest"];
2809
+ 401: components["responses"]["Unauthorized"];
2810
+ 403: components["responses"]["Forbidden"];
2811
+ 413: components["responses"]["PayloadTooLarge"];
2812
+ };
2813
+ };
2814
+ webShellCheckWorkspaceDirectory: {
2815
+ parameters: {
2816
+ query?: never;
2817
+ header?: never;
2818
+ path?: never;
2819
+ cookie?: never;
2820
+ };
2821
+ requestBody: {
2822
+ content: {
2823
+ "application/json": components["schemas"]["WebShellWorkspaceDirectoryRequest"];
2824
+ };
2825
+ };
2826
+ responses: {
2827
+ /** @description Validated canonical directory on the selected Linux or macOS node. */
2828
+ 200: {
2829
+ headers: {
2830
+ "X-Request-Id": components["headers"]["RequestId"];
2831
+ "Cache-Control"?: "no-store";
2832
+ [name: string]: unknown;
2833
+ };
2834
+ content: {
2835
+ "application/json": components["schemas"]["WebShellWorkspaceDirectory"];
2836
+ };
2837
+ };
2838
+ 400: components["responses"]["BadRequest"];
2839
+ 401: components["responses"]["Unauthorized"];
2840
+ 403: components["responses"]["Forbidden"];
2841
+ 404: components["responses"]["NotFound"];
2842
+ 409: components["responses"]["Conflict"];
2843
+ 413: components["responses"]["PayloadTooLarge"];
2844
+ /** @description The SSH bootstrap response is invalid. */
2845
+ 502: {
2846
+ headers: {
2847
+ [name: string]: unknown;
2848
+ };
2849
+ content: {
2850
+ "application/json": components["schemas"]["ErrorEnvelope"];
2851
+ };
2852
+ };
2853
+ 503: components["responses"]["Unavailable"];
2854
+ };
2855
+ };
2856
+ webShellGetWorkspaceOperation: {
2857
+ parameters: {
2858
+ query?: never;
2859
+ header?: never;
2860
+ path?: never;
2861
+ cookie?: never;
2862
+ };
2863
+ requestBody: {
2864
+ content: {
2865
+ "application/json": components["schemas"]["WebShellWorkspaceOperationRequest"];
2866
+ };
2867
+ };
2868
+ responses: {
2869
+ /** @description Latest durable state of the original actor-owned registration. */
2870
+ 200: {
2871
+ headers: {
2872
+ "X-Request-Id": components["headers"]["RequestId"];
2873
+ "Cache-Control"?: "no-store";
2874
+ [name: string]: unknown;
2875
+ };
2876
+ content: {
2877
+ "application/json": components["schemas"]["WebShellWorkspaceCreateOperation"];
2878
+ };
2879
+ };
2880
+ 400: components["responses"]["BadRequest"];
2881
+ 401: components["responses"]["Unauthorized"];
2882
+ 403: components["responses"]["Forbidden"];
2883
+ 404: components["responses"]["NotFound"];
2884
+ 413: components["responses"]["PayloadTooLarge"];
2885
+ };
2886
+ };
2887
+ webShellRegisterWorkspace: {
2888
+ parameters: {
2889
+ query?: never;
2890
+ header?: never;
2891
+ path?: never;
2892
+ cookie?: never;
2893
+ };
2894
+ requestBody: {
2895
+ content: {
2896
+ "application/json": components["schemas"]["WebShellWorkspaceRegisterRequest"];
2897
+ };
2898
+ };
2899
+ responses: {
2900
+ /** @description Durable registration operation; repeated requests retain the original identity. */
2901
+ 202: {
2902
+ headers: {
2903
+ "X-Request-Id": components["headers"]["RequestId"];
2904
+ "Cache-Control"?: "no-store";
2905
+ [name: string]: unknown;
2906
+ };
2907
+ content: {
2908
+ "application/json": components["schemas"]["WebShellWorkspaceCreateOperation"];
2909
+ };
2910
+ };
2911
+ 400: components["responses"]["BadRequest"];
2912
+ 401: components["responses"]["Unauthorized"];
2913
+ 403: components["responses"]["Forbidden"];
2914
+ 404: components["responses"]["NotFound"];
2915
+ 409: components["responses"]["Conflict"];
2916
+ 413: components["responses"]["PayloadTooLarge"];
2917
+ };
2918
+ };
2919
+ queryWebShellWorkspaceDirectories: {
2920
+ parameters: {
2921
+ query?: never;
2922
+ header?: never;
2923
+ path?: never;
2924
+ cookie?: never;
2925
+ };
2926
+ requestBody: {
2927
+ content: {
2928
+ "application/json": components["schemas"]["WebShellWorkspaceDirectoryQueryRequest"];
2929
+ };
2930
+ };
2931
+ responses: {
2932
+ /** @description Authorized existing directories. */
2933
+ 200: {
2934
+ headers: {
2935
+ [name: string]: unknown;
2936
+ };
2937
+ content: {
2938
+ "application/json": components["schemas"]["WebShellWorkspaceDirectoryPage"];
2939
+ };
2940
+ };
2941
+ 400: components["responses"]["BadRequest"];
2942
+ 401: components["responses"]["Unauthorized"];
2943
+ 403: components["responses"]["Forbidden"];
2944
+ 404: components["responses"]["NotFound"];
2945
+ 409: components["responses"]["Conflict"];
2946
+ };
2947
+ };
2948
+ queryWebShellSessionSkills: {
2949
+ parameters: {
2950
+ query?: never;
2951
+ header?: never;
2952
+ path?: never;
2953
+ cookie?: never;
2954
+ };
2955
+ requestBody: {
2956
+ content: {
2957
+ "application/json": components["schemas"]["WebShellSessionRequest"];
2958
+ };
2959
+ };
2960
+ responses: {
2961
+ /** @description Session static Skill metadata. */
2962
+ 200: {
2963
+ headers: {
2964
+ [name: string]: unknown;
2965
+ };
2966
+ content: {
2967
+ "application/json": components["schemas"]["WebShellSessionSkills"];
2968
+ };
2969
+ };
2970
+ 400: components["responses"]["BadRequest"];
2971
+ 401: components["responses"]["Unauthorized"];
2972
+ 403: components["responses"]["Forbidden"];
2973
+ 404: components["responses"]["NotFound"];
2974
+ 409: components["responses"]["Conflict"];
2975
+ 413: components["responses"]["PayloadTooLarge"];
2976
+ };
2977
+ };
2978
+ webShellWorkspaceFilesQuery: {
2979
+ parameters: {
2980
+ query?: never;
2981
+ header?: never;
2982
+ path?: never;
2983
+ cookie?: never;
2984
+ };
2985
+ requestBody: {
2986
+ content: {
2987
+ "application/json": components["schemas"]["WebShellWorkspaceFileQueryRequest"];
2988
+ };
2989
+ };
2990
+ responses: {
2991
+ /** @description Authorized Workspace file result. */
2992
+ 200: {
2993
+ headers: {
2994
+ [name: string]: unknown;
2995
+ };
2996
+ content: {
2997
+ "application/json": components["schemas"]["WebShellWorkspaceFilePage"];
2998
+ };
2999
+ };
3000
+ 400: components["responses"]["BadRequest"];
3001
+ 401: components["responses"]["Unauthorized"];
3002
+ 403: components["responses"]["Forbidden"];
3003
+ 404: components["responses"]["NotFound"];
3004
+ 409: components["responses"]["Conflict"];
3005
+ 503: components["responses"]["Unavailable"];
3006
+ };
3007
+ };
3008
+ webShellWorkspaceFilesRead: {
3009
+ parameters: {
3010
+ query?: never;
3011
+ header?: never;
3012
+ path?: never;
3013
+ cookie?: never;
3014
+ };
3015
+ requestBody: {
3016
+ content: {
3017
+ "application/json": components["schemas"]["WebShellWorkspaceFileReadRequest"];
3018
+ };
3019
+ };
3020
+ responses: {
3021
+ /** @description Authorized Workspace file result. */
3022
+ 200: {
3023
+ headers: {
3024
+ [name: string]: unknown;
3025
+ };
3026
+ content: {
3027
+ "application/json": components["schemas"]["WebShellWorkspaceFileSnapshot"];
3028
+ };
3029
+ };
3030
+ 400: components["responses"]["BadRequest"];
3031
+ 401: components["responses"]["Unauthorized"];
3032
+ 403: components["responses"]["Forbidden"];
3033
+ 404: components["responses"]["NotFound"];
3034
+ 409: components["responses"]["Conflict"];
3035
+ 503: components["responses"]["Unavailable"];
3036
+ };
3037
+ };
3038
+ getWebShellToolDetails: {
3039
+ parameters: {
3040
+ query?: never;
3041
+ header?: never;
3042
+ path?: never;
3043
+ cookie?: never;
3044
+ };
3045
+ requestBody: {
3046
+ content: {
3047
+ "application/json": components["schemas"]["WebShellToolResultRequest"];
3048
+ };
3049
+ };
3050
+ responses: {
3051
+ /** @description Bounded saved ReadFile/Shell input and text output, read on demand; requires a trusted actor and current Session/Workspace read access. Available to authorized readers without a feature switch. */
3052
+ 200: {
3053
+ headers: {
3054
+ "Cache-Control"?: "private, no-store";
3055
+ [name: string]: unknown;
3056
+ };
3057
+ content: {
3058
+ "application/json": components["schemas"]["WebShellToolDetails"];
3059
+ };
3060
+ };
3061
+ /** @description Invalid request. */
3062
+ 400: {
3063
+ headers: {
3064
+ [name: string]: unknown;
3065
+ };
3066
+ content: {
3067
+ "application/json": components["schemas"]["ErrorEnvelope"];
3068
+ };
3069
+ };
3070
+ /** @description Trusted actor required. */
3071
+ 401: {
3072
+ headers: {
3073
+ [name: string]: unknown;
3074
+ };
3075
+ content: {
3076
+ "application/json": components["schemas"]["ErrorEnvelope"];
3077
+ };
3078
+ };
3079
+ 403: components["responses"]["Forbidden"];
3080
+ /** @description Unknown or unreadable resource. */
3081
+ 404: {
3082
+ headers: {
3083
+ [name: string]: unknown;
3084
+ };
3085
+ content: {
3086
+ "application/json": components["schemas"]["ErrorEnvelope"];
3087
+ };
3088
+ };
3089
+ 409: components["responses"]["Conflict"];
3090
+ 413: components["responses"]["PayloadTooLarge"];
3091
+ /** @description Resource temporarily unavailable. */
3092
+ 503: {
3093
+ headers: {
3094
+ [name: string]: unknown;
3095
+ };
3096
+ content: {
3097
+ "application/json": components["schemas"]["ErrorEnvelope"];
3098
+ };
3099
+ };
3100
+ };
3101
+ };
2038
3102
  }