@qwen-code/web-shell 0.25.1 → 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-CufkSNnD.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-Deg_ZdBo.js → index-TQMx4ZTn.js} +50332 -47655
- 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 +4239 -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/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/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 +13 -11
- 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/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/hooks/useComposerCore.d.ts +3 -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-Co4lBbW-.js → useDaemonMidTurnInjected-DP58ZvKF.js} +5584 -4992
- 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
|
@@ -4,6 +4,7 @@ export type ManagedAgentSessionPhase = 'created' | 'admitted' | 'runtime_startin
|
|
|
4
4
|
export type ManagedAgentRuntimeState = 'unknown' | 'starting' | 'ready' | 'failed';
|
|
5
5
|
export interface ManagedAgentSessionSummary {
|
|
6
6
|
sessionId: string;
|
|
7
|
+
agentId?: string;
|
|
7
8
|
activeTurnId?: string;
|
|
8
9
|
title: string;
|
|
9
10
|
workspaceCwd?: string;
|
|
@@ -23,6 +24,7 @@ export interface ManagedAgentSessionSummary {
|
|
|
23
24
|
canSend: boolean;
|
|
24
25
|
canCancel: boolean;
|
|
25
26
|
actions?: boolean;
|
|
27
|
+
tasks?: boolean;
|
|
26
28
|
artifacts?: boolean;
|
|
27
29
|
/** The caller may submit later Turns to this Workspace-bound Session. */
|
|
28
30
|
workspaceTurns?: boolean;
|
|
@@ -65,6 +67,13 @@ export interface ManagedAgentCommandOptions extends ManagedAgentRequestOptions {
|
|
|
65
67
|
idempotencyKey: string;
|
|
66
68
|
}
|
|
67
69
|
export type ManagedCwdOperation = components['schemas']['WebShellCwdOperation'];
|
|
70
|
+
export type ManagedTask = components['schemas']['WebShellTask'];
|
|
71
|
+
export type ManagedTaskPage = components['schemas']['WebShellTaskPage'];
|
|
72
|
+
export type ManagedTaskEvent = components['schemas']['WebShellTaskEvent'];
|
|
73
|
+
export type ManagedTaskEventPage = components['schemas']['WebShellTaskEventPage'];
|
|
74
|
+
export type ManagedTaskCancelOperation = components['schemas']['WebShellCommandOperation'] & {
|
|
75
|
+
type: 'task_cancel';
|
|
76
|
+
};
|
|
68
77
|
/** A Hosted tool approval waiting for the Session owner's answer. */
|
|
69
78
|
export interface ManagedAgentPendingAction {
|
|
70
79
|
actionId: string;
|
|
@@ -93,6 +102,21 @@ export interface ManagedAgentProvider {
|
|
|
93
102
|
respond(action: ManagedAgentPendingAction, optionId: string, options: ManagedAgentCommandOptions): Promise<void>;
|
|
94
103
|
};
|
|
95
104
|
readonly toolResults?: ManagedToolResultReader;
|
|
105
|
+
readonly tasks?: {
|
|
106
|
+
list(sessionId: string, options: ManagedAgentRequestOptions & {
|
|
107
|
+
cursor?: string;
|
|
108
|
+
limit?: number;
|
|
109
|
+
}): Promise<ManagedTaskPage>;
|
|
110
|
+
get(sessionId: string, taskId: string, options: ManagedAgentRequestOptions): Promise<ManagedTask>;
|
|
111
|
+
listEvents(sessionId: string, taskId: string, options: ManagedAgentRequestOptions & {
|
|
112
|
+
after?: string;
|
|
113
|
+
limit?: number;
|
|
114
|
+
}): Promise<ManagedTaskEventPage>;
|
|
115
|
+
readonly cancel?: {
|
|
116
|
+
submit(sessionId: string, taskId: string, options: ManagedAgentCommandOptions): Promise<ManagedTaskCancelOperation>;
|
|
117
|
+
query(sessionId: string, taskId: string, operationId: string, options: ManagedAgentRequestOptions): Promise<ManagedTaskCancelOperation>;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
96
120
|
readonly cwdChange?: {
|
|
97
121
|
submit(sessionId: string, request: {
|
|
98
122
|
cwdRelative: string;
|
|
@@ -102,6 +126,11 @@ export interface ManagedAgentProvider {
|
|
|
102
126
|
};
|
|
103
127
|
readonly workspaceBinding?: {
|
|
104
128
|
readonly agentId: string;
|
|
129
|
+
/** Host-published model-specific AgentDefinitions available for new Sessions. */
|
|
130
|
+
readonly modelPresets?: readonly {
|
|
131
|
+
agentId: string;
|
|
132
|
+
label: string;
|
|
133
|
+
}[];
|
|
105
134
|
list(options: ManagedAgentRequestOptions & {
|
|
106
135
|
cursor?: string;
|
|
107
136
|
limit?: number;
|
|
@@ -119,6 +148,14 @@ export interface ManagedAgentProvider {
|
|
|
119
148
|
}, options: ManagedAgentCommandOptions): Promise<{
|
|
120
149
|
sessionId: string;
|
|
121
150
|
}>;
|
|
151
|
+
createSession?(request: {
|
|
152
|
+
agentId: string;
|
|
153
|
+
workspaceId: string;
|
|
154
|
+
cwdRelative: string;
|
|
155
|
+
text: string;
|
|
156
|
+
}, options: ManagedAgentCommandOptions): Promise<{
|
|
157
|
+
sessionId: string;
|
|
158
|
+
}>;
|
|
122
159
|
};
|
|
123
160
|
listSessions(options: ManagedAgentRequestOptions & {
|
|
124
161
|
workspaceCwd?: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { JavaManagedAgentProviderOptions } from './java-managed-agent-provider';
|
|
2
|
+
/** Local Vite configuration; the production host supplies these provider options directly. */
|
|
3
|
+
export declare function managedDevelopmentOptions(params: URLSearchParams, env: {
|
|
4
|
+
VITE_MANAGED_AGENT_ACTOR_ID?: string;
|
|
5
|
+
VITE_MANAGED_AGENT_MODEL_PRESETS?: string;
|
|
6
|
+
VITE_MANAGED_AGENT_WORKSPACE_BINDING?: string;
|
|
7
|
+
}): Pick<JavaManagedAgentProviderOptions, 'productScope' | 'getHeaders' | 'enableWorkspaceBinding' | 'modelPresets'>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
type ManagedTaskMessage = string | ((vars?: Record<string, string | number>) => string);
|
|
7
|
+
export declare const MANAGED_TASK_MESSAGES_EN: Record<string, ManagedTaskMessage>;
|
|
8
|
+
export declare const MANAGED_TASK_MESSAGES_ZH: Record<string, ManagedTaskMessage>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ManagedTask, ManagedTaskCancelOperation, ManagedTaskEvent } from './managed-agent-provider';
|
|
2
|
+
export declare const task: ManagedTask;
|
|
3
|
+
export declare const taskOperation: ManagedTaskCancelOperation;
|
|
4
|
+
export declare function taskEvent(cursor: string, type?: string): ManagedTaskEvent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ManagedAgentProvider, ManagedTask } from './managed-agent-provider';
|
|
2
|
+
export interface ManagedTaskCancelState {
|
|
3
|
+
status: 'submitting' | 'stopping' | 'unconfirmed' | 'failed';
|
|
4
|
+
busy: boolean;
|
|
5
|
+
code?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function useManagedTaskCancel(provider: ManagedAgentProvider, clientId: string, sessionId: string | undefined, snapshots: readonly ManagedTask[], refreshTasks: () => void, applySnapshot: (task: ManagedTask) => void): {
|
|
8
|
+
states: Record<string, ManagedTaskCancelState>;
|
|
9
|
+
pendingTaskIds: string[];
|
|
10
|
+
submit(task: ManagedTask): Promise<void>;
|
|
11
|
+
resume(taskId: string): Promise<void>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ManagedAgentProvider, ManagedTask } from './managed-agent-provider';
|
|
2
|
+
export declare function isManagedTaskTerminal(task: ManagedTask): boolean;
|
|
3
|
+
export declare function useManagedTasks(provider: ManagedAgentProvider, clientId: string, sessionId: string | undefined, open: boolean): {
|
|
4
|
+
page: {
|
|
5
|
+
data: import("./generated/managed-agent-api").components["schemas"]["WebShellTask"][];
|
|
6
|
+
hasMore: boolean;
|
|
7
|
+
nextCursor?: string | null;
|
|
8
|
+
};
|
|
9
|
+
task: {
|
|
10
|
+
taskId: string;
|
|
11
|
+
sessionId: string;
|
|
12
|
+
kind: import("./generated/managed-agent-api").components["schemas"]["TaskKind"];
|
|
13
|
+
state: import("./generated/managed-agent-api").components["schemas"]["TaskState"];
|
|
14
|
+
definitionRevision?: number;
|
|
15
|
+
runtimeState?: import("./generated/managed-agent-api").components["schemas"]["TaskRuntimeState"];
|
|
16
|
+
createdAt: number;
|
|
17
|
+
startedAt?: number;
|
|
18
|
+
settledAt?: number;
|
|
19
|
+
outputCursor?: string;
|
|
20
|
+
artifactRefs: string[];
|
|
21
|
+
actionCapabilities: import("./generated/managed-agent-api").components["schemas"]["TaskActionCapability"][];
|
|
22
|
+
} | undefined;
|
|
23
|
+
selectedId: string | undefined;
|
|
24
|
+
events: {
|
|
25
|
+
schemaVersion: number;
|
|
26
|
+
projectionVersion: number;
|
|
27
|
+
taskId: string;
|
|
28
|
+
sessionId: string;
|
|
29
|
+
type: import("./generated/managed-agent-api").components["schemas"]["TaskEventType"];
|
|
30
|
+
cursor: string;
|
|
31
|
+
createdAt: number;
|
|
32
|
+
state?: import("./generated/managed-agent-api").components["schemas"]["TaskState"];
|
|
33
|
+
runtimeState?: import("./generated/managed-agent-api").components["schemas"]["TaskRuntimeState"];
|
|
34
|
+
text?: string;
|
|
35
|
+
truncated?: boolean;
|
|
36
|
+
artifactId?: string;
|
|
37
|
+
}[];
|
|
38
|
+
moreEvents: boolean;
|
|
39
|
+
historyGap: boolean;
|
|
40
|
+
loading: boolean;
|
|
41
|
+
error: unknown;
|
|
42
|
+
hasPrevious: boolean;
|
|
43
|
+
refresh: () => void;
|
|
44
|
+
apply: (task: ManagedTask) => void;
|
|
45
|
+
select: (taskId?: string) => void;
|
|
46
|
+
next: () => void;
|
|
47
|
+
previous: () => void;
|
|
48
|
+
loadMoreEvents: () => void;
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BrowserNotificationControl(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface SelectionCopyMenuProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className: string;
|
|
5
|
+
content: string;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function SelectionCopyMenu({ children, className, content, enabled, }: SelectionCopyMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,7 @@ interface ToolApprovalProps {
|
|
|
5
5
|
onConfirm: (id: string, selectedOption: string) => void | Promise<void>;
|
|
6
6
|
variant?: 'inline' | 'floating';
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
showBrowserNotifications?: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Whether this approval should pull keyboard focus to its safe-default option
|
|
10
11
|
* when it becomes the topmost (visible) one — on appearance, or when a panel/
|
|
@@ -32,5 +33,5 @@ export declare function parseTitle(title?: string): {
|
|
|
32
33
|
toolName: string;
|
|
33
34
|
description: string;
|
|
34
35
|
};
|
|
35
|
-
export declare function ToolApproval({ request, onConfirm, variant, disabled, keyboardActive, extraDescriptionId, planTodos, planExecutionMode, generateContent, }: ToolApprovalProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare function ToolApproval({ request, onConfirm, variant, disabled, showBrowserNotifications, keyboardActive, extraDescriptionId, planTodos, planExecutionMode, generateContent, }: ToolApprovalProps): import("react/jsx-runtime").JSX.Element;
|
|
36
37
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { ACPToolCall } from '../../adapters/types';
|
|
2
|
-
export {
|
|
1
|
+
import type { ACPToolCall } from '../../adapters/types.js';
|
|
2
|
+
export { isAskUserQuestionToolName } from '../../constants/toolNames.js';
|
|
3
|
+
export { isActiveToolStatus } from '../../adapters/toolClassification.js';
|
|
3
4
|
/**
|
|
4
5
|
* Internal-tool-name → display-name lookup. This is a standalone copy of
|
|
5
6
|
* core's `ToolDisplayNames` (mapped to wire names, as the CLI's shared
|
|
@@ -19,7 +20,6 @@ export declare function formatToolDisplayName(toolName: string): string;
|
|
|
19
20
|
* English {@link formatToolDisplayName}. Pass the `t` from `useI18n()`.
|
|
20
21
|
*/
|
|
21
22
|
export declare function localizeToolDisplayName(toolName: string, t: (key: string, vars?: Record<string, string | number>) => string): string;
|
|
22
|
-
export declare function isAskUserQuestionToolName(toolName: string): boolean;
|
|
23
23
|
export declare function isAdvisorToolName(toolName: string): boolean;
|
|
24
24
|
export declare function isCompletedAskUserQuestion(tool: ACPToolCall): boolean;
|
|
25
25
|
export declare function getQuestionAnswerResult(tool: ACPToolCall): {
|
|
@@ -44,5 +44,10 @@ export type EnvironmentAgentTask = DaemonSessionAgentTaskStatus & {
|
|
|
44
44
|
color?: string;
|
|
45
45
|
lineageState?: 'complete' | 'orphaned' | 'cycle';
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Statuses this panel renders with a spinner. The header's activity dot keys
|
|
49
|
+
* off the same set, so the dot cannot promise a row the panel shows settled.
|
|
50
|
+
*/
|
|
51
|
+
export declare function isTaskInProgress(status: DaemonSessionTaskWithWorkflowStatus['status']): boolean;
|
|
47
52
|
export declare function EnvironmentPanel({ sources, onOpenSource, retrySourceRegistration, floating, hidden, workspaceCwd, gitWorkspaceCwd, gitCwd, gitSessionId, branch, gitStatus, tasks, agentTasks, attachments, attachmentsLoading, attachmentsError, onRetryAttachments, artifacts, artifactsLoading, items, onOpenGitDiff, onOpenGitCommit, onOpenGitWorktrees, onOpenGitLog, onOpenAgent, onOpenAgentWorkflow, onOpenTask, onReadImage, onImagePreview, onAttachmentPreview, onAttachmentPreviewError, onOpenArtifact, onDismiss, }: EnvironmentPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
48
53
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const alertVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "success" | "default" | "destructive" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
2
|
+
declare const ResizablePanelGroup: import("react").ForwardRefExoticComponent<Omit<ResizablePrimitive.GroupProps, "elementRef"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<ResizablePrimitive.PanelProps, "elementRef"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const ResizableHandle: import("react").ForwardRefExoticComponent<Omit<ResizablePrimitive.SeparatorProps, "elementRef"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -7,3 +7,4 @@
|
|
|
7
7
|
export declare const AGENT_TOOL_NAME = "agent";
|
|
8
8
|
/** Whether a tool name identifies the Agent (sub-agent) tool. */
|
|
9
9
|
export declare function isAgentTool(toolName: string | undefined): boolean;
|
|
10
|
+
export declare function isAskUserQuestionToolName(toolName: string): boolean;
|
|
@@ -136,7 +136,7 @@ export interface WebShellChatHeaderOptions {
|
|
|
136
136
|
/** Built-in header actions to show. Token and context usage are opt-in. */
|
|
137
137
|
items?: readonly WebShellChatHeaderItem[];
|
|
138
138
|
}
|
|
139
|
-
export type WebShellRightPanelItem = 'review' | 'sideTask' | 'terminal' | 'webPreview' | 'trajectory';
|
|
139
|
+
export type WebShellRightPanelItem = 'files' | 'review' | 'sideTask' | 'terminal' | 'webPreview' | 'trajectory';
|
|
140
140
|
export interface WebShellRightPanelOptions {
|
|
141
141
|
/** Empty-state actions to show. Defaults to review and sideTask. */
|
|
142
142
|
items?: readonly WebShellRightPanelItem[];
|
|
@@ -15,10 +15,11 @@ export interface TurnNotificationContent {
|
|
|
15
15
|
sessionTitle?: string;
|
|
16
16
|
promptText?: string;
|
|
17
17
|
responseText?: string;
|
|
18
|
+
attention?: 'approval' | 'question';
|
|
18
19
|
}
|
|
19
20
|
export interface TurnNotification extends TurnNotificationContent {
|
|
20
21
|
key: string;
|
|
21
|
-
outcome: 'completed' | 'failed' | 'ended' | 'cancelled';
|
|
22
|
+
outcome: 'completed' | 'failed' | 'ended' | 'cancelled' | 'approval' | 'question';
|
|
22
23
|
}
|
|
23
24
|
export interface TurnNotificationObserver {
|
|
24
25
|
retain(scope: string): () => void;
|
|
@@ -98,6 +98,7 @@ export interface UseComposerCoreOptions {
|
|
|
98
98
|
atWorkspaceCwd?: string;
|
|
99
99
|
composerScopeKey?: string;
|
|
100
100
|
disableLegacyHistoryFallback?: boolean;
|
|
101
|
+
shellModeEnabled?: boolean;
|
|
101
102
|
attachmentsEnabled?: boolean;
|
|
102
103
|
workspaceFeaturesEnabled?: boolean;
|
|
103
104
|
composerTagIcons?: WebShellComposerTagIconMap;
|
|
@@ -124,6 +125,8 @@ export interface UseComposerCoreOptions {
|
|
|
124
125
|
/** CodeMirror theme extension for the editor view. Each variant provides its own. */
|
|
125
126
|
editorTheme: Parameters<typeof EditorView.theme>[0];
|
|
126
127
|
}
|
|
128
|
+
export declare function getComposerDraftStorageKey(sessionId: string | undefined, workspaceCwd: string | undefined): string | undefined;
|
|
129
|
+
export declare function clearComposerDraftIfMatches(storageKey: string | undefined, text: string): void;
|
|
127
130
|
export interface SearchState {
|
|
128
131
|
searchMode: boolean;
|
|
129
132
|
searchQuery: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { type DaemonEvent, type ExecutionLifecycleEntry, type ToolLifecycleEntry } from '@qwen-code/sdk/daemon';
|
|
7
|
+
import type { Trajectory } from './types';
|
|
8
|
+
import type { TrajectoryLiveSnapshot } from './trajectory-live-store';
|
|
9
|
+
export type TrajectoryLifecycleEntry = ExecutionLifecycleEntry | ToolLifecycleEntry;
|
|
10
|
+
export interface TrajectoryLifecycleProjection {
|
|
11
|
+
byRowKey: ReadonlyMap<string, TrajectoryLifecycleEntry>;
|
|
12
|
+
byExecution: ReadonlyMap<string, TrajectoryLifecycleEntry>;
|
|
13
|
+
outsideWindow: readonly TrajectoryLifecycleEntry[];
|
|
14
|
+
status: TrajectoryLiveSnapshot['status'];
|
|
15
|
+
incomplete: boolean;
|
|
16
|
+
truncated: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function projectHistoricalLifecycle(events: readonly DaemonEvent[]): {
|
|
19
|
+
requests: import("@qwen-code/sdk/daemon").ExecutionLifecycleState;
|
|
20
|
+
tools: import("@qwen-code/sdk/daemon").ToolLifecycleState;
|
|
21
|
+
truncated: boolean;
|
|
22
|
+
incomplete: boolean;
|
|
23
|
+
};
|
|
24
|
+
export declare function projectTrajectoryLifecycle(history: ReturnType<typeof projectHistoricalLifecycle>, trajectory: Trajectory | undefined, identity: {
|
|
25
|
+
sessionId: string;
|
|
26
|
+
scope?: string;
|
|
27
|
+
} | undefined, live: TrajectoryLiveSnapshot): TrajectoryLifecycleProjection;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { type DaemonEvent, type ExecutionLifecycleState, type ToolLifecycleState } from '@qwen-code/sdk/daemon';
|
|
7
|
+
export interface TrajectoryLiveSnapshot {
|
|
8
|
+
readonly sessionId?: string;
|
|
9
|
+
readonly scope?: string;
|
|
10
|
+
readonly epoch?: string;
|
|
11
|
+
readonly lastEventId?: number;
|
|
12
|
+
readonly status: 'catching-up' | 'live' | 'stale' | 'unavailable';
|
|
13
|
+
readonly reason?: string;
|
|
14
|
+
readonly requests: ExecutionLifecycleState;
|
|
15
|
+
readonly tools: ToolLifecycleState;
|
|
16
|
+
readonly incomplete: boolean;
|
|
17
|
+
readonly truncated: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface TrajectoryLiveInput {
|
|
20
|
+
sessionId: string;
|
|
21
|
+
scope: string;
|
|
22
|
+
epoch?: string;
|
|
23
|
+
lastEventId?: number;
|
|
24
|
+
events: readonly DaemonEvent[];
|
|
25
|
+
incomplete: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface TrajectoryLiveStore {
|
|
28
|
+
getSnapshot(): TrajectoryLiveSnapshot;
|
|
29
|
+
subscribe(listener: () => void): () => void;
|
|
30
|
+
begin(owner: object, input: TrajectoryLiveInput): void;
|
|
31
|
+
reconnect(owner: object, liveOnly?: boolean): void;
|
|
32
|
+
ingest(owner: object, event: DaemonEvent, epoch?: string): void;
|
|
33
|
+
invalidate(owner: object, reason: string): void;
|
|
34
|
+
clear(): void;
|
|
35
|
+
}
|
|
36
|
+
export declare function createTrajectoryLiveStore(): TrajectoryLiveStore;
|
|
@@ -15,6 +15,10 @@ export interface TrajectoryTranscriptClient {
|
|
|
15
15
|
cursor?: string;
|
|
16
16
|
}): Promise<TrajectoryPageResult>;
|
|
17
17
|
}
|
|
18
|
+
export declare function trajectoryLoaderIdentity(loader: TrajectoryPageLoader | undefined): {
|
|
19
|
+
sessionId: string;
|
|
20
|
+
scope?: string;
|
|
21
|
+
} | undefined;
|
|
18
22
|
/**
|
|
19
23
|
* A page loader for one session, stable per (client, session).
|
|
20
24
|
*
|
|
@@ -30,4 +34,4 @@ export interface TrajectoryTranscriptClient {
|
|
|
30
34
|
* `summary` projection, which rewrites the event stream the timing frames sit
|
|
31
35
|
* in.
|
|
32
36
|
*/
|
|
33
|
-
export declare function createTrajectoryPageLoader(client: TrajectoryTranscriptClient, sessionId: string): TrajectoryPageLoader;
|
|
37
|
+
export declare function createTrajectoryPageLoader(client: TrajectoryTranscriptClient, sessionId: string, scope?: string): TrajectoryPageLoader;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { DaemonEvent } from '@qwen-code/sdk/daemon';
|
|
7
7
|
import type { Trajectory } from './types';
|
|
8
|
+
import { type TrajectoryLifecycleProjection } from './project-trajectory-lifecycle';
|
|
8
9
|
/**
|
|
9
10
|
* Records asked for per read. The daemon caps a page at 500 records and at
|
|
10
11
|
* 4 MB, whichever binds first, so a session whose tools wrote a lot comes back
|
|
@@ -65,6 +66,7 @@ export type TrajectoryWindowFailure = {
|
|
|
65
66
|
export declare const TRAJECTORY_BOOKMARK_LIMIT = 64;
|
|
66
67
|
export declare const TRAJECTORY_CURSOR_BUDGET: number;
|
|
67
68
|
export interface TrajectoryWindow {
|
|
69
|
+
lifecycle: TrajectoryLifecycleProjection;
|
|
68
70
|
trajectory: Trajectory | undefined;
|
|
69
71
|
status: 'idle' | 'loading' | 'ready' | 'error';
|
|
70
72
|
error?: TrajectoryWindowFailure;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 Qwen Team
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import type { PermissionRequest } from '../adapters/types';
|
|
6
|
+
import type { PermissionRequest } from '../adapters/types.js';
|
|
7
7
|
/**
|
|
8
8
|
* True when a pending permission is an AskUserQuestion prompt (it carries a
|
|
9
9
|
* `questions` array, and either no tool name or the AskUserQuestion tool name)
|
|
@@ -13,6 +13,24 @@ export declare const HIDDEN_COMPOSER_MODEL_IDS: Set<string>;
|
|
|
13
13
|
export declare function isVisibleComposerModel(model: {
|
|
14
14
|
id: string;
|
|
15
15
|
}): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether Settings ▸ Model must hide a row for the discontinued built-in OAuth
|
|
18
|
+
* entry. Settings holds the structured form (`authType` on the provider, the
|
|
19
|
+
* base id on the model), so it rebuilds the encoded id the composer hides by
|
|
20
|
+
* and asks that shared policy instead of restating it at the call site.
|
|
21
|
+
*
|
|
22
|
+
* The row the session is actually running is deliberately kept, matching
|
|
23
|
+
* `isDiscontinuedModel` in the VS Code webview, so a live qwen-oauth session
|
|
24
|
+
* still lists its own model. `isCurrent` is the only usable signal for that:
|
|
25
|
+
* the daemon's provider list skips runtime rows and hardcodes `isRuntime:
|
|
26
|
+
* false`, so the runtime flag never marks the running model.
|
|
27
|
+
*/
|
|
28
|
+
export declare function isDiscontinuedSettingsModel(provider: {
|
|
29
|
+
authType: string;
|
|
30
|
+
}, model: {
|
|
31
|
+
baseModelId: string;
|
|
32
|
+
isCurrent: boolean;
|
|
33
|
+
}): boolean;
|
|
16
34
|
/**
|
|
17
35
|
* Whether the model picker is unavailable for a fresh standalone draft: no
|
|
18
36
|
* session attached yet and the hydrated catalog has no user-selectable
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 Qwen Team
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
type VoiceMessage = string | ((vars?: Record<string, string | number>) => string);
|
|
7
|
+
export declare const VOICE_MESSAGES_EN: Record<string, VoiceMessage>;
|
|
8
|
+
export declare const VOICE_MESSAGES_ZH: Record<string, VoiceMessage>;
|
|
9
|
+
export {};
|