@qwen-code/qwen-code 0.21.2-nightly.20260801.bc382c3ff → 0.21.3
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/bundled/qc-helper/docs/configuration/settings.md +34 -32
- package/bundled/qc-helper/docs/features/code-review.md +78 -23
- package/bundled/qc-helper/docs/features/commands.md +1 -0
- package/bundled/qc-helper/docs/features/skills.md +32 -1
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +12 -12
- package/bundled/qc-helper/docs/support/troubleshooting.md +6 -1
- package/bundled/review/DESIGN.md +167 -32
- package/bundled/review/SKILL.md +156 -32
- package/chunks/{MaxSizedBox-CDHTDITS.js → MaxSizedBox-OJR636GP.js} +14 -13
- package/chunks/{StandaloneSessionPicker-L63HUAHP.js → StandaloneSessionPicker-AMMBF5UY.js} +34 -32
- package/chunks/{acpAgent-6WVVT2P3.js → acpAgent-M57LVIQA.js} +80 -78
- package/chunks/{agent-KDM4CBOU.js → agent-PE37ARLM.js} +13 -12
- package/chunks/{agent-headless-AS7K2K57.js → agent-headless-45ASME4R.js} +13 -12
- package/chunks/{artifact-tool-ANV4CFCR.js → artifact-tool-TBOYEKTY.js} +1 -1
- package/chunks/{askUserQuestion-MALEB47H.js → askUserQuestion-23Y5WZFJ.js} +1 -1
- package/chunks/{bridge-JNEW6FES.js → bridge-K3ZRPO4D.js} +14 -13
- package/chunks/{channel-management-service-QOO7TD3T.js → channel-management-service-IXJ2MZTS.js} +6 -6
- package/chunks/{channel-settings-store-4CSMTR4L.js → channel-settings-store-PEAR3IME.js} +19 -18
- package/chunks/{channel-worker-group-ERSUOPIR.js → channel-worker-group-NDG4WOOZ.js} +4 -4
- package/chunks/{channel-worker-manager-X247YDQ7.js → channel-worker-manager-ZCW6UW34.js} +4 -4
- package/chunks/{channel-worker-supervisor-ORJIEEPP.js → channel-worker-supervisor-ATGFTZRN.js} +3 -3
- package/chunks/{chunk-LAPK3GLC.js → chunk-22YFMJBW.js} +24 -6
- package/chunks/{chunk-UHTJC7O3.js → chunk-24ER7UV4.js} +1 -1
- package/chunks/{chunk-3WXMXT7C.js → chunk-2LZCLQIS.js} +5 -5
- package/chunks/{chunk-NZB4NDJL.js → chunk-2MI7ZTRT.js} +4 -4
- package/chunks/{chunk-C4L2MEIT.js → chunk-3MWNROHB.js} +3 -3
- package/chunks/{chunk-2PNQQ4UR.js → chunk-3XF4WT3B.js} +1 -1
- package/chunks/{chunk-TNVKFQXQ.js → chunk-4AGGSHCH.js} +383 -153
- package/chunks/{chunk-M2F5PLOW.js → chunk-4K3RV3OA.js} +3 -3
- package/chunks/{chunk-5UJ6A3CH.js → chunk-5JPVOYWA.js} +5 -5
- package/chunks/{chunk-AYB4HSBI.js → chunk-5VYFXHY2.js} +3 -3
- package/chunks/{chunk-AQEWCKX4.js → chunk-6NE5NTHJ.js} +1 -1
- package/chunks/{chunk-XSA5EKTJ.js → chunk-BKGA75MU.js} +1 -1
- package/chunks/{chunk-MBKPUM5Y.js → chunk-BKXTHMOZ.js} +1 -1
- package/chunks/{chunk-LL4U3BSH.js → chunk-BSKUTHLO.js} +3 -3
- package/chunks/{chunk-I5GNT6ZS.js → chunk-CFDR3GNL.js} +11 -2
- package/chunks/{chunk-DVGTU5TC.js → chunk-CIUUYB23.js} +2 -2
- package/chunks/{chunk-BKUN5QHP.js → chunk-D2GPKXCQ.js} +4 -4
- package/chunks/{chunk-GB3AB7TR.js → chunk-DIEFUBV6.js} +1 -0
- package/chunks/{chunk-KXSYDCP2.js → chunk-DSGJLHM3.js} +3 -3
- package/chunks/{chunk-PHODQP2V.js → chunk-EGYJRIDF.js} +2 -2
- package/chunks/{chunk-XCLLRKY5.js → chunk-EIMKVOSF.js} +1 -1
- package/chunks/{chunk-QTERJVPZ.js → chunk-EKTCKZV5.js} +1 -0
- package/chunks/{chunk-42IKVPST.js → chunk-FF75UUB2.js} +1 -1
- package/chunks/{chunk-FJHA23GM.js → chunk-FG63DZQA.js} +9 -9
- package/chunks/{chunk-5UZITEHA.js → chunk-FHPKHXHT.js} +2 -2
- package/chunks/{chunk-25QQVOCG.js → chunk-FXVHVCNA.js} +1 -1
- package/chunks/{chunk-7MY2AR5A.js → chunk-GMSBXEH4.js} +9 -9
- package/chunks/{chunk-TFFMATHX.js → chunk-H35Q5CEG.js} +5 -5
- package/chunks/{chunk-WISQLM4Q.js → chunk-H6FIBBXK.js} +1177 -1806
- package/chunks/{chunk-DUIJ2IXG.js → chunk-H6ZYP74A.js} +1 -1
- package/chunks/{chunk-XFDPIC4P.js → chunk-HEBW74ZW.js} +3 -3
- package/chunks/{chunk-6FMJLI5M.js → chunk-HFVW54NL.js} +41 -6
- package/chunks/{chunk-3MHPWQ2M.js → chunk-HIXVWF7I.js} +37 -8
- package/chunks/{chunk-GVISB2OH.js → chunk-HUIQ4FYC.js} +2 -2
- package/chunks/{chunk-K5Q62CGR.js → chunk-IF6K42YJ.js} +1 -1
- package/chunks/{chunk-VWF42XC6.js → chunk-IWGTGH4G.js} +4 -4
- package/chunks/{chunk-SWEBEXPI.js → chunk-K2J5JZ6B.js} +1 -1
- package/chunks/{chunk-CHCLO3M7.js → chunk-KXWERR6P.js} +4 -4
- package/chunks/{chunk-OCRM53TT.js → chunk-L7FTDKCD.js} +3 -3
- package/chunks/{chunk-2CTKGIFR.js → chunk-LGT3YMLN.js} +4 -4
- package/chunks/{chunk-7IYLHTTM.js → chunk-LZV2BZPL.js} +2 -2
- package/chunks/{chunk-434YCHSV.js → chunk-M5LIY7Y6.js} +1 -1
- package/chunks/{chunk-JRIDA5HF.js → chunk-MCXMWLFT.js} +5 -5
- package/chunks/{chunk-433VD3HX.js → chunk-MTR4JWQJ.js} +4 -4
- package/chunks/{chunk-WP4HGHFG.js → chunk-MUEJ4R3E.js} +3 -3
- package/chunks/{chunk-UHQ3L6GC.js → chunk-N42C2FU3.js} +1 -1
- package/chunks/{chunk-KG22G46Y.js → chunk-NW57GHNL.js} +69 -5
- package/chunks/chunk-PWCQRLM5.js +1170 -0
- package/chunks/{chunk-H4DSRWAS.js → chunk-Q3G5L5KF.js} +4 -4
- package/chunks/{chunk-SK2UKB45.js → chunk-QDWLUXKP.js} +1 -1
- package/chunks/{chunk-VS3GXRNZ.js → chunk-QPSYIV2O.js} +3114 -512
- package/chunks/{chunk-GHJM2C2T.js → chunk-QWDVZH24.js} +3 -3
- package/chunks/{chunk-UWLG4UCE.js → chunk-QWW6I2UO.js} +13 -13
- package/chunks/{chunk-W7XZ3KP5.js → chunk-R7XNRHYD.js} +1 -1
- package/chunks/{chunk-PGP7Y3RQ.js → chunk-RCXCGZG6.js} +4 -4
- package/chunks/{chunk-MSIVKDRC.js → chunk-RL6J3BPE.js} +3 -3
- package/chunks/{chunk-H6MC6VQX.js → chunk-RR224BUP.js} +4 -3
- package/chunks/{chunk-7K2WTPQO.js → chunk-SKSF3LGQ.js} +4 -4
- package/chunks/{chunk-II6WPWHY.js → chunk-SQ3YD5MI.js} +1 -1
- package/chunks/{chunk-PGEGUNH5.js → chunk-SRY26X4H.js} +22 -199
- package/chunks/{chunk-OBAIHYFT.js → chunk-TXABHVZD.js} +1 -1
- package/chunks/chunk-TZTBZ25J.js +222 -0
- package/chunks/{chunk-BV4QX43X.js → chunk-UEJESCS7.js} +1 -1
- package/chunks/{chunk-NGWYUZZO.js → chunk-UQDFEU47.js} +318 -125
- package/chunks/{chunk-CWEIMFFW.js → chunk-VA5NLVPT.js} +1 -1
- package/chunks/{chunk-UOFFZNXV.js → chunk-VUNRNRN6.js} +65 -37
- package/chunks/{chunk-K4CGQN4Q.js → chunk-VWOVHOTT.js} +1 -1
- package/chunks/{chunk-I6FAHB4N.js → chunk-WUC6ZFXO.js} +1 -1
- package/chunks/{chunk-2A6MHYIA.js → chunk-WY2ENRDN.js} +1 -1
- package/chunks/{chunk-MYT7N6QH.js → chunk-X6QNZOTC.js} +1 -1
- package/chunks/{chunk-ZTN6OA5J.js → chunk-X6WUYMOV.js} +8 -8
- package/chunks/{chunk-RGJ4JWSU.js → chunk-XMJO6C44.js} +3 -3
- package/chunks/{chunk-PXA5AWHY.js → chunk-XUMAD5IT.js} +1 -1
- package/chunks/{chunk-GALUTA2C.js → chunk-YPUHMQXV.js} +1 -1
- package/chunks/{chunk-A2A34TSB.js → chunk-YU6TBRTA.js} +2 -2
- package/chunks/{chunk-ZRFJ75D7.js → chunk-YWMDTMAU.js} +2 -2
- package/chunks/{chunk-LRJWFR6L.js → chunk-ZGSUFIL5.js} +1 -1
- package/chunks/{chunk-H4346YW5.js → chunk-ZJES4C3I.js} +5 -5
- package/chunks/{computer-use-Z4NCIIJN.js → computer-use-UJMK6JQU.js} +13 -12
- package/chunks/{config-utils-64LM6OEQ.js → config-utils-7COTJMWK.js} +4 -4
- package/chunks/{contextCommand-HVM7XFCB.js → contextCommand-4YABGF4S.js} +16 -15
- package/chunks/{core-runtime-NL3ZBHBU.js → core-runtime-7M4VM3DA.js} +13 -12
- package/chunks/{create-sub-session-XHSCDYFU.js → create-sub-session-HOFDW4N7.js} +13 -12
- package/chunks/{create-sub-session-AM32K2HD.js → create-sub-session-J32WC64U.js} +1 -1
- package/chunks/{cron-create-HPXYE6C5.js → cron-create-HMFSHIAR.js} +1 -1
- package/chunks/{cron-delete-FPVNTKPK.js → cron-delete-ZJFHOX57.js} +1 -1
- package/chunks/{cron-list-ZEI6PAAV.js → cron-list-ZEX2NBMN.js} +1 -1
- package/chunks/{daemon-PCNCI5YU.js → daemon-CCIX4BMG.js} +47 -6
- package/chunks/{daemon-status-provider-XD23SNAM.js → daemon-status-provider-W2U5Q3J5.js} +18 -17
- package/chunks/{daemon-trust-policy-NOHK7IW5.js → daemon-trust-policy-IFICWPXP.js} +18 -17
- package/chunks/{daemon-trust-policy-monitor-ZBTSR333.js → daemon-trust-policy-monitor-GX7EO6FW.js} +18 -17
- package/chunks/{deferred-core-runtime-JJBHKM2C.js → deferred-core-runtime-U36OOOKE.js} +13 -12
- package/chunks/display-image-VS3TXYQH.js +184 -0
- package/chunks/{dist-BH76AT7N.js → dist-3BMEUGTG.js} +1 -1
- package/chunks/{dist-BXA3JXVQ.js → dist-4KAX7CCL.js} +1 -1
- package/chunks/{dist-4T4NCJFL.js → dist-7JGAAQSC.js} +2 -2
- package/chunks/{dist-4LAMY2SK.js → dist-A7H2KKUC.js} +1 -1
- package/chunks/{dist-OEEFI6UU.js → dist-DPPHJAVL.js} +3 -3
- package/chunks/{dist-SMLVOWKV.js → dist-HVBMEYWK.js} +1 -1
- package/chunks/{dist-7KOL6OMD.js → dist-NEBRI7WO.js} +1 -1
- package/chunks/{dist-V2RK6S6Q.js → dist-SFQ34F4M.js} +24 -6
- package/chunks/{earlyInputCapture-KLAZDAIP.js → earlyInputCapture-5ZWDH3SB.js} +13 -12
- package/chunks/{edit-YQZWCISX.js → edit-J7SW6UP6.js} +13 -12
- package/chunks/{en-RESOFG55.js → en-L4UQDLWW.js} +11 -1
- package/chunks/{enter-worktree-WLVWI3FP.js → enter-worktree-NRLOHRB6.js} +13 -12
- package/chunks/{enterPlanMode-6RYXFQUD.js → enterPlanMode-GDSTEFSM.js} +13 -12
- package/chunks/{environment-DXJTXSVT.js → environment-KHYEKG5W.js} +15 -14
- package/chunks/{errors-XGAGG2S2.js → errors-VNLAJV3O.js} +15 -14
- package/chunks/{exit-worktree-C4276VPP.js → exit-worktree-ARVID7DF.js} +13 -12
- package/chunks/{exitPlanMode-MM5HIRUF.js → exitPlanMode-4ZFY7KUH.js} +13 -12
- package/chunks/{fast-path-PIXYOHCH.js → fast-path-KA65VREJ.js} +5 -5
- package/chunks/{gemini-43RLVUNP.js → gemini-5PMCNPF7.js} +56 -55
- package/chunks/{geminiContentGenerator-PNQ4TSID.js → geminiContentGenerator-NFSYJ4HA.js} +1 -1
- package/chunks/{glob-ZMBQKAU5.js → glob-F3EAUDAX.js} +13 -12
- package/chunks/{goal-tools-Y767F7LZ.js → goal-tools-SPQ5M6D3.js} +2 -2
- package/chunks/{grep-HSV37W2Q.js → grep-UJMPVZER.js} +13 -12
- package/chunks/{handleAutoUpdate-QDHZPBAY.js → handleAutoUpdate-MG4FRZPN.js} +18 -17
- package/chunks/{i18n-ME22A6RN.js → i18n-EVHV4ZF3.js} +14 -13
- package/chunks/{image-gen-IFC7ZWSB.js → image-gen-UC7XVHI7.js} +2 -2
- package/chunks/{initializer-J7H2CHVB.js → initializer-O5B6HUBI.js} +18 -17
- package/chunks/{installationInfo-R7FXPQN5.js → installationInfo-2LIKCNVX.js} +14 -13
- package/chunks/{list-OYDIBA4N.js → list-BPKIE3Z4.js} +21 -20
- package/chunks/{list-agents-GATIBBQQ.js → list-agents-TWEGRJWO.js} +1 -1
- package/chunks/{loadedSettingsAdapter-OK6GK2GE.js → loadedSettingsAdapter-NGLFF4V4.js} +18 -17
- package/chunks/{loggingContentGenerator-U4ZEG4GL.js → loggingContentGenerator-7TFESRG5.js} +5 -5
- package/chunks/{loop-wakeup-3DZMQQQQ.js → loop-wakeup-6LLEOQYV.js} +2 -2
- package/chunks/{ls-7F4GHXIH.js → ls-H5WX22VK.js} +1 -1
- package/chunks/{lsp-6FEHVBWI.js → lsp-G6FXYEIS.js} +1 -1
- package/chunks/{managed-npm-update-PGKAJLLO.js → managed-npm-update-CLZGGV7F.js} +14 -13
- package/chunks/{mcp-S4DXJD2G.js → mcp-X5OZOOXX.js} +18 -17
- package/chunks/{monitor-E5ZFMT74.js → monitor-TGSVSAZZ.js} +13 -12
- package/chunks/{nonInteractiveCli-HNOHKEPE.js → nonInteractiveCli-GUMJ5JLG.js} +54 -53
- package/chunks/{notebook-edit-6QDN6VZJ.js → notebook-edit-EZISE7IC.js} +13 -12
- package/chunks/{openaiContentGenerator-3NLB2C5O.js → openaiContentGenerator-ZAKS5A6P.js} +5 -5
- package/chunks/{pidfile-ZMOIUGG6.js → pidfile-PCMBX4LR.js} +13 -12
- package/chunks/{processUtils-E4QGQVWW.js → processUtils-2CSVE5BW.js} +2 -2
- package/chunks/{qwenContentGenerator-2LFRWJTM.js → qwenContentGenerator-S3H6PIC4.js} +14 -13
- package/chunks/{qwenOAuth2-N32BUQDC.js → qwenOAuth2-MNU425VE.js} +1 -1
- package/chunks/{read-file-GLDCWZBG.js → read-file-HXJXHBI6.js} +4 -4
- package/chunks/{read-mcp-resource-AFS3UKZO.js → read-mcp-resource-DRZSI3HE.js} +1 -1
- package/chunks/{record-artifact-ECZSCEG5.js → record-artifact-IPIRWMFY.js} +2 -2
- package/chunks/{resumeHistoryUtils-F5BE5QDW.js → resumeHistoryUtils-4QAMC2S6.js} +18 -17
- package/chunks/{ripGrep-T23Y4AGY.js → ripGrep-MCETPF2E.js} +13 -12
- package/chunks/{run-qwen-serve-TI2HGLLU.js → run-qwen-serve-3NMODTXV.js} +43 -43
- package/chunks/{runtime-WCWM3DO7.js → runtime-AQOV7DVP.js} +23 -22
- package/chunks/{scheduler-2QZO5AV5.js → scheduler-DN7SZ6ZE.js} +13 -12
- package/chunks/{send-message-X7G2JSII.js → send-message-HGCVVDTZ.js} +3 -2
- package/chunks/{serve-DZOMYUFU.js → serve-WZB45HVT.js} +18 -17
- package/chunks/{server-N4AJRKIQ.js → server-GOTZFEEZ.js} +86 -54
- package/chunks/{session-GS6AKMN7.js → session-23LOFLWN.js} +55 -54
- package/chunks/{settings-CUN3SELH.js → settings-LI2ORVXC.js} +17 -16
- package/chunks/{shell-NGBFVXC5.js → shell-GLC6OP3C.js} +13 -12
- package/chunks/{skill-SC2BSO75.js → skill-C7W6M4GO.js} +4 -4
- package/chunks/{skill-settings-XVPCPW5K.js → skill-settings-W25NCK5I.js} +17 -16
- package/chunks/{spawnChannel-RILO4YY3.js → spawnChannel-OHJLEBLD.js} +13 -12
- package/chunks/{standalone-update-TMLT6LVJ.js → standalone-update-E4V5V7WT.js} +15 -14
- package/chunks/{startInteractiveUI-J45WOEOU.js → startInteractiveUI-FKILLW7Q.js} +1419 -414
- package/chunks/{syntheticOutput-FHRY3BPQ.js → syntheticOutput-EYL7DWO7.js} +2 -2
- package/chunks/{task-create-LAQXBIHC.js → task-create-CSCEG4SM.js} +4 -3
- package/chunks/{task-list-V6K5DRDH.js → task-list-6CVQPORX.js} +1 -1
- package/chunks/{task-stop-LQXE52L6.js → task-stop-Y5ZTFVRX.js} +1 -1
- package/chunks/{task-update-NXRCXSPB.js → task-update-C52LNFU5.js} +4 -3
- package/chunks/{team-create-W3EVWCTA.js → team-create-HBIJ7NHT.js} +13 -12
- package/chunks/{team-delete-Z4KGO7RC.js → team-delete-CE7DC53R.js} +1 -1
- package/chunks/{team-plan-approval-URYVKJF4.js → team-plan-approval-IBJOKS4J.js} +13 -12
- package/chunks/terminal-image-renderer-BOQJPVLB.js +89 -0
- package/chunks/{theme-manager-CUAMS2NI.js → theme-manager-NSS7VLUD.js} +13 -12
- package/chunks/{todoWrite-OFIZDI7P.js → todoWrite-YKAA57W2.js} +104 -33
- package/chunks/{tool-search-DCICFL32.js → tool-search-DEAS54VG.js} +6 -5
- package/chunks/{total-session-admission-3ZTAXVUK.js → total-session-admission-4LWTX3WD.js} +14 -13
- package/chunks/{trustedFolders-EVCN36O5.js → trustedFolders-NF3J2TA7.js} +14 -13
- package/chunks/{update-relaunch-XLW46RHQ.js → update-relaunch-WUHRH5V3.js} +5 -5
- package/chunks/{updateCheck-ZHVXDAIH.js → updateCheck-7EG4BLBH.js} +17 -16
- package/chunks/{useAutoAcceptIndicator-ZGD6BJSP.js → useAutoAcceptIndicator-ZRV56GVP.js} +21 -20
- package/chunks/{validateNonInterActiveAuth-R3BAQFDY.js → validateNonInterActiveAuth-WC2FPE3I.js} +51 -50
- package/chunks/{version-PMWREGCG.js → version-6SS7KCUP.js} +1 -1
- package/chunks/{web-fetch-PGN27SGF.js → web-fetch-Y5QQMPKA.js} +4 -4
- package/chunks/{web-search-KW4UNMRE.js → web-search-QKKEU723.js} +3 -3
- package/chunks/{workflow-SN3TJBTJ.js → workflow-PWIU6Q2M.js} +102 -37
- package/chunks/{workspace-providers-status-O3HUZGGR.js → workspace-providers-status-B2DM6FNK.js} +20 -19
- package/chunks/{workspace-registration-store-M3FJ74RS.js → workspace-registration-store-7Y33TTHJ.js} +1 -1
- package/chunks/{workspace-registry-U7ISW23N.js → workspace-registry-TSNJKLPC.js} +14 -13
- package/chunks/{workspace-service-VH6IWADT.js → workspace-service-4I2QHDX4.js} +22 -21
- package/chunks/{workspace-skills-status-XANARSZS.js → workspace-skills-status-HVXNWVGR.js} +19 -18
- package/chunks/{workspace-trust-reconciler-35EFR4GC.js → workspace-trust-reconciler-RDBBGMWP.js} +19 -18
- package/chunks/{write-file-NCRSGUDT.js → write-file-RQ4DG5RY.js} +13 -12
- package/chunks/{zh-OHX23Q44.js → zh-72XPUG5P.js} +11 -1
- package/chunks/{zh-TW-4G7YKDAQ.js → zh-TW-LTB4SRH3.js} +11 -1
- package/chunks/{zoom-image-X7CIADYC.js → zoom-image-O5YCB7WN.js} +4 -4
- package/cli.js +26 -15
- package/locales/en.js +17 -2
- package/locales/zh-TW.js +15 -2
- package/locales/zh.js +15 -2
- package/package.json +3 -3
- package/web-shell/assets/{arc-CaMTqKio.js → arc-Bd7d781i.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-Bjxztij2.js → architectureDiagram-3BPJPVTR-CpnOJqNE.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-BYJzeHi9.js → blockDiagram-GPEHLZMM-NxVTiWnk.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-fYAa-Eil.js → c4Diagram-AAUBKEIU-BWT75l82.js} +1 -1
- package/web-shell/assets/channel-A434sWK5.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-B1OTlTml.js → chunk-2J33WTMH-Dzz03hk6.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DNj4uy6k.js → chunk-4BX2VUAB-DRF-egfm.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-DAqNmg3c.js → chunk-55IACEB6-Co15vq5x.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-BwB4ddxE.js → chunk-727SXJPM-DHSUk1J7.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-DmHR_UZs.js → chunk-AQP2D5EJ-Br8u_E2R.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-BlfOXumo.js → chunk-FMBD7UC4-DXbPTnqF.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BKogiSy7.js → chunk-ND2GUHAM-BleQdi4d.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-DEclVrOF.js → chunk-QZHKN3VN-CqgBf-95.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CwPuhldB.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CwPuhldB.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-CwtS21WT.js → cose-bilkent-S5V4N54A-WS7b13Yg.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-BAAIlB4p.js → dagre-BM42HDAG-v_55ki8o.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-ChljtF_V.js → diagram-2AECGRRQ-DaYAjbdK.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BIXVd31-.js → diagram-5GNKFQAL-D_Hy-L64.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BEiBaS15.js → diagram-KO2AKTUF-dB06cZyD.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-C-g4tWKM.js → diagram-LMA3HP47-DzSluD4F.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CNCCbNQG.js → diagram-OG6HWLK6-Cvb6CeXQ.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-v8ysnsdI.js → erDiagram-TEJ5UH35-7eB2Hmov.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-LKVlLjwA.js → flowDiagram-I6XJVG4X-B08iGCw_.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DA5MrKYG.js → ganttDiagram-6RSMTGT7-BgsrCHq-.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Cyg5fe6d.js → gitGraphDiagram-PVQCEYII-DQLurQ2i.js} +1 -1
- package/web-shell/assets/{index-CKdUkVVS.js → index-B_1Z0Mgr.js} +1 -1
- package/web-shell/assets/index-Bi1dP2mU.css +5 -0
- package/web-shell/assets/index-DJ-z1Oba.js +1756 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-SLsfu3Qd.js → infoDiagram-5YYISTIA-DXZGO8qB.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CmHOmTNx.js → ishikawaDiagram-YF4QCWOH-g7gbuH2w.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-C3gM_HFQ.js → journeyDiagram-JHISSGLW-euefICGn.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BbHD7duM.js → kanban-definition-UN3LZRKU-Dws8-mjG.js} +1 -1
- package/web-shell/assets/{linear-CSBvm435.js → linear-C63F0tyh.js} +1 -1
- package/web-shell/assets/{mermaid.core-CPMw15lU.js → mermaid.core-fLrhp_4-.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-C_tNqXQW.js → mindmap-definition-RKZ34NQL-qRkydfT-.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-DH_N-8yY.js → pieDiagram-4H26LBE5-BZ0wQaKN.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CRbS8UkN.js → quadrantDiagram-W4KKPZXB-Fjq6GbSZ.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-DJgdZPZn.js → requirementDiagram-4Y6WPE33-CqWvjLHU.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-vhL1y5zx.js → sankeyDiagram-5OEKKPKP-VcXX6PVZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-UQthhFwd.js → sequenceDiagram-3UESZ5HK-BJSRtxFr.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CAywEm20.js → stateDiagram-AJRCARHV-Dt9zUwmZ.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CCxQt56w.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-CLO8b3FD.js → timeline-definition-PNZ67QCA-DQwlNRws.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BNAAh0Mu.js → vennDiagram-CIIHVFJN-DwxjUEtQ.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CUY7bLpN.js → wardley-L42UT6IY-D3QdMSpJ.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CSg_ORdW.js → wardleyDiagram-YWT4CUSO-BddN8oK8.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BjffV208.js → xychartDiagram-2RQKCTM6-BUNuBrRJ.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/assets/channel-LEZei0-5.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BiaRhfvf.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BiaRhfvf.js +0 -1
- package/web-shell/assets/index-BgOcEaVt.js +0 -1756
- package/web-shell/assets/index-DA5Lvscv.css +0 -5
- package/web-shell/assets/insert-DmRbh9Rv.svg +0 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-lfJQHw-7.js +0 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getCliVersion
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BKXTHMOZ.js";
|
|
6
6
|
import {
|
|
7
7
|
IdeClient,
|
|
8
8
|
formatMemoryUsage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UQDFEU47.js";
|
|
10
10
|
import {
|
|
11
11
|
createDebugLogger
|
|
12
12
|
} from "./chunk-3RXUYQJI.js";
|
|
@@ -25,7 +25,7 @@ import { execFile } from "node:child_process";
|
|
|
25
25
|
|
|
26
26
|
// packages/cli/src/generated/git-commit.ts
|
|
27
27
|
init_esbuild_shims();
|
|
28
|
-
var GIT_COMMIT_INFO = "
|
|
28
|
+
var GIT_COMMIT_INFO = "239de83f6";
|
|
29
29
|
|
|
30
30
|
// packages/cli/src/utils/systemInfo.ts
|
|
31
31
|
var debugLogger = createDebugLogger("STATUS");
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
import {
|
|
4
4
|
settleChatRecording,
|
|
5
5
|
subscribeToHeadlessChatRecordingFailures
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZGSUFIL5.js";
|
|
7
7
|
import {
|
|
8
8
|
handleAtCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XMJO6C44.js";
|
|
10
10
|
import {
|
|
11
11
|
JsonOutputAdapter
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K2J5JZ6B.js";
|
|
13
13
|
import {
|
|
14
14
|
StreamJsonOutputAdapter
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L7FTDKCD.js";
|
|
16
16
|
import {
|
|
17
17
|
buildInitialSystemReminders,
|
|
18
18
|
buildSystemMessage,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
insertAfterFunctionResponses,
|
|
25
25
|
isSlashCommand,
|
|
26
26
|
normalizePartList
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4AGGSHCH.js";
|
|
28
28
|
import {
|
|
29
29
|
RunBudgetEnforcer,
|
|
30
30
|
cleanupReviewWorktreeLeases
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QPSYIV2O.js";
|
|
32
32
|
import {
|
|
33
33
|
AlreadyReportedError,
|
|
34
34
|
handleBudgetExceededError,
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
handleError,
|
|
37
37
|
handleMaxTurnsExceededError,
|
|
38
38
|
handleToolError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EGYJRIDF.js";
|
|
40
40
|
import {
|
|
41
41
|
isInlineModelOverrideAllowed
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5VYFXHY2.js";
|
|
43
43
|
import {
|
|
44
44
|
PLAN_MODE_ENTRY_SIBLING_SKIP_MESSAGE,
|
|
45
45
|
buildSessionRecoveryPlanFromApiHistory,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
parseAndFormatApiError,
|
|
58
58
|
partitionByConcurrencySafety,
|
|
59
59
|
restoreWorktreeContext
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-UQDFEU47.js";
|
|
61
61
|
import {
|
|
62
62
|
parsePositiveIntegerEnv
|
|
63
63
|
} from "./chunk-6PVPNMXU.js";
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-O6GEWCJA.js";
|
|
67
67
|
import {
|
|
68
68
|
isSystemReminderContent
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-SRY26X4H.js";
|
|
70
70
|
import {
|
|
71
71
|
formatFullTurnVisionNotice,
|
|
72
72
|
formatVisionBridgeNotice,
|
|
@@ -76,10 +76,10 @@ import {
|
|
|
76
76
|
shouldRunVisionBridge,
|
|
77
77
|
splitImageParts,
|
|
78
78
|
uiTelemetryService
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-4K3RV3OA.js";
|
|
80
80
|
import {
|
|
81
81
|
ToolNames
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-CFDR3GNL.js";
|
|
83
83
|
import {
|
|
84
84
|
isTelemetrySdkInitialized,
|
|
85
85
|
shutdownTelemetry
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
} from "./chunk-3RXUYQJI.js";
|
|
91
91
|
import {
|
|
92
92
|
registerCleanup
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-QDWLUXKP.js";
|
|
94
94
|
import {
|
|
95
95
|
init_esbuild_shims
|
|
96
96
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QPSYIV2O.js";
|
|
6
6
|
import {
|
|
7
7
|
assembleMcpServers,
|
|
8
8
|
getPendingGatedMcpServers,
|
|
9
9
|
getPromptableMcpServers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2MI7ZTRT.js";
|
|
11
11
|
import {
|
|
12
12
|
getMCPServerStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4K3RV3OA.js";
|
|
14
14
|
import {
|
|
15
15
|
require_fast_deep_equal
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CFDR3GNL.js";
|
|
17
17
|
import {
|
|
18
18
|
createDebugLogger
|
|
19
19
|
} from "./chunk-3RXUYQJI.js";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
useKeypress
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Q3G5L5KF.js";
|
|
6
6
|
import {
|
|
7
7
|
require_react
|
|
8
8
|
} from "./chunk-5QWWOFGG.js";
|
|
9
9
|
import {
|
|
10
10
|
t
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KXWERR6P.js";
|
|
12
12
|
import {
|
|
13
13
|
APPROVAL_MODES
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TZTBZ25J.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esbuild_shims
|
|
17
17
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
import {
|
|
4
4
|
isLoopbackBind
|
|
5
5
|
} from "./chunk-RXFQM6FQ.js";
|
|
6
|
+
import {
|
|
7
|
+
require_mime_db
|
|
8
|
+
} from "./chunk-K6KS3LTN.js";
|
|
6
9
|
import {
|
|
7
10
|
require_lib
|
|
8
11
|
} from "./chunk-FC4KQFCS.js";
|
|
@@ -13,9 +16,6 @@ import {
|
|
|
13
16
|
MAX_WORKSPACE_PATH_LENGTH,
|
|
14
17
|
translateAndCheckAbsoluteWorkspacePath
|
|
15
18
|
} from "./chunk-6PLDPT2C.js";
|
|
16
|
-
import {
|
|
17
|
-
require_mime_db
|
|
18
|
-
} from "./chunk-K6KS3LTN.js";
|
|
19
19
|
import {
|
|
20
20
|
require_content_type
|
|
21
21
|
} from "./chunk-GOFAQQZA.js";
|
|
@@ -16629,6 +16629,7 @@ var SERVE_CAPABILITY_REGISTRY = {
|
|
|
16629
16629
|
session_source_metadata: { since: "v1" },
|
|
16630
16630
|
session_side_task: { since: "v1" },
|
|
16631
16631
|
session_prompt: { since: "v1" },
|
|
16632
|
+
session_mid_turn_message_mutation: { since: "v1" },
|
|
16632
16633
|
session_cancel: { since: "v1" },
|
|
16633
16634
|
session_events: { since: "v1" },
|
|
16634
16635
|
session_artifacts: { since: "v1" },
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KXWERR6P.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
getCoreSystemPrompt,
|
|
9
9
|
resolveInteractionMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UQDFEU47.js";
|
|
11
11
|
import {
|
|
12
12
|
buildSkillLlmContent
|
|
13
13
|
} from "./chunk-K623ENWT.js";
|
|
14
14
|
import {
|
|
15
15
|
DiscoveredMCPTool,
|
|
16
16
|
uiTelemetryService
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4K3RV3OA.js";
|
|
18
18
|
import {
|
|
19
19
|
ToolNames
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CFDR3GNL.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TOKEN_LIMIT
|
|
23
23
|
} from "./chunk-ZBVS26BY.js";
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
getTeammateContext,
|
|
5
|
-
isTeammate
|
|
6
|
-
} from "./chunk-S6LOFUVP.js";
|
|
7
3
|
import {
|
|
8
4
|
collectAvailableSkillEntries,
|
|
9
5
|
renderAvailableSkillsBlock
|
|
@@ -16,7 +12,7 @@ import {
|
|
|
16
12
|
} from "./chunk-432XCUHF.js";
|
|
17
13
|
import {
|
|
18
14
|
ToolNames
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CFDR3GNL.js";
|
|
20
16
|
import {
|
|
21
17
|
createDebugLogger,
|
|
22
18
|
getErrorMessage,
|
|
@@ -29,18 +25,6 @@ import {
|
|
|
29
25
|
__name
|
|
30
26
|
} from "./chunk-J2S4EL5Y.js";
|
|
31
27
|
|
|
32
|
-
// packages/core/src/config/approval-mode.ts
|
|
33
|
-
init_esbuild_shims();
|
|
34
|
-
var ApprovalMode = /* @__PURE__ */ ((ApprovalMode2) => {
|
|
35
|
-
ApprovalMode2["PLAN"] = "plan";
|
|
36
|
-
ApprovalMode2["DEFAULT"] = "default";
|
|
37
|
-
ApprovalMode2["AUTO_EDIT"] = "auto-edit";
|
|
38
|
-
ApprovalMode2["AUTO"] = "auto";
|
|
39
|
-
ApprovalMode2["YOLO"] = "yolo";
|
|
40
|
-
return ApprovalMode2;
|
|
41
|
-
})(ApprovalMode || {});
|
|
42
|
-
var APPROVAL_MODES = Object.values(ApprovalMode);
|
|
43
|
-
|
|
44
28
|
// packages/core/src/subagents/types.ts
|
|
45
29
|
init_esbuild_shims();
|
|
46
30
|
var BUBBLE_APPROVAL_MODE = "bubble";
|
|
@@ -698,6 +682,21 @@ function isInForkExecution() {
|
|
|
698
682
|
return forkExecutionStorage.getStore() !== void 0;
|
|
699
683
|
}
|
|
700
684
|
__name(isInForkExecution, "isInForkExecution");
|
|
685
|
+
function resolveForkExecutionAllowedTools(advertisedToolNames, requestedToolNames) {
|
|
686
|
+
if (!advertisedToolNames.includes(ToolNames.DISPLAY_IMAGE)) {
|
|
687
|
+
return requestedToolNames ? [...requestedToolNames] : void 0;
|
|
688
|
+
}
|
|
689
|
+
return requestedToolNames?.filter((name) => name !== ToolNames.DISPLAY_IMAGE) ?? [];
|
|
690
|
+
}
|
|
691
|
+
__name(resolveForkExecutionAllowedTools, "resolveForkExecutionAllowedTools");
|
|
692
|
+
function registerForkDisplayImageForCache(config, advertisedToolNames) {
|
|
693
|
+
if (!advertisedToolNames.includes(ToolNames.DISPLAY_IMAGE)) return;
|
|
694
|
+
config.getToolRegistry().registerFactory(ToolNames.DISPLAY_IMAGE, async () => {
|
|
695
|
+
const { DisplayImageTool } = await import("./display-image-VS3TXYQH.js");
|
|
696
|
+
return new DisplayImageTool(config);
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
__name(registerForkDisplayImageForCache, "registerForkDisplayImageForCache");
|
|
701
700
|
var FORK_PLACEHOLDER_RESULT = "Fork started \u2014 processing in background";
|
|
702
701
|
function buildForkExecutionAllowlist(requestedTools, declaredTools) {
|
|
703
702
|
return (requestedTools ?? declaredTools).filter(
|
|
@@ -865,165 +864,7 @@ ${FORK_DIRECTIVE_PREFIX}${directive}${profileGuidance}${executionRestriction}`;
|
|
|
865
864
|
}
|
|
866
865
|
__name(buildChildMessage, "buildChildMessage");
|
|
867
866
|
|
|
868
|
-
// packages/core/src/agents/runtime/agent-context.ts
|
|
869
|
-
init_esbuild_shims();
|
|
870
|
-
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
871
|
-
var storage = new AsyncLocalStorage2();
|
|
872
|
-
function runWithAgentContext(agentId, fn, depthOverride) {
|
|
873
|
-
const current = storage.getStore() ?? {};
|
|
874
|
-
const depth = depthOverride ?? (current.depth ?? -1) + 1;
|
|
875
|
-
return storage.run({ ...current, agentId, depth }, fn);
|
|
876
|
-
}
|
|
877
|
-
__name(runWithAgentContext, "runWithAgentContext");
|
|
878
|
-
function runWithRuntimeContentGenerator(view, fn) {
|
|
879
|
-
const current = storage.getStore() ?? {};
|
|
880
|
-
return storage.run({ ...current, runtimeView: view }, fn);
|
|
881
|
-
}
|
|
882
|
-
__name(runWithRuntimeContentGenerator, "runWithRuntimeContentGenerator");
|
|
883
|
-
function getCurrentAgentId() {
|
|
884
|
-
return storage.getStore()?.agentId ?? null;
|
|
885
|
-
}
|
|
886
|
-
__name(getCurrentAgentId, "getCurrentAgentId");
|
|
887
|
-
function getCurrentAgentDepth() {
|
|
888
|
-
return storage.getStore()?.depth ?? 0;
|
|
889
|
-
}
|
|
890
|
-
__name(getCurrentAgentDepth, "getCurrentAgentDepth");
|
|
891
|
-
function getRuntimeContentGenerator() {
|
|
892
|
-
return storage.getStore()?.runtimeView;
|
|
893
|
-
}
|
|
894
|
-
__name(getRuntimeContentGenerator, "getRuntimeContentGenerator");
|
|
895
|
-
function runOutsideAgentContext(fn) {
|
|
896
|
-
return storage.exit(fn);
|
|
897
|
-
}
|
|
898
|
-
__name(runOutsideAgentContext, "runOutsideAgentContext");
|
|
899
|
-
function isTopLevelSession() {
|
|
900
|
-
return getCurrentAgentId() === null;
|
|
901
|
-
}
|
|
902
|
-
__name(isTopLevelSession, "isTopLevelSession");
|
|
903
|
-
function childLaunchDepth() {
|
|
904
|
-
return getCurrentAgentId() !== null ? getCurrentAgentDepth() + 1 : 0;
|
|
905
|
-
}
|
|
906
|
-
__name(childLaunchDepth, "childLaunchDepth");
|
|
907
|
-
function canSpawnNestedAgent(maxDepth) {
|
|
908
|
-
return childLaunchDepth() + 1 <= maxDepth;
|
|
909
|
-
}
|
|
910
|
-
__name(canSpawnNestedAgent, "canSpawnNestedAgent");
|
|
911
|
-
function spawnBlockReason(maxDepth) {
|
|
912
|
-
if (!canSpawnNestedAgent(maxDepth)) return "depth";
|
|
913
|
-
if (isTeammate()) return "teammate";
|
|
914
|
-
if (isInForkExecution()) return "fork";
|
|
915
|
-
return null;
|
|
916
|
-
}
|
|
917
|
-
__name(spawnBlockReason, "spawnBlockReason");
|
|
918
|
-
|
|
919
|
-
// packages/core/src/agents/runtime/subagent-plan-tool-policy.ts
|
|
920
|
-
init_esbuild_shims();
|
|
921
|
-
var SUBAGENT_PLAN_LIFECYCLE_TOOLS = /* @__PURE__ */ new Set([
|
|
922
|
-
ToolNames.ENTER_PLAN_MODE,
|
|
923
|
-
ToolNames.EXIT_PLAN_MODE
|
|
924
|
-
]);
|
|
925
|
-
var PLAN_REQUIRED_TEAMMATE_PRE_APPROVAL_TOOLS = /* @__PURE__ */ new Set([
|
|
926
|
-
ToolNames.EXIT_PLAN_MODE,
|
|
927
|
-
ToolNames.READ_FILE,
|
|
928
|
-
ToolNames.GREP,
|
|
929
|
-
ToolNames.GLOB,
|
|
930
|
-
ToolNames.LS,
|
|
931
|
-
ToolNames.LSP,
|
|
932
|
-
ToolNames.TASK_LIST,
|
|
933
|
-
ToolNames.TOOL_SEARCH,
|
|
934
|
-
ToolNames.READ_MCP_RESOURCE
|
|
935
|
-
]);
|
|
936
|
-
var PRE_APPROVAL_TASK_CLAIM_KEYS = /* @__PURE__ */ new Set([
|
|
937
|
-
"taskId",
|
|
938
|
-
"status",
|
|
939
|
-
"owner",
|
|
940
|
-
"addBlocks",
|
|
941
|
-
"addBlockedBy"
|
|
942
|
-
]);
|
|
943
|
-
function isSubagentLikeExecutionContext() {
|
|
944
|
-
return getCurrentAgentId() !== null || isTeammate();
|
|
945
|
-
}
|
|
946
|
-
__name(isSubagentLikeExecutionContext, "isSubagentLikeExecutionContext");
|
|
947
|
-
function isPlanRequiredTeammateContext() {
|
|
948
|
-
return getTeammateContext()?.planModeRequired === true;
|
|
949
|
-
}
|
|
950
|
-
__name(isPlanRequiredTeammateContext, "isPlanRequiredTeammateContext");
|
|
951
|
-
function isPlanRequiredTeammateAwaitingApproval(config) {
|
|
952
|
-
return isPlanRequiredTeammateContext() && config.getApprovalMode() === "plan" /* PLAN */;
|
|
953
|
-
}
|
|
954
|
-
__name(isPlanRequiredTeammateAwaitingApproval, "isPlanRequiredTeammateAwaitingApproval");
|
|
955
|
-
function isPlanLifecycleToolUnavailableInSubagent(toolName) {
|
|
956
|
-
if (!isSubagentLikeExecutionContext()) return false;
|
|
957
|
-
if (toolName === ToolNames.ENTER_PLAN_MODE) return true;
|
|
958
|
-
if (toolName === ToolNames.EXIT_PLAN_MODE) {
|
|
959
|
-
return !isPlanRequiredTeammateContext();
|
|
960
|
-
}
|
|
961
|
-
return false;
|
|
962
|
-
}
|
|
963
|
-
__name(isPlanLifecycleToolUnavailableInSubagent, "isPlanLifecycleToolUnavailableInSubagent");
|
|
964
|
-
function shouldUsePlanOnlyReminderInSubagentContext() {
|
|
965
|
-
return isSubagentLikeExecutionContext() && !isPlanRequiredTeammateContext();
|
|
966
|
-
}
|
|
967
|
-
__name(shouldUsePlanOnlyReminderInSubagentContext, "shouldUsePlanOnlyReminderInSubagentContext");
|
|
968
|
-
function isLeaderOnlyToolUnavailableInSubagent(toolName) {
|
|
969
|
-
return isSubagentLikeExecutionContext() && toolName === ToolNames.TEAM_PLAN_APPROVAL;
|
|
970
|
-
}
|
|
971
|
-
__name(isLeaderOnlyToolUnavailableInSubagent, "isLeaderOnlyToolUnavailableInSubagent");
|
|
972
|
-
function getLeaderOnlyToolUnavailableMessage(toolName) {
|
|
973
|
-
return `${toolName} is only available to the team leader. Subagents and teammates cannot approve teammate plans.`;
|
|
974
|
-
}
|
|
975
|
-
__name(getLeaderOnlyToolUnavailableMessage, "getLeaderOnlyToolUnavailableMessage");
|
|
976
|
-
function getPlanRequiredTeammatePreApprovalMessage(toolName) {
|
|
977
|
-
return `${toolName} is not available while this plan-required teammate is waiting for leader approval. Finish investigation, call exit_plan_mode with the proposed plan, and wait for the leader to approve it before taking execution actions.`;
|
|
978
|
-
}
|
|
979
|
-
__name(getPlanRequiredTeammatePreApprovalMessage, "getPlanRequiredTeammatePreApprovalMessage");
|
|
980
|
-
function isPlanRequiredTeammatePreApprovalAllowedTool(toolName, params) {
|
|
981
|
-
if (PLAN_REQUIRED_TEAMMATE_PRE_APPROVAL_TOOLS.has(toolName)) {
|
|
982
|
-
return true;
|
|
983
|
-
}
|
|
984
|
-
if (toolName !== ToolNames.TASK_UPDATE) {
|
|
985
|
-
return false;
|
|
986
|
-
}
|
|
987
|
-
return isPreApprovalClaimOnlyTaskUpdate(params);
|
|
988
|
-
}
|
|
989
|
-
__name(isPlanRequiredTeammatePreApprovalAllowedTool, "isPlanRequiredTeammatePreApprovalAllowedTool");
|
|
990
|
-
function isPreApprovalClaimOnlyTaskUpdate(params) {
|
|
991
|
-
if (typeof params !== "object" || params === null || Array.isArray(params)) {
|
|
992
|
-
return false;
|
|
993
|
-
}
|
|
994
|
-
const taskParams = params;
|
|
995
|
-
for (const key of Object.keys(taskParams)) {
|
|
996
|
-
if (!PRE_APPROVAL_TASK_CLAIM_KEYS.has(key)) {
|
|
997
|
-
return false;
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
const agentName = getTeammateContext()?.agentName;
|
|
1001
|
-
return typeof taskParams["taskId"] === "string" && taskParams["status"] === "in_progress" && (taskParams["owner"] === void 0 || taskParams["owner"] === agentName) && isAbsentOrEmptyArray(taskParams["addBlocks"]) && isAbsentOrEmptyArray(taskParams["addBlockedBy"]);
|
|
1002
|
-
}
|
|
1003
|
-
__name(isPreApprovalClaimOnlyTaskUpdate, "isPreApprovalClaimOnlyTaskUpdate");
|
|
1004
|
-
function isAbsentOrEmptyArray(value) {
|
|
1005
|
-
return value === void 0 || Array.isArray(value) && value.length === 0;
|
|
1006
|
-
}
|
|
1007
|
-
__name(isAbsentOrEmptyArray, "isAbsentOrEmptyArray");
|
|
1008
|
-
function getSubagentPlanToolUnavailableMessage(toolName) {
|
|
1009
|
-
return `${toolName} is not available inside subagents or team agents. Plan mode is owned by the caller/main session; return your plan, findings, or constraints to the caller in your normal response instead of entering or exiting plan mode.`;
|
|
1010
|
-
}
|
|
1011
|
-
__name(getSubagentPlanToolUnavailableMessage, "getSubagentPlanToolUnavailableMessage");
|
|
1012
|
-
function buildSubagentPlanToolBlockedResult(toolName, logTag, logger) {
|
|
1013
|
-
const message = getSubagentPlanToolUnavailableMessage(toolName);
|
|
1014
|
-
logger.warn(
|
|
1015
|
-
`[${logTag}] Blocked plan lifecycle tool call from subagent: ${toolName}`
|
|
1016
|
-
);
|
|
1017
|
-
return {
|
|
1018
|
-
llmContent: message,
|
|
1019
|
-
returnDisplay: message,
|
|
1020
|
-
error: { message }
|
|
1021
|
-
};
|
|
1022
|
-
}
|
|
1023
|
-
__name(buildSubagentPlanToolBlockedResult, "buildSubagentPlanToolBlockedResult");
|
|
1024
|
-
|
|
1025
867
|
export {
|
|
1026
|
-
APPROVAL_MODES,
|
|
1027
868
|
BUBBLE_APPROVAL_MODE,
|
|
1028
869
|
SubagentError,
|
|
1029
870
|
SubagentErrorCode,
|
|
@@ -1045,6 +886,9 @@ export {
|
|
|
1045
886
|
FORK_AGENT,
|
|
1046
887
|
FORK_DEFAULT_MAX_TURNS,
|
|
1047
888
|
runInForkContext,
|
|
889
|
+
isInForkExecution,
|
|
890
|
+
resolveForkExecutionAllowedTools,
|
|
891
|
+
registerForkDisplayImageForCache,
|
|
1048
892
|
FORK_PLACEHOLDER_RESULT,
|
|
1049
893
|
buildForkExecutionAllowlist,
|
|
1050
894
|
validateForkToolList,
|
|
@@ -1054,36 +898,15 @@ export {
|
|
|
1054
898
|
buildForkedMessages,
|
|
1055
899
|
buildWorktreeNotice,
|
|
1056
900
|
buildPinnedWorktreeNotice,
|
|
1057
|
-
buildChildMessage
|
|
1058
|
-
runWithAgentContext,
|
|
1059
|
-
runWithRuntimeContentGenerator,
|
|
1060
|
-
getCurrentAgentId,
|
|
1061
|
-
getCurrentAgentDepth,
|
|
1062
|
-
getRuntimeContentGenerator,
|
|
1063
|
-
runOutsideAgentContext,
|
|
1064
|
-
isTopLevelSession,
|
|
1065
|
-
childLaunchDepth,
|
|
1066
|
-
spawnBlockReason,
|
|
1067
|
-
SUBAGENT_PLAN_LIFECYCLE_TOOLS,
|
|
1068
|
-
isSubagentLikeExecutionContext,
|
|
1069
|
-
isPlanRequiredTeammateContext,
|
|
1070
|
-
isPlanRequiredTeammateAwaitingApproval,
|
|
1071
|
-
isPlanLifecycleToolUnavailableInSubagent,
|
|
1072
|
-
shouldUsePlanOnlyReminderInSubagentContext,
|
|
1073
|
-
isLeaderOnlyToolUnavailableInSubagent,
|
|
1074
|
-
getLeaderOnlyToolUnavailableMessage,
|
|
1075
|
-
getPlanRequiredTeammatePreApprovalMessage,
|
|
1076
|
-
isPlanRequiredTeammatePreApprovalAllowedTool,
|
|
1077
|
-
getSubagentPlanToolUnavailableMessage,
|
|
1078
|
-
buildSubagentPlanToolBlockedResult
|
|
901
|
+
buildChildMessage
|
|
1079
902
|
};
|
|
1080
903
|
/**
|
|
1081
904
|
* @license
|
|
1082
|
-
* Copyright 2025
|
|
905
|
+
* Copyright 2025 Qwen
|
|
1083
906
|
* SPDX-License-Identifier: Apache-2.0
|
|
1084
907
|
*/
|
|
1085
908
|
/**
|
|
1086
909
|
* @license
|
|
1087
|
-
* Copyright 2025
|
|
910
|
+
* Copyright 2025 Google LLC
|
|
1088
911
|
* SPDX-License-Identifier: Apache-2.0
|
|
1089
912
|
*/
|