@qwen-code/qwen-code 0.18.2 → 0.18.3-nightly.20260621.6b2f800ab
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/auth.md +7 -6
- package/bundled/qc-helper/docs/configuration/model-providers.md +16 -2
- package/bundled/qc-helper/docs/configuration/settings.md +51 -44
- package/bundled/qc-helper/docs/extension/introduction.md +38 -0
- package/bundled/qc-helper/docs/features/approval-mode.md +2 -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-P5U6QLWL.js → agent-66UJLGYF.js} +24 -23
- package/chunks/{agent-headless-24356DC7.js → agent-headless-XWKLG7OO.js} +24 -23
- package/chunks/{anthropicContentGenerator-KLBHYGH6.js → anthropicContentGenerator-5S4OMMNL.js} +9 -7
- package/chunks/{askUserQuestion-QPZXR3UO.js → askUserQuestion-WHVYL2S2.js} +2 -2
- package/chunks/{ca-RK4QPLIX.js → ca-K6MD665I.js} +42 -2
- package/chunks/{chunk-WPTCDQN6.js → chunk-26ZYKTYZ.js} +2 -2
- package/chunks/{chunk-O4PICXES.js → chunk-2MPVVENX.js} +14 -6
- package/chunks/{chunk-VIEIRAK3.js → chunk-2O3NAOJG.js} +4 -2
- package/chunks/{chunk-NNIYWQIS.js → chunk-42HGOMED.js} +2 -1
- package/chunks/{chunk-B4ZF2KSI.js → chunk-AE6RQU6F.js} +2 -2
- package/chunks/{chunk-FIQECJTQ.js → chunk-ATLUHLZE.js} +1 -1
- package/chunks/{chunk-BJ5HQ23U.js → chunk-C6MI2ASN.js} +9 -10
- package/chunks/{chunk-LYRSMKLS.js → chunk-CTHZVIMD.js} +2 -2
- package/chunks/{chunk-MN5RAXVB.js → chunk-CX3SGIPK.js} +18 -6
- package/chunks/{chunk-IQHSD7K5.js → chunk-FH4P6RQA.js} +1 -1
- package/chunks/{chunk-LYSND7KR.js → chunk-G4BUMVEY.js} +12 -2
- package/chunks/{chunk-YJDVHAGL.js → chunk-GBN55AWZ.js} +2 -2
- package/chunks/{chunk-ZNUMXPNK.js → chunk-GOMVJKBL.js} +7 -3
- package/chunks/{chunk-NGDXHX3A.js → chunk-GRVAP37P.js} +63 -11
- package/chunks/{chunk-CPVI5J2L.js → chunk-ID533GA3.js} +1 -1
- package/chunks/{chunk-VU6A2OBJ.js → chunk-JXQ23SNT.js} +217 -219
- package/chunks/{chunk-ZMIBJS45.js → chunk-KGV3F6UF.js} +1 -1
- package/chunks/{chunk-SFRV6BGY.js → chunk-LF6BKGZT.js} +3 -3
- package/chunks/{chunk-LXYWINWF.js → chunk-LTN3VYMZ.js} +1 -1
- package/chunks/{chunk-IDYDPBBN.js → chunk-MSJ2MXJ6.js} +3 -3
- package/chunks/{chunk-25FFAMED.js → chunk-NLCTUNOS.js} +1048 -295
- package/chunks/{chunk-JZEKEWO5.js → chunk-TOSAOARP.js} +6 -6
- package/chunks/{chunk-M7OBURJM.js → chunk-VIA5MAE5.js} +24 -12
- package/chunks/{chunk-RTTAC5VW.js → chunk-VKILGMZQ.js} +1 -1
- package/chunks/{chunk-QFJ67S5R.js → chunk-VN7FXOAW.js} +732 -617
- package/chunks/{chunk-HA2UEYZP.js → chunk-WE6TNQJU.js} +13 -6
- package/chunks/chunk-XGU3ETVO.js +1026 -0
- package/chunks/{chunk-ZOFNJQNJ.js → chunk-XU7BKR3B.js} +3 -3
- package/chunks/{chunk-QP4R5FTG.js → chunk-Z7XXFPGP.js} +4 -3
- package/chunks/{chunk-TW522KN6.js → chunk-ZTQ26VBE.js} +13 -6
- package/chunks/{chunk-EQ5NHJBY.js → chunk-ZV5QED4A.js} +109573 -106663
- package/chunks/{computer-use-EGW2I2HZ.js → computer-use-5AHVGVR3.js} +26 -24
- package/chunks/contextCommand-PTDKJROT.js +54 -0
- package/chunks/{cron-create-DQKRQMCP.js → cron-create-THNDTYXU.js} +6 -6
- package/chunks/{cron-delete-DOFPHFTI.js → cron-delete-BS5H6TFJ.js} +6 -6
- package/chunks/{cron-list-RCVOO3CB.js → cron-list-7OBVHT7K.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-UH7CYT7F.js → dist-DZ6AJDX4.js} +52 -11
- package/chunks/{dist-KF43SZZV.js → dist-GKRNVFBH.js} +5 -1
- package/chunks/{dist-33LHH26D.js → dist-KIYB7DQW.js} +1 -1
- package/chunks/dist-QFFZWACU.js +2136 -0
- package/chunks/{edit-FJSOCDO2.js → edit-ADXZN3M7.js} +26 -27
- package/chunks/{en-VP6XPGEC.js → en-KGSAKBJP.js} +232 -0
- package/chunks/{enter-worktree-X6MVFDLR.js → enter-worktree-F5SJSHNH.js} +24 -23
- package/chunks/{enterPlanMode-MZAEQZH3.js → enterPlanMode-MCQ4HWPP.js} +52 -28
- package/chunks/{exit-worktree-RM2UPOYQ.js → exit-worktree-26AFS3YQ.js} +191 -41
- package/chunks/{exitPlanMode-7BVY3CWJ.js → exitPlanMode-UOPIPSEA.js} +85 -46
- package/chunks/{fr-ATYBVCLT.js → fr-2CAQEOK6.js} +41 -1
- package/chunks/{geminiContentGenerator-A6JHLUHK.js → geminiContentGenerator-RJA7BIHQ.js} +4 -4
- package/chunks/{glob-L3AZLCV6.js → glob-AWTDID4C.js} +26 -24
- package/chunks/{grep-SNCPCXIP.js → grep-QJ5TEMYZ.js} +96 -43
- package/chunks/{ja-W2QEA2OI.js → ja-QWL7V6OJ.js} +41 -1
- package/chunks/{keychain-token-storage-QSTRHKKL.js → keychain-token-storage-YHXIWXIB.js} +2 -2
- package/chunks/loop-wakeup-SSBWZ64K.js +167 -0
- package/chunks/{ls-TRD77UTS.js → ls-YPFUHZRQ.js} +3 -3
- package/chunks/{lsp-2VFWQPZS.js → lsp-FD6DNVAF.js} +2 -2
- package/chunks/{monitor-TS6WL6DN.js → monitor-SQYLCQAK.js} +24 -23
- package/chunks/{notebook-edit-26RNH24J.js → notebook-edit-7RR3ABQ5.js} +25 -26
- package/chunks/{openaiContentGenerator-7CA63X5G.js → openaiContentGenerator-2CHXJZ4A.js} +14 -11
- package/chunks/{pt-ZKEWJFBW.js → pt-2SPOLMAY.js} +41 -1
- package/chunks/{qwenContentGenerator-4WJTJXFZ.js → qwenContentGenerator-ZXEKDN2J.js} +27 -26
- package/chunks/{qwenOAuth2-KK433U33.js → qwenOAuth2-WZ54YZ4J.js} +4 -4
- package/chunks/{read-file-EUIHK6HD.js → read-file-AZAKLZFP.js} +9 -8
- package/chunks/{ripGrep-7J5B22W2.js → ripGrep-T5PS4VWB.js} +24 -23
- package/chunks/{ru-VEKTPJ74.js → ru-35IVJTEH.js} +41 -1
- package/chunks/{scheduler-J3OUGTTS.js → scheduler-VZ5KYSX6.js} +24 -23
- package/chunks/{send-message-QZOC5GA2.js → send-message-FWFTX62Q.js} +2 -2
- package/chunks/{serve-VF4ZNUJP.js → serve-RN6CHKG3.js} +1308 -291
- package/chunks/{shell-G6XCJAG3.js → shell-ANALFMWT.js} +24 -23
- package/chunks/{skill-7OVC6JIH.js → skill-JIKQTL4U.js} +11 -10
- package/chunks/{src-XV5MLRND.js → src-EMRXVZY7.js} +159 -59
- package/chunks/{syntheticOutput-WJSUK4SZ.js → syntheticOutput-JY5NEDTV.js} +3 -3
- package/chunks/{task-create-GGSC27HO.js → task-create-IGILDV25.js} +7 -7
- package/chunks/{task-list-EDHHHSK4.js → task-list-KBEJVAAG.js} +6 -6
- package/chunks/{task-stop-WR5PDVZY.js → task-stop-WFTMQ6AC.js} +2 -2
- package/chunks/{task-update-UR7NUHBV.js → task-update-UIVX7ZEV.js} +7 -7
- package/chunks/{team-create-JXSC7ROC.js → team-create-BVKQF4WK.js} +26 -25
- package/chunks/{team-delete-FC33URJK.js → team-delete-LPOXDPVB.js} +6 -6
- package/chunks/{todoWrite-GO2ME7ZV.js → todoWrite-R4RIJKOD.js} +4 -4
- package/chunks/{tool-search-YRWSWA2H.js → tool-search-E4VYDNQO.js} +9 -8
- package/chunks/{web-fetch-NLLATYIL.js → web-fetch-JU7SS6KE.js} +5 -5
- package/chunks/{workflow-ZN3DYFMU.js → workflow-VDPJJYAF.js} +242 -39
- package/chunks/{write-file-355M4V7Z.js → write-file-NCN66V2C.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 +11094 -5768
- 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-HI2X2Y7I.js +0 -53
|
@@ -3,45 +3,46 @@
|
|
|
3
3
|
import {
|
|
4
4
|
escape,
|
|
5
5
|
glob
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZV5QED4A.js";
|
|
7
7
|
import "./chunk-K5PGHDBN.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-XU7BKR3B.js";
|
|
9
|
+
import "./chunk-2O3NAOJG.js";
|
|
10
|
+
import "./chunk-XGU3ETVO.js";
|
|
11
|
+
import "./chunk-2MPVVENX.js";
|
|
12
|
+
import "./chunk-ZTQ26VBE.js";
|
|
13
|
+
import "./chunk-C6MI2ASN.js";
|
|
14
|
+
import "./chunk-LF6BKGZT.js";
|
|
15
|
+
import "./chunk-26ZYKTYZ.js";
|
|
16
16
|
import "./chunk-MLZQVCF3.js";
|
|
17
17
|
import "./chunk-LD2XBG6Z.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ID533GA3.js";
|
|
19
|
+
import "./chunk-KGV3F6UF.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_FILE_FILTERING_OPTIONS
|
|
22
22
|
} from "./chunk-77WXWU44.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-AE6RQU6F.js";
|
|
24
|
+
import "./chunk-NLCTUNOS.js";
|
|
25
25
|
import "./chunk-3PJXIDKI.js";
|
|
26
26
|
import "./chunk-UWCTAVOD.js";
|
|
27
27
|
import "./chunk-OFEVLU4C.js";
|
|
28
|
+
import "./chunk-OMX7CUOE.js";
|
|
28
29
|
import {
|
|
29
30
|
getMemoryBaseDir
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-FH4P6RQA.js";
|
|
32
|
+
import "./chunk-CTHZVIMD.js";
|
|
33
|
+
import "./chunk-VKILGMZQ.js";
|
|
33
34
|
import {
|
|
34
35
|
BaseDeclarativeTool,
|
|
35
36
|
BaseToolInvocation,
|
|
36
37
|
ToolDisplayNames,
|
|
37
38
|
ToolNames
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-GOMVJKBL.js";
|
|
40
|
+
import "./chunk-MSJ2MXJ6.js";
|
|
41
|
+
import "./chunk-ATLUHLZE.js";
|
|
41
42
|
import "./chunk-64WXLC72.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-LTN3VYMZ.js";
|
|
44
|
+
import "./chunk-42HGOMED.js";
|
|
45
|
+
import "./chunk-G4BUMVEY.js";
|
|
45
46
|
import "./chunk-55ZMG67I.js";
|
|
46
47
|
import "./chunk-H6BD2ELD.js";
|
|
47
48
|
import "./chunk-5IFG2VC4.js";
|
|
@@ -50,8 +51,9 @@ import {
|
|
|
50
51
|
getErrorMessage,
|
|
51
52
|
isSubpath,
|
|
52
53
|
resolveAndValidatePath,
|
|
54
|
+
resolvePath,
|
|
53
55
|
unescapePath
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-WE6TNQJU.js";
|
|
55
57
|
import "./chunk-ZERZSAZL.js";
|
|
56
58
|
import "./chunk-QN5NZ3UQ.js";
|
|
57
59
|
import "./chunk-BR4QREVK.js";
|
|
@@ -115,7 +117,7 @@ var GlobToolInvocation = class extends BaseToolInvocation {
|
|
|
115
117
|
return "allow";
|
|
116
118
|
}
|
|
117
119
|
const workspaceContext = this.config.getWorkspaceContext();
|
|
118
|
-
const resolvedPath =
|
|
120
|
+
const resolvedPath = resolvePath(
|
|
119
121
|
this.config.getTargetDir(),
|
|
120
122
|
this.params.path
|
|
121
123
|
);
|
|
@@ -5,43 +5,44 @@ import {
|
|
|
5
5
|
isCommandAvailable,
|
|
6
6
|
isGitRepository,
|
|
7
7
|
recordGrepResultFileReads
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZV5QED4A.js";
|
|
9
9
|
import "./chunk-K5PGHDBN.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XU7BKR3B.js";
|
|
11
|
+
import "./chunk-2O3NAOJG.js";
|
|
12
|
+
import "./chunk-XGU3ETVO.js";
|
|
13
|
+
import "./chunk-2MPVVENX.js";
|
|
14
|
+
import "./chunk-ZTQ26VBE.js";
|
|
15
|
+
import "./chunk-C6MI2ASN.js";
|
|
16
|
+
import "./chunk-LF6BKGZT.js";
|
|
17
|
+
import "./chunk-26ZYKTYZ.js";
|
|
18
18
|
import "./chunk-MLZQVCF3.js";
|
|
19
19
|
import "./chunk-LD2XBG6Z.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ID533GA3.js";
|
|
21
|
+
import "./chunk-KGV3F6UF.js";
|
|
22
22
|
import "./chunk-77WXWU44.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-AE6RQU6F.js";
|
|
24
|
+
import "./chunk-NLCTUNOS.js";
|
|
25
25
|
import "./chunk-3PJXIDKI.js";
|
|
26
26
|
import "./chunk-UWCTAVOD.js";
|
|
27
27
|
import "./chunk-OFEVLU4C.js";
|
|
28
|
+
import "./chunk-OMX7CUOE.js";
|
|
28
29
|
import {
|
|
29
30
|
getMemoryBaseDir
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-FH4P6RQA.js";
|
|
32
|
+
import "./chunk-CTHZVIMD.js";
|
|
33
|
+
import "./chunk-VKILGMZQ.js";
|
|
33
34
|
import {
|
|
34
35
|
BaseDeclarativeTool,
|
|
35
36
|
BaseToolInvocation,
|
|
36
37
|
ToolDisplayNames,
|
|
37
38
|
ToolNames
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-GOMVJKBL.js";
|
|
40
|
+
import "./chunk-MSJ2MXJ6.js";
|
|
41
|
+
import "./chunk-ATLUHLZE.js";
|
|
41
42
|
import "./chunk-64WXLC72.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-LTN3VYMZ.js";
|
|
44
|
+
import "./chunk-42HGOMED.js";
|
|
45
|
+
import "./chunk-G4BUMVEY.js";
|
|
45
46
|
import "./chunk-55ZMG67I.js";
|
|
46
47
|
import "./chunk-H6BD2ELD.js";
|
|
47
48
|
import "./chunk-5IFG2VC4.js";
|
|
@@ -51,8 +52,9 @@ import {
|
|
|
51
52
|
isNodeError,
|
|
52
53
|
isSubpath,
|
|
53
54
|
resolveAndValidatePath,
|
|
55
|
+
resolvePath,
|
|
54
56
|
unescapePath
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-WE6TNQJU.js";
|
|
56
58
|
import "./chunk-ZERZSAZL.js";
|
|
57
59
|
import "./chunk-QN5NZ3UQ.js";
|
|
58
60
|
import "./chunk-BR4QREVK.js";
|
|
@@ -68,7 +70,6 @@ import {
|
|
|
68
70
|
init_esbuild_shims();
|
|
69
71
|
import fsPromises from "node:fs/promises";
|
|
70
72
|
import path from "node:path";
|
|
71
|
-
import { EOL } from "node:os";
|
|
72
73
|
import { spawn } from "node:child_process";
|
|
73
74
|
var debugLogger = createDebugLogger("GREP");
|
|
74
75
|
var GrepToolInvocation = class extends BaseToolInvocation {
|
|
@@ -90,7 +91,7 @@ var GrepToolInvocation = class extends BaseToolInvocation {
|
|
|
90
91
|
return "allow";
|
|
91
92
|
}
|
|
92
93
|
const workspaceContext = this.config.getWorkspaceContext();
|
|
93
|
-
const resolvedPath =
|
|
94
|
+
const resolvedPath = resolvePath(
|
|
94
95
|
this.config.getTargetDir(),
|
|
95
96
|
this.params.path
|
|
96
97
|
);
|
|
@@ -246,8 +247,11 @@ var GrepToolInvocation = class extends BaseToolInvocation {
|
|
|
246
247
|
}
|
|
247
248
|
/**
|
|
248
249
|
* Parses the standard output of grep-like commands (git grep, system grep).
|
|
249
|
-
*
|
|
250
|
-
*
|
|
250
|
+
* Primary formats are null-delimited:
|
|
251
|
+
* - git grep -z -n: filePath\0lineNumber\0lineContent\n
|
|
252
|
+
* - grep --null -n: filePath\0lineNumber:lineContent\n
|
|
253
|
+
* Also accepts legacy colon-delimited output as a fallback.
|
|
254
|
+
* Handles colons within file paths and line content correctly for null-delimited output.
|
|
251
255
|
* @param {string} output The raw stdout string.
|
|
252
256
|
* @param {string} basePath The absolute directory the search was run from, for relative paths.
|
|
253
257
|
* @returns {GrepMatch[]} Array of match objects.
|
|
@@ -255,19 +259,7 @@ var GrepToolInvocation = class extends BaseToolInvocation {
|
|
|
255
259
|
parseGrepOutput(output, basePath) {
|
|
256
260
|
const results = [];
|
|
257
261
|
if (!output) return results;
|
|
258
|
-
const
|
|
259
|
-
for (const line of lines) {
|
|
260
|
-
if (!line.trim()) continue;
|
|
261
|
-
const firstColonIndex = line.indexOf(":");
|
|
262
|
-
if (firstColonIndex === -1) continue;
|
|
263
|
-
const secondColonIndex = line.indexOf(":", firstColonIndex + 1);
|
|
264
|
-
if (secondColonIndex === -1) continue;
|
|
265
|
-
const filePathRaw = line.substring(0, firstColonIndex);
|
|
266
|
-
const lineNumberStr = line.substring(
|
|
267
|
-
firstColonIndex + 1,
|
|
268
|
-
secondColonIndex
|
|
269
|
-
);
|
|
270
|
-
const lineContent = line.substring(secondColonIndex + 1);
|
|
262
|
+
const pushMatch = /* @__PURE__ */ __name((filePathRaw, lineNumberStr, lineContent) => {
|
|
271
263
|
const lineNumber = parseInt(lineNumberStr, 10);
|
|
272
264
|
if (!isNaN(lineNumber)) {
|
|
273
265
|
const absoluteFilePath = path.resolve(basePath, filePathRaw);
|
|
@@ -279,6 +271,62 @@ var GrepToolInvocation = class extends BaseToolInvocation {
|
|
|
279
271
|
line: lineContent.replace(/\r$/, "")
|
|
280
272
|
});
|
|
281
273
|
}
|
|
274
|
+
}, "pushMatch");
|
|
275
|
+
if (output.includes("\0")) {
|
|
276
|
+
let index = 0;
|
|
277
|
+
while (index < output.length) {
|
|
278
|
+
const pathEnd = output.indexOf("\0", index);
|
|
279
|
+
if (pathEnd === -1) break;
|
|
280
|
+
const nextNewline = output.indexOf("\n", index);
|
|
281
|
+
if (nextNewline !== -1 && nextNewline < pathEnd) {
|
|
282
|
+
debugLogger.debug(
|
|
283
|
+
`Skipping unframed grep output line: ${output.substring(
|
|
284
|
+
index,
|
|
285
|
+
nextNewline
|
|
286
|
+
)}`
|
|
287
|
+
);
|
|
288
|
+
index = nextNewline + 1;
|
|
289
|
+
continue;
|
|
290
|
+
}
|
|
291
|
+
const filePathRaw = output.substring(index, pathEnd);
|
|
292
|
+
const afterPath = pathEnd + 1;
|
|
293
|
+
const nextNull = output.indexOf("\0", afterPath);
|
|
294
|
+
let lineEnd = output.indexOf("\n", afterPath);
|
|
295
|
+
if (lineEnd === -1) lineEnd = output.length;
|
|
296
|
+
if (nextNull !== -1 && nextNull < lineEnd) {
|
|
297
|
+
const lineNumberStr = output.substring(afterPath, nextNull);
|
|
298
|
+
let contentEnd = output.indexOf("\n", nextNull + 1);
|
|
299
|
+
if (contentEnd === -1) contentEnd = output.length;
|
|
300
|
+
const lineContent = output.substring(nextNull + 1, contentEnd);
|
|
301
|
+
pushMatch(filePathRaw, lineNumberStr, lineContent);
|
|
302
|
+
index = contentEnd + 1;
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
305
|
+
const rest = output.substring(afterPath, lineEnd);
|
|
306
|
+
const separator = rest.indexOf(":");
|
|
307
|
+
if (separator !== -1) {
|
|
308
|
+
pushMatch(
|
|
309
|
+
filePathRaw,
|
|
310
|
+
rest.substring(0, separator),
|
|
311
|
+
rest.substring(separator + 1)
|
|
312
|
+
);
|
|
313
|
+
} else {
|
|
314
|
+
debugLogger.debug(
|
|
315
|
+
`Skipping malformed grep --null record for ${filePathRaw}`
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
index = lineEnd + 1;
|
|
319
|
+
}
|
|
320
|
+
return results;
|
|
321
|
+
}
|
|
322
|
+
const lines = output.split("\n");
|
|
323
|
+
for (const line of lines) {
|
|
324
|
+
if (!line.trim()) continue;
|
|
325
|
+
const normalizedLine = line.replace(/\r$/, "");
|
|
326
|
+
const match = normalizedLine.match(/^(.+?):(\d+):(.*)$/);
|
|
327
|
+
if (!match) continue;
|
|
328
|
+
const [, filePathRaw, lineNumberStr, lineContent] = match;
|
|
329
|
+
pushMatch(filePathRaw, lineNumberStr, lineContent);
|
|
282
330
|
}
|
|
283
331
|
return results;
|
|
284
332
|
}
|
|
@@ -310,6 +358,7 @@ var GrepToolInvocation = class extends BaseToolInvocation {
|
|
|
310
358
|
"grep",
|
|
311
359
|
"--untracked",
|
|
312
360
|
"-n",
|
|
361
|
+
"-z",
|
|
313
362
|
"-E",
|
|
314
363
|
"--ignore-case",
|
|
315
364
|
pattern
|
|
@@ -355,7 +404,7 @@ var GrepToolInvocation = class extends BaseToolInvocation {
|
|
|
355
404
|
const { available: grepAvailable } = isCommandAvailable("grep");
|
|
356
405
|
if (grepAvailable) {
|
|
357
406
|
strategyUsed = "system grep";
|
|
358
|
-
const grepArgs = ["-r", "-n", "-H", "-E"];
|
|
407
|
+
const grepArgs = ["-r", "-n", "-H", "-E", "--null"];
|
|
359
408
|
const globExcludes = this.fileExclusions.getGlobExcludes();
|
|
360
409
|
const commonExcludes = globExcludes.map((pattern2) => {
|
|
361
410
|
let dir = pattern2;
|
|
@@ -511,8 +560,9 @@ var GrepTool = class _GrepTool extends BaseDeclarativeTool {
|
|
|
511
560
|
description: "File or directory to search in. Defaults to current working directory."
|
|
512
561
|
},
|
|
513
562
|
limit: {
|
|
514
|
-
type: "
|
|
515
|
-
|
|
563
|
+
type: "integer",
|
|
564
|
+
minimum: 1,
|
|
565
|
+
description: "Limit output to first N matching lines. Must be a positive integer. Optional - shows all matches if not specified."
|
|
516
566
|
}
|
|
517
567
|
},
|
|
518
568
|
required: ["pattern"],
|
|
@@ -534,6 +584,9 @@ var GrepTool = class _GrepTool extends BaseDeclarativeTool {
|
|
|
534
584
|
* @returns An error message string if invalid, null otherwise
|
|
535
585
|
*/
|
|
536
586
|
validateToolParamValues(params) {
|
|
587
|
+
if (params.limit !== void 0 && (!Number.isInteger(params.limit) || params.limit <= 0)) {
|
|
588
|
+
return "limit must be a positive integer";
|
|
589
|
+
}
|
|
537
590
|
try {
|
|
538
591
|
new RegExp(params.pattern);
|
|
539
592
|
} catch (error) {
|
|
@@ -281,9 +281,39 @@ var ja_default = {
|
|
|
281
281
|
"Auto (detect from system)": "\u81EA\u52D5(\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u691C\u51FA)",
|
|
282
282
|
"Auto (detect terminal theme)": "\u81EA\u52D5\uFF08\u7AEF\u672B\u30C6\u30FC\u30DE\u3092\u691C\u51FA\uFF09",
|
|
283
283
|
Auto: "\u81EA\u52D5",
|
|
284
|
-
"check session stats. Usage: /stats [model|tools]": "\u30BB\u30C3\u30B7\u30E7\u30F3\u7D71\u8A08\u3092\u78BA\u8A8D\u3002\u4F7F\u3044\u65B9: /stats [model|tools]",
|
|
285
284
|
"Show model-specific usage statistics.": "\u30E2\u30C7\u30EB\u5225\u306E\u4F7F\u7528\u7D71\u8A08\u3092\u8868\u793A",
|
|
286
285
|
"Show tool-specific usage statistics.": "\u30C4\u30FC\u30EB\u5225\u306E\u4F7F\u7528\u7D71\u8A08\u3092\u8868\u793A",
|
|
286
|
+
"Show daily token usage statistics.": "\u65E5\u6B21 token \u4F7F\u7528\u7D71\u8A08\u3092\u8868\u793A",
|
|
287
|
+
"Show monthly token usage statistics.": "\u6708\u6B21 token \u4F7F\u7528\u7D71\u8A08\u3092\u8868\u793A",
|
|
288
|
+
"Export token usage statistics to CSV or JSON.": "token \u4F7F\u7528\u7D71\u8A08\u3092 CSV \u307E\u305F\u306F JSON \u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",
|
|
289
|
+
"No usage data.": "\u4F7F\u7528\u30C7\u30FC\u30BF\u306F\u3042\u308A\u307E\u305B\u3093\u3002",
|
|
290
|
+
"{{label}}: {{tokens}} tokens ({{requests}} requests)": "{{label}}: {{tokens}} tokens\uFF08{{requests}} \u30EA\u30AF\u30A8\u30B9\u30C8\uFF09",
|
|
291
|
+
"Daily token usage for {{value}}": "{{value}} \u306E\u65E5\u6B21 token \u4F7F\u7528\u91CF",
|
|
292
|
+
"Monthly token usage for {{value}}": "{{value}} \u306E\u6708\u6B21 token \u4F7F\u7528\u91CF",
|
|
293
|
+
"Total: {{tokens}} tokens": "\u5408\u8A08: {{tokens}} tokens",
|
|
294
|
+
"Requests: {{requests}}": "\u30EA\u30AF\u30A8\u30B9\u30C8\u6570: {{requests}}",
|
|
295
|
+
"Breakdown:": "\u5185\u8A33:",
|
|
296
|
+
"Input: {{tokens}}": "\u5165\u529B: {{tokens}}",
|
|
297
|
+
"Output: {{tokens}}": "\u51FA\u529B: {{tokens}}",
|
|
298
|
+
"Cached (included in Input): {{tokens}}": "\u30AD\u30E3\u30C3\u30B7\u30E5\uFF08\u5165\u529B\u306B\u542B\u307E\u308C\u308B\uFF09: {{tokens}}",
|
|
299
|
+
"Thoughts: {{tokens}}": "\u601D\u8003: {{tokens}}",
|
|
300
|
+
"By model:": "\u30E2\u30C7\u30EB\u5225:",
|
|
301
|
+
"By auth type:": "\u8A8D\u8A3C\u30BF\u30A4\u30D7\u5225:",
|
|
302
|
+
"By model/auth type:": "\u30E2\u30C7\u30EB/\u8A8D\u8A3C\u30BF\u30A4\u30D7\u5225:",
|
|
303
|
+
"By source:": "\u30BD\u30FC\u30B9\u5225:",
|
|
304
|
+
"Failed to load token usage stats: {{error}}": "token \u4F7F\u7528\u7D71\u8A08\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {{error}}",
|
|
305
|
+
"Expected --format csv or --format json.": "--format csv \u307E\u305F\u306F --format json \u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
306
|
+
"Expected a file path after --output.": "--output \u306E\u5F8C\u306B\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
307
|
+
"Unexpected argument: {{argument}}": "\u4E88\u671F\u3057\u306A\u3044\u5F15\u6570: {{argument}}",
|
|
308
|
+
"Usage: /stats export <daily|monthly> [YYYY-MM-DD|YYYY-MM] [--format csv|json] [--output path]": "\u4F7F\u3044\u65B9: /stats export <daily|monthly> [YYYY-MM-DD|YYYY-MM] [--format csv|json] [--output path]",
|
|
309
|
+
"Token usage export path must be within the project working directory.": "token \u4F7F\u7528\u91CF\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u5148\u306F\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u4F5C\u696D\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u5185\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",
|
|
310
|
+
"Export target does not exist: {{path}}": "\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u5148\u304C\u5B58\u5728\u3057\u307E\u305B\u3093: {{path}}",
|
|
311
|
+
"Cannot resolve export path within the working directory.": "\u4F5C\u696D\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u5185\u3067\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30D1\u30B9\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3002",
|
|
312
|
+
"Could not create a temporary export file.": "\u4E00\u6642\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",
|
|
313
|
+
"Token usage exported to {{format}}: {{path}}": "token \u4F7F\u7528\u91CF\u3092 {{format}} \u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3057\u307E\u3057\u305F: {{path}}",
|
|
314
|
+
"Failed to export token usage stats: {{error}}": "token \u4F7F\u7528\u7D71\u8A08\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {{error}}",
|
|
315
|
+
"Unclosed quote in arguments.": "\u5F15\u6570\u306E\u5F15\u7528\u7B26\u304C\u9589\u3058\u3089\u308C\u3066\u3044\u307E\u305B\u3093\u3002",
|
|
316
|
+
"Note: generation timing (TTFT/TPS) belongs to generation metrics.": "\u6CE8: \u751F\u6210\u6642\u9593\uFF08TTFT/TPS\uFF09\u306F\u751F\u6210\u30E1\u30C8\u30EA\u30AF\u30B9\u306B\u5C5E\u3057\u307E\u3059\u3002",
|
|
287
317
|
"Manage workspace directories": "\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u7BA1\u7406",
|
|
288
318
|
"Add directories to the workspace. Use comma to separate multiple paths": "\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u8FFD\u52A0\u3002\u8907\u6570\u30D1\u30B9\u306F\u30AB\u30F3\u30DE\u3067\u533A\u5207\u3063\u3066\u304F\u3060\u3055\u3044",
|
|
289
319
|
"Show all directories in the workspace": "\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u5185\u306E\u3059\u3079\u3066\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u8868\u793A",
|
|
@@ -1315,6 +1345,16 @@ var ja_default = {
|
|
|
1315
1345
|
"Metadata write warning": "\u30E1\u30BF\u30C7\u30FC\u30BF\u66F8\u304D\u8FBC\u307F\u306E\u8B66\u544A",
|
|
1316
1346
|
"Subsequent dreams may be skipped as locked until the next session's staleness sweep cleans the file.": "\u6B21\u56DE\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u671F\u9650\u5207\u308C\u30AF\u30EA\u30FC\u30F3\u30A2\u30C3\u30D7\u3067\u30D5\u30A1\u30A4\u30EB\u304C\u524A\u9664\u3055\u308C\u308B\u307E\u3067\u3001\u4EE5\u964D\u306E dream \u306F\u30ED\u30C3\u30AF\u4E2D\u3068\u3057\u3066\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",
|
|
1317
1347
|
"The scheduler gate did not see this dream's timestamp; the next dream cycle may re-fire sooner than usual.": "\u30B9\u30B1\u30B8\u30E5\u30FC\u30E9\u30FC\u30B2\u30FC\u30C8\u304C\u3053\u306E dream \u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3092\u8A8D\u8B58\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u6B21\u306E dream \u30B5\u30A4\u30AF\u30EB\u306F\u901A\u5E38\u3088\u308A\u65E9\u304F\u518D\u5B9F\u884C\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",
|
|
1348
|
+
// === History collapse/expand commands ===
|
|
1349
|
+
"Set history to collapse by default when resuming a session": "Set history to collapse by default when resuming a session",
|
|
1350
|
+
"Set history to expand by default when resuming a session": "Set history to expand by default when resuming a session",
|
|
1351
|
+
"Expand the currently collapsed history transcript": "Expand the currently collapsed history transcript",
|
|
1352
|
+
"Control history display preferences and visibility": "Control history display preferences and visibility",
|
|
1353
|
+
"History will be collapsed by default for future resumed sessions.": "History will be collapsed by default for future resumed sessions.",
|
|
1354
|
+
"History will be expanded by default for future resumed sessions.": "History will be expanded by default for future resumed sessions.",
|
|
1355
|
+
"History is already expanded in this session.": "History is already expanded in this session.",
|
|
1356
|
+
"Usage: /history collapse-on-resume|expand-on-resume|expand-now": "Usage: /history collapse-on-resume|expand-on-resume|expand-now",
|
|
1357
|
+
"History collapsed: {{n}} messages hidden. Use /history expand-now to show.": "\u5C65\u6B74\u3092\u6298\u308A\u305F\u305F\u307F\u307E\u3057\u305F\uFF1A{{n}} \u4EF6\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u975E\u8868\u793A\u3067\u3059\u3002/history expand-now \u3067\u8868\u793A\u3057\u307E\u3059\u3002",
|
|
1318
1358
|
// === Same-as-English optimization ===
|
|
1319
1359
|
" (not in model registry)": "\uFF08\u30E2\u30C7\u30EB\u30EC\u30B8\u30B9\u30C8\u30EA\u306B\u3042\u308A\u307E\u305B\u3093\uFF09",
|
|
1320
1360
|
"Attribution: commit": "\u30B3\u30DF\u30C3\u30C8\u306E\u5E30\u5C5E\u8868\u793A",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
KeychainTokenStorage
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AE6RQU6F.js";
|
|
6
|
+
import "./chunk-WE6TNQJU.js";
|
|
7
7
|
import "./chunk-Z2Z3GUXZ.js";
|
|
8
8
|
import "./chunk-A4BMJM77.js";
|
|
9
9
|
import "./chunk-J2S4EL5Y.js";
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
WAKEUP_MAX_SECONDS,
|
|
5
|
+
WAKEUP_MIN_SECONDS,
|
|
6
|
+
clampWakeupSeconds
|
|
7
|
+
} from "./chunk-XGU3ETVO.js";
|
|
8
|
+
import "./chunk-2MPVVENX.js";
|
|
9
|
+
import "./chunk-ZTQ26VBE.js";
|
|
10
|
+
import "./chunk-C6MI2ASN.js";
|
|
11
|
+
import "./chunk-OMX7CUOE.js";
|
|
12
|
+
import {
|
|
13
|
+
BaseDeclarativeTool,
|
|
14
|
+
BaseToolInvocation,
|
|
15
|
+
ToolDisplayNames,
|
|
16
|
+
ToolNames
|
|
17
|
+
} from "./chunk-GOMVJKBL.js";
|
|
18
|
+
import "./chunk-LTN3VYMZ.js";
|
|
19
|
+
import {
|
|
20
|
+
getErrorMessage
|
|
21
|
+
} from "./chunk-WE6TNQJU.js";
|
|
22
|
+
import "./chunk-Z2Z3GUXZ.js";
|
|
23
|
+
import {
|
|
24
|
+
init_esbuild_shims
|
|
25
|
+
} from "./chunk-A4BMJM77.js";
|
|
26
|
+
import {
|
|
27
|
+
__name
|
|
28
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
29
|
+
|
|
30
|
+
// packages/core/src/tools/loop-wakeup.ts
|
|
31
|
+
init_esbuild_shims();
|
|
32
|
+
function formatRequested(delaySeconds) {
|
|
33
|
+
return Number.isFinite(delaySeconds) ? `${delaySeconds}s` : `${delaySeconds}`;
|
|
34
|
+
}
|
|
35
|
+
__name(formatRequested, "formatRequested");
|
|
36
|
+
var LoopWakeupInvocation = class extends BaseToolInvocation {
|
|
37
|
+
constructor(config, params) {
|
|
38
|
+
super(params);
|
|
39
|
+
this.config = config;
|
|
40
|
+
}
|
|
41
|
+
static {
|
|
42
|
+
__name(this, "LoopWakeupInvocation");
|
|
43
|
+
}
|
|
44
|
+
getDescription() {
|
|
45
|
+
const clamped = clampWakeupSeconds(this.params.delaySeconds);
|
|
46
|
+
const roundedDelaySeconds = Number.isFinite(this.params.delaySeconds) ? Math.round(this.params.delaySeconds) : this.params.delaySeconds;
|
|
47
|
+
const prefix = clamped === roundedDelaySeconds ? `${clamped}s` : `${clamped}s (requested ${formatRequested(this.params.delaySeconds)})`;
|
|
48
|
+
return `${prefix}: ${this.params.prompt}`;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Scheduling future model input is side-effectful: the continuation runs
|
|
52
|
+
* against the agent with full tool access at fire time. Returning 'ask'
|
|
53
|
+
* (never 'allow') keeps it out of AUTO mode's L4 short-circuit so the
|
|
54
|
+
* classifier still vets it — same reasoning as CronCreate.
|
|
55
|
+
*/
|
|
56
|
+
async getDefaultPermission() {
|
|
57
|
+
return "ask";
|
|
58
|
+
}
|
|
59
|
+
async execute() {
|
|
60
|
+
const prompt = this.params.prompt.trim();
|
|
61
|
+
if (!prompt) {
|
|
62
|
+
const message = "Loop wakeup prompt must not be empty.";
|
|
63
|
+
return {
|
|
64
|
+
llmContent: message,
|
|
65
|
+
returnDisplay: message,
|
|
66
|
+
error: { message }
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
try {
|
|
70
|
+
const scheduler = this.config.getCronScheduler();
|
|
71
|
+
if (scheduler.disabled) {
|
|
72
|
+
const message = "Loop wakeups are disabled for the rest of this session (token limit reached). Restart the session to re-enable.";
|
|
73
|
+
return {
|
|
74
|
+
llmContent: message,
|
|
75
|
+
returnDisplay: message,
|
|
76
|
+
error: { message }
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
const { id, scheduledFor, clampedDelaySeconds, wasClamped, replacedId } = scheduler.scheduleWakeup(this.params.delaySeconds, prompt);
|
|
80
|
+
const reason = this.params.reason?.trim();
|
|
81
|
+
const llmContent = [
|
|
82
|
+
`Scheduled loop wakeup ${id}.`,
|
|
83
|
+
replacedId ? `Replaced pending wakeup ${replacedId}.` : null,
|
|
84
|
+
`Scheduled for: ${scheduledFor} (in ${clampedDelaySeconds}s).`,
|
|
85
|
+
wasClamped ? `Requested ${formatRequested(this.params.delaySeconds)} was clamped to the [${WAKEUP_MIN_SECONDS}, ${WAKEUP_MAX_SECONDS}] s range.` : null,
|
|
86
|
+
reason ? `Reason: ${reason}.` : null,
|
|
87
|
+
"Session-only one-shot; not persisted. Call LoopWakeup again before ending the turn to keep the loop alive; omit it to end the loop."
|
|
88
|
+
].filter(Boolean).join("\n");
|
|
89
|
+
const returnDisplay = `Loop wakeup ${id} scheduled for ${scheduledFor}${reason ? ` \u2014 ${reason}` : ""}`;
|
|
90
|
+
return { llmContent, returnDisplay };
|
|
91
|
+
} catch (error) {
|
|
92
|
+
const message = getErrorMessage(error);
|
|
93
|
+
return {
|
|
94
|
+
llmContent: `Error scheduling loop wakeup: ${message}`,
|
|
95
|
+
returnDisplay: message,
|
|
96
|
+
error: { message }
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
var LoopWakeupTool = class _LoopWakeupTool extends BaseDeclarativeTool {
|
|
102
|
+
constructor(config) {
|
|
103
|
+
super(
|
|
104
|
+
_LoopWakeupTool.Name,
|
|
105
|
+
ToolDisplayNames.LOOP_WAKEUP,
|
|
106
|
+
"Schedule when to resume work in a self-paced loop iteration (always pass the `prompt` arg). Call this before ending the turn to keep the loop alive; omit the call to end the loop. Session-only and one-shot \u2014 it does not persist or recur. A self-paced wakeup chain may run for at most 24h.",
|
|
107
|
+
"other" /* Other */,
|
|
108
|
+
{
|
|
109
|
+
type: "object",
|
|
110
|
+
properties: {
|
|
111
|
+
delaySeconds: {
|
|
112
|
+
type: "number",
|
|
113
|
+
description: `Seconds from now to wake up. Clamped to [${WAKEUP_MIN_SECONDS}, ${WAKEUP_MAX_SECONDS}]. Prefer 60-270s for fast-changing state, 1200s+ when there is no reason to check sooner.`
|
|
114
|
+
},
|
|
115
|
+
prompt: {
|
|
116
|
+
type: "string",
|
|
117
|
+
maxLength: 1e4,
|
|
118
|
+
description: "Continuation prompt to enqueue when the wakeup fires. Prefix with `/loop` so the next firing re-invokes the loop skill, e.g. `/loop check the deploy`."
|
|
119
|
+
},
|
|
120
|
+
reason: {
|
|
121
|
+
type: "string",
|
|
122
|
+
description: "One short sentence explaining the chosen delay. Shown to the user. Be specific."
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
required: ["delaySeconds", "prompt"],
|
|
126
|
+
additionalProperties: false
|
|
127
|
+
},
|
|
128
|
+
true,
|
|
129
|
+
// isOutputMarkdown
|
|
130
|
+
false,
|
|
131
|
+
// canUpdateOutput
|
|
132
|
+
true,
|
|
133
|
+
// shouldDefer — scheduling is infrequent
|
|
134
|
+
false,
|
|
135
|
+
// alwaysLoad
|
|
136
|
+
"loop wakeup continuation follow-up self-pace"
|
|
137
|
+
);
|
|
138
|
+
this.config = config;
|
|
139
|
+
}
|
|
140
|
+
static {
|
|
141
|
+
__name(this, "LoopWakeupTool");
|
|
142
|
+
}
|
|
143
|
+
static Name = ToolNames.LOOP_WAKEUP;
|
|
144
|
+
createInvocation(params) {
|
|
145
|
+
return new LoopWakeupInvocation(this.config, params);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Forward the continuation prompt and cadence to the AUTO classifier —
|
|
149
|
+
* it is enqueued and executed against the agent at fire time, so it
|
|
150
|
+
* needs the same scrutiny as a direct command (mirrors CronCreate).
|
|
151
|
+
*/
|
|
152
|
+
toAutoClassifierInput(params) {
|
|
153
|
+
return {
|
|
154
|
+
delaySeconds: clampWakeupSeconds(params.delaySeconds),
|
|
155
|
+
prompt: params.prompt,
|
|
156
|
+
reason: params.reason ?? ""
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
export {
|
|
161
|
+
LoopWakeupTool
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @license
|
|
165
|
+
* Copyright 2026 Qwen
|
|
166
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
167
|
+
*/
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-77WXWU44.js";
|
|
6
6
|
import {
|
|
7
7
|
getMemoryBaseDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FH4P6RQA.js";
|
|
9
9
|
import {
|
|
10
10
|
BaseDeclarativeTool,
|
|
11
11
|
BaseToolInvocation,
|
|
12
12
|
ToolDisplayNames,
|
|
13
13
|
ToolNames
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GOMVJKBL.js";
|
|
15
15
|
import {
|
|
16
16
|
Storage,
|
|
17
17
|
createDebugLogger,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
makeRelative,
|
|
21
21
|
shortenPath,
|
|
22
22
|
unescapePath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WE6TNQJU.js";
|
|
24
24
|
import "./chunk-Z2Z3GUXZ.js";
|
|
25
25
|
import {
|
|
26
26
|
init_esbuild_shims
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
BaseToolInvocation,
|
|
6
6
|
ToolDisplayNames,
|
|
7
7
|
ToolNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GOMVJKBL.js";
|
|
9
9
|
import {
|
|
10
10
|
unescapePath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WE6TNQJU.js";
|
|
12
12
|
import "./chunk-Z2Z3GUXZ.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|