@qwen-code/qwen-code 0.20.2-gdpval-vl-tool.1 → 0.20.2-headless-image-routing.1
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/integration-github-action.md +9 -9
- package/chunks/{MaxSizedBox-42ICHKS7.js → MaxSizedBox-3XQIBACV.js} +17 -19
- package/chunks/{StandaloneSessionPicker-TO5KKJ44.js → StandaloneSessionPicker-PLQQB22E.js} +30 -32
- package/chunks/{acpAgent-RUPSQHXN.js → acpAgent-AIVK2EM5.js} +102 -147
- package/chunks/{agent-JNZ2RCVD.js → agent-QXD5NSKA.js} +16 -18
- package/chunks/{agent-headless-PFFOEECI.js → agent-headless-4VXR2TBK.js} +16 -18
- package/chunks/{anthropicContentGenerator-BGJHONDY.js → anthropicContentGenerator-HGWAHO24.js} +2 -3
- package/chunks/{artifact-tool-KMOJFNXS.js → artifact-tool-56T5IMBP.js} +1 -1
- package/chunks/{askUserQuestion-MPB63OHJ.js → askUserQuestion-E25OBIC2.js} +1 -1
- package/chunks/{bridge-NUGPSV5B.js → bridge-GIBRSPE6.js} +19 -21
- package/chunks/{chunk-PF5UYO5Q.js → chunk-3EK5ZOUQ.js} +1 -1
- package/chunks/{chunk-C73AHBAV.js → chunk-3HFNGB2O.js} +3 -3
- package/chunks/{chunk-FDV3Z2BC.js → chunk-3OAKYHRG.js} +1 -1
- package/chunks/{chunk-2UI7V7R3.js → chunk-46DK772E.js} +4 -4
- package/chunks/{chunk-YCFEI2OV.js → chunk-4DWTDZGS.js} +11 -11
- package/chunks/{chunk-RXHSK2MW.js → chunk-4OWXOUYF.js} +1 -1
- package/chunks/{chunk-RUKBSYT7.js → chunk-4PTLZ3NX.js} +1 -1
- package/chunks/{chunk-RTONGKGB.js → chunk-5GI55PF5.js} +5 -5
- package/chunks/{chunk-7SAZFFHW.js → chunk-5NJTNQUW.js} +1 -1
- package/chunks/{chunk-RCUEYZDE.js → chunk-7362QS5B.js} +2 -36
- package/chunks/{chunk-C4ETCPER.js → chunk-7AUH6A4T.js} +1 -1
- package/chunks/{chunk-PG3JGIRR.js → chunk-7NR2AIK6.js} +1 -1
- package/chunks/{chunk-A7LADCF4.js → chunk-7THPNISK.js} +4 -4
- package/chunks/{chunk-ZOIDHP5S.js → chunk-BSHD62QJ.js} +2 -2
- package/chunks/{chunk-TNPQMHHI.js → chunk-CAS7CB3T.js} +4 -4
- package/chunks/{chunk-Q73YJ7BX.js → chunk-CBOQ3HY7.js} +73 -4
- package/chunks/{chunk-2M4KCHXP.js → chunk-CGLQAVZE.js} +3 -3
- package/chunks/{chunk-WU4D5WUQ.js → chunk-CS2FSS7W.js} +4 -4
- package/chunks/{chunk-5H7WEGFG.js → chunk-DTZY2SH2.js} +1 -1
- package/chunks/{chunk-7EUTGPKC.js → chunk-EBXZ2YGV.js} +1 -1
- package/chunks/{chunk-Y5M7FHK5.js → chunk-ENPCQK44.js} +4 -4
- package/chunks/{chunk-Y2ZUMUZL.js → chunk-EZPB6S2I.js} +1 -1
- package/chunks/{chunk-VABJHFDA.js → chunk-FRPDJNK3.js} +3 -3
- package/chunks/{chunk-PS72KIET.js → chunk-FUFCALSJ.js} +2 -2
- package/chunks/{chunk-SBVVI22Y.js → chunk-FZPTCQY7.js} +1 -1
- package/chunks/{chunk-E5BPCNXZ.js → chunk-H4AR2JQF.js} +2 -2
- package/chunks/{chunk-DIAZD4DX.js → chunk-HIP6TVWA.js} +2 -2
- package/chunks/{chunk-XZNMB7QW.js → chunk-JC26SJ5Y.js} +8 -9
- package/chunks/{chunk-SRQQYF3Z.js → chunk-JZSM2IZ3.js} +3 -3
- package/chunks/{chunk-NAXCIYOA.js → chunk-KPBVP6SL.js} +3 -3
- package/chunks/{chunk-6WKLJQX7.js → chunk-L3KUB6XM.js} +115 -67
- package/chunks/{chunk-VNSKLTSN.js → chunk-L5QZGCRH.js} +1 -1
- package/chunks/{chunk-K4CH43YQ.js → chunk-LESHKUWF.js} +1 -1
- package/chunks/{chunk-T6KYXITU.js → chunk-LLKWRXSS.js} +16 -16
- package/chunks/{chunk-RZ65WFKB.js → chunk-LNDD3IML.js} +1 -1
- package/chunks/{chunk-XQ7BU4AV.js → chunk-LPEONXNV.js} +2 -2
- package/chunks/{chunk-XXJFSC4V.js → chunk-LW2FUYBN.js} +1 -1
- package/chunks/{chunk-DNKFNK6R.js → chunk-LX3COOXF.js} +3 -3
- package/chunks/{chunk-BULDBTYC.js → chunk-M7WBGLYP.js} +0 -2
- package/chunks/{chunk-WGK7MAGV.js → chunk-MA6GYKK7.js} +5 -7
- package/chunks/{chunk-NYRB3MSN.js → chunk-MBOJHHPI.js} +1 -1
- package/chunks/{chunk-IQMMGLER.js → chunk-MDZTPSXO.js} +1 -1
- package/chunks/{chunk-YBE3PTHM.js → chunk-MLYGPZGU.js} +1 -1
- package/chunks/{chunk-UZYKREB7.js → chunk-NPQDJGKU.js} +1 -1
- package/chunks/{chunk-LQ7Y2GRQ.js → chunk-NWZY2SPY.js} +7 -7
- package/chunks/{chunk-5BKCOFFW.js → chunk-O2XSCRCS.js} +31 -33
- package/chunks/{chunk-TU5VYHT4.js → chunk-O4BHWVUD.js} +1 -1
- package/chunks/{chunk-AXHOQ3RJ.js → chunk-OTQ6PSZC.js} +1061 -1428
- package/chunks/{chunk-AENXDZVH.js → chunk-PQIVAWXN.js} +13 -13
- package/chunks/{chunk-7TKBZBV7.js → chunk-Q2YKNMLS.js} +1 -1
- package/chunks/{chunk-FZBG2HS4.js → chunk-Q35QUZDQ.js} +1 -1
- package/chunks/{chunk-BONUXJOS.js → chunk-Q6NAKZTA.js} +4 -4
- package/chunks/{chunk-ABEHP4EQ.js → chunk-QE4KFTBS.js} +3 -3
- package/chunks/{chunk-KC7XCBTP.js → chunk-QKNXKTZX.js} +2 -2
- package/chunks/{chunk-SBVX4EOS.js → chunk-QOZOIPSF.js} +34 -68
- package/chunks/{chunk-XKBFSSZ4.js → chunk-RCWKCN2Z.js} +3 -3
- package/chunks/{chunk-4CG5FAS7.js → chunk-RECUEJ7B.js} +4 -4
- package/chunks/{chunk-TDHRPHZR.js → chunk-RKWX4CMO.js} +4 -4
- package/chunks/{chunk-N3YEMUFU.js → chunk-RWV32G2M.js} +1 -1
- package/chunks/{chunk-DFD65FQV.js → chunk-SQFXI7VK.js} +1 -1
- package/chunks/{chunk-XNTCIMRV.js → chunk-T5B5NQZX.js} +56 -33
- package/chunks/{chunk-I7SIAC4T.js → chunk-T5IO6FZ4.js} +1 -1
- package/chunks/{chunk-7FP7WKMN.js → chunk-TJDW42MV.js} +2 -2
- package/chunks/{chunk-LNOAJP4N.js → chunk-TWVE5ZS5.js} +3 -3
- package/chunks/{chunk-CHVO77PY.js → chunk-VRRF3GW5.js} +1 -1
- package/chunks/{chunk-KFMI4CZ4.js → chunk-WHGVTP7Q.js} +1 -1
- package/chunks/{chunk-HJ4A47AL.js → chunk-XCXYRDHB.js} +15 -15
- package/chunks/{chunk-VYIRF4CR.js → chunk-YM3SZTH4.js} +0 -2
- package/chunks/{chunk-LUCNM4BR.js → chunk-YO2XRXY6.js} +3 -3
- package/chunks/{chunk-HFI23JY4.js → chunk-ZDP2Y2AL.js} +10321 -1690
- package/chunks/{computer-use-L3SQOBAM.js → computer-use-2VIV73WK.js} +16 -18
- package/chunks/{config-utils-3A3NKH4C.js → config-utils-FYTBZLCJ.js} +1 -1
- package/chunks/{contextCommand-H6GAWHPJ.js → contextCommand-XQU7KLIH.js} +18 -20
- package/chunks/{create-sub-session-7VU7EIIU.js → create-sub-session-AZ77LBL3.js} +1 -1
- package/chunks/{create-sub-session-2AY5BJ6T.js → create-sub-session-XDHHC2P4.js} +16 -18
- package/chunks/{cron-create-NDYTP7SC.js → cron-create-KTWJM7QT.js} +1 -1
- package/chunks/{cron-delete-UBWGS4WI.js → cron-delete-2P3I5ULL.js} +1 -1
- package/chunks/{cron-list-ND7XOWNC.js → cron-list-PXDPGEDQ.js} +1 -1
- package/chunks/{daemon-GJRFILYS.js → daemon-RAPSDJH7.js} +18 -168
- package/chunks/{daemon-status-provider-CCL4KK33.js → daemon-status-provider-KQVNB4VA.js} +23 -25
- package/chunks/{earlyInputCapture-HD36OUOE.js → earlyInputCapture-WP5SA3KH.js} +16 -18
- package/chunks/{edit-OJBHWVG6.js → edit-CS6SFEXC.js} +18 -21
- package/chunks/{enter-worktree-KGMO6QQ6.js → enter-worktree-LMAL75DY.js} +16 -18
- package/chunks/{enterPlanMode-PDQC3HTV.js → enterPlanMode-WVJB4DSS.js} +16 -18
- package/chunks/{environment-VEKICJGA.js → environment-6YHC4JAJ.js} +18 -20
- package/chunks/{errors-5SA5BLN6.js → errors-JEYPXX4S.js} +18 -20
- package/chunks/{exit-worktree-ZRMRX2C7.js → exit-worktree-KPFD742L.js} +16 -18
- package/chunks/{exitPlanMode-NOH3TOAH.js → exitPlanMode-UEJS6CDY.js} +16 -18
- package/chunks/{fast-path-4O7MUC7X.js → fast-path-G2N4NRCA.js} +2 -2
- package/chunks/{gemini-M3TQUMEZ.js → gemini-2MDVIOVT.js} +61 -63
- package/chunks/{geminiContentGenerator-FBJTKMNS.js → geminiContentGenerator-ZXTDBMFR.js} +1 -1
- package/chunks/{glob-MEJJWB2L.js → glob-562XFLIZ.js} +16 -18
- package/chunks/{grep-C4CVQJAZ.js → grep-MGEFBDQK.js} +16 -18
- package/chunks/{handleAutoUpdate-TISLFVFV.js → handleAutoUpdate-2VJPAW43.js} +20 -22
- package/chunks/{i18n-5S3Y5NKK.js → i18n-R6HJENXA.js} +17 -19
- package/chunks/{initializer-WAOBUBPF.js → initializer-UOX67ZFQ.js} +21 -23
- package/chunks/{installationInfo-OSCQA3IC.js → installationInfo-NQNY34X3.js} +17 -19
- package/chunks/{list-RZATWVCE.js → list-2Z7KS7ZF.js} +24 -26
- package/chunks/{loadedSettingsAdapter-662HB67T.js → loadedSettingsAdapter-LIYY3LE4.js} +21 -23
- package/chunks/{loop-wakeup-FS5IXH3E.js → loop-wakeup-RNMRVA66.js} +2 -2
- package/chunks/{ls-VWYWZTHH.js → ls-J2ZI5XYK.js} +1 -1
- package/chunks/{lsp-XQHKK6CE.js → lsp-UMS3NUB5.js} +1 -1
- package/chunks/{managed-npm-update-PRI44AGZ.js → managed-npm-update-4KNYSOYC.js} +17 -19
- package/chunks/{mcp-SYZSCE5H.js → mcp-AJ4QW3JA.js} +21 -23
- package/chunks/{monitor-I5KABA3Z.js → monitor-DMHKE4SW.js} +16 -18
- package/chunks/{nonInteractiveCli-U5WR3FCD.js → nonInteractiveCli-PUSO5QF6.js} +52 -52
- package/chunks/{notebook-edit-LOXTW3JH.js → notebook-edit-35SJGEOR.js} +19 -22
- package/chunks/{openaiContentGenerator-W3S2JGNM.js → openaiContentGenerator-5LPAFXPF.js} +9 -11
- package/chunks/{pidfile-ZJ45VVDA.js → pidfile-EH2JW2PB.js} +16 -18
- package/chunks/{processUtils-5QVHTL7P.js → processUtils-GM2I55KF.js} +2 -2
- package/chunks/{qwenContentGenerator-I3OEFORN.js → qwenContentGenerator-HKOYNP7H.js} +19 -21
- package/chunks/{qwenOAuth2-B3WM4QKH.js → qwenOAuth2-NUUYC3V5.js} +9 -11
- package/chunks/{read-file-FLOUJKC7.js → read-file-JZ5VXILQ.js} +6 -8
- package/chunks/{read-mcp-resource-T7EMXEBK.js → read-mcp-resource-F6HYMDUY.js} +1 -1
- package/chunks/{record-artifact-QNGVUCQ7.js → record-artifact-7GCFLDD7.js} +1 -1
- package/chunks/{resumeHistoryUtils-YI3EUTAC.js → resumeHistoryUtils-Z3HG4WKM.js} +20 -22
- package/chunks/{ripGrep-LISAK6JN.js → ripGrep-JNLJCT2B.js} +16 -18
- package/chunks/{run-qwen-serve-WR2TQ3MS.js → run-qwen-serve-5VH3F4NW.js} +30 -30
- package/chunks/{runtime-QILBUIY7.js → runtime-OH77YH7W.js} +23 -25
- package/chunks/{scheduler-N3BSVKO4.js → scheduler-WJQSLCSV.js} +16 -18
- package/chunks/{sdk-exporters-http-6MCQH335.js → sdk-exporters-http-T3POX73F.js} +2 -2
- package/chunks/{sdk-impl-HOLWAXC6.js → sdk-impl-NSLPDH6I.js} +2 -2
- package/chunks/{send-message-C32RULM2.js → send-message-PYIJ2PZL.js} +3 -3
- package/chunks/{serve-IMCGI6X5.js → serve-NN5FXWR6.js} +21 -23
- package/chunks/{server-JZHNPNQ4.js → server-E4N4AI6Z.js} +182 -1169
- package/chunks/{session-ELWBF56T.js → session-5YUWIOQE.js} +53 -55
- package/chunks/{settings-YMHM2Z5I.js → settings-YY7ZSFO7.js} +25 -27
- package/chunks/{shell-DELSJRJW.js → shell-FXT3NVC6.js} +16 -18
- package/chunks/{skill-YTED22QO.js → skill-PAIDX3EU.js} +6 -8
- package/chunks/{spawnChannel-7FI4SLQQ.js → spawnChannel-XAWLXNOD.js} +18 -20
- package/chunks/{src-LISVYQMO.js → src-IZXLJI5M.js} +88 -104
- package/chunks/{standalone-update-YNKHAR3J.js → standalone-update-X675JVBL.js} +18 -20
- package/chunks/{startInteractiveUI-WFVCIGX7.js → startInteractiveUI-ND2IVBU3.js} +86 -96
- package/chunks/{syntheticOutput-7RM5GMNP.js → syntheticOutput-H7RTI5KL.js} +2 -2
- package/chunks/{task-create-6CJGO665.js → task-create-7474AJJD.js} +3 -3
- package/chunks/{task-list-7H2LPZJG.js → task-list-633HGOIB.js} +1 -1
- package/chunks/{task-stop-YAMT7XLX.js → task-stop-MNUGHPIA.js} +1 -1
- package/chunks/{task-update-FMN4BGUB.js → task-update-66GQB5LI.js} +3 -3
- package/chunks/{team-create-6ZX2E3UQ.js → team-create-2DEYNMMN.js} +16 -18
- package/chunks/{team-delete-HEKJEMYO.js → team-delete-BB3CG3QF.js} +1 -1
- package/chunks/{team-plan-approval-T3ZTY3OE.js → team-plan-approval-65AVAOCT.js} +16 -18
- package/chunks/{theme-manager-G7E3243G.js → theme-manager-2WZHPK2M.js} +16 -18
- package/chunks/{todoWrite-PNBWLG7M.js → todoWrite-KRAUN54W.js} +1 -1
- package/chunks/{tool-search-MWB75PJV.js → tool-search-ZQP3SMTV.js} +7 -9
- package/chunks/{total-session-admission-GJONESAL.js → total-session-admission-HULB2TEQ.js} +19 -21
- package/chunks/{tree-sitter-674TBDQZ.js → tree-sitter-FS4VPMZA.js} +1 -1
- package/chunks/{tree-sitter-bash-77P2V3I2.js → tree-sitter-bash-6B46JJCV.js} +1 -1
- package/chunks/{trustedFolders-CYQTKEFU.js → trustedFolders-LURI52LP.js} +17 -19
- package/chunks/{update-relaunch-XLLNZKT7.js → update-relaunch-BPWFIDLM.js} +5 -5
- package/chunks/{updateCheck-N7XECY3V.js → updateCheck-D4ESCHBJ.js} +19 -21
- package/chunks/{useAutoAcceptIndicator-MHDECHJ6.js → useAutoAcceptIndicator-CBNLOF2P.js} +22 -24
- package/chunks/{validateNonInterActiveAuth-47QCR5T5.js → validateNonInterActiveAuth-HWD6Y22I.js} +47 -49
- package/chunks/{version-IYYGFE6J.js → version-OD4JAFG7.js} +1 -1
- package/chunks/{web-fetch-SBOBXUB5.js → web-fetch-RFBKNU24.js} +11 -14
- package/chunks/{web-search-UL5724RB.js → web-search-AKTVS5YZ.js} +9 -11
- package/chunks/{workflow-Y7H3B76H.js → workflow-VZVCOSZN.js} +19 -21
- package/chunks/{workspace-providers-status-F5NXDK5F.js → workspace-providers-status-TJTVHORI.js} +24 -26
- package/chunks/{workspace-registration-store-EO2MWBI2.js → workspace-registration-store-Q5SFJSX4.js} +1 -1
- package/chunks/{workspace-registry-D73XQOR4.js → workspace-registry-H6VM5WXK.js} +19 -21
- package/chunks/{workspace-service-WMXDLVR7.js → workspace-service-ZNKD3I2J.js} +26 -28
- package/chunks/{workspace-skills-status-TL22ZQ33.js → workspace-skills-status-OOBIXADG.js} +22 -24
- package/chunks/{write-file-YYNJIVU6.js → write-file-CAKK5IAO.js} +16 -18
- package/cli.js +12 -12
- package/package.json +3 -3
- package/web-shell/assets/{arc-DIQrcXXh.js → arc-BWFm0SI0.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-CbPd-DSw.js → architectureDiagram-3BPJPVTR-CZ_yL-DQ.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-yzBIVhMX.js → blockDiagram-GPEHLZMM-B9F9mJvG.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-B88Swcsu.js → c4Diagram-AAUBKEIU-BUdwJW5f.js} +1 -1
- package/web-shell/assets/channel-DiLlxxIf.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-BbOLo6NX.js → chunk-2J33WTMH-w4cF-qlF.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-Bg6in0r0.js → chunk-4BX2VUAB-BXwURxHJ.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-Bv9QRyLI.js → chunk-55IACEB6-Gem3LalC.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-CFokiv61.js → chunk-727SXJPM-A3ddVojI.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-DS2Oxf6L.js → chunk-AQP2D5EJ-CjHZ5L_R.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-D2NkHD3B.js → chunk-FMBD7UC4-CKgdgcpv.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BsT_UC5B.js → chunk-ND2GUHAM-Cn2Dykjb.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-tnJo3zln.js → chunk-QZHKN3VN--0SyraC5.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CkylTdM4.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CkylTdM4.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-BTMa6DAZ.js → cose-bilkent-S5V4N54A-CphhAity.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-ujGX7Owg.js → dagre-BM42HDAG-DU--jiKp.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-fU4-dbPa.js → diagram-2AECGRRQ-BzvuZw1Y.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-Bdm-TYSA.js → diagram-5GNKFQAL-D84-49Y0.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Bkhz85Z9.js → diagram-KO2AKTUF-DQTq-3_3.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-Bzu3q26p.js → diagram-LMA3HP47-8FTrshzN.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CZrXbG5Q.js → diagram-OG6HWLK6-BCjpDBCm.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BjozEAYu.js → erDiagram-TEJ5UH35-BtRObkmg.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-B3a2I8c-.js → flowDiagram-I6XJVG4X-DTrW6oxy.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CIMn9fNm.js → ganttDiagram-6RSMTGT7-BgPNSW6j.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DlFy9KRx.js → gitGraphDiagram-PVQCEYII-BTclNgGV.js} +1 -1
- package/web-shell/assets/index-CGtQqOIa.css +5 -0
- package/web-shell/assets/{index-BODUAzQA.js → index-CxA7AqY6.js} +1 -1
- package/web-shell/assets/index-TtM0hVjU.js +1207 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-BmKjQgCy.js → infoDiagram-5YYISTIA-DCE4AJt2.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BrQEMZz2.js → ishikawaDiagram-YF4QCWOH-C8iE6q4Y.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-D-2r7Xrt.js → journeyDiagram-JHISSGLW-C_dxdyEc.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-CndsFHCX.js → kanban-definition-UN3LZRKU-Dw3n1u3w.js} +1 -1
- package/web-shell/assets/{linear-D-IwNnKx.js → linear-C2BF2zJ9.js} +1 -1
- package/web-shell/assets/{mermaid.core-4ll09sri.js → mermaid.core-CGTQU3MA.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-maMRIxjo.js → mindmap-definition-RKZ34NQL-BVFZm9ZC.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-aunUDhrJ.js → pieDiagram-4H26LBE5-Cc-TNN3n.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D3K0P1NZ.js → quadrantDiagram-W4KKPZXB-CgW3Rzsi.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-CX2X9HRc.js → requirementDiagram-4Y6WPE33-BAaj0Y3B.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-CDroWk7l.js → sankeyDiagram-5OEKKPKP-XJWmekxS.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DTk-2b16.js → sequenceDiagram-3UESZ5HK-CtRc_0wf.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-Cud64hQr.js → stateDiagram-AJRCARHV-WCnvMGy5.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-D1gzH2Ue.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DfD5okf_.js → timeline-definition-PNZ67QCA-C9cRx49L.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-BYl8ay25.js → vennDiagram-CIIHVFJN-BvXOCEt-.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-BZFAt10J.js → wardley-L42UT6IY-ByafGtzu.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BIWn0GA7.js → wardleyDiagram-YWT4CUSO-CozAnw8x.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-1_H4xblT.js → xychartDiagram-2RQKCTM6-Camu9Qvq.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-2F6JNSIQ.js +0 -8774
- package/chunks/chunk-SPX4CKEA.js +0 -85
- package/chunks/read-image-DBTJIZ2H.js +0 -155
- package/web-shell/assets/channel-BaTMUesZ.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CyBPzWud.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CyBPzWud.js +0 -1
- package/web-shell/assets/index-C54DNMF7.js +0 -1209
- package/web-shell/assets/index-lWqBfc78.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-g-uUpecT.js +0 -1
- /package/chunks/{chunk-UARMJBDM.js → chunk-GHRSKGHF.js} +0 -0
|
@@ -4,44 +4,42 @@ import {
|
|
|
4
4
|
Client,
|
|
5
5
|
So,
|
|
6
6
|
StdioClientTransport
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-5M6IDOMF.js";
|
|
7
|
+
} from "./chunk-OTQ6PSZC.js";
|
|
9
8
|
import "./chunk-T4TZQJ7W.js";
|
|
10
9
|
import "./chunk-H6XPXXMH.js";
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-5M6IDOMF.js";
|
|
12
11
|
import "./chunk-T2L47JJK.js";
|
|
13
12
|
import "./chunk-GPSKDNEE.js";
|
|
14
13
|
import "./chunk-X6N25LXS.js";
|
|
15
14
|
import "./chunk-E2UVIFI2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-T5IO6FZ4.js";
|
|
16
|
+
import "./chunk-Q2YKNMLS.js";
|
|
18
17
|
import "./chunk-XU457J4V.js";
|
|
19
18
|
import "./chunk-VDDGDZMA.js";
|
|
20
19
|
import "./chunk-KHOVYUHX.js";
|
|
21
20
|
import "./chunk-SZRN75WQ.js";
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-6PVPNMXU.js";
|
|
23
22
|
import "./chunk-CPBF7KYF.js";
|
|
24
23
|
import "./chunk-NABLFI57.js";
|
|
25
24
|
import "./chunk-QBUDF33N.js";
|
|
26
25
|
import "./chunk-LIZRAKPB.js";
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-WHGVTP7Q.js";
|
|
28
27
|
import "./chunk-6AM5D4ME.js";
|
|
29
28
|
import "./chunk-JCW2R7WC.js";
|
|
30
29
|
import "./chunk-57FIIFJN.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-XXJFSC4V.js";
|
|
30
|
+
import "./chunk-HTO4JFDZ.js";
|
|
31
|
+
import "./chunk-RCWKCN2Z.js";
|
|
34
32
|
import "./chunk-JESCGQM3.js";
|
|
33
|
+
import "./chunk-QKNXKTZX.js";
|
|
34
|
+
import "./chunk-LW2FUYBN.js";
|
|
35
35
|
import "./chunk-XVNQMZ2I.js";
|
|
36
36
|
import "./chunk-FODK6UMO.js";
|
|
37
37
|
import "./chunk-GLNBDYUX.js";
|
|
38
38
|
import "./chunk-DJ2GSRLV.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-ZDP2Y2AL.js";
|
|
40
40
|
import "./chunk-VGC4I5JJ.js";
|
|
41
41
|
import "./chunk-4K56OJFJ.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-Q73YJ7BX.js";
|
|
44
|
-
import "./chunk-SPX4CKEA.js";
|
|
42
|
+
import "./chunk-CBOQ3HY7.js";
|
|
45
43
|
import "./chunk-A4UCTEB5.js";
|
|
46
44
|
import "./chunk-XWRJCPHC.js";
|
|
47
45
|
import "./chunk-QNLNLENL.js";
|
|
@@ -49,17 +47,17 @@ import "./chunk-6X4GWOPW.js";
|
|
|
49
47
|
import "./chunk-TYQMGACW.js";
|
|
50
48
|
import "./chunk-TYAMGABM.js";
|
|
51
49
|
import "./chunk-FCMNKVXT.js";
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-7362QS5B.js";
|
|
53
51
|
import "./chunk-HTR4WV6U.js";
|
|
54
52
|
import {
|
|
55
53
|
safeJsonStringify
|
|
56
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-M7WBGLYP.js";
|
|
57
55
|
import "./chunk-U7ZFW55U.js";
|
|
58
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-NPQDJGKU.js";
|
|
59
57
|
import {
|
|
60
58
|
BaseDeclarativeTool,
|
|
61
59
|
BaseToolInvocation
|
|
62
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YM3SZTH4.js";
|
|
63
61
|
import "./chunk-OQB4EXO4.js";
|
|
64
62
|
import "./chunk-75DOP5OR.js";
|
|
65
63
|
import "./chunk-DMTGGOSA.js";
|
|
@@ -4,49 +4,47 @@ import {
|
|
|
4
4
|
collectContextData,
|
|
5
5
|
contextCommand,
|
|
6
6
|
formatContextUsageText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5GI55PF5.js";
|
|
8
8
|
import "./chunk-4WGODMVR.js";
|
|
9
9
|
import "./chunk-QTERJVPZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-VRRF3GW5.js";
|
|
11
11
|
import "./chunk-OWAK7LMW.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-5M6IDOMF.js";
|
|
12
|
+
import "./chunk-OTQ6PSZC.js";
|
|
14
13
|
import "./chunk-T4TZQJ7W.js";
|
|
15
14
|
import "./chunk-H6XPXXMH.js";
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-5M6IDOMF.js";
|
|
17
16
|
import "./chunk-T2L47JJK.js";
|
|
18
17
|
import "./chunk-GPSKDNEE.js";
|
|
19
18
|
import "./chunk-X6N25LXS.js";
|
|
20
19
|
import "./chunk-E2UVIFI2.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-T5IO6FZ4.js";
|
|
21
|
+
import "./chunk-Q2YKNMLS.js";
|
|
23
22
|
import "./chunk-XU457J4V.js";
|
|
24
23
|
import "./chunk-VDDGDZMA.js";
|
|
25
24
|
import "./chunk-KHOVYUHX.js";
|
|
26
25
|
import "./chunk-SZRN75WQ.js";
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6PVPNMXU.js";
|
|
28
27
|
import "./chunk-CPBF7KYF.js";
|
|
29
28
|
import "./chunk-NABLFI57.js";
|
|
30
29
|
import "./chunk-QBUDF33N.js";
|
|
31
30
|
import "./chunk-LIZRAKPB.js";
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-WHGVTP7Q.js";
|
|
33
32
|
import "./chunk-6AM5D4ME.js";
|
|
34
33
|
import "./chunk-JCW2R7WC.js";
|
|
35
34
|
import "./chunk-57FIIFJN.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-XXJFSC4V.js";
|
|
35
|
+
import "./chunk-HTO4JFDZ.js";
|
|
36
|
+
import "./chunk-RCWKCN2Z.js";
|
|
39
37
|
import "./chunk-JESCGQM3.js";
|
|
38
|
+
import "./chunk-QKNXKTZX.js";
|
|
39
|
+
import "./chunk-LW2FUYBN.js";
|
|
40
40
|
import "./chunk-XVNQMZ2I.js";
|
|
41
41
|
import "./chunk-FODK6UMO.js";
|
|
42
42
|
import "./chunk-GLNBDYUX.js";
|
|
43
43
|
import "./chunk-DJ2GSRLV.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-ZDP2Y2AL.js";
|
|
45
45
|
import "./chunk-VGC4I5JJ.js";
|
|
46
46
|
import "./chunk-4K56OJFJ.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-Q73YJ7BX.js";
|
|
49
|
-
import "./chunk-SPX4CKEA.js";
|
|
47
|
+
import "./chunk-CBOQ3HY7.js";
|
|
50
48
|
import "./chunk-A4UCTEB5.js";
|
|
51
49
|
import "./chunk-XWRJCPHC.js";
|
|
52
50
|
import "./chunk-QNLNLENL.js";
|
|
@@ -54,12 +52,12 @@ import "./chunk-6X4GWOPW.js";
|
|
|
54
52
|
import "./chunk-TYQMGACW.js";
|
|
55
53
|
import "./chunk-TYAMGABM.js";
|
|
56
54
|
import "./chunk-FCMNKVXT.js";
|
|
57
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-7362QS5B.js";
|
|
58
56
|
import "./chunk-HTR4WV6U.js";
|
|
59
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-M7WBGLYP.js";
|
|
60
58
|
import "./chunk-U7ZFW55U.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-NPQDJGKU.js";
|
|
60
|
+
import "./chunk-YM3SZTH4.js";
|
|
63
61
|
import "./chunk-OQB4EXO4.js";
|
|
64
62
|
import "./chunk-75DOP5OR.js";
|
|
65
63
|
import "./chunk-DMTGGOSA.js";
|
|
@@ -5,44 +5,42 @@ import {
|
|
|
5
5
|
} from "./chunk-OWAK7LMW.js";
|
|
6
6
|
import {
|
|
7
7
|
stripTerminalControlSequences
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-5M6IDOMF.js";
|
|
8
|
+
} from "./chunk-OTQ6PSZC.js";
|
|
10
9
|
import "./chunk-T4TZQJ7W.js";
|
|
11
10
|
import "./chunk-H6XPXXMH.js";
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-5M6IDOMF.js";
|
|
13
12
|
import "./chunk-T2L47JJK.js";
|
|
14
13
|
import "./chunk-GPSKDNEE.js";
|
|
15
14
|
import "./chunk-X6N25LXS.js";
|
|
16
15
|
import "./chunk-E2UVIFI2.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-T5IO6FZ4.js";
|
|
17
|
+
import "./chunk-Q2YKNMLS.js";
|
|
19
18
|
import "./chunk-XU457J4V.js";
|
|
20
19
|
import "./chunk-VDDGDZMA.js";
|
|
21
20
|
import "./chunk-KHOVYUHX.js";
|
|
22
21
|
import "./chunk-SZRN75WQ.js";
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-6PVPNMXU.js";
|
|
24
23
|
import "./chunk-CPBF7KYF.js";
|
|
25
24
|
import "./chunk-NABLFI57.js";
|
|
26
25
|
import "./chunk-QBUDF33N.js";
|
|
27
26
|
import "./chunk-LIZRAKPB.js";
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WHGVTP7Q.js";
|
|
29
28
|
import "./chunk-6AM5D4ME.js";
|
|
30
29
|
import "./chunk-JCW2R7WC.js";
|
|
31
30
|
import "./chunk-57FIIFJN.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-XXJFSC4V.js";
|
|
31
|
+
import "./chunk-HTO4JFDZ.js";
|
|
32
|
+
import "./chunk-RCWKCN2Z.js";
|
|
35
33
|
import "./chunk-JESCGQM3.js";
|
|
34
|
+
import "./chunk-QKNXKTZX.js";
|
|
35
|
+
import "./chunk-LW2FUYBN.js";
|
|
36
36
|
import "./chunk-XVNQMZ2I.js";
|
|
37
37
|
import "./chunk-FODK6UMO.js";
|
|
38
38
|
import "./chunk-GLNBDYUX.js";
|
|
39
39
|
import "./chunk-DJ2GSRLV.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-ZDP2Y2AL.js";
|
|
41
41
|
import "./chunk-VGC4I5JJ.js";
|
|
42
42
|
import "./chunk-4K56OJFJ.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-Q73YJ7BX.js";
|
|
45
|
-
import "./chunk-SPX4CKEA.js";
|
|
43
|
+
import "./chunk-CBOQ3HY7.js";
|
|
46
44
|
import "./chunk-A4UCTEB5.js";
|
|
47
45
|
import "./chunk-XWRJCPHC.js";
|
|
48
46
|
import "./chunk-QNLNLENL.js";
|
|
@@ -50,12 +48,12 @@ import "./chunk-6X4GWOPW.js";
|
|
|
50
48
|
import "./chunk-TYQMGACW.js";
|
|
51
49
|
import "./chunk-TYAMGABM.js";
|
|
52
50
|
import "./chunk-FCMNKVXT.js";
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-7362QS5B.js";
|
|
54
52
|
import "./chunk-HTR4WV6U.js";
|
|
55
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-M7WBGLYP.js";
|
|
56
54
|
import "./chunk-U7ZFW55U.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-NPQDJGKU.js";
|
|
56
|
+
import "./chunk-YM3SZTH4.js";
|
|
59
57
|
import {
|
|
60
58
|
createDebugLogger
|
|
61
59
|
} from "./chunk-OQB4EXO4.js";
|
|
@@ -1880,20 +1880,6 @@ var DaemonClient = class {
|
|
|
1880
1880
|
}
|
|
1881
1881
|
);
|
|
1882
1882
|
}
|
|
1883
|
-
async resolveSubagentSession(sessionId, toolCallId, clientId) {
|
|
1884
|
-
return await this.jsonRequest(
|
|
1885
|
-
`/session/${urlEncode(sessionId)}/subagents/${urlEncode(toolCallId)}`,
|
|
1886
|
-
"GET /session/:id/subagents/:toolCallId",
|
|
1887
|
-
{ clientId, mode: "rest" }
|
|
1888
|
-
);
|
|
1889
|
-
}
|
|
1890
|
-
async cancelSubagentSession(sessionId, toolCallId, clientId) {
|
|
1891
|
-
return await this.jsonRequest(
|
|
1892
|
-
`/session/${urlEncode(sessionId)}/subagents/${urlEncode(toolCallId)}/cancel`,
|
|
1893
|
-
"POST /session/:id/subagents/:toolCallId/cancel",
|
|
1894
|
-
{ clientId, mode: "rest", method: "POST" }
|
|
1895
|
-
);
|
|
1896
|
-
}
|
|
1897
1883
|
async resumeSession(sessionId, req = {}, clientId) {
|
|
1898
1884
|
return this.restoreSession("resume", sessionId, req, clientId);
|
|
1899
1885
|
}
|
|
@@ -6365,43 +6351,26 @@ function extractServerTimestamp(event) {
|
|
|
6365
6351
|
}
|
|
6366
6352
|
if (isRecord2(event.data)) {
|
|
6367
6353
|
const dataMeta = event.data["_meta"];
|
|
6368
|
-
const update = event.data["update"];
|
|
6369
|
-
const updateMeta = isRecord2(update) ? update["_meta"] : void 0;
|
|
6370
6354
|
if (isRecord2(dataMeta)) {
|
|
6371
6355
|
const ts = dataMeta["serverTimestamp"];
|
|
6372
6356
|
if (typeof ts === "number" && Number.isFinite(ts)) return ts;
|
|
6373
6357
|
}
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6358
|
+
const update = event.data["update"];
|
|
6359
|
+
if (isRecord2(update)) {
|
|
6360
|
+
const updateMeta = update["_meta"];
|
|
6361
|
+
if (isRecord2(updateMeta)) {
|
|
6362
|
+
const serverTs = updateMeta["serverTimestamp"];
|
|
6363
|
+
if (typeof serverTs === "number" && Number.isFinite(serverTs)) {
|
|
6364
|
+
return serverTs;
|
|
6365
|
+
}
|
|
6366
|
+
const ts = updateMeta["timestamp"];
|
|
6367
|
+
if (typeof ts === "number" && Number.isFinite(ts)) return ts;
|
|
6378
6368
|
}
|
|
6379
6369
|
}
|
|
6380
|
-
const timestampCandidates = [
|
|
6381
|
-
isRecord2(updateMeta) ? updateMeta["timestamp"] : void 0,
|
|
6382
|
-
isRecord2(update) ? update["timestamp"] : void 0,
|
|
6383
|
-
isRecord2(dataMeta) ? dataMeta["timestamp"] : void 0,
|
|
6384
|
-
event.data["timestamp"]
|
|
6385
|
-
];
|
|
6386
|
-
for (const candidate of timestampCandidates) {
|
|
6387
|
-
const timestamp = parseTimestamp(candidate);
|
|
6388
|
-
if (timestamp !== void 0) return timestamp;
|
|
6389
|
-
}
|
|
6390
6370
|
}
|
|
6391
6371
|
return void 0;
|
|
6392
6372
|
}
|
|
6393
6373
|
__name(extractServerTimestamp, "extractServerTimestamp");
|
|
6394
|
-
function parseTimestamp(value) {
|
|
6395
|
-
if (typeof value === "number" && Number.isFinite(value)) return value;
|
|
6396
|
-
if (typeof value !== "string") return void 0;
|
|
6397
|
-
if (/^\d+$/.test(value)) {
|
|
6398
|
-
const numeric = Number(value);
|
|
6399
|
-
return Number.isFinite(numeric) ? numeric : void 0;
|
|
6400
|
-
}
|
|
6401
|
-
const parsed = Date.parse(value);
|
|
6402
|
-
return Number.isFinite(parsed) ? parsed : void 0;
|
|
6403
|
-
}
|
|
6404
|
-
__name(parseTimestamp, "parseTimestamp");
|
|
6405
6374
|
function normalizeSessionUpdate(event, base, opts) {
|
|
6406
6375
|
const update = getSessionUpdatePayload(event.data);
|
|
6407
6376
|
if (!update) {
|
|
@@ -6594,8 +6563,7 @@ function normalizeToolUpdate(update, base) {
|
|
|
6594
6563
|
const metadata = isRecord2(update["_meta"]) ? update["_meta"] : void 0;
|
|
6595
6564
|
const toolName = getString2(update, "toolName") ?? getString2(update, "name") ?? (metadata ? getString2(metadata, "toolName") : void 0) ?? (metadata ? getString2(metadata, "name") : void 0);
|
|
6596
6565
|
const toolKind = getString2(update, "kind");
|
|
6597
|
-
const
|
|
6598
|
-
const title = explicitTitle ?? (getString2(update, "sessionUpdate") === "tool_call" ? toolName ?? toolKind : void 0);
|
|
6566
|
+
const title = getString2(update, "title") ?? toolName ?? toolKind;
|
|
6599
6567
|
const rawInputSource = update["rawInput"] ?? update["input"] ?? update["args"];
|
|
6600
6568
|
const rawOutputSource = update["rawOutput"] ?? update["output"] ?? update["result"];
|
|
6601
6569
|
const rawInput = rawInputSource !== void 0 ? redactSensitiveFields(rawInputSource) : void 0;
|
|
@@ -7724,8 +7692,7 @@ function createDaemonTranscriptState(opts = {}) {
|
|
|
7724
7692
|
resyncRequiredCount: 0,
|
|
7725
7693
|
nextOrdinal: 1,
|
|
7726
7694
|
now: opts.now ?? Date.now(),
|
|
7727
|
-
maxBlocks: opts.maxBlocks ?? DEFAULT_MAX_BLOCKS
|
|
7728
|
-
retainSubagentBlocks: opts.retainSubagentBlocks ?? true
|
|
7695
|
+
maxBlocks: opts.maxBlocks ?? DEFAULT_MAX_BLOCKS
|
|
7729
7696
|
};
|
|
7730
7697
|
if (opts.onTruncation) truncationCallbacks.set(state, opts.onTruncation);
|
|
7731
7698
|
return state;
|
|
@@ -7844,7 +7811,6 @@ function applyDaemonTranscriptEvent(next, event) {
|
|
|
7844
7811
|
break;
|
|
7845
7812
|
}
|
|
7846
7813
|
case "assistant.text.delta":
|
|
7847
|
-
if (event.parentToolCallId && !next.retainSubagentBlocks) break;
|
|
7848
7814
|
appendTextDelta(
|
|
7849
7815
|
next,
|
|
7850
7816
|
"assistant",
|
|
@@ -7860,14 +7826,9 @@ function applyDaemonTranscriptEvent(next, event) {
|
|
|
7860
7826
|
}
|
|
7861
7827
|
break;
|
|
7862
7828
|
case "assistant.usage":
|
|
7863
|
-
|
|
7864
|
-
applySubagentUsageToParentTool(next, event);
|
|
7865
|
-
} else {
|
|
7866
|
-
applyAssistantUsage(next, event);
|
|
7867
|
-
}
|
|
7829
|
+
applyAssistantUsage(next, event);
|
|
7868
7830
|
break;
|
|
7869
7831
|
case "thought.text.delta":
|
|
7870
|
-
if (event.parentToolCallId && !next.retainSubagentBlocks) break;
|
|
7871
7832
|
appendTextDelta(
|
|
7872
7833
|
next,
|
|
7873
7834
|
"thought",
|
|
@@ -7877,10 +7838,6 @@ function applyDaemonTranscriptEvent(next, event) {
|
|
|
7877
7838
|
);
|
|
7878
7839
|
break;
|
|
7879
7840
|
case "tool.update":
|
|
7880
|
-
if (event.parentToolCallId && !next.retainSubagentBlocks) {
|
|
7881
|
-
discardToolBlock(next, event.toolCallId);
|
|
7882
|
-
break;
|
|
7883
|
-
}
|
|
7884
7841
|
upsertToolBlock(next, event);
|
|
7885
7842
|
break;
|
|
7886
7843
|
case "shell.output":
|
|
@@ -8036,35 +7993,6 @@ function applyAssistantUsage(state, event) {
|
|
|
8036
7993
|
block.updatedAt = state.now;
|
|
8037
7994
|
}
|
|
8038
7995
|
__name(applyAssistantUsage, "applyAssistantUsage");
|
|
8039
|
-
function applySubagentUsageToParentTool(state, event) {
|
|
8040
|
-
if (!event.parentToolCallId) return;
|
|
8041
|
-
const block = getWritableBlockById(
|
|
8042
|
-
state,
|
|
8043
|
-
state.toolBlockByCallId[event.parentToolCallId]
|
|
8044
|
-
);
|
|
8045
|
-
if (block?.kind !== "tool") return;
|
|
8046
|
-
const current = isRecord2(block.rawOutput) ? block.rawOutput : void 0;
|
|
8047
|
-
const currentSummary = isRecord2(current?.["executionSummary"]) ? current["executionSummary"] : void 0;
|
|
8048
|
-
const inputTokens = finiteNumber(currentSummary?.["inputTokens"]) + event.usage.inputTokens;
|
|
8049
|
-
const outputTokens = finiteNumber(currentSummary?.["outputTokens"]) + event.usage.outputTokens;
|
|
8050
|
-
const cachedTokens = finiteNumber(currentSummary?.["cachedTokens"]) + (event.usage.cachedTokens ?? 0);
|
|
8051
|
-
block.rawOutput = {
|
|
8052
|
-
...current ?? { type: "task_execution", status: "running" },
|
|
8053
|
-
executionSummary: {
|
|
8054
|
-
...currentSummary ?? {},
|
|
8055
|
-
inputTokens,
|
|
8056
|
-
outputTokens,
|
|
8057
|
-
cachedTokens,
|
|
8058
|
-
totalTokens: inputTokens + outputTokens
|
|
8059
|
-
}
|
|
8060
|
-
};
|
|
8061
|
-
block.updatedAt = state.now;
|
|
8062
|
-
}
|
|
8063
|
-
__name(applySubagentUsageToParentTool, "applySubagentUsageToParentTool");
|
|
8064
|
-
function finiteNumber(value) {
|
|
8065
|
-
return typeof value === "number" && Number.isFinite(value) ? value : 0;
|
|
8066
|
-
}
|
|
8067
|
-
__name(finiteNumber, "finiteNumber");
|
|
8068
7996
|
function clearActiveThought(state, event) {
|
|
8069
7997
|
finalizeStreamingTextBlock(state, state.activeThoughtBlockId, event);
|
|
8070
7998
|
state.activeThoughtBlockId = void 0;
|
|
@@ -8167,11 +8095,6 @@ function finishAssistant(state, event) {
|
|
|
8167
8095
|
}
|
|
8168
8096
|
__name(finishAssistant, "finishAssistant");
|
|
8169
8097
|
function upsertToolBlock(state, event) {
|
|
8170
|
-
const compactTaskOutput = !state.retainSubagentBlocks && isRecord2(event.rawOutput) && event.rawOutput["type"] === "task_execution";
|
|
8171
|
-
let rawOutput = compactTaskExecutionOutput(
|
|
8172
|
-
event.rawOutput,
|
|
8173
|
-
state.retainSubagentBlocks
|
|
8174
|
-
);
|
|
8175
8098
|
const existingId = state.toolBlockByCallId[event.toolCallId];
|
|
8176
8099
|
if (existingId === TRIMMED_TOOL_BLOCK_ID) {
|
|
8177
8100
|
if (shouldRecreateTrimmedToolBlock(event)) {
|
|
@@ -8205,49 +8128,10 @@ function upsertToolBlock(state, event) {
|
|
|
8205
8128
|
existing.updatedAt = state.now;
|
|
8206
8129
|
if (event.eventId !== void 0) existing.eventId = event.eventId;
|
|
8207
8130
|
if (event.details) existing.details = event.details;
|
|
8208
|
-
if (
|
|
8209
|
-
else if (event.content !== void 0) existing.content = event.content;
|
|
8131
|
+
if (event.content !== void 0) existing.content = event.content;
|
|
8210
8132
|
if (event.locations !== void 0) existing.locations = event.locations;
|
|
8211
8133
|
if (event.rawInput !== void 0) existing.rawInput = event.rawInput;
|
|
8212
|
-
if (rawOutput !== void 0)
|
|
8213
|
-
if (compactTaskOutput && isRecord2(rawOutput) && isRecord2(existing.rawOutput)) {
|
|
8214
|
-
const prevSummary = isRecord2(existing.rawOutput["executionSummary"]) ? existing.rawOutput["executionSummary"] : void 0;
|
|
8215
|
-
const nextSummary = isRecord2(rawOutput["executionSummary"]) ? rawOutput["executionSummary"] : void 0;
|
|
8216
|
-
if (prevSummary && nextSummary) {
|
|
8217
|
-
const inputTokens = Math.max(
|
|
8218
|
-
finiteNumber(prevSummary["inputTokens"]),
|
|
8219
|
-
finiteNumber(nextSummary["inputTokens"])
|
|
8220
|
-
);
|
|
8221
|
-
const outputTokens = Math.max(
|
|
8222
|
-
finiteNumber(prevSummary["outputTokens"]),
|
|
8223
|
-
finiteNumber(nextSummary["outputTokens"])
|
|
8224
|
-
);
|
|
8225
|
-
rawOutput = {
|
|
8226
|
-
...rawOutput,
|
|
8227
|
-
executionSummary: {
|
|
8228
|
-
...nextSummary,
|
|
8229
|
-
inputTokens,
|
|
8230
|
-
outputTokens,
|
|
8231
|
-
cachedTokens: Math.max(
|
|
8232
|
-
finiteNumber(prevSummary["cachedTokens"]),
|
|
8233
|
-
finiteNumber(nextSummary["cachedTokens"])
|
|
8234
|
-
),
|
|
8235
|
-
totalTokens: Math.max(
|
|
8236
|
-
finiteNumber(prevSummary["totalTokens"]),
|
|
8237
|
-
finiteNumber(nextSummary["totalTokens"]),
|
|
8238
|
-
inputTokens + outputTokens
|
|
8239
|
-
)
|
|
8240
|
-
}
|
|
8241
|
-
};
|
|
8242
|
-
} else if (prevSummary) {
|
|
8243
|
-
rawOutput = {
|
|
8244
|
-
...rawOutput,
|
|
8245
|
-
executionSummary: { ...prevSummary }
|
|
8246
|
-
};
|
|
8247
|
-
}
|
|
8248
|
-
}
|
|
8249
|
-
existing.rawOutput = rawOutput;
|
|
8250
|
-
}
|
|
8134
|
+
if (event.rawOutput !== void 0) existing.rawOutput = event.rawOutput;
|
|
8251
8135
|
existing.sourceRecordIds = unionStrings(
|
|
8252
8136
|
existing.sourceRecordIds,
|
|
8253
8137
|
event.sourceRecordIds
|
|
@@ -8288,10 +8172,10 @@ function upsertToolBlock(state, event) {
|
|
|
8288
8172
|
...event.serverTimestamp !== void 0 ? { serverTimestamp: event.serverTimestamp } : {},
|
|
8289
8173
|
...event.sourceRecordIds ? { sourceRecordIds: [...event.sourceRecordIds] } : {},
|
|
8290
8174
|
...event.details ? { details: event.details } : {},
|
|
8291
|
-
|
|
8175
|
+
...event.content !== void 0 ? { content: event.content } : {},
|
|
8292
8176
|
...event.locations !== void 0 ? { locations: event.locations } : {},
|
|
8293
8177
|
...event.rawInput !== void 0 ? { rawInput: event.rawInput } : {},
|
|
8294
|
-
...rawOutput !== void 0 ? { rawOutput } : {},
|
|
8178
|
+
...event.rawOutput !== void 0 ? { rawOutput: event.rawOutput } : {},
|
|
8295
8179
|
...event.toolName ? { toolName: event.toolName } : {},
|
|
8296
8180
|
...event.toolKind ? { toolKind: event.toolKind } : {},
|
|
8297
8181
|
...event.parentToolCallId ? { parentToolCallId: event.parentToolCallId } : {},
|
|
@@ -8312,38 +8196,6 @@ function upsertToolBlock(state, event) {
|
|
|
8312
8196
|
clearActiveText(state, event.parentToolCallId);
|
|
8313
8197
|
}
|
|
8314
8198
|
__name(upsertToolBlock, "upsertToolBlock");
|
|
8315
|
-
function discardToolBlock(state, toolCallId) {
|
|
8316
|
-
const blockId = state.toolBlockByCallId[toolCallId];
|
|
8317
|
-
if (!blockId || blockId === TRIMMED_TOOL_BLOCK_ID) return;
|
|
8318
|
-
takeBlocksOwnership(state);
|
|
8319
|
-
state.blocks = state.blocks.filter((block) => block.id !== blockId);
|
|
8320
|
-
state.blockIndexById = rebuildDaemonTranscriptBlockIndex(state.blocks);
|
|
8321
|
-
delete state.toolBlockByCallId[toolCallId];
|
|
8322
|
-
delete state.toolProgress[toolCallId];
|
|
8323
|
-
if (state.currentToolCallId === toolCallId) {
|
|
8324
|
-
state.currentToolCallId = void 0;
|
|
8325
|
-
}
|
|
8326
|
-
}
|
|
8327
|
-
__name(discardToolBlock, "discardToolBlock");
|
|
8328
|
-
function compactTaskExecutionOutput(rawOutput, retainSubagentBlocks) {
|
|
8329
|
-
if (retainSubagentBlocks || !isRecord2(rawOutput) || rawOutput["type"] !== "task_execution") {
|
|
8330
|
-
return rawOutput;
|
|
8331
|
-
}
|
|
8332
|
-
const compact = { type: "task_execution" };
|
|
8333
|
-
for (const key of [
|
|
8334
|
-
"subagentName",
|
|
8335
|
-
"subagentColor",
|
|
8336
|
-
"taskDescription",
|
|
8337
|
-
"status",
|
|
8338
|
-
"terminateReason",
|
|
8339
|
-
"tokenCount",
|
|
8340
|
-
"executionSummary"
|
|
8341
|
-
]) {
|
|
8342
|
-
if (rawOutput[key] !== void 0) compact[key] = rawOutput[key];
|
|
8343
|
-
}
|
|
8344
|
-
return compact;
|
|
8345
|
-
}
|
|
8346
|
-
__name(compactTaskExecutionOutput, "compactTaskExecutionOutput");
|
|
8347
8199
|
function updateCurrentToolPointer(state, toolCallId, status) {
|
|
8348
8200
|
if (status === void 0) return;
|
|
8349
8201
|
if (IN_FLIGHT_TOOL_STATUSES.has(status)) {
|
|
@@ -8573,7 +8425,6 @@ function cloneTranscriptState(state, opts) {
|
|
|
8573
8425
|
...state,
|
|
8574
8426
|
now: opts.now ?? Date.now(),
|
|
8575
8427
|
maxBlocks: opts.maxBlocks ?? state.maxBlocks,
|
|
8576
|
-
retainSubagentBlocks: opts.retainSubagentBlocks ?? state.retainSubagentBlocks,
|
|
8577
8428
|
// Lazy copy-on-write for
|
|
8578
8429
|
// `blocks` + `blockIndexById`. Eager `[...state.blocks]` defeated the
|
|
8579
8430
|
// `sortedBlocksCache` / `childrenIndexCache` WeakMaps — every dispatch
|
|
@@ -9043,7 +8894,6 @@ function createDaemonTranscriptStore(seed = {}) {
|
|
|
9043
8894
|
reset(nextSeed = {}) {
|
|
9044
8895
|
state = createState({
|
|
9045
8896
|
maxBlocks: nextSeed.maxBlocks ?? state.maxBlocks,
|
|
9046
|
-
retainSubagentBlocks: nextSeed.retainSubagentBlocks ?? state.retainSubagentBlocks,
|
|
9047
8897
|
...nextSeed
|
|
9048
8898
|
});
|
|
9049
8899
|
scheduleNotify();
|
|
@@ -9153,7 +9003,7 @@ function daemonUiEventToTerminalText(event) {
|
|
|
9153
9003
|
case "tool.update":
|
|
9154
9004
|
return terminalLine(
|
|
9155
9005
|
`tool ${event.status}`,
|
|
9156
|
-
`${event.title
|
|
9006
|
+
`${event.title}${event.details ? ` ${event.details}` : ""}`,
|
|
9157
9007
|
"38;5;75"
|
|
9158
9008
|
);
|
|
9159
9009
|
case "shell.output":
|