@qwen-code/qwen-code 0.18.3 → 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-IBLZKOHM.js → agent-PPGQVSZN.js} +24 -23
- package/chunks/{agent-headless-U3A2AQWP.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-O2HKIE5I.js → chunk-A6OKBLUA.js} +732 -617
- package/chunks/{chunk-RTTAC5VW.js → chunk-AQDPHFDZ.js} +1 -1
- package/chunks/{chunk-C63NLV2Y.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-MSS4XTSL.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-K3CCX4PX.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-OY2G3EH4.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-MRULXYE3.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-OEMCNYX5.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-HOHKMDP6.js → edit-OPGWEYXB.js} +26 -27
- package/chunks/{en-VP6XPGEC.js → en-KGSAKBJP.js} +232 -0
- package/chunks/{enter-worktree-O2DGTKFY.js → enter-worktree-JLFLU22E.js} +24 -23
- package/chunks/{enterPlanMode-FYHJD6AH.js → enterPlanMode-JFBUNYML.js} +47 -23
- package/chunks/{exit-worktree-TVTAKFIV.js → exit-worktree-NU64ZZRI.js} +191 -41
- package/chunks/{exitPlanMode-DL7XTFEC.js → exitPlanMode-UR6YQE64.js} +81 -43
- package/chunks/{fr-ATYBVCLT.js → fr-2CAQEOK6.js} +41 -1
- package/chunks/{geminiContentGenerator-2LLKQOJZ.js → geminiContentGenerator-KUVZXCGX.js} +4 -4
- package/chunks/{glob-DUCIKJZE.js → glob-RNX6IBFD.js} +26 -24
- package/chunks/{grep-A7CW7MHE.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-PPSG4MWE.js → monitor-LYHRV6SR.js} +24 -23
- package/chunks/{notebook-edit-OQBMXIAC.js → notebook-edit-B5FEP65B.js} +25 -26
- package/chunks/{openaiContentGenerator-JAHIGA7U.js → openaiContentGenerator-XYMMXZFG.js} +12 -11
- package/chunks/{pt-ZKEWJFBW.js → pt-2SPOLMAY.js} +41 -1
- package/chunks/{qwenContentGenerator-H357UGVE.js → qwenContentGenerator-QWPW3P7K.js} +26 -25
- package/chunks/{qwenOAuth2-KK433U33.js → qwenOAuth2-XWC5SU63.js} +4 -4
- package/chunks/{read-file-TQSF7AVG.js → read-file-ROEHCU4A.js} +9 -8
- package/chunks/{ripGrep-AI43PPZP.js → ripGrep-YBPCCX22.js} +24 -23
- package/chunks/{ru-VEKTPJ74.js → ru-35IVJTEH.js} +41 -1
- package/chunks/{scheduler-R6AQPP7V.js → scheduler-NIQSNCLH.js} +24 -23
- package/chunks/{send-message-QZOC5GA2.js → send-message-IIT3SHA7.js} +2 -2
- package/chunks/{serve-TH2BJ5XR.js → serve-GME2SMSV.js} +1249 -279
- package/chunks/{shell-C7AFLMP5.js → shell-E7NADQBV.js} +24 -23
- package/chunks/{skill-RKVBRTPA.js → skill-WVYNAGWW.js} +11 -10
- package/chunks/{src-IW53XETC.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-6F44EH3O.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-WGNAYT43.js → tool-search-PPLILX5J.js} +9 -8
- package/chunks/{web-fetch-NLLATYIL.js → web-fetch-6XLPPTP7.js} +5 -5
- package/chunks/{workflow-L5J5VGY4.js → workflow-CDROZNXC.js} +242 -39
- package/chunks/{write-file-2FKBW3XN.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-Y4PRJOJM.js +0 -53
|
@@ -3,51 +3,53 @@
|
|
|
3
3
|
import {
|
|
4
4
|
GitWorktreeService,
|
|
5
5
|
clearWorktreeSession,
|
|
6
|
+
isSessionRuntimeActive,
|
|
6
7
|
readWorktreeSession,
|
|
7
8
|
readWorktreeSessionMarker,
|
|
8
9
|
worktreeBranchForSlug
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MP436DDQ.js";
|
|
10
11
|
import "./chunk-K5PGHDBN.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-7GX7XYZU.js";
|
|
13
|
+
import "./chunk-7OCZ77KA.js";
|
|
14
|
+
import "./chunk-2ES3D3TW.js";
|
|
15
|
+
import "./chunk-2MPVVENX.js";
|
|
16
|
+
import "./chunk-ZTQ26VBE.js";
|
|
17
|
+
import "./chunk-4HMWGHPP.js";
|
|
18
|
+
import "./chunk-4TW2JM5Q.js";
|
|
19
|
+
import "./chunk-M5VYHAHT.js";
|
|
19
20
|
import "./chunk-MLZQVCF3.js";
|
|
20
21
|
import "./chunk-LD2XBG6Z.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JIJBNW4A.js";
|
|
23
|
+
import "./chunk-E5SRTXRG.js";
|
|
23
24
|
import "./chunk-77WXWU44.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-WWU2KUSR.js";
|
|
26
|
+
import "./chunk-JP3LQIMW.js";
|
|
26
27
|
import "./chunk-3PJXIDKI.js";
|
|
27
28
|
import "./chunk-UWCTAVOD.js";
|
|
28
29
|
import "./chunk-OFEVLU4C.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-OMX7CUOE.js";
|
|
31
|
+
import "./chunk-FPZF3BNV.js";
|
|
32
|
+
import "./chunk-VWPDSQZY.js";
|
|
33
|
+
import "./chunk-AQDPHFDZ.js";
|
|
32
34
|
import {
|
|
33
35
|
BaseDeclarativeTool,
|
|
34
36
|
BaseToolInvocation,
|
|
35
37
|
ToolDisplayNames,
|
|
36
38
|
ToolNames
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-JJHY7NAD.js";
|
|
40
|
+
import "./chunk-DZCZZPCY.js";
|
|
41
|
+
import "./chunk-F6FP3URI.js";
|
|
40
42
|
import "./chunk-64WXLC72.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-N5QHMPZU.js";
|
|
44
|
+
import "./chunk-HU3RKEK2.js";
|
|
45
|
+
import "./chunk-PTGKSUUJ.js";
|
|
44
46
|
import "./chunk-55ZMG67I.js";
|
|
45
47
|
import "./chunk-H6BD2ELD.js";
|
|
46
48
|
import "./chunk-5IFG2VC4.js";
|
|
47
49
|
import {
|
|
48
50
|
createDebugLogger,
|
|
49
51
|
isNodeError
|
|
50
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IKOWINH4.js";
|
|
51
53
|
import "./chunk-ZERZSAZL.js";
|
|
52
54
|
import "./chunk-QN5NZ3UQ.js";
|
|
53
55
|
import "./chunk-BR4QREVK.js";
|
|
@@ -62,6 +64,7 @@ import {
|
|
|
62
64
|
// packages/core/src/tools/exit-worktree.ts
|
|
63
65
|
init_esbuild_shims();
|
|
64
66
|
import * as fs from "node:fs/promises";
|
|
67
|
+
import * as path from "node:path";
|
|
65
68
|
var debugLogger = createDebugLogger("EXIT_WORKTREE");
|
|
66
69
|
var exitWorktreeDescription = `Exits a worktree previously created by ${ToolNames.ENTER_WORKTREE}.
|
|
67
70
|
|
|
@@ -114,10 +117,9 @@ var ExitWorktreeInvocation = class extends BaseToolInvocation {
|
|
|
114
117
|
if (this.params.action !== "remove") {
|
|
115
118
|
return super.getConfirmationDetails(_abortSignal);
|
|
116
119
|
}
|
|
117
|
-
const
|
|
118
|
-
const
|
|
119
|
-
const
|
|
120
|
-
const branch = worktreeBranchForSlug(this.params.name);
|
|
120
|
+
const target = await this.resolveConfirmationTarget();
|
|
121
|
+
const worktreePath = target.worktreePath;
|
|
122
|
+
const branch = target.branch;
|
|
121
123
|
const command = `git worktree remove ${worktreePath} && git branch -d ${branch}`;
|
|
122
124
|
const details = {
|
|
123
125
|
type: "exec",
|
|
@@ -133,23 +135,42 @@ var ExitWorktreeInvocation = class extends BaseToolInvocation {
|
|
|
133
135
|
const cwd = this.config.getTargetDir();
|
|
134
136
|
const probe = new GitWorktreeService(cwd);
|
|
135
137
|
const projectRoot = await probe.getRepoTopLevel() ?? cwd;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
let service = projectRoot === cwd ? probe : new GitWorktreeService(projectRoot);
|
|
139
|
+
let worktreePath = service.getUserWorktreePath(this.params.name);
|
|
140
|
+
let branch = worktreeBranchForSlug(this.params.name);
|
|
141
|
+
let currentWorktreeSession = null;
|
|
142
|
+
let currentSessionInWorktree = false;
|
|
143
|
+
let ownerProjectRoot = projectRoot;
|
|
139
144
|
let exists = false;
|
|
140
145
|
try {
|
|
141
|
-
|
|
142
|
-
exists = stat2.isDirectory();
|
|
146
|
+
exists = await isDirectory(worktreePath);
|
|
143
147
|
} catch (error) {
|
|
144
|
-
|
|
145
|
-
|
|
148
|
+
debugLogger.warn(`exit_worktree: cannot stat ${worktreePath}: ${error}`);
|
|
149
|
+
return errorResult(
|
|
150
|
+
`Cannot access worktree at ${worktreePath} (${error instanceof Error ? error.message : String(error)}).`
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
if (!exists) {
|
|
154
|
+
const resolved = await this.resolveCurrentSessionWorktree();
|
|
155
|
+
if (resolved) {
|
|
156
|
+
service = resolved.service;
|
|
157
|
+
worktreePath = resolved.worktreePath;
|
|
158
|
+
branch = resolved.branch;
|
|
159
|
+
currentWorktreeSession = resolved.session;
|
|
160
|
+
exists = true;
|
|
146
161
|
} else {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
return errorResult(
|
|
151
|
-
`Cannot access worktree at ${worktreePath} (${error instanceof Error ? error.message : String(error)}).`
|
|
162
|
+
const current = await resolveManagedWorktreeFromCwd(
|
|
163
|
+
cwd,
|
|
164
|
+
this.params.name
|
|
152
165
|
);
|
|
166
|
+
if (current) {
|
|
167
|
+
service = new GitWorktreeService(current.repoRoot);
|
|
168
|
+
worktreePath = current.worktreePath;
|
|
169
|
+
branch = worktreeBranchForSlug(this.params.name);
|
|
170
|
+
currentSessionInWorktree = true;
|
|
171
|
+
ownerProjectRoot = current.repoRoot;
|
|
172
|
+
exists = true;
|
|
173
|
+
}
|
|
153
174
|
}
|
|
154
175
|
}
|
|
155
176
|
if (!exists) {
|
|
@@ -172,8 +193,27 @@ var ExitWorktreeInvocation = class extends BaseToolInvocation {
|
|
|
172
193
|
const owner = await readWorktreeSessionMarker(worktreePath);
|
|
173
194
|
const currentSessionId = this.config.getSessionId();
|
|
174
195
|
if (owner !== null && owner !== currentSessionId) {
|
|
175
|
-
|
|
176
|
-
|
|
196
|
+
currentWorktreeSession ??= await this.readCurrentWorktreeSession();
|
|
197
|
+
const currentSessionOwnsPath = currentWorktreeSession?.slug === this.params.name && samePath(currentWorktreeSession.worktreePath, worktreePath);
|
|
198
|
+
const ownerActive = await isSessionRuntimeActive(
|
|
199
|
+
owner,
|
|
200
|
+
currentWorktreeSession ? [
|
|
201
|
+
currentWorktreeSession.originalCwd,
|
|
202
|
+
currentWorktreeSession.worktreePath
|
|
203
|
+
] : [ownerProjectRoot, worktreePath]
|
|
204
|
+
).catch((error) => {
|
|
205
|
+
debugLogger.warn(
|
|
206
|
+
`exit_worktree: failed to check owner runtime ${owner}: ${error}`
|
|
207
|
+
);
|
|
208
|
+
return true;
|
|
209
|
+
});
|
|
210
|
+
if (ownerActive || !currentSessionOwnsPath && !currentSessionInWorktree) {
|
|
211
|
+
return errorResult(
|
|
212
|
+
`Refusing to remove worktree "${this.params.name}" \u2014 it was created by a different session (owner=${owner}). Resume the owning session to drop it, or remove it manually with \`git worktree remove ${worktreePath}\`.`
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
debugLogger.warn(
|
|
216
|
+
`exit_worktree: allowing session ${currentSessionId} to remove ${worktreePath}; stale marker owner=${owner}`
|
|
177
217
|
);
|
|
178
218
|
}
|
|
179
219
|
if (owner === null) {
|
|
@@ -264,6 +304,82 @@ var ExitWorktreeInvocation = class extends BaseToolInvocation {
|
|
|
264
304
|
);
|
|
265
305
|
}
|
|
266
306
|
}
|
|
307
|
+
async readCurrentWorktreeSession() {
|
|
308
|
+
try {
|
|
309
|
+
const sessionPath = this.config.getSessionService().getWorktreeSessionPath(this.config.getSessionId());
|
|
310
|
+
return await readWorktreeSession(sessionPath);
|
|
311
|
+
} catch (error) {
|
|
312
|
+
debugLogger.warn(
|
|
313
|
+
`exit_worktree: failed to read current WorktreeSession sidecar: ${error}`
|
|
314
|
+
);
|
|
315
|
+
return null;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
async resolveCurrentSessionWorktree() {
|
|
319
|
+
const session = await this.readCurrentWorktreeSession();
|
|
320
|
+
if (!session || session.slug !== this.params.name) {
|
|
321
|
+
return null;
|
|
322
|
+
}
|
|
323
|
+
const service = new GitWorktreeService(session.originalCwd);
|
|
324
|
+
const expectedPath = service.getUserWorktreePath(this.params.name);
|
|
325
|
+
if (!samePath(session.worktreePath, expectedPath)) {
|
|
326
|
+
return null;
|
|
327
|
+
}
|
|
328
|
+
try {
|
|
329
|
+
if (!await isDirectory(session.worktreePath)) {
|
|
330
|
+
return null;
|
|
331
|
+
}
|
|
332
|
+
} catch (error) {
|
|
333
|
+
debugLogger.warn(
|
|
334
|
+
`exit_worktree: cannot stat sidecar worktree ${session.worktreePath}: ${error}`
|
|
335
|
+
);
|
|
336
|
+
return null;
|
|
337
|
+
}
|
|
338
|
+
return {
|
|
339
|
+
service,
|
|
340
|
+
worktreePath: session.worktreePath,
|
|
341
|
+
branch: session.worktreeBranch,
|
|
342
|
+
session
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
async resolveConfirmationTarget() {
|
|
346
|
+
const cwd = this.config.getTargetDir();
|
|
347
|
+
const probe = new GitWorktreeService(cwd);
|
|
348
|
+
const projectRoot = await probe.getRepoTopLevel() ?? cwd;
|
|
349
|
+
const service = projectRoot === cwd ? probe : new GitWorktreeService(projectRoot);
|
|
350
|
+
const worktreePath = service.getUserWorktreePath(this.params.name);
|
|
351
|
+
try {
|
|
352
|
+
if (await isDirectory(worktreePath)) {
|
|
353
|
+
return {
|
|
354
|
+
worktreePath,
|
|
355
|
+
branch: worktreeBranchForSlug(this.params.name)
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
} catch {
|
|
359
|
+
return {
|
|
360
|
+
worktreePath,
|
|
361
|
+
branch: worktreeBranchForSlug(this.params.name)
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
const resolved = await this.resolveCurrentSessionWorktree();
|
|
365
|
+
if (resolved) {
|
|
366
|
+
return {
|
|
367
|
+
worktreePath: resolved.worktreePath,
|
|
368
|
+
branch: resolved.branch
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
const current = await resolveManagedWorktreeFromCwd(cwd, this.params.name);
|
|
372
|
+
if (current) {
|
|
373
|
+
return {
|
|
374
|
+
worktreePath: current.worktreePath,
|
|
375
|
+
branch: worktreeBranchForSlug(this.params.name)
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
return {
|
|
379
|
+
worktreePath,
|
|
380
|
+
branch: worktreeBranchForSlug(this.params.name)
|
|
381
|
+
};
|
|
382
|
+
}
|
|
267
383
|
};
|
|
268
384
|
function errorResult(message) {
|
|
269
385
|
return {
|
|
@@ -273,6 +389,40 @@ function errorResult(message) {
|
|
|
273
389
|
};
|
|
274
390
|
}
|
|
275
391
|
__name(errorResult, "errorResult");
|
|
392
|
+
async function isDirectory(filePath) {
|
|
393
|
+
try {
|
|
394
|
+
const stat2 = await fs.stat(filePath);
|
|
395
|
+
return stat2.isDirectory();
|
|
396
|
+
} catch (error) {
|
|
397
|
+
if (isNodeError(error) && error.code === "ENOENT") {
|
|
398
|
+
return false;
|
|
399
|
+
}
|
|
400
|
+
throw error;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
__name(isDirectory, "isDirectory");
|
|
404
|
+
function samePath(a, b) {
|
|
405
|
+
return path.resolve(a) === path.resolve(b);
|
|
406
|
+
}
|
|
407
|
+
__name(samePath, "samePath");
|
|
408
|
+
async function resolveManagedWorktreeFromCwd(cwd, slug) {
|
|
409
|
+
let cursor = path.resolve(cwd);
|
|
410
|
+
while (true) {
|
|
411
|
+
if (path.basename(cursor) === slug && path.basename(path.dirname(cursor)) === "worktrees" && path.basename(path.dirname(path.dirname(cursor))) === ".qwen") {
|
|
412
|
+
const repoRoot = path.dirname(path.dirname(path.dirname(cursor)));
|
|
413
|
+
if (await isDirectory(cursor)) {
|
|
414
|
+
return { repoRoot, worktreePath: cursor };
|
|
415
|
+
}
|
|
416
|
+
return null;
|
|
417
|
+
}
|
|
418
|
+
const parent = path.dirname(cursor);
|
|
419
|
+
if (parent === cursor) {
|
|
420
|
+
return null;
|
|
421
|
+
}
|
|
422
|
+
cursor = parent;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
__name(resolveManagedWorktreeFromCwd, "resolveManagedWorktreeFromCwd");
|
|
276
426
|
var ExitWorktreeTool = class _ExitWorktreeTool extends BaseDeclarativeTool {
|
|
277
427
|
constructor(config) {
|
|
278
428
|
super(
|
|
@@ -8,48 +8,50 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ContextState,
|
|
10
10
|
createApprovalModeOverride,
|
|
11
|
+
delay,
|
|
11
12
|
isAutonomousPrePlanMode
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MP436DDQ.js";
|
|
13
14
|
import "./chunk-K5PGHDBN.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
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";
|
|
22
23
|
import "./chunk-MLZQVCF3.js";
|
|
23
24
|
import "./chunk-LD2XBG6Z.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-JIJBNW4A.js";
|
|
26
|
+
import "./chunk-E5SRTXRG.js";
|
|
26
27
|
import "./chunk-77WXWU44.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WWU2KUSR.js";
|
|
29
|
+
import "./chunk-JP3LQIMW.js";
|
|
29
30
|
import "./chunk-3PJXIDKI.js";
|
|
30
31
|
import "./chunk-UWCTAVOD.js";
|
|
31
32
|
import "./chunk-OFEVLU4C.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-OMX7CUOE.js";
|
|
34
|
+
import "./chunk-FPZF3BNV.js";
|
|
35
|
+
import "./chunk-VWPDSQZY.js";
|
|
36
|
+
import "./chunk-AQDPHFDZ.js";
|
|
35
37
|
import {
|
|
36
38
|
BaseDeclarativeTool,
|
|
37
39
|
BaseToolInvocation,
|
|
38
40
|
ToolDisplayNames,
|
|
39
41
|
ToolNames
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-JJHY7NAD.js";
|
|
43
|
+
import "./chunk-DZCZZPCY.js";
|
|
44
|
+
import "./chunk-F6FP3URI.js";
|
|
43
45
|
import "./chunk-64WXLC72.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-N5QHMPZU.js";
|
|
47
|
+
import "./chunk-HU3RKEK2.js";
|
|
48
|
+
import "./chunk-PTGKSUUJ.js";
|
|
47
49
|
import "./chunk-55ZMG67I.js";
|
|
48
50
|
import "./chunk-H6BD2ELD.js";
|
|
49
51
|
import "./chunk-5IFG2VC4.js";
|
|
50
52
|
import {
|
|
51
53
|
createDebugLogger
|
|
52
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IKOWINH4.js";
|
|
53
55
|
import "./chunk-ZERZSAZL.js";
|
|
54
56
|
import "./chunk-QN5NZ3UQ.js";
|
|
55
57
|
import "./chunk-BR4QREVK.js";
|
|
@@ -70,6 +72,7 @@ init_esbuild_shims();
|
|
|
70
72
|
// packages/core/src/plan-gate/gateReviewAgents.ts
|
|
71
73
|
init_esbuild_shims();
|
|
72
74
|
var debugLogger = createDebugLogger("GATE_REVIEW_AGENTS");
|
|
75
|
+
var GATE_AGENT_TIMEOUT_MS = 5 * 60 * 1e3;
|
|
73
76
|
function buildReviewPrompt(evidence) {
|
|
74
77
|
return `You are a Plan Design Reviewer for the Plan Approval Gate. Review the plan across three dimensions:
|
|
75
78
|
|
|
@@ -143,7 +146,7 @@ ${escapeUntrustedDelimiter(bundle.resolutionSummary)}`
|
|
|
143
146
|
return sections.join("\n\n");
|
|
144
147
|
}
|
|
145
148
|
__name(formatEvidence, "formatEvidence");
|
|
146
|
-
async function runGateAgent(config, bundle,
|
|
149
|
+
async function runGateAgent(config, bundle, _parentSignal) {
|
|
147
150
|
const evidence = formatEvidence(bundle);
|
|
148
151
|
const taskPrompt = buildReviewPrompt(evidence);
|
|
149
152
|
const subagentConfig = {
|
|
@@ -158,6 +161,13 @@ async function runGateAgent(config, bundle, signal) {
|
|
|
158
161
|
config,
|
|
159
162
|
"plan" /* PLAN */
|
|
160
163
|
);
|
|
164
|
+
const gateAbortController = new AbortController();
|
|
165
|
+
const timeoutId = setTimeout(() => {
|
|
166
|
+
debugLogger.warn(
|
|
167
|
+
`[runGateAgent] Gate agent timed out after ${GATE_AGENT_TIMEOUT_MS}ms`
|
|
168
|
+
);
|
|
169
|
+
gateAbortController.abort(new Error("Gate agent timeout"));
|
|
170
|
+
}, GATE_AGENT_TIMEOUT_MS);
|
|
161
171
|
let disposeSubagent;
|
|
162
172
|
try {
|
|
163
173
|
const subagentManager = config.getSubagentManager();
|
|
@@ -168,7 +178,7 @@ async function runGateAgent(config, bundle, signal) {
|
|
|
168
178
|
disposeSubagent = dispose;
|
|
169
179
|
const contextState = new ContextState();
|
|
170
180
|
contextState.set("task_prompt", taskPrompt);
|
|
171
|
-
await subagent.execute(contextState, signal);
|
|
181
|
+
await subagent.execute(contextState, gateAbortController.signal);
|
|
172
182
|
const terminateMode = subagent.getTerminateMode();
|
|
173
183
|
const rawText = subagent.getFinalText();
|
|
174
184
|
if (terminateMode !== "GOAL" /* GOAL */ || !rawText || rawText.trim().length === 0) {
|
|
@@ -178,6 +188,7 @@ async function runGateAgent(config, bundle, signal) {
|
|
|
178
188
|
}
|
|
179
189
|
return parseGateAgentResult(rawText);
|
|
180
190
|
} finally {
|
|
191
|
+
clearTimeout(timeoutId);
|
|
181
192
|
if (disposeSubagent) {
|
|
182
193
|
try {
|
|
183
194
|
await disposeSubagent();
|
|
@@ -188,6 +199,9 @@ async function runGateAgent(config, bundle, signal) {
|
|
|
188
199
|
}
|
|
189
200
|
}
|
|
190
201
|
cleanup();
|
|
202
|
+
if (!gateAbortController.signal.aborted) {
|
|
203
|
+
gateAbortController.abort();
|
|
204
|
+
}
|
|
191
205
|
}
|
|
192
206
|
}
|
|
193
207
|
__name(runGateAgent, "runGateAgent");
|
|
@@ -305,11 +319,13 @@ async function runPlanApprovalGate(config, bundle, signal) {
|
|
|
305
319
|
}
|
|
306
320
|
__name(runPlanApprovalGate, "runPlanApprovalGate");
|
|
307
321
|
async function runAgentWithRetry(config, bundle, signal) {
|
|
322
|
+
if (signal.aborted) {
|
|
323
|
+
debugLogger2.warn(
|
|
324
|
+
"Gate agent skipped: parent signal already aborted at entry"
|
|
325
|
+
);
|
|
326
|
+
return null;
|
|
327
|
+
}
|
|
308
328
|
for (let attempt = 1; attempt <= MAX_AGENT_RETRIES; attempt++) {
|
|
309
|
-
if (signal.aborted) {
|
|
310
|
-
debugLogger2.warn("Gate agent skipped: signal already aborted");
|
|
311
|
-
return null;
|
|
312
|
-
}
|
|
313
329
|
try {
|
|
314
330
|
return await runGateAgent(config, bundle, signal);
|
|
315
331
|
} catch (error) {
|
|
@@ -323,6 +339,14 @@ async function runAgentWithRetry(config, bundle, signal) {
|
|
|
323
339
|
);
|
|
324
340
|
return null;
|
|
325
341
|
}
|
|
342
|
+
try {
|
|
343
|
+
await delay(1e3, signal);
|
|
344
|
+
} catch {
|
|
345
|
+
debugLogger2.warn(
|
|
346
|
+
`Gate agent retry loop cancelled during backoff delay (attempt ${attempt}/${MAX_AGENT_RETRIES})`
|
|
347
|
+
);
|
|
348
|
+
return null;
|
|
349
|
+
}
|
|
326
350
|
}
|
|
327
351
|
}
|
|
328
352
|
return null;
|
|
@@ -396,10 +420,6 @@ function formatCapEscalationResponse(decision) {
|
|
|
396
420
|
return lines.join("\n");
|
|
397
421
|
}
|
|
398
422
|
__name(formatCapEscalationResponse, "formatCapEscalationResponse");
|
|
399
|
-
function formatUnavailableResponse(decision) {
|
|
400
|
-
return `Plan Approval Gate: **unavailable** \u2014 ${decision.reason}. Staying in plan mode. The gate cannot approve autonomous execution; the user may need to intervene.`;
|
|
401
|
-
}
|
|
402
|
-
__name(formatUnavailableResponse, "formatUnavailableResponse");
|
|
403
423
|
function formatApprovedNotes(findings) {
|
|
404
424
|
if (findings.length === 0) return "";
|
|
405
425
|
const lines = ["Non-blocking review notes (P3, not required to address):\n"];
|
|
@@ -618,16 +638,10 @@ ${notes}` : "")
|
|
|
618
638
|
};
|
|
619
639
|
}
|
|
620
640
|
case "unavailable": {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
returnDisplay: this.buildRejectedGateDisplay(
|
|
626
|
-
message,
|
|
627
|
-
plan,
|
|
628
|
-
llmContent
|
|
629
|
-
)
|
|
630
|
-
};
|
|
641
|
+
debugLogger3.warn(
|
|
642
|
+
`Gate unavailable, falling back to DEFAULT mode: ${decision.reason}`
|
|
643
|
+
);
|
|
644
|
+
return this.fallbackToUserDecision(plan);
|
|
631
645
|
}
|
|
632
646
|
default: {
|
|
633
647
|
const _exhaustive = decision;
|
|
@@ -699,6 +713,30 @@ ${notes}` : "")
|
|
|
699
713
|
}
|
|
700
714
|
};
|
|
701
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* Gate unavailable fallback — switch to DEFAULT mode so the next
|
|
718
|
+
* action triggers a real user confirmation dialog. This breaks the
|
|
719
|
+
* gate trap while forcing the model to present the plan for approval
|
|
720
|
+
* rather than auto-executing in AUTO/YOLO.
|
|
721
|
+
*/
|
|
722
|
+
fallbackToUserDecision(plan) {
|
|
723
|
+
this.setApprovalModeSafely("default" /* DEFAULT */);
|
|
724
|
+
try {
|
|
725
|
+
this.config.savePlan(plan);
|
|
726
|
+
} catch (error) {
|
|
727
|
+
debugLogger3.warn(
|
|
728
|
+
`[ExitPlanModeTool] Failed to save plan to disk: ${error instanceof Error ? error.message : String(error)}`
|
|
729
|
+
);
|
|
730
|
+
}
|
|
731
|
+
return {
|
|
732
|
+
llmContent: "Gate is unavailable and cannot review the plan. Ask the user whether to execute this plan or stay in plan mode to revise it.",
|
|
733
|
+
returnDisplay: {
|
|
734
|
+
type: "plan_summary",
|
|
735
|
+
message: "Plan gate is unavailable. The plan has been saved \u2014 please confirm whether to execute it.",
|
|
736
|
+
plan
|
|
737
|
+
}
|
|
738
|
+
};
|
|
739
|
+
}
|
|
702
740
|
};
|
|
703
741
|
var ExitPlanModeTool = class _ExitPlanModeTool extends BaseDeclarativeTool {
|
|
704
742
|
constructor(config) {
|
|
@@ -384,9 +384,39 @@ var fr_default = {
|
|
|
384
384
|
"Auto Edit": "\xC9dition automatique",
|
|
385
385
|
YOLO: "YOLO",
|
|
386
386
|
"toggle vim mode on/off": "activer/d\xE9sactiver le mode Vim",
|
|
387
|
-
"check session stats. Usage: /stats [model|tools]": "v\xE9rifier les stats de session. Utilisation : /stats [mod\xE8le|outils]",
|
|
388
387
|
"Show model-specific usage statistics.": "Afficher les statistiques d'utilisation sp\xE9cifiques au mod\xE8le.",
|
|
389
388
|
"Show tool-specific usage statistics.": "Afficher les statistiques d'utilisation sp\xE9cifiques aux outils.",
|
|
389
|
+
"Show daily token usage statistics.": "Afficher les statistiques quotidiennes d'utilisation des tokens.",
|
|
390
|
+
"Show monthly token usage statistics.": "Afficher les statistiques mensuelles d'utilisation des tokens.",
|
|
391
|
+
"Export token usage statistics to CSV or JSON.": "Exporter les statistiques d'utilisation des tokens en CSV ou JSON.",
|
|
392
|
+
"No usage data.": "Aucune donn\xE9e d'utilisation.",
|
|
393
|
+
"{{label}}: {{tokens}} tokens ({{requests}} requests)": "{{label}} : {{tokens}} tokens ({{requests}} requ\xEAtes)",
|
|
394
|
+
"Daily token usage for {{value}}": "Utilisation quotidienne des tokens pour {{value}}",
|
|
395
|
+
"Monthly token usage for {{value}}": "Utilisation mensuelle des tokens pour {{value}}",
|
|
396
|
+
"Total: {{tokens}} tokens": "Total : {{tokens}} tokens",
|
|
397
|
+
"Requests: {{requests}}": "Requ\xEAtes : {{requests}}",
|
|
398
|
+
"Breakdown:": "D\xE9tail :",
|
|
399
|
+
"Input: {{tokens}}": "Entr\xE9e : {{tokens}}",
|
|
400
|
+
"Output: {{tokens}}": "Sortie : {{tokens}}",
|
|
401
|
+
"Cached (included in Input): {{tokens}}": "Cache (inclus dans l\u2019entr\xE9e) : {{tokens}}",
|
|
402
|
+
"Thoughts: {{tokens}}": "Raisonnement : {{tokens}}",
|
|
403
|
+
"By model:": "Par mod\xE8le :",
|
|
404
|
+
"By auth type:": "Par type d'authentification :",
|
|
405
|
+
"By model/auth type:": "Par mod\xE8le/type d'authentification :",
|
|
406
|
+
"By source:": "Par source :",
|
|
407
|
+
"Failed to load token usage stats: {{error}}": "\xC9chec du chargement des statistiques d'utilisation des tokens : {{error}}",
|
|
408
|
+
"Expected --format csv or --format json.": "--format csv ou --format json attendu.",
|
|
409
|
+
"Expected a file path after --output.": "Un chemin de fichier est attendu apr\xE8s --output.",
|
|
410
|
+
"Unexpected argument: {{argument}}": "Argument inattendu : {{argument}}",
|
|
411
|
+
"Usage: /stats export <daily|monthly> [YYYY-MM-DD|YYYY-MM] [--format csv|json] [--output path]": "Utilisation : /stats export <daily|monthly> [YYYY-MM-DD|YYYY-MM] [--format csv|json] [--output path]",
|
|
412
|
+
"Token usage export path must be within the project working directory.": "Le chemin d'export de l'utilisation des tokens doit rester dans le r\xE9pertoire de travail du projet.",
|
|
413
|
+
"Export target does not exist: {{path}}": "La cible d'export n'existe pas : {{path}}",
|
|
414
|
+
"Cannot resolve export path within the working directory.": "Impossible de r\xE9soudre le chemin d'export dans le r\xE9pertoire de travail.",
|
|
415
|
+
"Could not create a temporary export file.": "Impossible de cr\xE9er un fichier d'export temporaire.",
|
|
416
|
+
"Token usage exported to {{format}}: {{path}}": "Utilisation des tokens export\xE9e en {{format}} : {{path}}",
|
|
417
|
+
"Failed to export token usage stats: {{error}}": "\xC9chec de l'export des statistiques d'utilisation des tokens : {{error}}",
|
|
418
|
+
"Unclosed quote in arguments.": "Guillemet non ferm\xE9 dans les arguments.",
|
|
419
|
+
"Note: generation timing (TTFT/TPS) belongs to generation metrics.": "Remarque : les temps de g\xE9n\xE9ration (TTFT/TPS) rel\xE8vent des m\xE9triques de g\xE9n\xE9ration.",
|
|
390
420
|
"exit the cli": "quitter le CLI",
|
|
391
421
|
"Manage workspace directories": "G\xE9rer les r\xE9pertoires de l'espace de travail",
|
|
392
422
|
"Add directories to the workspace. Use comma to separate multiple paths": "Ajouter des r\xE9pertoires \xE0 l'espace de travail. Utilisez une virgule pour s\xE9parer plusieurs chemins",
|
|
@@ -1459,6 +1489,16 @@ var fr_default = {
|
|
|
1459
1489
|
"% used": "% utilis\xE9",
|
|
1460
1490
|
"% context used": "% de contexte utilis\xE9",
|
|
1461
1491
|
"Context exceeds limit! Use /compress or /clear to reduce.": "Le contexte d\xE9passe la limite ! Utilisez /compress ou /clear pour le r\xE9duire.",
|
|
1492
|
+
// === History collapse/expand commands ===
|
|
1493
|
+
"Set history to collapse by default when resuming a session": "Set history to collapse by default when resuming a session",
|
|
1494
|
+
"Set history to expand by default when resuming a session": "Set history to expand by default when resuming a session",
|
|
1495
|
+
"Expand the currently collapsed history transcript": "Expand the currently collapsed history transcript",
|
|
1496
|
+
"Control history display preferences and visibility": "Control history display preferences and visibility",
|
|
1497
|
+
"History will be collapsed by default for future resumed sessions.": "History will be collapsed by default for future resumed sessions.",
|
|
1498
|
+
"History will be expanded by default for future resumed sessions.": "History will be expanded by default for future resumed sessions.",
|
|
1499
|
+
"History is already expanded in this session.": "History is already expanded in this session.",
|
|
1500
|
+
"Usage: /history collapse-on-resume|expand-on-resume|expand-now": "Usage: /history collapse-on-resume|expand-on-resume|expand-now",
|
|
1501
|
+
"History collapsed: {{n}} messages hidden. Use /history expand-now to show.": "Historique r\xE9duit : {{n}} messages masqu\xE9s. Utilisez /history expand-now pour afficher.",
|
|
1462
1502
|
// === Same-as-English optimization ===
|
|
1463
1503
|
Auth: "Authentification",
|
|
1464
1504
|
Auto: "Automatique",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
InstallationManager
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VWPDSQZY.js";
|
|
6
|
+
import "./chunk-N5QHMPZU.js";
|
|
7
7
|
import {
|
|
8
8
|
GoogleGenAI
|
|
9
9
|
} from "./chunk-55ZMG67I.js";
|
|
10
10
|
import "./chunk-H6BD2ELD.js";
|
|
11
11
|
import "./chunk-5IFG2VC4.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-IKOWINH4.js";
|
|
13
13
|
import "./chunk-Z2Z3GUXZ.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esbuild_shims
|
|
@@ -212,7 +212,7 @@ var GeminiContentGenerator = class {
|
|
|
212
212
|
|
|
213
213
|
// packages/core/src/core/geminiContentGenerator/index.ts
|
|
214
214
|
function createGeminiContentGenerator(config, gcConfig) {
|
|
215
|
-
const version = "0.18.
|
|
215
|
+
const version = "0.18.4-preview.0";
|
|
216
216
|
const userAgent = config.userAgent || `QwenCode/${version} (${process.platform}; ${process.arch})`;
|
|
217
217
|
const baseHeaders = {
|
|
218
218
|
"User-Agent": userAgent
|