@qwen-code/qwen-code 0.19.6-nightly.20260707.bcdb44c5d → 0.19.6-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/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/overview.md +17 -9
- package/bundled/qc-helper/docs/features/channels/wecom.md +111 -0
- package/bundled/qc-helper/docs/features/code-review.md +0 -4
- package/bundled/review/DESIGN.md +0 -4
- package/bundled/review/SKILL.md +2 -29
- package/chunks/{MaxSizedBox-EFDCCPYQ.js → MaxSizedBox-2JOX4MMR.js} +11 -9
- package/chunks/{StandaloneSessionPicker-5TQG34MY.js → StandaloneSessionPicker-Z2G37ETA.js} +24 -21
- package/chunks/{acpAgent-KQT52XWB.js → acpAgent-MQJT2H4Y.js} +74 -49
- package/chunks/{agent-RL2YOM2V.js → agent-HEVJ76EO.js} +6 -6
- package/chunks/{agent-headless-SCVFLRZ3.js → agent-headless-UNB5SWYC.js} +6 -6
- package/chunks/{anthropicContentGenerator-PPPLABT5.js → anthropicContentGenerator-AKYPSZIV.js} +3 -3
- package/chunks/{artifact-tool-H2TNPNP5.js → artifact-tool-D233YJFH.js} +25 -6
- package/chunks/{bridge-G3LFYH2D.js → bridge-GX2LGQDS.js} +11 -9
- package/chunks/{channel-worker-supervisor-B7MSMB5K.js → channel-worker-supervisor-CRCVYQIE.js} +1 -1
- package/chunks/{chunk-XUYYEFCM.js → chunk-27QGW3BK.js} +5 -5
- package/chunks/{chunk-HLJMZYTD.js → chunk-2D5Q33PT.js} +3 -3
- package/chunks/{chunk-TNIZ2HCQ.js → chunk-2MDHTI6A.js} +2 -2
- package/chunks/{chunk-VCKMHAEZ.js → chunk-2MJAXDFK.js} +6 -6
- package/chunks/{chunk-WSVZFWN4.js → chunk-2NPS2UDH.js} +305 -97
- package/chunks/{chunk-WAVK7GV6.js → chunk-2X3ZVAAT.js} +2 -2
- package/chunks/chunk-332PWN27.js +19 -0
- package/chunks/{chunk-FVMWEHWU.js → chunk-3B26UVCX.js} +114 -12
- package/chunks/{chunk-XZ2LJL4O.js → chunk-43W4YSO6.js} +1 -12
- package/chunks/{chunk-DLHOIROF.js → chunk-44NROQYV.js} +4 -2
- package/chunks/{chunk-65P5ZXUE.js → chunk-4XV2MRNK.js} +1 -1
- package/chunks/{chunk-DS6NG7SB.js → chunk-5HMMLTUD.js} +11 -11
- package/chunks/{chunk-A2CS67WK.js → chunk-5IGNZP2J.js} +1 -1
- package/chunks/{chunk-N7BUPX4V.js → chunk-6GHEZDDX.js} +1 -1
- package/chunks/{chunk-QU6OLW25.js → chunk-7O6DD2ES.js} +1 -1
- package/chunks/{chunk-RXDYWLOG.js → chunk-7R62CLMI.js} +4 -4
- package/chunks/{chunk-2BJWUJCW.js → chunk-7SAH6M3Y.js} +3 -3
- package/chunks/{chunk-OGAC66WF.js → chunk-7VCI24VZ.js} +4 -107
- package/chunks/chunk-A2X3KLC3.js +3807 -0
- package/chunks/chunk-A3ZQMFO6.js +949 -0
- package/chunks/{chunk-AY7CP32Q.js → chunk-A7UKINBT.js} +7 -7
- package/chunks/{chunk-72DDO73Z.js → chunk-ADO6IDOZ.js} +8 -8
- package/chunks/{chunk-UOGOM4NJ.js → chunk-AJ3CEJRJ.js} +10 -5
- package/chunks/{chunk-NCFY7PWS.js → chunk-CCGOFQV3.js} +51 -2
- package/chunks/{chunk-YFE4YEDW.js → chunk-DB7CZERZ.js} +1 -1
- package/chunks/{chunk-UECJ7AG2.js → chunk-DF74IL3R.js} +4 -4
- package/chunks/{chunk-7YLLBKDB.js → chunk-FCEHOKYP.js} +5 -5
- package/chunks/{chunk-JO6RDLLE.js → chunk-FRR5I3SQ.js} +1 -1
- package/chunks/{chunk-2NL7ED5Q.js → chunk-FV7425LN.js} +22 -1
- package/chunks/{chunk-NCOLCOA6.js → chunk-GPLKAQUX.js} +8 -8
- package/chunks/{chunk-AKGA72ZM.js → chunk-GV2S4F6Q.js} +5 -3
- package/chunks/{chunk-V63Q7BVE.js → chunk-GW67O5SO.js} +1 -1
- package/chunks/{chunk-2A6XOMBQ.js → chunk-HW4N45EE.js} +0 -44
- package/chunks/{chunk-S6PM5JQZ.js → chunk-IFDJAMJW.js} +484 -1222
- package/chunks/{chunk-B2FUQ22Z.js → chunk-ILFQAFWH.js} +1 -1
- package/chunks/chunk-JYFZFWSL.js +167 -0
- package/chunks/{chunk-CA373SPN.js → chunk-K56RTEBN.js} +1 -1
- package/chunks/chunk-LGFAYIKX.js +115 -0
- package/chunks/{chunk-6JESGXWU.js → chunk-LLTFLVFK.js} +4 -4
- package/chunks/{chunk-3A4MUHRP.js → chunk-MZWODTEA.js} +5 -13
- package/chunks/{chunk-IPKM25FZ.js → chunk-N33JAGJ7.js} +505 -62
- package/chunks/{chunk-B2NCNYBK.js → chunk-NVQVIJMO.js} +112 -42
- package/chunks/{chunk-INNPK6XG.js → chunk-O6T7PBUM.js} +30 -6
- package/chunks/{chunk-RN36CE4M.js → chunk-P452E6XF.js} +2 -2
- package/chunks/chunk-PS2NG7KU.js +262 -0
- package/chunks/{chunk-FTEFJT6V.js → chunk-QM4FKX7H.js} +2 -2
- package/chunks/chunk-RODQXLGZ.js +28 -0
- package/chunks/{chunk-KSPVDFE4.js → chunk-SAIILPQ3.js} +0 -3
- package/chunks/{chunk-EKDTGEX4.js → chunk-SJ3QRPN2.js} +14 -8
- package/chunks/{chunk-R57UD732.js → chunk-SKO6VJHG.js} +16 -4
- package/chunks/{chunk-66KNL43D.js → chunk-TBAZMRW3.js} +1 -1
- package/chunks/{chunk-H2UZO2II.js → chunk-TPTG52XG.js} +1 -1
- package/chunks/chunk-UIDXQNMV.js +13 -0
- package/chunks/chunk-VP2FB7OC.js +8223 -0
- package/chunks/{chunk-32KIF557.js → chunk-WKBA74DD.js} +1 -1
- package/chunks/{chunk-IEFMDFCG.js → chunk-WKTLDGD6.js} +1 -1
- package/chunks/{chunk-HT553O4R.js → chunk-WRLMLPWI.js} +3 -3
- package/chunks/{chunk-CYXPEKVN.js → chunk-XXICIIS5.js} +5 -5
- package/chunks/{chunk-5GSUPP7K.js → chunk-Y3QQV7WE.js} +2 -2
- package/chunks/{chunk-CKBRK552.js → chunk-ZKX7IBXU.js} +4 -4
- package/chunks/{chunk-CCPKBMZ4.js → chunk-ZOSL7K3L.js} +203 -38
- package/chunks/{chunk-KD4KV6XW.js → chunk-ZWFS7YCB.js} +4505 -3850
- package/chunks/{computer-use-NKJX6RTG.js → computer-use-IQ46C3YP.js} +6 -6
- package/chunks/{contextCommand-BCABFW4A.js → contextCommand-TTT6AP2W.js} +10 -9
- package/chunks/{cron-create-DDYU4DIR.js → cron-create-JSXEIPVS.js} +1 -1
- package/chunks/{cron-delete-DFKOUZWN.js → cron-delete-OIFVEPGU.js} +1 -1
- package/chunks/{cron-list-ME5QGAR5.js → cron-list-D4ZX4IOE.js} +1 -1
- package/chunks/{daemon-XWG2EGFX.js → daemon-F3I2RXP6.js} +23 -3
- package/chunks/{daemon-status-provider-V7BMA4EH.js → daemon-status-provider-5GAWK65R.js} +13 -12
- package/chunks/dist-573HNSVO.js +3217 -0
- package/chunks/{dist-VHBP2PIG.js → dist-FQ5WRJPL.js} +2 -2
- package/chunks/{dist-LPVU3L2M.js → dist-IMFFBMAT.js} +6 -3792
- package/chunks/{dist-7GU63KI5.js → dist-OT7G2WNM.js} +1 -1
- package/chunks/{dist-H4HHZYCI.js → dist-PKFTNUHO.js} +2 -2
- package/chunks/{dist-3UDX5T4T.js → dist-YTRKAVUB.js} +1 -1
- package/chunks/{earlyInputCapture-TVECMHWI.js → earlyInputCapture-LAGZUGGV.js} +6 -6
- package/chunks/{edit-VKUCEX2N.js → edit-Q5BUQC2S.js} +6 -6
- package/chunks/{en-AXARKOWO.js → en-GA2RMXY5.js} +5 -1
- package/chunks/{enter-worktree-TF6N7GA7.js → enter-worktree-DC4FHMVF.js} +6 -6
- package/chunks/{enterPlanMode-XXQGZP5T.js → enterPlanMode-5BGJBWIY.js} +6 -6
- package/chunks/{errors-LLC2B5D6.js → errors-EGX5DECS.js} +8 -8
- package/chunks/{exit-worktree-YBOMMZLI.js → exit-worktree-2EOSZNZI.js} +6 -6
- package/chunks/{exitPlanMode-74D7EOBH.js → exitPlanMode-JAQ35ELJ.js} +6 -6
- package/chunks/{fast-path-OGY4P74O.js → fast-path-QEWDA6O6.js} +5 -2
- package/chunks/{fr-MBMNQSQ6.js → fr-GWNQG4XH.js} +4 -0
- package/chunks/{gemini-IL6H4VNW.js → gemini-TQ5XANRS.js} +64 -187
- package/chunks/{geminiContentGenerator-O7OCAUQU.js → geminiContentGenerator-DCM2XGDQ.js} +1 -1
- package/chunks/{glob-X5XFJTAC.js → glob-7JLTQ4IQ.js} +6 -6
- package/chunks/{grep-53GLRSNS.js → grep-CAUXEO7Q.js} +6 -6
- package/chunks/handleAutoUpdate-XKXULZQX.js +65 -0
- package/chunks/{initializer-YBUEYP6D.js → initializer-3NRWU5JV.js} +12 -10
- package/chunks/{ja-HFV5QCHR.js → ja-2HOTA47X.js} +4 -0
- package/chunks/{list-2F3FSN46.js → list-NWO6QBDQ.js} +12 -12
- package/chunks/{loadedSettingsAdapter-AJBE627U.js → loadedSettingsAdapter-PJ77LGFS.js} +10 -10
- package/chunks/{loop-wakeup-ZW5P6VPY.js → loop-wakeup-OHWEMFP5.js} +2 -2
- package/chunks/{mcp-SEE2Z7TA.js → mcp-VFEHVF5A.js} +10 -10
- package/chunks/{monitor-YQW2M3DL.js → monitor-FY2ITVSC.js} +14 -9
- package/chunks/{nonInteractiveCli-TGWJDY47.js → nonInteractiveCli-KPCXTVWY.js} +41 -36
- package/chunks/{notebook-edit-O5G3EBYN.js → notebook-edit-BSJMXIWX.js} +6 -6
- package/chunks/{openaiContentGenerator-WAO7PPR6.js → openaiContentGenerator-BA6NWY4S.js} +5 -5
- package/chunks/{pidfile-XMDB2SF7.js → pidfile-WXMRN6QF.js} +6 -6
- package/chunks/{qwenContentGenerator-5NZ5EHRA.js → qwenContentGenerator-U4ZSLGFN.js} +8 -8
- package/chunks/{read-file-KJTMBLFF.js → read-file-VMVHNOMA.js} +2 -2
- package/chunks/{ripGrep-BCDYVQQR.js → ripGrep-NC6MUWXN.js} +6 -6
- package/chunks/{run-qwen-serve-LIWM3CMV.js → run-qwen-serve-NQH6LQTH.js} +124 -31
- package/chunks/{scheduler-VETDW3HX.js → scheduler-35T3E2UQ.js} +6 -6
- package/chunks/{serve-XKFTUZET.js → serve-C36LOB5N.js} +10 -10
- package/chunks/{server-W64GXOEJ.js → server-TDFPIDC3.js} +858 -105
- package/chunks/{session-GXNRZGVF.js → session-STHNQGRJ.js} +42 -37
- package/chunks/{settings-TIQCDHBZ.js → settings-GIE22AYF.js} +9 -9
- package/chunks/{shell-3ZZLLA35.js → shell-JD52AIMU.js} +6 -6
- package/chunks/{skill-TOX5QGBX.js → skill-L4IFKRQ5.js} +14 -4
- package/chunks/{spawnChannel-JBLAIP7L.js → spawnChannel-HGMOEPM7.js} +8 -8
- package/chunks/{src-Q7BIRWUP.js → src-3SNF3G3V.js} +15 -7
- package/chunks/{startInteractiveUI-PP72WI64.js → startInteractiveUI-C7DCDHGF.js} +4981 -13173
- package/chunks/{team-create-S44Z3N62.js → team-create-NYL7KAMA.js} +6 -6
- package/chunks/{team-plan-approval-2YPLSLO5.js → team-plan-approval-LH65JBEH.js} +6 -6
- package/chunks/{theme-manager-4MJVYHPB.js → theme-manager-ANKQO5DR.js} +6 -6
- package/chunks/{tool-search-4LSRQ24Z.js → tool-search-WZEGJFO4.js} +4 -21
- package/chunks/{trustedFolders-XMKLRQDH.js → trustedFolders-HECAG3S3.js} +7 -7
- package/chunks/updateCheck-72BBAE5V.js +65 -0
- package/chunks/{validateNonInterActiveAuth-MMMRF6WS.js → validateNonInterActiveAuth-PDQCPSNA.js} +38 -33
- package/chunks/{version-6HMEMR4K.js → version-VSEUTPNM.js} +2 -1
- package/chunks/{workflow-VYBLLOLC.js → workflow-DPF2CL7U.js} +7 -7
- package/chunks/{workspace-providers-status-5LSCQPWQ.js → workspace-providers-status-TQ23DQ2D.js} +12 -12
- package/chunks/{workspace-service-HBMBWJ4K.js → workspace-service-D34UDMEY.js} +14 -14
- package/chunks/{workspace-skills-status-TLBAQWKQ.js → workspace-skills-status-4DR5UNNC.js} +11 -11
- package/chunks/{write-file-QMAWLWCT.js → write-file-VFNAKGYM.js} +6 -6
- package/chunks/{zh-RS3HZHFH.js → zh-7XVVRTDH.js} +5 -1
- package/chunks/{zh-TW-L5GRQ4S4.js → zh-TW-DPH554OG.js} +5 -1
- package/cli.js +11 -11
- package/locales/en.js +8 -2
- package/locales/fr.js +6 -0
- package/locales/ja.js +6 -0
- package/locales/zh-TW.js +8 -2
- package/locales/zh.js +8 -2
- 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-CqwzD3ok.js → arc-C7hjaa7g.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-BfA-P0-O.js → architectureDiagram-3BPJPVTR-pm9KtMZY.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-DNTzkXRp.js → blockDiagram-GPEHLZMM-CApElKsU.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-D5axQoXQ.js → c4Diagram-AAUBKEIU-BeDe0-9N.js} +1 -1
- package/web-shell/assets/channel-BNf1dW-j.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CV0P48eN.js → chunk-2J33WTMH-DJEkmLdl.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-CghJNPCS.js → chunk-4BX2VUAB-DXX8gdpe.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BrD-776x.js → chunk-55IACEB6-DORmk1kQ.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-DLKkI5Yu.js → chunk-727SXJPM-DWmO4mCZ.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-C0HWhZNK.js → chunk-AQP2D5EJ-C7LRaYw2.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-Cg6PsiNL.js → chunk-FMBD7UC4-CCdXgyC5.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-B1pCuSlf.js → chunk-ND2GUHAM-SyL_xvWc.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CkE8llI2.js → chunk-QZHKN3VN-BzOuCKxa.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-uOIGlzgi.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-uOIGlzgi.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-Btr-W-vN.js → cose-bilkent-S5V4N54A-BMPWyDKc.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-CAhjVa5L.js → dagre-BM42HDAG-B_GnPWik.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-eUQodUXw.js → diagram-2AECGRRQ-fJqMc3S_.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BiPKbH6E.js → diagram-5GNKFQAL-ximV3O9D.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-DxuwR-Pu.js → diagram-KO2AKTUF-2vVyjzqw.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-nz9SQ3Az.js → diagram-LMA3HP47-Dckcx1sT.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-UBbYk-Jq.js → diagram-OG6HWLK6-BAVv47ga.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BLpRQmgi.js → erDiagram-TEJ5UH35-Bn3nf5J0.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-C5Qqg1hx.js → flowDiagram-I6XJVG4X-BIbGF9JT.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-BMdf3kjL.js → ganttDiagram-6RSMTGT7-CDbhb3AH.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-D9qG7BKD.js → gitGraphDiagram-PVQCEYII-CbKG1a_w.js} +1 -1
- package/web-shell/assets/index-CnE2ur2L.js +779 -0
- package/web-shell/assets/index-hSKXrlSE.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CtDBPJM8.js → infoDiagram-5YYISTIA-DUFxTy8m.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BQaS7H3_.js → ishikawaDiagram-YF4QCWOH-D69hrBG8.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CEEujCNX.js → journeyDiagram-JHISSGLW-DsvEw51Y.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-B3QqyyNi.js → kanban-definition-UN3LZRKU-lFFjZEYd.js} +1 -1
- package/web-shell/assets/{linear-DC2Azd_6.js → linear-Bo5bWzvo.js} +1 -1
- package/web-shell/assets/{mermaid.core-DL5PRmh-.js → mermaid.core-C_HKMJx5.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DGlkd_fb.js → mindmap-definition-RKZ34NQL-DlV-NUTs.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-Dew4R8DT.js → pieDiagram-4H26LBE5-B2e6FH2a.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Bk02Tejc.js → quadrantDiagram-W4KKPZXB-D75kSk-b.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BkWJE-6M.js → requirementDiagram-4Y6WPE33-CQ6xakhM.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BM9bZAuM.js → sankeyDiagram-5OEKKPKP-J_XTKrcY.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-IaE2rOTu.js → sequenceDiagram-3UESZ5HK-D7jTcBtf.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CQH-ENFJ.js → stateDiagram-AJRCARHV-CrlM_OT3.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Bs4TK_84.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DVH5FaeF.js → timeline-definition-PNZ67QCA-5oZi76Ef.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-ChT6J8JT.js → vennDiagram-CIIHVFJN-DO5YptPK.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-D9W5AEjE.js → wardley-L42UT6IY-4t1eJDvM.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-cNYKmuIA.js → wardleyDiagram-YWT4CUSO-DKZc661S.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-BleLm4BJ.js → xychartDiagram-2RQKCTM6-su9hp08G.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/assets/channel-EyH7BS8F.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CPWvwYMM.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CPWvwYMM.js +0 -1
- package/web-shell/assets/index-CgttHpqB.js +0 -763
- package/web-shell/assets/index-sVELoa_9.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CFqBlFdE.js +0 -1
|
@@ -11,12 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
CRON_TASKS_DISPLAY_PATH,
|
|
13
13
|
addCronTask,
|
|
14
|
+
appendCronRun,
|
|
14
15
|
generateCronTaskId,
|
|
15
16
|
getCronFilePath,
|
|
16
17
|
readCronTasks,
|
|
17
18
|
removeCronTasks,
|
|
18
19
|
updateCronTasks
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FV7425LN.js";
|
|
20
21
|
import {
|
|
21
22
|
ToolNames
|
|
22
23
|
} from "./chunk-X3YGAX7V.js";
|
|
@@ -282,6 +283,42 @@ var CronScheduler = class {
|
|
|
282
283
|
// the live job away (or clear its pendingRemoval guard) as if it had
|
|
283
284
|
// been deleted on disk.
|
|
284
285
|
pendingAdd = /* @__PURE__ */ new Set();
|
|
286
|
+
// Durable ids whose lastFiredAt persist is in flight after a fire — the tick
|
|
287
|
+
// (on-time) OR a catch-up delivery. A reload racing that async write reads the
|
|
288
|
+
// stale disk stamp, so it must not re-detect and re-fire the same slot. Only
|
|
289
|
+
// populated once a fire has actually been stamped/delivered, so a catch-up that
|
|
290
|
+
// was merely buffered and then dropped never enters it and still re-detects.
|
|
291
|
+
//
|
|
292
|
+
// REF-COUNTED per id (not a plain Set): the same task can have two persists in
|
|
293
|
+
// flight at once (it fired again before the first write landed). Clearing on
|
|
294
|
+
// the FIRST settle would drop the guard while the second write is still
|
|
295
|
+
// pending; the count keeps it until the LAST in-flight persist for that id
|
|
296
|
+
// settles.
|
|
297
|
+
//
|
|
298
|
+
// LIMITATION: this guard is INSTANCE-scoped in-memory state. It protects
|
|
299
|
+
// against a reload racing a persist WITHIN one scheduler. It does NOT survive
|
|
300
|
+
// a new scheduler instance (daemon restart, keepalive revive, session reload):
|
|
301
|
+
// a fresh instance starts with an empty map, so if the previous instance died
|
|
302
|
+
// with a persist still in flight, the new one reads the stale on-disk stamp
|
|
303
|
+
// and can re-fire that slot once. Fully closing that narrow cross-instance
|
|
304
|
+
// window would need a durable stamp (in the tasks file or a lock file); it's
|
|
305
|
+
// accepted here as a sub-second restart-timing edge.
|
|
306
|
+
firePersistPending = /* @__PURE__ */ new Map();
|
|
307
|
+
markFirePersistPending(ids) {
|
|
308
|
+
for (const id of ids) {
|
|
309
|
+
this.firePersistPending.set(
|
|
310
|
+
id,
|
|
311
|
+
(this.firePersistPending.get(id) ?? 0) + 1
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
clearFirePersistPending(ids) {
|
|
316
|
+
for (const id of ids) {
|
|
317
|
+
const next = (this.firePersistPending.get(id) ?? 0) - 1;
|
|
318
|
+
if (next > 0) this.firePersistPending.set(id, next);
|
|
319
|
+
else this.firePersistPending.delete(id);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
285
322
|
fileWatcher = null;
|
|
286
323
|
lockProbeTimer = null;
|
|
287
324
|
debounceTimer = null;
|
|
@@ -567,9 +604,12 @@ var CronScheduler = class {
|
|
|
567
604
|
const missedOneShots = [];
|
|
568
605
|
const catchUpIds = [];
|
|
569
606
|
const finalTasks = [];
|
|
570
|
-
|
|
607
|
+
{
|
|
571
608
|
for (const t of tasks) {
|
|
572
609
|
if (this.pendingRemoval.has(t.id)) continue;
|
|
610
|
+
const responsibleForMissed = typeof t.sessionId === "string" && t.sessionId.length > 0 ? t.sessionId === this.sessionId : handleMissed;
|
|
611
|
+
if (!responsibleForMissed) continue;
|
|
612
|
+
if (this.firePersistPending.has(t.id)) continue;
|
|
573
613
|
const jitter = computeJitter(t.id, t.cron, t.recurring);
|
|
574
614
|
const anchor = t.recurring ? t.lastFiredAt ?? t.createdAt : t.createdAt;
|
|
575
615
|
const nextFire = computeNextFireMs(t.cron, anchor, jitter);
|
|
@@ -733,16 +773,28 @@ var CronScheduler = class {
|
|
|
733
773
|
if (fired !== void 0) stamps.set(id, fired);
|
|
734
774
|
}
|
|
735
775
|
if (stamps.size === 0) return;
|
|
776
|
+
const guarded = [...stamps.keys()];
|
|
777
|
+
this.markFirePersistPending(guarded);
|
|
736
778
|
this.trackPersist(
|
|
737
779
|
updateCronTasks(this.projectRoot, (tasks) => {
|
|
738
780
|
let changed = false;
|
|
739
781
|
const next = tasks.map((t) => {
|
|
740
782
|
const stamp = stamps.get(t.id);
|
|
741
|
-
if (stamp === void 0 || t.lastFiredAt
|
|
783
|
+
if (stamp === void 0 || (t.lastFiredAt ?? 0) >= stamp) return t;
|
|
742
784
|
changed = true;
|
|
743
|
-
return {
|
|
785
|
+
return {
|
|
786
|
+
...t,
|
|
787
|
+
lastFiredAt: stamp,
|
|
788
|
+
runs: appendCronRun(t.runs, {
|
|
789
|
+
at: stamp,
|
|
790
|
+
kind: "catch-up",
|
|
791
|
+
...this.sessionId ? { sessionId: this.sessionId } : {}
|
|
792
|
+
})
|
|
793
|
+
};
|
|
744
794
|
});
|
|
745
795
|
return changed ? next : tasks;
|
|
796
|
+
}).finally(() => {
|
|
797
|
+
this.clearFirePersistPending(guarded);
|
|
746
798
|
})
|
|
747
799
|
);
|
|
748
800
|
}
|
|
@@ -911,6 +963,20 @@ var CronScheduler = class {
|
|
|
911
963
|
this._disabled = true;
|
|
912
964
|
this.stop();
|
|
913
965
|
}
|
|
966
|
+
/**
|
|
967
|
+
* Whether THIS session should fire a given durable job:
|
|
968
|
+
* - A session-bound task (`boundSessionId` set) fires only in its own
|
|
969
|
+
* session, independent of the per-project lock — so each task's fires
|
|
970
|
+
* land in its dedicated transcript and no two sessions race it.
|
|
971
|
+
* - An unbound task fires only in the lock owner (the legacy shared model).
|
|
972
|
+
* A task bound to a *different* session is never fired here.
|
|
973
|
+
*/
|
|
974
|
+
#shouldFireDurable(job) {
|
|
975
|
+
if (job.boundSessionId !== void 0) {
|
|
976
|
+
return job.boundSessionId === this.sessionId;
|
|
977
|
+
}
|
|
978
|
+
return this.isOwner;
|
|
979
|
+
}
|
|
914
980
|
/**
|
|
915
981
|
* Manual tick — checks all jobs against the current time and fires those
|
|
916
982
|
* that are due. Exported for testing.
|
|
@@ -922,7 +988,7 @@ var CronScheduler = class {
|
|
|
922
988
|
const firedAt = /* @__PURE__ */ new Map();
|
|
923
989
|
const removedIds = [];
|
|
924
990
|
for (const job of this.jobs.values()) {
|
|
925
|
-
if (job.durable && !this
|
|
991
|
+
if (job.durable && !this.#shouldFireDurable(job)) continue;
|
|
926
992
|
if (job.durable && this.skipDurableFire?.(job)) {
|
|
927
993
|
debugLogger.debug(
|
|
928
994
|
`Skipping durable job ${job.id} (tick): consumer cannot run it`
|
|
@@ -940,13 +1006,30 @@ var CronScheduler = class {
|
|
|
940
1006
|
if (this.projectRoot && (firedAt.size > 0 || removedIds.length > 0)) {
|
|
941
1007
|
for (const id of removedIds) this.pendingRemoval.add(id);
|
|
942
1008
|
const removed = new Set(removedIds);
|
|
1009
|
+
const guarded = [...firedAt.keys()];
|
|
1010
|
+
this.markFirePersistPending(guarded);
|
|
943
1011
|
this.trackPersist(
|
|
944
1012
|
updateCronTasks(
|
|
945
1013
|
this.projectRoot,
|
|
946
|
-
(tasks) => tasks.filter((t) => !removed.has(t.id)).map(
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
1014
|
+
(tasks) => tasks.filter((t) => !removed.has(t.id)).map((t) => {
|
|
1015
|
+
const stamp = firedAt.get(t.id);
|
|
1016
|
+
if (stamp === void 0 || (t.lastFiredAt ?? 0) >= stamp)
|
|
1017
|
+
return t;
|
|
1018
|
+
return {
|
|
1019
|
+
...t,
|
|
1020
|
+
lastFiredAt: stamp,
|
|
1021
|
+
runs: appendCronRun(t.runs, {
|
|
1022
|
+
at: stamp,
|
|
1023
|
+
kind: "scheduled",
|
|
1024
|
+
// The owner session that ran this fire — links the run back
|
|
1025
|
+
// to its transcript. Set whenever a durable fire persists.
|
|
1026
|
+
...this.sessionId ? { sessionId: this.sessionId } : {}
|
|
1027
|
+
})
|
|
1028
|
+
};
|
|
1029
|
+
})
|
|
1030
|
+
).finally(() => {
|
|
1031
|
+
this.clearFirePersistPending(guarded);
|
|
1032
|
+
})
|
|
950
1033
|
);
|
|
951
1034
|
}
|
|
952
1035
|
for (const wakeup of this.wakeups.values()) {
|
|
@@ -1073,7 +1156,8 @@ function durableTaskToJob(task, recurringMaxAgeMs, existing) {
|
|
|
1073
1156
|
expiresAt: task.recurring ? task.createdAt + recurringMaxAgeMs : Infinity,
|
|
1074
1157
|
lastFiredAt: task.lastFiredAt ?? void 0,
|
|
1075
1158
|
jitterMs,
|
|
1076
|
-
durable: true
|
|
1159
|
+
durable: true,
|
|
1160
|
+
...task.sessionId ? { boundSessionId: task.sessionId } : {}
|
|
1077
1161
|
};
|
|
1078
1162
|
}
|
|
1079
1163
|
__name(durableTaskToJob, "durableTaskToJob");
|
|
@@ -1084,7 +1168,8 @@ function jobToDurableTask(job) {
|
|
|
1084
1168
|
prompt: job.prompt,
|
|
1085
1169
|
recurring: job.recurring,
|
|
1086
1170
|
createdAt: job.createdAt,
|
|
1087
|
-
lastFiredAt: job.lastFiredAt ?? null
|
|
1171
|
+
lastFiredAt: job.lastFiredAt ?? null,
|
|
1172
|
+
...job.boundSessionId ? { sessionId: job.boundSessionId } : {}
|
|
1088
1173
|
};
|
|
1089
1174
|
}
|
|
1090
1175
|
__name(jobToDurableTask, "jobToDurableTask");
|
|
@@ -1098,6 +1183,22 @@ function computeNextFireMs(cronExpr, afterMs, jitterMs) {
|
|
|
1098
1183
|
}
|
|
1099
1184
|
}
|
|
1100
1185
|
__name(computeNextFireMs, "computeNextFireMs");
|
|
1186
|
+
var nextDurableFireCache = /* @__PURE__ */ new Map();
|
|
1187
|
+
var NEXT_DURABLE_FIRE_CACHE_MAX = 512;
|
|
1188
|
+
function nextDurableFireMs(task) {
|
|
1189
|
+
const anchor = task.recurring ? task.lastFiredAt ?? task.createdAt : task.createdAt;
|
|
1190
|
+
const key = `${task.id}\0${task.cron}\0${task.recurring ? 1 : 0}\0${anchor}`;
|
|
1191
|
+
const cached = nextDurableFireCache.get(key);
|
|
1192
|
+
if (cached !== void 0) return cached;
|
|
1193
|
+
const jitter = computeJitter(task.id, task.cron, task.recurring);
|
|
1194
|
+
const result = computeNextFireMs(task.cron, anchor, jitter);
|
|
1195
|
+
if (nextDurableFireCache.size >= NEXT_DURABLE_FIRE_CACHE_MAX) {
|
|
1196
|
+
nextDurableFireCache.clear();
|
|
1197
|
+
}
|
|
1198
|
+
nextDurableFireCache.set(key, result);
|
|
1199
|
+
return result;
|
|
1200
|
+
}
|
|
1201
|
+
__name(nextDurableFireMs, "nextDurableFireMs");
|
|
1101
1202
|
|
|
1102
1203
|
export {
|
|
1103
1204
|
MAX_JOBS,
|
|
@@ -1107,5 +1208,6 @@ export {
|
|
|
1107
1208
|
WAKEUP_MAX_SECONDS,
|
|
1108
1209
|
clampWakeupSeconds,
|
|
1109
1210
|
CronScheduler,
|
|
1110
|
-
buildMissedCronNotification
|
|
1211
|
+
buildMissedCronNotification,
|
|
1212
|
+
nextDurableFireMs
|
|
1111
1213
|
};
|
|
@@ -7,9 +7,6 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-J2S4EL5Y.js";
|
|
9
9
|
|
|
10
|
-
// packages/cli/src/utils/version.ts
|
|
11
|
-
init_esbuild_shims();
|
|
12
|
-
|
|
13
10
|
// packages/cli/src/utils/package.ts
|
|
14
11
|
init_esbuild_shims();
|
|
15
12
|
import { fileURLToPath } from "node:url";
|
|
@@ -31,16 +28,8 @@ async function getPackageJson() {
|
|
|
31
28
|
}
|
|
32
29
|
__name(getPackageJson, "getPackageJson");
|
|
33
30
|
|
|
34
|
-
// packages/cli/src/utils/version.ts
|
|
35
|
-
async function getCliVersion() {
|
|
36
|
-
const pkgJson = await getPackageJson();
|
|
37
|
-
return "0.19.6-nightly.20260707.bcdb44c5d";
|
|
38
|
-
}
|
|
39
|
-
__name(getCliVersion, "getCliVersion");
|
|
40
|
-
|
|
41
31
|
export {
|
|
42
|
-
getPackageJson
|
|
43
|
-
getCliVersion
|
|
32
|
+
getPackageJson
|
|
44
33
|
};
|
|
45
34
|
/**
|
|
46
35
|
* @license
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
|
-
TextTokenizer,
|
|
5
4
|
isSupportedImageMimeType
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HW4N45EE.js";
|
|
6
|
+
import {
|
|
7
|
+
TextTokenizer
|
|
8
|
+
} from "./chunk-CCGOFQV3.js";
|
|
7
9
|
import {
|
|
8
10
|
createDebugLogger
|
|
9
11
|
} from "./chunk-22MNNNXE.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
handleAtCommand
|
|
5
|
-
} from "./chunk-6JESGXWU.js";
|
|
6
3
|
import {
|
|
7
4
|
JsonOutputAdapter
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DB7CZERZ.js";
|
|
9
6
|
import {
|
|
10
7
|
StreamJsonOutputAdapter
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2MDHTI6A.js";
|
|
9
|
+
import {
|
|
10
|
+
handleAtCommand
|
|
11
|
+
} from "./chunk-LLTFLVFK.js";
|
|
12
12
|
import {
|
|
13
13
|
buildInitialSystemReminders,
|
|
14
14
|
buildSystemMessage,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
insertAfterFunctionResponses,
|
|
21
21
|
isSlashCommand,
|
|
22
22
|
normalizePartList
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IFDJAMJW.js";
|
|
24
24
|
import {
|
|
25
25
|
RunBudgetEnforcer
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZOSL7K3L.js";
|
|
27
27
|
import {
|
|
28
28
|
AlreadyReportedError,
|
|
29
29
|
handleBudgetExceededError,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
handleError,
|
|
32
32
|
handleMaxTurnsExceededError,
|
|
33
33
|
handleToolError
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2X3ZVAAT.js";
|
|
35
35
|
import {
|
|
36
36
|
isInlineModelOverrideAllowed
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QM4FKX7H.js";
|
|
38
38
|
import {
|
|
39
39
|
ORPHAN_TOOL_USE_REPAIR_REASON,
|
|
40
40
|
buildSyntheticToolResponseParts,
|
|
@@ -49,12 +49,12 @@ import {
|
|
|
49
49
|
parseAndFormatApiError,
|
|
50
50
|
promptIdContext,
|
|
51
51
|
restoreWorktreeContext
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZWFS7YCB.js";
|
|
53
53
|
import {
|
|
54
54
|
isTelemetrySdkInitialized,
|
|
55
55
|
shutdownTelemetry,
|
|
56
56
|
uiTelemetryService
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-N33JAGJ7.js";
|
|
58
58
|
import {
|
|
59
59
|
ToolNames
|
|
60
60
|
} from "./chunk-X3YGAX7V.js";
|
|
@@ -60,7 +60,7 @@ async function runExitCleanup(options = {}) {
|
|
|
60
60
|
}
|
|
61
61
|
__name(runExitCleanup, "runExitCleanup");
|
|
62
62
|
async function cleanupCheckpoints() {
|
|
63
|
-
const { Storage } = await import("./src-
|
|
63
|
+
const { Storage } = await import("./src-3SNF3G3V.js");
|
|
64
64
|
const storage = new Storage(process.cwd());
|
|
65
65
|
const tempDir = storage.getProjectTempDir();
|
|
66
66
|
const checkpointsDir = join(tempDir, "checkpoints");
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getEffectiveSupportedModes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GPLKAQUX.js";
|
|
6
6
|
import {
|
|
7
7
|
require_jsx_runtime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MZWODTEA.js";
|
|
9
9
|
import {
|
|
10
10
|
require_react
|
|
11
11
|
} from "./chunk-KYMBIKIW.js";
|
|
12
12
|
import {
|
|
13
13
|
getCachedStringWidth
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7VCI24VZ.js";
|
|
15
15
|
import {
|
|
16
16
|
uiTelemetryService
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-N33JAGJ7.js";
|
|
18
18
|
import {
|
|
19
19
|
init_esbuild_shims
|
|
20
20
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getGitVersion,
|
|
5
5
|
getNpmVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2D5Q33PT.js";
|
|
7
7
|
import {
|
|
8
8
|
STATUS_SCHEMA_VERSION,
|
|
9
9
|
mapDomainErrorToErrorKind
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7O6DD2ES.js";
|
|
11
11
|
import {
|
|
12
12
|
canUseRipgrep
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZWFS7YCB.js";
|
|
14
14
|
import {
|
|
15
15
|
detectRuntime,
|
|
16
16
|
redactProxyCredentials
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
eastAsianWidth
|
|
5
|
+
} from "./chunk-LGFAYIKX.js";
|
|
3
6
|
import {
|
|
4
7
|
ansiRegex,
|
|
5
8
|
init_ansi_regex,
|
|
6
9
|
stripAnsi
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZWFS7YCB.js";
|
|
8
11
|
import {
|
|
9
12
|
init_esbuild_shims
|
|
10
13
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -26,109 +29,6 @@ var require_emoji_regex = __commonJS({
|
|
|
26
29
|
|
|
27
30
|
// packages/cli/node_modules/string-width/index.js
|
|
28
31
|
init_esbuild_shims();
|
|
29
|
-
|
|
30
|
-
// node_modules/get-east-asian-width/index.js
|
|
31
|
-
init_esbuild_shims();
|
|
32
|
-
|
|
33
|
-
// node_modules/get-east-asian-width/lookup.js
|
|
34
|
-
init_esbuild_shims();
|
|
35
|
-
|
|
36
|
-
// node_modules/get-east-asian-width/lookup-data.js
|
|
37
|
-
init_esbuild_shims();
|
|
38
|
-
var ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
|
|
39
|
-
var fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
|
|
40
|
-
var halfwidthRanges = [8361, 8361, 65377, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65512, 65518];
|
|
41
|
-
var narrowRanges = [32, 126, 162, 163, 165, 166, 172, 172, 175, 175, 10214, 10221, 10629, 10630];
|
|
42
|
-
var wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
|
|
43
|
-
|
|
44
|
-
// node_modules/get-east-asian-width/utilities.js
|
|
45
|
-
init_esbuild_shims();
|
|
46
|
-
var isInRange = /* @__PURE__ */ __name((ranges, codePoint) => {
|
|
47
|
-
let low = 0;
|
|
48
|
-
let high = Math.floor(ranges.length / 2) - 1;
|
|
49
|
-
while (low <= high) {
|
|
50
|
-
const mid = Math.floor((low + high) / 2);
|
|
51
|
-
const i = mid * 2;
|
|
52
|
-
if (codePoint < ranges[i]) {
|
|
53
|
-
high = mid - 1;
|
|
54
|
-
} else if (codePoint > ranges[i + 1]) {
|
|
55
|
-
low = mid + 1;
|
|
56
|
-
} else {
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return false;
|
|
61
|
-
}, "isInRange");
|
|
62
|
-
|
|
63
|
-
// node_modules/get-east-asian-width/lookup.js
|
|
64
|
-
var minimumAmbiguousCodePoint = ambiguousRanges[0];
|
|
65
|
-
var maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
|
|
66
|
-
var minimumFullWidthCodePoint = fullwidthRanges[0];
|
|
67
|
-
var maximumFullWidthCodePoint = fullwidthRanges.at(-1);
|
|
68
|
-
var minimumHalfWidthCodePoint = halfwidthRanges[0];
|
|
69
|
-
var maximumHalfWidthCodePoint = halfwidthRanges.at(-1);
|
|
70
|
-
var minimumNarrowCodePoint = narrowRanges[0];
|
|
71
|
-
var maximumNarrowCodePoint = narrowRanges.at(-1);
|
|
72
|
-
var minimumWideCodePoint = wideRanges[0];
|
|
73
|
-
var maximumWideCodePoint = wideRanges.at(-1);
|
|
74
|
-
var commonCjkCodePoint = 19968;
|
|
75
|
-
var [wideFastPathStart, wideFastPathEnd] = findWideFastPathRange(wideRanges);
|
|
76
|
-
function findWideFastPathRange(ranges) {
|
|
77
|
-
let fastPathStart = ranges[0];
|
|
78
|
-
let fastPathEnd = ranges[1];
|
|
79
|
-
for (let index = 0; index < ranges.length; index += 2) {
|
|
80
|
-
const start = ranges[index];
|
|
81
|
-
const end = ranges[index + 1];
|
|
82
|
-
if (commonCjkCodePoint >= start && commonCjkCodePoint <= end) {
|
|
83
|
-
return [start, end];
|
|
84
|
-
}
|
|
85
|
-
if (end - start > fastPathEnd - fastPathStart) {
|
|
86
|
-
fastPathStart = start;
|
|
87
|
-
fastPathEnd = end;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
return [fastPathStart, fastPathEnd];
|
|
91
|
-
}
|
|
92
|
-
__name(findWideFastPathRange, "findWideFastPathRange");
|
|
93
|
-
var isAmbiguous = /* @__PURE__ */ __name((codePoint) => {
|
|
94
|
-
if (codePoint < minimumAmbiguousCodePoint || codePoint > maximumAmbiguousCodePoint) {
|
|
95
|
-
return false;
|
|
96
|
-
}
|
|
97
|
-
return isInRange(ambiguousRanges, codePoint);
|
|
98
|
-
}, "isAmbiguous");
|
|
99
|
-
var isFullWidth = /* @__PURE__ */ __name((codePoint) => {
|
|
100
|
-
if (codePoint < minimumFullWidthCodePoint || codePoint > maximumFullWidthCodePoint) {
|
|
101
|
-
return false;
|
|
102
|
-
}
|
|
103
|
-
return isInRange(fullwidthRanges, codePoint);
|
|
104
|
-
}, "isFullWidth");
|
|
105
|
-
var isWide = /* @__PURE__ */ __name((codePoint) => {
|
|
106
|
-
if (codePoint >= wideFastPathStart && codePoint <= wideFastPathEnd) {
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
if (codePoint < minimumWideCodePoint || codePoint > maximumWideCodePoint) {
|
|
110
|
-
return false;
|
|
111
|
-
}
|
|
112
|
-
return isInRange(wideRanges, codePoint);
|
|
113
|
-
}, "isWide");
|
|
114
|
-
|
|
115
|
-
// node_modules/get-east-asian-width/index.js
|
|
116
|
-
function validate(codePoint) {
|
|
117
|
-
if (!Number.isSafeInteger(codePoint)) {
|
|
118
|
-
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
__name(validate, "validate");
|
|
122
|
-
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
123
|
-
validate(codePoint);
|
|
124
|
-
if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
125
|
-
return 2;
|
|
126
|
-
}
|
|
127
|
-
return 1;
|
|
128
|
-
}
|
|
129
|
-
__name(eastAsianWidth, "eastAsianWidth");
|
|
130
|
-
|
|
131
|
-
// packages/cli/node_modules/string-width/index.js
|
|
132
32
|
var import_emoji_regex = __toESM(require_emoji_regex(), 1);
|
|
133
33
|
var segmenter = new Intl.Segmenter();
|
|
134
34
|
var defaultIgnorableCodePointRegex = new RegExp("^\\p{Default_Ignorable_Code_Point}$", "u");
|
|
@@ -408,9 +308,6 @@ function sanitizeFilenameForDisplay(name) {
|
|
|
408
308
|
__name(sanitizeFilenameForDisplay, "sanitizeFilenameForDisplay");
|
|
409
309
|
|
|
410
310
|
export {
|
|
411
|
-
isFullWidth,
|
|
412
|
-
isWide,
|
|
413
|
-
eastAsianWidth,
|
|
414
311
|
stringWidth,
|
|
415
312
|
getAsciiArtWidth,
|
|
416
313
|
toCodePoints,
|