@qwen-code/qwen-code 0.24.1-preview.2 → 0.24.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/chunks/{MaxSizedBox-SUYPYRBN.js → MaxSizedBox-VP25QGME.js} +18 -18
- package/chunks/{StandaloneSessionPicker-BCKO4L6S.js → StandaloneSessionPicker-AXIM3BD3.js} +32 -32
- package/chunks/{acp-subagent-executor-5LXVJNPU.js → acp-subagent-executor-6R2L4TW4.js} +23 -23
- package/chunks/{acpAgent-Z7ZNFWDZ.js → acpAgent-ANIVCBU3.js} +68 -155
- package/chunks/{agent-6SYYNHSZ.js → agent-WINHBR34.js} +9 -9
- package/chunks/{agent-headless-Q2YFS6PA.js → agent-headless-A5K4MW5N.js} +9 -9
- package/chunks/{anthropicContentGenerator-AJCHMLEF.js → anthropicContentGenerator-32MSDQUP.js} +3 -3
- package/chunks/{askUserQuestion-RYGNEYFC.js → askUserQuestion-C2GAWACN.js} +1 -1
- package/chunks/{bridge-ZRMHGUUN.js → bridge-HPCI3VIX.js} +22 -22
- package/chunks/{channel-settings-store-RRFC7WBW.js → channel-settings-store-THO2BU2E.js} +23 -23
- package/chunks/{channel-worker-group-JQVH6YXZ.js → channel-worker-group-OXNNU6H7.js} +2 -2
- package/chunks/{channel-worker-manager-6GRAAS5P.js → channel-worker-manager-WVBU5ABS.js} +2 -2
- package/chunks/{chunk-EJKIUYN6.js → chunk-2UK4NN6N.js} +3 -3
- package/chunks/{chunk-OW5IVLET.js → chunk-2WYISDSZ.js} +12 -12
- package/chunks/{chunk-2EDB3IUV.js → chunk-3JHSUEQN.js} +30 -30
- package/chunks/{chunk-GPSDZNPN.js → chunk-3MYXEXVX.js} +1 -1
- package/chunks/{chunk-QNSERHKY.js → chunk-3T7YUINK.js} +1 -1
- package/chunks/{chunk-KQW7W6WZ.js → chunk-3UOPPEN5.js} +1 -1
- package/chunks/{chunk-JMBSWY6V.js → chunk-3XH7WS7C.js} +1 -1
- package/chunks/{chunk-XDRKURPF.js → chunk-44LWSWTY.js} +4 -4
- package/chunks/{chunk-ITY5NM7C.js → chunk-4HIQNJMZ.js} +2 -2
- package/chunks/{chunk-7LG2FNVG.js → chunk-4VLVXV4E.js} +3 -3
- package/chunks/{chunk-H36V5QMB.js → chunk-5JDABAZR.js} +41 -16
- package/chunks/{chunk-XGU276ID.js → chunk-5S2PLWHB.js} +3 -3
- package/chunks/{chunk-4KJK3FGR.js → chunk-647NOM2H.js} +1 -1
- package/chunks/{chunk-PUWHPTYG.js → chunk-6SFODSTA.js} +5 -5
- package/chunks/{chunk-75TGCLYE.js → chunk-7MJKFPGJ.js} +1 -1
- package/chunks/{chunk-YUFDLWK7.js → chunk-7OQL6UOC.js} +1 -1
- package/chunks/{chunk-UVINHQWX.js → chunk-7UWZX65L.js} +5 -5
- package/chunks/{chunk-AYE2T7RX.js → chunk-A4IJR5S6.js} +210 -21
- package/chunks/{chunk-L7TJUPNR.js → chunk-A4MRRFBI.js} +5 -0
- package/chunks/{chunk-BINMG6CG.js → chunk-ADQSGJV5.js} +2 -2
- package/chunks/{chunk-DHQZXQ4K.js → chunk-ADXJQFDY.js} +10 -10
- package/chunks/{chunk-GIHJK4FJ.js → chunk-B3VUYOPR.js} +1 -1
- package/chunks/{chunk-4BSQW4CG.js → chunk-B5GKOUHJ.js} +10 -10
- package/chunks/{chunk-YVLRK2WW.js → chunk-C4B5ZCE5.js} +3 -3
- package/chunks/{chunk-UQ4WDEGV.js → chunk-CBJBLKDH.js} +6 -6
- package/chunks/{chunk-DAIWLFBL.js → chunk-CGDPJBVR.js} +1 -1
- package/chunks/{chunk-75GB4FOU.js → chunk-CT6GGM4O.js} +3 -3
- package/chunks/{chunk-CYRXE53T.js → chunk-DARAVO2F.js} +3 -3
- package/chunks/{chunk-QTGYWDIB.js → chunk-DHM2SAA3.js} +6 -6
- package/chunks/{chunk-ZUTZ3PSU.js → chunk-DIJ4SN6P.js} +2 -2
- package/chunks/{chunk-R7MRLQZT.js → chunk-DOG4JYVA.js} +1 -1
- package/chunks/{chunk-CQKBWZ5E.js → chunk-E3BHICIC.js} +24 -44
- package/chunks/{chunk-KT7ZUSTE.js → chunk-EE5L2LJI.js} +1 -1
- package/chunks/{chunk-NO4M2IFY.js → chunk-ET3ETUJS.js} +11 -11
- package/chunks/{chunk-DDFUMJDY.js → chunk-FHL2YO3J.js} +3 -3
- package/chunks/{chunk-KWALNYOO.js → chunk-FIC4SULR.js} +1 -1
- package/chunks/{chunk-EUEDQORS.js → chunk-FUZESLZQ.js} +1 -1
- package/chunks/{chunk-7MUWTUOX.js → chunk-FVLDT6YJ.js} +12 -12
- package/chunks/{chunk-3YIPZRXZ.js → chunk-GJV3UMRE.js} +1 -1
- package/chunks/{chunk-MMRGG6R4.js → chunk-H32AKV4B.js} +1 -1
- package/chunks/{chunk-PJBHT5HP.js → chunk-HAYKZNOJ.js} +40 -40
- package/chunks/{chunk-3WTPIIX3.js → chunk-HISXBKXU.js} +2 -2
- package/chunks/{chunk-KLL4GCCM.js → chunk-HVXNAVUO.js} +9 -3
- package/chunks/{chunk-VFPYR2QH.js → chunk-ICWTEQBN.js} +7 -2
- package/chunks/{chunk-RPGUFXRL.js → chunk-IDJYUSKS.js} +1 -1
- package/chunks/{chunk-SASDWMJO.js → chunk-IDT4P6XO.js} +22 -22
- package/chunks/{chunk-6GEPBMZ2.js → chunk-IHTXJ34C.js} +3 -3
- package/chunks/{chunk-7S2BGPWN.js → chunk-J6QWYIXU.js} +222 -96
- package/chunks/{chunk-FIGVLM7P.js → chunk-JDS6RRHY.js} +37 -2
- package/chunks/{chunk-B77LIFIP.js → chunk-JL7NMSOU.js} +0 -14
- package/chunks/{chunk-WD54GZTM.js → chunk-JNCTEVLS.js} +1 -1
- package/chunks/{chunk-YQS35MQS.js → chunk-JSKHW2K5.js} +5 -5
- package/chunks/{chunk-JYY3FCLA.js → chunk-JXSZU3MK.js} +3 -3
- package/chunks/{chunk-ABWRIA3H.js → chunk-KGPIAV25.js} +1 -1
- package/chunks/{chunk-I4EFTUMC.js → chunk-KNTOORZV.js} +76 -8
- package/chunks/{chunk-6GNUSS3I.js → chunk-KPRD727P.js} +4 -4
- package/chunks/{chunk-RFO537EW.js → chunk-KZADFPIV.js} +1 -1
- package/chunks/{chunk-FCN22GWX.js → chunk-MJFPRGEQ.js} +5 -5
- package/chunks/{chunk-ZPLLLCRC.js → chunk-MQD3FY7L.js} +1 -1
- package/chunks/{chunk-R5F4XPOL.js → chunk-MUREOC7V.js} +3 -3
- package/chunks/{chunk-XO32NLJ5.js → chunk-MZJANQV6.js} +4 -4
- package/chunks/{chunk-RQHXUQ5M.js → chunk-NCAZON2B.js} +7 -7
- package/chunks/{chunk-BKODW5LP.js → chunk-NIXL6GCQ.js} +1 -1
- package/chunks/{chunk-Z7ECDVYK.js → chunk-NM2N7ZFI.js} +1 -1
- package/chunks/{chunk-OS2B6VJ3.js → chunk-O62LF7MT.js} +2 -2
- package/chunks/{chunk-YVXI3U3W.js → chunk-ORC4JFM2.js} +3 -3
- package/chunks/{chunk-YXHY6BKS.js → chunk-OY4DP3XV.js} +14 -1
- package/chunks/{chunk-7M3FEMY6.js → chunk-P6FFA7BC.js} +3 -3
- package/chunks/{chunk-YFARICYJ.js → chunk-PESOPZ2F.js} +1 -1
- package/chunks/{chunk-MJPA5NKS.js → chunk-QBCQIJ5K.js} +2 -2
- package/chunks/{chunk-IVE5Z4RU.js → chunk-QEOLKEN7.js} +19 -27
- package/chunks/{chunk-BB27YK6O.js → chunk-QXYC7SNQ.js} +1 -1
- package/chunks/{chunk-YM7MHAIC.js → chunk-QZECTXG4.js} +1 -1
- package/chunks/{chunk-7WGWBWL7.js → chunk-RUWHZMXW.js} +1 -1
- package/chunks/{chunk-S4XNJ5FH.js → chunk-S4XLNZOV.js} +2 -2
- package/chunks/{chunk-OL2AT23B.js → chunk-S6JKXUFG.js} +3 -3
- package/chunks/{chunk-5ULLRZQ5.js → chunk-S7Z7UUYJ.js} +2 -2
- package/chunks/{chunk-YKMY5UTC.js → chunk-SMWV3EVV.js} +2 -2
- package/chunks/{chunk-F3XBI3C5.js → chunk-SR22PJAJ.js} +1 -1
- package/chunks/{chunk-N7FGOVMP.js → chunk-SWT6XVJE.js} +2 -2
- package/chunks/{chunk-RRUAHBYV.js → chunk-SZ4UJWEJ.js} +3 -3
- package/chunks/{chunk-PJELH5NF.js → chunk-TG246JMY.js} +4 -4
- package/chunks/{chunk-GI4KLI5I.js → chunk-TUKPBUHT.js} +1 -1
- package/chunks/{chunk-PHNKFEX3.js → chunk-U6SF7GWW.js} +2 -2
- package/chunks/{chunk-OZ5Z45DG.js → chunk-UE5VCGKO.js} +1 -1
- package/chunks/{chunk-SENYKRII.js → chunk-UM4V7562.js} +1 -1
- package/chunks/{chunk-PBCCDC5C.js → chunk-UO447HYN.js} +3 -3
- package/chunks/{chunk-O7LUZE4E.js → chunk-UX6ROE5I.js} +1 -1
- package/chunks/{chunk-MW4O5XZQ.js → chunk-VMTAPCG3.js} +1 -1
- package/chunks/{chunk-63TM3IYQ.js → chunk-VPE6VNNU.js} +1 -1
- package/chunks/{chunk-2EUGBE47.js → chunk-WTMM54T4.js} +4 -4
- package/chunks/{chunk-4E6SGS3A.js → chunk-WUOYMIIY.js} +4 -4
- package/chunks/{chunk-FRDYCOU2.js → chunk-XEUHI5QA.js} +2 -2
- package/chunks/{chunk-OCOPMZMJ.js → chunk-Y5IALOXP.js} +3 -3
- package/chunks/{chunk-DVP56LAM.js → chunk-YJHAAGEJ.js} +7 -7
- package/chunks/{chunk-7W72PCKP.js → chunk-Z5MSVVHR.js} +5 -5
- package/chunks/{chunk-AWS3EGSN.js → chunk-ZCBBV4LJ.js} +1 -1
- package/chunks/{chunk-KJMYVDYW.js → chunk-ZHBCAABR.js} +3 -3
- package/chunks/{codex-subagent-executor-UN4TVQLG.js → codex-subagent-executor-ZWGUSD5U.js} +23 -23
- package/chunks/{config-utils-DWN5B6HN.js → config-utils-XLPSLGT7.js} +18 -18
- package/chunks/{contextCommand-25BGZY4S.js → contextCommand-KE2557UZ.js} +20 -20
- package/chunks/{core-runtime-E7GY7FQL.js → core-runtime-7YAFJG7V.js} +18 -18
- package/chunks/{create-sub-session-BAIKTJZ4.js → create-sub-session-LTVMBDOG.js} +20 -20
- package/chunks/{daemon-E4MVZ7AP.js → daemon-LKIZ3HNV.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-ZTAV4HQB.js → daemon-git-worktree-guard-EN4SNZZC.js} +18 -18
- package/chunks/{daemon-status-provider-VLRPWZZH.js → daemon-status-provider-R3OHAHXV.js} +27 -27
- package/chunks/{daemon-trust-policy-OTUBDFHQ.js → daemon-trust-policy-DJNNV3HE.js} +23 -23
- package/chunks/{daemon-trust-policy-monitor-W52NWLO5.js → daemon-trust-policy-monitor-2ZSYXRY3.js} +23 -23
- package/chunks/{deferred-core-runtime-P4EIIL7M.js → deferred-core-runtime-B7BBNY7B.js} +18 -18
- package/chunks/{edit-FJFHUIY4.js → edit-XY623A63.js} +10 -10
- package/chunks/{enterPlanMode-WGDUBIGO.js → enterPlanMode-VGKHLQVD.js} +9 -9
- package/chunks/{environment-DNHGPK7Q.js → environment-RGWXBPFA.js} +20 -20
- package/chunks/{errors-3FKGIKNN.js → errors-XLKJ7JAN.js} +20 -20
- package/chunks/{execution-tool-GSOYRE7M.js → execution-tool-LGCWZ5JC.js} +10 -10
- package/chunks/{execution-worker-TWQ2YF42.js → execution-worker-3AA3OGWV.js} +13 -13
- package/chunks/{exitPlanMode-3GA5VWWB.js → exitPlanMode-AGRSXL5M.js} +9 -9
- package/chunks/{fast-path-XF5YGYNO.js → fast-path-FS4CO72C.js} +2 -2
- package/chunks/{glob-M2TXMH5Q.js → glob-KMXCAZRN.js} +9 -9
- package/chunks/{goal-tools-D523PJR5.js → goal-tools-52S6IYSS.js} +9 -9
- package/chunks/{handleAutoUpdate-RRYCWRZ2.js → handleAutoUpdate-6EGQYSNX.js} +21 -21
- package/chunks/{i18n-TUYCRMFW.js → i18n-BVX7GWVL.js} +18 -18
- package/chunks/{initializer-6BJ7YAF5.js → initializer-YMBTVCPZ.js} +23 -23
- package/chunks/{installationInfo-KD366W45.js → installationInfo-YUODJVWE.js} +18 -18
- package/chunks/{list-L7MZF2AZ.js → list-4Y32CIK4.js} +26 -26
- package/chunks/{llm-HDLU6CTT.js → llm-DBL6E66T.js} +52 -52
- package/chunks/{llm-content-generator-MYYFDSFV.js → llm-content-generator-IXWLZ4HX.js} +3 -3
- package/chunks/{loadedSettingsAdapter-H6GUNXJ2.js → loadedSettingsAdapter-5JNMUP3T.js} +23 -23
- package/chunks/{local-execution-environment-JLIO4YKC.js → local-execution-environment-JIXYT7RU.js} +13 -13
- package/chunks/{loggingContentGenerator-5AUS3FRD.js → loggingContentGenerator-ORTEE7AH.js} +10 -10
- package/chunks/{managed-npm-update-SXZ2U3AX.js → managed-npm-update-RRIST4P4.js} +18 -18
- package/chunks/{mcp-6CD76FID.js → mcp-3WQIHJPV.js} +23 -23
- package/chunks/{model-call-collection-TON6MSCF.js → model-call-collection-NNN4RJL2.js} +1 -1
- package/chunks/{model-configuration-4Z25DEWC.js → model-configuration-LOEF5WVW.js} +23 -23
- package/chunks/{modelConfigUtils-RLZ47FPZ.js → modelConfigUtils-UDCM5BQO.js} +19 -19
- package/chunks/{monitor-VXQ7KYEJ.js → monitor-AMX4GGO4.js} +9 -9
- package/chunks/{nonInteractiveCli-ZXWKMKWC.js → nonInteractiveCli-HODI6ON6.js} +49 -49
- package/chunks/{nonInteractiveToolExecutor-KBUF3BTR.js → nonInteractiveToolExecutor-IZ3L3ZUR.js} +10 -10
- package/chunks/{notebook-edit-QH7FXG4T.js → notebook-edit-VZ3HDVGJ.js} +10 -10
- package/chunks/{omni-32DW7DAU.js → omni-J44KEAF2.js} +7 -7
- package/chunks/{openaiContentGenerator-53HJMYFV.js → openaiContentGenerator-WNTCGOOP.js} +6 -6
- package/chunks/{openaiResponsesContentGenerator-2SLR5YSO.js → openaiResponsesContentGenerator-EXCS4CPS.js} +2 -2
- package/chunks/{pidfile-HFMNLERX.js → pidfile-MO4VIRCZ.js} +18 -18
- package/chunks/{process-registry-7LAPI3ZB.js → process-registry-MDKO6QY2.js} +1 -1
- package/chunks/{processUtils-G4YV5PUL.js → processUtils-PTWIWCBV.js} +2 -2
- package/chunks/{prompt-terminal-ledger-7SM2SBVV.js → prompt-terminal-ledger-OJQFCVY7.js} +19 -19
- package/chunks/{qwenContentGenerator-JYZK4UZJ.js → qwenContentGenerator-CEHDHYS7.js} +11 -11
- package/chunks/{reactive-degrade-SJQJUSWE.js → reactive-degrade-N2GKSQDU.js} +6 -6
- package/chunks/{read-file-FSGLCFTS.js → read-file-MGTENCNH.js} +2 -2
- package/chunks/{resumeHistoryUtils-VSPCHBW6.js → resumeHistoryUtils-D7HKDUH5.js} +20 -20
- package/chunks/{ripGrep-YVM3DMMW.js → ripGrep-GY3USA7L.js} +3 -3
- package/chunks/{run-qwen-serve-ZQJ3SE3I.js → run-qwen-serve-BYDSQGXR.js} +49 -49
- package/chunks/{runtime-GW2XGK5X.js → runtime-2VYDGP5Q.js} +24 -24
- package/chunks/{sandbox-5RKHRAFD.js → sandbox-DEDZKXWQ.js} +25 -25
- package/chunks/{sandboxConfig-F6ZRJB5C.js → sandboxConfig-KKO5NHYT.js} +18 -18
- package/chunks/{scheduled-tasks-YOGLJMWV.js → scheduled-tasks-SBK77VA3.js} +26 -26
- package/chunks/{scheduler-JCT6ARET.js → scheduler-WFLBJDYN.js} +20 -20
- package/chunks/{serve-ATWHQIZC.js → serve-Z25BL7HQ.js} +23 -23
- package/chunks/{server-BL7NBKQO.js → server-PN5WV25I.js} +372 -90
- package/chunks/{session-SKCALDL6.js → session-OCQ6TJAW.js} +50 -50
- package/chunks/{session-attachments-root-I2DLMEGC.js → session-attachments-root-KQDWFXMV.js} +18 -18
- package/chunks/{session-pr-refresh-J5O3ECBZ.js → session-pr-refresh-TPCBGPHC.js} +24 -24
- package/chunks/{settings-4APYRYEP.js → settings-7B5BGXUM.js} +22 -22
- package/chunks/{shell-BRLSIRIJ.js → shell-OHI4FUG7.js} +9 -9
- package/chunks/{skill-ANJV3QCO.js → skill-3VAIVEQN.js} +3 -3
- package/chunks/{skill-settings-5OEAPNUN.js → skill-settings-V3CDB6OM.js} +23 -23
- package/chunks/{spawnChannel-L22VQQG6.js → spawnChannel-I3W24E2N.js} +21 -21
- package/chunks/{standalone-update-JCDSJXRD.js → standalone-update-25IAVDS4.js} +19 -19
- package/chunks/{start-opentui-ui-UZZMEAMN.js → start-opentui-ui-54TLE52K.js} +57 -57
- package/chunks/{startInteractiveUI-76WHKIMU.js → startInteractiveUI-6O4AE46W.js} +60 -60
- package/chunks/{team-create-KWEJO6TE.js → team-create-ED6VAG37.js} +9 -9
- package/chunks/{team-plan-approval-VXHTSKHR.js → team-plan-approval-LDAEETXQ.js} +9 -9
- package/chunks/{terminal-image-renderer-TOK5UHDG.js → terminal-image-renderer-WQW44MKO.js} +18 -18
- package/chunks/{theme-manager-ZV4RR26I.js → theme-manager-5COG22M3.js} +18 -18
- package/chunks/{tool-result-media-GQOZVVL2.js → tool-result-media-LWY3EMBX.js} +7 -7
- package/chunks/{tool-search-ZF4TSSBS.js → tool-search-5RPYPGFG.js} +2 -2
- package/chunks/{total-session-admission-TU776YQY.js → total-session-admission-VK6OEGTQ.js} +23 -23
- package/chunks/{trustedFolders-SBXCVRQG.js → trustedFolders-AXSP2EBB.js} +19 -19
- package/chunks/{update-relaunch-QQBSIE5C.js → update-relaunch-XO6DITTA.js} +5 -5
- package/chunks/{updateCheck-L5W4XUFI.js → updateCheck-XXUEDPUG.js} +18 -18
- package/chunks/{upload-config-JNZAPCF6.js → upload-config-PE3LJBUR.js} +4 -4
- package/chunks/{useAutoAcceptIndicator-5JQS2R2M.js → useAutoAcceptIndicator-ZHUEUC5M.js} +25 -25
- package/chunks/{validateNonInterActiveAuth-QQGBHCWE.js → validateNonInterActiveAuth-QLGYQ3U6.js} +47 -47
- package/chunks/{version-5MCFLBNP.js → version-6WI5GKX6.js} +1 -1
- package/chunks/{web-fetch-6IQOTXM2.js → web-fetch-WVJPQMBM.js} +2 -2
- package/chunks/{web-search-TY4ODCXK.js → web-search-MLYZQUGL.js} +4 -4
- package/chunks/{web-shell-static-7D6SWOB2.js → web-shell-static-Y7Q6BKAX.js} +3 -3
- package/chunks/{workflow-ZLOBJFVU.js → workflow-AQ74SHPL.js} +10 -10
- package/chunks/{workspace-providers-status-DO45VCTP.js → workspace-providers-status-XJEFMVE4.js} +28 -28
- package/chunks/{workspace-registration-store-BTQLDHIJ.js → workspace-registration-store-ZQT3LZZS.js} +1 -1
- package/chunks/{workspace-registry-U5TYWDJX.js → workspace-registry-TVK2R2Z2.js} +23 -23
- package/chunks/{workspace-runtime-coordinator-PSL3IYT5.js → workspace-runtime-coordinator-GC5P3UDU.js} +23 -23
- package/chunks/{workspace-service-HCPAODRG.js → workspace-service-65RQN5D7.js} +26 -26
- package/chunks/{workspace-skills-status-KD2JXJUU.js → workspace-skills-status-JKWIQAI2.js} +26 -26
- package/chunks/{workspace-trust-reconciler-WAIHZHDY.js → workspace-trust-reconciler-BQ6QIZNQ.js} +28 -28
- package/chunks/{write-file-Z35R7HTD.js → write-file-BJ5NTPQB.js} +10 -10
- package/chunks/{zoom-image-MRU6WPE6.js → zoom-image-7INIHGVL.js} +2 -2
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.css +1 -1
- package/export-transcript-document.js +2 -2
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-DM0yb8lz.js → abnfDiagram-VCTEODGH-BkQBgBMY.js} +1 -1
- package/web-shell/assets/{arc-Cw2773LR.js → arc-Br3zpBwP.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D4uzC2Js.js → architectureDiagram-5GKGNRK7-hfIGqSc7.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-D4itI8GP.js → blockDiagram-NRAW4CY4-BLvXFxuL.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DyJzA_Bk.js → c4Diagram-UCG6FXSJ-B0ySRqbF.js} +1 -1
- package/web-shell/assets/channel-B2iKEcGd.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CldzFLZi.js → chunk-2Q5K7J3B-Cir7zOVC.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-Cq0Kj0gV.js → chunk-5VM5RSS4-CDD4SztQ.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DZ7ToIX3.js → chunk-F27PBJKO-asK4yFXN.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DVdybDaB.js → chunk-G27WJ6UU-Duv3kKeG.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-DJJV9ycO.js → chunk-JWPE2WC7-CxLgEAVC.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-UvX8t_CL.js → chunk-LCL6LL3I-C272Eh40.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BtIY5nH0.js → chunk-POPQ4Y6H-BEa9L8Rf.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-D2s5PV-v.js → chunk-SVP7TREG-Du7ekG8H.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BrmMihIw.js → chunk-XXDRQBXY-D1NXTUyy.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-mSbS1rbo.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-mSbS1rbo.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CIZPu3iQ.js → cose-bilkent-JH36ORCC-DfpxBocn.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-B5CmaWVW.js → cynefin-OW5HDTMX-DaA3nwgS.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CTmnEsXe.js → cynefinDiagram-5FMLGOSQ-aTwGPwXr.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CRoxYPJt.js → dagre-3AP2YEHR-BPQureZ2.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DuCtZhZh.js → diagram-S7CK7UJ4-B9l9YMYC.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-D1boncaV.js → diagram-UQ7AKVKN-BINF0OVO.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-MCS6BnZC.js → diagram-VSXAHHWV-CiZZUkn4.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-D0jCmhgd.js → diagram-VX7I27RA-DSryZ82r.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BbyNb0kV.js → diagram-Z3DM3KII-DVVmSiV6.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-CuuKfOpk.js → ebnfDiagram-PWID7BFC-DlyDLz4E.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-COET38hE.js → erDiagram-SSCWMZ5O-CKzUW1DF.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-IkjK_VjX.js → flowDiagram-A5DVABFB-BJbhb4Ms.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DpQN5T1N.js → ganttDiagram-EL5Y4UJY-C3MvAYYH.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D-3mZZJY.js → gitGraphDiagram-WWUBYQGX-WAlEYhpV.js} +1 -1
- package/web-shell/assets/{index-C6ChX65S.js → index-B-m7jwUn.js} +487 -475
- package/web-shell/assets/index-C6EbTEEX.css +36 -0
- package/web-shell/assets/{index-CbEDnx9Y.js → index-D-0jw_Mv.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-BZr1NPqN.js → infoDiagram-RXCK75RN-lCSiGsnv.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-BVOIXK6O.js → ishikawaDiagram-5VMMS53U-DO2Phifr.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CSSCt0VS.js → journeyDiagram-EYS64GPL-CMopttgZ.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-D8184eaV.js → kanban-definition-3QL26DDD-C9fCgZW7.js} +1 -1
- package/web-shell/assets/{layout-D6Y-BU4T.js → layout-jwnqp6Nz.js} +1 -1
- package/web-shell/assets/{linear-BqHctGnD.js → linear-BzQI00gV.js} +1 -1
- package/web-shell/assets/{mermaid.core-RZhKRR9u.js → mermaid.core-D8V71OO3.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BYy6nzI2.js → mindmap-definition-FBJOCRG2-BLUH8tli.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BCXU9jS6.js → pegDiagram-XKGWAZYB-BO0qnSfj.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-C7x0HkCZ.js → pieDiagram-E7YTZNPT-e4Cjh-6j.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CTt2Pns5.js → quadrantDiagram-AXDQQJYC-BwTHa_JF.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-BnfVnVX1.js → railroadDiagram-O6MQD6OU-B-KW5-Sx.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CrvMFYqe.js → requirementDiagram-EFPCY7ZU-D54hNSnQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DryWc6Dy.js → sankeyDiagram-P5KCCOFB-CBBp5lR9.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Bi6HpYxU.js → sequenceDiagram-WJ2MYXX4-OqoAVsuX.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-BvMmSrhI.js → sizeCapture-X5ZJPWSS-D8TpQJlP.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-D1AsHfqC.js → stateDiagram-HBIQ2CUA-BU9Ei757.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-67Q7WT5I.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-DA1zkU-G.js → swimlanes-XN3QIQJK-BpN3knRL.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Dh3LDQRv.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-EJFf20Qm.js → timeline-definition-24CTP7MA-B_Qj6PLG.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BxC8R6yI.js → vennDiagram-4TSXK5OY-USf6WC_3.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CBdJFwR_.js → wardleyDiagram-VM6X3IG4-DhXuNigR.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CebGvlJK.js → xychartDiagram-S5SC5T6Z-64GH9bS_.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-C-4jYruO.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DmEJKKvg.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DmEJKKvg.js +0 -1
- package/web-shell/assets/index-Cdqf5uSF.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DIDerJcb.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-h2E4ETv7.js +0 -8
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
shouldSuppressRememberErrorDetails,
|
|
15
15
|
workspaceMemoryFailureCode,
|
|
16
16
|
workspaceMemoryFailureDiagnostics
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TG246JMY.js";
|
|
18
18
|
import {
|
|
19
19
|
deriveWebSocketBase,
|
|
20
20
|
openQwenAsrRealtimeStream,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toJson,
|
|
33
33
|
toJsonl,
|
|
34
34
|
toMarkdown
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QEOLKEN7.js";
|
|
36
36
|
import {
|
|
37
37
|
OBSERVED_CONTACT_MAX_FRESH_WITHIN_SECONDS,
|
|
38
38
|
ObservedChannelContactStore
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
singleTokenCredentials,
|
|
116
116
|
tagListener,
|
|
117
117
|
unsafeRevealSecret
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ICWTEQBN.js";
|
|
119
119
|
import {
|
|
120
120
|
ConversationDirectoryIdentityError,
|
|
121
121
|
getConversationDirectoryName,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
runWithWorkspaceRuntimeStorage,
|
|
155
155
|
searchWorkspaceSessionsForResponse,
|
|
156
156
|
unarchiveDaemonSessions
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-IDT4P6XO.js";
|
|
158
158
|
import {
|
|
159
159
|
LIVE_SESSION_SOURCE_PREFIX,
|
|
160
160
|
isCompatibleLiveSessionSource,
|
|
@@ -194,17 +194,17 @@ import {
|
|
|
194
194
|
import {
|
|
195
195
|
evaluateDaemonWorkspaceTrust,
|
|
196
196
|
readDaemonTrustPolicySnapshot
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-C4B5ZCE5.js";
|
|
198
198
|
import {
|
|
199
199
|
readRecentPromptTerminals,
|
|
200
200
|
reconcileDanglingPromptTerminals,
|
|
201
201
|
withPromptTerminals
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-3MYXEXVX.js";
|
|
203
203
|
import {
|
|
204
204
|
WorkspaceGenerationClosedError,
|
|
205
205
|
createSingleWorkspaceRegistry,
|
|
206
206
|
createWorkspaceSessionOwnerIndex
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-H32AKV4B.js";
|
|
208
208
|
import {
|
|
209
209
|
sessionAttachmentsRoots
|
|
210
210
|
} from "./chunk-PJSZXERN.js";
|
|
@@ -230,11 +230,11 @@ import {
|
|
|
230
230
|
sendUntrustedWorkspaceResponse,
|
|
231
231
|
sendWorkspaceRuntimeUnavailable,
|
|
232
232
|
setWorkspaceRouteContext
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-MJFPRGEQ.js";
|
|
234
234
|
import {
|
|
235
235
|
normalizeChannelDelivery,
|
|
236
236
|
parseChannelDelivery
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-ADQSGJV5.js";
|
|
238
238
|
import {
|
|
239
239
|
isValidSessionId,
|
|
240
240
|
normalizeSessionIdForLookup,
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
} from "./chunk-ZEZKIS2K.js";
|
|
243
243
|
import {
|
|
244
244
|
createSessionOrganizationService
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-GJV3UMRE.js";
|
|
246
246
|
import {
|
|
247
247
|
isInternalWorkspaceRuntime
|
|
248
248
|
} from "./chunk-NYWWQ437.js";
|
|
@@ -261,14 +261,14 @@ import {
|
|
|
261
261
|
validateWorkspaceSkillName,
|
|
262
262
|
validateWorkspaceVoiceState,
|
|
263
263
|
voiceSettingsScopeToWire
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-YJHAAGEJ.js";
|
|
265
265
|
import {
|
|
266
266
|
PermissionRulesValidationError,
|
|
267
267
|
buildPermissionSettings,
|
|
268
268
|
isPermissionRuleType,
|
|
269
269
|
normalizePermissionRules,
|
|
270
270
|
readPermissionRuleSet
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-3XH7WS7C.js";
|
|
272
272
|
import {
|
|
273
273
|
assertVoiceBaseUrlNetworkAllowed,
|
|
274
274
|
isStreamingVoiceModel,
|
|
@@ -288,52 +288,48 @@ import {
|
|
|
288
288
|
} from "./chunk-UIWUFHRJ.js";
|
|
289
289
|
import {
|
|
290
290
|
createTotalSessionAdmissionController
|
|
291
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-UM4V7562.js";
|
|
292
292
|
import {
|
|
293
293
|
assertValidChannelSecretUpdates
|
|
294
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-UX6ROE5I.js";
|
|
295
|
+
import {
|
|
296
|
+
createDaemonStatusProvider
|
|
297
|
+
} from "./chunk-Y5IALOXP.js";
|
|
298
|
+
import "./chunk-CT6GGM4O.js";
|
|
299
|
+
import "./chunk-SWT6XVJE.js";
|
|
300
|
+
import "./chunk-FUSEMYFX.js";
|
|
295
301
|
import {
|
|
296
302
|
createWorkspaceProvidersStatusProvider
|
|
297
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-ADXJQFDY.js";
|
|
298
304
|
import {
|
|
299
305
|
PERSIST_REASONING_SELECTION_META_KEY,
|
|
300
306
|
REASONING_SELECTION_PERSISTED_META_KEY
|
|
301
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-S4XLNZOV.js";
|
|
308
|
+
import {
|
|
309
|
+
snapshotProcessEnv
|
|
310
|
+
} from "./chunk-3T7YUINK.js";
|
|
302
311
|
import {
|
|
303
312
|
getAuthTypeFromEnv,
|
|
304
313
|
resolveCliGenerationConfig
|
|
305
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-ZHBCAABR.js";
|
|
306
315
|
import {
|
|
307
316
|
findModelConfiguration,
|
|
308
317
|
findModelConfigurationForDeletion,
|
|
309
318
|
isConversationModelConfiguration,
|
|
310
319
|
isImageModelConfiguration,
|
|
311
320
|
listModelConfigurations
|
|
312
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-QBCQIJ5K.js";
|
|
313
322
|
import {
|
|
314
323
|
sanitizeProviderBaseUrl
|
|
315
324
|
} from "./chunk-Y3Q5OK4D.js";
|
|
316
325
|
import {
|
|
317
326
|
createWorkspaceSkillsStatusProvider
|
|
318
|
-
} from "./chunk-
|
|
319
|
-
import "./chunk-
|
|
327
|
+
} from "./chunk-DHM2SAA3.js";
|
|
328
|
+
import "./chunk-NIXL6GCQ.js";
|
|
320
329
|
import {
|
|
321
330
|
lookupSkillDisablement,
|
|
322
331
|
resolveSkillSettings
|
|
323
|
-
} from "./chunk-
|
|
324
|
-
import {
|
|
325
|
-
WorkspaceRuntimeInitializationError,
|
|
326
|
-
WorkspaceRuntimeStillStartingError,
|
|
327
|
-
getWorkspaceRuntimeCoordinator,
|
|
328
|
-
getWorkspaceRuntimeCoordinatorIfSupported,
|
|
329
|
-
supportsWorkspaceRuntimeLifecycle
|
|
330
|
-
} from "./chunk-H36V5QMB.js";
|
|
331
|
-
import "./chunk-OIBUG24X.js";
|
|
332
|
-
import {
|
|
333
|
-
MAX_SESSION_RESTORE_TIMEOUT_MS,
|
|
334
|
-
resolveSessionRestoreTimeoutMs,
|
|
335
|
-
restoreRetryAfterSeconds
|
|
336
|
-
} from "./chunk-4JRM2BSM.js";
|
|
332
|
+
} from "./chunk-QXYC7SNQ.js";
|
|
337
333
|
import {
|
|
338
334
|
WorkspacePermissionRulesSessionRequiredError,
|
|
339
335
|
WorkspaceSettingsPartialPersistError,
|
|
@@ -344,16 +340,16 @@ import {
|
|
|
344
340
|
isServeDebugMode,
|
|
345
341
|
mountWebShellAssets,
|
|
346
342
|
mountWebShellSpaFallback
|
|
347
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-4HIQNJMZ.js";
|
|
348
344
|
import {
|
|
349
345
|
require_express
|
|
350
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-CGDPJBVR.js";
|
|
351
347
|
import "./chunk-FBX2SDQ4.js";
|
|
352
348
|
import {
|
|
353
349
|
daemonObservedContactsPath,
|
|
354
350
|
loadChannelsConfig
|
|
355
|
-
} from "./chunk-
|
|
356
|
-
import "./chunk-
|
|
351
|
+
} from "./chunk-XEUHI5QA.js";
|
|
352
|
+
import "./chunk-IHTXJ34C.js";
|
|
357
353
|
import "./chunk-57OAHC2Y.js";
|
|
358
354
|
import {
|
|
359
355
|
assertLiveDiscoveryPublisher,
|
|
@@ -373,14 +369,18 @@ import {
|
|
|
373
369
|
conversationRuntimeUnavailableError
|
|
374
370
|
} from "./chunk-TBUYRX6R.js";
|
|
375
371
|
import {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
372
|
+
WorkspaceRuntimeInitializationError,
|
|
373
|
+
WorkspaceRuntimeStillStartingError,
|
|
374
|
+
getWorkspaceRuntimeCoordinator,
|
|
375
|
+
getWorkspaceRuntimeCoordinatorIfSupported,
|
|
376
|
+
supportsWorkspaceRuntimeLifecycle
|
|
377
|
+
} from "./chunk-5JDABAZR.js";
|
|
378
|
+
import "./chunk-OIBUG24X.js";
|
|
381
379
|
import {
|
|
382
|
-
|
|
383
|
-
|
|
380
|
+
MAX_SESSION_RESTORE_TIMEOUT_MS,
|
|
381
|
+
resolveSessionRestoreTimeoutMs,
|
|
382
|
+
restoreRetryAfterSeconds
|
|
383
|
+
} from "./chunk-4JRM2BSM.js";
|
|
384
384
|
import {
|
|
385
385
|
SessionArtifactAuthorizationError,
|
|
386
386
|
SessionArtifactValidationError,
|
|
@@ -388,7 +388,7 @@ import {
|
|
|
388
388
|
extractErrorCode,
|
|
389
389
|
extractErrorMessage,
|
|
390
390
|
parseSessionSource
|
|
391
|
-
} from "./chunk-
|
|
391
|
+
} from "./chunk-A4IJR5S6.js";
|
|
392
392
|
import {
|
|
393
393
|
EVENT_SCHEMA_VERSION,
|
|
394
394
|
EventBus,
|
|
@@ -399,7 +399,7 @@ import "./chunk-WCCLLK7X.js";
|
|
|
399
399
|
import "./chunk-OCPBI7J5.js";
|
|
400
400
|
import {
|
|
401
401
|
createSpawnChannelFactory
|
|
402
|
-
} from "./chunk-
|
|
402
|
+
} from "./chunk-HVXNAVUO.js";
|
|
403
403
|
import "./chunk-LYD3T3H7.js";
|
|
404
404
|
import {
|
|
405
405
|
BridgeTimeoutError,
|
|
@@ -409,7 +409,7 @@ import {
|
|
|
409
409
|
createIdleWorkspaceMemoryStatus,
|
|
410
410
|
mapDomainErrorToErrorKind,
|
|
411
411
|
readServeWorkflowActionInput
|
|
412
|
-
} from "./chunk-
|
|
412
|
+
} from "./chunk-TUKPBUHT.js";
|
|
413
413
|
import "./chunk-ZL4HFSL6.js";
|
|
414
414
|
import {
|
|
415
415
|
parseChannelWebhookConfigLenient
|
|
@@ -419,7 +419,7 @@ import {
|
|
|
419
419
|
} from "./chunk-YG2QHKNQ.js";
|
|
420
420
|
import "./chunk-LFKXIOGC.js";
|
|
421
421
|
import "./chunk-V6WHFGST.js";
|
|
422
|
-
import "./chunk-
|
|
422
|
+
import "./chunk-JDS6RRHY.js";
|
|
423
423
|
import {
|
|
424
424
|
MAX_REGISTERED_WORKSPACES,
|
|
425
425
|
WorkspaceDisplayNameValidationError,
|
|
@@ -429,7 +429,7 @@ import {
|
|
|
429
429
|
normalizeWorkspaceDisplayName,
|
|
430
430
|
resolveMaxRegisteredWorkspaces,
|
|
431
431
|
workspaceRegistrationId
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-FIC4SULR.js";
|
|
433
433
|
import {
|
|
434
434
|
CHANNEL_PROMPT_META_KEY,
|
|
435
435
|
DAEMON_PROMPT_DISPLAY_TEXT_META_KEY,
|
|
@@ -474,8 +474,9 @@ import {
|
|
|
474
474
|
WorkspaceInitPathEscapeError,
|
|
475
475
|
WorkspaceInitRaceError,
|
|
476
476
|
WorkspaceInitSymlinkError,
|
|
477
|
-
WorkspaceMismatchError
|
|
478
|
-
|
|
477
|
+
WorkspaceMismatchError,
|
|
478
|
+
WorkspaceRuntimeStopError
|
|
479
|
+
} from "./chunk-OY4DP3XV.js";
|
|
479
480
|
import {
|
|
480
481
|
MAX_WORKSPACE_PATH_LENGTH,
|
|
481
482
|
canonicalizeWorkspace,
|
|
@@ -531,9 +532,9 @@ import {
|
|
|
531
532
|
resolveOutputLanguageOrPreserveAuto,
|
|
532
533
|
updateOutputLanguageFile,
|
|
533
534
|
validateSettingValue
|
|
534
|
-
} from "./chunk-
|
|
535
|
+
} from "./chunk-KPRD727P.js";
|
|
535
536
|
import "./chunk-RKUWKYED.js";
|
|
536
|
-
import "./chunk-
|
|
537
|
+
import "./chunk-2UK4NN6N.js";
|
|
537
538
|
import {
|
|
538
539
|
detectSystemLanguage,
|
|
539
540
|
getCurrentLanguage,
|
|
@@ -546,15 +547,15 @@ import {
|
|
|
546
547
|
} from "./chunk-5EJZE3FP.js";
|
|
547
548
|
import {
|
|
548
549
|
buildRuntimeEnvironment
|
|
549
|
-
} from "./chunk-
|
|
550
|
+
} from "./chunk-JNCTEVLS.js";
|
|
550
551
|
import "./chunk-BW4333PP.js";
|
|
551
552
|
import "./chunk-IDS7MSUP.js";
|
|
552
553
|
import "./chunk-6V4XP46I.js";
|
|
553
|
-
import "./chunk-
|
|
554
|
+
import "./chunk-7OQL6UOC.js";
|
|
554
555
|
import "./chunk-W3N5XAZ6.js";
|
|
555
556
|
import {
|
|
556
557
|
getWorkspaceTrustStatus
|
|
557
|
-
} from "./chunk-
|
|
558
|
+
} from "./chunk-UE5VCGKO.js";
|
|
558
559
|
import "./chunk-NPQ5ZKRP.js";
|
|
559
560
|
import {
|
|
560
561
|
isWithinRoot as isWithinRoot2
|
|
@@ -569,13 +570,13 @@ import {
|
|
|
569
570
|
buildUsageDashboard,
|
|
570
571
|
loadIgnoreRules,
|
|
571
572
|
writeWorkspaceContextFile
|
|
572
|
-
} from "./chunk-
|
|
573
|
+
} from "./chunk-E3BHICIC.js";
|
|
573
574
|
import "./chunk-GELRJXE2.js";
|
|
574
575
|
import "./chunk-32CM56LO.js";
|
|
575
576
|
import "./chunk-5LWMGZUU.js";
|
|
576
577
|
import "./chunk-LJZSMWOH.js";
|
|
577
|
-
import "./chunk-
|
|
578
|
-
import "./chunk-
|
|
578
|
+
import "./chunk-SZ4UJWEJ.js";
|
|
579
|
+
import "./chunk-ZCBBV4LJ.js";
|
|
579
580
|
import "./chunk-LHI3FFDO.js";
|
|
580
581
|
import {
|
|
581
582
|
clearWorktreeSession,
|
|
@@ -583,24 +584,24 @@ import {
|
|
|
583
584
|
readWorktreeSessionStrict,
|
|
584
585
|
writeWorktreeSession
|
|
585
586
|
} from "./chunk-CXDWVOBM.js";
|
|
586
|
-
import "./chunk-
|
|
587
|
+
import "./chunk-U6SF7GWW.js";
|
|
587
588
|
import "./chunk-ZPJWUGCS.js";
|
|
588
589
|
import "./chunk-O4A2B6V2.js";
|
|
589
590
|
import "./chunk-HBZQIGAR.js";
|
|
590
591
|
import "./chunk-LAE6RY3L.js";
|
|
591
592
|
import "./chunk-7PQ65Z5F.js";
|
|
592
593
|
import "./chunk-6KR42S7N.js";
|
|
593
|
-
import "./chunk-
|
|
594
|
-
import "./chunk-
|
|
594
|
+
import "./chunk-WTMM54T4.js";
|
|
595
|
+
import "./chunk-MUREOC7V.js";
|
|
595
596
|
import "./chunk-3YRZQZQW.js";
|
|
596
|
-
import "./chunk-
|
|
597
|
+
import "./chunk-DOG4JYVA.js";
|
|
597
598
|
import "./chunk-V2XJJTAB.js";
|
|
598
|
-
import "./chunk-
|
|
599
|
+
import "./chunk-EE5L2LJI.js";
|
|
599
600
|
import "./chunk-HARQNY36.js";
|
|
600
601
|
import "./chunk-B4BGUUBA.js";
|
|
601
602
|
import "./chunk-YDERQ7ZV.js";
|
|
602
603
|
import "./chunk-HG7BSAAQ.js";
|
|
603
|
-
import "./chunk-
|
|
604
|
+
import "./chunk-7MJKFPGJ.js";
|
|
604
605
|
import {
|
|
605
606
|
BuiltinAgentRegistry,
|
|
606
607
|
Client,
|
|
@@ -681,7 +682,7 @@ import {
|
|
|
681
682
|
toSessionPrInfo,
|
|
682
683
|
upsertSessionPr,
|
|
683
684
|
watchRepoBranch
|
|
684
|
-
} from "./chunk-
|
|
685
|
+
} from "./chunk-J6QWYIXU.js";
|
|
685
686
|
import "./chunk-EGFLRBZ6.js";
|
|
686
687
|
import "./chunk-GOFAQQZA.js";
|
|
687
688
|
import "./chunk-HEOH7JZY.js";
|
|
@@ -713,7 +714,7 @@ import {
|
|
|
713
714
|
recordDaemonBridgeError,
|
|
714
715
|
recordDaemonHttpRequest,
|
|
715
716
|
validateSkillName
|
|
716
|
-
} from "./chunk-
|
|
717
|
+
} from "./chunk-MQD3FY7L.js";
|
|
717
718
|
import "./chunk-KMPZCA4L.js";
|
|
718
719
|
import "./chunk-O6GEWCJA.js";
|
|
719
720
|
import {
|
|
@@ -745,15 +746,15 @@ import "./chunk-ADN5KESB.js";
|
|
|
745
746
|
import "./chunk-SK3RZOPS.js";
|
|
746
747
|
import "./chunk-EVZT24AF.js";
|
|
747
748
|
import "./chunk-6C3D7BKK.js";
|
|
748
|
-
import "./chunk-
|
|
749
|
+
import "./chunk-QZECTXG4.js";
|
|
749
750
|
import "./chunk-MNU36NGH.js";
|
|
750
751
|
import "./chunk-BQMSZSG6.js";
|
|
751
|
-
import "./chunk-
|
|
752
|
+
import "./chunk-KNTOORZV.js";
|
|
752
753
|
import {
|
|
753
754
|
NO_EXEC_CONFIG,
|
|
754
755
|
findGitRoot
|
|
755
756
|
} from "./chunk-AUFTA63J.js";
|
|
756
|
-
import "./chunk-
|
|
757
|
+
import "./chunk-RUWHZMXW.js";
|
|
757
758
|
import "./chunk-MLXTMF7H.js";
|
|
758
759
|
import "./chunk-JYGESWZM.js";
|
|
759
760
|
import "./chunk-TFDCK56Y.js";
|
|
@@ -765,7 +766,7 @@ import "./chunk-WFNEY5G7.js";
|
|
|
765
766
|
import "./chunk-HZYLXNG7.js";
|
|
766
767
|
import "./chunk-S6LOFUVP.js";
|
|
767
768
|
import "./chunk-BKVPLSEI.js";
|
|
768
|
-
import "./chunk-
|
|
769
|
+
import "./chunk-HISXBKXU.js";
|
|
769
770
|
import "./chunk-S7UQ3V2H.js";
|
|
770
771
|
import "./chunk-QE36VXWP.js";
|
|
771
772
|
import {
|
|
@@ -788,7 +789,7 @@ import {
|
|
|
788
789
|
resolveModelProtocol,
|
|
789
790
|
shouldShowStep,
|
|
790
791
|
tryResolveModelProtocol
|
|
791
|
-
} from "./chunk-
|
|
792
|
+
} from "./chunk-FUZESLZQ.js";
|
|
792
793
|
import {
|
|
793
794
|
QwenOAuth2Client,
|
|
794
795
|
QwenOAuthPollError,
|
|
@@ -820,7 +821,7 @@ import "./chunk-XWRJCPHC.js";
|
|
|
820
821
|
import {
|
|
821
822
|
parseLineTolerant,
|
|
822
823
|
read
|
|
823
|
-
} from "./chunk-
|
|
824
|
+
} from "./chunk-3UOPPEN5.js";
|
|
824
825
|
import "./chunk-5ETULJLP.js";
|
|
825
826
|
import "./chunk-VGC4I5JJ.js";
|
|
826
827
|
import "./chunk-CFMZLE3L.js";
|
|
@@ -842,7 +843,7 @@ import "./chunk-R6IES4JL.js";
|
|
|
842
843
|
import "./chunk-GTI6CROA.js";
|
|
843
844
|
import "./chunk-7TGPYR3U.js";
|
|
844
845
|
import "./chunk-DSJQYGJZ.js";
|
|
845
|
-
import "./chunk-
|
|
846
|
+
import "./chunk-CBJBLKDH.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
|
|
@@ -25950,11 +26179,11 @@ function registerWorkspaceExtensionRoutes(app, deps) {
|
|
|
25950
26179
|
boundWorkspace,
|
|
25951
26180
|
true
|
|
25952
26181
|
);
|
|
25953
|
-
const snapshot = await manager.
|
|
26182
|
+
const { snapshot, extensions } = await manager.refreshCatalogSnapshot();
|
|
25954
26183
|
res.status(200).json({
|
|
25955
26184
|
v: 1,
|
|
25956
26185
|
generation: snapshot.generation,
|
|
25957
|
-
extensions:
|
|
26186
|
+
extensions: extensions.map((extension) => {
|
|
25958
26187
|
const policy = snapshot.extensions[extension.id];
|
|
25959
26188
|
return {
|
|
25960
26189
|
id: extension.id,
|
|
@@ -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,
|
|
@@ -53653,6 +53895,7 @@ var LiveSetupController = class {
|
|
|
53653
53895
|
provider: route.provider,
|
|
53654
53896
|
...route.name ? { name: route.name } : {}
|
|
53655
53897
|
})),
|
|
53898
|
+
nativeHost: this.deps.nativeHost !== false,
|
|
53656
53899
|
shortcut: live.shortcut,
|
|
53657
53900
|
install: this.deps.installer.getStatus(),
|
|
53658
53901
|
live: this.deps.coordinator.getStatus()
|
|
@@ -53877,7 +54120,9 @@ var LiveSetupController = class {
|
|
|
53877
54120
|
throw error2;
|
|
53878
54121
|
}
|
|
53879
54122
|
}
|
|
53880
|
-
if (nextEnabled
|
|
54123
|
+
if (nextEnabled && this.deps.nativeHost !== false) {
|
|
54124
|
+
void this.deps.installer.ensureInstalled();
|
|
54125
|
+
}
|
|
53881
54126
|
return await this.getStatus();
|
|
53882
54127
|
}
|
|
53883
54128
|
};
|
|
@@ -57728,6 +57973,10 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
57728
57973
|
tokenConfigured,
|
|
57729
57974
|
requireAuth: opts.requireAuth === true
|
|
57730
57975
|
});
|
|
57976
|
+
let runtimeStopReady = false;
|
|
57977
|
+
let runtimeStopsClosing = false;
|
|
57978
|
+
const scheduledActivity = /* @__PURE__ */ new WeakMap();
|
|
57979
|
+
const rehydratingWorkspaces = /* @__PURE__ */ new Set();
|
|
57731
57980
|
const sessionRestoreTimeoutMs = resolveSessionRestoreTimeoutMs(opts);
|
|
57732
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;
|
|
57733
57982
|
if (deps.workspaceRuntimeRemoval && !deps.voiceCoordinator) {
|
|
@@ -57907,6 +58156,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
57907
58156
|
acpHttpEnabled: acpHttpEnabledAtBoot,
|
|
57908
58157
|
workspaceRuntimeRemovalAvailable: deps.workspaceRuntimeRemoval !== void 0,
|
|
57909
58158
|
nativeDirectoryPickerAvailable: deps.nativeDirectoryPickerAvailable ?? isNativeDirectoryPickerAvailable(),
|
|
58159
|
+
workspaceRuntimeStopAvailable: /* @__PURE__ */ __name(() => runtimeStopReady && !runtimeStopsClosing, "workspaceRuntimeStopAvailable"),
|
|
57910
58160
|
workspaceRuntimeAvailable: /* @__PURE__ */ __name(() => {
|
|
57911
58161
|
const runtimes = workspaceRegistry.list();
|
|
57912
58162
|
return runtimes.length > 0 && runtimes.every(
|
|
@@ -58803,6 +59053,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
58803
59053
|
getEnabled: /* @__PURE__ */ __name(() => liveVoiceEnabled, "getEnabled"),
|
|
58804
59054
|
setEnabled: setLiveVoiceEnabled,
|
|
58805
59055
|
env: daemonEnv,
|
|
59056
|
+
nativeHost: liveNativeHostAvailable,
|
|
58806
59057
|
...deps.persistSettings ? {
|
|
58807
59058
|
persistSettings: /* @__PURE__ */ __name(async (writes) => {
|
|
58808
59059
|
const assertGenerationOpen = capturePrimaryGenerationAssertion?.() ?? (() => {
|
|
@@ -58843,6 +59094,31 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
58843
59094
|
workspaceRegistry,
|
|
58844
59095
|
sendBridgeError: sendBridgeError2
|
|
58845
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
|
+
});
|
|
58846
59122
|
registerWorkspaceRuntimeRoutes(app, {
|
|
58847
59123
|
workspaceRegistry,
|
|
58848
59124
|
mutate,
|
|
@@ -59182,12 +59458,10 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59182
59458
|
}, "updateSiblingSessionWorkflows"),
|
|
59183
59459
|
broadcastSettingsChanged,
|
|
59184
59460
|
parseAndValidateClientId: /* @__PURE__ */ __name((req, res) => parseAndValidateWorkspaceClientId(req, res, primaryBridge), "parseAndValidateClientId"),
|
|
59185
|
-
//
|
|
59186
|
-
//
|
|
59187
|
-
// macOS
|
|
59188
|
-
|
|
59189
|
-
// settings.json.
|
|
59190
|
-
includeLiveVoice: liveNativeHostAvailable
|
|
59461
|
+
// Listed wherever Live Voice exists. The bundled Web Shell trims its
|
|
59462
|
+
// setup card to what applies (`/live/setup` reports `nativeHost`), so
|
|
59463
|
+
// off macOS it never offers to install the native Host.
|
|
59464
|
+
includeLiveVoice: liveVoiceSurfaceAvailable
|
|
59191
59465
|
});
|
|
59192
59466
|
registerWorkspaceQualifiedSettingsRoutes(app, {
|
|
59193
59467
|
workspaceRegistry,
|
|
@@ -59515,6 +59789,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59515
59789
|
const idleTimeoutMs = opts.sessionIdleTimeoutMs ?? DEFAULT_SESSION_IDLE_TIMEOUT_MS;
|
|
59516
59790
|
const keepaliveIntervalMs = computeKeepaliveIntervalMs(idleTimeoutMs);
|
|
59517
59791
|
const rehydrateWorkspace = /* @__PURE__ */ __name((runtime) => {
|
|
59792
|
+
rehydratingWorkspaces.add(runtime);
|
|
59518
59793
|
void runWithWorkspaceRuntimeStorage(
|
|
59519
59794
|
runtime,
|
|
59520
59795
|
() => rehydrateScheduledTaskSessions({
|
|
@@ -59539,6 +59814,8 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59539
59814
|
`qwen serve: unexpected scheduled-task rehydration failure: ${err instanceof Error ? err.message : String(err)}
|
|
59540
59815
|
`
|
|
59541
59816
|
);
|
|
59817
|
+
}).finally(() => {
|
|
59818
|
+
rehydratingWorkspaces.delete(runtime);
|
|
59542
59819
|
});
|
|
59543
59820
|
}, "rehydrateWorkspace");
|
|
59544
59821
|
const keepaliveStops = /* @__PURE__ */ new Map();
|
|
@@ -59555,6 +59832,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59555
59832
|
cleanupSession: /* @__PURE__ */ __name((sessionId) => cleanupSession(runtime, sessionId), "cleanupSession"),
|
|
59556
59833
|
onTasksRead: /* @__PURE__ */ __name((tasks) => registerScheduledTaskAuthorizations(runtime.workspaceCwd, tasks), "onTasksRead")
|
|
59557
59834
|
});
|
|
59835
|
+
scheduledActivity.set(runtime, () => keepalive.activeWork);
|
|
59558
59836
|
rehydrateWorkspace(runtime);
|
|
59559
59837
|
keepaliveStops.set(runtime.workspaceCwd, keepalive.stop);
|
|
59560
59838
|
}, "startKeepaliveForWorkspace");
|
|
@@ -59562,6 +59840,7 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59562
59840
|
startKeepaliveForWorkspace(runtime);
|
|
59563
59841
|
}
|
|
59564
59842
|
app.locals.stopScheduledTaskKeepalive = () => {
|
|
59843
|
+
runtimeStopsClosing = true;
|
|
59565
59844
|
for (const stop of keepaliveStops.values()) stop();
|
|
59566
59845
|
keepaliveStops.clear();
|
|
59567
59846
|
};
|
|
@@ -59712,6 +59991,9 @@ function createServeApp(opts, getPort = () => opts.port, deps = {}) {
|
|
|
59712
59991
|
if (acpHandleRef.current) {
|
|
59713
59992
|
app.locals["acpHandle"] = acpHandleRef.current;
|
|
59714
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
|
+
));
|
|
59715
59997
|
if (deps.managedChildProcesses) {
|
|
59716
59998
|
reclaimIdleAcp = createIdleAcpReclaimer({
|
|
59717
59999
|
registry: workspaceRegistry,
|
|
@@ -59820,12 +60102,12 @@ export {
|
|
|
59820
60102
|
};
|
|
59821
60103
|
/**
|
|
59822
60104
|
* @license
|
|
59823
|
-
* Copyright
|
|
60105
|
+
* Copyright 2026 Qwen Team
|
|
59824
60106
|
* SPDX-License-Identifier: Apache-2.0
|
|
59825
60107
|
*/
|
|
59826
60108
|
/**
|
|
59827
60109
|
* @license
|
|
59828
|
-
* Copyright
|
|
60110
|
+
* Copyright 2025 Qwen Team
|
|
59829
60111
|
* SPDX-License-Identifier: Apache-2.0
|
|
59830
60112
|
*/
|
|
59831
60113
|
/**
|