@qwen-code/qwen-code 0.19.5 → 0.19.6-nightly.20260704.5dc2e1501
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/dataviz/SKILL.md +50 -0
- package/bundled/dataviz/references/anti-patterns.md +12 -0
- package/bundled/dataviz/references/choosing-a-form.md +16 -0
- package/bundled/dataviz/references/palette.md +57 -0
- package/bundled/dataviz/scripts/validate_palette.js +328 -0
- package/bundled/loop/SKILL.md +1 -1
- package/bundled/qc-helper/docs/configuration/settings.md +9 -8
- package/bundled/qc-helper/docs/features/headless.md +2 -2
- package/bundled/qc-helper/docs/features/scheduled-tasks.md +4 -2
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/DESIGN.md +23 -0
- package/bundled/review/SKILL.md +65 -8
- package/chunks/{MaxSizedBox-5JV77KRA.js → MaxSizedBox-44K34KSF.js} +14 -14
- package/chunks/{StandaloneSessionPicker-MGUGB6PH.js → StandaloneSessionPicker-6WZYYTZE.js} +25 -25
- package/chunks/{acpAgent-4F36XM3X.js → acpAgent-2CMYPFHV.js} +346 -131
- package/chunks/{agent-IWBUZI6A.js → agent-UOEAYBCX.js} +11 -11
- package/chunks/{agent-headless-JUTICAYO.js → agent-headless-7SCVZZGJ.js} +11 -11
- package/chunks/{anthropicContentGenerator-WL3LJOUB.js → anthropicContentGenerator-H5ZOEENQ.js} +2 -2
- package/chunks/{artifact-tool-W76WC2JX.js → artifact-tool-SLYPWG3C.js} +15 -2
- package/chunks/{askUserQuestion-J3P6TH3V.js → askUserQuestion-OKPTECON.js} +1 -1
- package/chunks/{bridge-DHZHQ4UV.js → bridge-IGX2XPWV.js} +17 -16
- package/chunks/{channel-worker-supervisor-EVPAYNZ5.js → channel-worker-supervisor-JUYQ5Z4R.js} +5 -5
- package/chunks/{chunk-EROWZQN7.js → chunk-2HK52TS2.js} +6 -6
- package/chunks/chunk-3RW4AZJV.js +5063 -0
- package/chunks/chunk-3VJ7MT3N.js +111 -0
- package/chunks/{chunk-JJ6B3ZD3.js → chunk-3ZSJDRNO.js} +2 -2
- package/chunks/{chunk-SJVPSHXU.js → chunk-4OIKNWUQ.js} +4 -4
- package/chunks/{chunk-PPFWEV7G.js → chunk-4RQIB5UZ.js} +62 -62
- package/chunks/{chunk-MDBNFHIO.js → chunk-4YMVQKCZ.js} +3 -3
- package/chunks/{chunk-2YH27UNF.js → chunk-4YXBDLX7.js} +1 -1
- package/chunks/{chunk-6QVQZAW6.js → chunk-537ZUZEH.js} +1 -1
- package/chunks/{chunk-L7OJ3ZO3.js → chunk-5ES5YPED.js} +1 -1
- package/chunks/{chunk-UJT42DB6.js → chunk-5QC7Y5TJ.js} +5 -5
- package/chunks/{chunk-BC4R5C5R.js → chunk-5WYLPENX.js} +32 -6
- package/chunks/{chunk-7DMQRPC7.js → chunk-6BEOH4KK.js} +1 -1
- package/chunks/{chunk-CXBG27SF.js → chunk-6IAWPIQ6.js} +3 -2
- package/chunks/{chunk-RM3PGSGL.js → chunk-6SHO7WFF.js} +15 -2
- package/chunks/{chunk-CBJE2PLG.js → chunk-777PHAJF.js} +2 -2
- package/chunks/{chunk-NSSVORTQ.js → chunk-7UU2AGR4.js} +16 -12
- package/chunks/{chunk-RNGAT2Y2.js → chunk-AGLMKJH5.js} +1 -1
- package/chunks/{chunk-J3ERRYYI.js → chunk-AWSTZHHZ.js} +2 -2
- package/chunks/{chunk-6QTCOQX7.js → chunk-B5ZACOMA.js} +1967 -1399
- package/chunks/{chunk-R6RI2HIC.js → chunk-CLQPBI4H.js} +40 -13
- package/chunks/{chunk-SJBIFVD2.js → chunk-DMSNJDWG.js} +5 -1
- package/chunks/{chunk-KKQWC6WS.js → chunk-DNV4FSN5.js} +1 -1
- package/chunks/{chunk-Z7XNVNPM.js → chunk-EMSRFDBD.js} +1 -1
- package/chunks/{chunk-HISPEX42.js → chunk-G645A66S.js} +7 -7
- package/chunks/{chunk-WALEWZ44.js → chunk-H3GBYW5M.js} +1 -1
- package/chunks/{chunk-2Z43HUXT.js → chunk-HLKG6CZN.js} +3 -2
- package/chunks/{chunk-XKZXGIRM.js → chunk-HNGXPBWR.js} +2 -2
- package/chunks/{chunk-QHYITL6P.js → chunk-HXX7S2AE.js} +5 -11
- package/chunks/{chunk-XKSCTXPK.js → chunk-J6ABRKAB.js} +2 -1
- package/chunks/{chunk-DX3TKXNT.js → chunk-JA5KWZTJ.js} +1 -1
- package/chunks/{chunk-4MCC4XHH.js → chunk-KBKWNEPS.js} +38 -37
- package/chunks/{chunk-MNOXKSM2.js → chunk-KEKV2TOO.js} +1 -1
- package/chunks/{chunk-R3UWLLRQ.js → chunk-KP6O77UN.js} +1 -1
- package/chunks/{chunk-YTFBURQD.js → chunk-KYTQOCDE.js} +1 -1
- package/chunks/{chunk-TN6RT6EJ.js → chunk-LJUWNRJH.js} +16 -4
- package/chunks/{chunk-BPFJQGY7.js → chunk-LM3YCCZJ.js} +164 -5
- package/chunks/{chunk-G4M7FPNY.js → chunk-M6IUEDXM.js} +1 -1
- package/chunks/{chunk-MTNTVOJR.js → chunk-MJKMIQMK.js} +5 -2
- package/chunks/{chunk-2CAII5HD.js → chunk-MWGIMAYM.js} +1 -1
- package/chunks/{chunk-NDY7OENU.js → chunk-N3QDCSLP.js} +2 -2
- package/chunks/{chunk-IMAMNLY6.js → chunk-N6AGVKMC.js} +3 -3
- package/chunks/{chunk-WZ724G6K.js → chunk-NGCPNXJC.js} +5 -5
- package/chunks/{chunk-YXK4GPYO.js → chunk-NVFJSIAX.js} +29 -0
- package/chunks/{chunk-6KPZJJ6U.js → chunk-P2OIJOKP.js} +9 -9
- package/chunks/{chunk-RSBQS6M4.js → chunk-P2RRV2UB.js} +1 -1
- package/chunks/{chunk-NNEJEBCF.js → chunk-PGMCFUZS.js} +30 -21
- package/chunks/{chunk-CSPSJU5R.js → chunk-PNGENHT7.js} +16 -16
- package/chunks/{chunk-Y4UQT3PM.js → chunk-QQXG2BL6.js} +1 -1
- package/chunks/{chunk-M5ITDKSM.js → chunk-RUM2UEL3.js} +1 -1
- package/chunks/{chunk-DG573EOO.js → chunk-RZORUN6X.js} +1 -1
- package/chunks/{chunk-LHMZCIKL.js → chunk-SZFYG244.js} +3 -1
- package/chunks/{chunk-CHY5C5T4.js → chunk-TDMIHT6B.js} +171 -79
- package/chunks/{chunk-DRS2HTNT.js → chunk-TE6JTKY5.js} +5 -5
- package/chunks/chunk-U7UXWKGG.js +949 -0
- package/chunks/{chunk-JKGCBO3O.js → chunk-UPYORLKQ.js} +3 -3
- package/chunks/{chunk-UY2TCIZS.js → chunk-V5VTULL5.js} +2 -2
- package/chunks/{chunk-ZISMVA6U.js → chunk-WGCLCXAN.js} +1371 -24
- package/chunks/chunk-WSOGYJMT.js +5630 -0
- package/chunks/{chunk-SBMHB6N5.js → chunk-WWGZJJRG.js} +12 -12
- package/chunks/{chunk-DM4E337C.js → chunk-X3UQVEBR.js} +4 -4
- package/chunks/{chunk-K4I4STSL.js → chunk-XPOO5OMB.js} +2 -2
- package/chunks/{chunk-5B2WNM6V.js → chunk-ZI4MGBB5.js} +1 -1
- package/chunks/{chunk-OQHLUA2Y.js → chunk-ZLJKZ57K.js} +3 -3
- package/chunks/{chunk-YCU7QV7Q.js → chunk-ZZDAIAA6.js} +32 -0
- package/chunks/{computer-use-ON3JQUHW.js → computer-use-TQWGUBPQ.js} +11 -11
- package/chunks/{contextCommand-OGCG7W6N.js → contextCommand-XDK5RNWI.js} +13 -13
- package/chunks/{cron-create-6YTCOX6P.js → cron-create-7JYUDTUY.js} +20 -5
- package/chunks/{cron-delete-E3NIFSUK.js → cron-delete-YPULQQAK.js} +2 -2
- package/chunks/{cron-list-Q64MNQNE.js → cron-list-HJIW5MHP.js} +2 -2
- package/chunks/{daemon-EEB2RYOL.js → daemon-7XYW4BC3.js} +102 -0
- package/chunks/{daemon-status-provider-P72STMLB.js → daemon-status-provider-6UEN56WN.js} +20 -19
- package/chunks/{dist-AP5V4WYU.js → dist-AAO65DPC.js} +2 -2
- package/chunks/{dist-X4ZDE726.js → dist-ABQ7VWRR.js} +3 -3
- package/chunks/{dist-SNXOUPYS.js → dist-AW5ZYMUI.js} +2 -2
- package/chunks/{dist-Z57Q4YF5.js → dist-BV56HW3W.js} +276 -95
- package/chunks/{dist-IZP2VV4C.js → dist-JPSVN367.js} +2 -2
- package/chunks/{earlyInputCapture-DAFHSGVW.js → earlyInputCapture-7MNFMUJE.js} +11 -11
- package/chunks/{edit-3QFNCSZH.js → edit-HOC63PHG.js} +12 -12
- package/chunks/{en-M4EBUBNU.js → en-XR3S5VWY.js} +1 -0
- package/chunks/{enter-worktree-62EQQMLD.js → enter-worktree-THXLMUX2.js} +11 -11
- package/chunks/{enterPlanMode-VUQSE4EG.js → enterPlanMode-TW4WQVEI.js} +11 -11
- package/chunks/{errors-PW75PZXE.js → errors-NTNVSC6G.js} +13 -13
- package/chunks/{exit-worktree-VVNH7OVY.js → exit-worktree-CLL7RGAT.js} +11 -11
- package/chunks/{exitPlanMode-RUYRCYZW.js → exitPlanMode-BTZZ3QEL.js} +11 -11
- package/chunks/{fast-path-TFRJRTTR.js → fast-path-RYXBU6AS.js} +3 -3
- package/chunks/{fast-path-settings-UQLRFDQP.js → fast-path-settings-RCRXH2JG.js} +2 -2
- package/chunks/{gemini-XW7ZDUVR.js → gemini-36FE3OHS.js} +69 -64
- package/chunks/{geminiContentGenerator-MZDVHVZH.js → geminiContentGenerator-JEG2PANG.js} +1 -1
- package/chunks/{glob-WAY2PUWA.js → glob-EYVHOFCY.js} +11 -11
- package/chunks/{grep-W6CBKSYC.js → grep-TZY5TDGH.js} +11 -11
- package/chunks/{initializer-HK2XE6P2.js → initializer-HPF2RBSB.js} +16 -16
- package/chunks/{list-RVLIIKKL.js → list-THUTQ7B5.js} +18 -18
- package/chunks/{loadedSettingsAdapter-C63OUYZC.js → loadedSettingsAdapter-CUMWJNWJ.js} +16 -16
- package/chunks/{loop-wakeup-G2EHBRGR.js → loop-wakeup-34YK7T7O.js} +3 -3
- package/chunks/{ls-IDHUVSAG.js → ls-MPD5OJUX.js} +1 -1
- package/chunks/{lsp-FSRYXGFT.js → lsp-72PWTDW7.js} +1 -1
- package/chunks/{workspace-skills-status-ONEPXJV6.js → mcp-NQD5MT2T.js} +20 -16
- package/chunks/{monitor-FOG36ABM.js → monitor-PB7NVSG2.js} +11 -11
- package/chunks/{nonInteractiveCli-6BYQSJTB.js → nonInteractiveCli-F5FJXYQR.js} +46 -44
- package/chunks/{notebook-edit-GC6NXRCX.js → notebook-edit-LAK6OHS6.js} +12 -12
- package/chunks/{openaiContentGenerator-EXR3ZL3Z.js → openaiContentGenerator-GMMEY5PG.js} +6 -6
- package/chunks/{pidfile-FNZM2DDH.js → pidfile-NQ2YUNKI.js} +11 -11
- package/chunks/{qwenContentGenerator-A7B6J4U7.js → qwenContentGenerator-7XCBMQBM.js} +13 -13
- package/chunks/{read-file-6JL4ULMY.js → read-file-KUROJDUQ.js} +3 -3
- package/chunks/{read-mcp-resource-PIJF24RO.js → read-mcp-resource-OWOBJY72.js} +1 -1
- package/chunks/record-artifact-URK3YUDJ.js +343 -0
- package/chunks/{ripGrep-DIUGLJE5.js → ripGrep-USDWBX4L.js} +11 -11
- package/chunks/{run-qwen-serve-CME3AKM4.js → run-qwen-serve-WKCKS23N.js} +72 -28
- package/chunks/{scheduler-L7F6GDDT.js → scheduler-QR4F5TAH.js} +11 -11
- package/chunks/{send-message-33PYFMCT.js → send-message-L7OLQEKH.js} +2 -2
- package/chunks/{serve-SRCBOJGP.js → serve-2EIPX62G.js} +18 -18
- package/chunks/{server-QSQ45QFR.js → server-UJ7ZF5D7.js} +1184 -490
- package/chunks/{session-5DG6NXHZ.js → session-XB3CFJ6R.js} +48 -46
- package/chunks/{settings-3EEQI4MN.js → settings-DYVJFW5H.js} +15 -15
- package/chunks/{shell-B7FNYF5S.js → shell-IG7KGPLR.js} +11 -11
- package/chunks/{skill-AAOGHD5O.js → skill-RWX646DC.js} +4 -4
- package/chunks/{spawnChannel-3CBN3ZLK.js → spawnChannel-GWIJHDZ5.js} +15 -15
- package/chunks/{src-T5A7P7FS.js → src-IYODJOVK.js} +47 -21
- package/chunks/{startInteractiveUI-2FGEQ6AS.js → startInteractiveUI-PLEZAI44.js} +354 -152
- package/chunks/{syntheticOutput-YOSWIHDJ.js → syntheticOutput-J3MLCQAR.js} +2 -2
- package/chunks/{task-create-NHS2NGB3.js → task-create-ELEBZ7H2.js} +3 -3
- package/chunks/{task-list-5UIB564R.js → task-list-IEUZLF3Y.js} +1 -1
- package/chunks/{task-stop-HGXZ2VZ3.js → task-stop-QEZW3UDY.js} +1 -1
- package/chunks/{task-update-IYYWUILG.js → task-update-DW36J5P5.js} +3 -3
- package/chunks/{team-create-KDF6W6PV.js → team-create-RXRE7FCH.js} +11 -11
- package/chunks/{team-delete-FEKJCU4P.js → team-delete-SVITIMBO.js} +1 -1
- package/chunks/{team-plan-approval-PSFKQX7M.js → team-plan-approval-OJDMQXOK.js} +11 -11
- package/chunks/{theme-manager-5XOA2AO7.js → theme-manager-QBK6PZOQ.js} +11 -11
- package/chunks/{todoWrite-TKMVZ2HT.js → todoWrite-SFFQHZYY.js} +2 -2
- package/chunks/{tool-search-LFRILZXC.js → tool-search-EZQYPVFF.js} +4 -4
- package/chunks/{trustedFolders-7HQY6T6X.js → trustedFolders-GZDMSATB.js} +12 -12
- package/chunks/{validateNonInterActiveAuth-UC27B7BA.js → validateNonInterActiveAuth-AHXCFAV6.js} +43 -41
- package/chunks/version-KQ5CA4C5.js +10 -0
- package/chunks/{web-fetch-J4PIW36Q.js → web-fetch-SXAXJHIO.js} +2 -2
- package/chunks/{workflow-KUTESS6L.js → workflow-KUBRBYWH.js} +20 -13
- package/chunks/{workspace-providers-status-LJT5AQDS.js → workspace-providers-status-LRMZ4KYI.js} +18 -18
- package/chunks/{workspace-service-YOBYVDXH.js → workspace-service-5UYFHP42.js} +23 -23
- package/chunks/workspace-skills-status-TKLU5O2X.js +68 -0
- package/chunks/{write-file-FJYBZUHP.js → write-file-37LNLFQC.js} +12 -12
- package/chunks/yargs-B64EYTCF.js +10 -0
- package/chunks/{zh-SLZNSSZB.js → zh-FSVJTXA4.js} +1 -0
- package/chunks/{zh-TW-P53C2SL5.js → zh-TW-66MG4LWL.js} +1 -0
- package/cli-entry.js +81 -8
- package/cli.js +348 -55
- package/locales/en.js +1 -0
- package/locales/zh-TW.js +1 -0
- package/locales/zh.js +1 -0
- package/node_modules/@qwen-code/audio-capture/package.json +1 -1
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-arm64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/darwin-x64/@qwen-code+audio-capture.node +0 -0
- package/node_modules/@qwen-code/audio-capture/prebuilds/win32-x64/@qwen-code+audio-capture.node +0 -0
- package/package.json +3 -3
- package/web-shell/assets/{arc-D_rAuMDd.js → arc-CUpe0ibu.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-DUCzbHVo.js → architectureDiagram-3BPJPVTR-JvyrY_mK.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-BEEBt1LL.js → blockDiagram-GPEHLZMM-CK3Y_vom.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-5ZJ_DeFL.js → c4Diagram-AAUBKEIU-DprSnyrf.js} +1 -1
- package/web-shell/assets/channel-BAxQ2-aZ.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-Cfw7EiLn.js → chunk-2J33WTMH-DJtRJPmu.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-FGuZNCZY.js → chunk-4BX2VUAB-ON6Q2-BG.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-CaBwYPBF.js → chunk-55IACEB6-c60ou5HZ.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-BlR04OFz.js → chunk-727SXJPM-BamtPKxx.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-D3_mYJH5.js → chunk-AQP2D5EJ-CsVgpu-T.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-7D4q4SbB.js → chunk-FMBD7UC4-vZrpjAx4.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BjX_Iwmr.js → chunk-ND2GUHAM-qxyNOd5t.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-C3Hz_ZQh.js → chunk-QZHKN3VN-BvTJSM_S.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Cvd_xhZI.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cvd_xhZI.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-Ax4UycaT.js → cose-bilkent-S5V4N54A-1tXB4pju.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-C6hmPtGt.js → dagre-BM42HDAG-DglBzme8.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-tXZnxjmw.js → diagram-2AECGRRQ-DEJpqsWz.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-99dwIzQG.js → diagram-5GNKFQAL-CsQ1NrMG.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Bqhn0-2s.js → diagram-KO2AKTUF-Z-3codAi.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-DzThVSvo.js → diagram-LMA3HP47-mBuPTA2i.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DPE8vjln.js → diagram-OG6HWLK6-tcA3K3s9.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-KzUKgQCV.js → erDiagram-TEJ5UH35-D9bXFRyZ.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-DBN-DXw5.js → flowDiagram-I6XJVG4X-Ck0Py04s.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-DuBsP9u8.js → ganttDiagram-6RSMTGT7-rOevCekE.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BjWHMyKR.js → gitGraphDiagram-PVQCEYII-CoPQaLj0.js} +1 -1
- package/web-shell/assets/index-Cr7MYW6T.css +5 -0
- package/web-shell/assets/index-DCHPAUp3.js +730 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-BVux0vP6.js → infoDiagram-5YYISTIA-a77CUKoI.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-2qzw7f--.js → ishikawaDiagram-YF4QCWOH-DlLgUAO-.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-Dnl65sxL.js → journeyDiagram-JHISSGLW-BXR5kVAZ.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-BElSQYtY.js → kanban-definition-UN3LZRKU-h5CoHZg7.js} +1 -1
- package/web-shell/assets/{linear-BjoycSSY.js → linear-BkaREbyD.js} +1 -1
- package/web-shell/assets/{mermaid.core-xe6bvMRz.js → mermaid.core-Bkagz0ng.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-D8DQgI4U.js → mindmap-definition-RKZ34NQL-D7EMKR_5.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-Dwh7Gp7c.js → pieDiagram-4H26LBE5-DAmPOjsL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-BXKNBln2.js → quadrantDiagram-W4KKPZXB-e4WFQkQu.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BzaC3cIA.js → requirementDiagram-4Y6WPE33-v1zo7OiV.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-DP2t7eZk.js → sankeyDiagram-5OEKKPKP-Bstm4aW_.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-XlFiWEYv.js → sequenceDiagram-3UESZ5HK-DzcZy6xN.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CupgUMJO.js → stateDiagram-AJRCARHV-BEJH6YbH.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BopifCBI.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DstuGywa.js → timeline-definition-PNZ67QCA-TI1wH-Pm.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-CnbNp6zu.js → vennDiagram-CIIHVFJN-YaH8VDMS.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-DnvoHq6R.js → wardley-L42UT6IY-B80co7OP.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Cz0xHEWB.js → wardleyDiagram-YWT4CUSO-4fHNDEMl.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-p36gfo88.js → xychartDiagram-2RQKCTM6-DT3q4Z3J.js} +1 -1
- package/web-shell/index.html +2 -2
- package/bundled/loop/SKILL.test.ts +0 -119
- package/bundled/loop/autonomous-loop.test.ts +0 -59
- package/bundled/loop/loop-task-file.test.ts +0 -1064
- package/bundled/loop/loop-tick-resolver.test.ts +0 -906
- package/chunks/chunk-EJ7BN3EN.js +0 -11396
- package/web-shell/assets/channel-B5ynH0q8.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CK3ibywp.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CK3ibywp.js +0 -1
- package/web-shell/assets/index-9qfvU0_r.css +0 -5
- package/web-shell/assets/index-CWzDaQT5.js +0 -717
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-By3E4QwN.js +0 -1
- package/chunks/{chunk-UFC57OYT.js → chunk-VRDMOSQS.js} +54 -54
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-GO6LNQXT.js";
|
|
7
7
|
import {
|
|
8
8
|
ToolNames
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MJKMIQMK.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -14,13 +14,137 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-J2S4EL5Y.js";
|
|
16
16
|
|
|
17
|
-
// packages/core/src/
|
|
17
|
+
// packages/core/src/subagents/types.ts
|
|
18
|
+
init_esbuild_shims();
|
|
19
|
+
var BUBBLE_APPROVAL_MODE = "bubble";
|
|
20
|
+
var SubagentError = class extends Error {
|
|
21
|
+
constructor(message, code, subagentName) {
|
|
22
|
+
super(message);
|
|
23
|
+
this.code = code;
|
|
24
|
+
this.subagentName = subagentName;
|
|
25
|
+
this.name = "SubagentError";
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
__name(this, "SubagentError");
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var SubagentErrorCode = {
|
|
32
|
+
NOT_FOUND: "NOT_FOUND",
|
|
33
|
+
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
34
|
+
INVALID_CONFIG: "INVALID_CONFIG",
|
|
35
|
+
INVALID_NAME: "INVALID_NAME",
|
|
36
|
+
FILE_ERROR: "FILE_ERROR",
|
|
37
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
38
|
+
TOOL_NOT_FOUND: "TOOL_NOT_FOUND"
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// packages/core/src/tools/agent/fork-subagent.ts
|
|
18
42
|
init_esbuild_shims();
|
|
19
43
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
20
|
-
var
|
|
21
|
-
function
|
|
44
|
+
var FORK_SUBAGENT_TYPE = "fork";
|
|
45
|
+
function isForkSubagentEnabled(config) {
|
|
46
|
+
return config.isInteractive();
|
|
47
|
+
}
|
|
48
|
+
__name(isForkSubagentEnabled, "isForkSubagentEnabled");
|
|
49
|
+
var FORK_BOILERPLATE_TAG = "fork-boilerplate";
|
|
50
|
+
var FORK_DIRECTIVE_PREFIX = "Directive: ";
|
|
51
|
+
var FORK_AGENT = {
|
|
52
|
+
name: FORK_SUBAGENT_TYPE,
|
|
53
|
+
description: 'Fork yourself \u2014 inherits your full conversation context. Selected explicitly via `subagent_type: "fork"` (only in interactive sessions). Runs detached in the background; you are notified when it completes.',
|
|
54
|
+
tools: ["*"],
|
|
55
|
+
systemPrompt: "You are a forked worker process. Follow the directive in the conversation history. Execute tasks directly using available tools. Do not spawn sub-agents.",
|
|
56
|
+
// `bubble` surfaces this fork's permission prompts to the parent's Background-
|
|
57
|
+
// tasks UI; a detached fork has no inline UI, so 'default' would auto-deny them.
|
|
58
|
+
approvalMode: BUBBLE_APPROVAL_MODE,
|
|
59
|
+
level: "session"
|
|
60
|
+
};
|
|
61
|
+
var FORK_DEFAULT_MAX_TURNS = 200;
|
|
62
|
+
var forkExecutionStorage = new AsyncLocalStorage();
|
|
63
|
+
function runInForkContext(fn) {
|
|
64
|
+
return forkExecutionStorage.run({ marker: true }, fn);
|
|
65
|
+
}
|
|
66
|
+
__name(runInForkContext, "runInForkContext");
|
|
67
|
+
function isInForkExecution() {
|
|
68
|
+
return forkExecutionStorage.getStore() !== void 0;
|
|
69
|
+
}
|
|
70
|
+
__name(isInForkExecution, "isInForkExecution");
|
|
71
|
+
var FORK_PLACEHOLDER_RESULT = "Fork started \u2014 processing in background";
|
|
72
|
+
function buildFunctionResponseParts(assistantMessage, placeholderOutput) {
|
|
73
|
+
return (assistantMessage.parts?.filter((part) => part.functionCall) ?? []).map((part) => ({
|
|
74
|
+
functionResponse: {
|
|
75
|
+
id: part.functionCall.id,
|
|
76
|
+
name: part.functionCall.name,
|
|
77
|
+
response: { output: placeholderOutput }
|
|
78
|
+
}
|
|
79
|
+
}));
|
|
80
|
+
}
|
|
81
|
+
__name(buildFunctionResponseParts, "buildFunctionResponseParts");
|
|
82
|
+
function buildForkedMessages(directive, assistantMessage) {
|
|
83
|
+
const toolUseParts = assistantMessage.parts?.filter((part) => part.functionCall) || [];
|
|
84
|
+
if (toolUseParts.length === 0) {
|
|
85
|
+
return [];
|
|
86
|
+
}
|
|
87
|
+
const fullAssistantMessage = {
|
|
88
|
+
role: assistantMessage.role,
|
|
89
|
+
parts: [...assistantMessage.parts || []]
|
|
90
|
+
};
|
|
91
|
+
const toolResultParts = buildFunctionResponseParts(
|
|
92
|
+
assistantMessage,
|
|
93
|
+
FORK_PLACEHOLDER_RESULT
|
|
94
|
+
);
|
|
95
|
+
const toolResultMessage = {
|
|
96
|
+
role: "user",
|
|
97
|
+
parts: [
|
|
98
|
+
...toolResultParts,
|
|
99
|
+
{
|
|
100
|
+
text: buildChildMessage(directive)
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
};
|
|
104
|
+
return [fullAssistantMessage, toolResultMessage];
|
|
105
|
+
}
|
|
106
|
+
__name(buildForkedMessages, "buildForkedMessages");
|
|
107
|
+
function buildWorktreeNotice(parentCwd, worktreeCwd) {
|
|
108
|
+
return `You are operating in an isolated git worktree at ${worktreeCwd}. The parent agent is in ${parentCwd}. Same repository, same relative file layout, separate working copy. All your file edits, writes, and shell commands MUST target paths under ${worktreeCwd}. When the inherited context references a path under ${parentCwd}, translate it to the corresponding path under ${worktreeCwd} before acting on it. Re-read any file you intend to edit (the parent may have modified it after the snapshot in your context). Your changes stay in this worktree and do not affect the parent's working tree.`;
|
|
109
|
+
}
|
|
110
|
+
__name(buildWorktreeNotice, "buildWorktreeNotice");
|
|
111
|
+
function buildChildMessage(directive) {
|
|
112
|
+
return `<${FORK_BOILERPLATE_TAG}>
|
|
113
|
+
STOP. READ THIS FIRST.
|
|
114
|
+
|
|
115
|
+
You are a forked worker process. You are NOT the main agent.
|
|
116
|
+
|
|
117
|
+
RULES (non-negotiable):
|
|
118
|
+
1. You ARE the fork. Do NOT spawn sub-agents; execute directly.
|
|
119
|
+
2. Do NOT converse, ask questions, or suggest next steps
|
|
120
|
+
3. Do NOT editorialize or add meta-commentary
|
|
121
|
+
4. USE your tools directly: Bash, Read, Write, etc.
|
|
122
|
+
5. If you modify files, commit your changes before reporting. Include the commit hash in your report.
|
|
123
|
+
6. Do NOT emit text between tool calls. Use tools silently, then report once at the end.
|
|
124
|
+
7. Stay strictly within your directive's scope. If you discover related systems outside your scope, mention them in one sentence at most \u2014 other workers cover those areas.
|
|
125
|
+
8. Keep your report under 500 words unless the directive specifies otherwise. Be factual and concise.
|
|
126
|
+
9. Your response MUST begin with "Scope:". No preamble, no thinking-out-loud.
|
|
127
|
+
10. REPORT structured facts, then stop
|
|
128
|
+
|
|
129
|
+
Output format (plain text labels, not markdown headers):
|
|
130
|
+
Scope: <echo back your assigned scope in one sentence>
|
|
131
|
+
Result: <the answer or key findings, limited to the scope above>
|
|
132
|
+
Key files: <relevant file paths \u2014 include for research tasks>
|
|
133
|
+
Files changed: <list with commit hash \u2014 include only if you modified files>
|
|
134
|
+
Issues: <list \u2014 include only if there are issues to flag>
|
|
135
|
+
</${FORK_BOILERPLATE_TAG}>
|
|
136
|
+
|
|
137
|
+
${FORK_DIRECTIVE_PREFIX}${directive}`;
|
|
138
|
+
}
|
|
139
|
+
__name(buildChildMessage, "buildChildMessage");
|
|
140
|
+
|
|
141
|
+
// packages/core/src/agents/runtime/agent-context.ts
|
|
142
|
+
init_esbuild_shims();
|
|
143
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
144
|
+
var storage = new AsyncLocalStorage2();
|
|
145
|
+
function runWithAgentContext(agentId, fn, depthOverride) {
|
|
22
146
|
const current = storage.getStore() ?? {};
|
|
23
|
-
const depth = (current.depth ?? -1) + 1;
|
|
147
|
+
const depth = depthOverride ?? (current.depth ?? -1) + 1;
|
|
24
148
|
return storage.run({ ...current, agentId, depth }, fn);
|
|
25
149
|
}
|
|
26
150
|
__name(runWithAgentContext, "runWithAgentContext");
|
|
@@ -41,6 +165,25 @@ function getRuntimeContentGenerator() {
|
|
|
41
165
|
return storage.getStore()?.runtimeView;
|
|
42
166
|
}
|
|
43
167
|
__name(getRuntimeContentGenerator, "getRuntimeContentGenerator");
|
|
168
|
+
function isTopLevelSession() {
|
|
169
|
+
return getCurrentAgentId() === null;
|
|
170
|
+
}
|
|
171
|
+
__name(isTopLevelSession, "isTopLevelSession");
|
|
172
|
+
function childLaunchDepth() {
|
|
173
|
+
return getCurrentAgentId() !== null ? getCurrentAgentDepth() + 1 : 0;
|
|
174
|
+
}
|
|
175
|
+
__name(childLaunchDepth, "childLaunchDepth");
|
|
176
|
+
function canSpawnNestedAgent(maxDepth) {
|
|
177
|
+
return childLaunchDepth() + 1 <= maxDepth;
|
|
178
|
+
}
|
|
179
|
+
__name(canSpawnNestedAgent, "canSpawnNestedAgent");
|
|
180
|
+
function spawnBlockReason(maxDepth) {
|
|
181
|
+
if (!canSpawnNestedAgent(maxDepth)) return "depth";
|
|
182
|
+
if (isTeammate()) return "teammate";
|
|
183
|
+
if (isInForkExecution()) return "fork";
|
|
184
|
+
return null;
|
|
185
|
+
}
|
|
186
|
+
__name(spawnBlockReason, "spawnBlockReason");
|
|
44
187
|
|
|
45
188
|
// packages/core/src/config/approval-mode.ts
|
|
46
189
|
init_esbuild_shims();
|
|
@@ -161,11 +304,27 @@ function buildSubagentPlanToolBlockedResult(toolName, logTag, logger) {
|
|
|
161
304
|
__name(buildSubagentPlanToolBlockedResult, "buildSubagentPlanToolBlockedResult");
|
|
162
305
|
|
|
163
306
|
export {
|
|
307
|
+
BUBBLE_APPROVAL_MODE,
|
|
308
|
+
SubagentError,
|
|
309
|
+
SubagentErrorCode,
|
|
310
|
+
FORK_SUBAGENT_TYPE,
|
|
311
|
+
isForkSubagentEnabled,
|
|
312
|
+
FORK_AGENT,
|
|
313
|
+
FORK_DEFAULT_MAX_TURNS,
|
|
314
|
+
runInForkContext,
|
|
315
|
+
FORK_PLACEHOLDER_RESULT,
|
|
316
|
+
buildFunctionResponseParts,
|
|
317
|
+
buildForkedMessages,
|
|
318
|
+
buildWorktreeNotice,
|
|
319
|
+
buildChildMessage,
|
|
164
320
|
runWithAgentContext,
|
|
165
321
|
runWithRuntimeContentGenerator,
|
|
166
322
|
getCurrentAgentId,
|
|
167
323
|
getCurrentAgentDepth,
|
|
168
324
|
getRuntimeContentGenerator,
|
|
325
|
+
isTopLevelSession,
|
|
326
|
+
childLaunchDepth,
|
|
327
|
+
spawnBlockReason,
|
|
169
328
|
ApprovalMode,
|
|
170
329
|
APPROVAL_MODES,
|
|
171
330
|
SUBAGENT_PLAN_LIFECYCLE_TOOLS,
|
|
@@ -15061,6 +15061,7 @@ var ToolErrorType = /* @__PURE__ */ ((ToolErrorType2) => {
|
|
|
15061
15061
|
ToolErrorType2["UNHANDLED_EXCEPTION"] = "unhandled_exception";
|
|
15062
15062
|
ToolErrorType2["TOOL_NOT_REGISTERED"] = "tool_not_registered";
|
|
15063
15063
|
ToolErrorType2["EXECUTION_FAILED"] = "execution_failed";
|
|
15064
|
+
ToolErrorType2["EXECUTION_TIMEOUT"] = "execution_timeout";
|
|
15064
15065
|
ToolErrorType2["EXECUTION_DENIED"] = "execution_denied";
|
|
15065
15066
|
ToolErrorType2["FILE_NOT_FOUND"] = "file_not_found";
|
|
15066
15067
|
ToolErrorType2["FILE_WRITE_FAILURE"] = "file_write_failure";
|
|
@@ -15643,7 +15644,8 @@ var ToolNames = {
|
|
|
15643
15644
|
// round 1 removed the old ocu-era 9-name list, which still carried
|
|
15644
15645
|
// `get_app_state` / `perform_secondary_action` that no longer exist.
|
|
15645
15646
|
WORKFLOW: "workflow",
|
|
15646
|
-
ARTIFACT: "artifact"
|
|
15647
|
+
ARTIFACT: "artifact",
|
|
15648
|
+
RECORD_ARTIFACT: "record_artifact"
|
|
15647
15649
|
};
|
|
15648
15650
|
var ToolDisplayNames = {
|
|
15649
15651
|
EDIT: "Edit",
|
|
@@ -15683,7 +15685,8 @@ var ToolDisplayNames = {
|
|
|
15683
15685
|
EXIT_WORKTREE: "ExitWorktree",
|
|
15684
15686
|
// computer_use__* display names are not enumerated here (see ToolNames).
|
|
15685
15687
|
WORKFLOW: "Workflow",
|
|
15686
|
-
ARTIFACT: "Artifact"
|
|
15688
|
+
ARTIFACT: "Artifact",
|
|
15689
|
+
RECORD_ARTIFACT: "RecordArtifact"
|
|
15687
15690
|
};
|
|
15688
15691
|
var ToolNamesMigration = {
|
|
15689
15692
|
search_file_content: ToolNames.GREP,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
disableMouseEvents,
|
|
5
5
|
enableMouseEvents,
|
|
6
6
|
useKeypressContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5QC7Y5TJ.js";
|
|
8
8
|
import {
|
|
9
9
|
use_stdin_default,
|
|
10
10
|
use_stdout_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HNGXPBWR.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-KYMBIKIW.js";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getEffectiveSupportedModes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5QC7Y5TJ.js";
|
|
6
6
|
import {
|
|
7
7
|
require_jsx_runtime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HNGXPBWR.js";
|
|
9
9
|
import {
|
|
10
10
|
require_react
|
|
11
11
|
} from "./chunk-KYMBIKIW.js";
|
|
12
12
|
import {
|
|
13
13
|
uiTelemetryService
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TDMIHT6B.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esbuild_shims
|
|
17
17
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X3UQVEBR.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
getCoreSystemPrompt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B5ZACOMA.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillLlmContent
|
|
12
12
|
} from "./chunk-B236XPGF.js";
|
|
13
13
|
import {
|
|
14
14
|
DiscoveredMCPTool,
|
|
15
15
|
uiTelemetryService
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TDMIHT6B.js";
|
|
17
17
|
import {
|
|
18
18
|
ToolNames
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MJKMIQMK.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_TOKEN_LIMIT
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KYTQOCDE.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
25
25
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -73,6 +73,27 @@ function getHookKey(hook) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
__name(getHookKey, "getHookKey");
|
|
76
|
+
function isToolArtifactLike(value) {
|
|
77
|
+
if (typeof value !== "object" || value === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
const artifact = value;
|
|
81
|
+
return typeof artifact["title"] === "string" && isOptionalString(artifact, "kind") && isOptionalString(artifact, "storage") && isOptionalString(artifact, "description") && isOptionalString(artifact, "workspacePath") && isOptionalString(artifact, "managedId") && isOptionalString(artifact, "url") && isOptionalString(artifact, "mimeType") && (artifact["sizeBytes"] === void 0 || typeof artifact["sizeBytes"] === "number" && Number.isSafeInteger(artifact["sizeBytes"]) && artifact["sizeBytes"] >= 0) && (artifact["metadata"] === void 0 || isToolArtifactMetadataLike(artifact["metadata"]));
|
|
82
|
+
}
|
|
83
|
+
__name(isToolArtifactLike, "isToolArtifactLike");
|
|
84
|
+
function isToolArtifactMetadataLike(value) {
|
|
85
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return Object.values(value).every(
|
|
89
|
+
(item) => item === null || typeof item === "string" || typeof item === "boolean" || typeof item === "number" && Number.isFinite(item)
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
__name(isToolArtifactMetadataLike, "isToolArtifactMetadataLike");
|
|
93
|
+
function isOptionalString(value, key) {
|
|
94
|
+
return value[key] === void 0 || typeof value[key] === "string";
|
|
95
|
+
}
|
|
96
|
+
__name(isOptionalString, "isOptionalString");
|
|
76
97
|
var MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH = 1e4;
|
|
77
98
|
function sanitizeUserPromptExpansionAdditionalContext(raw) {
|
|
78
99
|
return raw.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").slice(0, MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH).replace(/&(?:a(?:mp?)?|lt?|gt?)?$/, "");
|
|
@@ -157,6 +178,13 @@ var DefaultHookOutput = class {
|
|
|
157
178
|
}
|
|
158
179
|
return void 0;
|
|
159
180
|
}
|
|
181
|
+
getArtifacts() {
|
|
182
|
+
const artifacts = this.hookSpecificOutput?.["artifacts"];
|
|
183
|
+
if (!Array.isArray(artifacts)) {
|
|
184
|
+
return [];
|
|
185
|
+
}
|
|
186
|
+
return artifacts.filter(isToolArtifactLike);
|
|
187
|
+
}
|
|
160
188
|
/**
|
|
161
189
|
* Check if execution should be blocked and return error info
|
|
162
190
|
*/
|
|
@@ -434,6 +462,7 @@ export {
|
|
|
434
462
|
HOOKS_CONFIG_FIELDS,
|
|
435
463
|
HookType,
|
|
436
464
|
getHookKey,
|
|
465
|
+
isToolArtifactLike,
|
|
437
466
|
MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH,
|
|
438
467
|
sanitizeUserPromptExpansionAdditionalContext,
|
|
439
468
|
createHookOutput,
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import {
|
|
4
4
|
handleAtCommand,
|
|
5
5
|
resolveAtCommandQuery
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4OIKNWUQ.js";
|
|
7
7
|
import {
|
|
8
8
|
isAtCommand,
|
|
9
9
|
isBtwCommand,
|
|
10
10
|
isSlashCommand,
|
|
11
11
|
normalizePartList,
|
|
12
12
|
recordGoalStatusItem
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KBKWNEPS.js";
|
|
14
14
|
import {
|
|
15
15
|
SHELL_COMMAND_NAME,
|
|
16
16
|
useSessionStats
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-N6AGVKMC.js";
|
|
18
18
|
import {
|
|
19
19
|
require_react
|
|
20
20
|
} from "./chunk-KYMBIKIW.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
} from "./chunk-KHDZHZMH.js";
|
|
27
27
|
import {
|
|
28
28
|
isInlineModelOverrideAllowed
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XPOO5OMB.js";
|
|
30
30
|
import {
|
|
31
31
|
t
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-X3UQVEBR.js";
|
|
33
33
|
import {
|
|
34
34
|
AutonomousLoopTickResolver,
|
|
35
35
|
CoreToolScheduler,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
setActiveGoal,
|
|
52
52
|
shouldRunVisionBridge,
|
|
53
53
|
splitImageParts
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-B5ZACOMA.js";
|
|
55
55
|
import {
|
|
56
56
|
ApiCancelEvent,
|
|
57
57
|
ConversationFinishedEvent,
|
|
@@ -61,17 +61,17 @@ import {
|
|
|
61
61
|
logConversationFinishedEvent,
|
|
62
62
|
logUserPrompt,
|
|
63
63
|
logUserRetry
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-TDMIHT6B.js";
|
|
65
65
|
import {
|
|
66
66
|
isAnyAutoMemPath
|
|
67
67
|
} from "./chunk-MOUXUCXQ.js";
|
|
68
68
|
import {
|
|
69
69
|
ToolNames
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-MJKMIQMK.js";
|
|
71
71
|
import {
|
|
72
72
|
getUnsupportedImageFormatWarning,
|
|
73
73
|
isSupportedImageMimeType
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-KYTQOCDE.js";
|
|
75
75
|
import {
|
|
76
76
|
FinishReason
|
|
77
77
|
} from "./chunk-55ZMG67I.js";
|
|
@@ -34,7 +34,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
34
34
|
// packages/cli/src/utils/version.ts
|
|
35
35
|
async function getCliVersion() {
|
|
36
36
|
const pkgJson = await getPackageJson();
|
|
37
|
-
return "0.19.
|
|
37
|
+
return "0.19.6-nightly.20260704.5dc2e1501";
|
|
38
38
|
}
|
|
39
39
|
__name(getCliVersion, "getCliVersion");
|
|
40
40
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
relaunchApp
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H3GBYW5M.js";
|
|
6
6
|
import {
|
|
7
7
|
SHELL_COMMAND_NAME,
|
|
8
8
|
SHELL_NAME,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getCommandSourceGroup,
|
|
14
14
|
getCommandSubcommandNames,
|
|
15
15
|
useSessionStats
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N6AGVKMC.js";
|
|
17
17
|
import {
|
|
18
18
|
Colors,
|
|
19
19
|
RowMouseController,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
useMouseEvents,
|
|
23
23
|
useSettings,
|
|
24
24
|
useTerminalSize
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-N3QDCSLP.js";
|
|
26
26
|
import {
|
|
27
27
|
buildResumedHistoryItems,
|
|
28
28
|
calculateAverageLatency,
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
levelLabel,
|
|
36
36
|
useKeypress,
|
|
37
37
|
wrapForMultiplexer
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5QC7Y5TJ.js";
|
|
39
39
|
import {
|
|
40
40
|
isTerminalGoalStatusKind
|
|
41
41
|
} from "./chunk-KSPVDFE4.js";
|
|
42
42
|
import {
|
|
43
43
|
MINIMUM_MAX_HEIGHT,
|
|
44
44
|
MaxSizedBox
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-777PHAJF.js";
|
|
46
46
|
import {
|
|
47
47
|
theme
|
|
48
48
|
} from "./chunk-VXGPYF7U.js";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
require_jsx_runtime,
|
|
55
55
|
use_is_screen_reader_enabled_default,
|
|
56
56
|
use_stdin_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-HNGXPBWR.js";
|
|
58
58
|
import {
|
|
59
59
|
require_react
|
|
60
60
|
} from "./chunk-KYMBIKIW.js";
|
|
@@ -62,6 +62,10 @@ import {
|
|
|
62
62
|
resolveColor,
|
|
63
63
|
themeManager
|
|
64
64
|
} from "./chunk-HTWHAN44.js";
|
|
65
|
+
import {
|
|
66
|
+
require_has_flag,
|
|
67
|
+
require_source
|
|
68
|
+
} from "./chunk-3GONHQOA.js";
|
|
65
69
|
import {
|
|
66
70
|
cpLen,
|
|
67
71
|
cpSlice,
|
|
@@ -73,31 +77,27 @@ import {
|
|
|
73
77
|
stripUnsafeCharacters,
|
|
74
78
|
toCodePoints,
|
|
75
79
|
wrapToVisualLines
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import {
|
|
78
|
-
require_has_flag,
|
|
79
|
-
require_source
|
|
80
|
-
} from "./chunk-3GONHQOA.js";
|
|
81
|
-
import {
|
|
82
|
-
createLoadedSettingsAdapter
|
|
83
|
-
} from "./chunk-R3UWLLRQ.js";
|
|
80
|
+
} from "./chunk-MWGIMAYM.js";
|
|
84
81
|
import {
|
|
85
82
|
formatDuration,
|
|
86
83
|
formatMemoryUsage,
|
|
87
84
|
formatRelativeTime,
|
|
88
85
|
formatTokenCount
|
|
89
86
|
} from "./chunk-KHDZHZMH.js";
|
|
87
|
+
import {
|
|
88
|
+
createLoadedSettingsAdapter
|
|
89
|
+
} from "./chunk-KP6O77UN.js";
|
|
90
90
|
import {
|
|
91
91
|
getPersistScopeForModelSelection
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-5WYLPENX.js";
|
|
93
93
|
import {
|
|
94
94
|
getCurrentLanguage,
|
|
95
95
|
localizeToolDisplayName,
|
|
96
96
|
t
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-X3UQVEBR.js";
|
|
98
98
|
import {
|
|
99
99
|
isWorkspaceTrusted
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-EMSRFDBD.js";
|
|
101
101
|
import {
|
|
102
102
|
ALL_PROVIDERS,
|
|
103
103
|
IdeClient,
|
|
@@ -118,15 +118,16 @@ import {
|
|
|
118
118
|
resolveMetadataKey,
|
|
119
119
|
resolveOwnsModel,
|
|
120
120
|
stripAnsi
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-B5ZACOMA.js";
|
|
122
122
|
import {
|
|
123
123
|
MAIN_SOURCE,
|
|
124
124
|
getMCPServerStatus
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-TDMIHT6B.js";
|
|
126
126
|
import {
|
|
127
127
|
ToolDisplayNames,
|
|
128
|
-
ToolNames
|
|
129
|
-
|
|
128
|
+
ToolNames,
|
|
129
|
+
ToolNamesMigration
|
|
130
|
+
} from "./chunk-MJKMIQMK.js";
|
|
130
131
|
import {
|
|
131
132
|
createDebugLogger,
|
|
132
133
|
escapePath,
|
|
@@ -14231,6 +14232,10 @@ var CompactToolGroupDisplay = /* @__PURE__ */ __name(({ toolCalls, contentWidth
|
|
|
14231
14232
|
|
|
14232
14233
|
// packages/cli/src/ui/components/messages/ToolMessage.tsx
|
|
14233
14234
|
var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1);
|
|
14235
|
+
var AGENT_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
14236
|
+
ToolNames.AGENT,
|
|
14237
|
+
...Object.entries(ToolNamesMigration).filter(([, canonical]) => canonical === ToolNames.AGENT).map(([legacy]) => legacy)
|
|
14238
|
+
]);
|
|
14234
14239
|
var STATIC_HEIGHT = 1;
|
|
14235
14240
|
var RESERVED_LINE_COUNT = 5;
|
|
14236
14241
|
var MIN_LINES_SHOWN = 2;
|
|
@@ -14406,6 +14411,10 @@ var SubagentScrollbackSummary = /* @__PURE__ */ __name(({ data }) => {
|
|
|
14406
14411
|
`${stats.totalToolCalls} tool${stats.totalToolCalls === 1 ? "" : "s"}`
|
|
14407
14412
|
);
|
|
14408
14413
|
}
|
|
14414
|
+
const subagentSpawns = (stats?.toolUsage ?? []).filter((tu) => AGENT_TOOL_NAMES.has(tu.name)).reduce((sum, tu) => sum + tu.success, 0);
|
|
14415
|
+
if (subagentSpawns > 0) {
|
|
14416
|
+
parts.push(`${subagentSpawns} sub-agent${subagentSpawns === 1 ? "" : "s"}`);
|
|
14417
|
+
}
|
|
14409
14418
|
if (stats?.totalDurationMs !== void 0) {
|
|
14410
14419
|
parts.push(
|
|
14411
14420
|
formatDuration(stats.totalDurationMs, { hideTrailingZeros: true })
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
buildPermissionSettings
|
|
5
|
+
} from "./chunk-537ZUZEH.js";
|
|
3
6
|
import {
|
|
4
7
|
resolveVoiceStreamConfig,
|
|
5
8
|
resolveVoiceTranscriptionConfig,
|
|
6
9
|
transcribeVoiceAudio
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
buildPermissionSettings
|
|
10
|
-
} from "./chunk-6QVQZAW6.js";
|
|
10
|
+
} from "./chunk-KEKV2TOO.js";
|
|
11
11
|
import {
|
|
12
12
|
getVoiceSettingsScope,
|
|
13
13
|
isSelectableVoiceModel,
|
|
@@ -16,7 +16,15 @@ import {
|
|
|
16
16
|
readVoiceMode,
|
|
17
17
|
readVoiceModel,
|
|
18
18
|
resolveVoiceTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QQXG2BL6.js";
|
|
20
|
+
import {
|
|
21
|
+
WorkspacePermissionRulesSessionRequiredError,
|
|
22
|
+
WorkspaceSettingsPartialPersistError
|
|
23
|
+
} from "./chunk-BMFMJINR.js";
|
|
24
|
+
import {
|
|
25
|
+
getPersistScopeForModelSelection,
|
|
26
|
+
loadSettings
|
|
27
|
+
} from "./chunk-5WYLPENX.js";
|
|
20
28
|
import {
|
|
21
29
|
MCP_RESTART_SERVER_DEADLINE_MS
|
|
22
30
|
} from "./chunk-P7M4GA57.js";
|
|
@@ -41,24 +49,16 @@ import {
|
|
|
41
49
|
createIdleWorkspaceProvidersStatus,
|
|
42
50
|
createIdleWorkspaceSkillsStatus,
|
|
43
51
|
mapDomainErrorToErrorKind
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import {
|
|
46
|
-
WorkspacePermissionRulesSessionRequiredError,
|
|
47
|
-
WorkspaceSettingsPartialPersistError
|
|
48
|
-
} from "./chunk-BMFMJINR.js";
|
|
49
|
-
import {
|
|
50
|
-
getPersistScopeForModelSelection,
|
|
51
|
-
loadSettings
|
|
52
|
-
} from "./chunk-BC4R5C5R.js";
|
|
52
|
+
} from "./chunk-SZFYG244.js";
|
|
53
53
|
import {
|
|
54
54
|
getWorkspaceTrustStatus
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-EMSRFDBD.js";
|
|
56
56
|
import {
|
|
57
57
|
writeStderrLine
|
|
58
58
|
} from "./chunk-Y6Z2O3WR.js";
|
|
59
59
|
import {
|
|
60
60
|
ModelsConfig
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-B5ZACOMA.js";
|
|
62
62
|
import {
|
|
63
63
|
createDebugLogger
|
|
64
64
|
} from "./chunk-AVQDCKNF.js";
|