@qwen-code/qwen-code 0.24.1-preview.0 → 0.24.1-test.notes-compaction.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{MaxSizedBox-KUCJSYXS.js → MaxSizedBox-4BFFL7ST.js} +42 -42
- package/chunks/{StandaloneSessionPicker-QT4DUNJR.js → StandaloneSessionPicker-FK3J2NB6.js} +61 -61
- package/chunks/{acp-subagent-executor-KW6N4O5M.js → acp-subagent-executor-HSTCGP7M.js} +47 -47
- package/chunks/{acpAgent-RNLWJ6MG.js → acpAgent-UDBIT6QH.js} +143 -124
- package/chunks/{agent-JYSR2HWP.js → agent-LDTN25VW.js} +25 -25
- package/chunks/{agent-headless-B5LKNH46.js → agent-headless-KCGNSGAN.js} +25 -25
- package/chunks/{anthropicContentGenerator-5IQ7K553.js → anthropicContentGenerator-6YWUBLU4.js} +3 -3
- package/chunks/{artifact-tool-ZNYOGV2B.js → artifact-tool-MIP3IJZ2.js} +2 -2
- package/chunks/{askUserQuestion-C2GAWACN.js → askUserQuestion-GZGGQM2V.js} +2 -2
- package/chunks/{bridge-6BIZOKHU.js → bridge-CPTCNR3W.js} +46 -46
- package/chunks/{caption-audio-WJTT7JNK.js → caption-audio-L3HOMTUY.js} +3 -3
- package/chunks/{caption-image-VEPFLHPM.js → caption-image-GY23BCP2.js} +3 -3
- package/chunks/{channel-management-service-3WOOQ4XM.js → channel-management-service-3N7PWPPX.js} +1 -1
- package/chunks/{channel-settings-store-GWLLLZNN.js → channel-settings-store-FKNZKDL2.js} +50 -50
- package/chunks/{channel-worker-group-JQVH6YXZ.js → channel-worker-group-2GQEYLPK.js} +5 -5
- package/chunks/{channel-worker-manager-6GRAAS5P.js → channel-worker-manager-632CIIWM.js} +5 -5
- package/chunks/{channel-worker-supervisor-MGI34IDQ.js → channel-worker-supervisor-3IT7AZBG.js} +3 -3
- package/chunks/{chunk-FLMQNPT7.js → chunk-25ZX5TBU.js} +1 -1
- package/chunks/{chunk-ZRXYTB4K.js → chunk-2EL6C4IG.js} +8 -8
- package/chunks/{chunk-HG7BSAAQ.js → chunk-2G4SSHDU.js} +1 -1
- package/chunks/{chunk-J2BN4URJ.js → chunk-2IHBVVI7.js} +1 -1
- package/chunks/{chunk-SHJBXWWG.js → chunk-2JFVAZJ4.js} +3 -3
- package/chunks/{chunk-CPDZQCLH.js → chunk-2PHWLN26.js} +1 -1
- package/chunks/{chunk-3YRZQZQW.js → chunk-2QKJVJRS.js} +1 -1
- package/chunks/{chunk-VCUAEDIB.js → chunk-2SRDM56L.js} +2 -2
- package/chunks/{chunk-SH4TBUBG.js → chunk-2T7GOMLD.js} +10 -10
- package/chunks/{chunk-CJGSGMXL.js → chunk-2UNLHJDT.js} +1 -1
- package/chunks/{chunk-AHAFF43V.js → chunk-2ZTO4GE2.js} +4 -4
- package/chunks/{chunk-TXPFRFNN.js → chunk-3NRZNPWL.js} +6 -6
- package/chunks/{chunk-PLJ6YSQX.js → chunk-4D3IKEOE.js} +1 -1
- package/chunks/{chunk-FQRWWEBV.js → chunk-4IGG3G7R.js} +22 -19
- package/chunks/{chunk-OVU4JKTO.js → chunk-4IMTKRDR.js} +1 -1
- package/chunks/{chunk-NNT6O4J3.js → chunk-4OBZCRKM.js} +2 -2
- package/chunks/{chunk-GOVIASFS.js → chunk-557JLJHM.js} +3 -3
- package/chunks/{chunk-AU2UW4DJ.js → chunk-5ONGZ3PR.js} +2 -2
- package/chunks/{chunk-E6LQ7EPP.js → chunk-5VLGVOYA.js} +7 -7
- package/chunks/{chunk-ANKISCKU.js → chunk-5WQQOM5K.js} +1 -0
- package/chunks/{chunk-IXORUYH3.js → chunk-62CUWTLF.js} +4 -4
- package/chunks/{chunk-D4QVZ3JC.js → chunk-63BQSGLY.js} +2 -2
- package/chunks/{chunk-4BJBICBR.js → chunk-63TI6ZAD.js} +1 -1
- package/chunks/{chunk-K3MDKK3H.js → chunk-67PJ6OOD.js} +1 -1
- package/chunks/{chunk-5YVH75II.js → chunk-6EX5DGFK.js} +1 -1
- package/chunks/{chunk-CH3NP6IB.js → chunk-6K6KYSKV.js} +3 -3
- package/chunks/{chunk-GOVHQ7MU.js → chunk-6LS4JDDC.js} +3 -3
- package/chunks/{chunk-MCXETRWJ.js → chunk-7JRVPWT3.js} +11 -11
- package/chunks/{chunk-B27WBTQL.js → chunk-7KXHS2EQ.js} +4 -4
- package/chunks/{chunk-R6IES4JL.js → chunk-7SVSNLW3.js} +1 -1
- package/chunks/{chunk-L7TJUPNR.js → chunk-A4MRRFBI.js} +5 -0
- package/chunks/{chunk-AGSCJIHL.js → chunk-ABROGGJJ.js} +1 -1
- package/chunks/{chunk-WWLAMZKC.js → chunk-AMPZWMAB.js} +3 -3
- package/chunks/{chunk-EIGKYA3A.js → chunk-BELFFOZG.js} +7 -7
- package/chunks/{chunk-AA7TDMW7.js → chunk-BHAGKBV5.js} +212 -23
- package/chunks/{chunk-2CZQ57EU.js → chunk-BJEZBTUO.js} +9 -2
- package/chunks/{chunk-WQRSYHOV.js → chunk-BNTEKVYN.js} +1 -1
- package/chunks/{chunk-7F4PJYUT.js → chunk-BZJAS2DW.js} +1 -1
- package/chunks/{chunk-74JB3JDQ.js → chunk-CFDQMDEK.js} +16 -16
- package/chunks/{chunk-GVRLIFA4.js → chunk-CJ4ELLG6.js} +4 -4
- package/chunks/{chunk-B56HYOUO.js → chunk-D55VRMZY.js} +2 -2
- package/chunks/{chunk-JEX74CST.js → chunk-DDYLVTHB.js} +1 -1
- package/chunks/{chunk-ZVSFBBEP.js → chunk-ETL4YO5F.js} +94 -88
- package/chunks/{chunk-LN4WZAX6.js → chunk-EW6NXQ4Y.js} +1 -1
- package/chunks/{chunk-CSZQMAJU.js → chunk-FEJKOREW.js} +9 -4
- package/chunks/{chunk-ABA6SVGG.js → chunk-FL5HFUET.js} +1 -1
- package/chunks/{chunk-YG2QHKNQ.js → chunk-FLXLRVM2.js} +2 -2
- package/chunks/{chunk-BGVLXVEL.js → chunk-FPQF7XED.js} +1 -1
- package/chunks/{chunk-YJUHLWQP.js → chunk-FQ2BQKJO.js} +2 -2
- package/chunks/{chunk-CZIABXYD.js → chunk-FST2R4CI.js} +41 -16
- package/chunks/{chunk-YHDKU3TE.js → chunk-GDMIPTWI.js} +4 -4
- package/chunks/{chunk-IAXMFUQS.js → chunk-GGAP4YAL.js} +7 -7
- package/chunks/{chunk-HQASDZCX.js → chunk-GJE25C44.js} +2 -2
- package/chunks/{chunk-BC5SRSMK.js → chunk-GZCIMJ4P.js} +2 -2
- package/chunks/{chunk-MMRGG6R4.js → chunk-H32AKV4B.js} +1 -1
- package/chunks/{chunk-HZYLXNG7.js → chunk-HB6ZJYKX.js} +1 -1
- package/chunks/{chunk-JTVICULJ.js → chunk-HIFCCFIX.js} +1 -1
- package/chunks/{chunk-G7XNSEWW.js → chunk-HXP4WF7E.js} +1 -1
- package/chunks/{chunk-KEA5LER2.js → chunk-IWZZOD6J.js} +3002 -1792
- package/chunks/{chunk-YTVYZJKS.js → chunk-J2WKPAFA.js} +9 -9
- package/chunks/{chunk-BCT35JUS.js → chunk-J4I37FUS.js} +3 -3
- package/chunks/{chunk-NKRIFDS7.js → chunk-JBGXQP4F.js} +1 -1
- package/chunks/{chunk-FIGVLM7P.js → chunk-JDS6RRHY.js} +37 -2
- package/chunks/{chunk-QSYAJODM.js → chunk-JDWE2L76.js} +1 -1
- package/chunks/{chunk-LHI3FFDO.js → chunk-JGTA5HF2.js} +2 -2
- package/chunks/{chunk-SDOSMUK7.js → chunk-JHXDPLZV.js} +10 -10
- package/chunks/{chunk-ZFRHTGGC.js → chunk-JJ7DTMUY.js} +3 -3
- package/chunks/{chunk-M7L2SA2L.js → chunk-JYAUFSSC.js} +2 -2
- package/chunks/{chunk-RPGUFXRL.js → chunk-KT72MHEH.js} +2 -2
- package/chunks/{chunk-T5U7ZMER.js → chunk-KTEF2ERM.js} +1 -1
- package/chunks/{chunk-EOAC7LYX.js → chunk-KZE3BRBA.js} +1 -1
- package/chunks/{chunk-BUGGU43J.js → chunk-LYA76B7V.js} +20 -20
- package/chunks/{chunk-KWBROJVD.js → chunk-LYG2IAYP.js} +1 -1
- package/chunks/{chunk-UPFXN2I5.js → chunk-M43OIUEX.js} +11 -11
- package/chunks/{chunk-HKJBFFQL.js → chunk-MBV4C6W4.js} +2 -2
- package/chunks/{chunk-ITY5NM7C.js → chunk-MVNKMBFZ.js} +2 -2
- package/chunks/{chunk-AW4D3YZH.js → chunk-NBFMRK3I.js} +6 -6
- package/chunks/{chunk-QWJUL3EV.js → chunk-NC25XA5T.js} +14 -14
- package/chunks/{chunk-DP4UACBB.js → chunk-NHG3WFXH.js} +1 -1
- package/chunks/{chunk-ZL4IRXYL.js → chunk-O7EYG73H.js} +3 -3
- package/chunks/{chunk-FYBXHBWA.js → chunk-OEYDEBC2.js} +1 -1
- package/chunks/{chunk-3GHFKNQ4.js → chunk-OGONUWCZ.js} +3 -3
- package/chunks/{chunk-CQXPGQM3.js → chunk-OQVJWZ54.js} +4 -4
- package/chunks/{chunk-KNTOORZV.js → chunk-OXOBUKJJ.js} +1 -1
- package/chunks/{chunk-YXHY6BKS.js → chunk-OY4DP3XV.js} +14 -1
- package/chunks/{chunk-5NMDAR3R.js → chunk-PKLFEF3W.js} +5 -3
- package/chunks/{chunk-LJV4K3DB.js → chunk-PRNIHA6W.js} +6 -5
- package/chunks/{chunk-JCFZTTXZ.js → chunk-QS6K2J5T.js} +3 -3
- package/chunks/{chunk-MCJVUCX2.js → chunk-RCVCG5D6.js} +1 -1
- package/chunks/{chunk-23AKEO2X.js → chunk-RD3MKHNH.js} +4 -4
- package/chunks/{chunk-EKAYSP2Z.js → chunk-REC2C2PJ.js} +1 -1
- package/chunks/{chunk-UKJB6ZQG.js → chunk-RRY73GCA.js} +2 -2
- package/chunks/{chunk-AC4FUDXK.js → chunk-S2IUMCP4.js} +1 -1
- package/chunks/{chunk-NGUKVAO3.js → chunk-SHZIQMXV.js} +1 -1
- package/chunks/{chunk-5RX3WWHF.js → chunk-SV24PR2T.js} +1 -1
- package/chunks/{chunk-NQVLSKLN.js → chunk-T25GIJ7Q.js} +6 -6
- package/chunks/{chunk-2Y74HXRF.js → chunk-T6LELOWQ.js} +12 -12
- package/chunks/{chunk-OM4T37CL.js → chunk-TAPJEWAP.js} +3 -3
- package/chunks/{chunk-JSLE45K3.js → chunk-TBBZWESZ.js} +11 -11
- package/chunks/{chunk-EJ34K56Y.js → chunk-TDNFYX3D.js} +3 -3
- package/chunks/{chunk-2SDAQDRJ.js → chunk-TENR27NT.js} +12 -6
- package/chunks/{chunk-LRB2MK5S.js → chunk-U6E3DZJ2.js} +17 -16
- package/chunks/{chunk-JSRFFUXK.js → chunk-UHMNQV4F.js} +1 -1
- package/chunks/{chunk-SENYKRII.js → chunk-UM4V7562.js} +1 -1
- package/chunks/{chunk-U33SJE32.js → chunk-USVK4SPX.js} +27 -27
- package/chunks/{chunk-DSJQYGJZ.js → chunk-UUQP6E3M.js} +8 -0
- package/chunks/{chunk-EGFLRBZ6.js → chunk-V5AAWDR5.js} +1 -1
- package/chunks/{chunk-R4CCSBN5.js → chunk-VAWSNTZ5.js} +8 -8
- package/chunks/{chunk-TRJLFLSG.js → chunk-VG2OBPC5.js} +1 -1
- package/chunks/{chunk-AHJF2GP6.js → chunk-VJBXXK6Y.js} +3 -3
- package/chunks/{chunk-4JL7XATQ.js → chunk-VMZPWKDO.js} +1 -1
- package/chunks/{chunk-6KR42S7N.js → chunk-VSE6CR6A.js} +1 -1
- package/chunks/{chunk-HBZQIGAR.js → chunk-VWRRG6WB.js} +2 -2
- package/chunks/{chunk-EXWXXD6V.js → chunk-W3RTZ56Y.js} +2 -2
- package/chunks/{chunk-ZZHSX7DH.js → chunk-WAKXHYR7.js} +1 -1
- package/chunks/{chunk-5X4EQBIA.js → chunk-WMZHEEA4.js} +1 -1
- package/chunks/{chunk-5LWMGZUU.js → chunk-WTEDVQBQ.js} +1 -1
- package/chunks/{chunk-PUN3M7R2.js → chunk-WYB7KMO4.js} +6 -6
- package/chunks/{chunk-5GGB5BBQ.js → chunk-WYOXEOH2.js} +67 -4
- package/chunks/{chunk-RJUBIGK4.js → chunk-X2D5TGMY.js} +4 -4
- package/chunks/{chunk-BHBX535D.js → chunk-X4JS3V6Z.js} +3 -3
- package/chunks/{chunk-B2V6P65V.js → chunk-X7FOYU7O.js} +1 -1
- package/chunks/{chunk-FP6ZEPRZ.js → chunk-YGZ635BF.js} +25 -25
- package/chunks/{chunk-T4VZ2FFU.js → chunk-YKW6NONW.js} +4 -4
- package/chunks/{chunk-CBIQ7JYA.js → chunk-YRZWDTZE.js} +2 -2
- package/chunks/{chunk-DAIWLFBL.js → chunk-ZLMZ4T2V.js} +4 -4
- package/chunks/{chunk-VBO2XHNW.js → chunk-ZME4D5II.js} +20 -18
- package/chunks/{chunk-ES7Y4WAU.js → chunk-ZP4BQFDJ.js} +4 -4
- package/chunks/{chunk-N4SQ4YAQ.js → chunk-ZUPFQZ75.js} +49 -48
- package/chunks/{clip-audio-ALB7NSX7.js → clip-audio-QME6TMCF.js} +1 -1
- package/chunks/{clip-image-Y3MKBSNQ.js → clip-image-SRBYL65N.js} +1 -1
- package/chunks/{clip-video-544D65CN.js → clip-video-NJY3YQCO.js} +1 -1
- package/chunks/{codex-subagent-executor-ASRNK33D.js → codex-subagent-executor-PIWS5KTC.js} +49 -49
- package/chunks/{config-IMU5NWJA.js → config-PDKMLX5L.js} +2 -2
- package/chunks/{config-utils-276H35DM.js → config-utils-M4KPYAJT.js} +43 -43
- package/chunks/{container-execution-environment-2BGRRHWG.js → container-execution-environment-3TLVYGYP.js} +2 -2
- package/chunks/{contextCommand-3KJY52EZ.js → contextCommand-GCYMSLJZ.js} +43 -43
- package/chunks/{convert-image-4LKO3QSE.js → convert-image-LMVDXS5X.js} +1 -1
- package/chunks/{core-runtime-PCU5WKTW.js → core-runtime-PK25YBIM.js} +41 -41
- package/chunks/{create-sub-session-ZQSEDQEP.js → create-sub-session-MTARGYFJ.js} +43 -43
- package/chunks/{create-sub-session-4TDRAOML.js → create-sub-session-VZR6N5V4.js} +2 -2
- package/chunks/{cron-create-RE3BU3FZ.js → cron-create-OFXWICWD.js} +1 -1
- package/chunks/{cron-delete-2VRPQ42H.js → cron-delete-ZX5S7W5H.js} +1 -1
- package/chunks/{cron-list-NUXGPC4H.js → cron-list-PUG7FCB6.js} +1 -1
- package/chunks/{daemon-E4MVZ7AP.js → daemon-LKIZ3HNV.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-3G7OJZVE.js → daemon-git-worktree-guard-JDRPXPJR.js} +45 -45
- package/chunks/{daemon-status-provider-DK4OBIDO.js → daemon-status-provider-5TQUY752.js} +52 -52
- package/chunks/{daemon-trust-policy-AUJD73YS.js → daemon-trust-policy-EG5ZTZSE.js} +48 -48
- package/chunks/{daemon-trust-policy-monitor-B36SX5ZD.js → daemon-trust-policy-monitor-TL35QBDA.js} +48 -48
- package/chunks/{deferred-core-runtime-X3AZHAKT.js → deferred-core-runtime-TV537Q5K.js} +41 -41
- package/chunks/{display-image-LJNYI4RV.js → display-image-Z3G5SPL3.js} +3 -3
- package/chunks/{downsample-audio-RQFPZFPG.js → downsample-audio-H4NUFCDZ.js} +1 -1
- package/chunks/{downsample-image-4D3H2UWY.js → downsample-image-U5OUCLD2.js} +4 -4
- package/chunks/{downscale-video-N6LYF3X6.js → downscale-video-CVDYIIHX.js} +1 -1
- package/chunks/{edit-VOVWMP6A.js → edit-5VEQK2KV.js} +26 -26
- package/chunks/{en-TOD7T4QQ.js → en-W6CBO4YQ.js} +9 -0
- package/chunks/{enter-worktree-5FI25CNL.js → enter-worktree-VSFZPIBK.js} +1 -1
- package/chunks/{enterPlanMode-XH3H22Y5.js → enterPlanMode-JJZCLBLY.js} +25 -25
- package/chunks/{environment-6VXYH6VG.js → environment-QM4XGSIK.js} +43 -43
- package/chunks/{errors-NBZXAZ4Z.js → errors-UCTBZYTW.js} +43 -43
- package/chunks/{exec-UXNA4CU5.js → exec-MCLYNTF5.js} +1 -1
- package/chunks/{execution-tool-HU4U2MZC.js → execution-tool-T3PNV6WX.js} +27 -27
- package/chunks/{execution-worker-7S5M5TSJ.js → execution-worker-RAZPKO3I.js} +34 -34
- package/chunks/{exit-worktree-DUIRWKPA.js → exit-worktree-2JDM2TP3.js} +1 -1
- package/chunks/{exitPlanMode-GDM5HEN2.js → exitPlanMode-RO6MTCR3.js} +25 -25
- package/chunks/{extract-audio-FSYM3VVM.js → extract-audio-L24INWVN.js} +1 -1
- package/chunks/{extract-keyframes-NCE7XTZB.js → extract-keyframes-CUMPTHA5.js} +1 -1
- package/chunks/{fast-path-ZA6QMLO5.js → fast-path-IX6DB7PM.js} +3 -3
- package/chunks/{fast-path-settings-BW2THCUD.js → fast-path-settings-TLOSL5ML.js} +1 -1
- package/chunks/{glob-QFBHEAGO.js → glob-UODXHR6W.js} +26 -26
- package/chunks/{goal-tools-GY3COQCT.js → goal-tools-RRHHAHVS.js} +25 -25
- package/chunks/{grep-2AHWRRW7.js → grep-LTJKIQCZ.js} +2 -2
- package/chunks/{handleAutoUpdate-B2USOESX.js → handleAutoUpdate-IAXZTMAE.js} +45 -45
- package/chunks/{i18n-MJLCQAHB.js → i18n-KFZWMFK2.js} +42 -42
- package/chunks/{image-gen-AGURDL2F.js → image-gen-WANZMVCS.js} +1 -1
- package/chunks/{initializer-YC5FADAU.js → initializer-2ZOOBI6A.js} +48 -48
- package/chunks/{installationInfo-GLODYMH6.js → installationInfo-5BYXCQAQ.js} +41 -41
- package/chunks/{list-KXO6KPDE.js → list-W5JFDCEH.js} +51 -51
- package/chunks/{list-agents-OC2WSRMI.js → list-agents-UIFCI4ER.js} +1 -1
- package/chunks/{llm-IH445P53.js → llm-QSFDYHD7.js} +106 -106
- package/chunks/{llm-content-generator-644JX24D.js → llm-content-generator-VKT6UJQD.js} +3 -3
- package/chunks/{loadedSettingsAdapter-7SRX7VUN.js → loadedSettingsAdapter-4EP6C36I.js} +48 -48
- package/chunks/{local-execution-environment-E7R4JG7E.js → local-execution-environment-EWAZCW4G.js} +34 -34
- package/chunks/{loggingContentGenerator-OJZWGSGX.js → loggingContentGenerator-Y246INXF.js} +26 -26
- package/chunks/{loop-wakeup-AKQ5VA4R.js → loop-wakeup-TOJSDAX4.js} +2 -2
- package/chunks/{ls-SN3NRT3I.js → ls-72SDBQ2K.js} +2 -2
- package/chunks/{lsp-V3LC5RY3.js → lsp-OXDLQX2P.js} +1 -1
- package/chunks/{managed-npm-update-BWI3YFRU.js → managed-npm-update-26X7BVHF.js} +42 -42
- package/chunks/{mcp-JWWJ5TU7.js → mcp-YZHEB4AJ.js} +48 -48
- package/chunks/{memory-side-query-FCFRCOFG.js → memory-side-query-XA52PDYS.js} +2 -2
- package/chunks/{model-call-collection-NZHEJIY7.js → model-call-collection-4CLBXCD2.js} +3 -3
- package/chunks/{model-configuration-ZVHNQSJS.js → model-configuration-QA2OWKB4.js} +48 -48
- package/chunks/{modelConfigUtils-AG2S7GA7.js → modelConfigUtils-UXMZ35D3.js} +42 -42
- package/chunks/{monitor-EQRAWX7A.js → monitor-4GCE6SBI.js} +27 -27
- package/chunks/{nonInteractiveCli-MMJVDGEY.js → nonInteractiveCli-YMI7QAKU.js} +91 -91
- package/chunks/{nonInteractiveToolExecutor-3IEPY5DJ.js → nonInteractiveToolExecutor-X47HCPEO.js} +26 -26
- package/chunks/{notebook-edit-SQVDWVV6.js → notebook-edit-TDGILTTI.js} +26 -26
- package/chunks/{ocr-image-Y44EWIB6.js → ocr-image-P6YEH6V6.js} +3 -3
- package/chunks/{omni-35EBXSME.js → omni-IOVPBQ2W.js} +10 -10
- package/chunks/{openaiContentGenerator-53O227CL.js → openaiContentGenerator-MLHGAHPT.js} +12 -12
- package/chunks/{openaiResponsesContentGenerator-BAYPOZEC.js → openaiResponsesContentGenerator-CWGHD5YK.js} +2 -2
- package/chunks/{pidfile-HAEQEZ64.js → pidfile-JSIHOGRR.js} +41 -41
- package/chunks/{process-registry-7LAPI3ZB.js → process-registry-MDKO6QY2.js} +1 -1
- package/chunks/{processUtils-KYIV5HC3.js → processUtils-BU2G7I54.js} +2 -2
- package/chunks/{prompt-terminal-ledger-GXIT72Z5.js → prompt-terminal-ledger-VU63A7T3.js} +42 -42
- package/chunks/{qwenContentGenerator-AX6DSXDT.js → qwenContentGenerator-YCBMJ7FT.js} +27 -27
- package/chunks/{reactive-degrade-AMTLWTLV.js → reactive-degrade-UAVWGU46.js} +10 -10
- package/chunks/{read-file-6S4GIC2K.js → read-file-QNN37J7X.js} +5 -5
- package/chunks/{read-mcp-resource-F7Y7TG2M.js → read-mcp-resource-VXVH5WXY.js} +1 -1
- package/chunks/{recall-media-memory-tool-BQTS26HR.js → recall-media-memory-tool-GCEE2PFQ.js} +2 -2
- package/chunks/{record-artifact-XDRCIWCW.js → record-artifact-O7JYB52H.js} +2 -2
- package/chunks/{record-source-S6UBE2VH.js → record-source-QBKXPY2B.js} +6 -6
- package/chunks/{report-findings-F4QERRFR.js → report-findings-JOY5T6BE.js} +3 -3
- package/chunks/{request-shutdown-XNRH6MV3.js → request-shutdown-RRZ7CPMZ.js} +5 -5
- package/chunks/{resumeHistoryUtils-GWHFVTC3.js → resumeHistoryUtils-FHKTP6X2.js} +47 -47
- package/chunks/{ripGrep-VQGJNW4K.js → ripGrep-YDYZVYLZ.js} +6 -6
- package/chunks/{run-qwen-serve-RVON37J5.js → run-qwen-serve-Y2QUOAFI.js} +77 -77
- package/chunks/{runtime-HV7PSD3Q.js → runtime-24EOMPRT.js} +51 -51
- package/chunks/{sandbox-2OKPORXP.js → sandbox-M4ZFC7UK.js} +50 -50
- package/chunks/{sandboxConfig-JS3ZI2GL.js → sandboxConfig-ZLZIBECD.js} +42 -42
- package/chunks/{scheduled-tasks-V3JMXVOV.js → scheduled-tasks-37BGGKFE.js} +49 -49
- package/chunks/{scheduler-YWUNAEFF.js → scheduler-MPGAWEJ7.js} +43 -43
- package/chunks/{send-message-DQYG7UA7.js → send-message-HKSMSFSD.js} +5 -5
- package/chunks/{serve-ID2Q4MWD.js → serve-M7KIBFXK.js} +48 -48
- package/chunks/{server-HK6IXBVP.js → server-4LWLWOEM.js} +451 -171
- package/chunks/{session-6CRGACLX.js → session-3SHGMIXY.js} +96 -96
- package/chunks/{session-attachments-root-O6ZRZXDP.js → session-attachments-root-KU3OTCBA.js} +41 -41
- package/chunks/session-context-6W5KFEVI.js +206 -0
- package/chunks/{session-pr-refresh-MEJYBAXR.js → session-pr-refresh-2CTKAXKW.js} +48 -48
- package/chunks/session-transcript-reader-5EZUBY5D.js +158 -0
- package/chunks/{settings-BRDCRWGI.js → settings-3NK6PJY6.js} +51 -51
- package/chunks/{shell-YU4MQWEI.js → shell-ZCE2Z7HM.js} +25 -25
- package/chunks/{skill-26WK45TC.js → skill-J2S7USOF.js} +7 -7
- package/chunks/{skill-settings-ASVFIW7I.js → skill-settings-CE7PRMQZ.js} +48 -48
- package/chunks/{spawnChannel-ILC4CSNK.js → spawnChannel-CWM64UIU.js} +45 -45
- package/chunks/{standalone-update-44PGH5CI.js → standalone-update-R24FLSSW.js} +43 -43
- package/chunks/{start-opentui-ui-3WNJ3Y3B.js → start-opentui-ui-E6BBHWV3.js} +163 -142
- package/chunks/{startInteractiveUI-ICMITNVB.js → startInteractiveUI-WM4FKTPT.js} +161 -150
- package/chunks/{syntheticOutput-M7K42KRP.js → syntheticOutput-35OLCA42.js} +2 -2
- package/chunks/{task-create-M43C4SBX.js → task-create-MMWCUSLH.js} +6 -6
- package/chunks/{task-list-ESK3U5S5.js → task-list-ZXFVRRNB.js} +1 -1
- package/chunks/{task-stop-4I6RM5K2.js → task-stop-LZYDKQSC.js} +2 -2
- package/chunks/{task-update-PW6XM3S6.js → task-update-DAYAIPJV.js} +6 -6
- package/chunks/{team-create-4EL4BNT6.js → team-create-YW7LALMB.js} +30 -30
- package/chunks/{team-delete-QYOE7HXP.js → team-delete-NDZK3XKJ.js} +1 -1
- package/chunks/{team-plan-approval-T7XDAPCT.js → team-plan-approval-CQBPU5QC.js} +25 -25
- package/chunks/{terminal-image-renderer-J4E6JEVD.js → terminal-image-renderer-CQ6VMEUP.js} +41 -41
- package/chunks/{theme-manager-EAA4P7ZB.js → theme-manager-HWH6G76G.js} +41 -41
- package/chunks/{todoWrite-4U5OPUBT.js → todoWrite-AHVPEMQH.js} +1 -1
- package/chunks/{tool-result-media-LVUF5W62.js → tool-result-media-KAY3CLAU.js} +10 -10
- package/chunks/{tool-search-BJ47WF7Y.js → tool-search-K46APLYA.js} +9 -9
- package/chunks/{total-session-admission-AFSEND5Y.js → total-session-admission-NTOL22LW.js} +47 -47
- package/chunks/{transcribe-audio-R5C26LIX.js → transcribe-audio-MGPBAEQO.js} +2 -2
- package/chunks/{tree-sitter-4D7QS7F6.js → tree-sitter-BKGVCBHX.js} +1 -1
- package/chunks/{tree-sitter-bash-VEJGF5XF.js → tree-sitter-bash-TPHDBRZ5.js} +1 -1
- package/chunks/{trustedFolders-BXVC2ZSN.js → trustedFolders-E7VWOFL6.js} +42 -42
- package/chunks/{understand-video-segments-ZHHAKJSD.js → understand-video-segments-YNHXX3ZO.js} +3 -3
- package/chunks/{update-relaunch-3VTLQD6Y.js → update-relaunch-DPDJ2FKY.js} +5 -5
- package/chunks/{updateCheck-T7CBK52C.js → updateCheck-S2WV5RTW.js} +45 -45
- package/chunks/{upload-config-ITUYOGSZ.js → upload-config-4GCFSZIX.js} +4 -4
- package/chunks/{useAutoAcceptIndicator-7B2FZOXS.js → useAutoAcceptIndicator-ULE5KJWZ.js} +50 -50
- package/chunks/{validateNonInterActiveAuth-2GLGIBX2.js → validateNonInterActiveAuth-3ROBFNXB.js} +88 -88
- package/chunks/{version-XTAYX4SL.js → version-VYRYIPWR.js} +1 -1
- package/chunks/{web-fetch-RAXAPC6C.js → web-fetch-XLS7HVSR.js} +7 -7
- package/chunks/{web-search-GDJDCAZK.js → web-search-KK63ARBF.js} +5 -5
- package/chunks/{web-shell-static-7D6SWOB2.js → web-shell-static-IMYZZXVX.js} +5 -5
- package/chunks/{workflow-TOLHCUKY.js → workflow-R7D3TPE3.js} +28 -28
- package/chunks/{workspace-providers-status-JY4WYV7Y.js → workspace-providers-status-SXJTY7CC.js} +53 -53
- package/chunks/{workspace-registration-store-WECAXTJZ.js → workspace-registration-store-MZV7JUZG.js} +1 -1
- package/chunks/{workspace-registry-ZI47BE24.js → workspace-registry-TPZSBDG5.js} +47 -47
- package/chunks/{workspace-runtime-coordinator-G7MYTPB5.js → workspace-runtime-coordinator-CBAB6RRX.js} +47 -47
- package/chunks/{workspace-service-VXXHCV4D.js → workspace-service-EY4SCO5B.js} +54 -54
- package/chunks/{workspace-skills-status-2PZDUB5Q.js → workspace-skills-status-TK55VYIL.js} +51 -51
- package/chunks/{workspace-trust-reconciler-SJVRYLJZ.js → workspace-trust-reconciler-2WV7DYBU.js} +54 -54
- package/chunks/{write-file-52PVKECT.js → write-file-AHORYCLH.js} +27 -27
- package/chunks/{zh-TW-Q7UZ46DB.js → zh-TW-SAFJ66GA.js} +9 -0
- package/chunks/{zh-W7CTRI6H.js → zh-YMBHFIUS.js} +9 -0
- package/chunks/{zoom-image-3WGAMQBO.js → zoom-image-WZ7Z3TTU.js} +7 -7
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.css +1 -1
- package/export-transcript-document.js +68 -68
- package/locales/en.js +11 -0
- package/locales/zh-TW.js +11 -0
- package/locales/zh.js +11 -0
- package/package.json +5 -4
- package/web-shell/assets/{abnfDiagram-VCTEODGH-D0JEBuhT.js → abnfDiagram-VCTEODGH-CyPW3MyE.js} +1 -1
- package/web-shell/assets/{arc-DAGU6UBq.js → arc-BIwRbyQO.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-BwwmZlIz.js → architectureDiagram-5GKGNRK7-mQwWErF1.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-CVlamuqi.js → blockDiagram-NRAW4CY4-v_xwoAq4.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-Ci_IwJMk.js → c4Diagram-UCG6FXSJ-wTEi-I6R.js} +1 -1
- package/web-shell/assets/channel-CHPzhNuZ.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-BTkMSTwx.js → chunk-2Q5K7J3B-C4NQrYtx.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-B1PRIYDb.js → chunk-5VM5RSS4-BkloTrH2.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DxAa9kyk.js → chunk-F27PBJKO-CyEy2yU9.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-B6U4bvzH.js → chunk-G27WJ6UU-Bq-siHqt.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-BisoH50p.js → chunk-JWPE2WC7-D7YoL3pe.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-CMRFZX9Y.js → chunk-LCL6LL3I-BMo2pJJE.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-Bc3bX2-1.js → chunk-POPQ4Y6H-CkARqfRz.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-BSY_Of1a.js → chunk-SVP7TREG-CH7OUIgi.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DHYrtDpD.js → chunk-XXDRQBXY-BI_0zShB.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-_s9FjDFZ.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-_s9FjDFZ.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-Bys8oqE4.js → cose-bilkent-JH36ORCC-Ce7yl466.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-Bk-1CHqw.js → cynefin-OW5HDTMX-CS8PMOPz.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-COEAsK-6.js → cynefinDiagram-5FMLGOSQ-BSm01ZjN.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-BnG-9dPK.js → dagre-3AP2YEHR-BRlLEtOw.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-BtVOEWgf.js → diagram-S7CK7UJ4-CJFxQAqp.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-d4UMEB4H.js → diagram-UQ7AKVKN-RHiBfgDk.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-DyumoLYZ.js → diagram-VSXAHHWV-CrXXg8i7.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-Cldjtjw-.js → diagram-VX7I27RA-B_m_nSwH.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-Ca2x7FQT.js → diagram-Z3DM3KII-C_WYs1jN.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-_aBrHXYY.js → ebnfDiagram-PWID7BFC-nvRLE8NU.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DNwW3a90.js → erDiagram-SSCWMZ5O-yUCbTkac.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-BfJ0C05G.js → flowDiagram-A5DVABFB-BE0BOSOz.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BjF5dWdv.js → ganttDiagram-EL5Y4UJY-Dg6A0SVT.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-CGWbHD_5.js → gitGraphDiagram-WWUBYQGX-DLk7NsGH.js} +1 -1
- package/web-shell/assets/index-33OvMW07.css +36 -0
- package/web-shell/assets/{index-nCA_zAWZ.js → index-C3mDaHR8.js} +1 -1
- package/web-shell/assets/{index-DzP0zXEw.js → index-DvLDby56.js} +508 -484
- package/web-shell/assets/{infoDiagram-RXCK75RN-Cb54Ezi2.js → infoDiagram-RXCK75RN-Dk9fr_59.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-24hQd7nh.js → ishikawaDiagram-5VMMS53U-B_8qV5Cd.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BeMX0Fob.js → journeyDiagram-EYS64GPL-ByRAiDNU.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-CtzuHfsW.js → kanban-definition-3QL26DDD-CO3Z9yCT.js} +1 -1
- package/web-shell/assets/{layout-Cm8Q-zkY.js → layout-LfcQeqsn.js} +1 -1
- package/web-shell/assets/{linear-ROsyxegk.js → linear-CYm0x8F3.js} +1 -1
- package/web-shell/assets/{mermaid.core-CbsHVklJ.js → mermaid.core-BYAYV3_v.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-D-1wgZM8.js → mindmap-definition-FBJOCRG2-rVKNrftS.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-CA0EenND.js → pegDiagram-XKGWAZYB-DnCJjarQ.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-DpQYQEr7.js → pieDiagram-E7YTZNPT-C5FcOi6B.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-p_vAaR6O.js → quadrantDiagram-AXDQQJYC-CmB5URZk.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-BKyJ5sVa.js → railroadDiagram-O6MQD6OU-QsrySXiN.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-DSLOYpCE.js → requirementDiagram-EFPCY7ZU-DaTFk3dk.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-BKsyb3xf.js → sankeyDiagram-P5KCCOFB-CjNEuldX.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-gKXhvPcm.js → sequenceDiagram-WJ2MYXX4-C1NUbZb3.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-CMICsW9l.js → sizeCapture-X5ZJPWSS-BSjxXAC8.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-D1DfVVxo.js → stateDiagram-HBIQ2CUA-9FdxfbvP.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BldXkxBD.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-CwStpdu7.js → swimlanes-XN3QIQJK-DH4m4WvK.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-CqQ_CSPT.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-Cr0FW_dQ.js → timeline-definition-24CTP7MA-Ds2cOZ77.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BdBYY1sF.js → vennDiagram-4TSXK5OY-CbrGmElv.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-D_0NskWe.js → wardleyDiagram-VM6X3IG4-BGd9_UJZ.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-C92n2C8T.js → xychartDiagram-S5SC5T6Z-BVXJ_UVa.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-BnrGNlLf.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-CFT-ig3n.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-CFT-ig3n.js +0 -1
- package/web-shell/assets/index-CfVvGORC.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-CPEnbJbA.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ByuUl_Y1.js +0 -8
- package/chunks/{chunk-UYMCEBEE.js → chunk-6LPV2AL7.js} +5 -5
- package/chunks/{dist-7FCM7M5G.js → dist-CESMUYGN.js} +3 -3
- package/chunks/{dist-BTLSFHSL.js → dist-UXVNLQHG.js} +2 -2
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
deriveWebSocketBase,
|
|
5
|
+
openQwenAsrRealtimeStream,
|
|
6
|
+
openVoiceStream,
|
|
7
|
+
openVoiceStreamWithRetry
|
|
8
|
+
} from "./chunk-4B7U3KQP.js";
|
|
3
9
|
import {
|
|
4
10
|
GENERATION_MAX_PROMPT_BYTES,
|
|
5
11
|
MAX_REMEMBER_CONTENT_BYTES,
|
|
@@ -14,13 +20,7 @@ import {
|
|
|
14
20
|
shouldSuppressRememberErrorDetails,
|
|
15
21
|
workspaceMemoryFailureCode,
|
|
16
22
|
workspaceMemoryFailureDiagnostics
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
deriveWebSocketBase,
|
|
20
|
-
openQwenAsrRealtimeStream,
|
|
21
|
-
openVoiceStream,
|
|
22
|
-
openVoiceStreamWithRetry
|
|
23
|
-
} from "./chunk-4B7U3KQP.js";
|
|
23
|
+
} from "./chunk-RD3MKHNH.js";
|
|
24
24
|
import {
|
|
25
25
|
SetupGithubError,
|
|
26
26
|
collectSessionData,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toJson,
|
|
33
33
|
toJsonl,
|
|
34
34
|
toMarkdown
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NC25XA5T.js";
|
|
36
36
|
import {
|
|
37
37
|
OBSERVED_CONTACT_MAX_FRESH_WITHIN_SECONDS,
|
|
38
38
|
ObservedChannelContactStore
|
|
@@ -41,7 +41,7 @@ import "./chunk-VFFQAOPR.js";
|
|
|
41
41
|
import {
|
|
42
42
|
escapeAnsiCtrlCodes
|
|
43
43
|
} from "./chunk-47ECGEJC.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-2IHBVVI7.js";
|
|
45
45
|
import "./chunk-2MIN6GRR.js";
|
|
46
46
|
import "./chunk-QHTIBUWB.js";
|
|
47
47
|
import "./chunk-TXASDT2M.js";
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
singleTokenCredentials,
|
|
116
116
|
tagListener,
|
|
117
117
|
unsafeRevealSecret
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-FEJKOREW.js";
|
|
119
119
|
import {
|
|
120
120
|
ConversationDirectoryIdentityError,
|
|
121
121
|
getConversationDirectoryName,
|
|
@@ -127,6 +127,12 @@ import {
|
|
|
127
127
|
formatHostForAuthority,
|
|
128
128
|
isLoopbackBind
|
|
129
129
|
} from "./chunk-DMEUXLSS.js";
|
|
130
|
+
import {
|
|
131
|
+
createTotalSessionAdmissionController
|
|
132
|
+
} from "./chunk-UM4V7562.js";
|
|
133
|
+
import {
|
|
134
|
+
assertValidChannelSecretUpdates
|
|
135
|
+
} from "./chunk-J4I37FUS.js";
|
|
130
136
|
import {
|
|
131
137
|
AONE_MAX_MR_VIEW_CALLS_PER_RUN,
|
|
132
138
|
DaemonDrainingError,
|
|
@@ -154,7 +160,7 @@ import {
|
|
|
154
160
|
runWithWorkspaceRuntimeStorage,
|
|
155
161
|
searchWorkspaceSessionsForResponse,
|
|
156
162
|
unarchiveDaemonSessions
|
|
157
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-USVK4SPX.js";
|
|
158
164
|
import {
|
|
159
165
|
LIVE_SESSION_SOURCE_PREFIX,
|
|
160
166
|
isCompatibleLiveSessionSource,
|
|
@@ -191,20 +197,29 @@ import {
|
|
|
191
197
|
isReservedStandaloneSessionSourceType,
|
|
192
198
|
isScheduledTaskRunSource
|
|
193
199
|
} from "./chunk-N4QWUPDM.js";
|
|
200
|
+
import {
|
|
201
|
+
isServeDebugMode,
|
|
202
|
+
mountWebShellAssets,
|
|
203
|
+
mountWebShellSpaFallback
|
|
204
|
+
} from "./chunk-MVNKMBFZ.js";
|
|
205
|
+
import {
|
|
206
|
+
require_express
|
|
207
|
+
} from "./chunk-ZLMZ4T2V.js";
|
|
208
|
+
import "./chunk-FBX2SDQ4.js";
|
|
194
209
|
import {
|
|
195
210
|
evaluateDaemonWorkspaceTrust,
|
|
196
211
|
readDaemonTrustPolicySnapshot
|
|
197
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-VJBXXK6Y.js";
|
|
198
213
|
import {
|
|
199
214
|
readRecentPromptTerminals,
|
|
200
215
|
reconcileDanglingPromptTerminals,
|
|
201
216
|
withPromptTerminals
|
|
202
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-JBGXQP4F.js";
|
|
203
218
|
import {
|
|
204
219
|
WorkspaceGenerationClosedError,
|
|
205
220
|
createSingleWorkspaceRegistry,
|
|
206
221
|
createWorkspaceSessionOwnerIndex
|
|
207
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-H32AKV4B.js";
|
|
208
223
|
import {
|
|
209
224
|
sessionAttachmentsRoots
|
|
210
225
|
} from "./chunk-PJSZXERN.js";
|
|
@@ -230,11 +245,11 @@ import {
|
|
|
230
245
|
sendUntrustedWorkspaceResponse,
|
|
231
246
|
sendWorkspaceRuntimeUnavailable,
|
|
232
247
|
setWorkspaceRouteContext
|
|
233
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-NBFMRK3I.js";
|
|
234
249
|
import {
|
|
235
250
|
normalizeChannelDelivery,
|
|
236
251
|
parseChannelDelivery
|
|
237
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-W3RTZ56Y.js";
|
|
238
253
|
import {
|
|
239
254
|
isValidSessionId,
|
|
240
255
|
normalizeSessionIdForLookup,
|
|
@@ -242,7 +257,7 @@ import {
|
|
|
242
257
|
} from "./chunk-ZEZKIS2K.js";
|
|
243
258
|
import {
|
|
244
259
|
createSessionOrganizationService
|
|
245
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-BZJAS2DW.js";
|
|
246
261
|
import {
|
|
247
262
|
isInternalWorkspaceRuntime
|
|
248
263
|
} from "./chunk-NYWWQ437.js";
|
|
@@ -261,14 +276,14 @@ import {
|
|
|
261
276
|
validateWorkspaceSkillName,
|
|
262
277
|
validateWorkspaceVoiceState,
|
|
263
278
|
voiceSettingsScopeToWire
|
|
264
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-T6LELOWQ.js";
|
|
265
280
|
import {
|
|
266
281
|
PermissionRulesValidationError,
|
|
267
282
|
buildPermissionSettings,
|
|
268
283
|
isPermissionRuleType,
|
|
269
284
|
normalizePermissionRules,
|
|
270
285
|
readPermissionRuleSet
|
|
271
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-ABROGGJJ.js";
|
|
272
287
|
import {
|
|
273
288
|
assertVoiceBaseUrlNetworkAllowed,
|
|
274
289
|
isStreamingVoiceModel,
|
|
@@ -276,85 +291,103 @@ import {
|
|
|
276
291
|
resolveVoiceTranscriptionConfig,
|
|
277
292
|
sanitizeVoiceErrorMessage,
|
|
278
293
|
transcribeVoiceAudio
|
|
279
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-4D3IKEOE.js";
|
|
280
295
|
import {
|
|
281
296
|
isVoiceEnabled,
|
|
282
297
|
isVoiceMode,
|
|
283
298
|
readVoiceModel,
|
|
284
299
|
resolveVoiceTransport
|
|
285
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-RCVCG5D6.js";
|
|
286
301
|
import {
|
|
287
302
|
resolvePath
|
|
288
303
|
} from "./chunk-UIWUFHRJ.js";
|
|
289
304
|
import {
|
|
290
|
-
|
|
291
|
-
|
|
305
|
+
WorkspacePermissionRulesSessionRequiredError,
|
|
306
|
+
WorkspaceSettingsPartialPersistError,
|
|
307
|
+
WorkspaceSkillNotFoundError,
|
|
308
|
+
mapWorkspaceSkillToggleError
|
|
309
|
+
} from "./chunk-FTJMWDND.js";
|
|
292
310
|
import {
|
|
293
|
-
|
|
294
|
-
|
|
311
|
+
WorkspaceRuntimeInitializationError,
|
|
312
|
+
WorkspaceRuntimeStillStartingError,
|
|
313
|
+
getWorkspaceRuntimeCoordinator,
|
|
314
|
+
getWorkspaceRuntimeCoordinatorIfSupported,
|
|
315
|
+
supportsWorkspaceRuntimeLifecycle
|
|
316
|
+
} from "./chunk-FST2R4CI.js";
|
|
317
|
+
import "./chunk-OIBUG24X.js";
|
|
318
|
+
import {
|
|
319
|
+
MAX_SESSION_RESTORE_TIMEOUT_MS,
|
|
320
|
+
resolveSessionRestoreTimeoutMs,
|
|
321
|
+
restoreRetryAfterSeconds
|
|
322
|
+
} from "./chunk-4JRM2BSM.js";
|
|
323
|
+
import {
|
|
324
|
+
createDaemonStatusProvider
|
|
325
|
+
} from "./chunk-6K6KYSKV.js";
|
|
326
|
+
import "./chunk-2JFVAZJ4.js";
|
|
327
|
+
import "./chunk-JYAUFSSC.js";
|
|
328
|
+
import "./chunk-FUSEMYFX.js";
|
|
329
|
+
import {
|
|
330
|
+
SessionArtifactAuthorizationError,
|
|
331
|
+
SessionArtifactValidationError,
|
|
332
|
+
createAcpSessionBridge,
|
|
333
|
+
extractErrorCode,
|
|
334
|
+
extractErrorMessage,
|
|
335
|
+
parseSessionSource
|
|
336
|
+
} from "./chunk-BHAGKBV5.js";
|
|
337
|
+
import {
|
|
338
|
+
EVENT_SCHEMA_VERSION,
|
|
339
|
+
EventBus,
|
|
340
|
+
SubscriberLimitExceededError,
|
|
341
|
+
summarizeReplay
|
|
342
|
+
} from "./chunk-KWYTSSTJ.js";
|
|
343
|
+
import "./chunk-WCCLLK7X.js";
|
|
344
|
+
import "./chunk-OCPBI7J5.js";
|
|
295
345
|
import {
|
|
296
346
|
createWorkspaceProvidersStatusProvider
|
|
297
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-2T7GOMLD.js";
|
|
298
348
|
import {
|
|
299
349
|
PERSIST_REASONING_SELECTION_META_KEY,
|
|
300
350
|
REASONING_SELECTION_PERSISTED_META_KEY
|
|
301
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-4OBZCRKM.js";
|
|
352
|
+
import {
|
|
353
|
+
snapshotProcessEnv
|
|
354
|
+
} from "./chunk-25ZX5TBU.js";
|
|
302
355
|
import {
|
|
303
356
|
getAuthTypeFromEnv,
|
|
304
357
|
resolveCliGenerationConfig
|
|
305
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-OGONUWCZ.js";
|
|
306
359
|
import {
|
|
307
360
|
findModelConfiguration,
|
|
308
361
|
findModelConfigurationForDeletion,
|
|
309
362
|
isConversationModelConfiguration,
|
|
310
363
|
isImageModelConfiguration,
|
|
311
364
|
listModelConfigurations
|
|
312
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-5ONGZ3PR.js";
|
|
313
366
|
import {
|
|
314
367
|
sanitizeProviderBaseUrl
|
|
315
368
|
} from "./chunk-Y3Q5OK4D.js";
|
|
316
369
|
import {
|
|
317
370
|
createWorkspaceSkillsStatusProvider
|
|
318
|
-
} from "./chunk-
|
|
319
|
-
import "./chunk-
|
|
371
|
+
} from "./chunk-BELFFOZG.js";
|
|
372
|
+
import "./chunk-DDYLVTHB.js";
|
|
320
373
|
import {
|
|
321
374
|
lookupSkillDisablement,
|
|
322
375
|
resolveSkillSettings
|
|
323
|
-
} from "./chunk-
|
|
324
|
-
import {
|
|
325
|
-
WorkspaceRuntimeInitializationError,
|
|
326
|
-
WorkspaceRuntimeStillStartingError,
|
|
327
|
-
getWorkspaceRuntimeCoordinator,
|
|
328
|
-
getWorkspaceRuntimeCoordinatorIfSupported,
|
|
329
|
-
supportsWorkspaceRuntimeLifecycle
|
|
330
|
-
} from "./chunk-CZIABXYD.js";
|
|
331
|
-
import "./chunk-OIBUG24X.js";
|
|
332
|
-
import {
|
|
333
|
-
MAX_SESSION_RESTORE_TIMEOUT_MS,
|
|
334
|
-
resolveSessionRestoreTimeoutMs,
|
|
335
|
-
restoreRetryAfterSeconds
|
|
336
|
-
} from "./chunk-4JRM2BSM.js";
|
|
337
|
-
import {
|
|
338
|
-
WorkspacePermissionRulesSessionRequiredError,
|
|
339
|
-
WorkspaceSettingsPartialPersistError,
|
|
340
|
-
WorkspaceSkillNotFoundError,
|
|
341
|
-
mapWorkspaceSkillToggleError
|
|
342
|
-
} from "./chunk-FTJMWDND.js";
|
|
343
|
-
import {
|
|
344
|
-
isServeDebugMode,
|
|
345
|
-
mountWebShellAssets,
|
|
346
|
-
mountWebShellSpaFallback
|
|
347
|
-
} from "./chunk-ITY5NM7C.js";
|
|
348
|
-
import {
|
|
349
|
-
require_express
|
|
350
|
-
} from "./chunk-DAIWLFBL.js";
|
|
351
|
-
import "./chunk-FBX2SDQ4.js";
|
|
376
|
+
} from "./chunk-63TI6ZAD.js";
|
|
352
377
|
import {
|
|
353
378
|
daemonObservedContactsPath,
|
|
354
379
|
loadChannelsConfig
|
|
355
|
-
} from "./chunk-
|
|
356
|
-
import "./chunk-
|
|
380
|
+
} from "./chunk-YKW6NONW.js";
|
|
381
|
+
import "./chunk-2ZTO4GE2.js";
|
|
357
382
|
import "./chunk-57OAHC2Y.js";
|
|
383
|
+
import {
|
|
384
|
+
parseChannelWebhookConfigLenient
|
|
385
|
+
} from "./chunk-UHMNQV4F.js";
|
|
386
|
+
import {
|
|
387
|
+
supportedChannelCatalog
|
|
388
|
+
} from "./chunk-FLXLRVM2.js";
|
|
389
|
+
import "./chunk-LFKXIOGC.js";
|
|
390
|
+
import "./chunk-V6WHFGST.js";
|
|
358
391
|
import {
|
|
359
392
|
assertLiveDiscoveryPublisher,
|
|
360
393
|
getStableLiveDiscoveryBaseDir
|
|
@@ -372,34 +405,9 @@ import {
|
|
|
372
405
|
conversationRuntimeOwnershipCompromisedError,
|
|
373
406
|
conversationRuntimeUnavailableError
|
|
374
407
|
} from "./chunk-TBUYRX6R.js";
|
|
375
|
-
import {
|
|
376
|
-
createDaemonStatusProvider
|
|
377
|
-
} from "./chunk-CH3NP6IB.js";
|
|
378
|
-
import "./chunk-SHJBXWWG.js";
|
|
379
|
-
import "./chunk-M7L2SA2L.js";
|
|
380
|
-
import "./chunk-FUSEMYFX.js";
|
|
381
|
-
import {
|
|
382
|
-
snapshotProcessEnv
|
|
383
|
-
} from "./chunk-FLMQNPT7.js";
|
|
384
|
-
import {
|
|
385
|
-
SessionArtifactAuthorizationError,
|
|
386
|
-
SessionArtifactValidationError,
|
|
387
|
-
createAcpSessionBridge,
|
|
388
|
-
extractErrorCode,
|
|
389
|
-
extractErrorMessage,
|
|
390
|
-
parseSessionSource
|
|
391
|
-
} from "./chunk-AA7TDMW7.js";
|
|
392
|
-
import {
|
|
393
|
-
EVENT_SCHEMA_VERSION,
|
|
394
|
-
EventBus,
|
|
395
|
-
SubscriberLimitExceededError,
|
|
396
|
-
summarizeReplay
|
|
397
|
-
} from "./chunk-KWYTSSTJ.js";
|
|
398
|
-
import "./chunk-WCCLLK7X.js";
|
|
399
|
-
import "./chunk-OCPBI7J5.js";
|
|
400
408
|
import {
|
|
401
409
|
createSpawnChannelFactory
|
|
402
|
-
} from "./chunk-
|
|
410
|
+
} from "./chunk-TENR27NT.js";
|
|
403
411
|
import "./chunk-LYD3T3H7.js";
|
|
404
412
|
import {
|
|
405
413
|
BridgeTimeoutError,
|
|
@@ -409,17 +417,11 @@ import {
|
|
|
409
417
|
createIdleWorkspaceMemoryStatus,
|
|
410
418
|
mapDomainErrorToErrorKind,
|
|
411
419
|
readServeWorkflowActionInput
|
|
412
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-KZE3BRBA.js";
|
|
421
|
+
import "./chunk-K6KS3LTN.js";
|
|
413
422
|
import "./chunk-ZL4HFSL6.js";
|
|
414
|
-
import
|
|
415
|
-
|
|
416
|
-
} from "./chunk-JSRFFUXK.js";
|
|
417
|
-
import {
|
|
418
|
-
supportedChannelCatalog
|
|
419
|
-
} from "./chunk-YG2QHKNQ.js";
|
|
420
|
-
import "./chunk-LFKXIOGC.js";
|
|
421
|
-
import "./chunk-V6WHFGST.js";
|
|
422
|
-
import "./chunk-FIGVLM7P.js";
|
|
423
|
+
import "./chunk-OSHQMOBS.js";
|
|
424
|
+
import "./chunk-JDS6RRHY.js";
|
|
423
425
|
import {
|
|
424
426
|
MAX_REGISTERED_WORKSPACES,
|
|
425
427
|
WorkspaceDisplayNameValidationError,
|
|
@@ -429,7 +431,7 @@ import {
|
|
|
429
431
|
normalizeWorkspaceDisplayName,
|
|
430
432
|
resolveMaxRegisteredWorkspaces,
|
|
431
433
|
workspaceRegistrationId
|
|
432
|
-
} from "./chunk-
|
|
434
|
+
} from "./chunk-SV24PR2T.js";
|
|
433
435
|
import {
|
|
434
436
|
CHANNEL_PROMPT_META_KEY,
|
|
435
437
|
DAEMON_PROMPT_DISPLAY_TEXT_META_KEY,
|
|
@@ -474,8 +476,9 @@ import {
|
|
|
474
476
|
WorkspaceInitPathEscapeError,
|
|
475
477
|
WorkspaceInitRaceError,
|
|
476
478
|
WorkspaceInitSymlinkError,
|
|
477
|
-
WorkspaceMismatchError
|
|
478
|
-
|
|
479
|
+
WorkspaceMismatchError,
|
|
480
|
+
WorkspaceRuntimeStopError
|
|
481
|
+
} from "./chunk-OY4DP3XV.js";
|
|
479
482
|
import {
|
|
480
483
|
MAX_WORKSPACE_PATH_LENGTH,
|
|
481
484
|
canonicalizeWorkspace,
|
|
@@ -493,12 +496,12 @@ import {
|
|
|
493
496
|
MAX_CHANNEL_STARTUP_FAILURE_MESSAGE_LENGTH,
|
|
494
497
|
isChannelWebhookEnqueueError
|
|
495
498
|
} from "./chunk-STUJ7IMZ.js";
|
|
496
|
-
import {
|
|
497
|
-
QWEN_SERVER_TOKEN_ENV
|
|
498
|
-
} from "./chunk-GYTKQYDB.js";
|
|
499
499
|
import {
|
|
500
500
|
normalizeWorkerDiagnostic
|
|
501
501
|
} from "./chunk-L3SNMEDW.js";
|
|
502
|
+
import {
|
|
503
|
+
QWEN_SERVER_TOKEN_ENV
|
|
504
|
+
} from "./chunk-GYTKQYDB.js";
|
|
502
505
|
import {
|
|
503
506
|
normalizeServeChannelSelection
|
|
504
507
|
} from "./chunk-GDWE23OR.js";
|
|
@@ -507,13 +510,11 @@ import {
|
|
|
507
510
|
isChannelDeliveryError
|
|
508
511
|
} from "./chunk-RKFGE7JH.js";
|
|
509
512
|
import "./chunk-UDG5EZJI.js";
|
|
510
|
-
import "./chunk-3VUENPWF.js";
|
|
511
513
|
import {
|
|
512
514
|
redactLogCredentials
|
|
513
515
|
} from "./chunk-M5GB774H.js";
|
|
516
|
+
import "./chunk-3VUENPWF.js";
|
|
514
517
|
import "./chunk-CJ3DHN5I.js";
|
|
515
|
-
import "./chunk-K6KS3LTN.js";
|
|
516
|
-
import "./chunk-OSHQMOBS.js";
|
|
517
518
|
import {
|
|
518
519
|
sanitizeLogText
|
|
519
520
|
} from "./chunk-PZRXWQUA.js";
|
|
@@ -531,30 +532,28 @@ import {
|
|
|
531
532
|
resolveOutputLanguageOrPreserveAuto,
|
|
532
533
|
updateOutputLanguageFile,
|
|
533
534
|
validateSettingValue
|
|
534
|
-
} from "./chunk-
|
|
535
|
+
} from "./chunk-ZME4D5II.js";
|
|
535
536
|
import "./chunk-RKUWKYED.js";
|
|
536
|
-
import "./chunk-
|
|
537
|
+
import "./chunk-WYOXEOH2.js";
|
|
538
|
+
import "./chunk-BW4333PP.js";
|
|
539
|
+
import "./chunk-IDS7MSUP.js";
|
|
537
540
|
import {
|
|
538
541
|
detectSystemLanguage,
|
|
539
542
|
getCurrentLanguage,
|
|
540
543
|
resolveLanguageSetting,
|
|
541
544
|
setLanguageAsync
|
|
542
|
-
} from "./chunk-
|
|
545
|
+
} from "./chunk-557JLJHM.js";
|
|
543
546
|
import {
|
|
544
547
|
SUPPORTED_LANGUAGES,
|
|
545
548
|
resolveSupportedLanguage
|
|
546
549
|
} from "./chunk-5EJZE3FP.js";
|
|
547
550
|
import {
|
|
548
551
|
buildRuntimeEnvironment
|
|
549
|
-
} from "./chunk-
|
|
550
|
-
import "./chunk-BW4333PP.js";
|
|
551
|
-
import "./chunk-IDS7MSUP.js";
|
|
552
|
+
} from "./chunk-PKLFEF3W.js";
|
|
552
553
|
import "./chunk-6V4XP46I.js";
|
|
553
|
-
import "./chunk-OVU4JKTO.js";
|
|
554
|
-
import "./chunk-W3N5XAZ6.js";
|
|
555
554
|
import {
|
|
556
555
|
getWorkspaceTrustStatus
|
|
557
|
-
} from "./chunk-
|
|
556
|
+
} from "./chunk-HXP4WF7E.js";
|
|
558
557
|
import "./chunk-NPQ5ZKRP.js";
|
|
559
558
|
import {
|
|
560
559
|
isWithinRoot as isWithinRoot2
|
|
@@ -569,38 +568,40 @@ import {
|
|
|
569
568
|
buildUsageDashboard,
|
|
570
569
|
loadIgnoreRules,
|
|
571
570
|
writeWorkspaceContextFile
|
|
572
|
-
} from "./chunk-
|
|
571
|
+
} from "./chunk-YGZ635BF.js";
|
|
573
572
|
import "./chunk-GELRJXE2.js";
|
|
574
573
|
import "./chunk-32CM56LO.js";
|
|
575
|
-
import "./chunk-
|
|
574
|
+
import "./chunk-4IMTKRDR.js";
|
|
575
|
+
import "./chunk-W3N5XAZ6.js";
|
|
576
|
+
import "./chunk-WTEDVQBQ.js";
|
|
576
577
|
import "./chunk-LJZSMWOH.js";
|
|
577
|
-
import "./chunk-B27WBTQL.js";
|
|
578
|
-
import "./chunk-HKJBFFQL.js";
|
|
579
|
-
import "./chunk-LHI3FFDO.js";
|
|
580
578
|
import {
|
|
581
579
|
clearWorktreeSession,
|
|
582
580
|
readWorktreeSession,
|
|
583
581
|
readWorktreeSessionStrict,
|
|
584
582
|
writeWorktreeSession
|
|
585
583
|
} from "./chunk-CXDWVOBM.js";
|
|
586
|
-
import "./chunk-
|
|
587
|
-
import "./chunk-ZPJWUGCS.js";
|
|
584
|
+
import "./chunk-7KXHS2EQ.js";
|
|
588
585
|
import "./chunk-O4A2B6V2.js";
|
|
589
|
-
import "./chunk-
|
|
586
|
+
import "./chunk-MBV4C6W4.js";
|
|
587
|
+
import "./chunk-JGTA5HF2.js";
|
|
588
|
+
import "./chunk-M43OIUEX.js";
|
|
589
|
+
import "./chunk-VSE6CR6A.js";
|
|
590
|
+
import "./chunk-ZPJWUGCS.js";
|
|
591
|
+
import "./chunk-VWRRG6WB.js";
|
|
590
592
|
import "./chunk-LAE6RY3L.js";
|
|
591
593
|
import "./chunk-7PQ65Z5F.js";
|
|
592
|
-
import "./chunk-
|
|
593
|
-
import "./chunk-
|
|
594
|
-
import "./chunk-
|
|
595
|
-
import "./chunk-
|
|
596
|
-
import "./chunk-T5U7ZMER.js";
|
|
594
|
+
import "./chunk-TBBZWESZ.js";
|
|
595
|
+
import "./chunk-CJ4ELLG6.js";
|
|
596
|
+
import "./chunk-2QKJVJRS.js";
|
|
597
|
+
import "./chunk-KTEF2ERM.js";
|
|
597
598
|
import "./chunk-V2XJJTAB.js";
|
|
598
|
-
import "./chunk-
|
|
599
|
+
import "./chunk-YRZWDTZE.js";
|
|
599
600
|
import "./chunk-HARQNY36.js";
|
|
600
601
|
import "./chunk-B4BGUUBA.js";
|
|
601
602
|
import "./chunk-YDERQ7ZV.js";
|
|
602
|
-
import "./chunk-
|
|
603
|
-
import "./chunk-
|
|
603
|
+
import "./chunk-2G4SSHDU.js";
|
|
604
|
+
import "./chunk-NHG3WFXH.js";
|
|
604
605
|
import {
|
|
605
606
|
BuiltinAgentRegistry,
|
|
606
607
|
Client,
|
|
@@ -681,23 +682,30 @@ import {
|
|
|
681
682
|
toSessionPrInfo,
|
|
682
683
|
upsertSessionPr,
|
|
683
684
|
watchRepoBranch
|
|
684
|
-
} from "./chunk-
|
|
685
|
-
import "./chunk-
|
|
685
|
+
} from "./chunk-IWZZOD6J.js";
|
|
686
|
+
import "./chunk-V5AAWDR5.js";
|
|
686
687
|
import "./chunk-GOFAQQZA.js";
|
|
688
|
+
import "./chunk-65I7S4Z3.js";
|
|
687
689
|
import "./chunk-HEOH7JZY.js";
|
|
688
690
|
import "./chunk-TWPJO254.js";
|
|
689
691
|
import "./chunk-CQ35AJ4Z.js";
|
|
690
|
-
import "./chunk-65I7S4Z3.js";
|
|
691
|
-
import "./chunk-ABA6SVGG.js";
|
|
692
|
-
import "./chunk-4YS7RMCB.js";
|
|
693
692
|
import "./chunk-PQQV3OBW.js";
|
|
693
|
+
import "./chunk-FL5HFUET.js";
|
|
694
|
+
import "./chunk-4YS7RMCB.js";
|
|
695
|
+
import {
|
|
696
|
+
GitWorktreeService,
|
|
697
|
+
WorktreeMarkerCommittedError,
|
|
698
|
+
createWorktreeSessionMarkerExclusive,
|
|
699
|
+
readWorktreeSessionMarkerStrict,
|
|
700
|
+
transferWorktreeSessionMarkerOwner
|
|
701
|
+
} from "./chunk-AL5DR6XP.js";
|
|
694
702
|
import "./chunk-6PVPNMXU.js";
|
|
695
703
|
import {
|
|
696
704
|
resolveModelId
|
|
697
705
|
} from "./chunk-OB57Y2WH.js";
|
|
698
706
|
import {
|
|
699
707
|
readArtifactSnapshot
|
|
700
|
-
} from "./chunk-
|
|
708
|
+
} from "./chunk-5WQQOM5K.js";
|
|
701
709
|
import "./chunk-5EZRLTLQ.js";
|
|
702
710
|
import "./chunk-QHWCP53L.js";
|
|
703
711
|
import {
|
|
@@ -707,31 +715,25 @@ import {
|
|
|
707
715
|
taskHasLegacyCondition,
|
|
708
716
|
updateCronTasks
|
|
709
717
|
} from "./chunk-C4FISGDN.js";
|
|
718
|
+
import "./chunk-GHG4PQY2.js";
|
|
719
|
+
import "./chunk-YVYK3JYU.js";
|
|
710
720
|
import {
|
|
711
721
|
parseGoalControlRequest,
|
|
712
722
|
qualifySkillName,
|
|
713
723
|
recordDaemonBridgeError,
|
|
714
724
|
recordDaemonHttpRequest,
|
|
715
725
|
validateSkillName
|
|
716
|
-
} from "./chunk-
|
|
726
|
+
} from "./chunk-JDWE2L76.js";
|
|
717
727
|
import "./chunk-KMPZCA4L.js";
|
|
718
728
|
import "./chunk-O6GEWCJA.js";
|
|
719
|
-
import {
|
|
720
|
-
GitWorktreeService,
|
|
721
|
-
WorktreeMarkerCommittedError,
|
|
722
|
-
createWorktreeSessionMarkerExclusive,
|
|
723
|
-
readWorktreeSessionMarkerStrict,
|
|
724
|
-
transferWorktreeSessionMarkerOwner
|
|
725
|
-
} from "./chunk-AL5DR6XP.js";
|
|
726
729
|
import "./chunk-CHEIIBT3.js";
|
|
727
730
|
import "./chunk-U6H3XTFA.js";
|
|
728
731
|
import "./chunk-ACHCT36C.js";
|
|
729
|
-
import "./chunk-
|
|
730
|
-
import "./chunk-YVYK3JYU.js";
|
|
732
|
+
import "./chunk-EVZT24AF.js";
|
|
731
733
|
import {
|
|
732
734
|
SessionSourceError
|
|
733
735
|
} from "./chunk-ELRMZTPF.js";
|
|
734
|
-
import "./chunk-
|
|
736
|
+
import "./chunk-GZCIMJ4P.js";
|
|
735
737
|
import {
|
|
736
738
|
APPROVAL_MODES
|
|
737
739
|
} from "./chunk-JX6XHPTX.js";
|
|
@@ -743,17 +745,16 @@ import "./chunk-QCG3JVIW.js";
|
|
|
743
745
|
import "./chunk-Q5N5NEVT.js";
|
|
744
746
|
import "./chunk-ADN5KESB.js";
|
|
745
747
|
import "./chunk-SK3RZOPS.js";
|
|
746
|
-
import "./chunk-EVZT24AF.js";
|
|
747
748
|
import "./chunk-6C3D7BKK.js";
|
|
748
|
-
import "./chunk-
|
|
749
|
+
import "./chunk-VMZPWKDO.js";
|
|
750
|
+
import "./chunk-HIFCCFIX.js";
|
|
749
751
|
import "./chunk-MNU36NGH.js";
|
|
750
752
|
import "./chunk-BQMSZSG6.js";
|
|
751
|
-
import "./chunk-
|
|
753
|
+
import "./chunk-OXOBUKJJ.js";
|
|
752
754
|
import {
|
|
753
755
|
NO_EXEC_CONFIG,
|
|
754
756
|
findGitRoot
|
|
755
757
|
} from "./chunk-AUFTA63J.js";
|
|
756
|
-
import "./chunk-JTVICULJ.js";
|
|
757
758
|
import "./chunk-MLXTMF7H.js";
|
|
758
759
|
import "./chunk-JYGESWZM.js";
|
|
759
760
|
import "./chunk-TFDCK56Y.js";
|
|
@@ -762,17 +763,17 @@ import "./chunk-S5BHLTHK.js";
|
|
|
762
763
|
import "./chunk-KSEKRQJO.js";
|
|
763
764
|
import "./chunk-VNOVK4I7.js";
|
|
764
765
|
import "./chunk-WFNEY5G7.js";
|
|
765
|
-
import "./chunk-
|
|
766
|
+
import "./chunk-HB6ZJYKX.js";
|
|
766
767
|
import "./chunk-S6LOFUVP.js";
|
|
767
768
|
import "./chunk-BKVPLSEI.js";
|
|
768
|
-
import "./chunk-
|
|
769
|
+
import "./chunk-63BQSGLY.js";
|
|
769
770
|
import "./chunk-S7UQ3V2H.js";
|
|
770
771
|
import "./chunk-QE36VXWP.js";
|
|
771
772
|
import {
|
|
772
773
|
SubagentError,
|
|
773
774
|
SubagentErrorCode
|
|
774
|
-
} from "./chunk-
|
|
775
|
-
import "./chunk-
|
|
775
|
+
} from "./chunk-QS6K2J5T.js";
|
|
776
|
+
import "./chunk-S2IUMCP4.js";
|
|
776
777
|
import {
|
|
777
778
|
escapeXml
|
|
778
779
|
} from "./chunk-GXNXX7A2.js";
|
|
@@ -788,7 +789,7 @@ import {
|
|
|
788
789
|
resolveModelProtocol,
|
|
789
790
|
shouldShowStep,
|
|
790
791
|
tryResolveModelProtocol
|
|
791
|
-
} from "./chunk-
|
|
792
|
+
} from "./chunk-VG2OBPC5.js";
|
|
792
793
|
import {
|
|
793
794
|
QwenOAuth2Client,
|
|
794
795
|
QwenOAuthPollError,
|
|
@@ -820,12 +821,9 @@ import "./chunk-XWRJCPHC.js";
|
|
|
820
821
|
import {
|
|
821
822
|
parseLineTolerant,
|
|
822
823
|
read
|
|
823
|
-
} from "./chunk-
|
|
824
|
+
} from "./chunk-J2WKPAFA.js";
|
|
824
825
|
import "./chunk-5ETULJLP.js";
|
|
825
826
|
import "./chunk-VGC4I5JJ.js";
|
|
826
|
-
import "./chunk-CFMZLE3L.js";
|
|
827
|
-
import "./chunk-RVT5L74D.js";
|
|
828
|
-
import "./chunk-HD7O6WLV.js";
|
|
829
827
|
import {
|
|
830
828
|
CursorNotAtLineBoundaryError,
|
|
831
829
|
LargeNonUtf8TextError,
|
|
@@ -835,14 +833,17 @@ import {
|
|
|
835
833
|
isUtf8CompatibleEncoding,
|
|
836
834
|
isWithinRoot
|
|
837
835
|
} from "./chunk-25FMWESU.js";
|
|
836
|
+
import "./chunk-CFMZLE3L.js";
|
|
837
|
+
import "./chunk-RVT5L74D.js";
|
|
838
|
+
import "./chunk-HD7O6WLV.js";
|
|
838
839
|
import "./chunk-SBSW3CHK.js";
|
|
839
840
|
import "./chunk-WZAD4ZNJ.js";
|
|
840
841
|
import "./chunk-EKBQJ627.js";
|
|
841
|
-
import "./chunk-
|
|
842
|
+
import "./chunk-7SVSNLW3.js";
|
|
842
843
|
import "./chunk-GTI6CROA.js";
|
|
843
844
|
import "./chunk-7TGPYR3U.js";
|
|
844
|
-
import "./chunk-
|
|
845
|
-
import "./chunk-
|
|
845
|
+
import "./chunk-UUQP6E3M.js";
|
|
846
|
+
import "./chunk-3NRZNPWL.js";
|
|
846
847
|
import "./chunk-XZA32HII.js";
|
|
847
848
|
import "./chunk-CA63HYHU.js";
|
|
848
849
|
import "./chunk-SBP43AO6.js";
|
|
@@ -2820,6 +2821,234 @@ var require_saxes = __commonJS({
|
|
|
2820
2821
|
// packages/cli/src/serve/server.ts
|
|
2821
2822
|
init_esbuild_shims();
|
|
2822
2823
|
var import_express7 = __toESM(require_express(), 1);
|
|
2824
|
+
|
|
2825
|
+
// packages/cli/src/serve/routes/workspace-runtime-stop.ts
|
|
2826
|
+
init_esbuild_shims();
|
|
2827
|
+
function parseConfirmation(body) {
|
|
2828
|
+
const {
|
|
2829
|
+
confirmInterruptions,
|
|
2830
|
+
expectedChannelId,
|
|
2831
|
+
expectedRuntimeEpoch,
|
|
2832
|
+
expectedStopToken,
|
|
2833
|
+
expectedSessionIds
|
|
2834
|
+
} = body;
|
|
2835
|
+
if (confirmInterruptions !== true || typeof expectedChannelId !== "string" || typeof expectedRuntimeEpoch !== "number" || !Number.isSafeInteger(expectedRuntimeEpoch) || typeof expectedStopToken !== "string" || !Array.isArray(expectedSessionIds) || !expectedSessionIds.every((id) => typeof id === "string") || new Set(expectedSessionIds).size !== expectedSessionIds.length)
|
|
2836
|
+
return void 0;
|
|
2837
|
+
return {
|
|
2838
|
+
confirmInterruptions,
|
|
2839
|
+
expectedChannelId,
|
|
2840
|
+
expectedRuntimeEpoch,
|
|
2841
|
+
expectedStopToken,
|
|
2842
|
+
expectedSessionIds
|
|
2843
|
+
};
|
|
2844
|
+
}
|
|
2845
|
+
__name(parseConfirmation, "parseConfirmation");
|
|
2846
|
+
function registerWorkspaceRuntimeStopRoutes(app, deps) {
|
|
2847
|
+
const current = /* @__PURE__ */ __name((runtime) => {
|
|
2848
|
+
const entry = deps.workspaceRegistry.getEntryByWorkspaceId(
|
|
2849
|
+
runtime.workspaceId
|
|
2850
|
+
);
|
|
2851
|
+
return entry?.state === "active" && entry.current?.runtime === runtime && !entry.current.guard.closed && runtime.trusted;
|
|
2852
|
+
}, "current");
|
|
2853
|
+
const blockers = /* @__PURE__ */ __name((runtime) => {
|
|
2854
|
+
const reasons = [];
|
|
2855
|
+
if (!current(runtime)) reasons.push("runtime_unavailable");
|
|
2856
|
+
if (runtime.provenance && runtime.provenance !== "existing")
|
|
2857
|
+
reasons.push("special_runtime");
|
|
2858
|
+
if (!deps.ownsBridge(runtime) || !runtime.bridge.getRuntimeStopSnapshot || !runtime.bridge.getRuntimeStopCompletion || !runtime.bridge.stopWorkspaceRuntime)
|
|
2859
|
+
reasons.push("unsupported");
|
|
2860
|
+
const activity = deps.getActivity(runtime);
|
|
2861
|
+
if (!activity) reasons.push("activity_unknown");
|
|
2862
|
+
else
|
|
2863
|
+
for (const key of [
|
|
2864
|
+
"pendingSessionStarts",
|
|
2865
|
+
"acpConnections",
|
|
2866
|
+
"memoryTasks",
|
|
2867
|
+
"channelWorkers",
|
|
2868
|
+
"voiceSessions"
|
|
2869
|
+
]) {
|
|
2870
|
+
if (activity[key] > 0) reasons.push(key);
|
|
2871
|
+
}
|
|
2872
|
+
if (getWorkspaceRuntimeCoordinatorIfSupported(runtime)?.hasManagementWork())
|
|
2873
|
+
reasons.push("management_pending");
|
|
2874
|
+
if (deps.scheduledWorkActive(runtime)) reasons.push("scheduler_pending");
|
|
2875
|
+
return reasons;
|
|
2876
|
+
}, "blockers");
|
|
2877
|
+
const preview = /* @__PURE__ */ __name(async (runtime) => {
|
|
2878
|
+
let enabledTaskCount = null;
|
|
2879
|
+
const reasons = blockers(runtime);
|
|
2880
|
+
if (current(runtime) && deps.ownsBridge(runtime)) {
|
|
2881
|
+
try {
|
|
2882
|
+
const tasks = await runWithWorkspaceRuntimeStorage(
|
|
2883
|
+
runtime,
|
|
2884
|
+
() => readCronTasks(runtime.workspaceCwd)
|
|
2885
|
+
);
|
|
2886
|
+
enabledTaskCount = tasks.filter(
|
|
2887
|
+
(task) => task.enabled !== false && !taskHasLegacyCondition(task)
|
|
2888
|
+
).length;
|
|
2889
|
+
if (enabledTaskCount > 0) reasons.push("enabled_scheduled_tasks");
|
|
2890
|
+
} catch {
|
|
2891
|
+
reasons.push("scheduled_tasks_unknown");
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
const snapshot = current(runtime) ? runtime.bridge.getRuntimeStopSnapshot?.() : void 0;
|
|
2895
|
+
const blockedReasons = [
|
|
2896
|
+
.../* @__PURE__ */ new Set([
|
|
2897
|
+
...reasons,
|
|
2898
|
+
...blockers(runtime),
|
|
2899
|
+
...snapshot?.blockedReasons ?? ["unsupported"]
|
|
2900
|
+
])
|
|
2901
|
+
];
|
|
2902
|
+
return {
|
|
2903
|
+
workspaceId: runtime.workspaceId,
|
|
2904
|
+
cwd: runtime.workspaceCwd,
|
|
2905
|
+
displayName: runtime.displayName,
|
|
2906
|
+
primary: runtime.primary,
|
|
2907
|
+
state: runtime.bridge.getWorkspaceRuntimeLifecycleSnapshot?.().state ?? "unknown",
|
|
2908
|
+
canStop: blockedReasons.length === 0,
|
|
2909
|
+
enabledTaskCount,
|
|
2910
|
+
activity: deps.getActivity(runtime),
|
|
2911
|
+
runtimeEpoch: snapshot?.runtimeEpoch ?? 0,
|
|
2912
|
+
stopToken: snapshot?.stopToken ?? "",
|
|
2913
|
+
sessions: snapshot?.sessions ?? [],
|
|
2914
|
+
...snapshot,
|
|
2915
|
+
blockedReasons
|
|
2916
|
+
};
|
|
2917
|
+
}, "preview");
|
|
2918
|
+
const unavailable = /* @__PURE__ */ __name((res) => res.status(501).json({
|
|
2919
|
+
code: "workspace_runtime_stop_not_supported",
|
|
2920
|
+
error: "Workspace runtime stop is not supported by this daemon."
|
|
2921
|
+
}), "unavailable");
|
|
2922
|
+
app.get("/workspaces/runtime-stop-options", async (_req, res) => {
|
|
2923
|
+
if (!deps.available()) {
|
|
2924
|
+
unavailable(res);
|
|
2925
|
+
return;
|
|
2926
|
+
}
|
|
2927
|
+
const workspaces = await Promise.all(
|
|
2928
|
+
deps.workspaceRegistry.listManaged().filter((runtime) => !isInternalWorkspaceRuntime(runtime)).map(preview)
|
|
2929
|
+
);
|
|
2930
|
+
res.json({ ...deps.getCapacity(), workspaces });
|
|
2931
|
+
});
|
|
2932
|
+
app.post(
|
|
2933
|
+
"/workspaces/:workspace/runtime/stop",
|
|
2934
|
+
deps.mutate({ strict: true }),
|
|
2935
|
+
async (req, res) => {
|
|
2936
|
+
if (!deps.available()) {
|
|
2937
|
+
unavailable(res);
|
|
2938
|
+
return;
|
|
2939
|
+
}
|
|
2940
|
+
const runtime = resolveWorkspaceRuntimeFromParam(
|
|
2941
|
+
deps.workspaceRegistry,
|
|
2942
|
+
req,
|
|
2943
|
+
res
|
|
2944
|
+
);
|
|
2945
|
+
if (!runtime || !requireTrustedWorkspaceRuntime(runtime, res)) return;
|
|
2946
|
+
const confirmation = parseConfirmation(deps.safeBody(req));
|
|
2947
|
+
if (!confirmation) {
|
|
2948
|
+
res.status(400).json({
|
|
2949
|
+
code: "invalid_runtime_stop_confirmation",
|
|
2950
|
+
error: "Confirm the exact workspace and affected sessions before stopping."
|
|
2951
|
+
});
|
|
2952
|
+
return;
|
|
2953
|
+
}
|
|
2954
|
+
const coordinator = getWorkspaceRuntimeCoordinatorIfSupported(runtime);
|
|
2955
|
+
if (!coordinator || !deps.ownsBridge(runtime) || !runtime.bridge.getRuntimeStopCompletion || !runtime.bridge.stopWorkspaceRuntime) {
|
|
2956
|
+
unavailable(res);
|
|
2957
|
+
return;
|
|
2958
|
+
}
|
|
2959
|
+
const sendOutcome = /* @__PURE__ */ __name((result) => {
|
|
2960
|
+
const code = result.state === "stopping" ? "workspace_runtime_stop_in_progress" : result.state === "failed" ? "workspace_runtime_stop_failed" : "workspace_runtime_stop_incomplete";
|
|
2961
|
+
res.status(
|
|
2962
|
+
result.state === "stopped" ? 200 : result.state === "incomplete" ? 409 : 503
|
|
2963
|
+
).json({
|
|
2964
|
+
...result,
|
|
2965
|
+
workspaceId: runtime.workspaceId,
|
|
2966
|
+
...deps.getCapacity(),
|
|
2967
|
+
...result.state === "stopped" ? {} : {
|
|
2968
|
+
code,
|
|
2969
|
+
error: result.error ?? "Workspace stop is still in progress."
|
|
2970
|
+
}
|
|
2971
|
+
});
|
|
2972
|
+
}, "sendOutcome");
|
|
2973
|
+
try {
|
|
2974
|
+
const before = await preview(runtime);
|
|
2975
|
+
if (!current(runtime)) {
|
|
2976
|
+
res.status(409).json({
|
|
2977
|
+
code: "workspace_runtime_stop_stale",
|
|
2978
|
+
error: "Workspace generation changed. Refresh the preview."
|
|
2979
|
+
});
|
|
2980
|
+
return;
|
|
2981
|
+
}
|
|
2982
|
+
if (before.lastStop?.stopToken === confirmation.expectedStopToken && before.lastStop.channelId === confirmation.expectedChannelId && before.lastStop.runtimeEpoch === confirmation.expectedRuntimeEpoch) {
|
|
2983
|
+
sendOutcome(before.lastStop);
|
|
2984
|
+
return;
|
|
2985
|
+
}
|
|
2986
|
+
if (!before.canStop) {
|
|
2987
|
+
res.status(409).json({
|
|
2988
|
+
code: "workspace_runtime_stop_blocked",
|
|
2989
|
+
error: "Workspace has independent runtime work.",
|
|
2990
|
+
preview: before
|
|
2991
|
+
});
|
|
2992
|
+
return;
|
|
2993
|
+
}
|
|
2994
|
+
const finishStop = coordinator.beginStop();
|
|
2995
|
+
let operation;
|
|
2996
|
+
const finish = /* @__PURE__ */ __name(() => {
|
|
2997
|
+
if (finishStop() && current(runtime)) deps.startKeepalive(runtime);
|
|
2998
|
+
}, "finish");
|
|
2999
|
+
try {
|
|
3000
|
+
deps.stopKeepalive(runtime);
|
|
3001
|
+
if (blockers(runtime).length)
|
|
3002
|
+
throw new WorkspaceRuntimeStopError(
|
|
3003
|
+
"workspace_runtime_stop_blocked"
|
|
3004
|
+
);
|
|
3005
|
+
operation = runtime.bridge.stopWorkspaceRuntime(confirmation);
|
|
3006
|
+
const completion = runtime.bridge.getRuntimeStopCompletion();
|
|
3007
|
+
if (completion) void completion.then(finish, finish);
|
|
3008
|
+
else
|
|
3009
|
+
void operation.then(
|
|
3010
|
+
(result) => {
|
|
3011
|
+
if (result.released) finish();
|
|
3012
|
+
},
|
|
3013
|
+
() => void 0
|
|
3014
|
+
);
|
|
3015
|
+
} catch (error2) {
|
|
3016
|
+
finish();
|
|
3017
|
+
throw error2;
|
|
3018
|
+
}
|
|
3019
|
+
let timer;
|
|
3020
|
+
try {
|
|
3021
|
+
const result = await Promise.race([
|
|
3022
|
+
operation,
|
|
3023
|
+
new Promise((resolve10) => {
|
|
3024
|
+
timer = setTimeout(() => resolve10(void 0), 6e4);
|
|
3025
|
+
timer.unref?.();
|
|
3026
|
+
})
|
|
3027
|
+
]);
|
|
3028
|
+
const observed = result ?? runtime.bridge.getRuntimeStopSnapshot?.().lastStop;
|
|
3029
|
+
if (observed) sendOutcome(observed);
|
|
3030
|
+
else
|
|
3031
|
+
res.status(503).json({
|
|
3032
|
+
code: "workspace_runtime_stop_in_progress",
|
|
3033
|
+
error: "Workspace stop outcome is not yet known."
|
|
3034
|
+
});
|
|
3035
|
+
} finally {
|
|
3036
|
+
if (timer) clearTimeout(timer);
|
|
3037
|
+
}
|
|
3038
|
+
} catch (error2) {
|
|
3039
|
+
if (error2 instanceof WorkspaceRuntimeStopError)
|
|
3040
|
+
res.status(409).json({ code: error2.code, error: error2.message });
|
|
3041
|
+
else
|
|
3042
|
+
deps.sendBridgeError(res, error2, {
|
|
3043
|
+
route: "POST /workspaces/:workspace/runtime/stop"
|
|
3044
|
+
});
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
);
|
|
3048
|
+
}
|
|
3049
|
+
__name(registerWorkspaceRuntimeStopRoutes, "registerWorkspaceRuntimeStopRoutes");
|
|
3050
|
+
|
|
3051
|
+
// packages/cli/src/serve/server.ts
|
|
2823
3052
|
import * as path21 from "node:path";
|
|
2824
3053
|
|
|
2825
3054
|
// packages/cli/src/serve/local-control/index.ts
|
|
@@ -37898,10 +38127,18 @@ function startScheduledTaskKeepalive(opts) {
|
|
|
37898
38127
|
cleanupSession
|
|
37899
38128
|
);
|
|
37900
38129
|
}, "tickInRuntime");
|
|
37901
|
-
|
|
37902
|
-
|
|
37903
|
-
|
|
37904
|
-
|
|
38130
|
+
let activeTicks = 0;
|
|
38131
|
+
const tick = /* @__PURE__ */ __name(async () => {
|
|
38132
|
+
activeTicks++;
|
|
38133
|
+
try {
|
|
38134
|
+
await (opts.runtimeBaseDir === void 0 ? tickInRuntime() : Storage.runWithResolvedRuntimeBaseDir(
|
|
38135
|
+
opts.runtimeBaseDir,
|
|
38136
|
+
tickInRuntime
|
|
38137
|
+
));
|
|
38138
|
+
} finally {
|
|
38139
|
+
activeTicks--;
|
|
38140
|
+
}
|
|
38141
|
+
}, "tick");
|
|
37905
38142
|
let running = false;
|
|
37906
38143
|
const timer = setInterval(() => {
|
|
37907
38144
|
if (running) return;
|
|
@@ -37943,6 +38180,9 @@ function startScheduledTaskKeepalive(opts) {
|
|
|
37943
38180
|
}
|
|
37944
38181
|
let stopped = false;
|
|
37945
38182
|
return {
|
|
38183
|
+
get activeWork() {
|
|
38184
|
+
return activeTicks > 0 || reviving.size > 0 || binding.size > 0;
|
|
38185
|
+
},
|
|
37946
38186
|
stop: /* @__PURE__ */ __name(() => {
|
|
37947
38187
|
if (stopped) return;
|
|
37948
38188
|
stopped = true;
|
|
@@ -38830,6 +39070,7 @@ function createServeFeatures(deps) {
|
|
|
38830
39070
|
workspaceRuntimeRemovalAvailable,
|
|
38831
39071
|
nativeDirectoryPickerAvailable,
|
|
38832
39072
|
workspaceRuntimeAvailable,
|
|
39073
|
+
workspaceRuntimeStopAvailable,
|
|
38833
39074
|
localPathOpenAvailable,
|
|
38834
39075
|
localTerminalOpenAvailable,
|
|
38835
39076
|
workspaceTrustHotReloadAvailable
|
|
@@ -38878,6 +39119,7 @@ function createServeFeatures(deps) {
|
|
|
38878
39119
|
workspaceRuntimeRemovalAvailable,
|
|
38879
39120
|
nativeDirectoryPickerAvailable,
|
|
38880
39121
|
workspaceRuntimeAvailable: workspaceRuntimeAvailable(),
|
|
39122
|
+
workspaceRuntimeStopAvailable: workspaceRuntimeStopAvailable?.() === true,
|
|
38881
39123
|
localPathOpenAvailable,
|
|
38882
39124
|
localTerminalOpenAvailable,
|
|
38883
39125
|
workspaceTrustHotReloadAvailable,
|
|
@@ -57731,6 +57973,10 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
57731
57973
|
tokenConfigured,
|
|
57732
57974
|
requireAuth: opts.requireAuth === true
|
|
57733
57975
|
});
|
|
57976
|
+
let runtimeStopReady = false;
|
|
57977
|
+
let runtimeStopsClosing = false;
|
|
57978
|
+
const scheduledActivity = /* @__PURE__ */ new WeakMap();
|
|
57979
|
+
const rehydratingWorkspaces = /* @__PURE__ */ new Set();
|
|
57734
57980
|
const sessionRestoreTimeoutMs = resolveSessionRestoreTimeoutMs(opts);
|
|
57735
57981
|
const scheduledTaskRestoreTimeoutMs = sessionRestoreTimeoutMs + SCHEDULED_TASK_RESTORE_HEADROOM_MS > MAX_SESSION_RESTORE_TIMEOUT_MS ? MAX_SESSION_RESTORE_TIMEOUT_MS + 1 : sessionRestoreTimeoutMs + SCHEDULED_TASK_RESTORE_HEADROOM_MS;
|
|
57736
57982
|
if (deps.workspaceRuntimeRemoval && !deps.voiceCoordinator) {
|
|
@@ -57910,6 +58156,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
57910
58156
|
acpHttpEnabled: acpHttpEnabledAtBoot,
|
|
57911
58157
|
workspaceRuntimeRemovalAvailable: deps.workspaceRuntimeRemoval !== void 0,
|
|
57912
58158
|
nativeDirectoryPickerAvailable: deps.nativeDirectoryPickerAvailable ?? isNativeDirectoryPickerAvailable(),
|
|
58159
|
+
workspaceRuntimeStopAvailable: /* @__PURE__ */ __name(() => runtimeStopReady && !runtimeStopsClosing, "workspaceRuntimeStopAvailable"),
|
|
57913
58160
|
workspaceRuntimeAvailable: /* @__PURE__ */ __name(() => {
|
|
57914
58161
|
const runtimes = workspaceRegistry.list();
|
|
57915
58162
|
return runtimes.length > 0 && runtimes.every(
|
|
@@ -58847,6 +59094,31 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
58847
59094
|
workspaceRegistry,
|
|
58848
59095
|
sendBridgeError: sendBridgeError2
|
|
58849
59096
|
});
|
|
59097
|
+
registerWorkspaceRuntimeStopRoutes(app, {
|
|
59098
|
+
workspaceRegistry,
|
|
59099
|
+
mutate,
|
|
59100
|
+
safeBody,
|
|
59101
|
+
sendBridgeError: sendBridgeError2,
|
|
59102
|
+
available: /* @__PURE__ */ __name(() => runtimeStopReady && !runtimeStopsClosing, "available"),
|
|
59103
|
+
ownsBridge: /* @__PURE__ */ __name((runtime) => deps.managedChildProcesses?.ownsBridge?.(runtime.bridge) ?? runtime.bridge === defaultBridgeForAdmission, "ownsBridge"),
|
|
59104
|
+
getCapacity: /* @__PURE__ */ __name(() => ({
|
|
59105
|
+
committedAcpChildren: deps.managedChildProcesses?.registry.committedProcessCount ?? 0,
|
|
59106
|
+
maxConcurrentChildren: deps.managedChildProcesses?.policy.snapshot().maxConcurrentChildren ?? null
|
|
59107
|
+
}), "getCapacity"),
|
|
59108
|
+
getActivity: /* @__PURE__ */ __name((runtime) => deps.workspaceRuntimeRemoval && acpHandleRef.current ? readWorkspaceActivity(
|
|
59109
|
+
runtime,
|
|
59110
|
+
deps.workspaceRuntimeRemoval.getActivity(runtime),
|
|
59111
|
+
acpHandleRef.current.getWorkspaceActivity(runtime.workspaceId)
|
|
59112
|
+
) : void 0, "getActivity"),
|
|
59113
|
+
scheduledWorkActive: /* @__PURE__ */ __name((runtime) => rehydratingWorkspaces.has(runtime) || scheduledActivity.get(runtime)?.() === true, "scheduledWorkActive"),
|
|
59114
|
+
stopKeepalive: /* @__PURE__ */ __name((runtime) => {
|
|
59115
|
+
app.locals["stopScheduledTaskKeepaliveForWorkspace"]?.(runtime.workspaceCwd);
|
|
59116
|
+
}, "stopKeepalive"),
|
|
59117
|
+
startKeepalive: /* @__PURE__ */ __name((runtime) => {
|
|
59118
|
+
if (!runtimeStopsClosing)
|
|
59119
|
+
app.locals["startScheduledTaskKeepaliveForWorkspace"]?.(runtime);
|
|
59120
|
+
}, "startKeepalive")
|
|
59121
|
+
});
|
|
58850
59122
|
registerWorkspaceRuntimeRoutes(app, {
|
|
58851
59123
|
workspaceRegistry,
|
|
58852
59124
|
mutate,
|
|
@@ -59517,6 +59789,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59517
59789
|
const idleTimeoutMs = opts.sessionIdleTimeoutMs ?? DEFAULT_SESSION_IDLE_TIMEOUT_MS;
|
|
59518
59790
|
const keepaliveIntervalMs = computeKeepaliveIntervalMs(idleTimeoutMs);
|
|
59519
59791
|
const rehydrateWorkspace = /* @__PURE__ */ __name((runtime) => {
|
|
59792
|
+
rehydratingWorkspaces.add(runtime);
|
|
59520
59793
|
void runWithWorkspaceRuntimeStorage(
|
|
59521
59794
|
runtime,
|
|
59522
59795
|
() => rehydrateScheduledTaskSessions({
|
|
@@ -59541,6 +59814,8 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59541
59814
|
`qwen serve: unexpected scheduled-task rehydration failure: ${err instanceof Error ? err.message : String(err)}
|
|
59542
59815
|
`
|
|
59543
59816
|
);
|
|
59817
|
+
}).finally(() => {
|
|
59818
|
+
rehydratingWorkspaces.delete(runtime);
|
|
59544
59819
|
});
|
|
59545
59820
|
}, "rehydrateWorkspace");
|
|
59546
59821
|
const keepaliveStops = /* @__PURE__ */ new Map();
|
|
@@ -59557,6 +59832,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59557
59832
|
cleanupSession: /* @__PURE__ */ __name((sessionId) => cleanupSession(runtime, sessionId), "cleanupSession"),
|
|
59558
59833
|
onTasksRead: /* @__PURE__ */ __name((tasks) => registerScheduledTaskAuthorizations(runtime.workspaceCwd, tasks), "onTasksRead")
|
|
59559
59834
|
});
|
|
59835
|
+
scheduledActivity.set(runtime, () => keepalive.activeWork);
|
|
59560
59836
|
rehydrateWorkspace(runtime);
|
|
59561
59837
|
keepaliveStops.set(runtime.workspaceCwd, keepalive.stop);
|
|
59562
59838
|
}, "startKeepaliveForWorkspace");
|
|
@@ -59564,6 +59840,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59564
59840
|
startKeepaliveForWorkspace(runtime);
|
|
59565
59841
|
}
|
|
59566
59842
|
app.locals.stopScheduledTaskKeepalive = () => {
|
|
59843
|
+
runtimeStopsClosing = true;
|
|
59567
59844
|
for (const stop of keepaliveStops.values()) stop();
|
|
59568
59845
|
keepaliveStops.clear();
|
|
59569
59846
|
};
|
|
@@ -59714,6 +59991,9 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59714
59991
|
if (acpHandleRef.current) {
|
|
59715
59992
|
app.locals["acpHandle"] = acpHandleRef.current;
|
|
59716
59993
|
}
|
|
59994
|
+
runtimeStopReady = !!(deps.managedChildProcesses && deps.workspaceRuntimeRemoval && acpHandleRef.current && deps.manageScheduledTaskSessions && workspaceRegistry.listManaged().some(
|
|
59995
|
+
(runtime) => typeof runtime.bridge.stopWorkspaceRuntime === "function" && typeof runtime.bridge.getRuntimeStopCompletion === "function" && typeof runtime.bridge.getRuntimeStopSnapshot === "function"
|
|
59996
|
+
));
|
|
59717
59997
|
if (deps.managedChildProcesses) {
|
|
59718
59998
|
reclaimIdleAcp = createIdleAcpReclaimer({
|
|
59719
59999
|
registry: workspaceRegistry,
|
|
@@ -59822,12 +60102,12 @@ export {
|
|
|
59822
60102
|
};
|
|
59823
60103
|
/**
|
|
59824
60104
|
* @license
|
|
59825
|
-
* Copyright
|
|
60105
|
+
* Copyright 2026 Qwen Team
|
|
59826
60106
|
* SPDX-License-Identifier: Apache-2.0
|
|
59827
60107
|
*/
|
|
59828
60108
|
/**
|
|
59829
60109
|
* @license
|
|
59830
|
-
* Copyright
|
|
60110
|
+
* Copyright 2025 Qwen Team
|
|
59831
60111
|
* SPDX-License-Identifier: Apache-2.0
|
|
59832
60112
|
*/
|
|
59833
60113
|
/**
|