@qwen-code/web-shell 0.25.1-preview.2 → 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-B3FonPY-.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-BPRuZpl-.js → index-uDxF8ke1.js} +51425 -47833
- 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 +7565 -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/QueuedPromptDisplay.d.ts +4 -1
- package/dist/types/components/WorkspaceSelector.d.ts +2 -1
- package/dist/types/components/artifacts/ArtifactPanel.d.ts +12 -3
- package/dist/types/components/artifacts/PierreFilePreview.d.ts +4 -0
- package/dist/types/components/artifacts/SpreadsheetPreview.d.ts +7 -0
- package/dist/types/components/artifacts/TrajectoryInspector.d.ts +3 -1
- package/dist/types/components/artifacts/TrajectoryPanel.d.ts +2 -1
- package/dist/types/components/artifacts/WorkspaceFileBrowser.d.ts +11 -0
- package/dist/types/components/artifacts/artifactUtils.d.ts +1 -0
- package/dist/types/components/artifacts/excel-preview-parser.d.ts +5 -0
- package/dist/types/components/artifacts/excel-preview-types.d.ts +44 -0
- package/dist/types/components/artifacts/excel-preview.worker.d.ts +1 -0
- package/dist/types/components/artifacts/files-messages.d.ts +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/ManagedSessionCwdControl.d.ts +9 -0
- package/dist/types/components/managed/ManagedTaskPanel.d.ts +15 -0
- package/dist/types/components/managed/ManagedToolResultPanel.d.ts +6 -1
- package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +2 -1
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +25 -15
- package/dist/types/components/managed/java-managed-agent-client.d.ts +39 -1
- package/dist/types/components/managed/java-managed-agent-provider.d.ts +4 -0
- package/dist/types/components/managed/managed-agent-provider.d.ts +55 -1
- package/dist/types/components/managed/managed-development-options.d.ts +7 -0
- package/dist/types/components/managed/managed-request-error.d.ts +6 -0
- package/dist/types/components/managed/managed-task-messages.d.ts +9 -0
- package/dist/types/components/managed/managed-task-messages.transcript-stub.d.ts +7 -0
- package/dist/types/components/managed/managed-task.test-fixtures.d.ts +4 -0
- package/dist/types/components/managed/use-managed-cwd-change.d.ts +21 -0
- package/dist/types/components/managed/use-managed-session.d.ts +15 -1
- package/dist/types/components/managed/use-managed-task-cancel.d.ts +12 -0
- package/dist/types/components/managed/use-managed-tasks.d.ts +49 -0
- package/dist/types/components/messages/BrowserNotificationControl.d.ts +1 -0
- package/dist/types/components/messages/SelectionCopyMenu.d.ts +8 -0
- package/dist/types/components/messages/SelectionCopyMenu.transcript-stub.d.ts +2 -0
- package/dist/types/components/messages/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 +13 -2
- package/dist/types/hooks/useComposerCore.d.ts +3 -0
- package/dist/types/hooks/useMcpAppMessages.d.ts +22 -0
- package/dist/types/hooks/useQueuedPrompts.d.ts +2 -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-CusX912Z.js → useDaemonMidTurnInjected-ClQx7vwI.js} +5768 -5068
- 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
|
@@ -57,7 +57,7 @@ export interface paths {
|
|
|
57
57
|
};
|
|
58
58
|
get?: never;
|
|
59
59
|
put?: never;
|
|
60
|
-
/** @description POST SSE consumed through fetch response.body. An afterSequence below the replay floor ends the stream with one agent.session.resync_required frame
|
|
60
|
+
/** @description POST SSE consumed through fetch response.body. An afterSequence strictly below the durable replay floor ends the stream with one agent.session.resync_required frame. Projection rebuilds preserve that floor and the current immutable Snapshot. On the resync frame, reload the transcript and resume after its lastSequence. */
|
|
61
61
|
post: operations["webShellStreamEvents"];
|
|
62
62
|
delete?: never;
|
|
63
63
|
options?: never;
|
|
@@ -74,7 +74,7 @@ export interface paths {
|
|
|
74
74
|
};
|
|
75
75
|
get?: never;
|
|
76
76
|
put?: never;
|
|
77
|
-
/** @description Maps workspaceId/cwdRelative to public Workspace selection without using environmentId or absolute cwd. Shares G0's opt-in initial file-tool Turn admission
|
|
77
|
+
/** @description Maps workspaceId/cwdRelative to public Workspace selection without using environmentId or absolute cwd. Shares G0's opt-in initial file-tool Turn admission with public Session creation: the server-selected profile for the built-in qwen-code agent, and the profile selected by a stored definition's single allowlisted hosted_profile tools entry for a definition-pinned Session. Newly bound qwen-code Sessions, including empty creation, persist hosted-workspace-shell/1 with mandatory default/auto-edit approval when the Shell deployment opt-in is enabled; otherwise they persist hosted-workspace-files/1 with the configured file approval mode. The switch does not override a stored AgentDefinition's compiled profile or approval mode. Public callers cannot select the built-in profile. Any caller holding the OPERATOR role may submit later Turns and rename the Session under the same opt-in, while the Workspace registry row stays ACTIVE and still backs the binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session on the frozen execution profile or pinned to a stored definition; Workspace close follows its separate close capability and lifecycle admission; the same caller may cancel a running Turn (its delivery re-checks no grant it needs survives the cancellation), and the Session's own liveness keeps OPERATOR access even when its Workspace's background-exit observation closes some other bound Session; cancel is always allowed for its own running Turn even outside the Workspace files opt-in. A definition-pinned Session keeps its pinned revision's tool profile, model and instructions for its whole life, and a replay of the create command reuses the original pin; a WebShell Session inherits its Workspace's default Workspace selection when the request omits one. Shell Sessions additionally require the Shell opt-in and valid persisted approval for fresh Turns; disabling only Shell admission preserves original-key replay and accepted approvals and cancellation while Workspace files remain enabled and persisted approval remains valid. The public Shell tool list does not include the child agent tool. Invalid approval or files-off can refuse attachment. Public Shell close, archive, unarchive and delete stay unavailable, including protocol-0. Fresh Shell sending also requires foregroundShell=true; workspaceTurns advertises submit/rename permission and is not sufficient Shell Turn admission. */
|
|
78
78
|
post: operations["webShellCreateSession"];
|
|
79
79
|
delete?: never;
|
|
80
80
|
options?: never;
|
|
@@ -173,7 +173,7 @@ export interface paths {
|
|
|
173
173
|
};
|
|
174
174
|
get?: never;
|
|
175
175
|
put?: never;
|
|
176
|
-
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
176
|
+
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
177
177
|
post: operations["queryWebShellActions"];
|
|
178
178
|
delete?: never;
|
|
179
179
|
options?: never;
|
|
@@ -190,7 +190,7 @@ export interface paths {
|
|
|
190
190
|
};
|
|
191
191
|
get?: never;
|
|
192
192
|
put?: never;
|
|
193
|
-
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
193
|
+
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
194
194
|
post: operations["getWebShellAction"];
|
|
195
195
|
delete?: never;
|
|
196
196
|
options?: never;
|
|
@@ -207,7 +207,7 @@ export interface paths {
|
|
|
207
207
|
};
|
|
208
208
|
get?: never;
|
|
209
209
|
put?: never;
|
|
210
|
-
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
210
|
+
/** @description D6 serves Hosted permission Actions. Question Actions and vote_recorded remain planned. Reads follow Session authorization; the Session's recorded owner or any caller holding OPERATOR on the bound Workspace may respond; a Shell Session's Actions may be answered only by its recorded owner (an unbound Session with no recorded creator and no recorded create command answers to any caller in its tenant, matching its read ACL; a bound Session without an owner record answers through the create-command actor recorded for it, or through the Workspace role arm). Responses are durable operations, reconciled against the original journal decision. */
|
|
211
211
|
post: operations["respondWebShellAction"];
|
|
212
212
|
delete?: never;
|
|
213
213
|
options?: never;
|
|
@@ -404,7 +404,7 @@ export interface paths {
|
|
|
404
404
|
};
|
|
405
405
|
get?: never;
|
|
406
406
|
put?: never;
|
|
407
|
-
/** @description Synchronously restores an archived Session to closed. Workspace-bound Sessions require completed reliable-close evidence and the Session's recorded owner with current read access (404 unreadable, 403 readable non-owner). Bound keys are tenant/Session/actor scoped. Replay returns the
|
|
407
|
+
/** @description Synchronously restores an archived Session to closed. Workspace-bound Sessions require completed reliable-close evidence and the Session's recorded owner with current read access (404 unreadable, 403 readable non-owner). Bound keys are tenant/Session/actor scoped. Replay returns the recorded outcome without repeating the mutation; a replay after delete answers with the Session as last visible — its pre-delete status — rather than 404. The permanent close fence is preserved and no Harness or Runtime call is made. */
|
|
408
408
|
post: operations["unarchiveWebShellSession"];
|
|
409
409
|
delete?: never;
|
|
410
410
|
options?: never;
|
|
@@ -474,7 +474,9 @@ export interface components {
|
|
|
474
474
|
agentId: string;
|
|
475
475
|
/** @description Planned; phase one rejects non-blank values. */
|
|
476
476
|
environmentId?: string | null;
|
|
477
|
+
/** @description The server enforces the bound in UTF-16 code units (Java String.length()), so an astral character counts as two: a title this schema's code-point maxLength accepts can still exceed the server's 256-unit bound and answer 400 invalid_title. */
|
|
477
478
|
title?: string | null;
|
|
479
|
+
/** @description Each block adds to a 4,000,000-character aggregate admission budget per command (per-block 1,000,000-character cap applies). Admission ceiling only: a command whose serialized prompt or durable Session-store record exceeds the Hosted Harness's 64 KiB durable-record limit is accepted and then fails the Turn with hosted_harness_rejected. */
|
|
478
480
|
input?: components["schemas"]["InputBlock"][];
|
|
479
481
|
metadata?: components["schemas"]["WebShellMetadata"];
|
|
480
482
|
workspace?: components["schemas"]["WebShellWorkspaceSelection"];
|
|
@@ -485,6 +487,7 @@ export interface components {
|
|
|
485
487
|
idempotencyKey: string;
|
|
486
488
|
/** Format: uuid */
|
|
487
489
|
sessionId: string;
|
|
490
|
+
/** @description Each block adds to a 4,000,000-character aggregate admission budget per command (per-block 1,000,000-character cap applies). Admission ceiling only: a command whose serialized prompt or durable Session-store record exceeds the Hosted Harness's 64 KiB durable-record limit is accepted and then fails the Turn with hosted_harness_rejected. */
|
|
488
491
|
input?: components["schemas"]["InputBlock"][];
|
|
489
492
|
metadata?: components["schemas"]["WebShellMetadata"];
|
|
490
493
|
};
|
|
@@ -496,8 +499,9 @@ export interface components {
|
|
|
496
499
|
sessionId: string;
|
|
497
500
|
turnId: string;
|
|
498
501
|
};
|
|
502
|
+
/** @description Arbitrary caller metadata, as a JSON object (or null). Accepted and ignored in Phase 1: nothing from it is persisted. On WebShellCreateRequest the Session title travels in that request's own `title` field; WebShellSubmitRequest has no title surface. Any keys are valid. */
|
|
499
503
|
WebShellMetadata: {
|
|
500
|
-
|
|
504
|
+
[key: string]: unknown;
|
|
501
505
|
} | null;
|
|
502
506
|
/** @description With durable_operations enabled, all three target fields are returned. accepted means Java durable delivery responsibility, not model execution. Missing fields retain the deployed legacy response semantics. */
|
|
503
507
|
WebShellAdmission: {
|
|
@@ -517,9 +521,6 @@ export interface components {
|
|
|
517
521
|
/** Format: int64 */
|
|
518
522
|
completedAt?: number | null;
|
|
519
523
|
errorCode?: string | null;
|
|
520
|
-
usage?: {
|
|
521
|
-
[key: string]: unknown;
|
|
522
|
-
} | null;
|
|
523
524
|
};
|
|
524
525
|
WebShellSession: {
|
|
525
526
|
/** Format: uuid */
|
|
@@ -541,10 +542,15 @@ export interface components {
|
|
|
541
542
|
capabilities: components["schemas"]["WebShellSessionCapabilities"];
|
|
542
543
|
};
|
|
543
544
|
WebShellSessionCapabilities: {
|
|
545
|
+
/**
|
|
546
|
+
* @description True when Workspace files are enabled, the bound Session is active and undeleted, the caller holds OPERATOR or above on the Workspace and the exact ACTIVE Registry generation/storage and create-command-actor OPERATOR/OWNER grant still hold, matching cwd admission. This does not promise an idle Session and is independent of workspaceTurns execution-profile gates. Missing means false. Existing operations remain queryable under read authorization even when this capability is false.
|
|
547
|
+
* @default false
|
|
548
|
+
*/
|
|
549
|
+
cwdChange?: boolean;
|
|
544
550
|
/** @default false */
|
|
545
551
|
actions: boolean;
|
|
546
552
|
/**
|
|
547
|
-
* @description True when the caller may submit later Turns of this Workspace-bound Session or rename it: the deployment enables Workspace files, the caller holds the OPERATOR role on a Workspace registry row whose state is ACTIVE and still backs the Session's binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is
|
|
553
|
+
* @description True when the caller may submit later Turns of this Workspace-bound Session or rename it: the deployment enables Workspace files, the caller holds the OPERATOR role on a Workspace registry row whose state is ACTIVE and still backs the Session's binding, the actor recorded by the Workspace create command keeps OPERATOR or above, and the Session is active and undeleted and is either a qwen-code Session or a Session pinned to a stored definition (both on the Workspace's frozen execution profile). Cancelling only aborts work already running, so an OPERATOR caller may cancel a running Turn even when this is false; the capability does not gate cancellation. False for every other caller and for unbound Sessions, which do not use it. Shell Sessions also require foregroundShell=true for fresh sending; workspaceTurns may remain true with Shell admission disabled and is not sufficient Shell Turn admission.
|
|
548
554
|
* @default false
|
|
549
555
|
*/
|
|
550
556
|
workspaceTurns: boolean;
|
|
@@ -570,6 +576,8 @@ export interface components {
|
|
|
570
576
|
* @default false
|
|
571
577
|
*/
|
|
572
578
|
sessionDelete?: boolean;
|
|
579
|
+
/** @description Present only for persisted Shell Sessions, with no schema default; files and unbound Sessions omit it. True when Workspace files, Shell deployment admission and persisted default/auto-edit approval are valid. False prevents fresh sending. Disabling only the Shell flag preserves accepted cancellation and approval while Workspace files remain enabled and persisted approval remains valid; files-off or invalid approval can refuse attachment. This capability does not override authorization or recovery refusals. */
|
|
580
|
+
foregroundShell?: boolean;
|
|
573
581
|
};
|
|
574
582
|
WebShellSessionPage: {
|
|
575
583
|
data: components["schemas"]["WebShellSession"][];
|
|
@@ -662,6 +670,8 @@ export interface components {
|
|
|
662
670
|
replay_floor_sequence?: number | null;
|
|
663
671
|
/** Format: int64 */
|
|
664
672
|
snapshot_through_sequence?: number | null;
|
|
673
|
+
/** @description Names the definition field that cannot take effect on 409 agent_definition_unsupported; other errors may omit this field. */
|
|
674
|
+
field?: string;
|
|
665
675
|
};
|
|
666
676
|
};
|
|
667
677
|
/**
|
|
@@ -703,7 +713,7 @@ export interface components {
|
|
|
703
713
|
* @default false
|
|
704
714
|
*/
|
|
705
715
|
workspaceContext: boolean;
|
|
706
|
-
/** @description Supports authorized Workspace discovery, Session creation, and saved binding read-back. This capability does not advertise execution readiness. Deployments may separately opt in to an initial Workspace Read/Write/Edit
|
|
716
|
+
/** @description Supports authorized Workspace discovery, Session creation, and saved binding read-back. This capability does not advertise execution readiness. Deployments may separately opt in to an initial Workspace Turn at creation: Read/Write/Edit under hosted-workspace-files/1, or file tools plus mandatory-approval foreground Shell under hosted-workspace-shell/1 when the Shell opt-in is enabled. The public Shell tool list does not include the child agent tool. Callers holding the OPERATOR role may submit later Turns or rename under the same opt-in while the registry row stays ACTIVE and still backs the Session's binding and the actor recorded by the Workspace create command keeps OPERATOR or above, and may cancel a running Turn (its delivery re-checks no grants). Shell fresh sending also requires foregroundShell=true. Public Shell close, archive, unarchive and delete stay unavailable, including protocol-0, while close of other profiles follows its separate capability and lifecycle admission; archive, delete and unarchive follow their separate retention capabilities after reliable Workspace close. */
|
|
707
717
|
workspaceBinding: boolean;
|
|
708
718
|
};
|
|
709
719
|
/** @description Same authorized explicit default as default_workspace, including when outside this page; null if absent or not creatable. A non-null default is active and has canCreateSession=true. */
|
|
@@ -912,7 +922,7 @@ export interface components {
|
|
|
912
922
|
*/
|
|
913
923
|
TaskRuntimeState: "unbound" | "provisioning" | "ready" | "draining" | "lost";
|
|
914
924
|
/**
|
|
915
|
-
* @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task (since 1.40
|
|
925
|
+
* @description Actions the task supports now, the same for every caller. cancel: the cancel route accepts a new command for this task (since 1.40 for child_agent and 1.46 for workflow, tasks of those kinds in pending, running, waiting or degraded, in an active Session); whether a caller may use it is an authorization check (403 on the cancel route). send_input: reserved for a later capability route. read_output: the task events route returns output events for this task to any caller that can read it. read_output does not change during the task's life, and a task without it produces no output events: its output goes only to Artifacts, so the events route never filters out events that exist.
|
|
916
926
|
* @enum {string}
|
|
917
927
|
*/
|
|
918
928
|
TaskActionCapability: "cancel" | "send_input" | "read_output";
|
|
@@ -1165,7 +1175,7 @@ export interface components {
|
|
|
1165
1175
|
parameters: never;
|
|
1166
1176
|
requestBodies: never;
|
|
1167
1177
|
headers: {
|
|
1168
|
-
/** @description True when an accepted command or operation was replayed for the same idempotency key and digest without repeating its mutation. Session mutation responses represent the
|
|
1178
|
+
/** @description True when an accepted command or operation was replayed for the same idempotency key and digest without repeating its mutation. Session mutation responses represent the recorded outcome on the Session as last visible — a rename or unarchive replay after delete answers with the Session's pre-delete status rather than 404, while a create replay after delete answers 404 on the public create route, which re-reads the Session before responding, and answers the recorded 202 admission carrying the tombstoned sessionId on the WebShell create route, which does not re-read it; operation responses represent the original operation at its current state. */
|
|
1169
1179
|
IdempotentReplay: boolean;
|
|
1170
1180
|
/** @description Trace-only correlation identifier; never an idempotency key. */
|
|
1171
1181
|
RequestId: string;
|
|
@@ -1558,7 +1568,7 @@ export interface operations {
|
|
|
1558
1568
|
};
|
|
1559
1569
|
400: components["responses"]["BadRequest"];
|
|
1560
1570
|
401: components["responses"]["Unauthorized"];
|
|
1561
|
-
/** @description Responding requires the Session's recorded owner or a Workspace OPERATOR (action_forbidden). An unbound Session with no recorded creator and no recorded create command (anonymous open-mode creation, or an unbound Session created before the V40 migration that also has no Workspace creation record) answers to any caller in its tenant, matching its read ACL; a bound Session with no recorded owner answers through the create-command actor recorded for it, or through the Workspace role arm. The tenant filter's 403 actor_scope_mismatch also applies on this route. */
|
|
1571
|
+
/** @description Responding requires the Session's recorded owner or a Workspace OPERATOR (action_forbidden); a Shell Session's Actions may be answered only by its recorded owner. An unbound Session with no recorded creator and no recorded create command (anonymous open-mode creation, or an unbound Session created before the V40 migration that also has no Workspace creation record) answers to any caller in its tenant, matching its read ACL; a bound Session with no recorded owner answers through the create-command actor recorded for it, or through the Workspace role arm. The tenant filter's 403 actor_scope_mismatch also applies on this route. */
|
|
1562
1572
|
403: components["responses"]["Forbidden"];
|
|
1563
1573
|
/** @description Unknown or unreadable Session (session_not_found), or unknown Action (action_not_found). */
|
|
1564
1574
|
404: components["responses"]["NotFound"];
|
|
@@ -57,9 +57,47 @@ export declare class JavaManagedAgentClient {
|
|
|
57
57
|
submitTurn(request: Schemas['WebShellSubmitRequest'], signal?: AbortSignal): Promise<JavaAgentCommandAdmission>;
|
|
58
58
|
cancelTurn(request: Schemas['WebShellCancelRequest'], signal?: AbortSignal): Promise<JavaAgentCommandAdmission>;
|
|
59
59
|
queryActions(request: Schemas['WebShellActionQueryRequest'], signal?: AbortSignal): Promise<JavaAgentActionPage>;
|
|
60
|
+
listTasks(request: Schemas['WebShellTaskQueryRequest'], signal?: AbortSignal): Promise<{
|
|
61
|
+
data: components["schemas"]["WebShellTask"][];
|
|
62
|
+
hasMore: boolean;
|
|
63
|
+
nextCursor?: string | null;
|
|
64
|
+
}>;
|
|
65
|
+
getTask(request: Schemas['WebShellTaskGetRequest'], signal?: AbortSignal): Promise<{
|
|
66
|
+
taskId: string;
|
|
67
|
+
sessionId: string;
|
|
68
|
+
kind: components["schemas"]["TaskKind"];
|
|
69
|
+
state: components["schemas"]["TaskState"];
|
|
70
|
+
definitionRevision?: number;
|
|
71
|
+
runtimeState?: components["schemas"]["TaskRuntimeState"];
|
|
72
|
+
createdAt: number;
|
|
73
|
+
startedAt?: number;
|
|
74
|
+
settledAt?: number;
|
|
75
|
+
outputCursor?: string;
|
|
76
|
+
artifactRefs: string[];
|
|
77
|
+
actionCapabilities: components["schemas"]["TaskActionCapability"][];
|
|
78
|
+
}>;
|
|
79
|
+
listTaskEvents(request: Schemas['WebShellTaskEventQueryRequest'], signal?: AbortSignal): Promise<{
|
|
80
|
+
data: components["schemas"]["WebShellTaskEvent"][];
|
|
81
|
+
hasMore: boolean;
|
|
82
|
+
nextCursor: string;
|
|
83
|
+
}>;
|
|
84
|
+
cancelTask(request: Schemas['WebShellTaskCancelRequest'], signal?: AbortSignal): Promise<{
|
|
85
|
+
operationId: string;
|
|
86
|
+
sessionId: string;
|
|
87
|
+
type: "create_session" | "submit_input" | "cancel" | "action_response" | "close" | "archive" | "delete" | "task_cancel";
|
|
88
|
+
taskId?: string;
|
|
89
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "recovery_blocked";
|
|
90
|
+
admissionStage: "java_durable" | "harness_confirmed";
|
|
91
|
+
deliveryState: "pending" | "leased" | "confirmed" | "blocked";
|
|
92
|
+
receiptId?: string;
|
|
93
|
+
actionResolution?: components["schemas"]["WebShellActionResolution"];
|
|
94
|
+
failureCode?: string;
|
|
95
|
+
replayed: boolean;
|
|
96
|
+
}>;
|
|
60
97
|
respondAction(request: Schemas['WebShellActionRespondRequest'], signal?: AbortSignal): Promise<Schemas['WebShellCommandOperation']>;
|
|
61
98
|
/** Reads an operation's latest durable status; polling is not a replay. */
|
|
62
99
|
queryOperation(request: Schemas['WebShellOperationRequest'], signal?: AbortSignal): Promise<Schemas['WebShellOperation']>;
|
|
100
|
+
changeCwd(request: Schemas['WebShellChangeCwdRequest'], signal?: AbortSignal): Promise<Schemas['WebShellCwdOperation']>;
|
|
63
101
|
getToolResult(sessionId: string, itemId: string, signal?: AbortSignal): Promise<{
|
|
64
102
|
result: components["schemas"]["PublicToolResult"];
|
|
65
103
|
access: components["schemas"]["ArtifactAccess"];
|
|
@@ -80,7 +118,7 @@ export declare class JavaManagedAgentClient {
|
|
|
80
118
|
readArtifactRange(artifact: ManagedArtifact, offset: number, length: number, signal?: AbortSignal): Promise<Uint8Array>;
|
|
81
119
|
openArtifactStream(artifact: ManagedArtifact, signal?: AbortSignal): Promise<ReadableStream<Uint8Array>>;
|
|
82
120
|
private artifactContent;
|
|
83
|
-
streamEvents(request: Schemas['WebShellStreamRequest'], signal?: AbortSignal, onOpen?: () => void): AsyncGenerator<JavaAgentEvent | JavaAgentResyncRequired>;
|
|
121
|
+
streamEvents(request: Schemas['WebShellStreamRequest'], signal?: AbortSignal, onOpen?: () => void, onAlive?: () => void): AsyncGenerator<JavaAgentEvent | JavaAgentResyncRequired>;
|
|
84
122
|
private post;
|
|
85
123
|
private request;
|
|
86
124
|
}
|
|
@@ -7,6 +7,10 @@ export interface JavaManagedAgentProviderOptions extends JavaManagedAgentClientO
|
|
|
7
7
|
/** Include tenant and actor identity; replace this scope/provider when either changes. Token refresh alone can use getHeaders. */
|
|
8
8
|
productScope?: string;
|
|
9
9
|
enableWorkspaceBinding?: boolean;
|
|
10
|
+
modelPresets?: readonly {
|
|
11
|
+
agentId: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
10
14
|
/** Acquire a streaming save target during the user gesture, then call openStream. */
|
|
11
15
|
saveArtifact?: ManagedArtifactSave;
|
|
12
16
|
}
|
|
@@ -4,12 +4,15 @@ 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;
|
|
10
11
|
workspace?: {
|
|
11
12
|
workspaceId: string;
|
|
12
13
|
cwdRelative: string;
|
|
14
|
+
contextRevision?: number;
|
|
15
|
+
state?: 'ready' | 'changing' | 'recovery_blocked';
|
|
13
16
|
};
|
|
14
17
|
createdAt: number;
|
|
15
18
|
admittedAt: number;
|
|
@@ -21,16 +24,18 @@ export interface ManagedAgentSessionSummary {
|
|
|
21
24
|
canSend: boolean;
|
|
22
25
|
canCancel: boolean;
|
|
23
26
|
actions?: boolean;
|
|
27
|
+
tasks?: boolean;
|
|
24
28
|
artifacts?: boolean;
|
|
25
29
|
/** The caller may submit later Turns to this Workspace-bound Session. */
|
|
26
30
|
workspaceTurns?: boolean;
|
|
31
|
+
cwdChange?: boolean;
|
|
27
32
|
};
|
|
28
33
|
failure?: {
|
|
29
34
|
code: string;
|
|
30
35
|
message: string;
|
|
31
36
|
};
|
|
32
37
|
}
|
|
33
|
-
export type ManagedAgentSessionEventType = 'accepted' | 'runtime_starting' | 'runtime_ready' | 'runtime_failed' | 'runtime_released' | 'agent_started' | 'assistant_thought' | 'assistant_delta' | 'tool_requested' | 'tool_started' | 'tool_completed' | 'tool_result_updated' | 'completed' | 'failed' | 'cancelling' | 'cancelled' | 'action_updated' | 'stream_gap';
|
|
38
|
+
export type ManagedAgentSessionEventType = 'accepted' | 'runtime_starting' | 'runtime_ready' | 'runtime_failed' | 'runtime_released' | 'agent_started' | 'assistant_thought' | 'assistant_delta' | 'tool_requested' | 'tool_started' | 'tool_completed' | 'tool_result_updated' | 'completed' | 'failed' | 'cancelling' | 'cancelled' | 'action_updated' | 'context_changed' | 'stream_gap';
|
|
34
39
|
export interface ManagedAgentSessionEvent {
|
|
35
40
|
id: number;
|
|
36
41
|
at: number;
|
|
@@ -61,6 +66,14 @@ export interface ManagedAgentRequestOptions {
|
|
|
61
66
|
export interface ManagedAgentCommandOptions extends ManagedAgentRequestOptions {
|
|
62
67
|
idempotencyKey: string;
|
|
63
68
|
}
|
|
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
|
+
};
|
|
64
77
|
/** A Hosted tool approval waiting for the Session owner's answer. */
|
|
65
78
|
export interface ManagedAgentPendingAction {
|
|
66
79
|
actionId: string;
|
|
@@ -89,8 +102,35 @@ export interface ManagedAgentProvider {
|
|
|
89
102
|
respond(action: ManagedAgentPendingAction, optionId: string, options: ManagedAgentCommandOptions): Promise<void>;
|
|
90
103
|
};
|
|
91
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
|
+
};
|
|
120
|
+
readonly cwdChange?: {
|
|
121
|
+
submit(sessionId: string, request: {
|
|
122
|
+
cwdRelative: string;
|
|
123
|
+
expectedContextRevision: number;
|
|
124
|
+
}, options: ManagedAgentCommandOptions): Promise<ManagedCwdOperation>;
|
|
125
|
+
query(sessionId: string, operationId: string, options: ManagedAgentRequestOptions): Promise<ManagedCwdOperation>;
|
|
126
|
+
};
|
|
92
127
|
readonly workspaceBinding?: {
|
|
93
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
|
+
}[];
|
|
94
134
|
list(options: ManagedAgentRequestOptions & {
|
|
95
135
|
cursor?: string;
|
|
96
136
|
limit?: number;
|
|
@@ -108,6 +148,14 @@ export interface ManagedAgentProvider {
|
|
|
108
148
|
}, options: ManagedAgentCommandOptions): Promise<{
|
|
109
149
|
sessionId: string;
|
|
110
150
|
}>;
|
|
151
|
+
createSession?(request: {
|
|
152
|
+
agentId: string;
|
|
153
|
+
workspaceId: string;
|
|
154
|
+
cwdRelative: string;
|
|
155
|
+
text: string;
|
|
156
|
+
}, options: ManagedAgentCommandOptions): Promise<{
|
|
157
|
+
sessionId: string;
|
|
158
|
+
}>;
|
|
111
159
|
};
|
|
112
160
|
listSessions(options: ManagedAgentRequestOptions & {
|
|
113
161
|
workspaceCwd?: string;
|
|
@@ -139,6 +187,12 @@ export interface ManagedAgentProvider {
|
|
|
139
187
|
* depend on stream activity.
|
|
140
188
|
*/
|
|
141
189
|
onEstablished?(): void;
|
|
190
|
+
/**
|
|
191
|
+
* Called for each complete heartbeat or comment frame the stream
|
|
192
|
+
* delivers. Heartbeats never decode into events, so on an idle
|
|
193
|
+
* Session this is the only sign of life an established stream gives.
|
|
194
|
+
*/
|
|
195
|
+
onAlive?(): void;
|
|
142
196
|
}): AsyncIterable<ManagedAgentSessionEvent>;
|
|
143
197
|
}
|
|
144
198
|
export interface ManagedAgentWorkspace {
|
|
@@ -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'>;
|
|
@@ -12,3 +12,9 @@
|
|
|
12
12
|
* are worth another attempt.
|
|
13
13
|
*/
|
|
14
14
|
export declare function isNonRetryableClientError(error: unknown): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* A 401/403. This client re-derives its credentials on every request, so an
|
|
17
|
+
* expired short-lived token gets a fresh answer on the very next attempt
|
|
18
|
+
* once the host refreshes — never a terminal condition.
|
|
19
|
+
*/
|
|
20
|
+
export declare function isAuthFailure(error: unknown): boolean;
|
|
@@ -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,21 @@
|
|
|
1
|
+
import type { ManagedAgentProvider, ManagedAgentSessionSummary } from './managed-agent-provider';
|
|
2
|
+
interface CwdIntent {
|
|
3
|
+
sessionId: string;
|
|
4
|
+
workspaceId: string;
|
|
5
|
+
cwdRelative: string;
|
|
6
|
+
expectedContextRevision: number;
|
|
7
|
+
idempotencyKey: string;
|
|
8
|
+
operationId?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function useManagedCwdChange(provider: ManagedAgentProvider, clientId: string, sessionId: string | undefined, summary: ManagedAgentSessionSummary | undefined, refreshSummary: (signal?: AbortSignal) => Promise<ManagedAgentSessionSummary | undefined>): {
|
|
11
|
+
blocked: boolean;
|
|
12
|
+
submit: (cwdRelative: string, expectedContextRevision: number) => Promise<true | undefined>;
|
|
13
|
+
confirm: () => Promise<void>;
|
|
14
|
+
isBlocked: () => boolean;
|
|
15
|
+
key: string;
|
|
16
|
+
pending?: CwdIntent;
|
|
17
|
+
busy: boolean;
|
|
18
|
+
errorCode?: string;
|
|
19
|
+
target?: string;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import type { ManagedAgentProvider, ManagedAgentSessionEvent, ManagedAgentSessionSummary } from './managed-agent-provider';
|
|
2
|
+
type SignalLeg = 'session' | 'transcript' | 'stream';
|
|
3
|
+
interface SignalEntry {
|
|
4
|
+
readonly message: string;
|
|
5
|
+
readonly final: boolean;
|
|
6
|
+
readonly seq: number;
|
|
7
|
+
readonly leg: SignalLeg;
|
|
8
|
+
readonly stall?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function failureRetryDelayMs(failures: number): number;
|
|
2
11
|
export declare function useManagedSession(provider: ManagedAgentProvider, clientId: string, sessionId: string | undefined): {
|
|
12
|
+
stoppedReason: string | undefined;
|
|
13
|
+
stoppedLeg: SignalLeg | undefined;
|
|
14
|
+
error: string | undefined;
|
|
3
15
|
loadingOlder: boolean;
|
|
4
16
|
loadOlder: () => Promise<void>;
|
|
5
17
|
reload: () => void;
|
|
18
|
+
refreshSummary: (signal?: AbortSignal) => Promise<ManagedAgentSessionSummary | undefined>;
|
|
6
19
|
sessionId?: string;
|
|
7
20
|
summary?: ManagedAgentSessionSummary;
|
|
8
21
|
events: ManagedAgentSessionEvent[];
|
|
9
22
|
olderCursor?: string;
|
|
10
23
|
loading: boolean;
|
|
11
|
-
|
|
24
|
+
signals?: Partial<Record<SignalLeg, SignalEntry>>;
|
|
12
25
|
};
|
|
26
|
+
export {};
|
|
@@ -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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DaemonSessionMonitorTaskStatus, DaemonSessionShellTaskStatus, DaemonSessionWorkflowTasksStatus } from '@qwen-code/sdk/daemon';
|
|
2
2
|
import { type DaemonSessionActions } from '@qwen-code/web-shell/daemon-react-sdk';
|
|
3
3
|
import type { ACPToolCall, TodoItem } from '../../adapters/types';
|
|
4
|
+
import type { OpenSubagentDetails } from '../../subagentDetailsContext';
|
|
4
5
|
declare const ACTIVE_EVENT = "web-shell:tasks-panel-active";
|
|
5
6
|
type DaemonSessionTasksStatus = DaemonSessionWorkflowTasksStatus;
|
|
6
7
|
export interface SerializedTasksMessage {
|
|
@@ -24,7 +25,7 @@ export declare function TasksStatusMessage({ message, embedded, manageActiveEven
|
|
|
24
25
|
onClose?: () => void;
|
|
25
26
|
planTodos?: readonly TodoItem[];
|
|
26
27
|
agentTools?: readonly ACPToolCall[];
|
|
27
|
-
onOpenSubagent?:
|
|
28
|
+
onOpenSubagent?: OpenSubagentDetails;
|
|
28
29
|
onOpenMonitor?: (task: DaemonSessionMonitorTaskStatus) => void;
|
|
29
30
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
30
31
|
export declare function MonitorTaskDetail({ task, actions: providedActions, }: {
|
|
@@ -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
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { DaemonSessionWorkflowTaskStatus, DaemonWorkflowDispatchStatus, DaemonWorkflowDispatchStatusEntry } from '@qwen-code/sdk/daemon';
|
|
3
|
+
import type { OpenSubagentDetails } from '../../subagentDetailsContext';
|
|
3
4
|
export declare const WORKFLOW_GRAPH_RENDER_LIMITS: {
|
|
4
5
|
readonly lanes: 64;
|
|
5
6
|
readonly nodes: 240;
|
|
@@ -36,7 +37,7 @@ export interface WorkflowGraphLayout {
|
|
|
36
37
|
export declare function buildWorkflowGraphLayout(task: DaemonSessionWorkflowTaskStatus, options?: {
|
|
37
38
|
laneWidth?: number;
|
|
38
39
|
}): WorkflowGraphLayout;
|
|
39
|
-
export declare function WorkflowExecutionView({ task, sourceTask, historyTasks, historyActionBusy, onDeleteHistory, actions, }: {
|
|
40
|
+
export declare function WorkflowExecutionView({ task, sourceTask, historyTasks, historyActionBusy, onDeleteHistory, actions, onOpenSubagent, }: {
|
|
40
41
|
task: DaemonSessionWorkflowTaskStatus;
|
|
41
42
|
sourceTask?: DaemonSessionWorkflowTaskStatus;
|
|
42
43
|
historyTasks?: readonly DaemonSessionWorkflowTaskStatus[];
|
|
@@ -44,5 +45,6 @@ export declare function WorkflowExecutionView({ task, sourceTask, historyTasks,
|
|
|
44
45
|
onDeleteHistory?: (runId: string) => void;
|
|
45
46
|
/** Run controls (pause / stop / rerun …) shown at the end of the metrics strip. */
|
|
46
47
|
actions?: ReactNode;
|
|
48
|
+
onOpenSubagent?: OpenSubagentDetails;
|
|
47
49
|
}): import("react/jsx-runtime").JSX.Element;
|
|
48
50
|
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): {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { DaemonSessionWorkflowTaskStatus, DaemonWorkflowDispatchStatusEntry } from '@qwen-code/sdk/daemon';
|
|
2
|
+
import { type OpenSubagentDetails } from '../../subagentDetailsContext';
|
|
3
|
+
export declare function useWorkflowAgentDetails(task: DaemonSessionWorkflowTaskStatus, onOpenSubagent?: OpenSubagentDetails): (dispatch: DaemonWorkflowDispatchStatusEntry) => void;
|