@qwen-code/qwen-code 0.18.3-preview.0 → 0.18.4-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/README.md +64 -492
- package/bundled/loop/SKILL.md +53 -26
- package/bundled/loop/SKILL.test.ts +67 -0
- package/bundled/qc-helper/docs/configuration/settings.md +25 -18
- package/bundled/qc-helper/docs/extension/introduction.md +38 -0
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +4 -4
- package/bundled/qc-helper/docs/features/channels/qqbot.md +179 -0
- package/bundled/qc-helper/docs/features/commands.md +49 -0
- package/bundled/qc-helper/docs/features/followup-suggestions.md +10 -6
- package/bundled/qc-helper/docs/features/hooks.md +6 -3
- package/bundled/qc-helper/docs/features/status-line.md +4 -2
- package/bundled/qc-helper/docs/qwen-serve.md +9 -4
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +11 -5
- package/bundled/qc-helper/docs/support/troubleshooting.md +5 -0
- package/chunks/{agent-X42UKL4M.js → agent-PPGQVSZN.js} +24 -23
- package/chunks/{agent-headless-7FQ7NX6G.js → agent-headless-5SGQIWGS.js} +24 -23
- package/chunks/{anthropicContentGenerator-KLBHYGH6.js → anthropicContentGenerator-OLOGBVLP.js} +4 -4
- package/chunks/{askUserQuestion-QPZXR3UO.js → askUserQuestion-ANRVSBIJ.js} +2 -2
- package/chunks/{ca-RK4QPLIX.js → ca-K6MD665I.js} +42 -2
- package/chunks/chunk-2ES3D3TW.js +1026 -0
- package/chunks/{chunk-O4PICXES.js → chunk-2MPVVENX.js} +14 -6
- package/chunks/{chunk-BJ5HQ23U.js → chunk-4HMWGHPP.js} +9 -10
- package/chunks/{chunk-SFRV6BGY.js → chunk-4TW2JM5Q.js} +3 -3
- package/chunks/{chunk-ZOFNJQNJ.js → chunk-7GX7XYZU.js} +3 -3
- package/chunks/{chunk-VIEIRAK3.js → chunk-7OCZ77KA.js} +4 -2
- package/chunks/{chunk-3U2ZIZDP.js → chunk-A6OKBLUA.js} +732 -617
- package/chunks/{chunk-RTTAC5VW.js → chunk-AQDPHFDZ.js} +1 -1
- package/chunks/{chunk-U62OHNQR.js → chunk-BR6DF3Y4.js} +6 -6
- package/chunks/{chunk-IDYDPBBN.js → chunk-DZCZZPCY.js} +3 -3
- package/chunks/{chunk-ZMIBJS45.js → chunk-E5SRTXRG.js} +1 -1
- package/chunks/{chunk-FIQECJTQ.js → chunk-F6FP3URI.js} +1 -1
- package/chunks/{chunk-IQHSD7K5.js → chunk-FPZF3BNV.js} +1 -1
- package/chunks/{chunk-NNIYWQIS.js → chunk-HU3RKEK2.js} +2 -1
- package/chunks/{chunk-HA2UEYZP.js → chunk-IKOWINH4.js} +7 -4
- package/chunks/{chunk-JHSQY3J5.js → chunk-IS4QOHTV.js} +6 -5
- package/chunks/{chunk-MN5RAXVB.js → chunk-IUEQOXOI.js} +18 -6
- package/chunks/{chunk-CPVI5J2L.js → chunk-JIJBNW4A.js} +1 -1
- package/chunks/{chunk-ZNUMXPNK.js → chunk-JJHY7NAD.js} +7 -3
- package/chunks/{chunk-YJDVHAGL.js → chunk-JN6FVOPP.js} +2 -2
- package/chunks/{chunk-P5CE42XM.js → chunk-JP3LQIMW.js} +1046 -293
- package/chunks/{chunk-VU6A2OBJ.js → chunk-JXQ23SNT.js} +217 -219
- package/chunks/{chunk-WPTCDQN6.js → chunk-M5VYHAHT.js} +2 -2
- package/chunks/{chunk-VFW7VM7A.js → chunk-MP436DDQ.js} +131009 -128408
- package/chunks/{chunk-LXYWINWF.js → chunk-N5QHMPZU.js} +1 -1
- package/chunks/{chunk-LYSND7KR.js → chunk-PTGKSUUJ.js} +2 -2
- package/chunks/{chunk-6X6PTTH3.js → chunk-VNMHFAZ3.js} +24 -12
- package/chunks/{chunk-LYRSMKLS.js → chunk-VWPDSQZY.js} +2 -2
- package/chunks/{chunk-B4ZF2KSI.js → chunk-WWU2KUSR.js} +2 -2
- package/chunks/{chunk-QP4R5FTG.js → chunk-Z7XXFPGP.js} +4 -3
- package/chunks/{chunk-TW522KN6.js → chunk-ZTQ26VBE.js} +13 -6
- package/chunks/{computer-use-WHPP33BI.js → computer-use-LPHSGISW.js} +24 -23
- package/chunks/contextCommand-SQPW6JX7.js +54 -0
- package/chunks/{cron-create-DQKRQMCP.js → cron-create-OKGQO6GX.js} +6 -6
- package/chunks/{cron-delete-DOFPHFTI.js → cron-delete-DTJP7L6O.js} +6 -6
- package/chunks/{cron-list-RCVOO3CB.js → cron-list-VKZUASFG.js} +24 -10
- package/chunks/{de-FGPM4KW5.js → de-K2F3T3TR.js} +41 -1
- package/chunks/{dist-2UCAYOX7.js → dist-BD27IA3L.js} +16 -5
- package/chunks/{dist-33LHH26D.js → dist-KIYB7DQW.js} +1 -1
- package/chunks/{dist-UH7CYT7F.js → dist-OLC6NBSB.js} +51 -10
- package/chunks/dist-QFFZWACU.js +2136 -0
- package/chunks/{dist-KF43SZZV.js → dist-QUSDBLAK.js} +1 -1
- package/chunks/{edit-V22UFE4F.js → edit-OPGWEYXB.js} +26 -27
- package/chunks/{en-VP6XPGEC.js → en-KGSAKBJP.js} +232 -0
- package/chunks/{enter-worktree-HYS5U3QO.js → enter-worktree-JLFLU22E.js} +24 -23
- package/chunks/{enterPlanMode-UR2KPB4Y.js → enterPlanMode-JFBUNYML.js} +47 -23
- package/chunks/{exit-worktree-JNIUZIZ3.js → exit-worktree-NU64ZZRI.js} +191 -41
- package/chunks/{exitPlanMode-NJY3Y6XQ.js → exitPlanMode-UR6YQE64.js} +81 -43
- package/chunks/{fr-ATYBVCLT.js → fr-2CAQEOK6.js} +41 -1
- package/chunks/{geminiContentGenerator-SDUMCYHD.js → geminiContentGenerator-KUVZXCGX.js} +4 -4
- package/chunks/{glob-Z6UYFZCH.js → glob-RNX6IBFD.js} +26 -24
- package/chunks/{grep-WHWDB2HD.js → grep-5GUNAZFX.js} +96 -43
- package/chunks/{ja-W2QEA2OI.js → ja-QWL7V6OJ.js} +41 -1
- package/chunks/{keychain-token-storage-QSTRHKKL.js → keychain-token-storage-ALKQXYJQ.js} +2 -2
- package/chunks/loop-wakeup-RX6YIUSG.js +167 -0
- package/chunks/{ls-TRD77UTS.js → ls-6PLNWHMU.js} +3 -3
- package/chunks/{lsp-2VFWQPZS.js → lsp-3HFQU4OF.js} +2 -2
- package/chunks/{monitor-F4V4YEE4.js → monitor-LYHRV6SR.js} +24 -23
- package/chunks/{notebook-edit-P45433KC.js → notebook-edit-B5FEP65B.js} +25 -26
- package/chunks/{openaiContentGenerator-DRXB5MSN.js → openaiContentGenerator-XYMMXZFG.js} +12 -11
- package/chunks/{pt-ZKEWJFBW.js → pt-2SPOLMAY.js} +41 -1
- package/chunks/{qwenContentGenerator-3XZMXLHX.js → qwenContentGenerator-QWPW3P7K.js} +26 -25
- package/chunks/{qwenOAuth2-KK433U33.js → qwenOAuth2-XWC5SU63.js} +4 -4
- package/chunks/{read-file-WQPROSSJ.js → read-file-ROEHCU4A.js} +9 -8
- package/chunks/{ripGrep-EAE7GW6T.js → ripGrep-YBPCCX22.js} +24 -23
- package/chunks/{ru-VEKTPJ74.js → ru-35IVJTEH.js} +41 -1
- package/chunks/{scheduler-WCMRRLYM.js → scheduler-NIQSNCLH.js} +24 -23
- package/chunks/{send-message-QZOC5GA2.js → send-message-IIT3SHA7.js} +2 -2
- package/chunks/{serve-BVDNMP5D.js → serve-GME2SMSV.js} +1249 -279
- package/chunks/{shell-W4LWEOQL.js → shell-E7NADQBV.js} +24 -23
- package/chunks/{skill-VTJI4OPM.js → skill-WVYNAGWW.js} +11 -10
- package/chunks/{src-E42UOH5I.js → src-4HJAM36V.js} +137 -59
- package/chunks/{syntheticOutput-WJSUK4SZ.js → syntheticOutput-H67FYXU7.js} +3 -3
- package/chunks/{task-create-GGSC27HO.js → task-create-OVXHSHAI.js} +7 -7
- package/chunks/{task-list-EDHHHSK4.js → task-list-QUUCQJ3U.js} +6 -6
- package/chunks/{task-stop-WR5PDVZY.js → task-stop-WA5DMTKK.js} +2 -2
- package/chunks/{task-update-UR7NUHBV.js → task-update-PC5427TI.js} +7 -7
- package/chunks/{team-create-OAGMFFDJ.js → team-create-BOSQOS35.js} +26 -25
- package/chunks/{team-delete-FC33URJK.js → team-delete-ZTEMYRJ3.js} +6 -6
- package/chunks/{todoWrite-GO2ME7ZV.js → todoWrite-J6L6ELD6.js} +4 -4
- package/chunks/{tool-search-XZPD5EPI.js → tool-search-PPLILX5J.js} +9 -8
- package/chunks/{web-fetch-NLLATYIL.js → web-fetch-6XLPPTP7.js} +5 -5
- package/chunks/{workflow-AIC3XOX5.js → workflow-CDROZNXC.js} +242 -39
- package/chunks/{write-file-6GIRRW43.js → write-file-QY4X7MMO.js} +26 -27
- package/chunks/{zh-TW-6YFNCKTA.js → zh-TW-BSG6BUWK.js} +232 -2
- package/chunks/{zh-OIXDDQHB.js → zh-X4KM6MTW.js} +233 -0
- package/cli.js +10735 -5708
- package/examples/agent/agents/diary.md +1 -1
- package/examples/mcp-server/qwen-extension.json +8 -1
- package/examples/starter/agents/diary.md +1 -1
- package/locales/ca.js +67 -2
- package/locales/de.js +68 -2
- package/locales/en.js +304 -0
- package/locales/fr.js +69 -2
- package/locales/ja.js +65 -2
- package/locales/pt.js +67 -2
- package/locales/ru.js +68 -2
- package/locales/zh-TW.js +288 -2
- package/locales/zh.js +288 -0
- package/package.json +4 -3
- package/web-shell/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/web-shell/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/web-shell/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/web-shell/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/web-shell/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/web-shell/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/web-shell/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/web-shell/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/web-shell/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/web-shell/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/web-shell/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/web-shell/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/web-shell/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/web-shell/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/web-shell/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/web-shell/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/web-shell/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/web-shell/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/web-shell/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/web-shell/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/web-shell/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/web-shell/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/web-shell/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/web-shell/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/web-shell/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/web-shell/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/web-shell/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/web-shell/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/web-shell/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/web-shell/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/web-shell/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/web-shell/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/web-shell/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/web-shell/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/web-shell/assets/abap-DsBKuouk.js +1 -0
- package/web-shell/assets/actionscript-3-D_z4Izcz.js +1 -0
- package/web-shell/assets/ada-727ZlQH0.js +1 -0
- package/web-shell/assets/andromeeda-C3khCPGq.js +1 -0
- package/web-shell/assets/angular-html-LfdN0zeE.js +1 -0
- package/web-shell/assets/angular-ts-CKsD7JZE.js +1 -0
- package/web-shell/assets/apache-Dn00JSTd.js +1 -0
- package/web-shell/assets/apex-COJ4H7py.js +1 -0
- package/web-shell/assets/apl-BBq3IX1j.js +1 -0
- package/web-shell/assets/applescript-Bu5BbsvL.js +1 -0
- package/web-shell/assets/ara-7O62HKoU.js +1 -0
- package/web-shell/assets/arc-CRFN10gD.js +1 -0
- package/web-shell/assets/architectureDiagram-3BPJPVTR-IRlu1CpH.js +36 -0
- package/web-shell/assets/asciidoc-BPT9niGB.js +1 -0
- package/web-shell/assets/asm-Dhn9LcZ4.js +1 -0
- package/web-shell/assets/astro-CqkE3fuf.js +1 -0
- package/web-shell/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/web-shell/assets/awk-eg146-Ew.js +1 -0
- package/web-shell/assets/ayu-dark-Cv9koXgw.js +1 -0
- package/web-shell/assets/ballerina-Du268qiB.js +1 -0
- package/web-shell/assets/bat-fje9CFhw.js +1 -0
- package/web-shell/assets/beancount-BwXTMy5W.js +1 -0
- package/web-shell/assets/berry-3xVqZejG.js +1 -0
- package/web-shell/assets/bibtex-xW4inM5L.js +1 -0
- package/web-shell/assets/bicep-DHo0CJ0O.js +1 -0
- package/web-shell/assets/blade-a8OxSdnT.js +1 -0
- package/web-shell/assets/blockDiagram-GPEHLZMM-htIZ6iw8.js +132 -0
- package/web-shell/assets/bsl-Dgyn0ogV.js +1 -0
- package/web-shell/assets/c-C3t2pwGQ.js +1 -0
- package/web-shell/assets/c4Diagram-AAUBKEIU-A2GoRq3O.js +10 -0
- package/web-shell/assets/cadence-DNquZEk8.js +1 -0
- package/web-shell/assets/cairo--RitsXJZ.js +1 -0
- package/web-shell/assets/catppuccin-frappe-CD_QflpE.js +1 -0
- package/web-shell/assets/catppuccin-latte-DRW-0cLl.js +1 -0
- package/web-shell/assets/catppuccin-macchiato-C-_shW-Y.js +1 -0
- package/web-shell/assets/catppuccin-mocha-LGGdnPYs.js +1 -0
- package/web-shell/assets/channel-WwImfsc7.js +1 -0
- package/web-shell/assets/chunk-2J33WTMH-CdP2AC6u.js +1 -0
- package/web-shell/assets/chunk-4BX2VUAB-DrA07nW2.js +1 -0
- package/web-shell/assets/chunk-55IACEB6-CFGnVU2f.js +1 -0
- package/web-shell/assets/chunk-727SXJPM-BTMkq3Tk.js +206 -0
- package/web-shell/assets/chunk-AQP2D5EJ-C9sYg04Z.js +231 -0
- package/web-shell/assets/chunk-FMBD7UC4-Cag-cj6I.js +15 -0
- package/web-shell/assets/chunk-ND2GUHAM-CDSTFoR7.js +1 -0
- package/web-shell/assets/chunk-QZHKN3VN-CN9Z6oOs.js +1 -0
- package/web-shell/assets/clarity-BHOwM8T6.js +1 -0
- package/web-shell/assets/classDiagram-4FO5ZUOK-CJKQYFeJ.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CJKQYFeJ.js +1 -0
- package/web-shell/assets/clojure-DxSadP1t.js +1 -0
- package/web-shell/assets/cmake-DbXoA79R.js +1 -0
- package/web-shell/assets/cobol-PTqiYgYu.js +1 -0
- package/web-shell/assets/codeowners-Bp6g37R7.js +1 -0
- package/web-shell/assets/codeql-sacFqUAJ.js +1 -0
- package/web-shell/assets/coffee-dyiR41kL.js +1 -0
- package/web-shell/assets/common-lisp-C7gG9l05.js +1 -0
- package/web-shell/assets/coq-Dsg_Bt_b.js +1 -0
- package/web-shell/assets/cose-bilkent-S5V4N54A-DuN9j8Du.js +1 -0
- package/web-shell/assets/cpp-BksuvNSY.js +1 -0
- package/web-shell/assets/crystal-DtDmRg-F.js +1 -0
- package/web-shell/assets/csharp-D9R-vmeu.js +1 -0
- package/web-shell/assets/css-BPhBrDlE.js +1 -0
- package/web-shell/assets/csv-B0qRVHPH.js +1 -0
- package/web-shell/assets/cue-DtFQj3wx.js +1 -0
- package/web-shell/assets/cypher-m2LEI-9-.js +1 -0
- package/web-shell/assets/cytoscape.esm-CUqq0XTU.js +331 -0
- package/web-shell/assets/d-BoXegm-a.js +1 -0
- package/web-shell/assets/dagre-BM42HDAG-ByCWe45f.js +4 -0
- package/web-shell/assets/dark-plus-C3mMm8J8.js +1 -0
- package/web-shell/assets/dart-B9wLZaAG.js +1 -0
- package/web-shell/assets/dax-ClGRhx96.js +1 -0
- package/web-shell/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/web-shell/assets/desktop-DEIpsLCJ.js +1 -0
- package/web-shell/assets/diagram-2AECGRRQ-eWyU_pKZ.js +43 -0
- package/web-shell/assets/diagram-5GNKFQAL-0Bfu3Fq5.js +10 -0
- package/web-shell/assets/diagram-KO2AKTUF-B6KBKkQP.js +3 -0
- package/web-shell/assets/diagram-LMA3HP47-TToDmeA_.js +24 -0
- package/web-shell/assets/diagram-OG6HWLK6-CQCkC2Yx.js +24 -0
- package/web-shell/assets/diff-BgYniUM_.js +1 -0
- package/web-shell/assets/docker-COcR7UxN.js +1 -0
- package/web-shell/assets/dotenv-BjQB5zDj.js +1 -0
- package/web-shell/assets/dracula-BzJJZx-M.js +1 -0
- package/web-shell/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/web-shell/assets/dream-maker-C-nORZOA.js +1 -0
- package/web-shell/assets/edge-D5gP-w-T.js +1 -0
- package/web-shell/assets/elixir-CLiX3zqd.js +1 -0
- package/web-shell/assets/elm-CmHSxxaM.js +1 -0
- package/web-shell/assets/emacs-lisp-BX77sIaO.js +1 -0
- package/web-shell/assets/erDiagram-TEJ5UH35-Cm9ls1iB.js +85 -0
- package/web-shell/assets/erb-BYTLMnw6.js +1 -0
- package/web-shell/assets/erlang-B-DoSBHF.js +1 -0
- package/web-shell/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/web-shell/assets/everforest-light-C8M2exoo.js +1 -0
- package/web-shell/assets/fennel-bCA53EVm.js +1 -0
- package/web-shell/assets/fish-w-ucz2PV.js +1 -0
- package/web-shell/assets/flowDiagram-I6XJVG4X-Dyoz80Pv.js +162 -0
- package/web-shell/assets/fluent-Dayu4EKP.js +1 -0
- package/web-shell/assets/fortran-fixed-form-TqA4NnZg.js +1 -0
- package/web-shell/assets/fortran-free-form-DKXYxT9g.js +1 -0
- package/web-shell/assets/fsharp-XplgxFYe.js +1 -0
- package/web-shell/assets/ganttDiagram-6RSMTGT7-Cfut9yaU.js +292 -0
- package/web-shell/assets/gdresource-BHYsBjWJ.js +1 -0
- package/web-shell/assets/gdscript-DfxzS6Rs.js +1 -0
- package/web-shell/assets/gdshader-SKMF96pI.js +1 -0
- package/web-shell/assets/genie-ajMbGru0.js +1 -0
- package/web-shell/assets/gherkin--30QC5Em.js +1 -0
- package/web-shell/assets/git-commit-i4q6IMui.js +1 -0
- package/web-shell/assets/git-rebase-B-v9cOL2.js +1 -0
- package/web-shell/assets/gitGraphDiagram-PVQCEYII-BCuJdlfD.js +106 -0
- package/web-shell/assets/github-dark-DHJKELXO.js +1 -0
- package/web-shell/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/web-shell/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/web-shell/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/web-shell/assets/github-light-DAi9KRSo.js +1 -0
- package/web-shell/assets/github-light-default-D7oLnXFd.js +1 -0
- package/web-shell/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/web-shell/assets/gleam-B430Bg39.js +1 -0
- package/web-shell/assets/glimmer-js-D-cwc0-E.js +1 -0
- package/web-shell/assets/glimmer-ts-pgjy16dm.js +1 -0
- package/web-shell/assets/glsl-DBO2IWDn.js +1 -0
- package/web-shell/assets/gnuplot-CM8KxXT1.js +1 -0
- package/web-shell/assets/go-B1SYOhNW.js +1 -0
- package/web-shell/assets/graph-qsFoMdT2.js +1 -0
- package/web-shell/assets/graphql-cDcHW_If.js +1 -0
- package/web-shell/assets/groovy-DkBy-JyN.js +1 -0
- package/web-shell/assets/hack-D1yCygmZ.js +1 -0
- package/web-shell/assets/haml-B2EZWmdv.js +1 -0
- package/web-shell/assets/handlebars-BQGss363.js +1 -0
- package/web-shell/assets/haskell-BILxekzW.js +1 -0
- package/web-shell/assets/haxe-C5wWYbrZ.js +1 -0
- package/web-shell/assets/hcl-HzYwdGDm.js +1 -0
- package/web-shell/assets/hjson-T-Tgc4AT.js +1 -0
- package/web-shell/assets/hlsl-ifBTmRxC.js +1 -0
- package/web-shell/assets/houston-DnULxvSX.js +1 -0
- package/web-shell/assets/html-C2L_23MC.js +1 -0
- package/web-shell/assets/html-derivative-CSfWNPLT.js +1 -0
- package/web-shell/assets/http-FRrOvY1W.js +1 -0
- package/web-shell/assets/hxml-TIA70rKU.js +1 -0
- package/web-shell/assets/hy-BMj5Y0dO.js +1 -0
- package/web-shell/assets/imba-bv_oIlVt.js +1 -0
- package/web-shell/assets/index-BDZiTAkl.css +1 -0
- package/web-shell/assets/index-DaebdpHq.js +516 -0
- package/web-shell/assets/infoDiagram-5YYISTIA-CXKxF2VL.js +2 -0
- package/web-shell/assets/ini-BjABl1g7.js +1 -0
- package/web-shell/assets/init-Gi6I4Gst.js +1 -0
- package/web-shell/assets/ishikawaDiagram-YF4QCWOH-DE7HWSU8.js +70 -0
- package/web-shell/assets/java-xI-RfyKK.js +1 -0
- package/web-shell/assets/javascript-ySlJ1b_l.js +1 -0
- package/web-shell/assets/jinja-DGy0s7-h.js +1 -0
- package/web-shell/assets/jison-BqZprYcd.js +1 -0
- package/web-shell/assets/journeyDiagram-JHISSGLW-D__YUfds.js +139 -0
- package/web-shell/assets/json-BQoSv7ci.js +1 -0
- package/web-shell/assets/json5-w8dY5SsB.js +1 -0
- package/web-shell/assets/jsonc-TU54ms6u.js +1 -0
- package/web-shell/assets/jsonl-DREVFZK8.js +1 -0
- package/web-shell/assets/jsonnet-BfivnA6A.js +1 -0
- package/web-shell/assets/jssm-P4WzXJd0.js +1 -0
- package/web-shell/assets/jsx-BAng5TT0.js +1 -0
- package/web-shell/assets/julia-BBuGR-5E.js +1 -0
- package/web-shell/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
- package/web-shell/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
- package/web-shell/assets/kanagawa-wave-DWedfzmr.js +1 -0
- package/web-shell/assets/kanban-definition-UN3LZRKU-D82R169M.js +89 -0
- package/web-shell/assets/kotlin-B5lbUyaz.js +1 -0
- package/web-shell/assets/kusto-mebxcVVE.js +1 -0
- package/web-shell/assets/laserwave-DUszq2jm.js +1 -0
- package/web-shell/assets/latex-C-cWTeAZ.js +1 -0
- package/web-shell/assets/layout-CNYaLpI5.js +1 -0
- package/web-shell/assets/lean-XBlWyCtg.js +1 -0
- package/web-shell/assets/less-BfCpw3nA.js +1 -0
- package/web-shell/assets/light-plus-B7mTdjB0.js +1 -0
- package/web-shell/assets/linear-DpyMbKqT.js +1 -0
- package/web-shell/assets/liquid-D3W5UaiH.js +1 -0
- package/web-shell/assets/log-Cc5clBb7.js +1 -0
- package/web-shell/assets/logo-IuBKFhSY.js +1 -0
- package/web-shell/assets/lua-CvWAzNxB.js +1 -0
- package/web-shell/assets/luau-Du5NY7AG.js +1 -0
- package/web-shell/assets/make-Bvotw-X0.js +1 -0
- package/web-shell/assets/markdown-UIAJJxZW.js +1 -0
- package/web-shell/assets/marko-z0MBrx5-.js +1 -0
- package/web-shell/assets/material-theme-D5KoaKCx.js +1 -0
- package/web-shell/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/web-shell/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/web-shell/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/web-shell/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/web-shell/assets/matlab-D9-PGadD.js +1 -0
- package/web-shell/assets/mdc-DB_EDNY_.js +1 -0
- package/web-shell/assets/mdx-sdHcTMYB.js +1 -0
- package/web-shell/assets/mermaid-Ci6OQyBP.js +1 -0
- package/web-shell/assets/mermaid.core-D1KEFDhn.js +309 -0
- package/web-shell/assets/min-dark-CafNBF8u.js +1 -0
- package/web-shell/assets/min-light-CTRr51gU.js +1 -0
- package/web-shell/assets/mindmap-definition-RKZ34NQL-BwVUFGFE.js +96 -0
- package/web-shell/assets/mipsasm-BC5c_5Pe.js +1 -0
- package/web-shell/assets/mojo-Tz6hzZYG.js +1 -0
- package/web-shell/assets/monokai-D4h5O-jR.js +1 -0
- package/web-shell/assets/move-DB_GagMm.js +1 -0
- package/web-shell/assets/narrat-DLbgOhZU.js +1 -0
- package/web-shell/assets/nextflow-B0XVJmRM.js +1 -0
- package/web-shell/assets/nginx-D_VnBJ67.js +1 -0
- package/web-shell/assets/night-owl-C39BiMTA.js +1 -0
- package/web-shell/assets/nim-ZlGxZxc3.js +1 -0
- package/web-shell/assets/nix-shcSOmrb.js +1 -0
- package/web-shell/assets/nord-Ddv68eIx.js +1 -0
- package/web-shell/assets/nushell-D4Tzg5kh.js +1 -0
- package/web-shell/assets/objective-c-Deuh7S70.js +1 -0
- package/web-shell/assets/objective-cpp-BUEGK8hf.js +1 -0
- package/web-shell/assets/ocaml-BNioltXt.js +1 -0
- package/web-shell/assets/one-dark-pro-GBQ2dnAY.js +1 -0
- package/web-shell/assets/one-light-PoHY5YXO.js +1 -0
- package/web-shell/assets/ordinal-Cboi1Yqb.js +1 -0
- package/web-shell/assets/pascal-JqZropPD.js +1 -0
- package/web-shell/assets/perl-CHQXSrWU.js +1 -0
- package/web-shell/assets/php-B5ebYQev.js +1 -0
- package/web-shell/assets/pieDiagram-4H26LBE5-BO_qoEGx.js +30 -0
- package/web-shell/assets/plastic-3e1v2bzS.js +1 -0
- package/web-shell/assets/plsql-LKU2TuZ1.js +1 -0
- package/web-shell/assets/po-BFLt1xDp.js +1 -0
- package/web-shell/assets/poimandres-CS3Unz2-.js +1 -0
- package/web-shell/assets/polar-DKykz6zU.js +1 -0
- package/web-shell/assets/postcss-B3ZDOciz.js +1 -0
- package/web-shell/assets/powerquery-CSHBycmS.js +1 -0
- package/web-shell/assets/powershell-BIEUsx6d.js +1 -0
- package/web-shell/assets/prisma-B48N-Iqd.js +1 -0
- package/web-shell/assets/prolog-BY-TUvya.js +1 -0
- package/web-shell/assets/proto-zocC4JxJ.js +1 -0
- package/web-shell/assets/pug-CM9l7STV.js +1 -0
- package/web-shell/assets/puppet-Cza_XSSt.js +1 -0
- package/web-shell/assets/purescript-Bg-kzb6g.js +1 -0
- package/web-shell/assets/python-DhUJRlN_.js +1 -0
- package/web-shell/assets/qml-D8XfuvdV.js +1 -0
- package/web-shell/assets/qmldir-C8lEn-DE.js +1 -0
- package/web-shell/assets/qss-DhMKtDLN.js +1 -0
- package/web-shell/assets/quadrantDiagram-W4KKPZXB-Cx0ZaWPo.js +7 -0
- package/web-shell/assets/r-CwjWoCRV.js +1 -0
- package/web-shell/assets/racket-CzouJOBO.js +1 -0
- package/web-shell/assets/raku-B1bQXN8T.js +1 -0
- package/web-shell/assets/razor-CNLDkMZG.js +1 -0
- package/web-shell/assets/red-bN70gL4F.js +1 -0
- package/web-shell/assets/reg-5LuOXUq_.js +1 -0
- package/web-shell/assets/regexp-DWJ3fJO_.js +1 -0
- package/web-shell/assets/rel-DJlmqQ1C.js +1 -0
- package/web-shell/assets/requirementDiagram-4Y6WPE33-BJPXejOA.js +84 -0
- package/web-shell/assets/riscv-QhoSD0DR.js +1 -0
- package/web-shell/assets/rose-pine-CmCqftbK.js +1 -0
- package/web-shell/assets/rose-pine-dawn-Ds-gbosJ.js +1 -0
- package/web-shell/assets/rose-pine-moon-CjDtw9vr.js +1 -0
- package/web-shell/assets/rst-4NLicBqY.js +1 -0
- package/web-shell/assets/ruby-DeZ3UC14.js +1 -0
- package/web-shell/assets/rust-Be6lgOlo.js +1 -0
- package/web-shell/assets/sankeyDiagram-5OEKKPKP-C1xeIL9i.js +40 -0
- package/web-shell/assets/sas-BmTFh92c.js +1 -0
- package/web-shell/assets/sass-BJ4Li9vH.js +1 -0
- package/web-shell/assets/scala-DQVVAn-B.js +1 -0
- package/web-shell/assets/scheme-BJGe-b2p.js +1 -0
- package/web-shell/assets/scss-C31hgJw-.js +1 -0
- package/web-shell/assets/sdbl-BLhTXw86.js +1 -0
- package/web-shell/assets/sequenceDiagram-3UESZ5HK-CSYKQUjf.js +162 -0
- package/web-shell/assets/shaderlab-B7qAK45m.js +1 -0
- package/web-shell/assets/shellscript-atvbtKCR.js +1 -0
- package/web-shell/assets/shellsession-C_rIy8kc.js +1 -0
- package/web-shell/assets/slack-dark-BthQWCQV.js +1 -0
- package/web-shell/assets/slack-ochin-DqwNpetd.js +1 -0
- package/web-shell/assets/smalltalk-DkLiglaE.js +1 -0
- package/web-shell/assets/snazzy-light-Bw305WKR.js +1 -0
- package/web-shell/assets/solarized-dark-DXbdFlpD.js +1 -0
- package/web-shell/assets/solarized-light-L9t79GZl.js +1 -0
- package/web-shell/assets/solidity-C1w2a3ep.js +1 -0
- package/web-shell/assets/soy-C-lX7w71.js +1 -0
- package/web-shell/assets/sparql-bYkjHRlG.js +1 -0
- package/web-shell/assets/splunk-Cf8iN4DR.js +1 -0
- package/web-shell/assets/sql-COK4E0Yg.js +1 -0
- package/web-shell/assets/ssh-config-BknIz3MU.js +1 -0
- package/web-shell/assets/stata-DorPZHa4.js +1 -0
- package/web-shell/assets/stateDiagram-AJRCARHV-d9hiHlAW.js +1 -0
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DgReoybQ.js +1 -0
- package/web-shell/assets/stylus-BeQkCIfX.js +1 -0
- package/web-shell/assets/svelte-MSaWC3Je.js +1 -0
- package/web-shell/assets/swift-BSxZ-RaX.js +1 -0
- package/web-shell/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/web-shell/assets/system-verilog-C7L56vO4.js +1 -0
- package/web-shell/assets/systemd-CUnW07Te.js +1 -0
- package/web-shell/assets/talonscript-C1XDQQGZ.js +1 -0
- package/web-shell/assets/tasl-CQjiPCtT.js +1 -0
- package/web-shell/assets/tcl-DQ1-QYvQ.js +1 -0
- package/web-shell/assets/templ-dwX3ZSMB.js +1 -0
- package/web-shell/assets/terraform-BbSNqyBO.js +1 -0
- package/web-shell/assets/tex-rYs2v40G.js +1 -0
- package/web-shell/assets/timeline-definition-PNZ67QCA-BhCBkq8k.js +120 -0
- package/web-shell/assets/tokyo-night-DBQeEorK.js +1 -0
- package/web-shell/assets/toml-CB2ApiWb.js +1 -0
- package/web-shell/assets/ts-tags-CipyTH0X.js +1 -0
- package/web-shell/assets/tsv-B_m7g4N7.js +1 -0
- package/web-shell/assets/tsx-B6W0miNI.js +1 -0
- package/web-shell/assets/turtle-BMR_PYu6.js +1 -0
- package/web-shell/assets/twig-NC5TFiHP.js +1 -0
- package/web-shell/assets/typescript-Dj6nwHGl.js +1 -0
- package/web-shell/assets/typespec-BpWG_bgh.js +1 -0
- package/web-shell/assets/typst-BVUVsWT6.js +1 -0
- package/web-shell/assets/v-CAQ2eGtk.js +1 -0
- package/web-shell/assets/vala-BFOHcciG.js +1 -0
- package/web-shell/assets/vb-CdO5JTpU.js +1 -0
- package/web-shell/assets/vennDiagram-CIIHVFJN-DPPFWp_y.js +34 -0
- package/web-shell/assets/verilog-CJaU5se_.js +1 -0
- package/web-shell/assets/vesper-BEBZ7ncR.js +1 -0
- package/web-shell/assets/vhdl-DYoNaHQp.js +1 -0
- package/web-shell/assets/viml-m4uW47V2.js +1 -0
- package/web-shell/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/web-shell/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/web-shell/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/web-shell/assets/vue-BuYVFjOK.js +1 -0
- package/web-shell/assets/vue-html-xdeiXROB.js +1 -0
- package/web-shell/assets/vyper-nyqBNV6O.js +1 -0
- package/web-shell/assets/wardley-L42UT6IY-CcOUIgXY.js +173 -0
- package/web-shell/assets/wardleyDiagram-YWT4CUSO-p7oR5X7r.js +78 -0
- package/web-shell/assets/wasm-C6j12Q_x.js +1 -0
- package/web-shell/assets/wasm-CG6Dc4jp.js +1 -0
- package/web-shell/assets/wenyan-7A4Fjokl.js +1 -0
- package/web-shell/assets/wgsl-CB0Krxn9.js +1 -0
- package/web-shell/assets/wikitext-DCE3LsBG.js +1 -0
- package/web-shell/assets/wolfram-C3FkfJm5.js +1 -0
- package/web-shell/assets/xml-e3z08dGr.js +1 -0
- package/web-shell/assets/xsl-Dd0NUgwM.js +1 -0
- package/web-shell/assets/xychartDiagram-2RQKCTM6-Dfr7-SEy.js +7 -0
- package/web-shell/assets/yaml-CVw76BM1.js +1 -0
- package/web-shell/assets/zenscript-HnGAYVZD.js +1 -0
- package/web-shell/assets/zig-BVz_zdnA.js +1 -0
- package/web-shell/index.html +23 -0
- package/chunks/chunk-C64WAJOC.js +0 -117
- package/chunks/contextCommand-WP7BU7IY.js +0 -53
|
@@ -7,52 +7,54 @@ import {
|
|
|
7
7
|
WorkspaceContext,
|
|
8
8
|
generateAgentWorktreeSlug,
|
|
9
9
|
rebuildToolRegistryOnOverride,
|
|
10
|
+
stripAnsiAndControl,
|
|
10
11
|
writeWorktreeSessionMarker
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MP436DDQ.js";
|
|
12
13
|
import "./chunk-K5PGHDBN.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-7GX7XYZU.js";
|
|
15
|
+
import "./chunk-7OCZ77KA.js";
|
|
16
|
+
import "./chunk-2ES3D3TW.js";
|
|
17
|
+
import "./chunk-2MPVVENX.js";
|
|
18
|
+
import "./chunk-ZTQ26VBE.js";
|
|
19
|
+
import "./chunk-4HMWGHPP.js";
|
|
20
|
+
import "./chunk-4TW2JM5Q.js";
|
|
21
|
+
import "./chunk-M5VYHAHT.js";
|
|
21
22
|
import "./chunk-MLZQVCF3.js";
|
|
22
23
|
import "./chunk-LD2XBG6Z.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-JIJBNW4A.js";
|
|
25
|
+
import "./chunk-E5SRTXRG.js";
|
|
25
26
|
import "./chunk-77WXWU44.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WWU2KUSR.js";
|
|
28
|
+
import "./chunk-JP3LQIMW.js";
|
|
28
29
|
import "./chunk-3PJXIDKI.js";
|
|
29
30
|
import "./chunk-UWCTAVOD.js";
|
|
30
31
|
import "./chunk-OFEVLU4C.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-OMX7CUOE.js";
|
|
33
|
+
import "./chunk-FPZF3BNV.js";
|
|
34
|
+
import "./chunk-VWPDSQZY.js";
|
|
33
35
|
import {
|
|
34
36
|
SyntheticOutputTool
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AQDPHFDZ.js";
|
|
36
38
|
import {
|
|
37
39
|
BaseDeclarativeTool,
|
|
38
40
|
BaseToolInvocation,
|
|
39
41
|
ToolDisplayNames,
|
|
40
42
|
ToolNames
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-JJHY7NAD.js";
|
|
44
|
+
import "./chunk-DZCZZPCY.js";
|
|
45
|
+
import "./chunk-F6FP3URI.js";
|
|
44
46
|
import {
|
|
45
47
|
createChildAbortController
|
|
46
48
|
} from "./chunk-64WXLC72.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-N5QHMPZU.js";
|
|
50
|
+
import "./chunk-HU3RKEK2.js";
|
|
51
|
+
import "./chunk-PTGKSUUJ.js";
|
|
50
52
|
import "./chunk-55ZMG67I.js";
|
|
51
53
|
import "./chunk-H6BD2ELD.js";
|
|
52
54
|
import "./chunk-5IFG2VC4.js";
|
|
53
55
|
import {
|
|
54
56
|
createDebugLogger
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-IKOWINH4.js";
|
|
56
58
|
import "./chunk-ZERZSAZL.js";
|
|
57
59
|
import "./chunk-QN5NZ3UQ.js";
|
|
58
60
|
import "./chunk-BR4QREVK.js";
|
|
@@ -726,6 +728,91 @@ ${stripped}
|
|
|
726
728
|
}
|
|
727
729
|
__name(createWorkflowSandbox, "createWorkflowSandbox");
|
|
728
730
|
|
|
731
|
+
// packages/core/src/agents/runtime/workflow-budget.ts
|
|
732
|
+
init_esbuild_shims();
|
|
733
|
+
var debugLogger2 = createDebugLogger("WORKFLOW_BUDGET");
|
|
734
|
+
var MAX_TOKENS_PER_WORKFLOW_ENV = "QWEN_CODE_MAX_TOKENS_PER_WORKFLOW";
|
|
735
|
+
var HARD_MAX_TOKENS_CEILING = 1e8;
|
|
736
|
+
function resolveMaxTokensPerWorkflow(env = process.env) {
|
|
737
|
+
const raw = env[MAX_TOKENS_PER_WORKFLOW_ENV];
|
|
738
|
+
if (raw === void 0 || raw.trim() === "") {
|
|
739
|
+
return null;
|
|
740
|
+
}
|
|
741
|
+
const parsed = Number(raw);
|
|
742
|
+
if (!Number.isInteger(parsed) || parsed < 1) {
|
|
743
|
+
debugLogger2.warn(
|
|
744
|
+
`Invalid ${MAX_TOKENS_PER_WORKFLOW_ENV}=${JSON.stringify(raw)}, treating as unset (no cap)`
|
|
745
|
+
);
|
|
746
|
+
return null;
|
|
747
|
+
}
|
|
748
|
+
if (parsed > HARD_MAX_TOKENS_CEILING) {
|
|
749
|
+
debugLogger2.warn(
|
|
750
|
+
`${MAX_TOKENS_PER_WORKFLOW_ENV}=${parsed} exceeds hard ceiling (${HARD_MAX_TOKENS_CEILING}); clamping.`
|
|
751
|
+
);
|
|
752
|
+
return HARD_MAX_TOKENS_CEILING;
|
|
753
|
+
}
|
|
754
|
+
return parsed;
|
|
755
|
+
}
|
|
756
|
+
__name(resolveMaxTokensPerWorkflow, "resolveMaxTokensPerWorkflow");
|
|
757
|
+
var WorkflowBudgetImpl = class _WorkflowBudgetImpl {
|
|
758
|
+
static {
|
|
759
|
+
__name(this, "WorkflowBudgetImpl");
|
|
760
|
+
}
|
|
761
|
+
total;
|
|
762
|
+
_spent;
|
|
763
|
+
constructor(total) {
|
|
764
|
+
this.total = total;
|
|
765
|
+
this._spent = 0;
|
|
766
|
+
}
|
|
767
|
+
spent() {
|
|
768
|
+
return this._spent;
|
|
769
|
+
}
|
|
770
|
+
remaining() {
|
|
771
|
+
if (this.total === null) return Infinity;
|
|
772
|
+
return Math.max(0, this.total - this._spent);
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Host-side increment. NOT exposed to the script — the
|
|
776
|
+
* `WorkflowBudget` interface deliberately omits any setter so a
|
|
777
|
+
* malicious workflow cannot inflate / deflate the budget. Only the
|
|
778
|
+
* orchestrator (in `countedDispatch`) calls this after a dispatch
|
|
779
|
+
* resolves with the agent's output token count.
|
|
780
|
+
*
|
|
781
|
+
* Non-positive deltas are silently dropped (some dispatches return
|
|
782
|
+
* `output_tokens: 0` on early failures); negative deltas would be a
|
|
783
|
+
* caller bug and are also dropped rather than silently rewinding
|
|
784
|
+
* the counter.
|
|
785
|
+
*/
|
|
786
|
+
recordSpent(deltaTokens) {
|
|
787
|
+
if (!Number.isFinite(deltaTokens) || deltaTokens <= 0) return;
|
|
788
|
+
this._spent += deltaTokens;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Factory: build a budget from the current environment. Convenience
|
|
792
|
+
* over `new WorkflowBudgetImpl(resolveMaxTokensPerWorkflow(env))`.
|
|
793
|
+
*/
|
|
794
|
+
static fromEnv(env = process.env) {
|
|
795
|
+
return new _WorkflowBudgetImpl(resolveMaxTokensPerWorkflow(env));
|
|
796
|
+
}
|
|
797
|
+
};
|
|
798
|
+
var WorkflowBudgetExceededError = class extends Error {
|
|
799
|
+
static {
|
|
800
|
+
__name(this, "WorkflowBudgetExceededError");
|
|
801
|
+
}
|
|
802
|
+
name = "WorkflowBudgetExceededError";
|
|
803
|
+
runId;
|
|
804
|
+
budgetTotal;
|
|
805
|
+
spent;
|
|
806
|
+
constructor(runId, budgetTotal, spent) {
|
|
807
|
+
super(
|
|
808
|
+
`Workflow ${runId} exceeded the token budget (${spent} / ${budgetTotal} output tokens spent).`
|
|
809
|
+
);
|
|
810
|
+
this.runId = runId;
|
|
811
|
+
this.budgetTotal = budgetTotal;
|
|
812
|
+
this.spent = spent;
|
|
813
|
+
}
|
|
814
|
+
};
|
|
815
|
+
|
|
729
816
|
// packages/core/src/agents/runtime/workflow-prompts.ts
|
|
730
817
|
init_esbuild_shims();
|
|
731
818
|
var WORKFLOW_SUBAGENT_SYSTEM_PROMPT = 'You are a subagent spawned by a workflow orchestration script. Use the tools available to complete the task.\nCRITICAL: Your final text response is returned **verbatim** as a string to the calling script \u2014 it is your return value, not a message to a human.\n- Output the literal result (data, JSON, text). Do NOT output confirmations like "Done." or "Sent."\n- If asked for JSON, return ONLY the raw JSON \u2014 no code fences, no prose, no markdown.\n- Do NOT use SendUserMessage to deliver your answer. Put your answer in your final text response.\n- Be concise. The script will parse your output.';
|
|
@@ -854,12 +941,12 @@ function generateRunId() {
|
|
|
854
941
|
}
|
|
855
942
|
__name(generateRunId, "generateRunId");
|
|
856
943
|
function sanitizeForErrorMessage(value) {
|
|
857
|
-
return value
|
|
944
|
+
return stripAnsiAndControl(value);
|
|
858
945
|
}
|
|
859
946
|
__name(sanitizeForErrorMessage, "sanitizeForErrorMessage");
|
|
860
|
-
function createProductionDispatch(config, signal) {
|
|
947
|
+
function createProductionDispatch(config, signal, onTokens) {
|
|
861
948
|
return async (prompt, opts) => {
|
|
862
|
-
const { AgentHeadless, ContextState } = await import("./agent-headless-
|
|
949
|
+
const { AgentHeadless, ContextState } = await import("./agent-headless-5SGQIWGS.js");
|
|
863
950
|
const ctx = new ContextState();
|
|
864
951
|
ctx.set("task_prompt", prompt);
|
|
865
952
|
if (opts.agentType === void 0 && opts.model === void 0 && opts.isolation === void 0 && opts.schema === void 0) {
|
|
@@ -884,7 +971,11 @@ function createProductionDispatch(config, signal) {
|
|
|
884
971
|
// deliver its answer via user message instead of the script's read.
|
|
885
972
|
{ tools: ["*"], disallowedTools: WORKFLOW_SUBAGENT_DISALLOWED_TOOLS }
|
|
886
973
|
);
|
|
887
|
-
|
|
974
|
+
try {
|
|
975
|
+
await subagent.execute(ctx, signal);
|
|
976
|
+
} finally {
|
|
977
|
+
reportTokens(subagent, opts, onTokens);
|
|
978
|
+
}
|
|
888
979
|
const mode = subagent.getTerminateMode();
|
|
889
980
|
if (mode !== "GOAL" /* GOAL */) {
|
|
890
981
|
throw new Error(
|
|
@@ -893,11 +984,21 @@ function createProductionDispatch(config, signal) {
|
|
|
893
984
|
}
|
|
894
985
|
return subagent.getFinalText();
|
|
895
986
|
}
|
|
896
|
-
return runOverridePath(config, ctx, opts, signal);
|
|
987
|
+
return runOverridePath(config, ctx, opts, signal, onTokens);
|
|
897
988
|
};
|
|
898
989
|
}
|
|
899
990
|
__name(createProductionDispatch, "createProductionDispatch");
|
|
900
|
-
|
|
991
|
+
function reportTokens(subagent, opts, onTokens) {
|
|
992
|
+
if (!onTokens) return;
|
|
993
|
+
try {
|
|
994
|
+
const summary = subagent.getExecutionSummary();
|
|
995
|
+
onTokens(summary.outputTokens, opts);
|
|
996
|
+
} catch (e) {
|
|
997
|
+
debugLogger.warn("onTokens callback threw:", e);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
__name(reportTokens, "reportTokens");
|
|
1001
|
+
async function runOverridePath(config, ctx, opts, signal, onTokens) {
|
|
901
1002
|
if (opts.isolation === "remote") {
|
|
902
1003
|
throw new Error(
|
|
903
1004
|
"agent({isolation:'remote'}) is not available in this build."
|
|
@@ -994,7 +1095,11 @@ ${WORKFLOW_SUBAGENT_SYSTEM_PROMPT_WITH_SCHEMA}` : WORKFLOW_SUBAGENT_SYSTEM_PROMP
|
|
|
994
1095
|
}
|
|
995
1096
|
);
|
|
996
1097
|
try {
|
|
997
|
-
|
|
1098
|
+
try {
|
|
1099
|
+
await subagent.execute(ctx, dispatchSignal);
|
|
1100
|
+
} finally {
|
|
1101
|
+
reportTokens(subagent, opts, onTokens);
|
|
1102
|
+
}
|
|
998
1103
|
if (schemaState) {
|
|
999
1104
|
if (schemaState.result !== null) {
|
|
1000
1105
|
if (worktreeIsolation) {
|
|
@@ -1261,7 +1366,16 @@ var WorkflowOrchestrator = class {
|
|
|
1261
1366
|
const limiter = createConcurrencyLimiter(resolveConcurrencyLimit(), signal);
|
|
1262
1367
|
let agentCount = 0;
|
|
1263
1368
|
const emitter = req.emitter;
|
|
1369
|
+
const budget = req.budget;
|
|
1264
1370
|
const countedDispatch = /* @__PURE__ */ __name((prompt, opts) => {
|
|
1371
|
+
if (budget && budget.total !== null && budget.remaining() <= 0) {
|
|
1372
|
+
debugLogger.warn(
|
|
1373
|
+
`[Workflow] budget gate refused dispatch at entry: runId=${runId} spent=${budget.spent()} total=${budget.total}`
|
|
1374
|
+
);
|
|
1375
|
+
return Promise.reject(
|
|
1376
|
+
new WorkflowBudgetExceededError(runId, budget.total, budget.spent())
|
|
1377
|
+
);
|
|
1378
|
+
}
|
|
1265
1379
|
agentCount += 1;
|
|
1266
1380
|
if (agentCount > maxAgents) {
|
|
1267
1381
|
return Promise.reject(
|
|
@@ -1276,13 +1390,32 @@ var WorkflowOrchestrator = class {
|
|
|
1276
1390
|
} catch (e) {
|
|
1277
1391
|
debugLogger.warn("emitter.agentDispatched threw:", e);
|
|
1278
1392
|
}
|
|
1279
|
-
return limiter.run(() =>
|
|
1393
|
+
return limiter.run(() => {
|
|
1394
|
+
if (budget && budget.total !== null && budget.remaining() <= 0) {
|
|
1395
|
+
debugLogger.warn(
|
|
1396
|
+
`[Workflow] budget gate refused dispatch at slot-acquire: runId=${runId} spent=${budget.spent()} total=${budget.total}`
|
|
1397
|
+
);
|
|
1398
|
+
throw new WorkflowBudgetExceededError(
|
|
1399
|
+
runId,
|
|
1400
|
+
budget.total,
|
|
1401
|
+
budget.spent()
|
|
1402
|
+
);
|
|
1403
|
+
}
|
|
1404
|
+
return this.dispatch(prompt, opts);
|
|
1405
|
+
}).then(
|
|
1280
1406
|
(result) => {
|
|
1281
1407
|
try {
|
|
1282
1408
|
emitter?.agentCompleted?.(label);
|
|
1283
1409
|
} catch (e) {
|
|
1284
1410
|
debugLogger.warn("emitter.agentCompleted threw:", e);
|
|
1285
1411
|
}
|
|
1412
|
+
if (budget) {
|
|
1413
|
+
try {
|
|
1414
|
+
emitter?.budgetUpdated?.(budget.spent(), budget.total);
|
|
1415
|
+
} catch (e) {
|
|
1416
|
+
debugLogger.warn("emitter.budgetUpdated threw:", e);
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1286
1419
|
return result;
|
|
1287
1420
|
},
|
|
1288
1421
|
(err) => {
|
|
@@ -1292,6 +1425,13 @@ var WorkflowOrchestrator = class {
|
|
|
1292
1425
|
} catch (e) {
|
|
1293
1426
|
debugLogger.warn("emitter.agentCompleted threw:", e);
|
|
1294
1427
|
}
|
|
1428
|
+
if (budget) {
|
|
1429
|
+
try {
|
|
1430
|
+
emitter?.budgetUpdated?.(budget.spent(), budget.total);
|
|
1431
|
+
} catch (e) {
|
|
1432
|
+
debugLogger.warn("emitter.budgetUpdated threw:", e);
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1295
1435
|
throw err;
|
|
1296
1436
|
}
|
|
1297
1437
|
);
|
|
@@ -1304,7 +1444,8 @@ var WorkflowOrchestrator = class {
|
|
|
1304
1444
|
parallel: parallelImpl,
|
|
1305
1445
|
pipeline: pipelineImpl,
|
|
1306
1446
|
abortOnTimeout: req.abortOnTimeout,
|
|
1307
|
-
emitter
|
|
1447
|
+
emitter,
|
|
1448
|
+
budget
|
|
1308
1449
|
});
|
|
1309
1450
|
try {
|
|
1310
1451
|
const result = await sandbox.run(req.script);
|
|
@@ -1441,7 +1582,15 @@ var WorkflowToolInvocation = class extends BaseToolInvocation {
|
|
|
1441
1582
|
}
|
|
1442
1583
|
async execute(signal, updateOutput, _shellExecutionConfig) {
|
|
1443
1584
|
const dispatchController = createChildAbortController(signal);
|
|
1444
|
-
const
|
|
1585
|
+
const budget = WorkflowBudgetImpl.fromEnv();
|
|
1586
|
+
const dispatch = this.toolOptions.dispatch ?? createProductionDispatch(
|
|
1587
|
+
this.config,
|
|
1588
|
+
dispatchController.signal,
|
|
1589
|
+
// P5 T3: production-dispatch onTokens callback. Test-injected
|
|
1590
|
+
// dispatches (`toolOptions.dispatch`) handle their own
|
|
1591
|
+
// recording — they don't surface stats the same way.
|
|
1592
|
+
(outputTokens) => budget.recordSpent(outputTokens)
|
|
1593
|
+
);
|
|
1445
1594
|
const orchestrator = new WorkflowOrchestrator(dispatch);
|
|
1446
1595
|
const runId = `wf_${randomBytes2(8).toString("hex")}`;
|
|
1447
1596
|
const registry = this.config.getWorkflowRunRegistry?.();
|
|
@@ -1453,7 +1602,11 @@ var WorkflowToolInvocation = class extends BaseToolInvocation {
|
|
|
1453
1602
|
startTime: Date.now(),
|
|
1454
1603
|
outputFile: "",
|
|
1455
1604
|
// P4b reserves the field but doesn't materialize
|
|
1456
|
-
abortController: dispatchController
|
|
1605
|
+
abortController: dispatchController,
|
|
1606
|
+
// P5: seed the cap so the dialog can render the `M / N` form
|
|
1607
|
+
// immediately, before the first `budgetUpdated` fires. Stays
|
|
1608
|
+
// `null` when no env override.
|
|
1609
|
+
tokenBudgetTotal: budget.total
|
|
1457
1610
|
});
|
|
1458
1611
|
const emitter = {
|
|
1459
1612
|
phaseStarted: /* @__PURE__ */ __name((title) => {
|
|
@@ -1466,10 +1619,13 @@ var WorkflowToolInvocation = class extends BaseToolInvocation {
|
|
|
1466
1619
|
}, "agentDispatched"),
|
|
1467
1620
|
agentCompleted: /* @__PURE__ */ __name(() => {
|
|
1468
1621
|
registry?.onAgentCompleted(runId);
|
|
1469
|
-
safeEmitUpdate(updateOutput, registryEntry);
|
|
1470
1622
|
}, "agentCompleted"),
|
|
1471
1623
|
logAppended: /* @__PURE__ */ __name(() => {
|
|
1472
|
-
}, "logAppended")
|
|
1624
|
+
}, "logAppended"),
|
|
1625
|
+
budgetUpdated: /* @__PURE__ */ __name((spent, total) => {
|
|
1626
|
+
registry?.onBudgetUpdated(runId, spent, total);
|
|
1627
|
+
safeEmitUpdate(updateOutput, registryEntry);
|
|
1628
|
+
}, "budgetUpdated")
|
|
1473
1629
|
};
|
|
1474
1630
|
try {
|
|
1475
1631
|
const outcome = await orchestrator.run({
|
|
@@ -1477,7 +1633,8 @@ var WorkflowToolInvocation = class extends BaseToolInvocation {
|
|
|
1477
1633
|
args: this.params.args,
|
|
1478
1634
|
abortOnTimeout: dispatchController,
|
|
1479
1635
|
runId,
|
|
1480
|
-
emitter
|
|
1636
|
+
emitter,
|
|
1637
|
+
budget
|
|
1481
1638
|
});
|
|
1482
1639
|
if (registryEntry) {
|
|
1483
1640
|
registryEntry.meta = outcome.meta;
|
|
@@ -1487,17 +1644,34 @@ var WorkflowToolInvocation = class extends BaseToolInvocation {
|
|
|
1487
1644
|
}
|
|
1488
1645
|
registry?.setRecentLogs(runId, outcome.logs);
|
|
1489
1646
|
registry?.complete(runId, outcome.result, Date.now());
|
|
1647
|
+
const usageBanner = resolveUsageBanner(
|
|
1648
|
+
this.config,
|
|
1649
|
+
registry,
|
|
1650
|
+
budget.total
|
|
1651
|
+
);
|
|
1490
1652
|
const llmText = safeStringifyResult(outcome.result);
|
|
1491
1653
|
const displayJson = safeStringifyDisplayPayload({
|
|
1492
1654
|
runId: outcome.runId,
|
|
1493
1655
|
...outcome.meta ? { meta: outcome.meta } : {},
|
|
1494
1656
|
phases: outcome.phases,
|
|
1495
1657
|
logs: outcome.logs,
|
|
1496
|
-
result: outcome.result
|
|
1658
|
+
result: outcome.result,
|
|
1659
|
+
// P5: surface the per-run token total in the terminal display so
|
|
1660
|
+
// the user sees actual usage even without opening the dialog.
|
|
1661
|
+
// P5 R1 (#11): align with `buildLivePhaseTreeDisplay` — include
|
|
1662
|
+
// tokens whenever ANY usage is reported OR a cap is set, not
|
|
1663
|
+
// only when spend > 0. A capped-but-zero-spend run still wants
|
|
1664
|
+
// the cap visible so the user sees the gate engaged.
|
|
1665
|
+
...budget.spent() > 0 || budget.total !== null ? {
|
|
1666
|
+
tokens: {
|
|
1667
|
+
spent: budget.spent(),
|
|
1668
|
+
total: budget.total
|
|
1669
|
+
}
|
|
1670
|
+
} : {}
|
|
1497
1671
|
});
|
|
1498
1672
|
return {
|
|
1499
1673
|
llmContent: [{ text: llmText }],
|
|
1500
|
-
returnDisplay: "```json\n" + displayJson + "\n```"
|
|
1674
|
+
returnDisplay: usageBanner + "```json\n" + displayJson + "\n```"
|
|
1501
1675
|
};
|
|
1502
1676
|
} catch (err) {
|
|
1503
1677
|
const message = extractErrorMessage2(err);
|
|
@@ -1543,6 +1717,12 @@ function buildLivePhaseTreeDisplay(entry) {
|
|
|
1543
1717
|
agentsDispatched: entry.agentsDispatched,
|
|
1544
1718
|
agentsCompleted: entry.agentsCompleted
|
|
1545
1719
|
};
|
|
1720
|
+
if (entry.tokensSpent > 0 || entry.tokenBudgetTotal !== null) {
|
|
1721
|
+
payload["tokens"] = {
|
|
1722
|
+
spent: entry.tokensSpent,
|
|
1723
|
+
total: entry.tokenBudgetTotal
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1546
1726
|
try {
|
|
1547
1727
|
return "```json\n" + JSON.stringify(payload, null, 2) + "\n```";
|
|
1548
1728
|
} catch {
|
|
@@ -1550,6 +1730,24 @@ function buildLivePhaseTreeDisplay(entry) {
|
|
|
1550
1730
|
}
|
|
1551
1731
|
}
|
|
1552
1732
|
__name(buildLivePhaseTreeDisplay, "buildLivePhaseTreeDisplay");
|
|
1733
|
+
function resolveUsageBanner(config, registry, budgetTotal) {
|
|
1734
|
+
if (!registry) return "";
|
|
1735
|
+
if (config.getSkipWorkflowUsageWarning?.()) return "";
|
|
1736
|
+
if (!registry.shouldShowUsageWarning()) return "";
|
|
1737
|
+
return buildUsageBanner(budgetTotal);
|
|
1738
|
+
}
|
|
1739
|
+
__name(resolveUsageBanner, "resolveUsageBanner");
|
|
1740
|
+
function buildUsageBanner(total) {
|
|
1741
|
+
if (total === null) {
|
|
1742
|
+
return `> Workflows have no per-run token cap. Set \`${MAX_TOKENS_PER_WORKFLOW_ENV}=<n>\` (env) for a soft cap. Suppress this notice with \`skipWorkflowUsageWarning: true\` in settings.
|
|
1743
|
+
|
|
1744
|
+
`;
|
|
1745
|
+
}
|
|
1746
|
+
return `> Workflow token cap is ${total} (per \`${MAX_TOKENS_PER_WORKFLOW_ENV}\`). Suppress this notice with \`skipWorkflowUsageWarning: true\` in settings.
|
|
1747
|
+
|
|
1748
|
+
`;
|
|
1749
|
+
}
|
|
1750
|
+
__name(buildUsageBanner, "buildUsageBanner");
|
|
1553
1751
|
function safeEmitUpdate(updateOutput, entry) {
|
|
1554
1752
|
if (!updateOutput || !entry) return;
|
|
1555
1753
|
try {
|
|
@@ -1637,3 +1835,8 @@ export {
|
|
|
1637
1835
|
* Copyright 2025 Qwen
|
|
1638
1836
|
* SPDX-License-Identifier: Apache-2.0
|
|
1639
1837
|
*/
|
|
1838
|
+
/**
|
|
1839
|
+
* @license
|
|
1840
|
+
* Copyright 2026 Qwen Team
|
|
1841
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
1842
|
+
*/
|
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
StructuredToolError,
|
|
5
|
-
checkPriorRead
|
|
6
|
-
} from "./chunk-C64WAJOC.js";
|
|
7
3
|
import {
|
|
8
4
|
CommitAttributionService,
|
|
9
5
|
DEFAULT_DIFF_OPTIONS,
|
|
10
6
|
FileEncoding,
|
|
7
|
+
StructuredToolError,
|
|
8
|
+
checkPriorRead,
|
|
11
9
|
createPatch,
|
|
12
10
|
detectLineEnding,
|
|
13
11
|
getDiffStat,
|
|
14
12
|
needsUtf8Bom
|
|
15
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MP436DDQ.js";
|
|
16
14
|
import "./chunk-K5PGHDBN.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-7GX7XYZU.js";
|
|
16
|
+
import "./chunk-7OCZ77KA.js";
|
|
17
|
+
import "./chunk-2ES3D3TW.js";
|
|
18
|
+
import "./chunk-2MPVVENX.js";
|
|
19
|
+
import "./chunk-ZTQ26VBE.js";
|
|
20
|
+
import "./chunk-4HMWGHPP.js";
|
|
21
|
+
import "./chunk-4TW2JM5Q.js";
|
|
22
|
+
import "./chunk-M5VYHAHT.js";
|
|
25
23
|
import "./chunk-MLZQVCF3.js";
|
|
26
24
|
import "./chunk-LD2XBG6Z.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-JIJBNW4A.js";
|
|
26
|
+
import "./chunk-E5SRTXRG.js";
|
|
29
27
|
import "./chunk-77WXWU44.js";
|
|
30
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WWU2KUSR.js";
|
|
31
29
|
import {
|
|
32
30
|
FileOperationEvent,
|
|
33
31
|
fileExists,
|
|
34
32
|
getLanguageFromFilePath,
|
|
35
33
|
getSpecificMimeType,
|
|
36
34
|
logFileOperation
|
|
37
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JP3LQIMW.js";
|
|
38
36
|
import "./chunk-3PJXIDKI.js";
|
|
39
37
|
import "./chunk-UWCTAVOD.js";
|
|
40
38
|
import "./chunk-OFEVLU4C.js";
|
|
39
|
+
import "./chunk-OMX7CUOE.js";
|
|
41
40
|
import {
|
|
42
41
|
isAnyAutoMemPath
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-FPZF3BNV.js";
|
|
43
|
+
import "./chunk-VWPDSQZY.js";
|
|
44
|
+
import "./chunk-AQDPHFDZ.js";
|
|
46
45
|
import {
|
|
47
46
|
BaseDeclarativeTool,
|
|
48
47
|
BaseToolInvocation,
|
|
49
48
|
ToolDisplayNames,
|
|
50
49
|
ToolNames
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-JJHY7NAD.js";
|
|
51
|
+
import "./chunk-DZCZZPCY.js";
|
|
52
|
+
import "./chunk-F6FP3URI.js";
|
|
54
53
|
import "./chunk-64WXLC72.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-N5QHMPZU.js";
|
|
55
|
+
import "./chunk-HU3RKEK2.js";
|
|
56
|
+
import "./chunk-PTGKSUUJ.js";
|
|
58
57
|
import "./chunk-55ZMG67I.js";
|
|
59
58
|
import "./chunk-H6BD2ELD.js";
|
|
60
59
|
import "./chunk-5IFG2VC4.js";
|
|
@@ -65,7 +64,7 @@ import {
|
|
|
65
64
|
makeRelative,
|
|
66
65
|
shortenPath,
|
|
67
66
|
unescapePath
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-IKOWINH4.js";
|
|
69
68
|
import "./chunk-ZERZSAZL.js";
|
|
70
69
|
import "./chunk-QN5NZ3UQ.js";
|
|
71
70
|
import "./chunk-BR4QREVK.js";
|