@symerian/symi 2.0.20 → 2.0.22
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/dist/{acp-cli-sXld4yJl.js → acp-cli-CucGW37J.js} +3 -3
- package/dist/{acp-cli-bbOWOXnN.js → acp-cli-bbMTiuvi.js} +3 -3
- package/dist/{agents-BuORPAb-.js → agents-DPqxmSTh.js} +8 -8
- package/dist/{agents.config-f39yfz8X.js → agents.config-D546KT_g.js} +1 -1
- package/dist/{agents.config-DHoCjDcA.js → agents.config-ah2sfVuh.js} +1 -1
- package/dist/{api-key-rotation-De1ivBc0.js → api-key-rotation-Yddo7iSo.js} +1 -1
- package/dist/{audio-preflight-USnUISOE.js → audio-preflight-19hTzgl9.js} +13 -13
- package/dist/{audio-preflight-C7tgYAnW.js → audio-preflight-CHWYpvI7.js} +7 -7
- package/dist/{audio-preflight-BxuYnm6k.js → audio-preflight-CU_XD3wQ.js} +7 -7
- package/dist/{audio-preflight-DCHBMKWE.js → audio-preflight-DUJsUsB1.js} +13 -13
- package/dist/{audit-DpqAVLn7.js → audit-BqIaLubU.js} +7 -7
- package/dist/{audit-Dxa-KhrA.js → audit-DHvgRd1-.js} +7 -7
- package/dist/{auth-choice-CMXdQiNi.js → auth-choice-CnkugX5j.js} +7 -7
- package/dist/{auth-choice-CtvhJkHT.js → auth-choice-DF-shD8r.js} +7 -7
- package/dist/{auth-profiles-Cs3GPB03.js → auth-profiles-BS_I3lKI.js} +21 -5
- package/dist/{auth-token-CbDExtp_.js → auth-token-BgP1x6qJ.js} +1 -1
- package/dist/{auth-token-DdkoxDu3.js → auth-token-DJczN1M9.js} +1 -1
- package/dist/{banner-CXdm0occ.js → banner-bvMTkZEs.js} +1 -1
- package/dist/{browser-cli-DQ0DQymk.js → browser-cli-B2ebOUVu.js} +4 -4
- package/dist/{browser-cli-8URbjVyN.js → browser-cli-BHhSGWsA.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +18 -18
- package/dist/bundled/session-memory/handler.js +18 -18
- package/dist/{call-B-p451Eo.js → call-CvHdkyUu.js} +1 -1
- package/dist/{call-Cspuh_Jh.js → call-D8YrSTQS.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C8A4aHBg.js → channel-options-B1CU1OhV.js} +1 -1
- package/dist/{channel-options-D2wffuUf.js → channel-options-WQIYmA0R.js} +1 -1
- package/dist/{channel-web-rV1Ov6LY.js → channel-web-CJj8XofR.js} +8 -8
- package/dist/{channels-cli-BJqzYIuv.js → channels-cli-BQHwMH-9.js} +38 -38
- package/dist/{channels-cli-Itgm_y4y.js → channels-cli-DKpgiqZM.js} +39 -39
- package/dist/{chrome-BUUMKYz7.js → chrome-Bb5ivmrz.js} +8 -8
- package/dist/{chrome-Chj8uCZN.js → chrome-CYmV7wN8.js} +1 -1
- package/dist/{chrome-B4BVdT6M.js → chrome-CkWGSMS5.js} +1 -1
- package/dist/{chrome-XQjc7KSW.js → chrome-Djqc4X4V.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-LIphED4q.js → cli-B6wgV4te.js} +34 -34
- package/dist/{cli-eO-hVRgH.js → cli-rFD0PhFT.js} +33 -33
- package/dist/{command-registry-DfVT7wTW.js → command-registry-Dg8tEZn7.js} +11 -11
- package/dist/{commands-registry-DN93gKlx.js → commands-registry-DCUIFMIL.js} +1 -1
- package/dist/{commands-registry-nK_mZXUN.js → commands-registry-DSZSSHny.js} +1 -1
- package/dist/{commands-registry-tuRMQmX4.js → commands-registry-DhT2Skgp.js} +1 -1
- package/dist/{commands-registry-B_V42ZiZ.js → commands-registry-xbZ77kzw.js} +1 -1
- package/dist/{completion-cli-BOGuxOhF.js → completion-cli-B2KjRA9F.js} +1 -1
- package/dist/{completion-cli-CObwV9I2.js → completion-cli-FRiFEavP.js} +2 -2
- package/dist/{config-Crs8V2FU.js → config-6k8f4O94.js} +4 -2
- package/dist/{config-CxnbOYs8.js → config-CGJ96S46.js} +4 -2
- package/dist/{config-cli-DhVbRzoq.js → config-cli-L94gSwVv.js} +3 -3
- package/dist/{config-cli-BbgRYEdh.js → config-cli-YG0NXWaD.js} +3 -3
- package/dist/{config-guard-CNwpT-bm.js → config-guard-BfyorHCy.js} +5 -5
- package/dist/{config-guard-DvNDqIJp.js → config-guard-BmDOhJF-.js} +2 -2
- package/dist/{config-Bh5BJYfZ.js → config-oz6yMs1r.js} +4 -2
- package/dist/{config-BMStjqdp.js → config-uEQqNsoL.js} +4 -2
- package/dist/{config-validation-D0ku5PSk.js → config-validation-Dr-_vV9F.js} +1 -1
- package/dist/{config-validation-g8v4CRxO.js → config-validation-QqCZq8BO.js} +1 -1
- package/dist/{configure-BgTDW15F.js → configure-DjW5XA-i.js} +11 -11
- package/dist/{configure-DySsLNr7.js → configure-DpmVGU5C.js} +11 -11
- package/dist/{control-service-B7EmYYFH.js → control-service-C8yt3FSq.js} +4 -4
- package/dist/{control-service-BwrQoUMh.js → control-service-CjU6sFdJ.js} +4 -4
- package/dist/{cron-cli-D-nqfPZ5.js → cron-cli-97q0AjAn.js} +4 -4
- package/dist/{cron-cli-D9nGEQiu.js → cron-cli-BOD-J9a-.js} +4 -4
- package/dist/{daemon-cli-l5oXLo3n.js → daemon-cli-BT2sI9-3.js} +6 -6
- package/dist/{daemon-cli-DJR87xEg.js → daemon-cli-C6Ju1ptH.js} +6 -6
- package/dist/daemon-cli.js +3 -1
- package/dist/{daemon-runtime-BkVgNwLi.js → daemon-runtime-BySJ0Lp1.js} +1 -1
- package/dist/{daemon-runtime-D4sIbUkl.js → daemon-runtime-DFHqkET0.js} +1 -1
- package/dist/{deliver-CHWZIQz7.js → deliver-BpcMy6AD.js} +2 -2
- package/dist/{deliver-8jOk1f3v.js → deliver-CBkk7rHm.js} +3 -3
- package/dist/{deliver-8_lPbrcf.js → deliver-UASIwAO4.js} +2 -2
- package/dist/{deliver-C0Azi_cK.js → deliver-uSLZirbx.js} +3 -3
- package/dist/{devices-cli-V6vhbLKq.js → devices-cli-CuepNiOK.js} +3 -3
- package/dist/{devices-cli-CaK3Ausk.js → devices-cli-DCpwNXHx.js} +3 -3
- package/dist/{directory-cli-BmNzLgXc.js → directory-cli-C-l3hDLV.js} +2 -2
- package/dist/{directory-cli-Cd9lchia.js → directory-cli-CJrdIIMY.js} +2 -2
- package/dist/{dm-policy-shared-flFO0wFg.js → dm-policy-shared-Ctb5IkNa.js} +1 -1
- package/dist/{dm-policy-shared-CvHrO6D_.js → dm-policy-shared-DzlcnEMg.js} +1 -1
- package/dist/{dns-cli-BEOWeAGR.js → dns-cli-DDXNezGt.js} +2 -2
- package/dist/{dns-cli-mH-jPqkH.js → dns-cli-DTs_aknb.js} +2 -2
- package/dist/{doctor-completion-BfGNEmRG.js → doctor-completion-CSwxOlhu.js} +1 -1
- package/dist/{doctor-completion-C4gB2aiK.js → doctor-completion-D6bevOPA.js} +1 -1
- package/dist/{doctor-config-flow-Dd6-lC3V.js → doctor-config-flow-BTonoZiN.js} +3 -3
- package/dist/{doctor-config-flow-Dpnvu5A2.js → doctor-config-flow-CVPHaevC.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-Dlf9s8ne.js → exec-approvals-cli-CIO2ZfDu.js} +5 -5
- package/dist/{exec-approvals-cli-lDvry8Xq.js → exec-approvals-cli-CyCL9HhA.js} +5 -5
- package/dist/extensionAPI.js +18 -18
- package/dist/{gateway-cli-Dm40SXo0.js → gateway-cli-C1nuI3Ec.js} +52 -52
- package/dist/{gateway-cli-D1k1Jm3d.js → gateway-cli-D4VSgdJh.js} +51 -51
- package/dist/{gateway-rpc-CCYQR5Bz.js → gateway-rpc-C08aRZPm.js} +1 -1
- package/dist/{gateway-rpc-aJiLRbJG.js → gateway-rpc-C8yFonDu.js} +1 -1
- package/dist/{gemini-auth-DmWoaMTb.js → gemini-auth-BoaKgS4s.js} +1 -1
- package/dist/{gemini-auth-2cinXFeY.js → gemini-auth-Cb6WywoJ.js} +1 -1
- package/dist/{gemini-auth-DtBB7-5F.js → gemini-auth-DcYr7a2U.js} +1 -1
- package/dist/{glass-ui-ws-r2tCQ_6u.js → glass-ui-ws-BIEY-Hp0.js} +42 -42
- package/dist/{glass-ui-ws-DN2hrUj_.js → glass-ui-ws-D-rChRuX.js} +43 -43
- package/dist/{health-B8dlEXGS.js → health-DDZwUqwB.js} +5 -5
- package/dist/{health-lr4bpKt4.js → health-DiRth-TA.js} +5 -5
- package/dist/{hooks-cli-Bq399X0k.js → hooks-cli-DNCFaCrN.js} +34 -34
- package/dist/{hooks-cli-BCizuq5S.js → hooks-cli-HNtzwpSV.js} +35 -35
- package/dist/{image-DOum3dyt.js → image-Cvu0YSjj.js} +3 -3
- package/dist/{image-bJzFwVE3.js → image-DBnlBG4I.js} +3 -3
- package/dist/{image-CNYGLoQl.js → image-DTQ8kORz.js} +3 -3
- package/dist/{image-BTLvoV0e.js → image-DViVUwBd.js} +3 -3
- package/dist/index.js +42 -42
- package/dist/{lifecycle-core-f8oPRRaQ.js → lifecycle-core-Dbt4g6Of.js} +2 -2
- package/dist/{lifecycle-core-C7fyJOuN.js → lifecycle-core-Dd9x949O.js} +2 -2
- package/dist/llm-slug-generator.js +18 -18
- package/dist/{login-CJf4Gdbq.js → login-CMot-0rl.js} +2 -2
- package/dist/{login-DTkUG4Mp.js → login-Cfm3bDH5.js} +2 -2
- package/dist/{login-C2C1yAD8.js → login-Cv_yqC3s.js} +2 -2
- package/dist/{login-BZsZO9ST.js → login-K4zjz_fH.js} +2 -2
- package/dist/{login-qr-CBPis3I2.js → login-qr-BMs92uQR.js} +3 -3
- package/dist/{login-qr-rvsxQT5p.js → login-qr-DLsX7QTE.js} +3 -3
- package/dist/{login-qr-C4uL0W0C.js → login-qr-DZhDF5IA.js} +3 -3
- package/dist/{login-qr-BSm4xrHW.js → login-qr-Dum8wEJm.js} +3 -3
- package/dist/{logs-cli-DJJ4_QXv.js → logs-cli-DGh7EDcI.js} +4 -4
- package/dist/{logs-cli-9__MsacS.js → logs-cli-ZVZ24zfk.js} +4 -4
- package/dist/{manager-D0d-bOOe.js → manager-ATGdr2di.js} +2 -2
- package/dist/{manager-Cw42HtQ7.js → manager-BB42BLb9.js} +2 -2
- package/dist/{manager-DqkRhYYl.js → manager-CkLgUBR9.js} +2 -2
- package/dist/{manager-D5ZbBYmN.js → manager-WMCMBAXk.js} +2 -2
- package/dist/{memory-cli-OWL3A7_N.js → memory-cli-Dyj4Z7nu.js} +5 -5
- package/dist/{memory-cli-D5iikkSG.js → memory-cli-Vk3GHSJH.js} +5 -5
- package/dist/{model-ApXxvnzl.js → model-CW9V-AKq.js} +1 -1
- package/dist/{model-DDV7HL-B.js → model-CaahPnPE.js} +1 -1
- package/dist/{model-auth-Db8I8QVL.js → model-auth-ueipoWgv.js} +21 -5
- package/dist/{model-catalog-Dq60dweH.js → model-catalog-B-RLz1zZ.js} +4 -4
- package/dist/{model-catalog-jhBOlBYp.js → model-catalog-BIB3bwBr.js} +4 -4
- package/dist/{model-picker-Bsyh5aNH.js → model-picker-BT5a_jUa.js} +3 -3
- package/dist/{model-picker-C1U-Jt0h.js → model-picker-BTOrJOu8.js} +3 -3
- package/dist/{model-selection-BBrZnKDw.js → model-selection-CSRFODzV.js} +21 -5
- package/dist/{model-selection-DBPwoBvb.js → model-selection-d3VVSx3Z.js} +21 -5
- package/dist/{models-CHlxEnA_.js → models-DeOa-Kw8.js} +14 -14
- package/dist/{models-cli-c3oNnRvc.js → models-cli-DmhxB26a.js} +39 -39
- package/dist/{models-cli-Chid5EBl.js → models-cli-Dti8CQ4l.js} +40 -40
- package/dist/{models-config-vcoi9QfD.js → models-config-BInyA1DL.js} +2 -2
- package/dist/{models-config-CjPV5JrE.js → models-config-BazBts_w.js} +2 -2
- package/dist/{node-cli-B9nJomOA.js → node-cli-BlscM5bI.js} +10 -10
- package/dist/{node-cli-DHVafAR8.js → node-cli-UQcJGA67.js} +10 -10
- package/dist/{nodes-cli-fvPbfbB4.js → nodes-cli-DqUBHLTT.js} +4 -4
- package/dist/{nodes-cli-CyVFmnaa.js → nodes-cli-Gymjb8nA.js} +4 -4
- package/dist/{onboard-CmGJK6jd.js → onboard-CeBeu3P1.js} +10 -10
- package/dist/{onboard-CoTgF9BA.js → onboard-DtVK6rjL.js} +10 -10
- package/dist/{onboard-channels-CFOV5ON5.js → onboard-channels-DaVmoOm_.js} +2 -2
- package/dist/{onboard-channels-5fkOyA_w.js → onboard-channels-W-oni7gS.js} +2 -2
- package/dist/{onboard-custom-CpKrCcyH.js → onboard-custom-BMylBbkO.js} +3 -3
- package/dist/{onboard-custom-DsPk-82B.js → onboard-custom-CZq7KuFG.js} +3 -3
- package/dist/{onboard-helpers-DIAvDwi8.js → onboard-helpers-9zN6ySeE.js} +2 -2
- package/dist/{onboard-helpers-C9emwuya.js → onboard-helpers-BPRytVKl.js} +2 -2
- package/dist/{onboard-remote-CJrAdmgq.js → onboard-remote-BXcnQk2C.js} +1 -1
- package/dist/{onboard-remote-DQu1ERap.js → onboard-remote-illc7Y2c.js} +1 -1
- package/dist/{onboard-skills-BC-T_r3T.js → onboard-skills-DzeH_8Ej.js} +2 -2
- package/dist/{onboard-skills-CtX6zH5x.js → onboard-skills-M_yUCwrM.js} +2 -2
- package/dist/{onboarding-Bzlyx4mj.js → onboarding-Cg9XTkBd.js} +11 -11
- package/dist/{onboarding-DFPgaJi4.js → onboarding-D8eDFwa2.js} +11 -11
- package/dist/{onboarding.finalize-DUgg4Kjt.js → onboarding.finalize-7WP463T8.js} +39 -39
- package/dist/{onboarding.finalize-Cc0y0cyU.js → onboarding.finalize-B1bb1wRw.js} +41 -41
- package/dist/{onboarding.gateway-config-GDMTEWcW.js → onboarding.gateway-config-CqbSOQXD.js} +5 -5
- package/dist/{onboarding.gateway-config-Cr1fFG05.js → onboarding.gateway-config-CxpI0qqU.js} +5 -5
- package/dist/{openai-model-default-l66tU27B.js → openai-model-default-DMZoKZ_-.js} +2 -2
- package/dist/{openai-model-default-BMY_YH9P.js → openai-model-default-lZlv0GsH.js} +2 -2
- package/dist/{outbound-DYyGKxSZ.js → outbound-1VspdkI5.js} +1 -1
- package/dist/{outbound-DXyOHKUR.js → outbound-BpdIzQuJ.js} +1 -1
- package/dist/{outbound-btxNyARe.js → outbound-DzVcjpPJ.js} +1 -1
- package/dist/{outbound-Qgo51Q1x.js → outbound-fyE60RfL.js} +1 -1
- package/dist/{pairing-cli-DC6MUFHZ.js → pairing-cli-Bd0PbASt.js} +4 -4
- package/dist/{pairing-cli-m3BrxJoY.js → pairing-cli-ZtAxWUcP.js} +4 -4
- package/dist/{pairing-labels-Ca15tgVV.js → pairing-labels-1pvats1t.js} +1 -1
- package/dist/{pairing-labels-D_XOc2nT.js → pairing-labels-BzrUs0Sz.js} +1 -1
- package/dist/{pairing-store-DdUVpKvp.js → pairing-store-BkBQpfrJ.js} +1 -1
- package/dist/{pairing-store-cjckhuQX.js → pairing-store-aDUZrmTs.js} +1 -1
- package/dist/{pi-auth-json-BqB9Z6Gg.js → pi-auth-json-B4WrT0Ru.js} +1 -1
- package/dist/{pi-auth-json-Ba2dEWAH.js → pi-auth-json-BNdShOEp.js} +2 -2
- package/dist/{pi-auth-json-BJB80_DY.js → pi-auth-json-BY543Me0.js} +1 -1
- package/dist/{pi-auth-json-etIDtHw9.js → pi-auth-json-DzLmsrh2.js} +1 -1
- package/dist/{pi-embedded-CEqwVgn6.js → pi-embedded-Dt55w8cV.js} +136 -54
- package/dist/{pi-embedded-Div9d5hA.js → pi-embedded-MQyUl4Vd.js} +132 -50
- package/dist/{pi-embedded-helpers-BflbNBBD.js → pi-embedded-helpers-BBkiCuKb.js} +1 -1
- package/dist/{pi-embedded-helpers-CAtkZb8c.js → pi-embedded-helpers-ByVF8Lq1.js} +6 -6
- package/dist/{pi-embedded-helpers-XJw27Ryb.js → pi-embedded-helpers-CMMNFzOl.js} +1 -1
- package/dist/{pi-embedded-helpers-z1mQ9EX3.js → pi-embedded-helpers-yCss7Bdi.js} +6 -6
- package/dist/{pi-tools.policy-P1akpJL8.js → pi-tools.policy-Df7vqwql.js} +2 -2
- package/dist/{pi-tools.policy-BJ7mumw5.js → pi-tools.policy-pnSSbfN7.js} +2 -2
- package/dist/{plugin-auto-enable-CdctkFTt.js → plugin-auto-enable-7e3Sk8je.js} +1 -1
- package/dist/{plugin-auto-enable-B-WfJQ_3.js → plugin-auto-enable-D0PiamQY.js} +1 -1
- package/dist/{plugin-registry-COIq8-Os.js → plugin-registry-CzCch-YI.js} +2 -2
- package/dist/{plugin-registry-BtvCdUXo.js → plugin-registry-qkOLPlY-.js} +2 -2
- package/dist/plugin-sdk/agents/failover-error.d.ts +1 -0
- package/dist/plugin-sdk/agents/ollama-stream.d.ts +1 -1
- package/dist/plugin-sdk/agents/pi-embedded-runner/run/params.d.ts +2 -0
- package/dist/plugin-sdk/agents/symipulse-timeout.d.ts +13 -0
- package/dist/plugin-sdk/{api-key-rotation-DNKq8sDG.js → api-key-rotation-2bCcXL6t.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BLIDrYdM.js → audio-preflight-l78E5Rb2.js} +7 -7
- package/dist/plugin-sdk/{channel-web-Mw_6jv4Q.js → channel-web-C9N79DF5.js} +7 -7
- package/dist/plugin-sdk/{chrome-DZFDAzW-.js → chrome-kcjStvJ_.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-un-LmdXo.js → commands-registry-DrBC1eVl.js} +1 -1
- package/dist/plugin-sdk/config/types.agent-defaults.d.ts +4 -0
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +2 -0
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +2 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +2 -0
- package/dist/plugin-sdk/{config-E1hS2lFY.js → config-BvR2BWLO.js} +4 -2
- package/dist/plugin-sdk/{deliver-DedoujTw.js → deliver-BGIOQ5Gg.js} +2 -2
- package/dist/plugin-sdk/{image-BTkmcfWM.js → image-DKyNtsLH.js} +3 -3
- package/dist/plugin-sdk/index.js +22 -22
- package/dist/plugin-sdk/{login-DsV1n99g.js → login-Do4CzQ80.js} +2 -2
- package/dist/plugin-sdk/{login-qr-BXuSdbtI.js → login-qr-7psuYtQU.js} +3 -3
- package/dist/plugin-sdk/{manager-BItSTruD.js → manager-ss11kI5-.js} +2 -2
- package/dist/plugin-sdk/{model-selection-aEd_4vFO.js → model-selection-BcrYHPfL.js} +21 -5
- package/dist/plugin-sdk/{outbound-2GErJr9p.js → outbound-BzBPDX20.js} +1 -1
- package/dist/plugin-sdk/{pi-auth-json-FyiScmI7.js → pi-auth-json-B0EP59Cx.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-ClMAnIcK.js → pi-embedded-helpers-Dd5EG8iK.js} +6 -6
- package/dist/plugin-sdk/{pw-ai-DgQXeoga.js → pw-ai-CUDy4Wnj.js} +3 -3
- package/dist/plugin-sdk/{replies-DgHmcQJm.js → replies-D8mtzEXN.js} +1 -1
- package/dist/plugin-sdk/{reply-YI3dgTPs.js → reply-DHEk1mbh.js} +132 -50
- package/dist/plugin-sdk/{runner-BZyapZ82.js → runner-DYM4KHsz.js} +5 -5
- package/dist/plugin-sdk/{send-BeLrD_W8.js → send-BUyY_agb.js} +1 -1
- package/dist/plugin-sdk/{send-pZOlfgD0.js → send-C0itht0P.js} +1 -1
- package/dist/plugin-sdk/{send-BnQuSlC7.js → send-DAQGJslJ.js} +1 -1
- package/dist/plugin-sdk/{send-BmtFyMcr.js → send-DEBJVTJY.js} +1 -1
- package/dist/plugin-sdk/{send-BRY1rgHy.js → send-DgwEMzAh.js} +2 -2
- package/dist/plugin-sdk/{session-Bjd4Dl7q.js → session-0e-LucZC.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-Cwps3qpb.js → skill-commands-DABkEKjp.js} +1 -1
- package/dist/plugin-sdk/{web-Cfkw6REa.js → web-i-1y7OqN.js} +22 -22
- package/dist/plugin-sdk/{whatsapp-actions-ydkRfuPg.js → whatsapp-actions-Btj704qL.js} +3 -3
- package/dist/{plugins-cli-DVp3M6OP.js → plugins-cli-CuWdlZUL.js} +34 -34
- package/dist/{plugins-cli-B8UY2WDb.js → plugins-cli-gfyaL-JG.js} +35 -35
- package/dist/{program-Dp8zbXEu.js → program-BjfVIsbe.js} +41 -41
- package/dist/{program-context-BCbYtijc.js → program-context-BzaWpuOp.js} +38 -38
- package/dist/{prompt-select-styled-DITmevDg.js → prompt-select-styled-DX2M5ooT.js} +17 -17
- package/dist/{prompt-select-styled-CtGFyVQu.js → prompt-select-styled-DpDi0x9k.js} +17 -17
- package/dist/{provider-auth-helpers-CGsuHvvp.js → provider-auth-helpers-Bs6lQx_x.js} +4 -4
- package/dist/{provider-auth-helpers-BSGG0DG6.js → provider-auth-helpers-DdsVPRuX.js} +4 -4
- package/dist/{push-apns-DMADb1fM.js → push-apns-BhIc_b87.js} +1 -1
- package/dist/{push-apns-BswbDX0O.js → push-apns-ZauuwP2K.js} +1 -1
- package/dist/{pw-ai-D-O0LOKC.js → pw-ai-CIlFJoZJ.js} +3 -3
- package/dist/{pw-ai-qEd4Ii3S.js → pw-ai-CzGGXy9V.js} +3 -3
- package/dist/{pw-ai-5o71PJ5h.js → pw-ai-D3JHljxG.js} +3 -3
- package/dist/{pw-ai-C3t2kdhc.js → pw-ai-DCqUxhNF.js} +3 -3
- package/dist/{qr-cli-iTQlujHe.js → qr-cli-CAUfPqEg.js} +2 -2
- package/dist/{qr-cli-DC0qgjHf.js → qr-cli-Dq7eF1ux.js} +2 -2
- package/dist/{register.agent-CxGdVu0c.js → register.agent-B1sFFJFg.js} +43 -43
- package/dist/{register.agent-BsJfSKec.js → register.agent-CTrXGVfd.js} +45 -45
- package/dist/{register.configure-CS_Iyak-.js → register.configure-CcyX3Lc8.js} +48 -48
- package/dist/{register.configure-CY4Aj48-.js → register.configure-DDVmT6NY.js} +47 -47
- package/dist/{register.maintenance-vtbjaHAu.js → register.maintenance-CdoXyGzf.js} +44 -44
- package/dist/{register.maintenance-Buu-kJaZ.js → register.maintenance-LsWciVuT.js} +46 -46
- package/dist/{register.message-B4k856qi.js → register.message-CEhrWjQV.js} +35 -35
- package/dist/{register.message-DY4vxgF2.js → register.message-iAimOwns.js} +34 -34
- package/dist/{register.onboard-DUQf27DZ.js → register.onboard-B905_rz1.js} +43 -43
- package/dist/{register.onboard--fOBp5O7.js → register.onboard-BdspAIMb.js} +42 -42
- package/dist/{register.setup-7_oYVnsV.js → register.setup-3aRCKJ36.js} +43 -43
- package/dist/{register.setup-C1n4Lbkz.js → register.setup-DtBE_3fr.js} +42 -42
- package/dist/{register.status-health-sessions-Bg4ToSxp.js → register.status-health-sessions-BWr1hDot.js} +38 -38
- package/dist/{register.status-health-sessions-15XGlpir.js → register.status-health-sessions-DVGmTBQO.js} +40 -40
- package/dist/{register.subclis-228XfrkD.js → register.subclis-BZ3i4kMS.js} +28 -28
- package/dist/{replies-CHirod5x.js → replies-C0945t1U.js} +1 -1
- package/dist/{replies-B5Jh0OCP.js → replies-CVenpK6u.js} +1 -1
- package/dist/{replies-BVXZDrhw.js → replies-CeKPHa39.js} +1 -1
- package/dist/{replies-Cyt5jQaT.js → replies-ookj1cB4.js} +1 -1
- package/dist/{reply-Y4VH0suk.js → reply-DBq43zxh.js} +144 -62
- package/dist/{routes-D5iYXgsO.js → routes-BeqLs7B4.js} +3 -3
- package/dist/{routes-BtsprtPx.js → routes-D8eYH81h.js} +3 -3
- package/dist/{rpc-CjvivzOg.js → rpc-DM-s6c5g.js} +1 -1
- package/dist/{rpc-lMWCuyRt.js → rpc-_IQ1oqxy.js} +1 -1
- package/dist/{run-main-DJAM16EI.js → run-main-DHhJ9JFs.js} +53 -53
- package/dist/{runner-3kD2Hk1w.js → runner-Bdpb31wu.js} +5 -5
- package/dist/{runner-C6VtiNZz.js → runner-C-hs6BOd.js} +5 -5
- package/dist/{runner-b_ibT3sW.js → runner-CYBZ6_HI.js} +5 -5
- package/dist/{runner-_npJ-cn9.js → runner-_tldjZOG.js} +5 -5
- package/dist/{sandbox-CPR0wRyk.js → sandbox-B9cX1Qsg.js} +5 -5
- package/dist/{sandbox-BBGJMpXR.js → sandbox-BgudXNdX.js} +5 -5
- package/dist/{sandbox-cli-CHOc4ElC.js → sandbox-cli-Db06l-QO.js} +7 -7
- package/dist/{sandbox-cli-BgCrevMy.js → sandbox-cli-ITWFmBOM.js} +7 -7
- package/dist/{security-cli-iW-aIZ15.js → security-cli-CAMn5ETM.js} +12 -12
- package/dist/{security-cli-B7YKQ6Nh.js → security-cli-DFQoX6jC.js} +12 -12
- package/dist/{send--qdaLm4C.js → send-0GU9exFu.js} +1 -1
- package/dist/{send-BVKK9mIc.js → send-B-uN5xRM.js} +1 -1
- package/dist/{send-ytd5gZYc.js → send-B3ysC28K.js} +1 -1
- package/dist/{send-sS-DxRJV.js → send-B5EhOVKu.js} +1 -1
- package/dist/{send-Dfum4W06.js → send-B5uxhc4T.js} +1 -1
- package/dist/{send-C1fiVl-C.js → send-BDxgN_bQ.js} +1 -1
- package/dist/{send-Dfohx1Dj.js → send-Bo5CnXFq.js} +1 -1
- package/dist/{send-TtpoiB7G.js → send-C0MwqoIT.js} +1 -1
- package/dist/{send-QGcGaA1o.js → send-CAb_J0aw.js} +2 -2
- package/dist/{send-C7DzVT6I.js → send-CE4zNqBi.js} +1 -1
- package/dist/{send-B26isft5.js → send-CFLb_W1q.js} +1 -1
- package/dist/{send-BAM-zeo8.js → send-CLeHyMKL.js} +2 -2
- package/dist/{send-BxkOVx17.js → send-CTxPJl1v.js} +2 -2
- package/dist/{send-CboqahSN.js → send-CZNQ18eT.js} +2 -2
- package/dist/{send-CNZ2iT1h.js → send-DeWhmyHe.js} +1 -1
- package/dist/{send-DffO5_WA.js → send-Dq3yh0n_.js} +1 -1
- package/dist/{send-BfoI2xoz.js → send-Dub0pvGr.js} +1 -1
- package/dist/{send-Btgfdf6H.js → send-_8ePDRRf.js} +1 -1
- package/dist/{send-DVNiZsde.js → send-lPu6acJr.js} +1 -1
- package/dist/{send-DXw0_dn5.js → send-plufzQIM.js} +1 -1
- package/dist/{server-context-CZZZ5S6q.js → server-context-Bm5WfPwZ.js} +5 -5
- package/dist/{server-context-DiCxB7wV.js → server-context-C55J-UHj.js} +5 -5
- package/dist/{server-methods-Dry5eOvA.js → server-methods-BfVpF3_j.js} +18 -18
- package/dist/{server-methods-BuHg7me_.js → server-methods-CBz9kx2s.js} +17 -17
- package/dist/{server-node-events-BeTHU-es.js → server-node-events-BBMB3HWj.js} +35 -35
- package/dist/{server-node-events-D6jQar7n.js → server-node-events-DHlmMG_C.js} +34 -34
- package/dist/{session-BFbJf357.js → session-BCkXoaDO.js} +1 -1
- package/dist/{session-CiCHQ3Ah.js → session-BP0Gv1gb.js} +1 -1
- package/dist/{session-BdWP3apT.js → session-BTqGTD9l.js} +1 -1
- package/dist/{session-Dg44BpS1.js → session-CJI6lJIm.js} +1 -1
- package/dist/{session-utils-Cs-nCi4-.js → session-utils-v_SakJTj.js} +4 -4
- package/dist/{sessions-C_c07viS.js → sessions-C6D9nTJ2.js} +2 -2
- package/dist/{sessions-BF3cJslT.js → sessions-D_sYAXox.js} +2 -2
- package/dist/{sessions-RYattOnc.js → sessions-ZEWPPs4y.js} +4 -4
- package/dist/{shared-Dg2JustZ.js → shared-DayV2Be4.js} +2 -2
- package/dist/{shared-BmGIQ5oj.js → shared-uLuYqcbb.js} +2 -2
- package/dist/{skill-commands-BlfEmZ8t.js → skill-commands-DJHFzerm.js} +1 -1
- package/dist/{skill-commands-C2kxEz5h.js → skill-commands-Depo8UbH.js} +1 -1
- package/dist/{skill-commands-C_ZNSYNS.js → skill-commands-MyjdLY-a.js} +1 -1
- package/dist/{skill-commands-CSBmZ_di.js → skill-commands-XIkT9idK.js} +1 -1
- package/dist/{skills-cli-G_0fvsIb.js → skills-cli-2II5dTfj.js} +2 -2
- package/dist/{skills-cli-D9N3SSqr.js → skills-cli-BJ07WkIu.js} +2 -2
- package/dist/{status-BhHEy-GB.js → status--f4zX1DS.js} +12 -12
- package/dist/{status-B4XvnyFd.js → status-BcNi9OjQ.js} +11 -11
- package/dist/{status-D1XT9GsI.js → status-C-GM0R2c.js} +2 -2
- package/dist/{status-D1W5_38a.js → status-CCTReric.js} +2 -2
- package/dist/{status.update-9QVNoqzS.js → status.update-DhhtmPIK.js} +1 -1
- package/dist/{status.update-DAK4tN-2.js → status.update-MEvvwSyA.js} +1 -1
- package/dist/{subagent-registry-BE6XzWR3.js → subagent-registry-CiBbcgit.js} +145 -63
- package/dist/{system-cli-B0oAtepa.js → system-cli-DaHzRRZO.js} +4 -4
- package/dist/{system-cli-kixN2BmA.js → system-cli-NuL5CoT5.js} +4 -4
- package/dist/{systemd-hints-BPRCUlOg.js → systemd-hints-BwLHbZwk.js} +1 -1
- package/dist/{systemd-hints-CRzDDf1-.js → systemd-hints-C_Wzs8Ts.js} +1 -1
- package/dist/{tui-CwMmsLXs.js → tui-KWXGdBc4.js} +5 -5
- package/dist/{tui-PZpjjXWo.js → tui-L301QdxU.js} +5 -5
- package/dist/{tui-cli-CU2JJJI9.js → tui-cli-B0160VqT.js} +11 -11
- package/dist/{tui-cli-PTM4Eps5.js → tui-cli-CPydLAAS.js} +11 -11
- package/dist/{update-cli-W4gB5wor.js → update-cli-Cj1AmFgn.js} +47 -47
- package/dist/{update-cli-BY16EOnN.js → update-cli-DAzmC_i2.js} +49 -49
- package/dist/{update-runner-cgnDIePC.js → update-runner-CQCzp1FG.js} +1 -1
- package/dist/{update-runner-BIhfRHle.js → update-runner-CVh1ixYm.js} +1 -1
- package/dist/{web-Cyg-Awr5.js → web-BxUguUwU.js} +21 -21
- package/dist/{web-CBgI2sQ6.js → web-Dan0YPuK.js} +21 -21
- package/dist/{web-DKLD4TVE.js → web-svB71EDx.js} +37 -37
- package/dist/{web-Cbp0Q5xk.js → web-u_T-25Fh.js} +37 -37
- package/dist/{webhooks-cli-CAHebfVz.js → webhooks-cli-B8FUejkI.js} +2 -2
- package/dist/{webhooks-cli-B97uWTaD.js → webhooks-cli-D9CHLI9R.js} +2 -2
- package/dist/{whatsapp-actions-BgiS8DUJ.js → whatsapp-actions-8q4rBb8o.js} +3 -3
- package/dist/{whatsapp-actions-xhdGIJBd.js → whatsapp-actions-BKYl-9a-.js} +3 -3
- package/dist/{whatsapp-actions-BsVCZeLO.js → whatsapp-actions-BdSpem9R.js} +3 -3
- package/dist/{whatsapp-actions-DfJHCjBV.js → whatsapp-actions-b0l0LfoG.js} +3 -3
- package/dist/{with-timeout-CiGZZ4b2.js → with-timeout-D8WaDWjT.js} +1 -1
- package/dist/{with-timeout-C0euAxXp.js → with-timeout-J-NgpKB8.js} +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { _ as isCronSessionKey, b as resolveThreadParentSessionKey, c as normali
|
|
|
4
4
|
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, lt as resolvePreferredSymiTmpDir, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, st as normalizeLogLevel, tt as getChildLogger, u as setActivePluginRegistry, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-BhoUuugi.js";
|
|
5
5
|
import { A as logInfo, C as resolveSymiPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, h as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-Cbl5pNe1.js";
|
|
6
6
|
import { a as registerActiveProgressLine, i as clearActiveProgressLine, n as createNonExitingRuntime, o as unregisterActiveProgressLine, r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-CZixfwU8.js";
|
|
7
|
-
import { $ as DEFAULT_PROVIDER, A as resolveShellEnvFallbackTimeoutMs, B as dedupeProfileIds, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as getSoonestCooldownExpiry, G as resolveSymiAgentDir, H as markAuthProfileGood, I as isProfileInCooldown, K as withFileLock, L as markAuthProfileFailure, O as getShellPathFromLoginShell, P as resolveAuthProfileOrder, Q as DEFAULT_MODEL, R as markAuthProfileUsed, S as getApiKeyForModel, T as resolveApiKeyForProvider, U as ensureAuthProfileStore, V as listProfilesForProvider, W as resolveAuthStorePathForDisplay, X as resolveAuthProfileDisplayLabel, Y as normalizeSecretInput, Z as DEFAULT_CONTEXT_TOKENS, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveApiKeyForProfile } from "./model-selection-
|
|
7
|
+
import { $ as DEFAULT_PROVIDER, A as resolveShellEnvFallbackTimeoutMs, B as dedupeProfileIds, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as getSoonestCooldownExpiry, G as resolveSymiAgentDir, H as markAuthProfileGood, I as isProfileInCooldown, K as withFileLock, L as markAuthProfileFailure, O as getShellPathFromLoginShell, P as resolveAuthProfileOrder, Q as DEFAULT_MODEL, R as markAuthProfileUsed, S as getApiKeyForModel, T as resolveApiKeyForProvider, U as ensureAuthProfileStore, V as listProfilesForProvider, W as resolveAuthStorePathForDisplay, X as resolveAuthProfileDisplayLabel, Y as normalizeSecretInput, Z as DEFAULT_CONTEXT_TOKENS, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveApiKeyForProfile } from "./model-selection-d3VVSx3Z.js";
|
|
8
8
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-K_J_nfgx.js";
|
|
9
9
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BbsJ0Qbo.js";
|
|
10
10
|
import { i as resolveCliName, n as parseBooleanValue$1, r as formatCliCommand, t as isTruthyEnvValue } from "./env-CQ_DQOwT.js";
|
|
@@ -12,20 +12,20 @@ import { a as isSilentReplyText, i as isSilentReplyPrefixText, n as SILENT_REPLY
|
|
|
12
12
|
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, c as listTelegramAccountIds, d as resolveSlackAccount, g as listEnabledDiscordAccounts, h as createDiscordActionGate, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackBotToken, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAppToken, r as normalizeChannelId$1, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as normalizeDiscordToken } from "./plugins-71oIavrF.js";
|
|
13
13
|
import { a as logoutWeb, i as logWebSelfId, l as readWebSelfId, p as webAuthExists, r as getWebAuthAgeMs, t as resolveWhatsAppAccount } from "./accounts-DDEyGwby.js";
|
|
14
14
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
15
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
16
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
17
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
15
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-plufzQIM.js";
|
|
16
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-DeWhmyHe.js";
|
|
17
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-UASIwAO4.js";
|
|
18
18
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-D0xmLpej.js";
|
|
19
19
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-C1vRJs5w.js";
|
|
20
20
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-8zZqL37v.js";
|
|
21
|
-
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-
|
|
21
|
+
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-CAb_J0aw.js";
|
|
22
22
|
import { d as detectMime, f as extensionForMime, g as isGifMedia, h as isAudioFileName, i as getImageMetadata, m as imageMimeFromFormat, s as resizeToJpeg, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./image-ops-ByaQt43P.js";
|
|
23
23
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-j5tVLINv.js";
|
|
24
24
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-BQINJQIT.js";
|
|
25
|
-
import { $ as mergeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as updateSessionStoreEntry, Jt as ensureSessionHeader, K as updateLastRoute, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as deliveryContextKey, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as resolveCacheTtlMs$1, Xt as resolveBootstrapTotalMaxChars, Y as isCacheEnabled, Yt as resolveBootstrapMaxChars, Z as deliveryContextFromSession, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as DEFAULT_RESET_TRIGGERS, a as isMessagingToolDuplicateNormalized, at as countToolResults, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as applyInputProvenanceToUserMessage, d as isAntigravityClaude, dt as resolveSessionKey, et as normalizeDeliveryContext, f as isGoogleModelApi, ft as evaluateSessionFreshness, g as formatBillingErrorMessage, gt as resolveThreadFlag, h as formatAssistantErrorText, ht as resolveSessionResetType, it as capArrayByJsonBytes, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as hasInterSessionUserProvenance, m as classifyFailoverReason, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nt as normalizeAccountId$3, o as normalizeTextForComparison, ot as extractToolCallNames, p as BILLING_ERROR_USER_MESSAGE, pt as resolveChannelResetConfig, q as updateSessionStore, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as archiveSessionTranscripts, s as sanitizeSessionMessagesImages, st as INPUT_PROVENANCE_KIND_VALUES, t as validateAnthropicTurns, tt as normalizeSessionDeliveryFields, u as downgradeOpenAIReasoningBlocks, ut as normalizeInputProvenance, v as getApiErrorPayloadFingerprint, vt as resolveFreshSessionTotalTokens, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, yt as canonicalizeMainSessionAlias, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-
|
|
26
|
-
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-
|
|
25
|
+
import { $ as mergeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as updateSessionStoreEntry, Jt as ensureSessionHeader, K as updateLastRoute, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as deliveryContextKey, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as resolveCacheTtlMs$1, Xt as resolveBootstrapTotalMaxChars, Y as isCacheEnabled, Yt as resolveBootstrapMaxChars, Z as deliveryContextFromSession, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as DEFAULT_RESET_TRIGGERS, a as isMessagingToolDuplicateNormalized, at as countToolResults, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as applyInputProvenanceToUserMessage, d as isAntigravityClaude, dt as resolveSessionKey, et as normalizeDeliveryContext, f as isGoogleModelApi, ft as evaluateSessionFreshness, g as formatBillingErrorMessage, gt as resolveThreadFlag, h as formatAssistantErrorText, ht as resolveSessionResetType, it as capArrayByJsonBytes, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as hasInterSessionUserProvenance, m as classifyFailoverReason, mt as resolveSessionResetPolicy, n as validateGeminiTurns, nt as normalizeAccountId$3, o as normalizeTextForComparison, ot as extractToolCallNames, p as BILLING_ERROR_USER_MESSAGE, pt as resolveChannelResetConfig, q as updateSessionStore, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as archiveSessionTranscripts, s as sanitizeSessionMessagesImages, st as INPUT_PROVENANCE_KIND_VALUES, t as validateAnthropicTurns, tt as normalizeSessionDeliveryFields, u as downgradeOpenAIReasoningBlocks, ut as normalizeInputProvenance, v as getApiErrorPayloadFingerprint, vt as resolveFreshSessionTotalTokens, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, yt as canonicalizeMainSessionAlias, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-ByVF8Lq1.js";
|
|
26
|
+
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-6k8f4O94.js";
|
|
27
27
|
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-D-mTF1cj.js";
|
|
28
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
28
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-Bb5ivmrz.js";
|
|
29
29
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-BNpGMnp-.js";
|
|
30
30
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-CPfngF0S.js";
|
|
31
31
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-CxfFyMRZ.js";
|
|
@@ -36,8 +36,8 @@ import { t as resolveIMessageAccount } from "./accounts-DImOt9jX.js";
|
|
|
36
36
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DkMamAQ-.js";
|
|
37
37
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C8Tqw4td.js";
|
|
38
38
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-ChC2CXaN.js";
|
|
39
|
-
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
40
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
39
|
+
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-DViVUwBd.js";
|
|
40
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-BB42BLb9.js";
|
|
41
41
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as runTasksWithConcurrency } from "./sqlite-BNh23mUR.js";
|
|
42
42
|
import { n as retryAsync } from "./retry-QGp0jvVi.js";
|
|
43
43
|
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-BbOqxMY0.js";
|
|
@@ -46,20 +46,20 @@ import { n as resolveMarkdownTableMode } from "./markdown-tables-DawaaZEe.js";
|
|
|
46
46
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BheTNyes.js";
|
|
47
47
|
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-CC8jiKDk.js";
|
|
48
48
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-F0moAwIl.js";
|
|
49
|
-
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
50
|
-
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-
|
|
49
|
+
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-DCUIFMIL.js";
|
|
50
|
+
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-MyjdLY-a.js";
|
|
51
51
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-QOi5vzUt.js";
|
|
52
|
-
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-
|
|
52
|
+
import { _ as resolveMediaUnderstandingScope, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$1, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveConcurrency, n as createMediaAttachmentCache, o as runCapability, p as registerUnhandledRejectionHandler, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./runner-_tldjZOG.js";
|
|
53
53
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DtLn7YU3.js";
|
|
54
54
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-DtXYsHEc.js";
|
|
55
55
|
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-D9q-fIPB.js";
|
|
56
56
|
import { n as normalizePollInput } from "./polls-DQcEziPg.js";
|
|
57
57
|
import { t as convertMarkdownTables } from "./tables-COnZ169v.js";
|
|
58
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send
|
|
59
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
58
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-0GU9exFu.js";
|
|
59
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-B5EhOVKu.js";
|
|
60
60
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-We7ViAbg.js";
|
|
61
61
|
import { t as makeProxyFetch } from "./proxy-BaSHbVlA.js";
|
|
62
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
62
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ookj1cB4.js";
|
|
63
63
|
import { t as getActiveWebListener } from "./active-listener-1krIj9TM.js";
|
|
64
64
|
import { createRequire } from "node:module";
|
|
65
65
|
import * as path$1 from "node:path";
|
|
@@ -79,7 +79,7 @@ import { EdgeTTS } from "node-edge-tts";
|
|
|
79
79
|
import AjvPkg from "ajv";
|
|
80
80
|
import { createServer } from "node:http";
|
|
81
81
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
82
|
-
import WebSocket, { WebSocket
|
|
82
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
83
83
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
84
84
|
import { createJiti } from "jiti";
|
|
85
85
|
import { Type } from "@sinclair/typebox";
|
|
@@ -3472,7 +3472,7 @@ async function getMemorySearchManager(params) {
|
|
|
3472
3472
|
const wrapper = new FallbackMemoryManager({
|
|
3473
3473
|
primary,
|
|
3474
3474
|
fallbackFactory: async () => {
|
|
3475
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3475
|
+
const { MemoryIndexManager } = await import("./manager-BB42BLb9.js").then((n) => n.t);
|
|
3476
3476
|
return await MemoryIndexManager.get(params);
|
|
3477
3477
|
}
|
|
3478
3478
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3485,7 +3485,7 @@ async function getMemorySearchManager(params) {
|
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
3487
3487
|
try {
|
|
3488
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3488
|
+
const { MemoryIndexManager } = await import("./manager-BB42BLb9.js").then((n) => n.t);
|
|
3489
3489
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3490
3490
|
} catch (err) {
|
|
3491
3491
|
return {
|
|
@@ -5714,7 +5714,7 @@ var GatewayClient = class {
|
|
|
5714
5714
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5715
5715
|
});
|
|
5716
5716
|
}
|
|
5717
|
-
this.ws = new WebSocket
|
|
5717
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
5718
5718
|
this.ws.on("open", () => {
|
|
5719
5719
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5720
5720
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -5933,7 +5933,7 @@ var GatewayClient = class {
|
|
|
5933
5933
|
return null;
|
|
5934
5934
|
}
|
|
5935
5935
|
async request(method, params, opts) {
|
|
5936
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
5936
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
5937
5937
|
const id = randomUUID();
|
|
5938
5938
|
const frame = {
|
|
5939
5939
|
type: "req",
|
|
@@ -7199,7 +7199,7 @@ async function routeReply(params) {
|
|
|
7199
7199
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7200
7200
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7201
7201
|
try {
|
|
7202
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7202
|
+
const { deliverOutboundPayloads } = await import("./deliver-UASIwAO4.js").then((n) => n.n);
|
|
7203
7203
|
return {
|
|
7204
7204
|
ok: true,
|
|
7205
7205
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -8975,29 +8975,29 @@ function getSubagentRunsSnapshotForRead(inMemoryRuns) {
|
|
|
8975
8975
|
//#region src/agents/timeout.ts
|
|
8976
8976
|
const DEFAULT_AGENT_TIMEOUT_SECONDS = 1800;
|
|
8977
8977
|
const MAX_SAFE_TIMEOUT_MS = 2147e6;
|
|
8978
|
-
const normalizeNumber = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
8978
|
+
const normalizeNumber$1 = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
8979
8979
|
function resolveAgentTimeoutSeconds(cfg) {
|
|
8980
|
-
const seconds = normalizeNumber(cfg?.agents?.defaults?.timeoutSeconds) ?? DEFAULT_AGENT_TIMEOUT_SECONDS;
|
|
8980
|
+
const seconds = normalizeNumber$1(cfg?.agents?.defaults?.timeoutSeconds) ?? DEFAULT_AGENT_TIMEOUT_SECONDS;
|
|
8981
8981
|
return Math.max(seconds, 1);
|
|
8982
8982
|
}
|
|
8983
8983
|
function resolveAgentTimeoutMs(opts) {
|
|
8984
|
-
const minMs = Math.max(normalizeNumber(opts.minMs) ?? 1, 1);
|
|
8984
|
+
const minMs = Math.max(normalizeNumber$1(opts.minMs) ?? 1, 1);
|
|
8985
8985
|
const clampTimeoutMs = (valueMs) => Math.min(Math.max(valueMs, minMs), MAX_SAFE_TIMEOUT_MS);
|
|
8986
8986
|
const defaultMs = clampTimeoutMs(resolveAgentTimeoutSeconds(opts.cfg) * 1e3);
|
|
8987
8987
|
const NO_TIMEOUT_MS = MAX_SAFE_TIMEOUT_MS;
|
|
8988
|
-
const overrideMs = normalizeNumber(opts.overrideMs);
|
|
8988
|
+
const overrideMs = normalizeNumber$1(opts.overrideMs);
|
|
8989
8989
|
if (overrideMs !== void 0) {
|
|
8990
8990
|
if (overrideMs === 0) return NO_TIMEOUT_MS;
|
|
8991
8991
|
if (overrideMs < 0) return defaultMs;
|
|
8992
8992
|
return clampTimeoutMs(overrideMs);
|
|
8993
8993
|
}
|
|
8994
|
-
const overrideSeconds = normalizeNumber(opts.overrideSeconds);
|
|
8994
|
+
const overrideSeconds = normalizeNumber$1(opts.overrideSeconds);
|
|
8995
8995
|
if (overrideSeconds !== void 0) {
|
|
8996
8996
|
if (overrideSeconds === 0) return NO_TIMEOUT_MS;
|
|
8997
8997
|
if (overrideSeconds < 0) return defaultMs;
|
|
8998
8998
|
return clampTimeoutMs(overrideSeconds * 1e3);
|
|
8999
8999
|
}
|
|
9000
|
-
const modelSeconds = normalizeNumber(opts.modelTimeoutSeconds);
|
|
9000
|
+
const modelSeconds = normalizeNumber$1(opts.modelTimeoutSeconds);
|
|
9001
9001
|
if (modelSeconds !== void 0 && modelSeconds > 0) return clampTimeoutMs(modelSeconds * 1e3);
|
|
9002
9002
|
return defaultMs;
|
|
9003
9003
|
}
|
|
@@ -12654,7 +12654,7 @@ async function createModelSelectionState(params) {
|
|
|
12654
12654
|
}
|
|
12655
12655
|
}
|
|
12656
12656
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
12657
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
12657
|
+
const { ensureAuthProfileStore } = await import("./model-selection-d3VVSx3Z.js").then((n) => n.N);
|
|
12658
12658
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
12659
12659
|
const providerKey = normalizeProviderId(provider);
|
|
12660
12660
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -21783,6 +21783,14 @@ function buildAgentSystemPrompt(params) {
|
|
|
21783
21783
|
"Keep narration brief and value-dense; avoid repeating obvious steps.",
|
|
21784
21784
|
"Use plain human language for narration unless in a technical context.",
|
|
21785
21785
|
"",
|
|
21786
|
+
"## Edit Tool Best Practices",
|
|
21787
|
+
"When using the edit tool, the oldText must match the file EXACTLY (whitespace, indentation, and all).",
|
|
21788
|
+
"To avoid match failures:",
|
|
21789
|
+
"- Use the SHORTEST unique snippet that identifies the edit location (1-3 lines). Do NOT paste large blocks.",
|
|
21790
|
+
"- ALWAYS read the file first, then copy the exact text from the read output for oldText.",
|
|
21791
|
+
"- If an edit fails with 'Could not find the exact text', re-read the file and retry with the exact text from the fresh read. Do NOT move on or fix a different issue.",
|
|
21792
|
+
"- Prefer lines with distinctive content (function names, unique strings) over generic code (braces, blank lines).",
|
|
21793
|
+
"",
|
|
21786
21794
|
...safetySection,
|
|
21787
21795
|
"## Symi CLI Quick Reference",
|
|
21788
21796
|
"Symi is controlled via subcommands. Do not invent commands.",
|
|
@@ -41647,7 +41655,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
41647
41655
|
return;
|
|
41648
41656
|
}
|
|
41649
41657
|
try {
|
|
41650
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
41658
|
+
const { deliverOutboundPayloads } = await import("./deliver-UASIwAO4.js").then((n) => n.n);
|
|
41651
41659
|
await deliverOutboundPayloads({
|
|
41652
41660
|
cfg: params.cfg,
|
|
41653
41661
|
channel,
|
|
@@ -45093,7 +45101,7 @@ async function describeStickerImage(params) {
|
|
|
45093
45101
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
45094
45102
|
try {
|
|
45095
45103
|
const buffer = await fs$1.readFile(imagePath);
|
|
45096
|
-
const { describeImageWithModel } = await import("./image-
|
|
45104
|
+
const { describeImageWithModel } = await import("./image-DViVUwBd.js").then((n) => n.n);
|
|
45097
45105
|
return (await describeImageWithModel({
|
|
45098
45106
|
buffer,
|
|
45099
45107
|
fileName: "sticker.webp",
|
|
@@ -45516,7 +45524,7 @@ function createWhatsAppLoginTool() {
|
|
|
45516
45524
|
force: Type.Optional(Type.Boolean())
|
|
45517
45525
|
}),
|
|
45518
45526
|
execute: async (_toolCallId, args) => {
|
|
45519
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
45527
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DZhDF5IA.js");
|
|
45520
45528
|
if ((args?.action ?? "start") === "wait") {
|
|
45521
45529
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
45522
45530
|
return {
|
|
@@ -47755,7 +47763,7 @@ async function preflightDiscordMessage(params) {
|
|
|
47755
47763
|
let preflightTranscript;
|
|
47756
47764
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
47757
47765
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
47758
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
47766
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CU_XD3wQ.js");
|
|
47759
47767
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
47760
47768
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
47761
47769
|
ctx: {
|
|
@@ -51761,27 +51769,27 @@ function isVoiceChannelType(type) {
|
|
|
51761
51769
|
function createDefaultDeps() {
|
|
51762
51770
|
return {
|
|
51763
51771
|
sendMessageWhatsApp: async (...args) => {
|
|
51764
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
51772
|
+
const { sendMessageWhatsApp } = await import("./web-Dan0YPuK.js");
|
|
51765
51773
|
return await sendMessageWhatsApp(...args);
|
|
51766
51774
|
},
|
|
51767
51775
|
sendMessageTelegram: async (...args) => {
|
|
51768
|
-
const { sendMessageTelegram } = await import("./send-
|
|
51776
|
+
const { sendMessageTelegram } = await import("./send-CAb_J0aw.js").then((n) => n.l);
|
|
51769
51777
|
return await sendMessageTelegram(...args);
|
|
51770
51778
|
},
|
|
51771
51779
|
sendMessageDiscord: async (...args) => {
|
|
51772
|
-
const { sendMessageDiscord } = await import("./send-
|
|
51780
|
+
const { sendMessageDiscord } = await import("./send-DeWhmyHe.js").then((n) => n.t);
|
|
51773
51781
|
return await sendMessageDiscord(...args);
|
|
51774
51782
|
},
|
|
51775
51783
|
sendMessageSlack: async (...args) => {
|
|
51776
|
-
const { sendMessageSlack } = await import("./send-
|
|
51784
|
+
const { sendMessageSlack } = await import("./send-plufzQIM.js").then((n) => n.n);
|
|
51777
51785
|
return await sendMessageSlack(...args);
|
|
51778
51786
|
},
|
|
51779
51787
|
sendMessageSignal: async (...args) => {
|
|
51780
|
-
const { sendMessageSignal } = await import("./send
|
|
51788
|
+
const { sendMessageSignal } = await import("./send-0GU9exFu.js").then((n) => n.i);
|
|
51781
51789
|
return await sendMessageSignal(...args);
|
|
51782
51790
|
},
|
|
51783
51791
|
sendMessageIMessage: async (...args) => {
|
|
51784
|
-
const { sendMessageIMessage } = await import("./send-
|
|
51792
|
+
const { sendMessageIMessage } = await import("./send-B5EhOVKu.js").then((n) => n.n);
|
|
51785
51793
|
return await sendMessageIMessage(...args);
|
|
51786
51794
|
}
|
|
51787
51795
|
};
|
|
@@ -54668,7 +54676,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
54668
54676
|
super(options);
|
|
54669
54677
|
}
|
|
54670
54678
|
createWebSocket(url) {
|
|
54671
|
-
return new WebSocket(url, { agent });
|
|
54679
|
+
return new WebSocket$1(url, { agent });
|
|
54672
54680
|
}
|
|
54673
54681
|
}
|
|
54674
54682
|
return new ProxyGatewayPlugin();
|
|
@@ -62210,7 +62218,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
62210
62218
|
}
|
|
62211
62219
|
let commandsRegistry;
|
|
62212
62220
|
async function getCommandsRegistry() {
|
|
62213
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
62221
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-DCUIFMIL.js").then((n) => n.n);
|
|
62214
62222
|
return commandsRegistry;
|
|
62215
62223
|
}
|
|
62216
62224
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -62613,7 +62621,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
62613
62621
|
});
|
|
62614
62622
|
const deliverSlashPayloads = async (replies) => {
|
|
62615
62623
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
62616
|
-
import("./replies-
|
|
62624
|
+
import("./replies-ookj1cB4.js").then((n) => n.r),
|
|
62617
62625
|
import("./chunk-DTMTDXwE.js").then((n) => n.s),
|
|
62618
62626
|
import("./markdown-tables-DawaaZEe.js").then((n) => n.t)
|
|
62619
62627
|
]);
|
|
@@ -62668,7 +62676,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
62668
62676
|
let nativeCommands = [];
|
|
62669
62677
|
if (nativeEnabled) {
|
|
62670
62678
|
reg = await getCommandsRegistry();
|
|
62671
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
62679
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-MyjdLY-a.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
62672
62680
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
62673
62681
|
skillCommands,
|
|
62674
62682
|
provider: "slack"
|
|
@@ -64886,7 +64894,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
64886
64894
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
64887
64895
|
let preflightTranscript;
|
|
64888
64896
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
64889
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
64897
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CU_XD3wQ.js");
|
|
64890
64898
|
preflightTranscript = await transcribeFirstAudio({
|
|
64891
64899
|
ctx: {
|
|
64892
64900
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -67031,23 +67039,23 @@ let webLoginQrPromise = null;
|
|
|
67031
67039
|
let webChannelPromise = null;
|
|
67032
67040
|
let whatsappActionsPromise = null;
|
|
67033
67041
|
function loadWebOutbound() {
|
|
67034
|
-
webOutboundPromise ??= import("./outbound-
|
|
67042
|
+
webOutboundPromise ??= import("./outbound-BpdIzQuJ.js").then((n) => n.t);
|
|
67035
67043
|
return webOutboundPromise;
|
|
67036
67044
|
}
|
|
67037
67045
|
function loadWebLogin() {
|
|
67038
|
-
webLoginPromise ??= import("./login-
|
|
67046
|
+
webLoginPromise ??= import("./login-Cv_yqC3s.js").then((n) => n.n);
|
|
67039
67047
|
return webLoginPromise;
|
|
67040
67048
|
}
|
|
67041
67049
|
function loadWebLoginQr() {
|
|
67042
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
67050
|
+
webLoginQrPromise ??= import("./login-qr-DZhDF5IA.js");
|
|
67043
67051
|
return webLoginQrPromise;
|
|
67044
67052
|
}
|
|
67045
67053
|
function loadWebChannel() {
|
|
67046
|
-
webChannelPromise ??= import("./web-
|
|
67054
|
+
webChannelPromise ??= import("./web-Dan0YPuK.js");
|
|
67047
67055
|
return webChannelPromise;
|
|
67048
67056
|
}
|
|
67049
67057
|
function loadWhatsAppActions() {
|
|
67050
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
67058
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BdSpem9R.js");
|
|
67051
67059
|
return whatsappActionsPromise;
|
|
67052
67060
|
}
|
|
67053
67061
|
function createPluginRuntime() {
|
|
@@ -75020,6 +75028,31 @@ Use the message tool with buttons:
|
|
|
75020
75028
|
[{"label": "✅ Proceed", "data": "/plan-proceed"}, {"label": "✏️ Modify", "data": "/plan-modify"}, {"label": "❌ Cancel", "data": "/plan-cancel"}]
|
|
75021
75029
|
</plan_mode>`;
|
|
75022
75030
|
|
|
75031
|
+
//#endregion
|
|
75032
|
+
//#region src/agents/symipulse-timeout.ts
|
|
75033
|
+
/**
|
|
75034
|
+
* Symipulse inactivity timeout resolution.
|
|
75035
|
+
*
|
|
75036
|
+
* The symipulse timer resets on every model/tool activity signal (streaming
|
|
75037
|
+
* chunk, tool execution, compaction, etc.). It fires only when the run is
|
|
75038
|
+
* truly idle — distinguishing "model working slowly on large context" from
|
|
75039
|
+
* "model stuck / connection lost".
|
|
75040
|
+
*/
|
|
75041
|
+
const DEFAULT_SYMIPULSE_RATIO = .5;
|
|
75042
|
+
const MIN_SYMIPULSE_MS = 12e4;
|
|
75043
|
+
const MAX_SYMIPULSE_MS = 9e5;
|
|
75044
|
+
const SYMIPULSE_MIN_TIMEOUT_MS = 3e4;
|
|
75045
|
+
const normalizeNumber = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
75046
|
+
function resolveSymipulseMs(opts) {
|
|
75047
|
+
const cap = Math.max(SYMIPULSE_MIN_TIMEOUT_MS, opts.runTimeoutMs - 1e3);
|
|
75048
|
+
const modelMs = normalizeNumber(opts.modelSeconds != null ? opts.modelSeconds * 1e3 : void 0);
|
|
75049
|
+
if (modelMs !== void 0 && modelMs > 0) return Math.min(Math.max(modelMs, SYMIPULSE_MIN_TIMEOUT_MS), cap);
|
|
75050
|
+
const configMs = normalizeNumber(opts.configSeconds != null ? opts.configSeconds * 1e3 : void 0);
|
|
75051
|
+
if (configMs !== void 0 && configMs > 0) return Math.min(Math.max(configMs, SYMIPULSE_MIN_TIMEOUT_MS), cap);
|
|
75052
|
+
const computed = Math.floor(opts.runTimeoutMs * DEFAULT_SYMIPULSE_RATIO);
|
|
75053
|
+
return Math.min(Math.max(computed, MIN_SYMIPULSE_MS), Math.min(MAX_SYMIPULSE_MS, cap));
|
|
75054
|
+
}
|
|
75055
|
+
|
|
75023
75056
|
//#endregion
|
|
75024
75057
|
//#region src/agents/pi-embedded-runner/abort.ts
|
|
75025
75058
|
/**
|
|
@@ -76153,6 +76186,36 @@ async function runEmbeddedAttempt(params) {
|
|
|
76153
76186
|
});
|
|
76154
76187
|
});
|
|
76155
76188
|
};
|
|
76189
|
+
const resolveModelSymipulseSeconds = () => {
|
|
76190
|
+
const key = params.modelId;
|
|
76191
|
+
if (!key) return null;
|
|
76192
|
+
return (params.config?.agents?.defaults?.models)?.[key]?.symipulseSeconds ?? null;
|
|
76193
|
+
};
|
|
76194
|
+
const symipulseMs = params.symipulseMs ?? resolveSymipulseMs({
|
|
76195
|
+
runTimeoutMs: params.timeoutMs,
|
|
76196
|
+
configSeconds: params.config?.agents?.defaults?.symipulseSeconds,
|
|
76197
|
+
modelSeconds: resolveModelSymipulseSeconds()
|
|
76198
|
+
});
|
|
76199
|
+
let symipulseTimer = null;
|
|
76200
|
+
const makeSymipulseAbortReason = () => {
|
|
76201
|
+
const err = /* @__PURE__ */ new Error(`symipulse: no model/tool activity for ${Math.round(symipulseMs / 1e3)}s (inactivity timeout). Run timeout was ${Math.round(params.timeoutMs / 1e3)}s. Increase symipulseSeconds or check model connectivity.`);
|
|
76202
|
+
err.name = "SymipulseTimeoutError";
|
|
76203
|
+
return err;
|
|
76204
|
+
};
|
|
76205
|
+
const clearSymipulseTimer = () => {
|
|
76206
|
+
if (symipulseTimer) {
|
|
76207
|
+
clearTimeout(symipulseTimer);
|
|
76208
|
+
symipulseTimer = null;
|
|
76209
|
+
}
|
|
76210
|
+
};
|
|
76211
|
+
let armSymipulseTimer;
|
|
76212
|
+
const withSymipulse = (fn) => {
|
|
76213
|
+
if (!fn) return fn;
|
|
76214
|
+
return ((...args) => {
|
|
76215
|
+
armSymipulseTimer();
|
|
76216
|
+
return fn(...args);
|
|
76217
|
+
});
|
|
76218
|
+
};
|
|
76156
76219
|
const subscription = subscribeEmbeddedPiSession({
|
|
76157
76220
|
session: activeSession,
|
|
76158
76221
|
runId: params.runId,
|
|
@@ -76162,16 +76225,19 @@ async function runEmbeddedAttempt(params) {
|
|
|
76162
76225
|
toolResultFormat: params.toolResultFormat,
|
|
76163
76226
|
shouldEmitToolResult: params.shouldEmitToolResult,
|
|
76164
76227
|
shouldEmitToolOutput: params.shouldEmitToolOutput,
|
|
76165
|
-
onToolResult: params.onToolResult,
|
|
76166
|
-
onReasoningStream: params.onReasoningStream,
|
|
76228
|
+
onToolResult: withSymipulse(params.onToolResult),
|
|
76229
|
+
onReasoningStream: withSymipulse(params.onReasoningStream),
|
|
76167
76230
|
onReasoningEnd: params.onReasoningEnd,
|
|
76168
|
-
onBlockReply: params.onBlockReply,
|
|
76231
|
+
onBlockReply: withSymipulse(params.onBlockReply),
|
|
76169
76232
|
onBlockReplyFlush: params.onBlockReplyFlush,
|
|
76170
76233
|
blockReplyBreak: params.blockReplyBreak,
|
|
76171
76234
|
blockReplyChunking: params.blockReplyChunking,
|
|
76172
|
-
onPartialReply: params.onPartialReply,
|
|
76235
|
+
onPartialReply: withSymipulse(params.onPartialReply),
|
|
76173
76236
|
onAssistantMessageStart: params.onAssistantMessageStart,
|
|
76174
|
-
onAgentEvent:
|
|
76237
|
+
onAgentEvent: (evt) => {
|
|
76238
|
+
armSymipulseTimer();
|
|
76239
|
+
params.onAgentEvent?.(evt);
|
|
76240
|
+
},
|
|
76175
76241
|
enforceFinalTag: params.enforceFinalTag,
|
|
76176
76242
|
config: params.config,
|
|
76177
76243
|
sessionKey: params.sessionKey ?? params.sessionId
|
|
@@ -76201,6 +76267,21 @@ async function runEmbeddedAttempt(params) {
|
|
|
76201
76267
|
if (!isProbeSession) log$2.warn(`embedded run abort still streaming: runId=${params.runId} sessionId=${params.sessionId}`);
|
|
76202
76268
|
}, 1e4);
|
|
76203
76269
|
}, Math.max(1, params.timeoutMs));
|
|
76270
|
+
armSymipulseTimer = () => {
|
|
76271
|
+
if (aborted) return;
|
|
76272
|
+
clearSymipulseTimer();
|
|
76273
|
+
symipulseTimer = setTimeout(() => {
|
|
76274
|
+
if (aborted) return;
|
|
76275
|
+
if (!isProbeSession) log$2.warn(`symipulse timeout: runId=${params.runId} sessionId=${params.sessionId} symipulseMs=${symipulseMs} (no activity)`);
|
|
76276
|
+
if (shouldFlagCompactionTimeout({
|
|
76277
|
+
isTimeout: true,
|
|
76278
|
+
isCompactionPendingOrRetrying: subscription.isCompacting(),
|
|
76279
|
+
isCompactionInFlight: activeSession.isCompacting
|
|
76280
|
+
})) timedOutDuringCompaction = true;
|
|
76281
|
+
abortRun(true, makeSymipulseAbortReason());
|
|
76282
|
+
}, Math.max(1, symipulseMs));
|
|
76283
|
+
};
|
|
76284
|
+
armSymipulseTimer();
|
|
76204
76285
|
let messagesSnapshot = [];
|
|
76205
76286
|
let sessionIdUsed = activeSession.sessionId;
|
|
76206
76287
|
const onAbort = () => {
|
|
@@ -76421,6 +76502,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
76421
76502
|
});
|
|
76422
76503
|
} finally {
|
|
76423
76504
|
clearTimeout(abortTimer);
|
|
76505
|
+
clearSymipulseTimer();
|
|
76424
76506
|
if (abortWarnTimer) clearTimeout(abortWarnTimer);
|
|
76425
76507
|
if (!isProbeSession && (aborted || timedOut) && !timedOutDuringCompaction) log$2.debug(`run cleanup: runId=${params.runId} sessionId=${params.sessionId} aborted=${aborted} timedOut=${timedOut}`);
|
|
76426
76508
|
try {
|