@qwen-code/qwen-code 0.20.0 → 0.20.1-nightly.20260724.7d17c44a3
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 +1 -1
- package/bundled/qc-helper/docs/features/auto-mode.md +19 -16
- package/bundled/qc-helper/docs/features/commands.md +54 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +16 -7
- package/bundled/qc-helper/docs/integration-github-action.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +2 -1
- package/bundled/review/DESIGN.md +2 -2
- package/bundled/review/SKILL.md +7 -5
- package/chunks/MaxSizedBox-LGRTXB47.js +84 -0
- package/chunks/{StandaloneSessionPicker-CEGO2AZX.js → StandaloneSessionPicker-H3TBU3C3.js} +68 -56
- package/chunks/{acp-startup-profiler-N3RHHXJ3.js → acp-startup-profiler-RV3IV562.js} +2 -2
- package/chunks/{acpAgent-YUR43TLG.js → acpAgent-5D7P4BB5.js} +2061 -556
- package/chunks/agent-W7UAHCCI.js +80 -0
- package/chunks/agent-headless-KTBMPRSC.js +74 -0
- package/chunks/{anthropicContentGenerator-HVKLXOOU.js → anthropicContentGenerator-ZLQ3X2HI.js} +112 -45
- package/chunks/{artifact-tool-WBCAMD3O.js → artifact-tool-OKMWONT6.js} +3 -3
- package/chunks/{askUserQuestion-6DZC4UV5.js → askUserQuestion-V6FUS23G.js} +3 -3
- package/chunks/bridge-FFC4C6VD.js +89 -0
- package/chunks/{build-SSCNEHZZ.js → build-RV63TIRH.js} +2 -3
- package/chunks/{ca-2SL2BXTK.js → ca-GKRQZ7AM.js} +612 -201
- package/chunks/{channel-worker-group-53CMOPFT.js → channel-worker-group-MA3WXWYX.js} +7 -6
- package/chunks/{channel-worker-manager-UTXILKC2.js → channel-worker-manager-TIYYYBCT.js} +189 -29
- package/chunks/{channel-worker-supervisor-ZGO2W2MD.js → channel-worker-supervisor-CXRCDA4Y.js} +6 -5
- package/chunks/{chunk-TYQMGACW.js → chunk-22C7BQ6D.js} +508 -10967
- package/chunks/{chunk-4EP2PYYL.js → chunk-2G6QIHYL.js} +5 -5
- package/chunks/{chunk-H2XVO6NE.js → chunk-2MIN6GRR.js} +1 -1
- package/chunks/chunk-2RFKHEXL.js +74 -0
- package/chunks/{chunk-7SXZC7ID.js → chunk-2WTVWAKT.js} +7 -6
- package/chunks/{chunk-TIH2ZTOC.js → chunk-32A4PI3E.js} +2 -2
- package/chunks/chunk-36HSVBBU.js +469 -0
- package/chunks/{chunk-IR46U7RB.js → chunk-3FB2Y2OE.js} +3 -3
- package/chunks/{chunk-QR6U5QPP.js → chunk-3SJ43L4W.js} +4 -0
- package/chunks/chunk-3Z43GZUQ.js +32 -0
- package/chunks/chunk-43T5WDQ7.js +127 -0
- package/chunks/chunk-46UV252V.js +128 -0
- package/chunks/{chunk-JD3MKVKL.js → chunk-4K56OJFJ.js} +1 -1
- package/chunks/{chunk-KTUQMDEP.js → chunk-4K7VDKAD.js} +1 -1
- package/chunks/{chunk-QKYTTBYW.js → chunk-4LVZNIDO.js} +1 -1
- package/chunks/{chunk-OWCALFEG.js → chunk-54R2CV2G.js} +1 -1
- package/chunks/{chunk-ZEOZL37W.js → chunk-57FIIFJN.js} +1 -1
- package/chunks/chunk-5BS3KLRP.js +6194 -0
- package/chunks/{chunk-NEEB7UEN.js → chunk-6GMVPFB2.js} +153 -72
- package/chunks/{chunk-GMGDLUC7.js → chunk-6IL7KRLE.js} +1 -1
- package/chunks/chunk-6PVPNMXU.js +29 -0
- package/chunks/chunk-6QHAUJUE.js +293 -0
- package/chunks/chunk-6VK3IRTX.js +10017 -0
- package/chunks/{chunk-BDBMYST4.js → chunk-6X4GWOPW.js} +1 -1
- package/chunks/{chunk-AYCDXHZB.js → chunk-7Z6JQEL6.js} +1 -1
- package/chunks/{chunk-FSL5W5TI.js → chunk-AFFGGOF6.js} +4 -4
- package/chunks/chunk-AMDSOFFV.js +10860 -0
- package/chunks/chunk-AXUW635Q.js +934 -0
- package/chunks/{chunk-A5LYNIW7.js → chunk-BJBUDCM3.js} +8 -8
- package/chunks/chunk-BK2UNYWD.js +29 -0
- package/chunks/{chunk-6RLROE6G.js → chunk-BLFVGB7D.js} +30 -4
- package/chunks/chunk-BPJSQIJX.js +100 -0
- package/chunks/{chunk-FLSVD6BS.js → chunk-BRTR7S7O.js} +3 -3
- package/chunks/{chunk-KG3XV6FH.js → chunk-BSNWBC33.js} +32 -2
- package/chunks/chunk-BULDBTYC.js +153 -0
- package/chunks/{chunk-PBWEWI4N.js → chunk-BW5Z5NOG.js} +83 -74
- package/chunks/{chunk-EIAK6Q2B.js → chunk-C3VHAXP2.js} +20 -3
- package/chunks/{chunk-6AFUCL3D.js → chunk-CEZB3XFD.js} +1 -1
- package/chunks/chunk-CHMENNJV.js +1832 -0
- package/chunks/{chunk-TMQ6XQCX.js → chunk-CK3IEEHR.js} +416 -291
- package/chunks/{chunk-OYZWQNWG.js → chunk-CK6UABV2.js} +2 -2
- package/chunks/{chunk-VZQUV7VK.js → chunk-CKTMY3EP.js} +1 -1
- package/chunks/{chunk-VDWBQ5AW.js → chunk-CUPAVLRY.js} +5 -2
- package/chunks/{chunk-I2PYAYFM.js → chunk-CXUFILV3.js} +3 -3
- package/chunks/chunk-DP3IHZGG.js +1498 -0
- package/chunks/{chunk-BMWMT5Y2.js → chunk-DP5GT2MW.js} +7 -375
- package/chunks/{chunk-D22SX43D.js → chunk-DWNZ6PVQ.js} +1 -1
- package/chunks/{chunk-5SCI6E3E.js → chunk-E4IMU4Y5.js} +1 -1
- package/chunks/{chunk-DP5GXXNZ.js → chunk-EL2IQ2S5.js} +5 -1
- package/chunks/{chunk-EZVDJFZ7.js → chunk-ERLGR7GI.js} +1 -1
- package/chunks/{chunk-IVPSS6EL.js → chunk-F5MBYZSU.js} +4 -4
- package/chunks/{chunk-AQIEINAY.js → chunk-F6IYL66A.js} +28 -1766
- package/chunks/{chunk-FEOZBUMT.js → chunk-FODK6UMO.js} +0 -27
- package/chunks/{chunk-PGEPSDJI.js → chunk-FWNZ7CVN.js} +24 -20
- package/chunks/{chunk-5JBR5XIK.js → chunk-G7EFBBVF.js} +220 -141
- package/chunks/chunk-GLNBDYUX.js +38 -0
- package/chunks/{chunk-ANPINBOF.js → chunk-H4YKEV2X.js} +5 -5
- package/chunks/{chunk-TDKQP3M6.js → chunk-HIJQF5B5.js} +1 -1
- package/chunks/{chunk-FQD7GFSV.js → chunk-HJJDKFL5.js} +3 -3
- package/chunks/{chunk-4N3KMAIL.js → chunk-HPWHDJID.js} +152 -35
- package/chunks/{chunk-KQNM4EO7.js → chunk-HQCSRJ3P.js} +138 -6
- package/chunks/chunk-HTR4WV6U.js +327 -0
- package/chunks/{chunk-YWEW33JY.js → chunk-HVO55LUD.js} +7 -7
- package/chunks/{chunk-MJ6S23WZ.js → chunk-HZEWYOVI.js} +5 -5
- package/chunks/chunk-IFG6TYJ2.js +16577 -0
- package/chunks/{chunk-B3KGZCQN.js → chunk-IJTOWOD7.js} +322 -202
- package/chunks/{chunk-RS7MT2QG.js → chunk-IPUUTYMV.js} +2 -4
- package/chunks/{chunk-4ILMYHEI.js → chunk-IRDZJSCL.js} +3 -3
- package/chunks/{chunk-XU457J4V.js → chunk-IRH27ZC2.js} +2 -2
- package/chunks/{chunk-33XUAINQ.js → chunk-J5UKQEFG.js} +69 -9
- package/chunks/{chunk-G45X5TRN.js → chunk-JCW2R7WC.js} +1 -72
- package/chunks/{chunk-S2XVRHDN.js → chunk-JDFBBGRD.js} +1 -1
- package/chunks/{chunk-4XNLIGVA.js → chunk-JKCALGYN.js} +1023 -383
- package/chunks/{chunk-TJTKSVIV.js → chunk-JLU636DO.js} +5 -1
- package/chunks/{chunk-VEXFOTEO.js → chunk-JYUSL2V4.js} +3 -3
- package/chunks/{chunk-S2PD3EZD.js → chunk-KJEMJWNH.js} +1 -1
- package/chunks/{chunk-E2UVIFI2.js → chunk-KRXPRVGL.js} +0 -1
- package/chunks/{chunk-CZF3E5GF.js → chunk-LA5H3LM5.js} +1 -1
- package/chunks/{chunk-NDMQLV4Y.js → chunk-LBAO2XRA.js} +4 -4
- package/chunks/{chunk-7RMOXZTC.js → chunk-LDPP5VTZ.js} +4 -4
- package/chunks/{chunk-KDC6GNQR.js → chunk-LEEWLFHW.js} +4 -4
- package/chunks/{chunk-KX6UK4VJ.js → chunk-LI4I37W4.js} +22152 -18007
- package/chunks/{chunk-OOCI5VVU.js → chunk-LIZRAKPB.js} +1 -1
- package/chunks/{chunk-AJSJ5TTU.js → chunk-LP2E4MQG.js} +1 -1
- package/chunks/chunk-LS77BEZP.js +405 -0
- package/chunks/{chunk-BRRF37CO.js → chunk-LYTBLSSW.js} +5 -5
- package/chunks/{chunk-DBE4QFZS.js → chunk-MB7ENXPR.js} +39 -37
- package/chunks/{chunk-GKY2OJ7R.js → chunk-MOHAWVLH.js} +4 -4
- package/chunks/chunk-NABLFI57.js +82 -0
- package/chunks/chunk-NBQDBANR.js +411 -0
- package/chunks/{chunk-EAUYY7SS.js → chunk-NOAAFNTJ.js} +43 -10
- package/chunks/chunk-NXS53EA7.js +1462 -0
- package/chunks/{chunk-C27BYUX6.js → chunk-OQB4EXO4.js} +14 -11
- package/chunks/{chunk-NHDKSOEY.js → chunk-P3QQPMQA.js} +5 -5
- package/chunks/{chunk-OP4MOGXF.js → chunk-P5RRUHL7.js} +23 -1
- package/chunks/{chunk-KOR3XKCA.js → chunk-PBII2NFX.js} +12 -6
- package/chunks/{chunk-O3OCNYY5.js → chunk-PDYB7HG2.js} +2 -2
- package/chunks/{chunk-2HOVDT7W.js → chunk-PFSUKTZH.js} +1 -1
- package/chunks/chunk-PKL3HGNZ.js +2299 -0
- package/chunks/{chunk-5DTTYNB7.js → chunk-PQNHRFJC.js} +16 -3
- package/chunks/{chunk-OLMETXLX.js → chunk-PXHK5ONM.js} +41 -9
- package/chunks/{chunk-PF4CHQOJ.js → chunk-Q6GU6TKM.js} +11 -10
- package/chunks/{chunk-4ODB7WIB.js → chunk-QAFKR7WR.js} +1 -1
- package/chunks/{chunk-PBATSWUQ.js → chunk-QBUDF33N.js} +1 -1
- package/chunks/{chunk-BVLROR2T.js → chunk-QLJUC7TG.js} +1 -1
- package/chunks/{chunk-UEY4AYUL.js → chunk-QNLNLENL.js} +2 -2
- package/chunks/{chunk-333CXMNJ.js → chunk-QXZTZJLX.js} +5 -5
- package/chunks/chunk-R6D2CTQR.js +289 -0
- package/chunks/{chunk-7PZ2ATFZ.js → chunk-R6SKHK3T.js} +54 -29
- package/chunks/{chunk-OONJNQ42.js → chunk-RGG6M2WF.js} +4 -4
- package/chunks/{chunk-RFIAR4YL.js → chunk-RV4C2ZFG.js} +1 -1
- package/chunks/{chunk-O3Z73NBP.js → chunk-RW2NEXYJ.js} +15 -11
- package/chunks/{chunk-HZPN55E5.js → chunk-SJEDL7DI.js} +1 -1
- package/chunks/{chunk-AKX4WPPP.js → chunk-SWBJRDYC.js} +866 -183
- package/chunks/{chunk-NBMIC7DR.js → chunk-SX4PK3FC.js} +145 -5
- package/chunks/chunk-T3452DP5.js +246 -0
- package/chunks/{chunk-TB6UDU4T.js → chunk-THJNPLI4.js} +16 -16
- package/chunks/{chunk-T4TZQJ7W.js → chunk-TWPJO254.js} +5 -16
- package/chunks/chunk-U7ZFW55U.js +2098 -0
- package/chunks/{chunk-JNWZQ27S.js → chunk-UCOJC6EB.js} +72 -23
- package/chunks/{chunk-W7H223ZZ.js → chunk-UGYMA4EI.js} +1 -1
- package/chunks/{chunk-X6YQWCIJ.js → chunk-UH3WSE5L.js} +13 -1
- package/chunks/{chunk-2LL7TXB4.js → chunk-UH7242DI.js} +3 -3
- package/chunks/{chunk-CB2HFGRV.js → chunk-UJV643E2.js} +31 -6
- package/chunks/chunk-UO7DCGEV.js +121 -0
- package/chunks/{chunk-Y2ENGUD6.js → chunk-UPF7PTBI.js} +79 -2
- package/chunks/chunk-UW5EOVUN.js +249 -0
- package/chunks/{chunk-SJMV7ZBK.js → chunk-VLVO52KC.js} +8 -8
- package/chunks/{chunk-R3VWUU2E.js → chunk-VYPFXUCB.js} +1 -1
- package/chunks/{chunk-S2W2LVDU.js → chunk-WHFK6G6U.js} +8 -9
- package/chunks/chunk-WI3KCKZ5.js +391 -0
- package/chunks/{chunk-NGFEPAE6.js → chunk-WLEFWSSC.js} +8 -6
- package/chunks/{chunk-XVVH63JG.js → chunk-WUJXJ34P.js} +3 -3
- package/chunks/{chunk-MAQQGNQ5.js → chunk-WYLPWQHJ.js} +56 -717
- package/chunks/{chunk-D2VIDMVM.js → chunk-X6N25LXS.js} +2 -2
- package/chunks/chunk-XAWJ2526.js +1049 -0
- package/chunks/{chunk-CV63PP6U.js → chunk-YCIM6O3I.js} +1 -1
- package/chunks/{chunk-OEO2ERWK.js → chunk-Z44CVEUF.js} +54 -33
- package/chunks/{chunk-TKLLK6XQ.js → chunk-ZT4POVWC.js} +11 -11
- package/chunks/{chunk-NIJEXGV6.js → chunk-ZXYUQXY5.js} +148 -10
- package/chunks/{computer-use-NIWQNUZF.js → computer-use-UJ5T34TE.js} +50 -37
- package/chunks/{config-utils-AHQ6YZ66.js → config-utils-XQRXHAN3.js} +3 -3
- package/chunks/contextCommand-CSCB4E5M.js +79 -0
- package/chunks/{create-sub-session-MGNX52P3.js → create-sub-session-55F3GOLK.js} +46 -33
- package/chunks/{create-sub-session-P26FE5GG.js → create-sub-session-JPCSYZAJ.js} +3 -3
- package/chunks/{cron-create-JWFHBDRQ.js → cron-create-CUMELMPL.js} +6 -6
- package/chunks/{cron-delete-GDX4E26G.js → cron-delete-QZFV6U3P.js} +5 -5
- package/chunks/{cron-list-USMAIWPT.js → cron-list-IDKO7ZO2.js} +5 -5
- package/chunks/{daemon-RG2MAI6T.js → daemon-7LP7R6IU.js} +500 -133
- package/chunks/daemon-status-provider-6YNZ3UAE.js +88 -0
- package/chunks/{de-I7ZIYXZC.js → de-4IBXM7CN.js} +5 -1
- package/chunks/{dist-WGTQO7F2.js → dist-376652EZ.js} +114 -28
- package/chunks/{dist-53PZYC5B.js → dist-3YCTE6HD.js} +2 -2
- package/chunks/{dist-2BHAYBKP.js → dist-D7Z3HOO7.js} +14 -2
- package/chunks/{dist-FUTEXY6A.js → dist-MEGJFGAI.js} +40 -9
- package/chunks/{dist-2MIU4UUH.js → dist-NQ436QEX.js} +1 -1
- package/chunks/{dist-AU7NQQRP.js → dist-NQNTOIEN.js} +26 -2
- package/chunks/earlyInputCapture-HPUVJ2KH.js +81 -0
- package/chunks/{edit-3QV3JZJL.js → edit-7CMAN3F4.js} +50 -39
- package/chunks/{en-XE34GKAA.js → en-SALLIJS7.js} +6 -1
- package/chunks/{enter-worktree-4GMMF7EG.js → enter-worktree-3PH4YTY2.js} +49 -36
- package/chunks/{enterPlanMode-L5UWBAUC.js → enterPlanMode-MSXLSWLI.js} +55 -37
- package/chunks/{environment-3OV7UQOT.js → environment-KS36ZHBE.js} +48 -35
- package/chunks/errors-LCPFS62A.js +87 -0
- package/chunks/{exit-worktree-DDP57JLV.js → exit-worktree-ARA4C3CK.js} +49 -36
- package/chunks/{exitPlanMode-CJBLGPIP.js → exitPlanMode-GCDIQPB7.js} +49 -36
- package/chunks/{fast-path-M6RP2ING.js → fast-path-IDHBVIT6.js} +3 -2
- package/chunks/{fr-X7KDVZIY.js → fr-WVHEBDDB.js} +5 -1
- package/chunks/{gemini-H4PHBJTL.js → gemini-2AFQJMX5.js} +141 -105
- package/chunks/{geminiContentGenerator-VURJYPWP.js → geminiContentGenerator-UDIH3YI6.js} +9 -8
- package/chunks/{getMachineId-bsd-EXV7SWPA.js → getMachineId-bsd-QFVLPUPT.js} +1 -1
- package/chunks/{getMachineId-darwin-IUOMFXU3.js → getMachineId-darwin-DGMQQE2E.js} +1 -1
- package/chunks/{getMachineId-linux-K7XJYFHL.js → getMachineId-linux-R4Z6CSWC.js} +1 -1
- package/chunks/{getMachineId-unsupported-EA5FDRJ6.js → getMachineId-unsupported-Z3SBVBUV.js} +1 -1
- package/chunks/{getMachineId-win-KBA6RAI5.js → getMachineId-win-SCK5UFDT.js} +1 -1
- package/chunks/{glob-2KUSRAVQ.js → glob-HCL7HZ67.js} +49 -36
- package/chunks/{grep-B5RXVESV.js → grep-CJLBSCTV.js} +49 -36
- package/chunks/handleAutoUpdate-Q572P3FL.js +80 -0
- package/chunks/i18n-OBB4R7SR.js +96 -0
- package/chunks/initializer-LXEY6V3C.js +85 -0
- package/chunks/installationInfo-XUAOVMEE.js +79 -0
- package/chunks/{ja-2ICT3KXF.js → ja-KY4ROZTE.js} +5 -1
- package/chunks/{keychain-token-storage-DWRJMNH3.js → keychain-token-storage-6ACJDYIB.js} +3 -3
- package/chunks/{kittyProtocolDetector-HCNNKJTI.js → kittyProtocolDetector-MBRTDRBK.js} +5 -3
- package/chunks/list-WAXY7QOU.js +88 -0
- package/chunks/list-agents-AH3P5NB7.js +80 -0
- package/chunks/loadedSettingsAdapter-OZFNBRHE.js +82 -0
- package/chunks/loggingContentGenerator-7WDTTE6G.js +1068 -0
- package/chunks/{loop-wakeup-5GLTUBHA.js → loop-wakeup-IHRW6TNB.js} +7 -7
- package/chunks/{ls-FHBY3Y7I.js → ls-ZAXZ2G2W.js} +5 -5
- package/chunks/{lsp-B6VMEW6Y.js → lsp-R4ZG3UGQ.js} +3 -3
- package/chunks/managed-npm-update-N42DO5QW.js +339 -0
- package/chunks/mcp-6SOORKTY.js +82 -0
- package/chunks/{monitor-GLJZDNPS.js → monitor-4PSVNVU4.js} +51 -37
- package/chunks/node-UUDY34IG.js +305 -0
- package/chunks/nonInteractiveCli-FBR5S7IZ.js +140 -0
- package/chunks/{notebook-edit-AVCIWS4F.js → notebook-edit-QK26632S.js} +50 -39
- package/chunks/{openaiContentGenerator-B7W24G3D.js → openaiContentGenerator-IXJS6C2U.js} +33 -20
- package/chunks/pidfile-UCFCJOAP.js +85 -0
- package/chunks/{processUtils-XZPY2PBB.js → processUtils-YL2LXON2.js} +2 -2
- package/chunks/{pt-JJ4XPIBP.js → pt-OK455PLH.js} +5 -1
- package/chunks/{qwenContentGenerator-6GUTWJIC.js → qwenContentGenerator-H6WZPJKC.js} +56 -36
- package/chunks/{qwenOAuth2-GASEEWGU.js → qwenOAuth2-HTROHKXO.js} +10 -23
- package/chunks/read-file-FOYTMUNL.js +31 -0
- package/chunks/{read-mcp-resource-AKCL7I43.js → read-mcp-resource-65BWNF3F.js} +3 -3
- package/chunks/{record-artifact-PEUB7727.js → record-artifact-2RLSOP6U.js} +3 -3
- package/chunks/resumeHistoryUtils-ZNHTWBXS.js +90 -0
- package/chunks/ripGrep-K4K4QLNJ.js +72 -0
- package/chunks/{ru-STR4KTW7.js → ru-7SPDGMGD.js} +5 -1
- package/chunks/{run-qwen-serve-OZGR3FQA.js → run-qwen-serve-XI4MCAFV.js} +343 -88
- package/chunks/runtime-4CTBU5WX.js +115 -0
- package/chunks/{scheduler-Z7QLMUWA.js → scheduler-TTEITHBF.js} +46 -33
- package/chunks/sdk-exporters-grpc-N3OLDF63.js +23214 -0
- package/chunks/sdk-exporters-http-AOHAEOMC.js +563 -0
- package/chunks/sdk-impl-TLQOC7P4.js +9193 -0
- package/chunks/{send-message-3RHE7HSM.js → send-message-GEY4CNPS.js} +47 -8
- package/chunks/serve-W7UKJTQT.js +88 -0
- package/chunks/{server-SO64U3X5.js → server-JD5PIE7A.js} +3069 -517
- package/chunks/{session-2KL2WQAH.js → session-R4BDHLYR.js} +112 -177
- package/chunks/{settings-KITVOUSV.js → settings-BXZHA6TZ.js} +50 -37
- package/chunks/shell-XYMFCGN5.js +82 -0
- package/chunks/{skill-SOQHY455.js → skill-YKXYEPOF.js} +25 -20
- package/chunks/spawnChannel-IO4HQLFS.js +81 -0
- package/chunks/{src-43LM7JLB.js → src-LKKTJ4NG.js} +382 -235
- package/chunks/standalone-update-76JG7DVN.js +91 -0
- package/chunks/{startInteractiveUI-3RGTGEX5.js → startInteractiveUI-BXWQUXAS.js} +1314 -958
- package/chunks/{syntheticOutput-FG5PQKIR.js → syntheticOutput-2WNMXEU5.js} +4 -4
- package/chunks/task-create-R5H74Y76.js +25 -0
- package/chunks/{task-list-QWSY4ZIU.js → task-list-WXAFDSRY.js} +7 -7
- package/chunks/{task-stop-GWC6UWAL.js → task-stop-CHFZP23W.js} +4 -4
- package/chunks/{task-update-NCTAB73Q.js → task-update-Z44A4GAR.js} +11 -9
- package/chunks/{team-create-FXN3PEBP.js → team-create-5Y3MCAIM.js} +49 -36
- package/chunks/{team-delete-KK37HTOG.js → team-delete-YDCMRSI4.js} +7 -7
- package/chunks/{team-plan-approval-GEIZ356Q.js → team-plan-approval-HYJJZ76T.js} +49 -36
- package/chunks/theme-manager-3YF2SUZL.js +76 -0
- package/chunks/{todoWrite-ERCAMLFS.js → todoWrite-ED2IVZJL.js} +5 -5
- package/chunks/{tool-search-XKK7DNOK.js → tool-search-3ZO2XMEP.js} +21 -17
- package/chunks/total-session-admission-NDF7EVG7.js +83 -0
- package/chunks/trustedFolders-Q7RALK4T.js +92 -0
- package/chunks/{chunk-6EFTQYW7.js → undici-3FJYTMOF.js} +24 -399
- package/chunks/{chunk-L573Z2QZ.js → undici-PYHBDDPN.js} +1 -5
- package/chunks/{update-relaunch-FMVZK6XF.js → update-relaunch-BTW5XGVT.js} +17 -17
- package/chunks/updateCheck-MXIU6DWQ.js +91 -0
- package/chunks/useAutoAcceptIndicator-BJXHJW77.js +92 -0
- package/chunks/{validateNonInterActiveAuth-PRVEB6GG.js → validateNonInterActiveAuth-FLEPF3QQ.js} +90 -76
- package/chunks/{version-AZMG6KWL.js → version-75VRONIL.js} +1 -1
- package/chunks/{web-fetch-EPGJ5OQQ.js → web-fetch-5X27LYHB.js} +101 -41
- package/chunks/web-search-IDMTBJUP.js +718 -0
- package/chunks/{workflow-UTNVPW22.js → workflow-JOD2OPFQ.js} +54 -40
- package/chunks/workspace-providers-status-WDLBDLPG.js +85 -0
- package/chunks/{workspace-registration-store-F3ZX3YHT.js → workspace-registration-store-26Z6J6P5.js} +9 -3
- package/chunks/workspace-registry-IABDATX3.js +87 -0
- package/chunks/workspace-service-BI4KDYPD.js +97 -0
- package/chunks/workspace-skills-status-OVB4LPHA.js +84 -0
- package/chunks/write-file-276AJ7KE.js +72 -0
- package/chunks/{zh-6ANG2HTL.js → zh-Q54GA5SV.js} +6 -1
- package/chunks/{zh-TW-4RR3YHNN.js → zh-TW-VOBNFOPU.js} +6 -1
- package/cli-entry.js +164 -12
- package/cli.js +19 -12
- package/locales/ca.js +773 -203
- package/locales/de.js +8 -2
- package/locales/en.js +9 -2
- package/locales/fr.js +8 -2
- package/locales/ja.js +8 -2
- package/locales/pt.js +8 -2
- package/locales/ru.js +8 -2
- package/locales/zh-TW.js +9 -2
- package/locales/zh.js +9 -2
- package/package.json +3 -3
- package/web-shell/assets/{arc-Buk1besA.js → arc-CMb7lr2P.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1aUKYDC.js → architectureDiagram-3BPJPVTR-D6KQ5Kwm.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-CRTdg3Zx.js → blockDiagram-GPEHLZMM-Ce7YYSf8.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-DFdRMp5g.js → c4Diagram-AAUBKEIU-DaStHfor.js} +1 -1
- package/web-shell/assets/channel-Dg4f-Kry.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-4rYQdkEI.js → chunk-2J33WTMH-CPaqadg9.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-Coi-pQJy.js → chunk-4BX2VUAB-Veh9ZGKg.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BtBjz02t.js → chunk-55IACEB6-BPTX5n4q.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CGYOWorl.js → chunk-727SXJPM-CtXsE_ca.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-CH5AKhqx.js → chunk-AQP2D5EJ-D8DDCJ8h.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-Cd50-w85.js → chunk-FMBD7UC4-cjMDGzHz.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-C2wF3KCK.js → chunk-ND2GUHAM-BaZ1hNhV.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-pCeRTaWi.js → chunk-QZHKN3VN-C7w-9w5-.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CT7Fo2aW.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CT7Fo2aW.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-B-_fAB6D.js → cose-bilkent-S5V4N54A-DqvBEEIe.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-ChSPNHpL.js → dagre-BM42HDAG-RkPyoMAk.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BX7cFOF3.js → diagram-2AECGRRQ-D9b6nNyg.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-BQUTW92n.js → diagram-5GNKFQAL-CiiNKUIy.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-BkYPh3e4.js → diagram-KO2AKTUF-CP1qizXd.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Cl6jsNyx.js → diagram-LMA3HP47-BGe30TWx.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-DRWoHz8n.js → diagram-OG6HWLK6-CvoEPARH.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-CGvFcZco.js → erDiagram-TEJ5UH35-DWfLzVkV.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-vms6oVdv.js → flowDiagram-I6XJVG4X-D-dTQmo6.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-ukT_sfmi.js → ganttDiagram-6RSMTGT7-CYPHKaGY.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Bn2ZE2Ut.js → gitGraphDiagram-PVQCEYII-DA7_aQYD.js} +1 -1
- package/web-shell/assets/index-B0i-TOYM.css +5 -0
- package/web-shell/assets/index-CgCHD46L.js +1225 -0
- package/web-shell/assets/{index-wFXp7W68.js → index-DqHNAB8C.js} +1 -1
- package/web-shell/assets/{infoDiagram-5YYISTIA-DHJdSi7x.js → infoDiagram-5YYISTIA-B87ljDPa.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DOvd2Wph.js → ishikawaDiagram-YF4QCWOH-CYSpyjaN.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CH_urMCT.js → journeyDiagram-JHISSGLW-DAL6Js6f.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-FKiBdgbH.js → kanban-definition-UN3LZRKU-_zufKGJv.js} +1 -1
- package/web-shell/assets/{linear-0ZVQFVKf.js → linear-DidhMgku.js} +1 -1
- package/web-shell/assets/{mermaid.core-DJ05ZZIK.js → mermaid.core-DAkX3h3a.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BPuUhkUm.js → mindmap-definition-RKZ34NQL-DbZxUBEH.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-yLFKcXyG.js → pieDiagram-4H26LBE5-Du9uoqrf.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-irWqc1pE.js → quadrantDiagram-W4KKPZXB-DwjELuKm.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-B_4uMoIV.js → requirementDiagram-4Y6WPE33-BAqfVtBL.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-ciA4GPwk.js → sankeyDiagram-5OEKKPKP--hm2VpmK.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CRdZvy0U.js → sequenceDiagram-3UESZ5HK-R5MUQaIt.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-DaYIkCCn.js → stateDiagram-AJRCARHV-VsX032xQ.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-uPWLcSfy.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-oBUKv6iH.js → timeline-definition-PNZ67QCA-BqjVRXzg.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-CGW9Sdmb.js → vennDiagram-CIIHVFJN-i2tkvlkg.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CvwKJOCm.js → wardley-L42UT6IY-Ch8G49EM.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Ipc260sN.js → wardleyDiagram-YWT4CUSO-bYpWeQNy.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-D6-CM7pK.js → xychartDiagram-2RQKCTM6-C9NhuBqB.js} +1 -1
- package/web-shell/index.html +17 -13
- package/chunks/MaxSizedBox-B5YGZSYE.js +0 -72
- package/chunks/agent-H4JIDL7S.js +0 -67
- package/chunks/agent-headless-TTBEREQV.js +0 -61
- package/chunks/bridge-VL7ITBU5.js +0 -75
- package/chunks/chunk-542SK7KV.js +0 -8293
- package/chunks/chunk-CPCVCKKF.js +0 -358
- package/chunks/chunk-SEKHYHMS.js +0 -45
- package/chunks/chunk-W7FJ3N32.js +0 -49
- package/chunks/chunk-ZFKNWQGQ.js +0 -74639
- package/chunks/contextCommand-L2COEUHS.js +0 -66
- package/chunks/daemon-status-provider-NL4IAG7B.js +0 -74
- package/chunks/earlyInputCapture-L6I2A22T.js +0 -68
- package/chunks/errors-LEOF5QG4.js +0 -74
- package/chunks/handleAutoUpdate-QQVIWXKT.js +0 -67
- package/chunks/i18n-N6OBDORT.js +0 -83
- package/chunks/initializer-6WCFNDLL.js +0 -72
- package/chunks/installationInfo-6J3WPXNS.js +0 -64
- package/chunks/list-HOWQSWP6.js +0 -75
- package/chunks/loadedSettingsAdapter-AO4YBRXZ.js +0 -69
- package/chunks/mcp-QH7QNXOH.js +0 -69
- package/chunks/nonInteractiveCli-TI7EMPXD.js +0 -126
- package/chunks/pidfile-UEHAT6DH.js +0 -72
- package/chunks/read-file-SQJONF6A.js +0 -29
- package/chunks/resumeHistoryUtils-PFQ2A23X.js +0 -78
- package/chunks/ripGrep-QCK22GDU.js +0 -59
- package/chunks/runtime-SNVAP6EH.js +0 -100
- package/chunks/serve-BT7KS6SC.js +0 -75
- package/chunks/shell-BITUVH2R.js +0 -69
- package/chunks/spawnChannel-2BU3AULL.js +0 -68
- package/chunks/standalone-update-YG5JUYCM.js +0 -78
- package/chunks/task-create-HX32YXO7.js +0 -23
- package/chunks/theme-manager-IAETOI25.js +0 -63
- package/chunks/total-session-admission-BJLDHKJN.js +0 -69
- package/chunks/trustedFolders-5XCVNEUU.js +0 -79
- package/chunks/updateCheck-YZZB7YBU.js +0 -70
- package/chunks/useAutoAcceptIndicator-ZSQX4I2H.js +0 -80
- package/chunks/workspace-providers-status-EADV364W.js +0 -72
- package/chunks/workspace-registry-W6VMFYZU.js +0 -73
- package/chunks/workspace-service-F3KIN2UN.js +0 -84
- package/chunks/workspace-skills-status-YVICUR5Y.js +0 -71
- package/chunks/write-file-CVGF2OKV.js +0 -596
- package/web-shell/assets/channel-04R0vLbG.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-Bw9SOwAV.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Bw9SOwAV.js +0 -1
- package/web-shell/assets/index-DgkKrjw3.js +0 -1187
- package/web-shell/assets/index-Rv6mOAN9.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DWBoO4UY.js +0 -1
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
esm_exports,
|
|
5
|
+
index_node_http_exports,
|
|
6
|
+
init_esm as init_esm2,
|
|
7
|
+
init_index_node_http,
|
|
8
|
+
require_src as require_src3,
|
|
9
|
+
require_src2 as require_src4
|
|
10
|
+
} from "./chunk-6VK3IRTX.js";
|
|
11
|
+
import "./chunk-4WKAA4KS.js";
|
|
12
|
+
import {
|
|
13
|
+
require_src2 as require_src,
|
|
14
|
+
require_src3 as require_src2
|
|
15
|
+
} from "./chunk-5BS3KLRP.js";
|
|
16
|
+
import {
|
|
17
|
+
deriveTraceId,
|
|
18
|
+
isInNativeSubagentSpan,
|
|
19
|
+
randomHexString,
|
|
20
|
+
randomSpanId
|
|
21
|
+
} from "./chunk-PKL3HGNZ.js";
|
|
22
|
+
import {
|
|
23
|
+
EVENT_SUBAGENT_EXECUTION,
|
|
24
|
+
SERVICE_NAME
|
|
25
|
+
} from "./chunk-BULDBTYC.js";
|
|
26
|
+
import "./chunk-U7ZFW55U.js";
|
|
27
|
+
import {
|
|
28
|
+
getCurrentSessionId
|
|
29
|
+
} from "./chunk-OQB4EXO4.js";
|
|
30
|
+
import {
|
|
31
|
+
SpanKind,
|
|
32
|
+
SpanStatusCode,
|
|
33
|
+
TraceFlags,
|
|
34
|
+
init_esm,
|
|
35
|
+
isSpanContextValid
|
|
36
|
+
} from "./chunk-THJNPLI4.js";
|
|
37
|
+
import {
|
|
38
|
+
init_esbuild_shims
|
|
39
|
+
} from "./chunk-5O2XNYP6.js";
|
|
40
|
+
import {
|
|
41
|
+
__commonJS,
|
|
42
|
+
__name,
|
|
43
|
+
__toCommonJS,
|
|
44
|
+
__toESM
|
|
45
|
+
} from "./chunk-J2S4EL5Y.js";
|
|
46
|
+
|
|
47
|
+
// node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/version.js
|
|
48
|
+
var require_version = __commonJS({
|
|
49
|
+
"node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/version.js"(exports) {
|
|
50
|
+
"use strict";
|
|
51
|
+
init_esbuild_shims();
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.VERSION = void 0;
|
|
54
|
+
exports.VERSION = "0.203.0";
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
// node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/node/OTLPTraceExporter.js
|
|
59
|
+
var require_OTLPTraceExporter = __commonJS({
|
|
60
|
+
"node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/node/OTLPTraceExporter.js"(exports) {
|
|
61
|
+
"use strict";
|
|
62
|
+
init_esbuild_shims();
|
|
63
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64
|
+
exports.OTLPTraceExporter = void 0;
|
|
65
|
+
var otlp_exporter_base_1 = (init_esm2(), __toCommonJS(esm_exports));
|
|
66
|
+
var version_1 = require_version();
|
|
67
|
+
var otlp_transformer_1 = require_src3();
|
|
68
|
+
var node_http_1 = (init_index_node_http(), __toCommonJS(index_node_http_exports));
|
|
69
|
+
var OTLPTraceExporter = class extends otlp_exporter_base_1.OTLPExporterBase {
|
|
70
|
+
static {
|
|
71
|
+
__name(this, "OTLPTraceExporter");
|
|
72
|
+
}
|
|
73
|
+
constructor(config = {}) {
|
|
74
|
+
super((0, node_http_1.createOtlpHttpExportDelegate)((0, node_http_1.convertLegacyHttpOptions)(config, "TRACES", "v1/traces", {
|
|
75
|
+
"User-Agent": `OTel-OTLP-Exporter-JavaScript/${version_1.VERSION}`,
|
|
76
|
+
"Content-Type": "application/json"
|
|
77
|
+
}), otlp_transformer_1.JsonTraceSerializer));
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
exports.OTLPTraceExporter = OTLPTraceExporter;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
// node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/node/index.js
|
|
85
|
+
var require_node = __commonJS({
|
|
86
|
+
"node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/node/index.js"(exports) {
|
|
87
|
+
"use strict";
|
|
88
|
+
init_esbuild_shims();
|
|
89
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
90
|
+
exports.OTLPTraceExporter = void 0;
|
|
91
|
+
var OTLPTraceExporter_1 = require_OTLPTraceExporter();
|
|
92
|
+
Object.defineProperty(exports, "OTLPTraceExporter", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
93
|
+
return OTLPTraceExporter_1.OTLPTraceExporter;
|
|
94
|
+
}, "get") });
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
// node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/index.js
|
|
99
|
+
var require_platform = __commonJS({
|
|
100
|
+
"node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/platform/index.js"(exports) {
|
|
101
|
+
"use strict";
|
|
102
|
+
init_esbuild_shims();
|
|
103
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104
|
+
exports.OTLPTraceExporter = void 0;
|
|
105
|
+
var node_1 = require_node();
|
|
106
|
+
Object.defineProperty(exports, "OTLPTraceExporter", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
107
|
+
return node_1.OTLPTraceExporter;
|
|
108
|
+
}, "get") });
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
// node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/index.js
|
|
113
|
+
var require_src5 = __commonJS({
|
|
114
|
+
"node_modules/@opentelemetry/exporter-trace-otlp-http/build/src/index.js"(exports) {
|
|
115
|
+
"use strict";
|
|
116
|
+
init_esbuild_shims();
|
|
117
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
118
|
+
exports.OTLPTraceExporter = void 0;
|
|
119
|
+
var platform_1 = require_platform();
|
|
120
|
+
Object.defineProperty(exports, "OTLPTraceExporter", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
121
|
+
return platform_1.OTLPTraceExporter;
|
|
122
|
+
}, "get") });
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
// node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/version.js
|
|
127
|
+
var require_version2 = __commonJS({
|
|
128
|
+
"node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/version.js"(exports) {
|
|
129
|
+
"use strict";
|
|
130
|
+
init_esbuild_shims();
|
|
131
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
132
|
+
exports.VERSION = void 0;
|
|
133
|
+
exports.VERSION = "0.203.0";
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
// node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/node/OTLPLogExporter.js
|
|
138
|
+
var require_OTLPLogExporter = __commonJS({
|
|
139
|
+
"node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/node/OTLPLogExporter.js"(exports) {
|
|
140
|
+
"use strict";
|
|
141
|
+
init_esbuild_shims();
|
|
142
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
143
|
+
exports.OTLPLogExporter = void 0;
|
|
144
|
+
var otlp_exporter_base_1 = (init_esm2(), __toCommonJS(esm_exports));
|
|
145
|
+
var otlp_transformer_1 = require_src3();
|
|
146
|
+
var version_1 = require_version2();
|
|
147
|
+
var node_http_1 = (init_index_node_http(), __toCommonJS(index_node_http_exports));
|
|
148
|
+
var OTLPLogExporter = class extends otlp_exporter_base_1.OTLPExporterBase {
|
|
149
|
+
static {
|
|
150
|
+
__name(this, "OTLPLogExporter");
|
|
151
|
+
}
|
|
152
|
+
constructor(config = {}) {
|
|
153
|
+
super((0, node_http_1.createOtlpHttpExportDelegate)((0, node_http_1.convertLegacyHttpOptions)(config, "LOGS", "v1/logs", {
|
|
154
|
+
"User-Agent": `OTel-OTLP-Exporter-JavaScript/${version_1.VERSION}`,
|
|
155
|
+
"Content-Type": "application/json"
|
|
156
|
+
}), otlp_transformer_1.JsonLogsSerializer));
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
exports.OTLPLogExporter = OTLPLogExporter;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
// node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/node/index.js
|
|
164
|
+
var require_node2 = __commonJS({
|
|
165
|
+
"node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/node/index.js"(exports) {
|
|
166
|
+
"use strict";
|
|
167
|
+
init_esbuild_shims();
|
|
168
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
169
|
+
exports.OTLPLogExporter = void 0;
|
|
170
|
+
var OTLPLogExporter_1 = require_OTLPLogExporter();
|
|
171
|
+
Object.defineProperty(exports, "OTLPLogExporter", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
172
|
+
return OTLPLogExporter_1.OTLPLogExporter;
|
|
173
|
+
}, "get") });
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
// node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/index.js
|
|
178
|
+
var require_platform2 = __commonJS({
|
|
179
|
+
"node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/index.js"(exports) {
|
|
180
|
+
"use strict";
|
|
181
|
+
init_esbuild_shims();
|
|
182
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
183
|
+
exports.OTLPLogExporter = void 0;
|
|
184
|
+
var node_1 = require_node2();
|
|
185
|
+
Object.defineProperty(exports, "OTLPLogExporter", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
186
|
+
return node_1.OTLPLogExporter;
|
|
187
|
+
}, "get") });
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
// node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/index.js
|
|
192
|
+
var require_src6 = __commonJS({
|
|
193
|
+
"node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/index.js"(exports) {
|
|
194
|
+
"use strict";
|
|
195
|
+
init_esbuild_shims();
|
|
196
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
197
|
+
exports.OTLPLogExporter = void 0;
|
|
198
|
+
var platform_1 = require_platform2();
|
|
199
|
+
Object.defineProperty(exports, "OTLPLogExporter", { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
200
|
+
return platform_1.OTLPLogExporter;
|
|
201
|
+
}, "get") });
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
// packages/core/src/telemetry/sdk-exporters-http.ts
|
|
206
|
+
init_esbuild_shims();
|
|
207
|
+
var import_exporter_trace_otlp_http = __toESM(require_src5(), 1);
|
|
208
|
+
var import_exporter_logs_otlp_http = __toESM(require_src6(), 1);
|
|
209
|
+
var import_exporter_metrics_otlp_http = __toESM(require_src4(), 1);
|
|
210
|
+
var import_sdk_metrics = __toESM(require_src2(), 1);
|
|
211
|
+
|
|
212
|
+
// packages/core/src/telemetry/log-to-span-processor.ts
|
|
213
|
+
init_esbuild_shims();
|
|
214
|
+
init_esm();
|
|
215
|
+
var import_resources = __toESM(require_src(), 1);
|
|
216
|
+
var BRIDGE_SKIP_EVENT_NAMES = /* @__PURE__ */ new Set([EVENT_SUBAGENT_EXECUTION]);
|
|
217
|
+
var EXPORT_TIMEOUT_MS = 3e4;
|
|
218
|
+
var DEFAULT_MAX_BUFFER_SIZE = 1e4;
|
|
219
|
+
var BUFFER_OVERFLOW_WARNING_INTERVAL_MS = 3e4;
|
|
220
|
+
var LOG_EVENT_ERROR_STATUS_MESSAGE = "Log event recorded error";
|
|
221
|
+
var DEFAULT_LOG_SPAN_NAME = "log.event";
|
|
222
|
+
var MAX_SPAN_NAME_LENGTH = 128;
|
|
223
|
+
var SENSITIVE_ATTRIBUTE_KEYS = /* @__PURE__ */ new Set([
|
|
224
|
+
"error",
|
|
225
|
+
"error.message",
|
|
226
|
+
"error_message",
|
|
227
|
+
"prompt",
|
|
228
|
+
"function_args",
|
|
229
|
+
"response_text"
|
|
230
|
+
]);
|
|
231
|
+
var defaultDiagnosticsSink = /* @__PURE__ */ __name((message) => {
|
|
232
|
+
process.stderr.write(`${message}
|
|
233
|
+
`);
|
|
234
|
+
}, "defaultDiagnosticsSink");
|
|
235
|
+
var LogToSpanProcessor = class {
|
|
236
|
+
constructor(spanExporter, flushIntervalMsOrOptions = 5e3, maxBufferSize = DEFAULT_MAX_BUFFER_SIZE) {
|
|
237
|
+
this.spanExporter = spanExporter;
|
|
238
|
+
if (typeof flushIntervalMsOrOptions === "number") {
|
|
239
|
+
this.flushIntervalMs = flushIntervalMsOrOptions;
|
|
240
|
+
this.includeSensitiveSpanAttributes = false;
|
|
241
|
+
this.maxBufferSize = normalizeMaxBufferSize(maxBufferSize);
|
|
242
|
+
this.diagnosticsSink = defaultDiagnosticsSink;
|
|
243
|
+
} else {
|
|
244
|
+
this.flushIntervalMs = flushIntervalMsOrOptions.flushIntervalMs ?? 5e3;
|
|
245
|
+
this.includeSensitiveSpanAttributes = flushIntervalMsOrOptions.includeSensitiveSpanAttributes ?? false;
|
|
246
|
+
this.maxBufferSize = normalizeMaxBufferSize(
|
|
247
|
+
flushIntervalMsOrOptions.maxBufferSize
|
|
248
|
+
);
|
|
249
|
+
this.diagnosticsSink = flushIntervalMsOrOptions.diagnosticsSink ?? defaultDiagnosticsSink;
|
|
250
|
+
}
|
|
251
|
+
this.flushTimer = setInterval(() => {
|
|
252
|
+
void this.flush();
|
|
253
|
+
}, this.flushIntervalMs);
|
|
254
|
+
this.flushTimer.unref();
|
|
255
|
+
}
|
|
256
|
+
static {
|
|
257
|
+
__name(this, "LogToSpanProcessor");
|
|
258
|
+
}
|
|
259
|
+
buffer = [];
|
|
260
|
+
flushTimer;
|
|
261
|
+
inFlightExport;
|
|
262
|
+
flushIntervalMs;
|
|
263
|
+
cachedSessionId;
|
|
264
|
+
cachedTraceId;
|
|
265
|
+
includeSensitiveSpanAttributes;
|
|
266
|
+
maxBufferSize;
|
|
267
|
+
diagnosticsSink;
|
|
268
|
+
lastBufferOverflowWarningMs;
|
|
269
|
+
droppedSpansSinceLastBufferWarning = 0;
|
|
270
|
+
totalDroppedSpans = 0;
|
|
271
|
+
isShutdown = false;
|
|
272
|
+
onEmit(logRecord) {
|
|
273
|
+
if (this.isShutdown) {
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
const eventName = logRecord.attributes?.["event.name"];
|
|
277
|
+
if (typeof eventName === "string" && BRIDGE_SKIP_EVENT_NAMES.has(eventName) && isInNativeSubagentSpan()) {
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
const name = deriveSpanName(logRecord);
|
|
281
|
+
const startTime = logRecord.hrTime;
|
|
282
|
+
const attributes = {};
|
|
283
|
+
if (logRecord.attributes) {
|
|
284
|
+
for (const [key, value] of Object.entries(logRecord.attributes)) {
|
|
285
|
+
if (value !== void 0 && value !== null && (this.includeSensitiveSpanAttributes || !SENSITIVE_ATTRIBUTE_KEYS.has(key))) {
|
|
286
|
+
attributes[key] = typeof value === "object" ? safeStringify(value) : value;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
attributes["log.bridge"] = true;
|
|
291
|
+
if (logRecord.severityNumber !== void 0) {
|
|
292
|
+
attributes["log.severity_number"] = logRecord.severityNumber;
|
|
293
|
+
}
|
|
294
|
+
if (logRecord.severityText) {
|
|
295
|
+
attributes["log.severity_text"] = logRecord.severityText;
|
|
296
|
+
}
|
|
297
|
+
let endTime = startTime;
|
|
298
|
+
const durationMs = logRecord.attributes?.["duration_ms"];
|
|
299
|
+
if (typeof durationMs === "number" && Number.isFinite(durationMs) && durationMs > 0) {
|
|
300
|
+
const [secs, nanos] = startTime;
|
|
301
|
+
const durationNanos = durationMs * 1e6;
|
|
302
|
+
const endNanos = nanos + durationNanos;
|
|
303
|
+
endTime = [secs + Math.floor(endNanos / 1e9), endNanos % 1e9];
|
|
304
|
+
}
|
|
305
|
+
const parentSpanContext = getValidParentSpanContext(logRecord.spanContext);
|
|
306
|
+
const sessionId = logRecord.attributes?.["session.id"] || getCurrentSessionId();
|
|
307
|
+
let traceId;
|
|
308
|
+
if (parentSpanContext) {
|
|
309
|
+
traceId = parentSpanContext.traceId;
|
|
310
|
+
} else if (sessionId) {
|
|
311
|
+
const sid = String(sessionId);
|
|
312
|
+
if (sid !== this.cachedSessionId) {
|
|
313
|
+
this.cachedSessionId = sid;
|
|
314
|
+
this.cachedTraceId = deriveTraceId(sid);
|
|
315
|
+
}
|
|
316
|
+
traceId = this.cachedTraceId;
|
|
317
|
+
} else {
|
|
318
|
+
traceId = randomHexString(32);
|
|
319
|
+
}
|
|
320
|
+
const spanId = randomSpanId();
|
|
321
|
+
this.buffer.push({
|
|
322
|
+
name,
|
|
323
|
+
kind: SpanKind.INTERNAL,
|
|
324
|
+
spanContext: /* @__PURE__ */ __name(() => ({
|
|
325
|
+
traceId,
|
|
326
|
+
spanId,
|
|
327
|
+
traceFlags: parentSpanContext?.traceFlags ?? TraceFlags.SAMPLED
|
|
328
|
+
}), "spanContext"),
|
|
329
|
+
startTime,
|
|
330
|
+
endTime,
|
|
331
|
+
duration: hrTimeDiff(startTime, endTime),
|
|
332
|
+
attributes,
|
|
333
|
+
status: deriveSpanStatus(logRecord.attributes),
|
|
334
|
+
events: [],
|
|
335
|
+
links: [],
|
|
336
|
+
resource: logRecord.resource ?? (0, import_resources.resourceFromAttributes)({}),
|
|
337
|
+
instrumentationScope: logRecord.instrumentationScope ?? {
|
|
338
|
+
name: SERVICE_NAME,
|
|
339
|
+
version: ""
|
|
340
|
+
},
|
|
341
|
+
ended: true,
|
|
342
|
+
parentSpanContext,
|
|
343
|
+
droppedAttributesCount: 0,
|
|
344
|
+
droppedEventsCount: 0,
|
|
345
|
+
droppedLinksCount: 0,
|
|
346
|
+
recordException: /* @__PURE__ */ __name(() => {
|
|
347
|
+
}, "recordException")
|
|
348
|
+
});
|
|
349
|
+
if (this.buffer.length > this.maxBufferSize) {
|
|
350
|
+
const droppedSpanCount = this.buffer.length - this.maxBufferSize;
|
|
351
|
+
this.buffer.splice(0, droppedSpanCount);
|
|
352
|
+
this.warnBufferOverflow(droppedSpanCount);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
warnBufferOverflow(droppedSpanCount) {
|
|
356
|
+
this.droppedSpansSinceLastBufferWarning += droppedSpanCount;
|
|
357
|
+
this.totalDroppedSpans += droppedSpanCount;
|
|
358
|
+
const now = Date.now();
|
|
359
|
+
if (this.lastBufferOverflowWarningMs !== void 0 && now - this.lastBufferOverflowWarningMs < BUFFER_OVERFLOW_WARNING_INTERVAL_MS) {
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
this.emitBufferOverflowWarning(now);
|
|
363
|
+
}
|
|
364
|
+
emitBufferOverflowWarning(now = Date.now()) {
|
|
365
|
+
if (this.droppedSpansSinceLastBufferWarning === 0) {
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
const droppedSinceLastWarning = this.droppedSpansSinceLastBufferWarning;
|
|
369
|
+
this.droppedSpansSinceLastBufferWarning = 0;
|
|
370
|
+
this.lastBufferOverflowWarningMs = now;
|
|
371
|
+
this.emitDiagnostic(
|
|
372
|
+
`[LogToSpan] buffer exceeded max size (${this.maxBufferSize}); dropped ${droppedSinceLastWarning} oldest span(s) since last warning, ${this.totalDroppedSpans} total`
|
|
373
|
+
);
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Route a diagnostic message to the configured sink, swallowing any sink
|
|
377
|
+
* error so a misbehaving sink can never interrupt telemetry ingestion.
|
|
378
|
+
*
|
|
379
|
+
* Tradeoff: when the sink itself is broken (e.g. file-logger failing on
|
|
380
|
+
* EACCES), bridge-specific diagnostics go dark. We accept that — the host
|
|
381
|
+
* surfaces overall logging health via `isDebugLoggingDegraded()`, and
|
|
382
|
+
* falling back to stderr here would re-introduce the TUI-pollution this
|
|
383
|
+
* sink injection was added to prevent.
|
|
384
|
+
*/
|
|
385
|
+
emitDiagnostic(message) {
|
|
386
|
+
try {
|
|
387
|
+
this.diagnosticsSink(message);
|
|
388
|
+
} catch {
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
flush() {
|
|
392
|
+
if (this.inFlightExport) return this.inFlightExport;
|
|
393
|
+
if (this.buffer.length === 0) return Promise.resolve();
|
|
394
|
+
const spans = this.buffer.splice(0);
|
|
395
|
+
const exportPromise = new Promise((resolve) => {
|
|
396
|
+
const timeout = setTimeout(() => {
|
|
397
|
+
this.emitDiagnostic(
|
|
398
|
+
`[LogToSpan] export timeout after ${EXPORT_TIMEOUT_MS}ms (${spans.length} span(s))`
|
|
399
|
+
);
|
|
400
|
+
resolve();
|
|
401
|
+
}, EXPORT_TIMEOUT_MS);
|
|
402
|
+
timeout.unref();
|
|
403
|
+
try {
|
|
404
|
+
this.spanExporter.export(
|
|
405
|
+
spans,
|
|
406
|
+
(result) => {
|
|
407
|
+
clearTimeout(timeout);
|
|
408
|
+
if (result.code !== 0) {
|
|
409
|
+
this.emitDiagnostic(
|
|
410
|
+
`[LogToSpan] export failed: code=${result.code} ${formatExportError(result.error)}`
|
|
411
|
+
);
|
|
412
|
+
}
|
|
413
|
+
resolve();
|
|
414
|
+
}
|
|
415
|
+
);
|
|
416
|
+
} catch (err) {
|
|
417
|
+
clearTimeout(timeout);
|
|
418
|
+
const detail = err instanceof Error ? formatExportError(err) : `error=${JSON.stringify(String(err))}`;
|
|
419
|
+
this.emitDiagnostic(`[LogToSpan] export threw: ${detail}`);
|
|
420
|
+
resolve();
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
this.inFlightExport = exportPromise.finally(() => {
|
|
424
|
+
this.inFlightExport = void 0;
|
|
425
|
+
});
|
|
426
|
+
return this.inFlightExport;
|
|
427
|
+
}
|
|
428
|
+
async shutdown() {
|
|
429
|
+
if (this.isShutdown) {
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
432
|
+
this.isShutdown = true;
|
|
433
|
+
if (this.flushTimer) {
|
|
434
|
+
clearInterval(this.flushTimer);
|
|
435
|
+
this.flushTimer = void 0;
|
|
436
|
+
}
|
|
437
|
+
if (this.inFlightExport) {
|
|
438
|
+
await this.inFlightExport;
|
|
439
|
+
}
|
|
440
|
+
await this.flush();
|
|
441
|
+
this.emitBufferOverflowWarning();
|
|
442
|
+
await this.spanExporter.shutdown();
|
|
443
|
+
}
|
|
444
|
+
async forceFlush() {
|
|
445
|
+
if (this.isShutdown) {
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
if (this.inFlightExport) {
|
|
449
|
+
await this.inFlightExport;
|
|
450
|
+
}
|
|
451
|
+
await this.flush();
|
|
452
|
+
await this.spanExporter.forceFlush?.();
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
function normalizeMaxBufferSize(value) {
|
|
456
|
+
if (typeof value !== "number" || !Number.isFinite(value) || value < 1) {
|
|
457
|
+
return DEFAULT_MAX_BUFFER_SIZE;
|
|
458
|
+
}
|
|
459
|
+
return Math.floor(value);
|
|
460
|
+
}
|
|
461
|
+
__name(normalizeMaxBufferSize, "normalizeMaxBufferSize");
|
|
462
|
+
function deriveSpanName(logRecord) {
|
|
463
|
+
const eventName = logRecord.attributes?.["event.name"] ?? logRecord.eventName;
|
|
464
|
+
if (typeof eventName === "string" && eventName.trim().length > 0) {
|
|
465
|
+
return sanitizeSpanName(eventName);
|
|
466
|
+
}
|
|
467
|
+
return DEFAULT_LOG_SPAN_NAME;
|
|
468
|
+
}
|
|
469
|
+
__name(deriveSpanName, "deriveSpanName");
|
|
470
|
+
function sanitizeSpanName(body) {
|
|
471
|
+
const rawName = String(body ?? "unknown");
|
|
472
|
+
return rawName.length > MAX_SPAN_NAME_LENGTH ? `${rawName.slice(0, MAX_SPAN_NAME_LENGTH)}...` : rawName;
|
|
473
|
+
}
|
|
474
|
+
__name(sanitizeSpanName, "sanitizeSpanName");
|
|
475
|
+
function getValidParentSpanContext(spanContext) {
|
|
476
|
+
if (!spanContext || !isSpanContextValid(spanContext)) {
|
|
477
|
+
return void 0;
|
|
478
|
+
}
|
|
479
|
+
return spanContext;
|
|
480
|
+
}
|
|
481
|
+
__name(getValidParentSpanContext, "getValidParentSpanContext");
|
|
482
|
+
function safeStringify(value) {
|
|
483
|
+
try {
|
|
484
|
+
return JSON.stringify(value);
|
|
485
|
+
} catch {
|
|
486
|
+
return "[unserializable]";
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
__name(safeStringify, "safeStringify");
|
|
490
|
+
function deriveSpanStatus(attrs) {
|
|
491
|
+
if (!attrs) return { code: SpanStatusCode.OK };
|
|
492
|
+
if (!!attrs["error"] || !!attrs["error.message"] || !!attrs["error_message"] || !!attrs["error_type"]) {
|
|
493
|
+
return {
|
|
494
|
+
code: SpanStatusCode.ERROR,
|
|
495
|
+
message: LOG_EVENT_ERROR_STATUS_MESSAGE
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
return { code: SpanStatusCode.OK };
|
|
499
|
+
}
|
|
500
|
+
__name(deriveSpanStatus, "deriveSpanStatus");
|
|
501
|
+
function formatExportError(err) {
|
|
502
|
+
if (!err) return 'error="unknown"';
|
|
503
|
+
const extra = err;
|
|
504
|
+
const msg = err.message || err.name || "unknown";
|
|
505
|
+
const parts = [`error=${JSON.stringify(msg)}`];
|
|
506
|
+
if (typeof extra.code === "number") parts.push(`httpCode=${extra.code}`);
|
|
507
|
+
if (typeof extra.data === "string" && extra.data.length > 0) {
|
|
508
|
+
parts.push(`data=${JSON.stringify(extra.data.slice(0, 200))}`);
|
|
509
|
+
}
|
|
510
|
+
return parts.join(" ");
|
|
511
|
+
}
|
|
512
|
+
__name(formatExportError, "formatExportError");
|
|
513
|
+
function hrTimeDiff(start, end) {
|
|
514
|
+
let secs = end[0] - start[0];
|
|
515
|
+
let nanos = end[1] - start[1];
|
|
516
|
+
if (nanos < 0) {
|
|
517
|
+
secs -= 1;
|
|
518
|
+
nanos += 1e9;
|
|
519
|
+
}
|
|
520
|
+
return [secs, nanos];
|
|
521
|
+
}
|
|
522
|
+
__name(hrTimeDiff, "hrTimeDiff");
|
|
523
|
+
|
|
524
|
+
// packages/core/src/telemetry/sdk-exporters-http.ts
|
|
525
|
+
function createHttpExporters(options) {
|
|
526
|
+
const { tracesUrl, logsUrl, metricsUrl } = options;
|
|
527
|
+
let spanExporter;
|
|
528
|
+
let logExporter;
|
|
529
|
+
let metricReader;
|
|
530
|
+
let logToSpanProcessor;
|
|
531
|
+
if (tracesUrl) {
|
|
532
|
+
spanExporter = new import_exporter_trace_otlp_http.OTLPTraceExporter({ url: tracesUrl });
|
|
533
|
+
}
|
|
534
|
+
if (logsUrl) {
|
|
535
|
+
logExporter = new import_exporter_logs_otlp_http.OTLPLogExporter({ url: logsUrl });
|
|
536
|
+
} else if (tracesUrl) {
|
|
537
|
+
logToSpanProcessor = new LogToSpanProcessor(
|
|
538
|
+
new import_exporter_trace_otlp_http.OTLPTraceExporter({ url: tracesUrl }),
|
|
539
|
+
{
|
|
540
|
+
includeSensitiveSpanAttributes: options.logToSpan.includeSensitiveSpanAttributes,
|
|
541
|
+
...options.logToSpan.diagnosticsSink && {
|
|
542
|
+
diagnosticsSink: options.logToSpan.diagnosticsSink
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
);
|
|
546
|
+
}
|
|
547
|
+
if (metricsUrl) {
|
|
548
|
+
metricReader = new import_sdk_metrics.PeriodicExportingMetricReader({
|
|
549
|
+
exporter: new import_exporter_metrics_otlp_http.OTLPMetricExporter({ url: metricsUrl }),
|
|
550
|
+
exportIntervalMillis: 1e4
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
return { spanExporter, logExporter, metricReader, logToSpanProcessor };
|
|
554
|
+
}
|
|
555
|
+
__name(createHttpExporters, "createHttpExporters");
|
|
556
|
+
export {
|
|
557
|
+
createHttpExporters
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* @license
|
|
561
|
+
* Copyright 2025 Google LLC
|
|
562
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
563
|
+
*/
|