@qwen-code/web-shell 0.25.1 → 0.25.2-nightly.20261015.c24e99e9cb
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 +54 -12
- package/dist/PierreFilePreview-CZ8Ar0lQ.js +15087 -0
- package/dist/SpreadsheetPreview-uZSXq63C.js +379 -0
- package/dist/WorkspaceFileBrowser-AsgYrr98.js +11389 -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-CufkSNnD.js → agents-route-C6D7csZ5.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-Deg_ZdBo.js → index-uDxF8ke1.js} +49368 -46361
- package/dist/index.js +19 -19
- 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 +7525 -7384
- 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/App.d.ts +6 -4
- 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 +10 -3
- package/dist/types/components/ChatEditor.d.ts +3 -0
- 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 +36 -0
- package/dist/types/components/artifacts/files-messages.transcript-stub.d.ts +2 -0
- package/dist/types/components/artifacts/useArtifactWorkspaceTarget.d.ts +2 -1
- 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 +18 -15
- package/dist/types/components/managed/java-managed-agent-client.d.ts +37 -0
- package/dist/types/components/managed/java-managed-agent-provider.d.ts +4 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +37 -0
- package/dist/types/components/managed/managed-development-options.d.ts +7 -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-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/TasksStatusMessage.d.ts +2 -1
- package/dist/types/components/messages/ToolApproval.d.ts +2 -1
- package/dist/types/components/messages/WorkflowExecutionView.d.ts +3 -1
- package/dist/types/components/messages/toolFormatting.d.ts +3 -3
- package/dist/types/components/messages/workflow-agent-details.d.ts +3 -0
- package/dist/types/components/messages/workflow-agent-details.transcript-stub.d.ts +1 -0
- 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/components/workflows/WorkflowRunsPage.d.ts +3 -1
- package/dist/types/constants/toolNames.d.ts +1 -0
- package/dist/types/customization.d.ts +7 -5
- package/dist/types/daemon/session/turn-notification-context.d.ts +2 -1
- package/dist/types/daemon/session/types.d.ts +4 -1
- package/dist/types/hooks/useComposerCore.d.ts +3 -0
- package/dist/types/hooks/useMcpAppMessages.d.ts +22 -0
- package/dist/types/mcp-app/messages.d.ts +7 -0
- package/dist/types/mcp-app/messages.transcript-stub.d.ts +7 -0
- package/dist/types/mcpAppHostContext.d.ts +13 -0
- package/dist/types/subagentDetailsContext.d.ts +1 -1
- 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/promptAdmission.d.ts +4 -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-Co4lBbW-.js → useDaemonMidTurnInjected-ClQx7vwI.js} +5725 -5076
- 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
|
+
};
|
package/dist/types/App.d.ts
CHANGED
|
@@ -287,8 +287,8 @@ export interface WebShellProps {
|
|
|
287
287
|
/** Built-in @ mention providers to enable. Defaults to all built-ins. */
|
|
288
288
|
builtinAtProviders?: WebShellBuiltinAtProvidersConfig;
|
|
289
289
|
/**
|
|
290
|
-
* Controls
|
|
291
|
-
* and
|
|
290
|
+
* Controls composer uploads (drag-and-drop and the @ panel upload item)
|
|
291
|
+
* and Files tree drag-and-drop uploads. Does not disable attachments.
|
|
292
292
|
* Works alongside the daemon's
|
|
293
293
|
* `workspace_file_upload` capability, not instead of it: `false` force-
|
|
294
294
|
* disables upload even when the daemon advertises the capability, while
|
|
@@ -300,13 +300,14 @@ export interface WebShellProps {
|
|
|
300
300
|
*/
|
|
301
301
|
fileDropAction?: 'upload' | 'attach';
|
|
302
302
|
/**
|
|
303
|
-
* Directory that
|
|
303
|
+
* Directory that composer-dropped files upload into, **relative to the
|
|
304
304
|
* workspace root**. Use a relative path WITHOUT a leading `/` — e.g.
|
|
305
305
|
* `'uploads'`, `'uploads/images'`, or omit it to upload into the
|
|
306
306
|
* workspace root (the default). A leading-slash path like `'/uploads'`
|
|
307
307
|
* is rejected by the daemon as outside the workspace. The directory
|
|
308
308
|
* (including intermediate components) is created automatically on upload
|
|
309
|
-
* when it does not exist.
|
|
309
|
+
* when it does not exist. Files tree drops use the explicit tree destination
|
|
310
|
+
* instead of this setting.
|
|
310
311
|
*/
|
|
311
312
|
fileUploadDirectory?: string;
|
|
312
313
|
/** Additional @ mention categories shown alongside built-in files/extensions. */
|
|
@@ -423,6 +424,7 @@ export interface WebShellProps {
|
|
|
423
424
|
onSubmitBefore?: (params: {
|
|
424
425
|
sessionId: string | undefined;
|
|
425
426
|
prompt: string;
|
|
427
|
+
source?: 'mcp-app';
|
|
426
428
|
}) => Promise<void>;
|
|
427
429
|
}
|
|
428
430
|
interface AppProps extends WebShellProps {
|
|
@@ -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
|
}
|
|
@@ -6,14 +6,21 @@ interface ChatContextHeaderProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* Workspace shown as the header's leading icon. Omitting it means the shell
|
|
8
8
|
* has no workspace: the icon stays the same folder and only its tooltip says
|
|
9
|
-
* so
|
|
10
|
-
*
|
|
9
|
+
* so. In a session this icon always reports the workspace; the empty-state
|
|
10
|
+
* header can defer to a visible composer workspace selector.
|
|
11
11
|
*/
|
|
12
12
|
workspaceName?: string;
|
|
13
13
|
/** Full workspace path, shown as the leading icon's hover tooltip. */
|
|
14
14
|
workspacePath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Hides the leading workspace icon when the new-task composer's workspace
|
|
17
|
+
* selector is visible and already names the workspace.
|
|
18
|
+
*/
|
|
19
|
+
hideWorkspaceIcon?: boolean;
|
|
15
20
|
environmentOpen: boolean;
|
|
16
21
|
environmentAvailable: boolean;
|
|
22
|
+
/** Whether the panel holds an in-progress subagent or background task. */
|
|
23
|
+
environmentRunning?: boolean;
|
|
17
24
|
rightPanelOpen: boolean;
|
|
18
25
|
rightPanelAvailable: boolean;
|
|
19
26
|
onToggleEnvironment: () => void;
|
|
@@ -25,5 +32,5 @@ interface ChatContextHeaderProps {
|
|
|
25
32
|
/** Shows the Local Control QR entry; hidden when omitted. */
|
|
26
33
|
onOpenLocalControlSettings?: () => void;
|
|
27
34
|
}
|
|
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;
|
|
35
|
+
export declare function ChatContextHeader({ content, location, workspaceName, workspacePath, hideWorkspaceIcon, environmentOpen, environmentAvailable, environmentRunning, rightPanelOpen, rightPanelAvailable, onToggleEnvironment, onToggleRightPanel, onOpenTokenUsage, onOpenContextUsage, onOpenLocalControlSettings, }: ChatContextHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
29
36
|
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;
|
|
@@ -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,36 @@
|
|
|
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.uploadTo': string;
|
|
7
|
+
'files.description': string;
|
|
8
|
+
'files.filter': string;
|
|
9
|
+
'files.noMatches': string;
|
|
10
|
+
'files.resizeTree': string;
|
|
11
|
+
'files.toggleTree': string;
|
|
12
|
+
'files.emptyDirectory': string;
|
|
13
|
+
'files.truncated': string;
|
|
14
|
+
'files.loadFailed': string;
|
|
15
|
+
'files.reloadUnavailable': string;
|
|
16
|
+
'files.close': string;
|
|
17
|
+
'files.sourceTooLarge': string;
|
|
18
|
+
};
|
|
19
|
+
export declare const FILES_MESSAGES_ZH: {
|
|
20
|
+
'files.copyRelativePath': string;
|
|
21
|
+
'files.copyAbsolutePath': string;
|
|
22
|
+
'files.reference': string;
|
|
23
|
+
'files.title': string;
|
|
24
|
+
'files.uploadTo': string;
|
|
25
|
+
'files.description': string;
|
|
26
|
+
'files.filter': string;
|
|
27
|
+
'files.noMatches': string;
|
|
28
|
+
'files.resizeTree': string;
|
|
29
|
+
'files.toggleTree': string;
|
|
30
|
+
'files.emptyDirectory': string;
|
|
31
|
+
'files.truncated': string;
|
|
32
|
+
'files.loadFailed': string;
|
|
33
|
+
'files.reloadUnavailable': string;
|
|
34
|
+
'files.close': string;
|
|
35
|
+
'files.sourceTooLarge': string;
|
|
36
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DaemonCapabilities } from '@qwen-code/sdk/daemon';
|
|
2
2
|
import { type DaemonWorkspaceActions } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
3
|
-
|
|
3
|
+
import type { FileUploadClient } from '../../hooks/useFileUpload';
|
|
4
|
+
export type ArtifactWorkspaceActions = Pick<DaemonWorkspaceActions, 'readWorkspaceFile' | 'readFileBytes' | 'stat' | 'listDirectory' | 'listScheduledTasks' | 'updateScheduledTask' | 'deleteScheduledTask'> & Partial<FileUploadClient>;
|
|
4
5
|
interface ArtifactWorkspaceOwner {
|
|
5
6
|
cwd: string;
|
|
6
7
|
id?: string;
|
|
@@ -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;
|