@qwen-code/web-shell 0.25.1-preview.2 → 0.25.2-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.txt +2435 -0
- package/README.md +36 -7
- package/dist/PierreFilePreview-NBjy3yqe.js +15087 -0
- package/dist/SpreadsheetPreview-BlorwcU1.js +379 -0
- package/dist/WorkspaceFileBrowser-B5lzmIet.js +11270 -0
- package/dist/abap-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-BaF0d0xQ.js +6 -0
- package/dist/ada-BF2KzuNn.js +6 -0
- package/dist/{agents-route-B3FonPY-.js → agents-route-DG5XKI_W.js} +35 -35
- package/dist/ahk-B-WqUgDL.js +6 -0
- package/dist/ahk2-SbcCPlaJ.js +6 -0
- package/dist/andromeeda-BbmzSJq1.js +4 -0
- package/dist/angular-html-rmyRipUB.js +32 -0
- package/dist/angular-ts-gqGZGIqw.js +21 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apex-DvkHwMsp.js +6 -0
- package/dist/apl-9WGfvSCD.js +16 -0
- package/dist/applescript-BPx7YFFu.js +6 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/asciidoc-BiIPQCNW.js +6 -0
- package/dist/asm-BTWLY5ym.js +6 -0
- package/dist/astro-B3VnZ88h.js +18 -0
- package/dist/aurora-x-BwoVEUWZ.js +4 -0
- package/dist/awk-Fb0P9dkn.js +6 -0
- package/dist/ayu-dark-DJoqd4M9.js +4 -0
- package/dist/ayu-light-BzXEJRJ-.js +4 -0
- package/dist/ayu-mirage-BJ2oZGzi.js +4 -0
- package/dist/ballerina-oZK-YekG.js +6 -0
- package/dist/bat-ydjv7YKs.js +6 -0
- package/dist/beancount-B97e4I_p.js +6 -0
- package/dist/berry-DODBq_Ff.js +6 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-BorU73w0.js +6 -0
- package/dist/bird2-pg9hCHlc.js +6 -0
- package/dist/blade-C1Ndts_b.js +20 -0
- package/dist/bsl-D_YKmA0K.js +8 -0
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/c3-CFUossGW.js +6 -0
- package/dist/cadence-02UX7mW8.js +6 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/catppuccin-frappe-DUuBHM65.js +4 -0
- package/dist/catppuccin-latte-BNGb0x5j.js +4 -0
- package/dist/catppuccin-macchiato-BxrBWMCk.js +4 -0
- package/dist/catppuccin-mocha-CuiVuFkm.js +4 -0
- package/dist/chapel-eL5CQ0M-.js +8 -0
- package/dist/clarity-9DleLt1s.js +6 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cobol-Dl6_7gJe.js +10 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeql-DHkodjjI.js +6 -0
- package/dist/coffee-DGBR_nr_.js +8 -0
- package/dist/common-lisp-EVqT9Zhp.js +6 -0
- package/dist/coq-5TmQn6M5.js +6 -0
- package/dist/cpp-Bb6c2fiE.js +15 -0
- package/dist/crystal-Bfb0oPlr.js +18 -0
- package/dist/csharp-B2h9rwLg.js +6 -0
- package/dist/css-D8kMf1Az.js +6 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-jpdmjtA6.js +6 -0
- package/dist/d-CBagWSwH.js +6 -0
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/dark-plus-pUHDTVV0.js +4 -0
- package/dist/dart-K6TBxHBr.js +6 -0
- package/dist/dax-CcDT-8dH.js +6 -0
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/dotenv-To_iU2bW.js +6 -0
- package/dist/dracula-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BKa-aqBv.js +4 -0
- package/dist/dream-maker-PAx17jaB.js +6 -0
- package/dist/edge-Qug5O-Uv.js +12 -0
- package/dist/elixir-jJSGlzPp.js +8 -0
- package/dist/elm-BtNbw_Cd.js +8 -0
- package/dist/emacs-lisp--TAIYkU3.js +6 -0
- package/dist/erb-B9A6WGNp.js +10 -0
- package/dist/erlang-DNcDT8Hi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK.js +4 -0
- package/dist/everforest-light-BbXl82Em.js +4 -0
- package/dist/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH.js +6 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fortran-fixed-form-B67KFkXH.js +8 -0
- package/dist/fortran-free-form-CwqYvCLJ.js +6 -0
- package/dist/fsharp-CYOiIVNx.js +8 -0
- package/dist/gdresource-B6Cnl39M.js +10 -0
- package/dist/gdscript-BWeFgEe_.js +6 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -0
- package/dist/github-dark-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H.js +4 -0
- package/dist/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist/github-light-JYsPkUQd.js +4 -0
- package/dist/github-light-default-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist/gleam-Bv284lvN.js +6 -0
- package/dist/glimmer-js-B-ut3b08.js +14 -0
- package/dist/glimmer-ts-CDiMEfki.js +14 -0
- package/dist/glsl-CkUcVZNK.js +8 -0
- package/dist/gn-B0BSgybI.js +6 -0
- package/dist/gnuplot-yPG9-sE_.js +6 -0
- package/dist/go-EbF93JXO.js +6 -0
- package/dist/graphql-CBu2ehBn.js +14 -0
- package/dist/groovy-CJQTphOW.js +6 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
- package/dist/hack-p63ac3SB.js +10 -0
- package/dist/haml-CM7CpQHU.js +10 -0
- package/dist/handlebars-DfCj1TEO.js +14 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe-CfMPOItY.js +6 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/horizon-CJQ10nlf.js +4 -0
- package/dist/horizon-bright-2WzHy-Vo.js +4 -0
- package/dist/houston-BDYrDoDW.js +4 -0
- package/dist/html-Wr5yTrgx.js +10 -0
- package/dist/html-derivative-DG8ajaXt.js +8 -0
- package/dist/http-DLvAkeD-.js +14 -0
- package/dist/hurl-CgkFN90t.js +12 -0
- package/dist/hxml-DV49tgRk.js +8 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/imba-CimUv-Uh.js +6 -0
- package/dist/{index-BPRuZpl-.js → index-TQMx4ZTn.js} +51994 -48732
- package/dist/index.js +22 -22
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/java-DY6VlHhP.js +6 -0
- package/dist/javascript-C25yR2R2.js +6 -0
- package/dist/jinja-BHOV3ePe.js +11 -0
- package/dist/jison-DdreslRX.js +8 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonnet-Bx2cfsXg.js +6 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jsx-BtKADgXT.js +6 -0
- package/dist/julia-BxeXMQSJ.js +16 -0
- package/dist/just-CJ4EVsJK.js +18 -0
- package/dist/kanagawa-dragon-CQySOoTe.js +4 -0
- package/dist/kanagawa-lotus-CJRfph3t.js +4 -0
- package/dist/kanagawa-wave-Cu5PDRcJ.js +4 -0
- package/dist/kdl-BNOv9TC3.js +6 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-BlqsQffZ.js +6 -0
- package/dist/laserwave-6a00oqik.js +4 -0
- package/dist/latex-BfhWTgWa.js +8 -0
- package/dist/lean-BnVxaZxY.js +6 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/liquid-D7d9j__1.js +14 -0
- package/dist/llvm-DMgfhPsy.js +6 -0
- package/dist/log-Al8wyEFV.js +6 -0
- package/dist/logo-DBa4JDzV.js +6 -0
- package/dist/lua-Bp3IRv7I.js +8 -0
- package/dist/luau-1oy8yWWo.js +6 -0
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-D0HGUaN1.js +14 -0
- package/dist/material-theme-D6KBX41T.js +4 -0
- package/dist/material-theme-darker-CkRroheE.js +4 -0
- package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0.js +6 -0
- package/dist/mdc-BI6stFvl.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mermaid-xImSC5pG.js +6 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-DjLViMAF.js +6 -0
- package/dist/monokai-B1aFr0iD.js +4 -0
- package/dist/moonbit-qkz9oK4f.js +6 -0
- package/dist/move-DoIXlL5f.js +6 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-BTRbEaxp.js +8 -0
- package/dist/nextflow-groovy-BJmbcwBu.js +6 -0
- package/dist/nginx-D7O4WoB1.js +8 -0
- package/dist/night-owl-Bm2rzalh.js +4 -0
- package/dist/night-owl-light-CBI5u5kw.js +4 -0
- package/dist/nim-DG7jk4Ht.js +20 -0
- package/dist/nix-fTRXMGic.js +9 -0
- package/dist/nord-CC5OiUXg.js +4 -0
- package/dist/nsis-CtKAvjMM.js +6 -0
- package/dist/nushell-CgtwSlO3.js +6 -0
- package/dist/objective-c-Itk8tzmv.js +6 -0
- package/dist/objective-cpp-DGt5UKRO.js +6 -0
- package/dist/ocaml-eSVK32Eg.js +6 -0
- package/dist/odin-BItnF517.js +6 -0
- package/dist/one-dark-pro-C5d58L87.js +4 -0
- package/dist/one-light-LkMrt1Cf.js +4 -0
- package/dist/openscad-Sp5uZ6f2.js +6 -0
- package/dist/org-C5S6WgHQ.js +100 -0
- package/dist/pascal-xy8pJNns.js +6 -0
- package/dist/perl-vJzCkjjH.js +16 -0
- package/dist/php-DBsTw_pP.js +18 -0
- package/dist/pierre-dark-D52vmD1t.js +4 -0
- package/dist/pierre-dark-protanopia-deuteranopia-Coza2ydH.js +4 -0
- package/dist/pierre-dark-soft-D0o08Lfm.js +4 -0
- package/dist/pierre-dark-tritanopia-BP-A_WyN.js +4 -0
- package/dist/pierre-dark-vibrant-BjUzbiGn.js +4 -0
- package/dist/pierre-light-CzM3AfLn.js +4 -0
- package/dist/pierre-light-protanopia-deuteranopia-DFclCKch.js +4 -0
- package/dist/pierre-light-soft-m3tr_5b6.js +4 -0
- package/dist/pierre-light-tritanopia-Dh0MAsTp.js +4 -0
- package/dist/pierre-light-vibrant-BZSORskK.js +4 -0
- package/dist/pkl-C-zSNmaA.js +6 -0
- package/dist/plastic-CSTz3KZp.js +4 -0
- package/dist/plsql-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/poimandres-C-VADXHD.js +4 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-DwQB8F1X.js +6 -0
- package/dist/prisma-K8HipzoA.js +6 -0
- package/dist/prolog-C5-yg4TO.js +6 -0
- package/dist/proto-C7QgialS.js +6 -0
- package/dist/pug-DWY5n4I0.js +12 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/purescript-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ.js +6 -0
- package/dist/qml-rTNXsquU.js +8 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qss-AeJTysr_.js +6 -0
- package/dist/r-BPg6DDVi.js +6 -0
- package/dist/racket-B83wSAja.js +6 -0
- package/dist/raku-nEQ4ZJJ7.js +6 -0
- package/dist/razor-DfCpierF.js +10 -0
- package/dist/rbs-CssrqYJT.js +6 -0
- package/dist/red-ZH55KNtO.js +4 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/riscv-Ce8MAQLP.js +6 -0
- package/dist/ron-DCEEQypA.js +6 -0
- package/dist/rose-pine-CBkWCxr6.js +4 -0
- package/dist/rose-pine-dawn-B6ai6aO_.js +4 -0
- package/dist/rose-pine-moon-c2UTtcmd.js +4 -0
- package/dist/rosmsg-Cz0w1km8.js +6 -0
- package/dist/rst-DLMli9w9.js +22 -0
- package/dist/ruby-CbJ15R3t.js +30 -0
- package/dist/rust-BMMJSOUe.js +6 -0
- package/dist/sas-CPEc4gxJ.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/scala-B_IFinKC.js +6 -0
- package/dist/scheme-BCRWuEm4.js +6 -0
- package/dist/scss-BoS_aSJ3.js +8 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/shaderlab-Cr62-Wb4.js +8 -0
- package/dist/shellscript-InADTalH.js +6 -0
- package/dist/shellsession-DiDJNQdy.js +8 -0
- package/dist/slack-dark-i7wN4OET.js +4 -0
- package/dist/slack-ochin-ndHf0LoP.js +4 -0
- package/dist/smalltalk-4m7fIk5G.js +6 -0
- package/dist/smithy-BqBKlq_3.js +6 -0
- package/dist/snazzy-light-BlSJXAu4.js +4 -0
- package/dist/solarized-dark-DkqKcBES.js +4 -0
- package/dist/solarized-light-PzVcYh5f.js +4 -0
- package/dist/solidity-CA32r_X5.js +6 -0
- package/dist/soy-zKSLgLn7.js +8 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-CRXR8A9s.js +6 -0
- package/dist/sql-CZBvVSLl.js +6 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-CfG8pWjZ.js +8 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/surrealql-C-LAJEpk.js +8 -0
- package/dist/svelte-DwQZuWui.js +14 -0
- package/dist/sw.js +1 -1
- package/dist/swift-DOmCYlRt.js +6 -0
- package/dist/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-CT3NeZzU.js +6 -0
- package/dist/systemd-C-4qm6XH.js +6 -0
- package/dist/talonscript-CFF3LF_O.js +6 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-kEkd0dRE.js +12 -0
- package/dist/terraform-DGvcn9zM.js +6 -0
- package/dist/tex-CXAy09re.js +8 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/transcript.js +4279 -4134
- package/dist/ts-tags-CheYVw2x.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsx-B8rCNbgL.js +6 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-CDICZk1J.js +18 -0
- package/dist/types/adapters/transcriptAdapter.d.ts +1 -1
- package/dist/types/browser-turn-notifications.d.ts +2 -1
- package/dist/types/components/ChatContextHeader.d.ts +3 -1
- package/dist/types/components/ChatEditor.d.ts +3 -0
- package/dist/types/components/QueuedPromptDisplay.d.ts +4 -1
- package/dist/types/components/WorkspaceSelector.d.ts +2 -1
- package/dist/types/components/artifacts/ArtifactPanel.d.ts +12 -3
- package/dist/types/components/artifacts/PierreFilePreview.d.ts +4 -0
- package/dist/types/components/artifacts/SpreadsheetPreview.d.ts +7 -0
- package/dist/types/components/artifacts/TrajectoryInspector.d.ts +3 -1
- package/dist/types/components/artifacts/TrajectoryPanel.d.ts +2 -1
- package/dist/types/components/artifacts/WorkspaceFileBrowser.d.ts +11 -0
- package/dist/types/components/artifacts/artifactUtils.d.ts +1 -0
- package/dist/types/components/artifacts/excel-preview-parser.d.ts +5 -0
- package/dist/types/components/artifacts/excel-preview-types.d.ts +44 -0
- package/dist/types/components/artifacts/excel-preview.worker.d.ts +1 -0
- package/dist/types/components/artifacts/files-messages.d.ts +34 -0
- package/dist/types/components/artifacts/files-messages.transcript-stub.d.ts +2 -0
- package/dist/types/components/artifacts/useArtifactWorkspaceTarget.d.ts +1 -1
- package/dist/types/components/managed/ManagedSessionCwdControl.d.ts +9 -0
- package/dist/types/components/managed/ManagedTaskPanel.d.ts +15 -0
- package/dist/types/components/managed/ManagedToolResultPanel.d.ts +6 -1
- package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +2 -1
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +20 -11
- package/dist/types/components/managed/java-managed-agent-client.d.ts +39 -1
- package/dist/types/components/managed/java-managed-agent-provider.d.ts +4 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +55 -1
- package/dist/types/components/managed/managed-development-options.d.ts +7 -0
- package/dist/types/components/managed/managed-request-error.d.ts +6 -0
- package/dist/types/components/managed/managed-task-messages.d.ts +9 -0
- package/dist/types/components/managed/managed-task-messages.transcript-stub.d.ts +7 -0
- package/dist/types/components/managed/managed-task.test-fixtures.d.ts +4 -0
- package/dist/types/components/managed/use-managed-cwd-change.d.ts +21 -0
- package/dist/types/components/managed/use-managed-session.d.ts +15 -1
- package/dist/types/components/managed/use-managed-task-cancel.d.ts +12 -0
- package/dist/types/components/managed/use-managed-tasks.d.ts +49 -0
- package/dist/types/components/messages/BrowserNotificationControl.d.ts +1 -0
- package/dist/types/components/messages/SelectionCopyMenu.d.ts +8 -0
- package/dist/types/components/messages/SelectionCopyMenu.transcript-stub.d.ts +2 -0
- package/dist/types/components/messages/ToolApproval.d.ts +2 -1
- package/dist/types/components/messages/toolFormatting.d.ts +3 -3
- package/dist/types/components/panels/EnvironmentPanel.d.ts +5 -0
- package/dist/types/components/ui/alert.d.ts +1 -1
- package/dist/types/components/ui/resizable.d.ts +5 -0
- package/dist/types/constants/toolNames.d.ts +1 -0
- package/dist/types/customization.d.ts +1 -1
- package/dist/types/daemon/session/turn-notification-context.d.ts +2 -1
- package/dist/types/daemon/session/types.d.ts +9 -1
- package/dist/types/hooks/useComposerCore.d.ts +3 -0
- package/dist/types/hooks/useQueuedPrompts.d.ts +2 -0
- package/dist/types/trajectory/project-trajectory-lifecycle.d.ts +27 -0
- package/dist/types/trajectory/trajectory-live-context.d.ts +3 -0
- package/dist/types/trajectory/trajectory-live-store.d.ts +36 -0
- package/dist/types/trajectory/transcriptPageLoader.d.ts +5 -1
- package/dist/types/trajectory/useTrajectoryWindow.d.ts +2 -0
- package/dist/types/utils/askUserPermission.d.ts +1 -1
- package/dist/types/utils/composerModels.d.ts +18 -0
- package/dist/types/utils/selectionClipboard.d.ts +5 -0
- package/dist/types/voice/messages.d.ts +9 -0
- package/dist/types/voice/messages.transcript-stub.d.ts +7 -0
- package/dist/types/voice/voice-error.d.ts +7 -0
- package/dist/typescript-RycA9KXf.js +6 -0
- package/dist/typespec-ClIfKiQP.js +6 -0
- package/dist/typst-E3pfxOv6.js +120 -0
- package/dist/{toolNames-CusX912Z.js → useDaemonMidTurnInjected-DP58ZvKF.js} +5627 -4984
- package/dist/v-CxJbuWik.js +6 -0
- package/dist/vala-uxaPR7d1.js +6 -0
- package/dist/vb-BD2YOVbP.js +6 -0
- package/dist/verilog-BHj4jYdq.js +6 -0
- package/dist/vesper-DIoW1cuD.js +4 -0
- package/dist/vhdl-CUlNa8ac.js +6 -0
- package/dist/viml-DsfA-sWm.js +6 -0
- package/dist/vitesse-black-BoGvW84i.js +4 -0
- package/dist/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist/vitesse-light-CcmG315c.js +4 -0
- package/dist/vue-d9VL4uFG.js +31 -0
- package/dist/vue-html-j9xNEdu3.js +8 -0
- package/dist/vue-vine-Hkz8HiFl.js +18 -0
- package/dist/vyper-CPQuu50u.js +6 -0
- package/dist/wasm-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae.js +7 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-Z-MoUasO.js +6 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-Dz4KXISs.js +6 -0
- package/dist/xml-C2J0sS9M.js +8 -0
- package/dist/xsl-BmSZphgC.js +8 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +16 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import t from "./javascript-C25yR2R2.js";
|
|
2
|
+
import e from "./css-D8kMf1Az.js";
|
|
3
|
+
import n from "./scss-BoS_aSJ3.js";
|
|
4
|
+
import i from "./php-DBsTw_pP.js";
|
|
5
|
+
import a from "./python-BFNSHbwJ.js";
|
|
6
|
+
import s from "./ruby-CbJ15R3t.js";
|
|
7
|
+
const r = Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","injections":{"L:text.html.twig -meta.tag.template -comment.block.twig -string.unquoted.verbatim.twig":{"patterns":[{"include":"#twig-verbatim"},{"include":"#twig-embedded-blocks"},{"include":"#twig-comment-tag"},{"include":"#twig-print-tag"},{"include":"#twig-injected-statement"}]}},"name":"twig","patterns":[{"include":"#twig-verbatim"},{"begin":"(\\\\{%[-~]?)\\\\s*(js|includejs|javascript)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.section.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.section.tag.twig"}},"contentName":"source.js.embedded.twig","end":"(\\\\{%[-~]?)\\\\s*end\\\\2\\\\s*([-~]?%})","endCaptures":{"0":{"name":"keyword.control.twig"}},"patterns":[{"include":"source.js"}]},{"begin":"(\\\\{%[-~]?)\\\\s*((?:|include|includehires)css)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.section.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.section.tag.twig"}},"contentName":"source.css.embedded.twig","end":"(\\\\{%[-~]?)\\\\s*end\\\\2\\\\s*([-~]?%})","endCaptures":{"0":{"name":"keyword.control.twig"}},"patterns":[{"include":"source.css"}]},{"begin":"(\\\\{%[-~]?)\\\\s*((?:|include|includehires)scss)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.section.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.section.tag.twig"}},"contentName":"source.css.scss.embedded.twig","end":"(\\\\{%[-~]?)\\\\s*end\\\\2\\\\s*([-~]?%})","endCaptures":{"0":{"name":"keyword.control.twig"}},"patterns":[{"include":"source.css.scss"}]},{"begin":"(<)([-.0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([-.0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-verbatim"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#twig-verbatim"},{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"begin":"(=)\\\\s*(?=[^\\"'<=>\`\\\\s])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html"}},"contentName":"string.unquoted.html","end":"(?=[>\\\\s])","patterns":[{"include":"#embedded-code"}]},{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#[-~]?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"[-~]?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-embedded-blocks":{"patterns":[{"begin":"(\\\\{%[-~]?)\\\\s*(js|includejs|javascript)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.section.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.section.tag.twig"}},"contentName":"source.js.embedded.twig","end":"(\\\\{%[-~]?)\\\\s*end\\\\2\\\\s*([-~]?%})","endCaptures":{"0":{"name":"keyword.control.twig"}},"patterns":[{"include":"source.js"}]},{"begin":"(\\\\{%[-~]?)\\\\s*((?:|include|includehires)css)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.section.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.section.tag.twig"}},"contentName":"source.css.embedded.twig","end":"(\\\\{%[-~]?)\\\\s*end\\\\2\\\\s*([-~]?%})","endCaptures":{"0":{"name":"keyword.control.twig"}},"patterns":[{"include":"source.css"}]},{"begin":"(\\\\{%[-~]?)\\\\s*((?:|include|includehires)scss)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.section.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.section.tag.twig"}},"contentName":"source.css.scss.embedded.twig","end":"(\\\\{%[-~]?)\\\\s*end\\\\2\\\\s*([-~]?%})","endCaptures":{"0":{"name":"keyword.control.twig"}},"patterns":[{"include":"source.css.scss"}]}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(default|abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"keyword.operator.logical.twig"},"2":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(?:(not)\\\\s+)?(defined|empty|even|iterable|odd|null|same\\\\s+as)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-injected-statement":{"begin":"\\\\{%(?![-~]?\\\\s*end(?:js|javascript|includejs|css|includecss|includehirescss|scss|includescss|includehiresscss)\\\\b)[-~]?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"[-~]?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-keywords":{"match":"\\\\b(?:(?:end)?(?:apply|autoescape|block|cache|deprecated|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim|with)|as|do|else|elseif|extends|flush|from|import|include|only|types|use)\\\\b","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"match":"\\\\?\\\\?|\\\\?:|\\\\?\\\\.|<=>|=>|===|!==","name":"keyword.operator.twig"},{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{[-~]?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"[-~]?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%[-~]?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"[-~]?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.twig"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.twig"}]}]},"twig-verbatim":{"begin":"(\\\\{%[-~]?)\\\\s*(verbatim)\\\\s*([-~]?%})","beginCaptures":{"1":{"name":"punctuation.definition.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.definition.tag.twig"}},"contentName":"string.unquoted.verbatim.twig","end":"(\\\\{%[-~]?)\\\\s*(endverbatim)\\\\s*([-~]?%})","endCaptures":{"1":{"name":"punctuation.definition.tag.twig"},"2":{"name":"keyword.control.twig"},"3":{"name":"punctuation.definition.tag.twig"}},"name":"meta.tag.template.verbatim.twig"}},"scopeName":"text.html.twig","embeddedLangs":["javascript","css","scss","php","python","ruby"]}`)), l = [
|
|
8
|
+
...t,
|
|
9
|
+
...e,
|
|
10
|
+
...n,
|
|
11
|
+
...i,
|
|
12
|
+
...a,
|
|
13
|
+
...s,
|
|
14
|
+
r
|
|
15
|
+
];
|
|
16
|
+
export {
|
|
17
|
+
l as default
|
|
18
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DaemonTranscriptBlock } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
2
|
-
import type { PermissionRequest } from './types';
|
|
2
|
+
import type { PermissionRequest } from './types.js';
|
|
3
3
|
export declare function extractPendingPermission(blocks: readonly DaemonTranscriptBlock[]): PermissionRequest | null;
|
|
4
4
|
export declare function escapePreviewText(text: string): string;
|
|
@@ -7,7 +7,7 @@ import { type ReactNode } from 'react';
|
|
|
7
7
|
import { type WebShellLanguage } from './i18n';
|
|
8
8
|
export declare const BROWSER_NOTIFICATIONS_STORAGE_KEY = "qwen-code-web-shell-browser-notifications";
|
|
9
9
|
export interface WebShellBrowserNotificationsOptions {
|
|
10
|
-
/** Initial preference when none is saved. Defaults to false; never requests permission
|
|
10
|
+
/** Initial preference when none is saved. Defaults to false; mounting alone never requests permission. */
|
|
11
11
|
defaultEnabled?: boolean;
|
|
12
12
|
/** Application name prefixed to notification titles. Defaults to QwenCode. */
|
|
13
13
|
appName?: string;
|
|
@@ -28,6 +28,7 @@ interface BrowserNotificationSettings {
|
|
|
28
28
|
persistent: boolean;
|
|
29
29
|
error: boolean;
|
|
30
30
|
setEnabled(enabled: boolean): Promise<void>;
|
|
31
|
+
requestPermissionOnce(): void;
|
|
31
32
|
refreshPermission(): void;
|
|
32
33
|
syncLanguage(language: WebShellLanguage): void;
|
|
33
34
|
}
|
|
@@ -14,6 +14,8 @@ interface ChatContextHeaderProps {
|
|
|
14
14
|
workspacePath?: string;
|
|
15
15
|
environmentOpen: boolean;
|
|
16
16
|
environmentAvailable: boolean;
|
|
17
|
+
/** Whether the panel holds an in-progress subagent or background task. */
|
|
18
|
+
environmentRunning?: boolean;
|
|
17
19
|
rightPanelOpen: boolean;
|
|
18
20
|
rightPanelAvailable: boolean;
|
|
19
21
|
onToggleEnvironment: () => void;
|
|
@@ -25,5 +27,5 @@ interface ChatContextHeaderProps {
|
|
|
25
27
|
/** Shows the Local Control QR entry; hidden when omitted. */
|
|
26
28
|
onOpenLocalControlSettings?: () => void;
|
|
27
29
|
}
|
|
28
|
-
export declare function ChatContextHeader({ content, location, workspaceName, workspacePath, environmentOpen, environmentAvailable, rightPanelOpen, rightPanelAvailable, onToggleEnvironment, onToggleRightPanel, onOpenTokenUsage, onOpenContextUsage, onOpenLocalControlSettings, }: ChatContextHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function ChatContextHeader({ content, location, workspaceName, workspacePath, environmentOpen, environmentAvailable, environmentRunning, rightPanelOpen, rightPanelAvailable, onToggleEnvironment, onToggleRightPanel, onOpenTokenUsage, onOpenContextUsage, onOpenLocalControlSettings, }: ChatContextHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
29
31
|
export {};
|
|
@@ -105,6 +105,7 @@ interface ChatEditorProps {
|
|
|
105
105
|
workspaces?: WorkspaceSelectorOption[];
|
|
106
106
|
selectedWorkspaceCwd?: string;
|
|
107
107
|
workspaceSelectionDisabled?: boolean;
|
|
108
|
+
workspaceSelectorAlwaysVisible?: boolean;
|
|
108
109
|
onSelectWorkspace?: (workspaceCwd: string | undefined) => void;
|
|
109
110
|
/** Host-aware variant; see WorkspaceSelector. */
|
|
110
111
|
onSelectHostedWorkspace?: (hostOrigin: string, workspaceCwd: string | undefined) => void;
|
|
@@ -118,6 +119,8 @@ interface ChatEditorProps {
|
|
|
118
119
|
onOpenExistingWorkspace?: () => void;
|
|
119
120
|
atWorkspaceCwd?: string;
|
|
120
121
|
composerScopeKey?: string;
|
|
122
|
+
disableLegacyHistoryFallback?: boolean;
|
|
123
|
+
shellModeEnabled?: boolean;
|
|
121
124
|
workspaceFeaturesEnabled?: boolean;
|
|
122
125
|
attachmentsEnabled?: boolean;
|
|
123
126
|
onChatWidthModeChange?: (mode: '1000' | 'wide') => void;
|
|
@@ -44,13 +44,16 @@ export interface QueuedPrompt {
|
|
|
44
44
|
isRemoving?: boolean;
|
|
45
45
|
payloadCompleteness?: 'complete' | 'summary-only';
|
|
46
46
|
}
|
|
47
|
-
export declare function QueuedPromptDisplay({ prompts, t, canMutateMidTurn, canInsertMidTurn, onDelete, onInsert, onEdit, onImagePreview, onAttachmentPreview, }: {
|
|
47
|
+
export declare function QueuedPromptDisplay({ prompts, t, canMutateMidTurn, canInsertMidTurn, canSendMidTurnNow, onDelete, onInsert, onSendNow, onEdit, onImagePreview, onAttachmentPreview, }: {
|
|
48
48
|
prompts: readonly QueuedPrompt[];
|
|
49
49
|
t: ReturnType<typeof getTranslator>;
|
|
50
50
|
canMutateMidTurn?: boolean;
|
|
51
51
|
canInsertMidTurn?: boolean;
|
|
52
|
+
/** The daemon can deliver queued mid-turn messages on request. */
|
|
53
|
+
canSendMidTurnNow?: boolean;
|
|
52
54
|
onDelete: (id: number) => void;
|
|
53
55
|
onInsert: (id: number) => void;
|
|
56
|
+
onSendNow?: (id: number) => void;
|
|
54
57
|
onEdit: (id: number) => void;
|
|
55
58
|
onImagePreview?: (src: string, alt?: string) => void;
|
|
56
59
|
onAttachmentPreview?: (file: AttachmentPreviewRequest) => void;
|
|
@@ -12,6 +12,7 @@ interface WorkspaceSelectorProps {
|
|
|
12
12
|
selectedWorkspaceCwd?: string;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
busy?: boolean;
|
|
15
|
+
alwaysVisible?: boolean;
|
|
15
16
|
scratchSupported: boolean;
|
|
16
17
|
existingFolderSupported: boolean;
|
|
17
18
|
/** Offer a projectless (standalone) target alongside the workspaces. */
|
|
@@ -33,5 +34,5 @@ interface WorkspaceSelectorProps {
|
|
|
33
34
|
* Composer workspace menu. Capability-gated creation actions and disabled
|
|
34
35
|
* untrusted entries keep presentation aligned with daemon authorization.
|
|
35
36
|
*/
|
|
36
|
-
export declare function WorkspaceSelector({ workspaces, selectedWorkspaceCwd, disabled, busy, scratchSupported, existingFolderSupported, standaloneSupported, selectedStandalone, className, onSelectWorkspace, onSelectHostedWorkspace, onSelectStandalone, onCreateScratch, onOpenExistingFolder, }: WorkspaceSelectorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
|
+
export declare function WorkspaceSelector({ workspaces, selectedWorkspaceCwd, disabled, busy, alwaysVisible, scratchSupported, existingFolderSupported, standaloneSupported, selectedStandalone, className, onSelectWorkspace, onSelectHostedWorkspace, onSelectStandalone, onCreateScratch, onOpenExistingFolder, }: WorkspaceSelectorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
38
|
export {};
|
|
@@ -14,7 +14,13 @@ export type ImageTabSource = {
|
|
|
14
14
|
attachmentId: string;
|
|
15
15
|
sessionId?: string;
|
|
16
16
|
};
|
|
17
|
-
export type ArtifactPanelTab =
|
|
17
|
+
export type ArtifactPanelTab = {
|
|
18
|
+
id: string;
|
|
19
|
+
kind: 'files';
|
|
20
|
+
title: string;
|
|
21
|
+
workspaceCwd: string;
|
|
22
|
+
workspaceId?: string;
|
|
23
|
+
} | (WebPreviewState & {
|
|
18
24
|
id: string;
|
|
19
25
|
kind: 'web_preview';
|
|
20
26
|
title: string;
|
|
@@ -152,6 +158,7 @@ export type ArtifactPanelTab = (WebPreviewState & {
|
|
|
152
158
|
* its loading state until then.
|
|
153
159
|
*/
|
|
154
160
|
loadPage?: TrajectoryPageLoader;
|
|
161
|
+
historyGapRevision?: number;
|
|
155
162
|
} | {
|
|
156
163
|
id: string;
|
|
157
164
|
kind: 'token_usage';
|
|
@@ -203,7 +210,7 @@ interface ArtifactPanelProps {
|
|
|
203
210
|
onSelectTurnCallsPrompt?: (turnId: string, recordId?: string, promptId?: string, promptLabel?: string) => void;
|
|
204
211
|
onSelectTab: (tabId: string) => void;
|
|
205
212
|
onCloseTab: (tabId: string) => void;
|
|
206
|
-
onOpenFilePreview: (change: TurnOutputFileChange, workspaceCwd?: string, workspaceId?: string) => void;
|
|
213
|
+
onOpenFilePreview: (change: TurnOutputFileChange | string, workspaceCwd?: string, workspaceId?: string) => void;
|
|
207
214
|
latestReviewAvailable?: boolean;
|
|
208
215
|
onOpenLatestReview?: () => void;
|
|
209
216
|
/** Open an interactive terminal tab in this panel (shown as an empty-state action). */
|
|
@@ -217,6 +224,8 @@ interface ArtifactPanelProps {
|
|
|
217
224
|
* than for any trajectory tab at all.
|
|
218
225
|
*/
|
|
219
226
|
trajectoryTabId?: string;
|
|
227
|
+
onOpenFiles?: () => void;
|
|
228
|
+
onReferenceFile?: (path: string) => void;
|
|
220
229
|
onOpenWebPreview?: () => void;
|
|
221
230
|
onWebPreviewChange?: (tabId: string, state: WebPreviewState) => void;
|
|
222
231
|
items?: readonly WebShellRightPanelItem[];
|
|
@@ -263,5 +272,5 @@ interface ArtifactPanelProps {
|
|
|
263
272
|
fullscreen?: boolean;
|
|
264
273
|
onToggleFullscreen?: () => void;
|
|
265
274
|
}
|
|
266
|
-
export declare function ArtifactPanel({ contextUsageControls, artifacts, tabs, activeTabId, reviewChanges, selectedReviewPath, panelWidth, workspaceCwd, loading, restoring, error, onSelectTab, onSelectTurnCallsPrompt, onCloseTab, onOpenFilePreview, latestReviewAvailable, onOpenLatestReview, onOpenTerminal, onOpenTrajectory, trajectoryTabId, onOpenWebPreview, onWebPreviewChange, items, sideTaskAvailable, sideTasks, sideTasksLoading, onCreateSideTask, onOpenSideTask, onCreateSideTaskSession, onSideTaskCreated, onSideTaskTitleChange, onSideTaskInitialPromptRefused, onNestedRightPanelOpen, onNestedArtifactsChange, onOpenNestedSubagent, agentTasks, agentTraceLoading, agentTraceError, onOpenWorkflowAgent, onError, sessionWorkflowEnabled, modelManagement, workflow, onImageIngestionNotice, deferSubagentMount, onClose, variant, fullscreen, onToggleFullscreen, }: ArtifactPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
275
|
+
export declare function ArtifactPanel({ contextUsageControls, artifacts, tabs, activeTabId, reviewChanges, selectedReviewPath, panelWidth, workspaceCwd, loading, restoring, error, onSelectTab, onSelectTurnCallsPrompt, onCloseTab, onOpenFilePreview, latestReviewAvailable, onOpenLatestReview, onOpenTerminal, onOpenTrajectory, trajectoryTabId, onOpenFiles, onReferenceFile, onOpenWebPreview, onWebPreviewChange, items, sideTaskAvailable, sideTasks, sideTasksLoading, onCreateSideTask, onOpenSideTask, onCreateSideTaskSession, onSideTaskCreated, onSideTaskTitleChange, onSideTaskInitialPromptRefused, onNestedRightPanelOpen, onNestedArtifactsChange, onOpenNestedSubagent, agentTasks, agentTraceLoading, agentTraceError, onOpenWorkflowAgent, onError, sessionWorkflowEnabled, modelManagement, workflow, onImageIngestionNotice, deferSubagentMount, onClose, variant, fullscreen, onToggleFullscreen, }: ArtifactPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
267
276
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ArtifactWorkspaceActions } from './useArtifactWorkspaceTarget';
|
|
2
|
+
export default function SpreadsheetPreview({ workspacePath, workspaceActions, data, artifactVersion, }: {
|
|
3
|
+
workspacePath: string;
|
|
4
|
+
workspaceActions?: ArtifactWorkspaceActions;
|
|
5
|
+
data?: Blob;
|
|
6
|
+
artifactVersion?: string;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
* Copyright 2026 Qwen Team
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
import type { TrajectoryLifecycleEntry } from '../../trajectory/project-trajectory-lifecycle';
|
|
6
7
|
import type { TrajectoryRow } from '../../trajectory/types';
|
|
7
|
-
export declare function TrajectoryInspector({ row, title, stale, turnSelected, hiddenByRange, hiddenByCollapse, hiddenByFilter, onClearFilter, onReveal, onClearRange, onClose, }: {
|
|
8
|
+
export declare function TrajectoryInspector({ row, lifecycle, title, stale, turnSelected, hiddenByRange, hiddenByCollapse, hiddenByFilter, onClearFilter, onReveal, onClearRange, onClose, }: {
|
|
8
9
|
row?: TrajectoryRow;
|
|
10
|
+
lifecycle?: TrajectoryLifecycleEntry;
|
|
9
11
|
title?: string;
|
|
10
12
|
stale?: boolean;
|
|
11
13
|
turnSelected?: boolean;
|
|
@@ -10,5 +10,6 @@ export interface TrajectoryPanelProps {
|
|
|
10
10
|
* tab is waiting to be rewired, which renders as the loading state.
|
|
11
11
|
*/
|
|
12
12
|
loadPage?: TrajectoryPageLoader;
|
|
13
|
+
historyGapRevision?: number;
|
|
13
14
|
}
|
|
14
|
-
export declare function TrajectoryPanel({ loadPage }: TrajectoryPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function TrajectoryPanel({ loadPage, historyGapRevision, }: TrajectoryPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { ArtifactWorkspaceActions } from './useArtifactWorkspaceTarget';
|
|
3
|
+
interface WorkspaceFileBrowserProps {
|
|
4
|
+
workspaceCwd: string;
|
|
5
|
+
actions: ArtifactWorkspaceActions;
|
|
6
|
+
onOpenPreview: (path: string) => void;
|
|
7
|
+
onReferenceFile?: (path: string) => void;
|
|
8
|
+
renderPreview: (path: string, source: boolean, version: number) => ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare function WorkspaceFileBrowser({ workspaceCwd, actions, renderPreview, onOpenPreview, onReferenceFile, }: WorkspaceFileBrowserProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import type { DaemonSessionArtifact, DaemonWorkspaceFileBytes } from '@qwen-code
|
|
|
2
2
|
import type { DaemonWorkspaceActions } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
3
3
|
export declare function artifactKindLabel(kind: string, workspacePath?: string): string;
|
|
4
4
|
export declare function isOfficeDocumentPath(workspacePath?: string): boolean;
|
|
5
|
+
export declare function isExcelFile(workspacePath?: string, mimeType?: string): boolean;
|
|
5
6
|
export declare function isDownloadOnlyWorkspaceArtifact(artifact: {
|
|
6
7
|
kind?: string;
|
|
7
8
|
workspacePath?: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import ExcelJS from 'exceljs';
|
|
2
|
+
import type { ExcelPreviewSheet, ExcelPreviewWorkbookInfo } from './excel-preview-types';
|
|
3
|
+
export declare function loadExcelWorkbook(data: ArrayBuffer): Promise<ExcelJS.Workbook>;
|
|
4
|
+
export declare function getExcelWorkbookInfo(workbook: ExcelJS.Workbook): ExcelPreviewWorkbookInfo;
|
|
5
|
+
export declare function projectExcelSheet(workbook: ExcelJS.Workbook, index: number): ExcelPreviewSheet;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
export declare const MAX_EXCEL_PREVIEW_BYTES: number;
|
|
3
|
+
export declare const MAX_EXCEL_PREVIEW_CELLS = 100000;
|
|
4
|
+
export declare const MAX_EXCEL_PREVIEW_MERGED_CELLS = 100000;
|
|
5
|
+
export declare const MAX_EXCEL_PREVIEW_MERGES = 10000;
|
|
6
|
+
export interface ExcelPreviewCell {
|
|
7
|
+
text: string;
|
|
8
|
+
formula?: string;
|
|
9
|
+
uncalculated?: boolean;
|
|
10
|
+
style: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
export interface ExcelPreviewSheet {
|
|
13
|
+
name: string;
|
|
14
|
+
rows: (ExcelPreviewCell | null)[][];
|
|
15
|
+
columns: number;
|
|
16
|
+
truncated: boolean;
|
|
17
|
+
merges: {
|
|
18
|
+
top: number;
|
|
19
|
+
left: number;
|
|
20
|
+
bottom: number;
|
|
21
|
+
right: number;
|
|
22
|
+
}[];
|
|
23
|
+
}
|
|
24
|
+
export interface ExcelPreviewWorkbookInfo {
|
|
25
|
+
sheetNames: string[];
|
|
26
|
+
}
|
|
27
|
+
export type ExcelPreviewRequest = {
|
|
28
|
+
type: 'load';
|
|
29
|
+
data: ArrayBuffer;
|
|
30
|
+
} | {
|
|
31
|
+
type: 'sheet';
|
|
32
|
+
index: number;
|
|
33
|
+
};
|
|
34
|
+
export type ExcelPreviewResult = {
|
|
35
|
+
type: 'loaded';
|
|
36
|
+
workbook: ExcelPreviewWorkbookInfo;
|
|
37
|
+
} | {
|
|
38
|
+
type: 'sheet';
|
|
39
|
+
index: number;
|
|
40
|
+
sheet: ExcelPreviewSheet;
|
|
41
|
+
} | {
|
|
42
|
+
type: 'error';
|
|
43
|
+
};
|
|
44
|
+
export declare function excelColumnLabel(index: number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const FILES_MESSAGES_EN: {
|
|
2
|
+
'files.copyRelativePath': string;
|
|
3
|
+
'files.copyAbsolutePath': string;
|
|
4
|
+
'files.reference': string;
|
|
5
|
+
'files.title': string;
|
|
6
|
+
'files.description': string;
|
|
7
|
+
'files.filter': string;
|
|
8
|
+
'files.noMatches': string;
|
|
9
|
+
'files.resizeTree': string;
|
|
10
|
+
'files.toggleTree': string;
|
|
11
|
+
'files.emptyDirectory': string;
|
|
12
|
+
'files.truncated': string;
|
|
13
|
+
'files.loadFailed': string;
|
|
14
|
+
'files.reloadUnavailable': string;
|
|
15
|
+
'files.close': string;
|
|
16
|
+
'files.sourceTooLarge': string;
|
|
17
|
+
};
|
|
18
|
+
export declare const FILES_MESSAGES_ZH: {
|
|
19
|
+
'files.copyRelativePath': string;
|
|
20
|
+
'files.copyAbsolutePath': string;
|
|
21
|
+
'files.reference': string;
|
|
22
|
+
'files.title': string;
|
|
23
|
+
'files.description': string;
|
|
24
|
+
'files.filter': string;
|
|
25
|
+
'files.noMatches': string;
|
|
26
|
+
'files.resizeTree': string;
|
|
27
|
+
'files.toggleTree': string;
|
|
28
|
+
'files.emptyDirectory': string;
|
|
29
|
+
'files.truncated': string;
|
|
30
|
+
'files.loadFailed': string;
|
|
31
|
+
'files.reloadUnavailable': string;
|
|
32
|
+
'files.close': string;
|
|
33
|
+
'files.sourceTooLarge': string;
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DaemonCapabilities } from '@qwen-code/sdk/daemon';
|
|
2
2
|
import { type DaemonWorkspaceActions } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
3
|
-
export type ArtifactWorkspaceActions = Pick<DaemonWorkspaceActions, 'readWorkspaceFile' | 'readFileBytes' | 'stat' | 'listScheduledTasks' | 'updateScheduledTask' | 'deleteScheduledTask'>;
|
|
3
|
+
export type ArtifactWorkspaceActions = Pick<DaemonWorkspaceActions, 'readWorkspaceFile' | 'readFileBytes' | 'stat' | 'listDirectory' | 'listScheduledTasks' | 'updateScheduledTask' | 'deleteScheduledTask'>;
|
|
4
4
|
interface ArtifactWorkspaceOwner {
|
|
5
5
|
cwd: string;
|
|
6
6
|
id?: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ManagedAgentSessionSummary } from './managed-agent-provider';
|
|
2
|
+
import type { useManagedCwdChange } from './use-managed-cwd-change';
|
|
3
|
+
export declare function ManagedSessionCwdControl({ summary, supported, cwd, disabledReason, onSubmit, }: {
|
|
4
|
+
summary: ManagedAgentSessionSummary;
|
|
5
|
+
supported: boolean;
|
|
6
|
+
cwd: ReturnType<typeof useManagedCwdChange>;
|
|
7
|
+
disabledReason?: string;
|
|
8
|
+
onSubmit: (path: string, revision: number) => Promise<boolean | void>;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ManagedToolResultReader } from './managed-tool-result-types';
|
|
2
|
+
import type { useManagedTasks } from './use-managed-tasks';
|
|
3
|
+
import type { ManagedTaskCancelState, useManagedTaskCancel } from './use-managed-task-cancel';
|
|
4
|
+
export declare function taskCancelMessage(state: ManagedTaskCancelState): string;
|
|
5
|
+
export declare function ManagedTaskPanel({ wide, tasks, cancel, canCancel, reader, clientId, sessionId, onClose, restoreFocus, }: {
|
|
6
|
+
wide: boolean;
|
|
7
|
+
tasks: ReturnType<typeof useManagedTasks>;
|
|
8
|
+
cancel: ReturnType<typeof useManagedTaskCancel>;
|
|
9
|
+
canCancel: boolean;
|
|
10
|
+
reader?: ManagedToolResultReader;
|
|
11
|
+
clientId: string;
|
|
12
|
+
sessionId: string;
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
restoreFocus: () => void;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ManagedToolResultReader } from './managed-tool-result-types';
|
|
1
|
+
import type { ManagedArtifact, ManagedToolResultReader } from './managed-tool-result-types';
|
|
2
2
|
export declare const MANAGED_OUTPUT_PAGE_BYTES: number;
|
|
3
3
|
export declare function ManagedToolResultPanel({ reader, sessionId, clientId, itemId, onClose, }: {
|
|
4
4
|
reader: ManagedToolResultReader;
|
|
@@ -7,3 +7,8 @@ export declare function ManagedToolResultPanel({ reader, sessionId, clientId, it
|
|
|
7
7
|
itemId?: string;
|
|
8
8
|
onClose: () => void;
|
|
9
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function ManagedArtifactContent({ artifact, reader, clientId, }: {
|
|
11
|
+
artifact: ManagedArtifact;
|
|
12
|
+
reader: ManagedToolResultReader;
|
|
13
|
+
clientId: string;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ManagedAgentProvider } from './managed-agent-provider';
|
|
2
|
-
export declare function WorkspaceBindingCreator({ provider, clientId, onCreated, }: {
|
|
2
|
+
export declare function WorkspaceBindingCreator({ provider, clientId, onCreated, onAbandoned, }: {
|
|
3
3
|
provider: ManagedAgentProvider;
|
|
4
4
|
clientId: string;
|
|
5
5
|
onCreated: (sessionId: string) => void;
|
|
6
|
+
onAbandoned?: () => void;
|
|
6
7
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -74,7 +74,7 @@ export interface paths {
|
|
|
74
74
|
};
|
|
75
75
|
get?: never;
|
|
76
76
|
put?: never;
|
|
77
|
-
/** @description Maps workspaceId/cwdRelative to public Workspace selection without using environmentId or absolute cwd. Shares G0's opt-in initial file-tool Turn admission
|
|
77
|
+
/** @description Maps workspaceId/cwdRelative to public Workspace selection without using environmentId or absolute cwd. Shares G0's opt-in initial file-tool Turn admission with public Session creation: the server-selected profile for the built-in qwen-code agent, and the profile selected by a stored definition's single allowlisted hosted_profile tools entry for a definition-pinned Session. Newly bound qwen-code Sessions, including empty creation, persist hosted-workspace-shell/1 with mandatory default/auto-edit approval when the Shell deployment opt-in is enabled; otherwise they persist hosted-workspace-files/1 with the configured file approval mode. The switch does not override a stored AgentDefinition's compiled profile or approval mode. Public callers cannot select the built-in profile. Any caller holding the OPERATOR role may submit later Turns and rename the Session under the same opt-in, while the Workspace registry row stays ACTIVE and still backs the binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session on the frozen execution profile or pinned to a stored definition; Workspace close follows its separate close capability and lifecycle admission; the same caller may cancel a running Turn (its delivery re-checks no grant it needs survives the cancellation), and the Session's own liveness keeps OPERATOR access even when its Workspace's background-exit observation closes some other bound Session; cancel is always allowed for its own running Turn even outside the Workspace files opt-in. A definition-pinned Session keeps its pinned revision's tool profile, model and instructions for its whole life, and a replay of the create command reuses the original pin; a WebShell Session inherits its Workspace's default Workspace selection when the request omits one. Shell Sessions additionally require the Shell opt-in and valid persisted approval for fresh Turns; disabling only Shell admission preserves original-key replay and accepted approvals and cancellation while Workspace files remain enabled and persisted approval remains valid. The public Shell tool list does not include the child agent tool. Invalid approval or files-off can refuse attachment. Public Shell close, archive, unarchive and delete stay unavailable, including protocol-0. Fresh Shell sending also requires foregroundShell=true; workspaceTurns advertises submit/rename permission and is not sufficient Shell Turn admission. */
|
|
78
78
|
post: operations["webShellCreateSession"];
|
|
79
79
|
delete?: never;
|
|
80
80
|
options?: never;
|
|
@@ -173,7 +173,7 @@ export interface paths {
|
|
|
173
173
|
};
|
|
174
174
|
get?: never;
|
|
175
175
|
put?: never;
|
|
176
|
-
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
176
|
+
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
177
177
|
post: operations["queryWebShellActions"];
|
|
178
178
|
delete?: never;
|
|
179
179
|
options?: never;
|
|
@@ -190,7 +190,7 @@ export interface paths {
|
|
|
190
190
|
};
|
|
191
191
|
get?: never;
|
|
192
192
|
put?: never;
|
|
193
|
-
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
193
|
+
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
194
194
|
post: operations["getWebShellAction"];
|
|
195
195
|
delete?: never;
|
|
196
196
|
options?: never;
|
|
@@ -207,7 +207,7 @@ export interface paths {
|
|
|
207
207
|
};
|
|
208
208
|
get?: never;
|
|
209
209
|
put?: never;
|
|
210
|
-
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
210
|
+
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
211
211
|
post: operations["respondWebShellAction"];
|
|
212
212
|
delete?: never;
|
|
213
213
|
options?: never;
|
|
@@ -475,6 +475,7 @@ export interface components {
|
|
|
475
475
|
/** @description Planned; phase one rejects non-blank values. */
|
|
476
476
|
environmentId?: string | null;
|
|
477
477
|
title?: string | null;
|
|
478
|
+
/** @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. */
|
|
478
479
|
input?: components["schemas"]["InputBlock"][];
|
|
479
480
|
metadata?: components["schemas"]["WebShellMetadata"];
|
|
480
481
|
workspace?: components["schemas"]["WebShellWorkspaceSelection"];
|
|
@@ -485,6 +486,7 @@ export interface components {
|
|
|
485
486
|
idempotencyKey: string;
|
|
486
487
|
/** Format: uuid */
|
|
487
488
|
sessionId: string;
|
|
489
|
+
/** @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. */
|
|
488
490
|
input?: components["schemas"]["InputBlock"][];
|
|
489
491
|
metadata?: components["schemas"]["WebShellMetadata"];
|
|
490
492
|
};
|
|
@@ -496,8 +498,9 @@ export interface components {
|
|
|
496
498
|
sessionId: string;
|
|
497
499
|
turnId: string;
|
|
498
500
|
};
|
|
501
|
+
/** @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. */
|
|
499
502
|
WebShellMetadata: {
|
|
500
|
-
|
|
503
|
+
[key: string]: unknown;
|
|
501
504
|
} | null;
|
|
502
505
|
/** @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. */
|
|
503
506
|
WebShellAdmission: {
|
|
@@ -517,9 +520,6 @@ export interface components {
|
|
|
517
520
|
/** Format: int64 */
|
|
518
521
|
completedAt?: number | null;
|
|
519
522
|
errorCode?: string | null;
|
|
520
|
-
usage?: {
|
|
521
|
-
[key: string]: unknown;
|
|
522
|
-
} | null;
|
|
523
523
|
};
|
|
524
524
|
WebShellSession: {
|
|
525
525
|
/** Format: uuid */
|
|
@@ -541,10 +541,15 @@ export interface components {
|
|
|
541
541
|
capabilities: components["schemas"]["WebShellSessionCapabilities"];
|
|
542
542
|
};
|
|
543
543
|
WebShellSessionCapabilities: {
|
|
544
|
+
/**
|
|
545
|
+
* @description True when Workspace files are enabled, the bound Session is active and undeleted, the caller holds OPERATOR or above on the Workspace and the exact ACTIVE Registry generation/storage and create-command-actor OPERATOR/OWNER grant still hold, matching cwd admission. This does not promise an idle Session and is independent of workspaceTurns execution-profile gates. Missing means false. Existing operations remain queryable under read authorization even when this capability is false.
|
|
546
|
+
* @default false
|
|
547
|
+
*/
|
|
548
|
+
cwdChange?: boolean;
|
|
544
549
|
/** @default false */
|
|
545
550
|
actions: boolean;
|
|
546
551
|
/**
|
|
547
|
-
* @description True when the caller may submit later Turns of this Workspace-bound Session or rename it: the deployment enables Workspace files, the caller holds the OPERATOR role on a Workspace registry row whose state is ACTIVE and still backs the Session's binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is
|
|
552
|
+
* @description True when the caller may submit later Turns of this Workspace-bound Session or rename it: the deployment enables Workspace files, the caller holds the OPERATOR role on a Workspace registry row whose state is ACTIVE and still backs the Session's binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session or a Session pinned to a stored definition (both on the Workspace's frozen execution profile). Cancelling only aborts work already running, so an OPERATOR caller may cancel a running Turn even when this is false; the capability does not gate cancellation. False for every other caller and for unbound Sessions, which do not use it. Shell Sessions also require foregroundShell=true for fresh sending; workspaceTurns may remain true with Shell admission disabled and is not sufficient Shell Turn admission.
|
|
548
553
|
* @default false
|
|
549
554
|
*/
|
|
550
555
|
workspaceTurns: boolean;
|
|
@@ -570,6 +575,8 @@ export interface components {
|
|
|
570
575
|
* @default false
|
|
571
576
|
*/
|
|
572
577
|
sessionDelete?: boolean;
|
|
578
|
+
/** @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. */
|
|
579
|
+
foregroundShell?: boolean;
|
|
573
580
|
};
|
|
574
581
|
WebShellSessionPage: {
|
|
575
582
|
data: components["schemas"]["WebShellSession"][];
|
|
@@ -662,6 +669,8 @@ export interface components {
|
|
|
662
669
|
replay_floor_sequence?: number | null;
|
|
663
670
|
/** Format: int64 */
|
|
664
671
|
snapshot_through_sequence?: number | null;
|
|
672
|
+
/** @description Names the definition field that cannot take effect on 409 agent_definition_unsupported; other errors may omit this field. */
|
|
673
|
+
field?: string;
|
|
665
674
|
};
|
|
666
675
|
};
|
|
667
676
|
/**
|
|
@@ -703,7 +712,7 @@ export interface components {
|
|
|
703
712
|
* @default false
|
|
704
713
|
*/
|
|
705
714
|
workspaceContext: boolean;
|
|
706
|
-
/** @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 Read/Write/Edit
|
|
715
|
+
/** @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. */
|
|
707
716
|
workspaceBinding: boolean;
|
|
708
717
|
};
|
|
709
718
|
/** @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. */
|
|
@@ -1558,7 +1567,7 @@ export interface operations {
|
|
|
1558
1567
|
};
|
|
1559
1568
|
400: components["responses"]["BadRequest"];
|
|
1560
1569
|
401: components["responses"]["Unauthorized"];
|
|
1561
|
-
/** @description Responding requires the Session's recorded owner or a Workspace OPERATOR (action_forbidden). An unbound Session with no recorded creator and no recorded create command (anonymous open-mode creation, or an unbound Session created before the V40 migration that also has no Workspace creation record) answers to any caller in its tenant, matching its read ACL; a bound Session with no recorded owner answers through the create-command actor recorded for it, or through the Workspace role arm. The tenant filter's 403 actor_scope_mismatch also applies on this route. */
|
|
1570
|
+
/** @description Responding requires the Session's recorded owner or a Workspace OPERATOR (action_forbidden); a Shell Session's Actions may be answered only by its recorded owner. An unbound Session with no recorded creator and no recorded create command (anonymous open-mode creation, or an unbound Session created before the V40 migration that also has no Workspace creation record) answers to any caller in its tenant, matching its read ACL; a bound Session with no recorded owner answers through the create-command actor recorded for it, or through the Workspace role arm. The tenant filter's 403 actor_scope_mismatch also applies on this route. */
|
|
1562
1571
|
403: components["responses"]["Forbidden"];
|
|
1563
1572
|
/** @description Unknown or unreadable Session (session_not_found), or unknown Action (action_not_found). */
|
|
1564
1573
|
404: components["responses"]["NotFound"];
|