@qwen-code/qwen-code 0.23.1-preview.2 → 0.23.2-nightly.20260909.2e212144d3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -15
- package/bundled/computer-use/SKILL.md +189 -116
- package/bundled/goal-draft/SKILL.md +23 -13
- package/bundled/qc-helper/docs/_meta.ts +1 -0
- package/bundled/qc-helper/docs/configuration/auth.md +1 -1
- package/bundled/qc-helper/docs/configuration/model-providers.md +66 -16
- package/bundled/qc-helper/docs/configuration/settings.md +50 -0
- package/bundled/qc-helper/docs/conversations-recovery.md +102 -0
- package/bundled/qc-helper/docs/features/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/dingtalk.md +1 -1
- package/bundled/qc-helper/docs/features/channels/github.md +1 -9
- package/bundled/qc-helper/docs/features/channels/overview.md +27 -52
- package/bundled/qc-helper/docs/features/channels/qqbot.md +1 -2
- package/bundled/qc-helper/docs/features/commands.md +79 -17
- package/bundled/qc-helper/docs/features/computer-use.md +9 -7
- package/bundled/qc-helper/docs/features/cross-session-protocol.md +291 -0
- package/bundled/qc-helper/docs/features/followup-suggestions.md +2 -2
- package/bundled/qc-helper/docs/features/goals.md +17 -3
- package/bundled/qc-helper/docs/features/sub-agents.md +8 -0
- package/bundled/qc-helper/docs/qwen-serve.md +80 -48
- package/chunks/{MaxSizedBox-IYIQ43IZ.js → MaxSizedBox-ZBGWYJZW.js} +29 -28
- package/chunks/{StandaloneSessionPicker-AWB2OHX6.js → StandaloneSessionPicker-NR5ACIJZ.js} +48 -47
- package/chunks/{acp-startup-profiler-BAL4LJTN.js → acp-startup-profiler-KEU6VAYR.js} +2 -2
- package/chunks/{acpAgent-ZC57OLS4.js → acpAgent-DM6XRCDQ.js} +361 -210
- package/chunks/{agent-GEBPAEJS.js → agent-EF3IIYE3.js} +20 -20
- package/chunks/{agent-headless-63ZEYAJK.js → agent-headless-5J2KFYR4.js} +20 -20
- package/chunks/{anthropicContentGenerator-6XDHXIII.js → anthropicContentGenerator-VIW2FG7G.js} +32 -9
- package/chunks/{artifact-tool-P52OKKEF.js → artifact-tool-G5LHNECG.js} +1 -1
- package/chunks/{askUserQuestion-3KAYLLMM.js → askUserQuestion-R3TXY77M.js} +1 -1
- package/chunks/{bridge-MHWO5I5T.js → bridge-LEMQM6QE.js} +32 -31
- package/chunks/{channel-management-service-NFRZXQFO.js → channel-management-service-TGF6XFXT.js} +4 -4
- package/chunks/{channel-settings-store-T7PMIHKC.js → channel-settings-store-FV365JSF.js} +40 -39
- package/chunks/{channel-worker-group-O2BWK5F7.js → channel-worker-group-SQ5FRWOH.js} +7 -7
- package/chunks/{channel-worker-manager-4WP7VJOD.js → channel-worker-manager-TU4ZNWOE.js} +7 -7
- package/chunks/{channel-worker-supervisor-CCUXD6J5.js → channel-worker-supervisor-EMITFMCP.js} +4 -4
- package/chunks/{chunk-3SH53ANB.js → chunk-22GORRNY.js} +12 -0
- package/chunks/{chunk-OFB36ZBA.js → chunk-2HYOOFDS.js} +10 -7
- package/chunks/chunk-2Z3T52OC.js +82 -0
- package/chunks/{chunk-LYHYXJJ3.js → chunk-34VPADLG.js} +3 -3
- package/chunks/{chunk-C7M445SS.js → chunk-3A2IMUDH.js} +14 -2
- package/chunks/{chunk-P5Z7VD23.js → chunk-3O77M472.js} +294 -87
- package/chunks/{chunk-4OCYWXKF.js → chunk-43EUMPKQ.js} +3 -3
- package/chunks/{chunk-W4LL5RZO.js → chunk-4ALNJDHL.js} +52 -13
- package/chunks/{chunk-VMFPZXRT.js → chunk-4DIMJKWU.js} +64 -43
- package/chunks/{chunk-ZRVFHLLK.js → chunk-5DQ4YTIZ.js} +1 -1
- package/chunks/{chunk-VYCJITND.js → chunk-5HV2HPO7.js} +1 -1
- package/chunks/{chunk-22QOQKG4.js → chunk-5WBA3DEF.js} +1 -1
- package/chunks/{chunk-3K65MUKD.js → chunk-65I7S4Z3.js} +2 -1
- package/chunks/{chunk-I7UNCY24.js → chunk-6GAYNM3F.js} +3 -3
- package/chunks/{chunk-2C3XDBGL.js → chunk-6S7YYUUH.js} +4 -4
- package/chunks/{chunk-Y3C5COGI.js → chunk-6VIATHL7.js} +1 -1
- package/chunks/{chunk-XNC2TCUO.js → chunk-76I36BEM.js} +4 -4
- package/chunks/{chunk-B54PFQS5.js → chunk-7CLLH5TI.js} +1 -1
- package/chunks/{chunk-RGAQDQ3Z.js → chunk-7IDZFJAV.js} +18 -9
- package/chunks/{chunk-5Z4FCEPY.js → chunk-7K4GGN3D.js} +606 -109
- package/chunks/{chunk-WLZRMF3C.js → chunk-7KZVXJ4U.js} +353 -11
- package/chunks/{chunk-REDVV5NC.js → chunk-7WCJEY3A.js} +7 -7
- package/chunks/{chunk-I67KJGM6.js → chunk-A7QZIGRB.js} +3 -3
- package/chunks/{chunk-SHX2HIE7.js → chunk-ATBLEXXV.js} +7 -2
- package/chunks/{chunk-RH344FKI.js → chunk-AUTUFD5X.js} +1 -1
- package/chunks/chunk-AXMWHKXA.js +42 -0
- package/chunks/{chunk-WFXD5OZH.js → chunk-AXWTG6R7.js} +2 -5
- package/chunks/{chunk-TSLRORQR.js → chunk-BDAVT6K2.js} +1809 -1588
- package/chunks/{chunk-HWZOOSEB.js → chunk-BDP3NTWD.js} +3 -3
- package/chunks/{chunk-RD3VPM4E.js → chunk-BZUHZCUO.js} +2 -2
- package/chunks/{chunk-HPE4LEWX.js → chunk-C24ZDDNY.js} +1 -1
- package/chunks/{chunk-R7TKFIQO.js → chunk-CALNF3Z3.js} +1 -1
- package/chunks/{chunk-RPFJJ33Z.js → chunk-CALTQWTZ.js} +1 -1
- package/chunks/{chunk-BF3RUIVP.js → chunk-CH2YDT6X.js} +36 -38
- package/chunks/{chunk-LD53HMPV.js → chunk-CRZBDVP2.js} +1 -0
- package/chunks/{chunk-GEV66YGE.js → chunk-D6AGS266.js} +1 -1
- package/chunks/{chunk-EPZWBYQI.js → chunk-D7DFZAK2.js} +19 -11
- package/chunks/{chunk-5V4B3EWA.js → chunk-DARWOZY6.js} +1 -1
- package/chunks/{chunk-XX4MBBFW.js → chunk-DGNRLJ6S.js} +4 -4
- package/chunks/{chunk-UTVIIA7N.js → chunk-DVOCOIS5.js} +1 -1
- package/chunks/{chunk-RQNAO42A.js → chunk-E4LXNQAK.js} +1 -1
- package/chunks/{chunk-EGRFCIXD.js → chunk-EATP5QCN.js} +84 -25
- package/chunks/{chunk-3RMVM33U.js → chunk-EDSU3VUG.js} +12 -5
- package/chunks/{chunk-733KQL63.js → chunk-EE5ZD4XU.js} +3 -3
- package/chunks/{chunk-QQGAR64U.js → chunk-EN3Q2S3J.js} +4 -4
- package/chunks/{chunk-PLUAIHZO.js → chunk-EOLGAQ25.js} +17 -16
- package/chunks/{chunk-37SOBIA3.js → chunk-ERXNTINK.js} +1 -1
- package/chunks/{chunk-L36LLVA5.js → chunk-EYCW6UF2.js} +7 -7
- package/chunks/{chunk-ZELCTN6Y.js → chunk-F23YN37B.js} +10 -0
- package/chunks/{chunk-FPGTNKCP.js → chunk-F3M6P6IQ.js} +199 -1
- package/chunks/{chunk-B44JBZBB.js → chunk-F4SAL7WM.js} +91 -3
- package/chunks/{chunk-F47DITLZ.js → chunk-FAWTMDX7.js} +14 -0
- package/chunks/{chunk-SI6Q52UI.js → chunk-FEEVHJOR.js} +3 -3
- package/chunks/{chunk-75UQFGFE.js → chunk-FN4KHWCL.js} +1 -1
- package/chunks/{chunk-WQBR7LN5.js → chunk-FRS3P7MQ.js} +15 -2
- package/chunks/{chunk-5JLQWQK6.js → chunk-FV4DM2M4.js} +2 -2
- package/chunks/{chunk-Z6DDPSGJ.js → chunk-GNY7B3CA.js} +1 -1
- package/chunks/{chunk-FDOGGKAA.js → chunk-GSFV5RQW.js} +2 -0
- package/chunks/{chunk-XBVNNDPK.js → chunk-GSYD7MYP.js} +8 -3
- package/chunks/{chunk-ERMAXPXA.js → chunk-HIXUUCGY.js} +187 -12
- package/chunks/{chunk-EJNYBDYC.js → chunk-HNLMYDQE.js} +1 -1
- package/chunks/{chunk-3K456UJF.js → chunk-HSO6D4KX.js} +93 -28
- package/chunks/{chunk-ANVC5CSK.js → chunk-HUJJFSMO.js} +10 -10
- package/chunks/{chunk-C4NXRR7T.js → chunk-HW4MRP4V.js} +2 -2
- package/chunks/{chunk-PMGWY6ZP.js → chunk-HWLLUDIA.js} +113 -18
- package/chunks/{chunk-RCUWMVN3.js → chunk-HZ2HUXX7.js} +1 -1
- package/chunks/{chunk-7PMKXGRP.js → chunk-IKK6NNS6.js} +91 -31
- package/chunks/{chunk-IMWCUWQT.js → chunk-J3TJH52D.js} +1 -1
- package/chunks/{chunk-BNWIX6BM.js → chunk-JFAGT5YG.js} +3 -3
- package/chunks/{chunk-RSU3I6UL.js → chunk-JGTMTJSQ.js} +1 -1
- package/chunks/{chunk-LTCI6ZOJ.js → chunk-JYGIJA4W.js} +1 -1
- package/chunks/{chunk-537SQ2AI.js → chunk-KECCLCXM.js} +146 -24
- package/chunks/{chunk-KAZWXVI3.js → chunk-KEPC5BOL.js} +5 -5
- package/chunks/{chunk-HZS3JRQW.js → chunk-L5VHJYHH.js} +40 -2
- package/chunks/{chunk-KTLT7VCX.js → chunk-LKBOBUA2.js} +2 -2
- package/chunks/{chunk-TDHVOZ65.js → chunk-LOBKNYPR.js} +2 -2
- package/chunks/{chunk-QW7BUOSI.js → chunk-LOVGQ3HZ.js} +26 -9
- package/chunks/{chunk-5FYGZ7E3.js → chunk-MUF4UGPB.js} +2 -2
- package/chunks/chunk-N3Z6Q7KC.js +384 -0
- package/chunks/{chunk-JOV46WGX.js → chunk-NB3NDQQK.js} +1 -1
- package/chunks/chunk-NFXXBWSE.js +463 -0
- package/chunks/chunk-NOO4QFXM.js +171 -0
- package/chunks/{chunk-PQSCGZT2.js → chunk-NPKCVSXX.js} +26 -2
- package/chunks/{chunk-FXYNIZPW.js → chunk-NV4YYXFT.js} +51 -10
- package/chunks/{chunk-FWH4736Q.js → chunk-O6BFERWN.js} +3 -3
- package/chunks/{chunk-UKADFFL2.js → chunk-OFVAS4AR.js} +1 -1
- package/chunks/{chunk-C55CR5I4.js → chunk-OVTPETDL.js} +6 -6
- package/chunks/chunk-PLEBBGHL.js +1401 -0
- package/chunks/{chunk-Z6KFLEG7.js → chunk-PSPAM24S.js} +1 -0
- package/chunks/{chunk-RRCNEW2A.js → chunk-PWR6BQ3U.js} +58 -4
- package/chunks/{chunk-SHK2SIR5.js → chunk-QA2B26PL.js} +4 -4
- package/chunks/{chunk-NFIDVZND.js → chunk-QB3KS3N3.js} +2 -21
- package/chunks/{chunk-NUQFUXOG.js → chunk-QTNCGZHQ.js} +2 -0
- package/chunks/{chunk-QJVZLILI.js → chunk-R7OO56VZ.js} +1 -1
- package/chunks/{chunk-MFCWL4LI.js → chunk-SK6VACCM.js} +936 -481
- package/chunks/{chunk-SD7Y2PMC.js → chunk-SM66GFKJ.js} +2 -2
- package/chunks/{chunk-ADJD4LZF.js → chunk-SNMUO5Z7.js} +1 -1
- package/chunks/{chunk-NXWYCSPL.js → chunk-SOA4HKRJ.js} +1 -1
- package/chunks/{chunk-IRKQ4YYX.js → chunk-SVWWF5TZ.js} +29 -1
- package/chunks/{chunk-YLFICBYK.js → chunk-SYKPMH2X.js} +3 -3
- package/chunks/{chunk-5HBA2Z7V.js → chunk-TGNNLRC3.js} +2 -3
- package/chunks/{chunk-AX23QSX3.js → chunk-TRQNRP2H.js} +4 -4
- package/chunks/{chunk-AUJOWIT5.js → chunk-UQOP2APG.js} +4 -24
- package/chunks/{chunk-HY3DXYZK.js → chunk-UYDQYDW2.js} +1 -1
- package/chunks/{chunk-IGOIYZBG.js → chunk-VAWM3A5N.js} +2 -2
- package/chunks/{chunk-6KYWU726.js → chunk-VJJXG73H.js} +417 -292
- package/chunks/{chunk-ZNI3V2XA.js → chunk-VJWJOKOQ.js} +2 -2
- package/chunks/{chunk-AWDF462I.js → chunk-VR6Y23FW.js} +2 -2
- package/chunks/{chunk-T7TP5UQL.js → chunk-VX2NR3SD.js} +21 -6
- package/chunks/{chunk-65GHQ4FX.js → chunk-WDVV3LRM.js} +707 -216
- package/chunks/{chunk-KP5QK3FB.js → chunk-WEU6O6VN.js} +397 -54
- package/chunks/{chunk-OHOO527W.js → chunk-WG7BL3FY.js} +52 -2
- package/chunks/{chunk-VU7O7CGQ.js → chunk-XDNFODER.js} +1 -1
- package/chunks/{chunk-YHDGABDC.js → chunk-XKBFYTCD.js} +1 -1
- package/chunks/{chunk-RUMSY4ES.js → chunk-Y7YHAY32.js} +28 -10
- package/chunks/{chunk-7IKXTGZT.js → chunk-YI2YCNSP.js} +1 -1
- package/chunks/{chunk-B5FF3LRF.js → chunk-YIE6REQ5.js} +29 -17
- package/chunks/{chunk-E4VX6LXB.js → chunk-YZTGGCEE.js} +10 -2
- package/chunks/{chunk-TXAEXF2B.js → chunk-ZEFWBG2C.js} +737 -1136
- package/chunks/{chunk-AIMZIXZM.js → chunk-ZM2TCZZ7.js} +5 -7
- package/chunks/{chunk-ZT3XUGSU.js → chunk-ZZ7RVOTU.js} +135 -26
- package/chunks/{config-utils-F4CFJ4MW.js → config-utils-SXFK3G4X.js} +33 -32
- package/chunks/{contextCommand-OIIGGOMU.js → contextCommand-QFPD26QO.js} +31 -30
- package/chunks/{core-runtime-JEHLOGMB.js → core-runtime-VXKNBODM.js} +35 -33
- package/chunks/{create-sub-session-MVFBE5RA.js → create-sub-session-7WSQETFR.js} +30 -29
- package/chunks/{daemon-LCUELM6E.js → daemon-U2456K5H.js} +2 -2
- package/chunks/{daemon-git-worktree-guard-5FTKLJOU.js → daemon-git-worktree-guard-I4DCSDUS.js} +29 -28
- package/chunks/{daemon-status-provider-P6A5MPMW.js → daemon-status-provider-5UV56RI4.js} +36 -35
- package/chunks/{daemon-trust-policy-ZJ3NFYUO.js → daemon-trust-policy-DKIBWTKU.js} +36 -35
- package/chunks/{daemon-trust-policy-monitor-6SDLEW7S.js → daemon-trust-policy-monitor-CPSD7UKT.js} +36 -35
- package/chunks/{deferred-core-runtime-DWOXIU5S.js → deferred-core-runtime-D2RF35BL.js} +29 -28
- package/chunks/{discovery-TUM3ZQ6U.js → discovery-XP4RMDUM.js} +4 -2
- package/chunks/{dist-P6YWBITG.js → dist-6YDUH3BB.js} +817 -152
- package/chunks/{dist-T4PRA5EZ.js → dist-BNQVF565.js} +2 -8
- package/chunks/{dist-AI25RVRA.js → dist-F34J4FZX.js} +1 -1
- package/chunks/{dist-3H3WODVS.js → dist-F6JLAJLE.js} +1 -1
- package/chunks/{dist-NXW4DUUX.js → dist-K5GHMXIG.js} +2 -2
- package/chunks/{dist-YNQU4CKC.js → dist-NP7QKLVG.js} +2 -2
- package/chunks/{dist-VCAS67N5.js → dist-UFTFGI6I.js} +1 -1
- package/chunks/{dist-I74QLLQS.js → dist-XLV33CLY.js} +1 -2
- package/chunks/{dist-XINEKB5A.js → dist-ZDNJK74R.js} +3 -7
- package/chunks/{edit-WPVXLL3T.js → edit-4IBADZ3O.js} +20 -20
- package/chunks/{enter-worktree-5A6VW6BN.js → enter-worktree-YFTKHXHZ.js} +2 -2
- package/chunks/{enterPlanMode-JSODW7E2.js → enterPlanMode-YN3GPQU5.js} +20 -20
- package/chunks/{environment-5LLJ3I3W.js → environment-E272IJMF.js} +32 -31
- package/chunks/{errors-IQT3YZEP.js → errors-CVAH3RWQ.js} +31 -30
- package/chunks/{exit-worktree-QV7E7KP6.js → exit-worktree-NF2XEMES.js} +3 -3
- package/chunks/{exitPlanMode-DDVFYNW4.js → exitPlanMode-24J5IHGC.js} +20 -20
- package/chunks/{fast-path-PAUQQEVU.js → fast-path-M5IDBMXF.js} +4 -4
- package/chunks/{fast-path-settings-ISEJPRYE.js → fast-path-settings-SATXY3PD.js} +3 -3
- package/chunks/{glob-SQ7CTZ7F.js → glob-ERBD7JYP.js} +20 -20
- package/chunks/{goal-tools-UWZRCLQB.js → goal-tools-245ULLQT.js} +20 -20
- package/chunks/{handleAutoUpdate-RUPZZTSG.js → handleAutoUpdate-JDZHHZKK.js} +32 -31
- package/chunks/{i18n-SF5MPWEB.js → i18n-LA4D5IXM.js} +32 -29
- package/chunks/{image-gen-Q3RUTVKR.js → image-gen-XP4NNIYG.js} +4 -4
- package/chunks/{initializer-CK4WPYZG.js → initializer-SHPTSWUZ.js} +36 -35
- package/chunks/{installationInfo-IRPQEYRF.js → installationInfo-QEQEPB3G.js} +29 -28
- package/chunks/{list-E3PS3EBJ.js → list-IBHCQWTF.js} +39 -38
- package/chunks/{list-agents-I5TRH3J7.js → list-agents-EDPZCGKN.js} +5 -4
- package/chunks/{llm-JQKBOYAF.js → llm-JAWCQLA4.js} +81 -75
- package/chunks/{llm-content-generator-2QWGBW42.js → llm-content-generator-GOV3A23T.js} +23 -8
- package/chunks/{loadedSettingsAdapter-DGXGVYZS.js → loadedSettingsAdapter-RVE2GNVU.js} +36 -35
- package/chunks/{loggingContentGenerator-ZYURLJKK.js → loggingContentGenerator-SSHNN5YW.js} +22 -22
- package/chunks/{managed-npm-update-HTHR63EA.js → managed-npm-update-BHSTITQO.js} +29 -28
- package/chunks/{mcp-I7G2AEWS.js → mcp-6ZZ7P2HU.js} +36 -35
- package/chunks/{monitor-4R76BCRZ.js → monitor-RKK6GSHG.js} +20 -20
- package/chunks/{nonInteractiveCli-24OQ3VP2.js → nonInteractiveCli-UQHP3G6P.js} +76 -72
- package/chunks/{notebook-edit-PPSH7FEX.js → notebook-edit-YM47A7WO.js} +20 -20
- package/chunks/{open-with-auth-D6JD6LDS.js → open-with-auth-6MVIHMXB.js} +1 -1
- package/chunks/{openaiContentGenerator-K7V5EO7F.js → openaiContentGenerator-FHKDWNI2.js} +11 -11
- package/chunks/{pidfile-TGIUY2GG.js → pidfile-SIIEJEEH.js} +32 -29
- package/chunks/{processUtils-3USXUQWX.js → processUtils-JF7CWBJC.js} +2 -2
- package/chunks/{prompt-terminal-ledger-XHVZRXJI.js → prompt-terminal-ledger-FXXHAEQU.js} +30 -29
- package/chunks/{qwenContentGenerator-MPBOQB64.js → qwenContentGenerator-KFJ77JP6.js} +24 -24
- package/chunks/{qwenOAuth2-BS5D2LYV.js → qwenOAuth2-KX6LVYQ3.js} +4 -4
- package/chunks/{read-file-R256LDWQ.js → read-file-S2NOCBIL.js} +4 -4
- package/chunks/{resumeHistoryUtils-S43LTFHD.js → resumeHistoryUtils-QHHPSQWU.js} +33 -32
- package/chunks/{ripGrep-L7HPZ75Y.js → ripGrep-F6TNOJUO.js} +5 -5
- package/chunks/{run-qwen-serve-CTFL5R6U.js → run-qwen-serve-KYBDQRDD.js} +229 -79
- package/chunks/{runtime-FS5TL6P7.js → runtime-3WNOFLCR.js} +43 -40
- package/chunks/{scheduled-tasks-QXPV3Q35.js → scheduled-tasks-RNBH56DJ.js} +34 -33
- package/chunks/{scheduler-EXU5HMVK.js → scheduler-ERMW7Q7B.js} +31 -30
- package/chunks/{send-message-GQKXGMPI.js → send-message-V5T3NMFM.js} +4 -4
- package/chunks/{serve-ITJC7WNN.js → serve-7NV46RMP.js} +36 -35
- package/chunks/{server-6JQY3PTU.js → server-6RZJR5QF.js} +1358 -932
- package/chunks/{session-PJDEKXD4.js → session-Z4EV7NVV.js} +107 -78
- package/chunks/{session-attachments-root-L37ORSST.js → session-attachments-root-SG5FC52X.js} +29 -28
- package/chunks/{session-pr-refresh-WIFD52YL.js → session-pr-refresh-ILC4Z3ZM.js} +33 -32
- package/chunks/{settings-LO6J5SAZ.js → settings-Y47SPE3X.js} +35 -34
- package/chunks/{shell-ANAFVYGR.js → shell-YBVCOPVO.js} +20 -20
- package/chunks/{skill-SHJWKSPH.js → skill-AXC63EBA.js} +4 -4
- package/chunks/{skill-settings-GX3XHZ5Q.js → skill-settings-AFPAYGLO.js} +35 -34
- package/chunks/{spawnChannel-WE42VBKM.js → spawnChannel-ZFL4J2V3.js} +29 -28
- package/chunks/{standalone-update-CWDIKJRP.js → standalone-update-Y2OZPLNJ.js} +31 -30
- package/chunks/{start-opentui-ui-BBHGFOTF.js → start-opentui-ui-G6TKT4LI.js} +2270 -1026
- package/chunks/{startInteractiveUI-FQX7LUYP.js → startInteractiveUI-YTNDPW7J.js} +1789 -2211
- package/chunks/{task-create-PMAFST2T.js → task-create-MWXJFRRM.js} +3 -3
- package/chunks/{task-list-R2HSY2NC.js → task-list-EYO3FE57.js} +2 -2
- package/chunks/{task-update-JYC57USF.js → task-update-2JJJRHMT.js} +3 -3
- package/chunks/{team-create-WKTPCH6D.js → team-create-BUFLGGSH.js} +20 -20
- package/chunks/{team-delete-CBHVBTPB.js → team-delete-IQZ6XGFI.js} +2 -2
- package/chunks/{team-plan-approval-Y23DL7WR.js → team-plan-approval-OUWWM42U.js} +20 -20
- package/chunks/{terminal-image-renderer-B646HBDW.js → terminal-image-renderer-WH2WV5ES.js} +29 -28
- package/chunks/{theme-manager-BNWESY26.js → theme-manager-5UDRARM2.js} +29 -28
- package/chunks/{tool-search-PVQ5O5Y2.js → tool-search-MCDIRPHN.js} +4 -4
- package/chunks/{total-session-admission-P5Z43KNW.js → total-session-admission-VL27U74Z.js} +33 -32
- package/chunks/{trustedFolders-FH2LT2MZ.js → trustedFolders-MSXT4VDD.js} +30 -29
- package/chunks/{update-relaunch-WOWTKJSN.js → update-relaunch-JKLEWVCB.js} +5 -5
- package/chunks/{updateCheck-3MYFMM35.js → updateCheck-ARTHAJT2.js} +31 -30
- package/chunks/{useAutoAcceptIndicator-Q7ZRRRKO.js → useAutoAcceptIndicator-YEAAGYVU.js} +38 -37
- package/chunks/{validateNonInterActiveAuth-MYEWJX3G.js → validateNonInterActiveAuth-EMRQKH5S.js} +71 -69
- package/chunks/{version-RO2FPO76.js → version-HFQU35WD.js} +3 -1
- package/chunks/{web-fetch-QAKY2LUA.js → web-fetch-QBXAO6VF.js} +7 -7
- package/chunks/{web-search-XA5Z4ZCD.js → web-search-2URQXA3A.js} +201 -13
- package/chunks/{web-shell-static-POZHGGXE.js → web-shell-static-BFDESDD4.js} +5 -4
- package/chunks/{workflow-QFIOCMDM.js → workflow-JDD6WDAH.js} +211 -75
- package/chunks/{workspace-providers-status-B2UD7RAG.js → workspace-providers-status-B4IKR6YJ.js} +38 -37
- package/chunks/{workspace-registration-store-VZLRTI3Q.js → workspace-registration-store-PJ3YHR45.js} +1 -2
- package/chunks/{workspace-registry-GYOGG6TM.js → workspace-registry-WVYJ5UGB.js} +33 -32
- package/chunks/{workspace-runtime-coordinator-7KRXGQ4V.js → workspace-runtime-coordinator-DXL5YVAG.js} +33 -32
- package/chunks/{workspace-service-DJEYGJE4.js → workspace-service-QNGAMVH7.js} +40 -39
- package/chunks/{workspace-skills-status-MOKNESUC.js → workspace-skills-status-BEISJIII.js} +36 -35
- package/chunks/{workspace-trust-reconciler-AXOSUTQW.js → workspace-trust-reconciler-ORYJF5L4.js} +40 -39
- package/chunks/{write-file-QOYVHAKK.js → write-file-DWLKFBTJ.js} +21 -21
- package/chunks/{zoom-image-UCCLGFNC.js → zoom-image-BYVIXSNQ.js} +4 -4
- package/cli.js +13 -13
- package/export-transcript-document.js +123 -119
- package/package.json +4 -4
- package/web-shell/assets/{abnfDiagram-VCTEODGH-CTstZpXw.js → abnfDiagram-VCTEODGH-C_8kzsly.js} +1 -1
- package/web-shell/assets/{arc-DKW0mbPo.js → arc-CDg7Zfpm.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-DkMpJ42t.js → architectureDiagram-5GKGNRK7-DZzdCWyF.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-7Cp1_4i3.js → blockDiagram-NRAW4CY4-DI3B4gyR.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-BfaoSlBK.js → c4Diagram-UCG6FXSJ-CfOgwHZW.js} +1 -1
- package/web-shell/assets/channel-e4xwS72w.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-_n1qzAio.js → chunk-2Q5K7J3B-B_PUth0g.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-0cira5ZV.js → chunk-5VM5RSS4-CrKtvBIL.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DseRXSHC.js → chunk-F27PBJKO-B4z2n8Py.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-BehQWin0.js → chunk-G27WJ6UU-BUtrFEO8.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-B5ftg1Bb.js → chunk-JWPE2WC7-Cqw3aXW0.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D7rnbVdk.js → chunk-LCL6LL3I-CZolnvls.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-2Bp-Orju.js → chunk-POPQ4Y6H-DivgasCa.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-CD2goGva.js → chunk-SVP7TREG--seyb1B6.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DzQt-Rji.js → chunk-XXDRQBXY-D7pHtuVM.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CzXfUUOt.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CzXfUUOt.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-C-BZXSUn.js → cose-bilkent-JH36ORCC-4MWaRF_3.js} +1 -1
- package/web-shell/assets/csv-CX7rUNeC.svg +1 -0
- package/web-shell/assets/{cynefin-OW5HDTMX-BTcvowe1.js → cynefin-OW5HDTMX-nhJhAjgD.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BoUE6K81.js → cynefinDiagram-5FMLGOSQ-NF-PwXlq.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BHxy9xeB.js → dagre-3AP2YEHR-Bu0ncdWP.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DMiJIvDT.js → diagram-S7CK7UJ4-CsvhFHZC.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DXV09Aes.js → diagram-UQ7AKVKN-Ck61sIB3.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-CocpRomV.js → diagram-VSXAHHWV-D0171zrb.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-DL7nqtb4.js → diagram-VX7I27RA-DvdxY4UL.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-CPZ2Jux_.js → diagram-Z3DM3KII-CGGpseiB.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-BX-eVNsX.js → ebnfDiagram-PWID7BFC-K8-QMvY8.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-CPy_Ir6y.js → erDiagram-SSCWMZ5O-D316nAem.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-eknAOte9.js → flowDiagram-A5DVABFB-B7siy_mn.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-crAxw_t7.js → ganttDiagram-EL5Y4UJY-BZQDxzTu.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-M29pa3Tc.js → gitGraphDiagram-WWUBYQGX-DZynLCSV.js} +1 -1
- package/web-shell/assets/{index-C9R-iojE.js → index-9ie6xLTM.js} +1 -1
- package/web-shell/assets/index-DirkXQEg.js +2164 -0
- package/web-shell/assets/index-DzdST_7L.css +36 -0
- package/web-shell/assets/{infoDiagram-RXCK75RN-XqspXdOU.js → infoDiagram-RXCK75RN-B0gr769A.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-C5KFS-7j.js → ishikawaDiagram-5VMMS53U-0pQFfjvX.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-Cc57LVRo.js → journeyDiagram-EYS64GPL-DEGtClWb.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-C81OG-AI.js → kanban-definition-3QL26DDD-CnN8gPzw.js} +1 -1
- package/web-shell/assets/{layout-CFVu37BB.js → layout-C_70RhaT.js} +1 -1
- package/web-shell/assets/{linear-ChBxdtWf.js → linear-BJ2ZLmcq.js} +1 -1
- package/web-shell/assets/{mermaid.core-CMLfue0w.js → mermaid.core-RlY0zPNC.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-DFsvJThp.js → mindmap-definition-FBJOCRG2-CpVAxTNl.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BzpRzM4F.js → pegDiagram-XKGWAZYB-DmrSv3hD.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-Cv0Kankl.js → pieDiagram-E7YTZNPT-CJmgp8KJ.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-Bh2BJ3Ay.js → quadrantDiagram-AXDQQJYC-UsgOyNco.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-y8rNDdDS.js → railroadDiagram-O6MQD6OU-DQ6gMs_W.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C0m2DKJ_.js → requirementDiagram-EFPCY7ZU-DhqadamF.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-BzdGnSF4.js → sankeyDiagram-P5KCCOFB-R4WnURaE.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DPzAVmzz.js → sequenceDiagram-WJ2MYXX4-D7BwMi_D.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-LcHG28Zh.js → sizeCapture-X5ZJPWSS-Bqngz088.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-C1Bzy3IT.js → stateDiagram-HBIQ2CUA-DwaXPGqn.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-8GCQZAvv.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-Bftk8V64.js → swimlanes-XN3QIQJK-BsaLeRDY.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-BoRBF2Yw.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-BfXHcN1A.js → timeline-definition-24CTP7MA-NJ9G-NUU.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-DRSlI9-V.js → vennDiagram-4TSXK5OY-Ca3W4rSq.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CaLmqGau.js → wardleyDiagram-VM6X3IG4-OabvjC-6.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-8lgUT6e8.js → xychartDiagram-S5SC5T6Z-C7rbjvpc.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-2LD5U7Q3.js +0 -114
- package/chunks/chunk-3UMWOKJC.js +0 -78
- package/chunks/chunk-IQAFKVXS.js +0 -22
- package/chunks/chunk-X35VIWWJ.js +0 -276
- package/chunks/chunk-ZJ2LM2SI.js +0 -198
- package/web-shell/assets/channel-CQx7VSAp.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-C-Uz8hHk.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-C-Uz8hHk.js +0 -1
- package/web-shell/assets/index-B4TLaxWs.js +0 -2142
- package/web-shell/assets/index-CCrkEbzz.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-LuuL5byY.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-COmnNq8s.js +0 -8
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-VFFQAOPR.js";
|
|
6
6
|
import {
|
|
7
7
|
formatHistoryGapNotice
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ERXNTINK.js";
|
|
9
9
|
import {
|
|
10
10
|
sanitizeTerminalText
|
|
11
11
|
} from "./chunk-47ECGEJC.js";
|
|
@@ -18,31 +18,32 @@ import {
|
|
|
18
18
|
finalizeOfflineDaemonTranscriptState,
|
|
19
19
|
normalizeDaemonEvent,
|
|
20
20
|
reduceDaemonTranscriptEvents
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KECCLCXM.js";
|
|
22
22
|
import {
|
|
23
23
|
LOAD_REPLAY_META_KEY
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PSPAM24S.js";
|
|
25
25
|
import {
|
|
26
26
|
isGoalCheckpointBookkeepingRecord,
|
|
27
27
|
projectGoalStateToLegacy
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZEFWBG2C.js";
|
|
29
29
|
import {
|
|
30
|
+
GOAL_PAUSE_REASON_COMMAND,
|
|
30
31
|
observeToolResultBoundary,
|
|
31
32
|
parseGoalSnapshotV2,
|
|
32
33
|
parseGoalStateCause,
|
|
33
34
|
parseGoalStateRecordPayloadV2,
|
|
34
35
|
toolResultBoundaryArtifact
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BDAVT6K2.js";
|
|
36
37
|
import {
|
|
37
38
|
TranscriptRecordPreparationError,
|
|
38
39
|
prepareTranscriptRecords,
|
|
39
40
|
projectUserTranscriptForDisplay,
|
|
40
41
|
stripGeneratedAttachmentTokens
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-GSFV5RQW.js";
|
|
42
43
|
import {
|
|
43
44
|
formatVisionBridgeNoticeDisplay,
|
|
44
45
|
isVisionBridgeNoticeDisplay
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FRS3P7MQ.js";
|
|
46
47
|
import {
|
|
47
48
|
SchemaValidator,
|
|
48
49
|
ToolNames
|
|
@@ -677,15 +678,16 @@ var DefaultTranscriptReplayMachine = class {
|
|
|
677
678
|
};
|
|
678
679
|
}
|
|
679
680
|
*projectUserRecord(record, emit, meta) {
|
|
681
|
+
const userMeta = typeof record.daemonPromptId === "string" && record.daemonPromptId.trim().length > 0 ? { ...meta, extra: { ...meta.extra, promptId: record.daemonPromptId } } : meta;
|
|
680
682
|
const payload = isObjectRecord(record.systemPayload) ? record.systemPayload : void 0;
|
|
681
683
|
const replayMeta = record.subtype === "mid_turn_user_message" ? {
|
|
682
|
-
...
|
|
684
|
+
...userMeta,
|
|
683
685
|
extra: {
|
|
684
|
-
...
|
|
686
|
+
...userMeta.extra,
|
|
685
687
|
source: "mid_turn_message_injected",
|
|
686
688
|
qwenDiscreteMessage: true
|
|
687
689
|
}
|
|
688
|
-
} :
|
|
690
|
+
} : userMeta;
|
|
689
691
|
if (record.subtype === "goal_runtime" || record.subtype === "notification" || record.subtype === "cron" || record.subtype === "mid_turn_user_message") {
|
|
690
692
|
const displayText = payload && typeof payload["displayText"] === "string" ? stripGeneratedAttachmentTokens(payload["displayText"], payload) : void 0;
|
|
691
693
|
if (record.subtype === "mid_turn_user_message" && displayText === "") {
|
|
@@ -925,6 +927,39 @@ var DefaultTranscriptReplayMachine = class {
|
|
|
925
927
|
}
|
|
926
928
|
}
|
|
927
929
|
*projectSystemRecord(record, emit, meta) {
|
|
930
|
+
if (record.subtype === "agent_session_ready") {
|
|
931
|
+
const payload2 = isObjectRecord(record.systemPayload) ? record.systemPayload : void 0;
|
|
932
|
+
if (typeof payload2?.["callId"] !== "string" || payload2["callId"].length === 0 || typeof payload2["subagentSessionReady"] !== "boolean") {
|
|
933
|
+
this.report(
|
|
934
|
+
"malformed_agent_session_ready",
|
|
935
|
+
"Skipped a malformed subagent session readiness record.",
|
|
936
|
+
record.uuid,
|
|
937
|
+
"systemPayload"
|
|
938
|
+
);
|
|
939
|
+
return;
|
|
940
|
+
}
|
|
941
|
+
const callId = payload2["callId"];
|
|
942
|
+
if (!this.pendingToolCalls.has(callId)) {
|
|
943
|
+
this.report(
|
|
944
|
+
"orphan_agent_session_ready",
|
|
945
|
+
"Skipped subagent readiness without a matching pending tool call.",
|
|
946
|
+
record.uuid,
|
|
947
|
+
"systemPayload.callId"
|
|
948
|
+
);
|
|
949
|
+
return;
|
|
950
|
+
}
|
|
951
|
+
yield emit({
|
|
952
|
+
sessionUpdate: "tool_call_update",
|
|
953
|
+
toolCallId: callId,
|
|
954
|
+
_meta: buildUpdateMeta({
|
|
955
|
+
...meta,
|
|
956
|
+
extra: {
|
|
957
|
+
subagentSessionReady: payload2["subagentSessionReady"]
|
|
958
|
+
}
|
|
959
|
+
})
|
|
960
|
+
});
|
|
961
|
+
return;
|
|
962
|
+
}
|
|
928
963
|
if (record.subtype === "goal_state") {
|
|
929
964
|
const payload2 = parseGoalStateRecordPayloadV2(record.systemPayload);
|
|
930
965
|
if (!payload2) {
|
|
@@ -1166,6 +1201,7 @@ function projectGoalControlCommand(cause, snapshot) {
|
|
|
1166
1201
|
case "edit":
|
|
1167
1202
|
return snapshot.goal ? `/goal edit ${snapshot.goal.objective}` : void 0;
|
|
1168
1203
|
case "pause":
|
|
1204
|
+
return snapshot.goal?.lastReason === void 0 || snapshot.goal.lastReason === GOAL_PAUSE_REASON_COMMAND ? `/goal ${cause}` : void 0;
|
|
1169
1205
|
case "resume":
|
|
1170
1206
|
case "clear":
|
|
1171
1207
|
return `/goal ${cause}`;
|
|
@@ -1681,6 +1717,7 @@ var ToolCallEmitter = class _ToolCallEmitter extends BaseEmitter {
|
|
|
1681
1717
|
asUpdate: updatesPreparedCall,
|
|
1682
1718
|
extra: {
|
|
1683
1719
|
...params.phase ? { phase: params.phase } : {},
|
|
1720
|
+
...params.toolName === ToolNames.AGENT && !params.subagentMeta ? { subagentSessionReady: false } : {},
|
|
1684
1721
|
...params.subagentMeta,
|
|
1685
1722
|
provenance: provenance.provenance,
|
|
1686
1723
|
...provenance.serverId ? { serverId: provenance.serverId } : {}
|
|
@@ -2803,7 +2840,7 @@ async function collectSessionMetadata(conversation, config) {
|
|
|
2803
2840
|
const gitBranch = firstRecord?.gitBranch;
|
|
2804
2841
|
let gitRepo;
|
|
2805
2842
|
if (cwd) {
|
|
2806
|
-
const { getGitRepoName } = await import("./deferred-core-runtime-
|
|
2843
|
+
const { getGitRepoName } = await import("./deferred-core-runtime-D2RF35BL.js");
|
|
2807
2844
|
gitRepo = getGitRepoName(cwd);
|
|
2808
2845
|
}
|
|
2809
2846
|
let model;
|
|
@@ -3592,14 +3629,14 @@ var DOCUMENT_HTML_TEMPLATE = `<!doctype html>
|
|
|
3592
3629
|
<script
|
|
3593
3630
|
nonce="__EXPORT_NONCE__"
|
|
3594
3631
|
id="transcript-renderer"
|
|
3595
|
-
integrity="sha384-
|
|
3632
|
+
integrity="sha384-hFUuBMJaNSOv5VsxboI8oVqzUmy4bfhJPTTsfURS/1V3Zk7GdvxuFn81TveJXE1b"
|
|
3596
3633
|
crossorigin="anonymous"
|
|
3597
|
-
src="https://unpkg.com/@qwen-code/qwen-code@0.23.
|
|
3634
|
+
src="https://unpkg.com/@qwen-code/qwen-code@0.23.2-nightly.20260909.2e212144d3/export-transcript-document.js"
|
|
3598
3635
|
></script>
|
|
3599
3636
|
</body>
|
|
3600
3637
|
</html>
|
|
3601
3638
|
`;
|
|
3602
|
-
var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.23.
|
|
3639
|
+
var EXPORT_TRANSCRIPT_RENDERER_VERSION = "0.23.2-nightly.20260909.2e212144d3+702b7a5a7c6ec9f8";
|
|
3603
3640
|
var EXPORT_TRANSCRIPT_RENDERER_LIMITS = Object.freeze({
|
|
3604
3641
|
maxBlocks: 1e3,
|
|
3605
3642
|
maxEnvelopeBytes: 33554432
|
|
@@ -3984,15 +4021,16 @@ var DefaultTranscriptReplayMachine2 = class {
|
|
|
3984
4021
|
};
|
|
3985
4022
|
}
|
|
3986
4023
|
*projectUserRecord(record, emit, meta) {
|
|
4024
|
+
const userMeta = typeof record.daemonPromptId === "string" && record.daemonPromptId.trim().length > 0 ? { ...meta, extra: { ...meta.extra, promptId: record.daemonPromptId } } : meta;
|
|
3987
4025
|
const payload = isObjectRecord2(record.systemPayload) ? record.systemPayload : void 0;
|
|
3988
4026
|
const replayMeta = record.subtype === "mid_turn_user_message" ? {
|
|
3989
|
-
...
|
|
4027
|
+
...userMeta,
|
|
3990
4028
|
extra: {
|
|
3991
|
-
...
|
|
4029
|
+
...userMeta.extra,
|
|
3992
4030
|
source: "mid_turn_message_injected",
|
|
3993
4031
|
qwenDiscreteMessage: true
|
|
3994
4032
|
}
|
|
3995
|
-
} :
|
|
4033
|
+
} : userMeta;
|
|
3996
4034
|
if (record.subtype === "goal_runtime" || record.subtype === "notification" || record.subtype === "cron" || record.subtype === "mid_turn_user_message") {
|
|
3997
4035
|
const displayText = payload && typeof payload["displayText"] === "string" ? stripGeneratedAttachmentTokens(payload["displayText"], payload) : void 0;
|
|
3998
4036
|
if (record.subtype === "mid_turn_user_message" && displayText === "") {
|
|
@@ -4180,6 +4218,29 @@ var DefaultTranscriptReplayMachine2 = class {
|
|
|
4180
4218
|
}
|
|
4181
4219
|
}
|
|
4182
4220
|
*projectSystemRecord(record, emit, meta) {
|
|
4221
|
+
if (record.subtype === "agent_session_ready") {
|
|
4222
|
+
const payload2 = isObjectRecord2(record.systemPayload) ? record.systemPayload : void 0;
|
|
4223
|
+
if (typeof payload2?.["callId"] !== "string" || payload2["callId"].length === 0 || typeof payload2["subagentSessionReady"] !== "boolean") {
|
|
4224
|
+
this.report("malformed_agent_session_ready", "Skipped a malformed subagent session readiness record.", record.uuid, "systemPayload");
|
|
4225
|
+
return;
|
|
4226
|
+
}
|
|
4227
|
+
const callId = payload2["callId"];
|
|
4228
|
+
if (!this.pendingToolCalls.has(callId)) {
|
|
4229
|
+
this.report("orphan_agent_session_ready", "Skipped subagent readiness without a matching pending tool call.", record.uuid, "systemPayload.callId");
|
|
4230
|
+
return;
|
|
4231
|
+
}
|
|
4232
|
+
yield emit({
|
|
4233
|
+
sessionUpdate: "tool_call_update",
|
|
4234
|
+
toolCallId: callId,
|
|
4235
|
+
_meta: buildUpdateMeta2({
|
|
4236
|
+
...meta,
|
|
4237
|
+
extra: {
|
|
4238
|
+
subagentSessionReady: payload2["subagentSessionReady"]
|
|
4239
|
+
}
|
|
4240
|
+
})
|
|
4241
|
+
});
|
|
4242
|
+
return;
|
|
4243
|
+
}
|
|
4183
4244
|
if (record.subtype === "goal_state") {
|
|
4184
4245
|
const payload2 = parseGoalStateRecordPayloadV2(record.systemPayload);
|
|
4185
4246
|
if (!payload2) {
|
|
@@ -4377,6 +4438,7 @@ function projectGoalControlCommand2(cause, snapshot) {
|
|
|
4377
4438
|
case "edit":
|
|
4378
4439
|
return snapshot.goal ? `/goal edit ${snapshot.goal.objective}` : void 0;
|
|
4379
4440
|
case "pause":
|
|
4441
|
+
return snapshot.goal?.lastReason === void 0 || snapshot.goal.lastReason === GOAL_PAUSE_REASON_COMMAND ? `/goal ${cause}` : void 0;
|
|
4380
4442
|
case "resume":
|
|
4381
4443
|
case "clear":
|
|
4382
4444
|
return `/goal ${cause}`;
|
|
@@ -5551,6 +5613,28 @@ var export_transcript_document_v1_schema_default = {
|
|
|
5551
5613
|
toolResultPreview: {
|
|
5552
5614
|
oneOf: [
|
|
5553
5615
|
{ $ref: "#/$defs/todoPreview" },
|
|
5616
|
+
{
|
|
5617
|
+
type: "object",
|
|
5618
|
+
additionalProperties: false,
|
|
5619
|
+
required: ["kind", "text", "answers"],
|
|
5620
|
+
properties: {
|
|
5621
|
+
kind: { const: "question_answers" },
|
|
5622
|
+
text: { type: "string", maxLength: 409600 },
|
|
5623
|
+
answers: {
|
|
5624
|
+
type: "array",
|
|
5625
|
+
maxItems: 1e3,
|
|
5626
|
+
items: {
|
|
5627
|
+
type: "object",
|
|
5628
|
+
additionalProperties: false,
|
|
5629
|
+
required: ["question", "answer"],
|
|
5630
|
+
properties: {
|
|
5631
|
+
question: { type: "string", maxLength: 409600 },
|
|
5632
|
+
answer: { type: "string", maxLength: 409600 }
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5637
|
+
},
|
|
5554
5638
|
{
|
|
5555
5639
|
type: "object",
|
|
5556
5640
|
additionalProperties: false,
|
|
@@ -19581,6 +19665,16 @@ function sanitizeResultPreview(preview, budget, _diagnostics, ids) {
|
|
|
19581
19665
|
if (preview.kind === "text") {
|
|
19582
19666
|
return { kind: "text", text: budget.text(preview.text) };
|
|
19583
19667
|
}
|
|
19668
|
+
if (preview.kind === "question_answers") {
|
|
19669
|
+
return {
|
|
19670
|
+
kind: "question_answers",
|
|
19671
|
+
text: budget.plainText(preview.text),
|
|
19672
|
+
answers: budget.array(preview.answers).map(({ question, answer }) => ({
|
|
19673
|
+
question: budget.plainText(question),
|
|
19674
|
+
answer: budget.plainText(answer)
|
|
19675
|
+
}))
|
|
19676
|
+
};
|
|
19677
|
+
}
|
|
19584
19678
|
if (!preview.summary?.trim()) return void 0;
|
|
19585
19679
|
const summary = budget.text(preview.summary);
|
|
19586
19680
|
return summary.trim() ? { kind: "generic", summary } : { kind: "text", text: summary };
|
|
@@ -20293,7 +20387,7 @@ function assertResourceBudgets(value) {
|
|
|
20293
20387
|
__name(assertResourceBudgets, "assertResourceBudgets");
|
|
20294
20388
|
function isMarkdownExportText(key, parent, path3) {
|
|
20295
20389
|
if (path3.at(-2) === "resultPreview") {
|
|
20296
|
-
return key === "text" || key === "summary";
|
|
20390
|
+
return parent?.["kind"] !== "question_answers" && (key === "text" || key === "summary");
|
|
20297
20391
|
}
|
|
20298
20392
|
return key === "text" && ["user", "assistant", "thought", "status", "error"].includes(
|
|
20299
20393
|
String(parent?.["kind"])
|
|
@@ -20337,6 +20431,7 @@ var VISIBLE_EXPORT_TEXT_FIELDS = /* @__PURE__ */ new Set([
|
|
|
20337
20431
|
"command",
|
|
20338
20432
|
"cwd",
|
|
20339
20433
|
"question",
|
|
20434
|
+
"answer",
|
|
20340
20435
|
"path",
|
|
20341
20436
|
"oldText",
|
|
20342
20437
|
"newText",
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
resolveStreamIdleTimeoutMs,
|
|
8
8
|
resolveStreamMaxLifetimeMs,
|
|
9
9
|
withStreamGuards
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SNMUO5Z7.js";
|
|
11
11
|
import {
|
|
12
12
|
OpenAIContentConverter,
|
|
13
13
|
TaggedThinkingParser,
|
|
14
14
|
openaiRequestCaptureContext
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NPKCVSXX.js";
|
|
16
16
|
import {
|
|
17
17
|
safeJsonParse
|
|
18
18
|
} from "./chunk-LNYV4GXX.js";
|
|
@@ -30,8 +30,9 @@ import {
|
|
|
30
30
|
} from "./chunk-PQEISIKS.js";
|
|
31
31
|
import {
|
|
32
32
|
DashScopeOpenAICompatibleProvider,
|
|
33
|
-
DefaultOpenAICompatibleProvider
|
|
34
|
-
|
|
33
|
+
DefaultOpenAICompatibleProvider,
|
|
34
|
+
isOpenRouterHostname
|
|
35
|
+
} from "./chunk-HSO6D4KX.js";
|
|
35
36
|
import {
|
|
36
37
|
getCurrentAgentId
|
|
37
38
|
} from "./chunk-H3Q3RSKZ.js";
|
|
@@ -39,27 +40,28 @@ import {
|
|
|
39
40
|
InvalidStreamError,
|
|
40
41
|
getToolCallPreparations
|
|
41
42
|
} from "./chunk-CFKIH3D3.js";
|
|
42
|
-
import {
|
|
43
|
-
REASONING_EFFORT_TIERS
|
|
44
|
-
} from "./chunk-2LD5U7Q3.js";
|
|
45
43
|
import {
|
|
46
44
|
createChildAbortController
|
|
47
45
|
} from "./chunk-DJ2GSRLV.js";
|
|
48
46
|
import {
|
|
49
47
|
getRateLimitErrorDetails,
|
|
50
48
|
getTransportCode
|
|
51
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-4ALNJDHL.js";
|
|
52
50
|
import {
|
|
53
51
|
ProtocolTagSanitizedEvent,
|
|
54
52
|
logProtocolTagSanitized
|
|
55
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FRS3P7MQ.js";
|
|
56
54
|
import {
|
|
57
55
|
isQwenFamilyWireModel,
|
|
58
56
|
isTieredEffortWireModel
|
|
59
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-GSYD7MYP.js";
|
|
60
58
|
import {
|
|
59
|
+
REASONING_EFFORT_TIERS,
|
|
60
|
+
getGptReasoningCapabilities,
|
|
61
|
+
isReasoningEffortPlaceholder,
|
|
62
|
+
parseModelReasoningCapabilities,
|
|
61
63
|
reconcileMaxTokens
|
|
62
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-F3M6P6IQ.js";
|
|
63
65
|
import {
|
|
64
66
|
redactProxyError
|
|
65
67
|
} from "./chunk-4HOEU2OR.js";
|
|
@@ -516,20 +518,6 @@ var MiMoOpenAICompatibleProvider = class extends DefaultOpenAICompatibleProvider
|
|
|
516
518
|
// packages/core/src/core/openaiContentGenerator/pipeline.ts
|
|
517
519
|
init_esbuild_shims();
|
|
518
520
|
|
|
519
|
-
// packages/core/src/core/openaiContentGenerator/provider/openrouter.ts
|
|
520
|
-
init_esbuild_shims();
|
|
521
|
-
function isOpenRouterHostname(contentGeneratorConfig) {
|
|
522
|
-
const baseUrl = contentGeneratorConfig.baseUrl ?? "";
|
|
523
|
-
if (!baseUrl) return false;
|
|
524
|
-
try {
|
|
525
|
-
const hostname = new URL(baseUrl).hostname.toLowerCase();
|
|
526
|
-
return hostname === "openrouter.ai" || hostname.endsWith(".openrouter.ai");
|
|
527
|
-
} catch {
|
|
528
|
-
return false;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
__name(isOpenRouterHostname, "isOpenRouterHostname");
|
|
532
|
-
|
|
533
521
|
// packages/core/src/core/openaiContentGenerator/streamingToolCallParser.ts
|
|
534
522
|
init_esbuild_shims();
|
|
535
523
|
var debugLogger2 = createDebugLogger("STREAMING_TOOL_CALL_PARSER");
|
|
@@ -1016,6 +1004,28 @@ function asObject(value) {
|
|
|
1016
1004
|
return value;
|
|
1017
1005
|
}
|
|
1018
1006
|
__name(asObject, "asObject");
|
|
1007
|
+
function applyConfiguredReasoningEffort(request, capabilities) {
|
|
1008
|
+
if (!capabilities || capabilities.toggleOnly || !Array.isArray(capabilities.efforts)) {
|
|
1009
|
+
return request;
|
|
1010
|
+
}
|
|
1011
|
+
const loose = request;
|
|
1012
|
+
const reasoning = asObject(loose["reasoning"]);
|
|
1013
|
+
if (!reasoning || !("effort" in reasoning)) return request;
|
|
1014
|
+
const effort = capabilities.efforts.find(
|
|
1015
|
+
(candidate) => candidate === reasoning["effort"]
|
|
1016
|
+
);
|
|
1017
|
+
if (effort && getGptReasoningCapabilities(loose["model"]))
|
|
1018
|
+
return request;
|
|
1019
|
+
const { effort: _drop, ...rest } = reasoning;
|
|
1020
|
+
const next = { ...loose };
|
|
1021
|
+
if (Object.keys(rest).length > 0) next["reasoning"] = rest;
|
|
1022
|
+
else delete next["reasoning"];
|
|
1023
|
+
if (effort && next["reasoning_effort"] === void 0) {
|
|
1024
|
+
next["reasoning_effort"] = effort;
|
|
1025
|
+
}
|
|
1026
|
+
return next;
|
|
1027
|
+
}
|
|
1028
|
+
__name(applyConfiguredReasoningEffort, "applyConfiguredReasoningEffort");
|
|
1019
1029
|
function normalizeSchemaType(value) {
|
|
1020
1030
|
if (typeof value !== "string") return void 0;
|
|
1021
1031
|
const normalized = value.toLowerCase();
|
|
@@ -1467,7 +1477,7 @@ var ContentGenerationPipeline = class {
|
|
|
1467
1477
|
request,
|
|
1468
1478
|
context
|
|
1469
1479
|
);
|
|
1470
|
-
|
|
1480
|
+
let baseRequest = {
|
|
1471
1481
|
model: context.model,
|
|
1472
1482
|
messages,
|
|
1473
1483
|
...this.buildGenerateContentConfig(request),
|
|
@@ -1479,6 +1489,26 @@ var ContentGenerationPipeline = class {
|
|
|
1479
1489
|
} else {
|
|
1480
1490
|
baseRequest.stream = false;
|
|
1481
1491
|
}
|
|
1492
|
+
const authType = this.contentGeneratorConfig.authType;
|
|
1493
|
+
const reasoningCapabilities = authType ? parseModelReasoningCapabilities(
|
|
1494
|
+
this.config.cliConfig.getResolvedModelConfig?.(
|
|
1495
|
+
authType,
|
|
1496
|
+
context.model,
|
|
1497
|
+
this.contentGeneratorConfig.baseUrl
|
|
1498
|
+
)?.capabilities.reasoning
|
|
1499
|
+
) : void 0;
|
|
1500
|
+
if (reasoningCapabilities && !("reasoning" in baseRequest) && this.contentGeneratorConfig.reasoning) {
|
|
1501
|
+
baseRequest = {
|
|
1502
|
+
...baseRequest,
|
|
1503
|
+
reasoning: this.contentGeneratorConfig.reasoning
|
|
1504
|
+
};
|
|
1505
|
+
}
|
|
1506
|
+
if (this.contentGeneratorConfig.samplingParams?.["reasoning"] === void 0 && !isOpenRouterHostname(this.contentGeneratorConfig)) {
|
|
1507
|
+
baseRequest = applyConfiguredReasoningEffort(
|
|
1508
|
+
baseRequest,
|
|
1509
|
+
reasoningCapabilities
|
|
1510
|
+
);
|
|
1511
|
+
}
|
|
1482
1512
|
if (request.config?.tools && request.config.tools.length > 0) {
|
|
1483
1513
|
baseRequest.tools = await OpenAIContentConverter.convertLlmToolsToOpenAI(
|
|
1484
1514
|
request.config.tools,
|
|
@@ -1507,7 +1537,8 @@ var ContentGenerationPipeline = class {
|
|
|
1507
1537
|
const isDashScope = DashScopeOpenAICompatibleProvider.isDashScopeProvider(
|
|
1508
1538
|
this.contentGeneratorConfig
|
|
1509
1539
|
);
|
|
1510
|
-
const
|
|
1540
|
+
const explicitThinkingMandatory = reasoningCapabilities?.canDisable === false || this.requiresThinking(model);
|
|
1541
|
+
const thinkingMandatory = explicitThinkingMandatory || getGptReasoningCapabilities(model)?.thinkingMandatory === true;
|
|
1511
1542
|
const reasoningDisabled = request.config?.thinkingConfig?.includeThoughts === false || this.contentGeneratorConfig.reasoning === false;
|
|
1512
1543
|
if (reasoningDisabled) {
|
|
1513
1544
|
const typed2 = providerRequest;
|
|
@@ -1529,13 +1560,26 @@ var ContentGenerationPipeline = class {
|
|
|
1529
1560
|
};
|
|
1530
1561
|
}
|
|
1531
1562
|
}
|
|
1563
|
+
if (!thinkingMandatory) {
|
|
1564
|
+
if (reasoningCapabilities?.disableField === "reasoning_effort") {
|
|
1565
|
+
delete typed2["enable_thinking"];
|
|
1566
|
+
delete typed2["thinking_budget"];
|
|
1567
|
+
typed2["reasoning_effort"] = "none";
|
|
1568
|
+
} else if (reasoningCapabilities?.disableField === "enable_thinking") {
|
|
1569
|
+
typed2["enable_thinking"] = false;
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1532
1572
|
if ("reasoning" in typed2) {
|
|
1533
1573
|
delete typed2["reasoning"];
|
|
1534
1574
|
}
|
|
1535
1575
|
if ("reasoning_effort" in typed2 && typed2["reasoning_effort"] !== "none") {
|
|
1536
1576
|
delete typed2["reasoning_effort"];
|
|
1537
1577
|
}
|
|
1538
|
-
|
|
1578
|
+
const gptReasoning = getGptReasoningCapabilities(model);
|
|
1579
|
+
if (gptReasoning && !reasoningCapabilities && !gptReasoning.thinkingMandatory && !thinkingMandatory && !isOpenRouterHostname(this.contentGeneratorConfig)) {
|
|
1580
|
+
typed2["reasoning_effort"] = "none";
|
|
1581
|
+
}
|
|
1582
|
+
if (isDeepSeekHostname(this.contentGeneratorConfig) || reasoningCapabilities?.disableField === "thinking") {
|
|
1539
1583
|
typed2["thinking"] = { type: "disabled" };
|
|
1540
1584
|
}
|
|
1541
1585
|
if (!thinkingMandatory && isOpenRouterHostname(this.contentGeneratorConfig)) {
|
|
@@ -1550,6 +1594,13 @@ var ContentGenerationPipeline = class {
|
|
|
1550
1594
|
if (typed2["reasoning_effort"] === "none") {
|
|
1551
1595
|
delete typed2["reasoning_effort"];
|
|
1552
1596
|
}
|
|
1597
|
+
const thinking = asObject(typed2["thinking"]);
|
|
1598
|
+
if (thinking?.["type"] === "disabled") {
|
|
1599
|
+
const remaining = { ...thinking };
|
|
1600
|
+
delete remaining["type"];
|
|
1601
|
+
if (Object.keys(remaining).length > 0) typed2["thinking"] = remaining;
|
|
1602
|
+
else delete typed2["thinking"];
|
|
1603
|
+
}
|
|
1553
1604
|
const chatTemplateKwargs = typed2["chat_template_kwargs"];
|
|
1554
1605
|
if (chatTemplateKwargs?.["enable_thinking"] === false) {
|
|
1555
1606
|
const remaining = { ...chatTemplateKwargs };
|
|
@@ -1564,10 +1615,10 @@ var ContentGenerationPipeline = class {
|
|
|
1564
1615
|
const typed = providerRequest;
|
|
1565
1616
|
const reasoningEffort = typed["reasoning_effort"];
|
|
1566
1617
|
const thinkingBudget = typed["thinking_budget"];
|
|
1567
|
-
if (isDashScope && typed["tool_choice"] === "required" && (
|
|
1618
|
+
if (isDashScope && typed["tool_choice"] === "required" && (explicitThinkingMandatory || isQwenFamilyWireModel(model) && (typed["enable_thinking"] === true || thinkingBudget != null && typed["enable_thinking"] !== false || typeof reasoningEffort === "string" && reasoningEffort !== "none"))) {
|
|
1568
1619
|
debugLogger3.debug(
|
|
1569
1620
|
"DashScope: dropping tool_choice=required while thinking is enabled",
|
|
1570
|
-
{ model, reasoningEffort, thinkingBudget,
|
|
1621
|
+
{ model, reasoningEffort, thinkingBudget, explicitThinkingMandatory }
|
|
1571
1622
|
);
|
|
1572
1623
|
delete typed["tool_choice"];
|
|
1573
1624
|
}
|
|
@@ -1611,10 +1662,19 @@ var ContentGenerationPipeline = class {
|
|
|
1611
1662
|
return value !== void 0 ? { [key]: value } : {};
|
|
1612
1663
|
}, "addParameterIfDefined");
|
|
1613
1664
|
if (configSamplingParams !== void 0) {
|
|
1665
|
+
const rawEffort = {
|
|
1666
|
+
...configSamplingParams,
|
|
1667
|
+
...this.contentGeneratorConfig.extra_body
|
|
1668
|
+
}["reasoning_effort"];
|
|
1669
|
+
const samplingParams = getGptReasoningCapabilities(
|
|
1670
|
+
request.model || this.contentGeneratorConfig.model
|
|
1671
|
+
) && configSamplingParams["reasoning"] === void 0 && (isReasoningEffortPlaceholder(
|
|
1672
|
+
configSamplingParams["reasoning_effort"]
|
|
1673
|
+
) || isReasoningEffortPlaceholder(rawEffort)) ? { ...this.buildReasoningConfig(request), ...configSamplingParams } : configSamplingParams;
|
|
1614
1674
|
const requestMaxTokens = request.config?.maxOutputTokens;
|
|
1615
1675
|
const maxTokens = reconcileMaxTokens(configSamplingParams.max_tokens, requestMaxTokens) ?? configSamplingParams.max_tokens ?? (hasProviderOutputBudgetKey(configSamplingParams) ? void 0 : requestMaxTokens);
|
|
1616
1676
|
return clampProviderOutputBudgetKeys(
|
|
1617
|
-
maxTokens !== void 0 ? { ...
|
|
1677
|
+
maxTokens !== void 0 ? { ...samplingParams, max_tokens: maxTokens } : { ...samplingParams },
|
|
1618
1678
|
requestMaxTokens
|
|
1619
1679
|
);
|
|
1620
1680
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getPlugin,
|
|
5
5
|
supportedTypes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7IDZFJAV.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveChannelCwd
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AUTUFD5X.js";
|
|
10
10
|
import {
|
|
11
11
|
isInternalSecretEnvVar
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-65I7S4Z3.js";
|
|
13
13
|
import {
|
|
14
14
|
APPROVAL_MODES
|
|
15
15
|
} from "./chunk-JX6XHPTX.js";
|