@symerian/symi 2.8.0 → 2.8.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/dist/{accounts-CsHEtC81.js → accounts-BGGHyl1f.js} +1 -1
- package/dist/{accounts-CoWuDeGc.js → accounts-BuiAFBgQ.js} +9 -9
- package/dist/{accounts-DwxSQJVb.js → accounts-DrMzc5pU.js} +1 -1
- package/dist/{acp-cli-Dyz2mvXI.js → acp-cli-C0TUmUhf.js} +2 -2
- package/dist/{acp-cli-4jjaxdK0.js → acp-cli-D00d-Ubw.js} +17 -17
- package/dist/{agent-scope-CMD0I1u5.js → agent-scope-CERuGdJI.js} +20 -20
- package/dist/{agents-D1ozYbOH.js → agents-eoJi3qE3.js} +7 -7
- package/dist/{agents.config-ErMtDDo4.js → agents.config-CtrswUIx.js} +1 -1
- package/dist/{agents.config-Bv0IG4h4.js → agents.config-DXM0gE9W.js} +2 -2
- package/dist/{api-key-rotation-DKq4oEtB.js → api-key-rotation-BtVT6xcF.js} +1 -1
- package/dist/{audio-preflight-CPgrWwYq.js → audio-preflight-2PVy_DkV.js} +13 -13
- package/dist/{audio-preflight-B2aeqqV4.js → audio-preflight-Blt0r4NR.js} +5 -5
- package/dist/{audio-preflight-EaLcOatG.js → audio-preflight-C9k2CrHS.js} +5 -5
- package/dist/{audio-preflight-DbjnY9Xz.js → audio-preflight-gM3Qwrcb.js} +41 -41
- package/dist/{audit-CGYqoAtc.js → audit-Cr9yFA0I.js} +8 -8
- package/dist/{audit-DJ8_hvPI.js → audit-D5RvYBiB.js} +29 -29
- package/dist/{auth-DhACj3GR.js → auth-B741uFtk.js} +1 -1
- package/dist/{auth-choice-CB12eNJ-.js → auth-choice-DBa2G_TZ.js} +8 -8
- package/dist/{auth-choice-DwMW_slj.js → auth-choice-Zrf-kdSJ.js} +4 -4
- package/dist/{auth-token-lbsF5oZE.js → auth-token-DGeLbqgz.js} +1 -1
- package/dist/{banner-CNFC7_eF.js → banner-BMi9YZbw.js} +1 -1
- package/dist/{bindings-B1Xxc1Z5.js → bindings-Bb4ucqXy.js} +2 -2
- package/dist/{bonjour-discovery-CstczLJ0.js → bonjour-discovery-DUQ6tE92.js} +2 -2
- package/dist/{browser-cli-D3nuFEdr.js → browser-cli-C-2Sv0mr.js} +3 -3
- package/dist/{browser-cli-eFuTfSlZ.js → browser-cli-CSGTiJC-.js} +21 -21
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +13 -13
- package/dist/bundled/session-memory/handler.js +13 -13
- package/dist/{call-C4MK_yjX.js → call-CDBn2Uz1.js} +11 -11
- package/dist/{call-BNaMkPCd.js → call-Dr-Olg4Q.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-BfYWmk2Z.js → catalog-DX1l43Ru.js} +2 -2
- package/dist/{channel-activity-DSjiAC__.js → channel-activity-BOiuJS3t.js} +1 -1
- package/dist/{channel-options-Swu_EwCD.js → channel-options-B13ezvWK.js} +1 -1
- package/dist/{channel-options-lMYAdpZ3.js → channel-options-BllDzejG.js} +5 -5
- package/dist/{channel-selection-M2zZz8eI.js → channel-selection-1-tfXZ8A.js} +2 -2
- package/dist/{channel-web-CcieLlpA.js → channel-web-BRwXPtcp.js} +21 -21
- package/dist/{channels-cli-Dgzgr5J4.js → channels-cli-Bm0xYoB6.js} +101 -101
- package/dist/{channels-cli-B3GEnuz1.js → channels-cli-D3M4H1oT.js} +33 -33
- package/dist/{channels-status-issues-CbWqOJ48.js → channels-status-issues-BXaOB76F.js} +1 -1
- package/dist/{chrome-D7zqP44N.js → chrome-2hGIu-EC.js} +8 -8
- package/dist/{chrome-vBL-0C5J.js → chrome-B8hjmGSs.js} +1 -1
- package/dist/{chrome-B8SGtnUm.js → chrome-C5_-AhDi.js} +1 -1
- package/dist/{chrome-DgrqIAkA.js → chrome-Cx4CChuw.js} +4 -4
- package/dist/{chunk-By1SXKyX.js → chunk-1dhPX1NK.js} +1 -1
- package/dist/{clack-prompter-CUQX5A6o.js → clack-prompter-DMuVyYP2.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BWTnpOnL.js → cli-COBZYf1i.js} +29 -29
- package/dist/cli-Cbx40_Ia.js +149 -0
- package/dist/{client-ExhSG3Ca.js → client-C8eOm0zv.js} +3 -3
- package/dist/{clipboard-BG_Yj8tC.js → clipboard-BIyDbnnI.js} +1 -1
- package/dist/{command-registry-BN3XUWxB.js → command-registry-_WyvrPBZ.js} +11 -11
- package/dist/{commands-BYvwfQJR.js → commands-Ciy5VdDe.js} +2 -2
- package/dist/{commands-registry-C7bAdTsZ.js → commands-registry-CkouCUk6.js} +5 -5
- package/dist/{completion-cli-BANsnMeT.js → completion-cli-F5fIobkc.js} +14 -14
- package/dist/{completion-cli-CY4L67Oy.js → completion-cli-grldUDtK.js} +2 -2
- package/dist/{config-Dr2bRUxQ.js → config-97uAFNlZ.js} +9 -9
- package/dist/{config-CNdWbfL9.js → config-BFFFJyGG.js} +14 -14
- package/dist/{config-DLPsgyDc.js → config-BIN20Vs8.js} +4 -4
- package/dist/{config-DGILsB4T.js → config-DNx1bN25.js} +4 -4
- package/dist/{config-cli-Bug55_f2.js → config-cli-BiXOB9xG.js} +5 -5
- package/dist/{config-cli-C4-rlDBG.js → config-cli-PWLx4Kty.js} +14 -14
- package/dist/{config-guard-C8C9dSvC.js → config-guard-CHipfgSG.js} +22 -22
- package/dist/{config-guard-DRASp8ih.js → config-guard-D9JvQJ3e.js} +2 -2
- package/dist/{config-validation-DZz4vJfQ.js → config-validation-AbJP9Y5z.js} +1 -1
- package/dist/{config-validation-BxkBN9e-.js → config-validation-BZxt4iE5.js} +1 -1
- package/dist/{configure-DSLPFXp5.js → configure-B0fDk8Qx.js} +24 -24
- package/dist/{configure-PY96qn6g.js → configure-CHga17H0.js} +10 -10
- package/dist/{control-service-BDD0jIiK.js → control-service-DDTEvprE.js} +4 -4
- package/dist/{control-service-nm4IutS9.js → control-service-TaZG6efS.js} +5 -5
- package/dist/{control-ui-assets-Bk9kycHY.js → control-ui-assets-B7moDVHX.js} +3 -3
- package/dist/{cron-cli-BaZnmNGV.js → cron-cli-BplJWoBK.js} +3 -3
- package/dist/{cron-cli-DinqyWiO.js → cron-cli-DCa-qZPR.js} +19 -19
- package/dist/{daemon-cli-cM8fxC2A.js → daemon-cli-C2gclIcC.js} +17 -17
- package/dist/{daemon-cli-Di2yiJ1u.js → daemon-cli-sWQB6Gn5.js} +6 -6
- package/dist/daemon-cli.js +4 -4
- package/dist/{daemon-runtime-DPtiMGpx.js → daemon-runtime-BrYhxGXp.js} +11 -11
- package/dist/{daemon-runtime-hkSvv53b.js → daemon-runtime-CGerQZ9S.js} +1 -1
- package/dist/{deliver-B1CvftgS.js → deliver-5eO_p-0l.js} +2 -2
- package/dist/{deliver-Dl6tRe1Y.js → deliver-BGcxZup9.js} +3 -3
- package/dist/{deliver-Dz4L03sb.js → deliver-Bs5u3Hej.js} +2 -2
- package/dist/{deliver-DqhOGtUr.js → deliver-Du7r6Fpd.js} +11 -11
- package/dist/{devices-cli-Dyvb6Sec.js → devices-cli-B-CJITAy.js} +2 -2
- package/dist/{devices-cli-Dn_O3Fit.js → devices-cli-KtKKMXAS.js} +15 -15
- package/dist/{diagnostic-5-rvRt9D.js → diagnostic-nbDIYmw3.js} +1 -1
- package/dist/{diagnostics-BQ5MQd5_.js → diagnostics-BRwihzJG.js} +5 -5
- package/dist/{directory-cli-CULsHSwg.js → directory-cli-3LBc110H.js} +17 -17
- package/dist/{directory-cli-D8ms1wJV.js → directory-cli-C-8timRv.js} +1 -1
- package/dist/{dm-policy-shared-DIl3pWKM.js → dm-policy-shared-COtH0Zso.js} +2 -2
- package/dist/{dns-cli-QhVbZvfY.js → dns-cli-BsmdHJ3Y.js} +1 -1
- package/dist/{dns-cli-Bi0kOjvJ.js → dns-cli-DzP-X-Pk.js} +12 -12
- package/dist/{dock-CEKgzLx4.js → dock-BXPWY7iQ.js} +6 -6
- package/dist/{docs-cli-CDf2VF9y.js → docs-cli-BOa4OKW4.js} +2 -2
- package/dist/{docs-cli-7u12l3JC.js → docs-cli-Dol0VaNr.js} +8 -8
- package/dist/{doctor-completion-B2olUask.js → doctor-completion-ClEkQmYn.js} +1 -1
- package/dist/{doctor-completion-CIC43pSt.js → doctor-completion-aHmv3-PM.js} +3 -3
- package/dist/{doctor-config-flow-QND1C8si.js → doctor-config-flow-BuTQ0TuP.js} +4 -4
- package/dist/{doctor-config-flow-CfM_Vtr-.js → doctor-config-flow-S3oH5AYd.js} +14 -14
- package/dist/entry.js +3 -3
- package/dist/{env-Cc17trE2.js → env-DPCHYPeH.js} +1 -1
- package/dist/{exec-Cl0vDUtl.js → exec-CWkblSrI.js} +2 -2
- package/dist/{exec-approvals-cli-BcW8cImm.js → exec-approvals-cli-CveXtKMZ.js} +6 -6
- package/dist/{exec-approvals-cli-5-Ojw8q9.js → exec-approvals-cli-DEO7sHha.js} +25 -25
- package/dist/extensionAPI.js +13 -13
- package/dist/{fetch-guard-CGJqn2-G.js → fetch-guard-DOPkVbh3.js} +1 -1
- package/dist/{frontmatter-vPQXa_GF.js → frontmatter-B8duUx_6.js} +2 -2
- package/dist/{frontmatter-N8f7vrV4.js → frontmatter-DWQhtOo7.js} +2 -2
- package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
- package/dist/{gateway-cli-BbXbBzsU.js → gateway-cli-BUg5JD1X.js} +51 -51
- package/dist/{gateway-cli-jiHsHqZ_.js → gateway-cli-Yn1kSGKo.js} +146 -146
- package/dist/{gateway-rpc-KfmAxrUL.js → gateway-rpc-Bt_BUUqs.js} +1 -1
- package/dist/{gateway-rpc-CYt1cyGd.js → gateway-rpc-VbPciI94.js} +3 -3
- package/dist/{glass-ui-ws-Dp6IcNto.js → glass-ui-ws-BgcVXIux.js} +39 -39
- package/dist/{glass-ui-ws-3XpYVEpU.js → glass-ui-ws-Wzl5FnK4.js} +108 -108
- package/dist/{gmail-setup-utils-DB5phIFm.js → gmail-setup-utils-CzWeiE-Y.js} +1 -1
- package/dist/{gmail-setup-utils-Kzgo8pyk.js → gmail-setup-utils-Dq6vwkWW.js} +3 -3
- package/dist/{health-DhtSRbW5.js → health-B_PfWJGH.js} +5 -5
- package/dist/{health-DrsddZ3n.js → health-Cvo7oeOO.js} +18 -18
- package/dist/{health-format-DgOKZHeh.js → health-format-DRCaak6L.js} +1 -1
- package/dist/{help-format-DGiy4zKR.js → help-format-B_-M23wP.js} +1 -1
- package/dist/{hooks-cli-CRl0NFdw.js → hooks-cli-BN9bIYZd.js} +102 -102
- package/dist/{hooks-cli-D6nQLA3A.js → hooks-cli-Bfsi0AkF.js} +32 -32
- package/dist/{hooks-status-CpIIHcYL.js → hooks-status-CEoLdlyb.js} +2 -2
- package/dist/{hooks-status-JLg5Xawr.js → hooks-status-oUebZVnL.js} +3 -3
- package/dist/{image-CjC-1dVF.js → image-AJDd8Cdk.js} +2 -2
- package/dist/{image-BRRsGY0d.js → image-BWkg49Ov.js} +2 -2
- package/dist/{image-XRQO3y5K.js → image-C53MgRGd.js} +5 -5
- package/dist/{image-CGXOMGnW.js → image-CjbeVVV2.js} +2 -2
- package/dist/{image-ops-DbvmPzLz.js → image-ops-1OJMSAUX.js} +11 -11
- package/dist/index.js +98 -98
- package/dist/{inspect-BoO8fD_R.js → inspect-CvbbCuoa.js} +4 -4
- package/dist/{install-safe-path-D3mg1DMG.js → install-safe-path-D3Uz77u7.js} +11 -11
- package/dist/{installs-CugTuSqa.js → installs-DQcRVF1U.js} +11 -11
- package/dist/{ir-htBEKN5T.js → ir-CLyPlwVm.js} +8 -8
- package/dist/{lifecycle-core-DQuwMCxt.js → lifecycle-core-Bd3890eI.js} +7 -7
- package/dist/{lifecycle-core-CcARxO4I.js → lifecycle-core-DfG6SMRb.js} +2 -2
- package/dist/{links-BprsSFRL.js → links-3i1eUga4.js} +1 -1
- package/dist/llm-slug-generator.js +13 -13
- package/dist/{local-roots-CbsQgONv.js → local-roots-C06RFqzi.js} +4 -4
- package/dist/{logging-BNMqqaRZ.js → logging-KpicI3yD.js} +1 -1
- package/dist/{login-CdVFnycK.js → login-BCagDpQZ.js} +6 -6
- package/dist/{login-D-LEGTby.js → login-CnA1mB2R.js} +2 -2
- package/dist/{login-27ZiwM_O.js → login-T7kDkvde.js} +2 -2
- package/dist/{login-CSLPivOr.js → login-hXRC5XxS.js} +2 -2
- package/dist/{login-qr-CcAJRuhX.js → login-qr-BQuilSmC.js} +2 -2
- package/dist/{login-qr-CMw8yz3N.js → login-qr-CpVeGDUX.js} +2 -2
- package/dist/{login-qr-fxvkEb1m.js → login-qr-JDtM1QAp.js} +11 -11
- package/dist/{login-qr-XfTvJKCU.js → login-qr-heMXP8hR.js} +2 -2
- package/dist/{logs-cli-D6BGgAPS.js → logs-cli-BFtP_HHd.js} +3 -3
- package/dist/{logs-cli-CSKQzdW7.js → logs-cli-izNrGBH8.js} +16 -16
- package/dist/{manager-BA66Ip7z.js → manager-j0fGrRVJ.js} +17 -17
- package/dist/{manifest-registry-BjdnhvQI.js → manifest-registry-BDSRH8nU.js} +1 -1
- package/dist/{markdown-tables-CtqzlcR-.js → markdown-tables-Dh42d7MA.js} +1 -1
- package/dist/{memory-cli-CasXimAY.js → memory-cli-C5rurQKT.js} +19 -19
- package/dist/{memory-cli-_TNDqv0g.js → memory-cli-CtlEyRGC.js} +1 -1
- package/dist/{message-channel-7DbNScAz.js → message-channel-aT-I_DTX.js} +1 -1
- package/dist/{model-BXhNu0Qh.js → model-BoZOGhCX.js} +1 -1
- package/dist/{model-catalog-DFpPNrZd.js → model-catalog-1_ccX7Ey.js} +2 -2
- package/dist/{model-catalog-DqcNbBYD.js → model-catalog-BYr_V3sr.js} +4 -4
- package/dist/{model-picker-QMTd3D61.js → model-picker-BLIS2Blr.js} +2 -2
- package/dist/{model-picker-CCmi1muC.js → model-picker-CxH5YGoc.js} +3 -3
- package/dist/{model-selection-CuILBsWw.js → model-selection-B2_K06m3.js} +12 -12
- package/dist/{models-BYEgYrAJ.js → models-BDoxJ7Bo.js} +8 -8
- package/dist/{models-cli-nb1li8l_.js → models-cli-hgropb_c.js} +32 -32
- package/dist/{models-cli-AD0-skIW.js → models-cli-wTs0n8az.js} +98 -98
- package/dist/{models-config-CSJmj9FT.js → models-config-Bkimvp-w.js} +8 -8
- package/dist/{models-config-BqSVT28O.js → models-config-BqcwJMkB.js} +1 -1
- package/dist/{node-cli-DekrZ-X6.js → node-cli-DyndcQUI.js} +9 -9
- package/dist/{node-cli-CSsGOQHw.js → node-cli-F8PSJBIs.js} +42 -42
- package/dist/{node-service-7NlIX6aC.js → node-service-CD47Qpf1.js} +1 -1
- package/dist/{nodes-cli-C5aKkdmZ.js → nodes-cli-BlzBpBhR.js} +21 -21
- package/dist/{nodes-cli-DHkfCxuN.js → nodes-cli-DHn1Guka.js} +3 -3
- package/dist/{nodes-screen-BAHauVrv.js → nodes-screen-8Bq7DiSa.js} +5 -5
- package/dist/{note-MM9eO0Rn.js → note-DQ9BvHF2.js} +2 -2
- package/dist/{npm-registry-spec-ghNWhajT.js → npm-registry-spec-C0CPT3vr.js} +11 -11
- package/dist/{onboard-lO9hWdx0.js → onboard-BZs1tHBm.js} +7 -7
- package/dist/{onboard-CZh8cSWo.js → onboard-CxdkxIZF.js} +18 -18
- package/dist/{onboard-channels-BEq_PyRp.js → onboard-channels-BTPvacsB.js} +9 -9
- package/dist/{onboard-channels-s5fSA8ef.js → onboard-channels-CBfxXGbt.js} +1 -1
- package/dist/{onboard-custom-CTo4kcww.js → onboard-custom-CO9mcbCj.js} +3 -3
- package/dist/{onboard-custom-Cq9jJt4p.js → onboard-custom-DimG6oNT.js} +2 -2
- package/dist/{onboard-helpers-fhD0IUuO.js → onboard-helpers-D0Ly4Vjl.js} +12 -12
- package/dist/{onboard-helpers-UuZ8HSEZ.js → onboard-helpers-D60oT6LF.js} +2 -2
- package/dist/{onboard-hooks-B-pnvKvW.js → onboard-hooks-BGyToRFL.js} +8 -8
- package/dist/{onboard-hooks-CCBJLnvk.js → onboard-hooks-CzgLDxnB.js} +3 -3
- package/dist/{onboard-remote-DDgLa3Vy.js → onboard-remote-CwrjzUqO.js} +1 -1
- package/dist/{onboard-remote-NHov7cSj.js → onboard-remote-quxRARtk.js} +3 -3
- package/dist/{onboard-skills-BIdt6RUk.js → onboard-skills-BHf0m7dl.js} +4 -4
- package/dist/{onboard-skills-DAYtUfIO.js → onboard-skills-Cyib4kUe.js} +3 -3
- package/dist/{onboarding-CE0NZTsb.js → onboarding-DLQAQHvb.js} +11 -11
- package/dist/{onboarding-B_UIY3m6.js → onboarding-DY_SZcCu.js} +17 -17
- package/dist/{onboarding.finalize-B0XmqpKF.js → onboarding.finalize-B51VEYgz.js} +36 -36
- package/dist/{onboarding.finalize-BsU1crRf.js → onboarding.finalize-Dh9-KJYq.js} +100 -100
- package/dist/{onboarding.gateway-config-vl8HN3eg.js → onboarding.gateway-config-DORMSKZH.js} +4 -4
- package/dist/{onboarding.gateway-config-BWQknGOU.js → onboarding.gateway-config-DqcffEBK.js} +23 -23
- package/dist/{openai-model-default-Blq9uvRk.js → openai-model-default-vX2x-JBb.js} +3 -3
- package/dist/{outbound-BMHbaIfe.js → outbound-BgdbU8dM.js} +1 -1
- package/dist/{outbound-C-N_MLa9.js → outbound-D8CIKEmi.js} +1 -1
- package/dist/{outbound-BiWh1q1A.js → outbound-DmKypkF6.js} +1 -1
- package/dist/{outbound-attachment-BkFGwaSs.js → outbound-attachment-8Ash8xxk.js} +2 -2
- package/dist/{outbound-mrBI1WIz.js → outbound-m4c5ikTk.js} +6 -6
- package/dist/{pairing-cli-K0ukdFvK.js → pairing-cli-CWJGMGos.js} +16 -16
- package/dist/{pairing-cli-B6RCNI46.js → pairing-cli-Cun8TeHF.js} +1 -1
- package/dist/{pairing-labels-D9x7oiw4.js → pairing-labels-C_2AZhnk.js} +1 -1
- package/dist/{pairing-store-BWJkbEAO.js → pairing-store-BRVmRYf9.js} +3 -3
- package/dist/{pairing-token-AV-MMfVE.js → pairing-token-CX3NN_qj.js} +7 -7
- package/dist/{path-env-DA-j83rn.js → path-env-BaQ2E7uD.js} +1 -1
- package/dist/{paths-CZOwZqBo.js → paths-BBm9fwuG.js} +2 -2
- package/dist/{pi-auth-json-D1uXhtMd.js → pi-auth-json-6eMLkYzE.js} +5 -5
- package/dist/{pi-embedded-qs5KiOK6.js → pi-embedded-BPKyWoaL.js} +30 -30
- package/dist/{pi-embedded-helpers-BXWrqv7y.js → pi-embedded-helpers-BnXpCAW8.js} +1 -1
- package/dist/{pi-embedded-helpers-CsW_RmEy.js → pi-embedded-helpers-Cy5TV1gC.js} +7 -7
- package/dist/{pi-embedded-helpers-BH3H_TVp.js → pi-embedded-helpers-CyvA5vPW.js} +5 -5
- package/dist/{pi-embedded-helpers-C6RXiJak.js → pi-embedded-helpers-DWVs9MNT.js} +5 -5
- package/dist/{pi-tools.policy-Cl6lWwCz.js → pi-tools.policy-BL5fmuL6.js} +5 -5
- package/dist/{pi-tools.policy-BMAdRKfu.js → pi-tools.policy-D9N568kG.js} +2 -2
- package/dist/{plugin-auto-enable-RNOGdTxV.js → plugin-auto-enable-t8guhJJh.js} +5 -5
- package/dist/{plugin-registry-B-vvzltD.js → plugin-registry-COKpZSsh.js} +2 -2
- package/dist/{plugin-registry-6KfG_n2O.js → plugin-registry-CW-3bjRM.js} +5 -5
- package/dist/plugin-sdk/{audio-preflight-Cg8xj0Hg.js → audio-preflight-CU60zXtN.js} +5 -5
- package/dist/plugin-sdk/{channel-web-DKYecnwc.js → channel-web-D74j_bFK.js} +7 -7
- package/dist/plugin-sdk/{chrome-DbHBjYJw.js → chrome-DwLnr9B6.js} +1 -1
- package/dist/plugin-sdk/config/validation.d.ts +1 -0
- package/dist/plugin-sdk/{config-19_EeAup.js → config-CX45K2kw.js} +4 -4
- package/dist/plugin-sdk/{deliver-ClsbfK97.js → deliver-DQWcP502.js} +2 -2
- package/dist/plugin-sdk/{image-26CwQSBp.js → image-c8yrzz13.js} +2 -2
- package/dist/plugin-sdk/index.js +17 -17
- package/dist/plugin-sdk/{login-DZGc3XfU.js → login-CgGNscHV.js} +2 -2
- package/dist/plugin-sdk/{login-qr-eX5I4Xfr.js → login-qr-B6ZcZ5Iv.js} +2 -2
- package/dist/plugin-sdk/{outbound-CQSAobOO.js → outbound-CH8Kpb5X.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BYLxo2e_.js → pi-embedded-helpers-CnZS33KE.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-CpZBzkR6.js → pw-ai-D79szuoM.js} +2 -2
- package/dist/plugin-sdk/{replies-CdQLq6sc.js → replies-BGZQ2zkY.js} +1 -1
- package/dist/plugin-sdk/{reply-C5rK22_g.js → reply-Cn5oq3Mv.js} +30 -30
- package/dist/plugin-sdk/{runner-Cl5wt7Wt.js → runner-CfIq7N_U.js} +2 -2
- package/dist/plugin-sdk/{send-WZBqxTGG.js → send-CMnqE_02.js} +1 -1
- package/dist/plugin-sdk/{send-nCHlW80h.js → send-DP_L-eID.js} +1 -1
- package/dist/plugin-sdk/{send-CCOhpuCe.js → send-DisqcLq5.js} +1 -1
- package/dist/plugin-sdk/{send-DkxYKVow.js → send-VTqckqkv.js} +1 -1
- package/dist/plugin-sdk/{send-C5DRj-Yy.js → send-XIssXpp9.js} +1 -1
- package/dist/plugin-sdk/{session-BB4jICgu.js → session-qC61jvp8.js} +1 -1
- package/dist/plugin-sdk/{web-CyevOlEa.js → web-BiP5CZ6b.js} +17 -17
- package/dist/plugin-sdk/{whatsapp-actions-BlYA3m85.js → whatsapp-actions-B8B69NKY.js} +2 -2
- package/dist/{plugins-C9rr430_.js → plugins-CFHHpXfJ.js} +5 -5
- package/dist/{plugins-cli-DL6LRyGj.js → plugins-cli-Bg1YsfaH.js} +95 -95
- package/dist/{plugins-cli-D6vH-Nyp.js → plugins-cli-CSHFhDUj.js} +30 -30
- package/dist/{ports-BnU8MBAD.js → ports-BOmtxoTv.js} +5 -5
- package/dist/{ports-DTdKHjJC.js → ports-DtW62rqS.js} +2 -2
- package/dist/{program-0aC7TTR5.js → program-DinHHdhg.js} +36 -36
- package/dist/{program-context-Ds8tCDix.js → program-context-CKBTrauv.js} +40 -40
- package/dist/{progress-oTBhmPqz.js → progress-jIePzvGA.js} +2 -2
- package/dist/{prompt-select-styled-BSDrVAdJ.js → prompt-select-styled-CVANzIyZ.js} +47 -47
- package/dist/{prompt-select-styled-CT9G95RO.js → prompt-select-styled-CrpJBKBs.js} +15 -15
- package/dist/{prompt-style-EOeGLfZS.js → prompt-style-CnkMpSXt.js} +1 -1
- package/dist/{provider-auth-helpers-DWOwu6XM.js → provider-auth-helpers-CbxUOKs4.js} +2 -2
- package/dist/{provider-auth-helpers-BYULQUGQ.js → provider-auth-helpers-DFY-pNQI.js} +8 -8
- package/dist/{push-apns-DKj9mU-L.js → push-apns-BoBQDXZE.js} +1 -1
- package/dist/{push-apns-DXGzzF5T.js → push-apns-CUFa1Pd-.js} +6 -6
- package/dist/{pw-ai-xgKwRq09.js → pw-ai-BO3djYpU.js} +2 -2
- package/dist/{pw-ai-CNjUmJzy.js → pw-ai-Dv9ymXc2.js} +13 -13
- package/dist/{pw-ai-kK-lzY0O.js → pw-ai-b0RN_w8M.js} +2 -2
- package/dist/{pw-ai-XzRJ6Hbn.js → pw-ai-vLjOn4ti.js} +2 -2
- package/dist/{qmd-manager-DxmnY8i_.js → qmd-manager-qvLj9jfV.js} +22 -22
- package/dist/{qr-cli-zSLl-TnJ.js → qr-cli-CmWTguWw.js} +1 -1
- package/dist/{qr-cli-BhGUUQmb.js → qr-cli-D541UhxC.js} +9 -9
- package/dist/{register.agent-Bp1pAVUR.js → register.agent-BwwKKDXE.js} +108 -108
- package/dist/{register.agent-BCfntWe_.js → register.agent-vTDClltK.js} +37 -37
- package/dist/register.configure-CF34YzYT.js +148 -0
- package/dist/{register.configure-B1bKzmH-.js → register.configure-CfxNv6O9.js} +42 -42
- package/dist/{register.maintenance-1ymBDD6p.js → register.maintenance-DcoVTA7h.js} +113 -113
- package/dist/{register.maintenance-B21phEo1.js → register.maintenance-DzrtTaKQ.js} +40 -40
- package/dist/{register.message-Bay6X6QX.js → register.message-CRBHsHWv.js} +30 -30
- package/dist/{register.message-XXdD-jLB.js → register.message-CTw4-4VQ.js} +87 -87
- package/dist/{register.onboard-CXbqWen4.js → register.onboard-BBDN08mZ.js} +101 -101
- package/dist/{register.onboard-DZRWK6oK.js → register.onboard-roFc_CQz.js} +36 -36
- package/dist/{register.setup-ZVwZaf2y.js → register.setup-C30wQJZY.js} +38 -38
- package/dist/{register.setup-zaYMCJN2.js → register.setup-DYG_SiAJ.js} +106 -106
- package/dist/{register.status-health-sessions-YUo6ISNv.js → register.status-health-sessions-eI_AzmXf.js} +35 -35
- package/dist/{register.status-health-sessions-CoDMi4sN.js → register.status-health-sessions-jg8DtM1r.js} +100 -100
- package/dist/{register.subclis-CMWq2vc3.js → register.subclis-UuV3diKa.js} +29 -29
- package/dist/{registry-BCOIZ_7w.js → registry-Cja8eT7G.js} +1 -1
- package/dist/{replies-DUeZQ2uY.js → replies-BPEDOYuY.js} +3 -3
- package/dist/{replies-DWYUgluC.js → replies-BW2PXxdf.js} +1 -1
- package/dist/{replies-CVDJDoaY.js → replies-DkuwMDj2.js} +1 -1
- package/dist/{replies-B7q4mnne.js → replies-ePWZEvkK.js} +1 -1
- package/dist/{reply-BpD7xgst.js → reply-CjNSctUU.js} +159 -159
- package/dist/{reply-prefix-D39hchCX.js → reply-prefix-CyyxZKEO.js} +1 -1
- package/dist/{resolve-route-Q_WTzI07.js → resolve-route-DMkPwpIu.js} +4 -4
- package/dist/{retry-BMonBV_H.js → retry-BoS4e4X_.js} +1 -1
- package/dist/{routes-BNs0iQ5V.js → routes-D1NKJx-K.js} +3 -3
- package/dist/{routes-BkTIC-j7.js → routes-DTVxE_cg.js} +9 -9
- package/dist/{rpc-WxHPe-af.js → rpc-BMNNnAzj.js} +1 -1
- package/dist/{rpc-C3Sjavm5.js → rpc-vyoOPPd4.js} +3 -3
- package/dist/{run-main-C-52hvex.js → run-main-PNapoUhj.js} +47 -47
- package/dist/{runner-Dkm_NuVV.js → runner-BJ-Z_VGK.js} +23 -23
- package/dist/{runner-FjsoNqJS.js → runner-BivoPVff.js} +3 -3
- package/dist/{runner-BkTZUpbc.js → runner-DJecEIPm.js} +2 -2
- package/dist/{runner-Goi892AS.js → runner-DxJM1fE0.js} +2 -2
- package/dist/{runtime-guard-D67MHdTe.js → runtime-guard-Dik20CVM.js} +1 -1
- package/dist/{sandbox-CDffpo7N.js → sandbox-DkdWg8t2.js} +21 -21
- package/dist/{sandbox-DPV_4YfC.js → sandbox-Dz1LHN8P.js} +6 -6
- package/dist/{sandbox-cli-TnspSP_1.js → sandbox-cli-4Pg3aVz-.js} +8 -8
- package/dist/{sandbox-cli-CPBBjo2b.js → sandbox-cli-DoFBUL8u.js} +33 -33
- package/dist/{security-cli-DMKeq2a9.js → security-cli-C82nGvzm.js} +11 -11
- package/dist/{security-cli-C8GA5z32.js → security-cli-DVfyt4Oh.js} +49 -49
- package/dist/{send-Dxou6Rnv.js → send--j_x4vGq.js} +1 -1
- package/dist/{send-D2Nd485B.js → send-4WW1F_LR.js} +1 -1
- package/dist/{send-CwDffsbf.js → send-B0PIG8Us.js} +1 -1
- package/dist/{send-COxru3tH.js → send-BCMXPmXB.js} +1 -1
- package/dist/{send-U86poBMo.js → send-BKCMpduj.js} +1 -1
- package/dist/{send-DykoKlYI.js → send-BQfKvVlD.js} +1 -1
- package/dist/{send-8q9QYPiA.js → send-BT5Ql2ye.js} +1 -1
- package/dist/{send-DaI66hjg.js → send-BemcAE2V.js} +17 -17
- package/dist/{send-Cko3Fe1q.js → send-Bgy8wvLG.js} +1 -1
- package/dist/{send-Chv2nVdz.js → send-BjjdbJGa.js} +1 -1
- package/dist/{send-DePUUl0n.js → send-BsV3b9K7.js} +1 -1
- package/dist/{send-CNn4lSc_.js → send-C1W930YU.js} +10 -10
- package/dist/{send-CXkYckDj.js → send-Cx7JsbEd.js} +6 -6
- package/dist/{send-D70e4hv9.js → send-CzWn3Ehn.js} +1 -1
- package/dist/{send-sAAxi0lO.js → send-DSjXNvFT.js} +1 -1
- package/dist/{send-DteE8P17.js → send-DX4tQF_D.js} +1 -1
- package/dist/{send-aOiJ3p9P.js → send-Dn2YVwXD.js} +1 -1
- package/dist/{send-DQLm2Isv.js → send-G6kAuPv2.js} +6 -6
- package/dist/{send-BU5PVy1w.js → send-KX-F3Rme.js} +7 -7
- package/dist/{send-BcpcV3aV.js → send-dgsxkR24.js} +1 -1
- package/dist/{server-context-CiH1YsnY.js → server-context-C1i2ojA-.js} +5 -5
- package/dist/{server-context-BZTHNOVm.js → server-context-DcRr8ts9.js} +7 -7
- package/dist/{server-methods-CBpF3sxP.js → server-methods-B2fwSC43.js} +62 -62
- package/dist/{server-methods-DXfwYYVe.js → server-methods-DnG5AoB5.js} +20 -20
- package/dist/{server-node-events-TnKRTq0k.js → server-node-events-B3wjIykx.js} +30 -30
- package/dist/{server-node-events-BEZtLxTZ.js → server-node-events-D4pUDOyw.js} +86 -86
- package/dist/{service-DOrsaM3M.js → service-osK70kTZ.js} +15 -15
- package/dist/{session-CeWcvaiI.js → session-BESYxGUy.js} +1 -1
- package/dist/{session-CPusUkkM.js → session-CN_MquLV.js} +1 -1
- package/dist/{session-BZZF8LcY.js → session-OF22nBJS.js} +1 -1
- package/dist/{session-dirs-DPzjjra2.js → session-dirs-Dgz7kkUM.js} +2 -2
- package/dist/{session-utils-BwU25PcV.js → session-utils-BBxN97Q3.js} +3 -3
- package/dist/{session-ByU5mscY.js → session-ycnNE5Gj.js} +3 -3
- package/dist/{sessions-CbOx7KNK.js → sessions--LmVowda.js} +1 -1
- package/dist/{sessions-Djtxy85B.js → sessions-JAT36UjQ.js} +16 -16
- package/dist/{sessions-CIZPaeq6.js → sessions-dujM2GaL.js} +3 -3
- package/dist/{shared-BxxgWo0P.js → shared-BAXtBVzT.js} +1 -1
- package/dist/{shared-CMVP63yp.js → shared-Bfk_uB2s.js} +3 -3
- package/dist/{shared-DqIothgf.js → shared-DnmJ0ABB.js} +2 -2
- package/dist/{skill-commands-DH2Lk3qm.js → skill-commands-BI3_XEfj.js} +1 -1
- package/dist/{skill-commands-DN7gXPZc.js → skill-commands-BmXFcGSz.js} +7 -7
- package/dist/{skill-scanner-w3DJvw1Q.js → skill-scanner-hMtQbWPV.js} +5 -5
- package/dist/{skills-CRdDiWp5.js → skills-BG8FpqDp.js} +8 -8
- package/dist/{skills-KOrYhpO2.js → skills-D_oCiaQn.js} +1 -1
- package/dist/{skills-cli-B6cCB26N.js → skills-cli-D_-p4hB8.js} +5 -5
- package/dist/{skills-cli-BtRIUFWb.js → skills-cli-pcUdff5w.js} +15 -15
- package/dist/{skills-install-CC3d-KUC.js → skills-install-D8JjjETa.js} +7 -7
- package/dist/{skills-install-DvZ7SSoo.js → skills-install-Por3jP0P.js} +2 -2
- package/dist/{skills-status-Bp5uVeXH.js → skills-status-CKmK1hOo.js} +4 -4
- package/dist/{skills-status-hiXk-VxN.js → skills-status-DODCG6UU.js} +2 -2
- package/dist/{sqlite-BLIYmv8z.js → sqlite-Dx3J_aSE.js} +13 -13
- package/dist/{status-DyffnMr_.js → status-BIq0ufD0.js} +30 -30
- package/dist/{status-CZ0tONou.js → status-CE23CPNp.js} +12 -12
- package/dist/{status-f3ltB_AD.js → status-CXPgJ3wF.js} +4 -4
- package/dist/{status-BE2jrhnJ.js → status-_Ck_41Sc.js} +2 -2
- package/dist/{status.update-CYcTB7Yt.js → status.update-BC06qW-b.js} +1 -1
- package/dist/{status.update-Bb2okScg.js → status.update-Tn399zd8.js} +3 -3
- package/dist/{store-DD3vCMHE.js → store-r1DJSDq-.js} +6 -6
- package/dist/{subagent-registry-zZsnz-pN.js → subagent-registry-CL4ePIya.js} +47 -47
- package/dist/{subsystem-D0XKB3aa.js → subsystem-D9vIQve0.js} +2 -2
- package/dist/{symi-root-MF6_6SCS.js → symi-root-CrGJbkzf.js} +2 -2
- package/dist/{system-cli-CwtiAtpn.js → system-cli-B-McXGqS.js} +3 -3
- package/dist/{system-cli-ffFSaLNO.js → system-cli-CFcB0jkk.js} +16 -16
- package/dist/{systemd-CtXK9LlU.js → systemd-DT6SbCim.js} +7 -7
- package/dist/{systemd-hints-Due8_AmQ.js → systemd-hints-C0DMTZBt.js} +6 -6
- package/dist/{systemd-hints-BUUwCZ6P.js → systemd-hints-DzdsDX7y.js} +1 -1
- package/dist/{systemd-linger-DtkQmjPn.js → systemd-linger-DCskIKcx.js} +2 -2
- package/dist/{table-12S47NpE.js → table-BKlH0YlA.js} +2 -2
- package/dist/{tables-DW0bUdnj.js → tables-iPPN3LK6.js} +1 -1
- package/dist/{tailscale-Bnz9LX8t.js → tailscale-D5dKabOc.js} +3 -3
- package/dist/{target-errors-Da7cSkdR.js → target-errors-7AvoVa10.js} +4 -4
- package/dist/{tokens-DfmvUPwG.js → tokens-rjshCXiN.js} +1 -1
- package/dist/{tool-display-C4ReBzq6.js → tool-display-D8N3rsYt.js} +1 -1
- package/dist/{tool-images-BwX-hf9e.js → tool-images-DvUBlqjX.js} +2 -2
- package/dist/{tool-loop-detection-zh1Z1tsw.js → tool-loop-detection-DZQMPDma.js} +3 -3
- package/dist/{trash-z1I9i1a0.js → trash-DcMh1i4B.js} +1 -1
- package/dist/{tui-DXuBKPLb.js → tui-DTMLSkep.js} +10 -10
- package/dist/{tui-8l-m_uc1.js → tui-cYHBP6Te.js} +4 -4
- package/dist/{tui-cli-p3S0o6fF.js → tui-cli-B7Q3S-tU.js} +41 -41
- package/dist/{tui-cli-kbPF3ECR.js → tui-cli-Dwzv1CWE.js} +11 -11
- package/dist/{unified-runner-DoRO-7cx.js → unified-runner-C-vgxFL9.js} +34 -34
- package/dist/{update-mUrRHDbC.js → update-DdQCEAVD.js} +5 -5
- package/dist/{update-check-DT2_cK30.js → update-check-7EzEjSzb.js} +7 -7
- package/dist/{update-cli-BqG0_1zI.js → update-cli-ChsPWPb-.js} +123 -123
- package/dist/{update-cli-DJuypXrE.js → update-cli-DC8F6H6w.js} +43 -43
- package/dist/{update-runner-k8e3CsmV.js → update-runner-DAzZKXex.js} +1 -1
- package/dist/{update-runner-CgMJg9JC.js → update-runner-DmjXHVnN.js} +17 -17
- package/dist/{utils-CKbAkXt8.js → utils-B-0b9bGM.js} +2 -2
- package/dist/web-CGoJq6aj.js +110 -0
- package/dist/{web-oR_uHOHO.js → web-DHyrjb4O.js} +32 -32
- package/dist/{web-DdTVU2-j.js → web-DYcHjdh6.js} +16 -16
- package/dist/{web-D8psIPtZ.js → web-GMxAEtPW.js} +16 -16
- package/dist/{webhooks-cli-BDYUNuFx.js → webhooks-cli-Dh-LPm5O.js} +13 -13
- package/dist/{webhooks-cli-NIPApN-o.js → webhooks-cli-FAtTDk-t.js} +4 -4
- package/dist/{whatsapp-actions-Bv832OJO.js → whatsapp-actions-BATwVB6H.js} +2 -2
- package/dist/{whatsapp-actions-nCsV7Byz.js → whatsapp-actions-C3MeREA6.js} +24 -24
- package/dist/{whatsapp-actions-DXoOU2ZS.js → whatsapp-actions-CkYUMdA6.js} +2 -2
- package/dist/{whatsapp-actions-BXOOAxsQ.js → whatsapp-actions-yvcUUVqi.js} +2 -2
- package/dist/{widearea-dns-DRQ9Yarp.js → widearea-dns-CyVOLgNE.js} +1 -1
- package/dist/{with-timeout-qiJhLOkG.js → with-timeout-Bp4zv_gp.js} +1 -1
- package/dist/{with-timeout-QT58mpLF.js → with-timeout-BuxPQuvQ.js} +2 -2
- package/dist/{workspace-DoddHbh6.js → workspace-B4H-2N8y.js} +2 -2
- package/dist/{workspace-ct_-gUkv.js → workspace-B51TF6q3.js} +1 -1
- package/dist/{workspace-dirs-CtYGkBgJ.js → workspace-dirs-DODMY2yG.js} +1 -1
- package/dist/{wsl-xNOi_Ch8.js → wsl-q8spwrME.js} +2 -2
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/cli-BZhiBCT1.js +0 -149
- package/dist/register.configure-CD0yhsg2.js +0 -148
- package/dist/web-DDtL8Vp-.js +0 -110
|
@@ -1,112 +1,112 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir, r as STATE_DIR, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cqn-zk3M.js";
|
|
3
|
-
import { B as theme, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as shouldLogVerbose, J as normalizeLogLevel, L as warn, M as logVerbose, O as danger, S as shortenHomePath, V as getChildLogger, X as resolvePreferredSymiTmpDir, d as isRecord$1, i as clampInt, l as escapeRegExp, m as normalizeE164, t as CONFIG_DIR, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./utils-
|
|
3
|
+
import { B as theme, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as shouldLogVerbose, J as normalizeLogLevel, L as warn, M as logVerbose, O as danger, S as shortenHomePath, V as getChildLogger, X as resolvePreferredSymiTmpDir, d as isRecord$1, i as clampInt, l as escapeRegExp, m as normalizeE164, t as CONFIG_DIR, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-EAliFiVK.js";
|
|
5
5
|
import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as getSubagentDepth, b as isCronSessionKey, c as normalizeMainKey, d as sanitizeAgentId, h as normalizeAccountId$2, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isAcpSessionKey, x as isSubagentSessionKey, y as isCronRunSessionKey } from "./session-key-DCt45XZa.js";
|
|
6
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
7
|
-
import { C as createInternalHookEvent, T as triggerInternalHook, _ as clearPluginCommands, b as listPluginCommands, c as normalizeAnyChannelId, f as requireActivePluginRegistry, g as normalizePluginHttpPath, h as createPluginRegistry, l as normalizeChannelId, n as CHAT_CHANNEL_ORDER, p as setActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, v as executePluginCommand, x as matchPluginCommand, y as getPluginCommandSpecs } from "./registry-
|
|
8
|
-
import { d as createNonExitingRuntime, f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
9
|
-
import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-
|
|
10
|
-
import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentModelPrimary, r as resolveAgentConfig, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks, w as filterBootstrapFilesForSession } from "./agent-scope-
|
|
11
|
-
import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Et as markAuthProfileGood, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, H as OLLAMA_NATIVE_BASE_URL, It as withFileLock, K as requireApiKey, Kt as DEFAULT_PROVIDER, Pt as resolveAuthStorePathForDisplay, Q as getShellPathFromLoginShell, Tt as listProfilesForProvider, U as createOllamaStreamFn, Vt as resolveAuthProfileDisplayLabel, W as getApiKeyForModel, Wt as DEFAULT_CONTEXT_TOKENS, X as resolveModelAuthMode, Y as resolveEnvApiKey, c as normalizeModelRef$2, et as resolveShellEnvFallbackTimeoutMs, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, gt as markAuthProfileUsed, ht as markAuthProfileFailure, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, mt as isProfileInCooldown, n as buildConfiguredAllowlistKeys, o as isCliProvider, p as resolveConfiguredModelRef, pt as getSoonestCooldownExpiry, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet, u as parseModelRef, v as resolveSubagentSpawnModelSelection, vt as resolveApiKeyForProfile, wt as dedupeProfileIds, y as resolveThinkingDefault } from "./model-selection-
|
|
6
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
7
|
+
import { C as createInternalHookEvent, T as triggerInternalHook, _ as clearPluginCommands, b as listPluginCommands, c as normalizeAnyChannelId, f as requireActivePluginRegistry, g as normalizePluginHttpPath, h as createPluginRegistry, l as normalizeChannelId, n as CHAT_CHANNEL_ORDER, p as setActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, v as executePluginCommand, x as matchPluginCommand, y as getPluginCommandSpecs } from "./registry-Cja8eT7G.js";
|
|
8
|
+
import { d as createNonExitingRuntime, f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
9
|
+
import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
10
|
+
import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentModelPrimary, r as resolveAgentConfig, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks, w as filterBootstrapFilesForSession } from "./agent-scope-CERuGdJI.js";
|
|
11
|
+
import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Et as markAuthProfileGood, Ft as resolveSymiAgentDir, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, H as OLLAMA_NATIVE_BASE_URL, It as withFileLock, K as requireApiKey, Kt as DEFAULT_PROVIDER, Pt as resolveAuthStorePathForDisplay, Q as getShellPathFromLoginShell, Tt as listProfilesForProvider, U as createOllamaStreamFn, Vt as resolveAuthProfileDisplayLabel, W as getApiKeyForModel, Wt as DEFAULT_CONTEXT_TOKENS, X as resolveModelAuthMode, Y as resolveEnvApiKey, c as normalizeModelRef$2, et as resolveShellEnvFallbackTimeoutMs, ft as resolveAuthProfileOrder, g as resolveModelRefFromString, gt as markAuthProfileUsed, ht as markAuthProfileFailure, i as findNormalizedProviderValue, l as normalizeProviderId, m as resolveDefaultModelForAgent, mt as isProfileInCooldown, n as buildConfiguredAllowlistKeys, o as isCliProvider, p as resolveConfiguredModelRef, pt as getSoonestCooldownExpiry, q as resolveApiKeyForProvider, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet, u as parseModelRef, v as resolveSubagentSpawnModelSelection, vt as resolveApiKeyForProfile, wt as dedupeProfileIds, y as resolveThinkingDefault } from "./model-selection-B2_K06m3.js";
|
|
12
12
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DAu1a6BX.js";
|
|
13
13
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
14
14
|
import { t as parseBooleanValue$1 } from "./boolean-BsqeuxE6.js";
|
|
15
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
16
|
-
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-
|
|
17
|
-
import { $ as parseDiscordTarget, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as createDiscordRestClient, 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 createDiscordClient, 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 resolveDiscordSystemLocation, a as removeReactionDiscord, at as normalizeDiscordAllowList, b as sendWebhookMessageDiscord, bt as fetchChannelPermissionsDiscord, c as formatDiscordComponentEventText, ct as resolveDiscordChannelConfigWithFallback, d as parseDiscordModalCustomId, dt as resolveDiscordOwnerAllowFrom, et as resolveDiscordChannelId, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordShouldRequireMention, g as sendMessageDiscord, gt as formatDiscordUserTag, h as resolveDiscordModalEntry, ht as formatDiscordReactionEmoji, i as removeOwnReactionsDiscord, it as isDiscordGroupAllowedByPolicy, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as resolveDiscordGuildEntry, m as resolveDiscordComponentEntry, mt as shouldEmitDiscordReactionNotification, n as fetchReactionsDiscord, nt as listDiscordDirectoryPeersLive, o as sendDiscordComponentMessage, ot as normalizeDiscordSlug, p as readDiscordComponentSpec, pt as resolveGroupDmAllow, q as deleteChannelDiscord, r as reactMessageDiscord, rt as allowListMatches$1, s as createDiscordFormModal, st as resolveDiscordAllowListMatch, tt as listDiscordDirectoryGroupsLive, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordMemberAccessState, v as sendStickerDiscord, vt as resolveTimestampMs, w as fetchMessageDiscord, wt as chunkDiscordTextWithMode, x as createThreadDiscord, xt as hasAnyGuildPermissionDiscord, y as sendVoiceMessageDiscord, yt as fetchDiscord, z as listGuildChannelsDiscord } from "./send-
|
|
18
|
-
import { A as parseConfigPath, B as resolveAgentMaxConcurrent, C as parseDurationMs, D as setConfigOverride, E as resetConfigOverrides, H as VERSION, M as unsetConfigValueAtPath, O as unsetConfigOverride, T as getConfigOverrides, _ as isInboundPathAllowed, b as resolveIMessageRemoteAttachmentRoots, c as resolveConfigSnapshotHash, h as resolveTelegramCustomCommands, i as loadConfig, j as setConfigValueAtPath, k as getConfigValueAtPath, l as writeConfigFile, m as normalizeTelegramCommandName, o as readConfigFileSnapshot, p as TELEGRAM_COMMAND_NAME_PATTERN, u as validateConfigObjectWithPlugins, w as validateJsonSchemaValue, x as normalizeScpRemoteHost, y as resolveIMessageAttachmentRoots, z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
19
|
-
import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-
|
|
15
|
+
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
16
|
+
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-aT-I_DTX.js";
|
|
17
|
+
import { $ as parseDiscordTarget, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as createDiscordRestClient, 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 createDiscordClient, 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 resolveDiscordSystemLocation, a as removeReactionDiscord, at as normalizeDiscordAllowList, b as sendWebhookMessageDiscord, bt as fetchChannelPermissionsDiscord, c as formatDiscordComponentEventText, ct as resolveDiscordChannelConfigWithFallback, d as parseDiscordModalCustomId, dt as resolveDiscordOwnerAllowFrom, et as resolveDiscordChannelId, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordShouldRequireMention, g as sendMessageDiscord, gt as formatDiscordUserTag, h as resolveDiscordModalEntry, ht as formatDiscordReactionEmoji, i as removeOwnReactionsDiscord, it as isDiscordGroupAllowedByPolicy, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as resolveDiscordGuildEntry, m as resolveDiscordComponentEntry, mt as shouldEmitDiscordReactionNotification, n as fetchReactionsDiscord, nt as listDiscordDirectoryPeersLive, o as sendDiscordComponentMessage, ot as normalizeDiscordSlug, p as readDiscordComponentSpec, pt as resolveGroupDmAllow, q as deleteChannelDiscord, r as reactMessageDiscord, rt as allowListMatches$1, s as createDiscordFormModal, st as resolveDiscordAllowListMatch, tt as listDiscordDirectoryGroupsLive, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordMemberAccessState, v as sendStickerDiscord, vt as resolveTimestampMs, w as fetchMessageDiscord, wt as chunkDiscordTextWithMode, x as createThreadDiscord, xt as hasAnyGuildPermissionDiscord, y as sendVoiceMessageDiscord, yt as fetchDiscord, z as listGuildChannelsDiscord } from "./send-BemcAE2V.js";
|
|
18
|
+
import { A as parseConfigPath, B as resolveAgentMaxConcurrent, C as parseDurationMs, D as setConfigOverride, E as resetConfigOverrides, H as VERSION, M as unsetConfigValueAtPath, O as unsetConfigOverride, T as getConfigOverrides, _ as isInboundPathAllowed, b as resolveIMessageRemoteAttachmentRoots, c as resolveConfigSnapshotHash, h as resolveTelegramCustomCommands, i as loadConfig, j as setConfigValueAtPath, k as getConfigValueAtPath, l as writeConfigFile, m as normalizeTelegramCommandName, o as readConfigFileSnapshot, p as TELEGRAM_COMMAND_NAME_PATTERN, u as validateConfigObjectWithPlugins, w as validateJsonSchemaValue, x as normalizeScpRemoteHost, y as resolveIMessageAttachmentRoots, z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-BFFFJyGG.js";
|
|
19
|
+
import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-BDSRH8nU.js";
|
|
20
20
|
import { a as isPathInsideWithRealpath } from "./legacy-names-Be3msDZo.js";
|
|
21
21
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
22
22
|
import { n as resolveConversationLabel } from "./conversation-label-Bn5j3lUT.js";
|
|
23
23
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CmmmT8IP.js";
|
|
24
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
25
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as minimaxUnderstandImage, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as stripReasoningTagsFromText, y as extractTextFromChatContent } from "./image-
|
|
26
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
24
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-BJ-Z_VGK.js";
|
|
25
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as minimaxUnderstandImage, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as stripReasoningTagsFromText, y as extractTextFromChatContent } from "./image-C53MgRGd.js";
|
|
26
|
+
import { t as ensureSymiModelsJson } from "./models-config-Bkimvp-w.js";
|
|
27
27
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
|
|
28
|
-
import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-
|
|
29
|
-
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-
|
|
30
|
-
import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-
|
|
31
|
-
import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-
|
|
32
|
-
import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-
|
|
28
|
+
import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-Cy5TV1gC.js";
|
|
29
|
+
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-DkdWg8t2.js";
|
|
30
|
+
import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-Cx4CChuw.js";
|
|
31
|
+
import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-DcRr8ts9.js";
|
|
32
|
+
import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-BG8FpqDp.js";
|
|
33
33
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-BF3TeRH2.js";
|
|
34
|
-
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
34
|
+
import { i as resolveExistingPathsWithinRoot, r as DEFAULT_UPLOAD_DIR } from "./paths-BBm9fwuG.js";
|
|
35
35
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-BCYMnxkM.js";
|
|
36
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
37
|
-
import { n as getMediaDir, r as saveMediaBuffer } from "./store-
|
|
38
|
-
import { B as resolveAgentMainSessionKey, C as capArrayByJsonBytes, D as resolveSessionTranscriptCandidates, E as readSessionTitleFieldsFromTranscript, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, J as acquireSessionWriteLock, K as buildGroupDisplayName, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as archiveSessionTranscripts, V as resolveExplicitAgentSessionKey, W as deriveSessionMetaPatch, X as resolveSessionLockMaxHoldFromTimeout, _ as mergeDeliveryContext, a as resolveAndPersistSessionFile, b as normalizeAccountId$3, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as deliveryContextKey, h as deliveryContextFromSession, j as resolveSessionKey, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, v as normalizeDeliveryContext, y as normalizeSessionDeliveryFields, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
39
|
-
import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-
|
|
40
|
-
import { _ as listEnabledDiscordAccounts, a as isWhatsAppGroupJid, c as listEnabledTelegramAccounts, d as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, l as listTelegramAccountIds, m as resolveSlackAppToken, n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId$1, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-
|
|
41
|
-
import { a as logWebSelfId, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-
|
|
42
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
43
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
44
|
-
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-
|
|
36
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-1OJMSAUX.js";
|
|
37
|
+
import { n as getMediaDir, r as saveMediaBuffer } from "./store-r1DJSDq-.js";
|
|
38
|
+
import { B as resolveAgentMainSessionKey, C as capArrayByJsonBytes, D as resolveSessionTranscriptCandidates, E as readSessionTitleFieldsFromTranscript, F as resolveSessionResetType, H as resolveMainSessionKey, I as resolveThreadFlag, J as acquireSessionWriteLock, K as buildGroupDisplayName, L as DEFAULT_RESET_TRIGGERS, M as evaluateSessionFreshness, N as resolveChannelResetConfig, P as resolveSessionResetPolicy, R as resolveFreshSessionTotalTokens, S as archiveSessionTranscripts, V as resolveExplicitAgentSessionKey, W as deriveSessionMetaPatch, X as resolveSessionLockMaxHoldFromTimeout, _ as mergeDeliveryContext, a as resolveAndPersistSessionFile, b as normalizeAccountId$3, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as deliveryContextKey, h as deliveryContextFromSession, j as resolveSessionKey, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, v as normalizeDeliveryContext, y as normalizeSessionDeliveryFields, z as canonicalizeMainSessionAlias } from "./sessions-JAT36UjQ.js";
|
|
39
|
+
import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-BXPWY7iQ.js";
|
|
40
|
+
import { _ as listEnabledDiscordAccounts, a as isWhatsAppGroupJid, c as listEnabledTelegramAccounts, d as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, l as listTelegramAccountIds, m as resolveSlackAppToken, n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId$1, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-CFHHpXfJ.js";
|
|
41
|
+
import { a as logWebSelfId, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-BuiAFBgQ.js";
|
|
42
|
+
import { t as resolveIMessageAccount } from "./accounts-BGGHyl1f.js";
|
|
43
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DrMzc5pU.js";
|
|
44
|
+
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-Cx7JsbEd.js";
|
|
45
45
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, t as resolveDefaultSessionStorePath } from "./paths-CyhzMxFA.js";
|
|
46
46
|
import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-BzbXHcaD.js";
|
|
47
47
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DdnTeoR1.js";
|
|
48
|
-
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-
|
|
49
|
-
import { n as resolveToolDisplay } from "./tool-display-
|
|
48
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-DvUBlqjX.js";
|
|
49
|
+
import { n as resolveToolDisplay } from "./tool-display-D8N3rsYt.js";
|
|
50
50
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Db3da8yR.js";
|
|
51
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
52
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
53
|
-
import { v as runTasksWithConcurrency } from "./sqlite-
|
|
54
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
55
|
-
import { i as isSilentReplyText, n as SYMIPULSE_TOKEN, r as isSilentReplyPrefixText, t as SILENT_REPLY_TOKEN } from "./tokens-
|
|
56
|
-
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$4 } from "./with-timeout-
|
|
57
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeChannelTargetInput, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as buildTargetResolverSignature, h as throwIfAborted, 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 normalizeTargetForProvider, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
58
|
-
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticSymipulse, f as stopDiagnosticSymipulse, 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-
|
|
51
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DOPkVbh3.js";
|
|
52
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, t as getAgentScopedMediaLocalRoots } from "./local-roots-C06RFqzi.js";
|
|
53
|
+
import { v as runTasksWithConcurrency } from "./sqlite-Dx3J_aSE.js";
|
|
54
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-BYr_V3sr.js";
|
|
55
|
+
import { i as isSilentReplyText, n as SYMIPULSE_TOKEN, r as isSilentReplyPrefixText, t as SILENT_REPLY_TOKEN } from "./tokens-rjshCXiN.js";
|
|
56
|
+
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$4 } from "./with-timeout-BuxPQuvQ.js";
|
|
57
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeChannelTargetInput, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as buildTargetResolverSignature, h as throwIfAborted, 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 normalizeTargetForProvider, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-Du7r6Fpd.js";
|
|
58
|
+
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticSymipulse, f as stopDiagnosticSymipulse, 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-nbDIYmw3.js";
|
|
59
59
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CUslJyKP.js";
|
|
60
|
-
import { A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as toLocationContext, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as parseTelegramTarget, K as withTelegramApiErrorLogging, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as formatLocationText, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-
|
|
61
|
-
import { a as buildModelAliasLines, n as resolveModel } from "./model-
|
|
62
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
63
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
64
|
-
import { i as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { n as retryAsync } from "./retry-
|
|
66
|
-
import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-
|
|
67
|
-
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-
|
|
68
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
69
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-
|
|
70
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-
|
|
71
|
-
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-
|
|
72
|
-
import { It as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-
|
|
73
|
-
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-
|
|
60
|
+
import { A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as toLocationContext, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as parseTelegramTarget, K as withTelegramApiErrorLogging, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as formatLocationText, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-C1W930YU.js";
|
|
61
|
+
import { a as buildModelAliasLines, n as resolveModel } from "./model-BoZOGhCX.js";
|
|
62
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CyyxZKEO.js";
|
|
63
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-C5rurQKT.js";
|
|
64
|
+
import { i as resolveMemorySearchConfig } from "./manager-j0fGrRVJ.js";
|
|
65
|
+
import { n as retryAsync } from "./retry-BoS4e4X_.js";
|
|
66
|
+
import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-7AvoVa10.js";
|
|
67
|
+
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-1dhPX1NK.js";
|
|
68
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dh42d7MA.js";
|
|
69
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-CLyPlwVm.js";
|
|
70
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-Ciy5VdDe.js";
|
|
71
|
+
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-CkouCUk6.js";
|
|
72
|
+
import { It as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-C8eOm0zv.js";
|
|
73
|
+
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-CDBn2Uz1.js";
|
|
74
74
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
75
75
|
import { n as normalizePollInput } from "./polls-DhH5YkzN.js";
|
|
76
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
76
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-BOiuJS3t.js";
|
|
77
77
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DTNGXEzX.js";
|
|
78
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
79
|
-
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-
|
|
80
|
-
import { i as readChannelAllowFromStore, l as listPairingChannels, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-
|
|
78
|
+
import { t as convertMarkdownTables } from "./tables-iPPN3LK6.js";
|
|
79
|
+
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-G6kAuPv2.js";
|
|
80
|
+
import { i as readChannelAllowFromStore, l as listPairingChannels, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-BRVmRYf9.js";
|
|
81
81
|
import { t as makeProxyFetch } from "./proxy-DU7W9XSc.js";
|
|
82
82
|
import { i as formatDurationSeconds, r as formatDurationPrecise, t as formatDurationCompact$1 } from "./format-duration-D0B0Uo-I.js";
|
|
83
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
84
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
85
|
-
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-
|
|
86
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
83
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DMkPwpIu.js";
|
|
84
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-BPEDOYuY.js";
|
|
85
|
+
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-BmXFcGSz.js";
|
|
86
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-6eMLkYzE.js";
|
|
87
87
|
import { c as hasNonzeroUsage, l as normalizeUsage, n as loadCostUsageSummary, o as derivePromptTokens, r as loadSessionCostSummary, s as deriveSessionTotalTokens } from "./session-cost-usage-BXAI7CNH.js";
|
|
88
|
-
import { a as normalizeIMessageHandle, c as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, i as isAllowedIMessageSender, o as parseIMessageTarget, r as formatIMessageChatTarget, s as createIMessageRpcClient, t as sendMessageIMessage } from "./send-
|
|
89
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
90
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
88
|
+
import { a as normalizeIMessageHandle, c as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, i as isAllowedIMessageSender, o as parseIMessageTarget, r as formatIMessageChatTarget, s as createIMessageRpcClient, t as sendMessageIMessage } from "./send-KX-F3Rme.js";
|
|
89
|
+
import { r as detectBinary } from "./onboard-helpers-D0Ly4Vjl.js";
|
|
90
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-C_2AZhnk.js";
|
|
91
91
|
import { i as resolveModelCostConfig, n as formatTokenCount$2, r as formatUsd, t as estimateUsageCost } from "./usage-format-BgUx3Bm4.js";
|
|
92
92
|
import { t as getActiveWebListener } from "./active-listener-SKkHHqlN.js";
|
|
93
93
|
import { _ as getTrustedSafeBinDirs, b as buildSafeShellCommand, d as resolveExecApprovals, f as resolveExecApprovalsFromFile, g as resolveSafeBins, h as evaluateShellAllowlist, i as maxAsk, l as recordAllowlistUse, n as addAllowlistEntry, o as minSecurity, u as requiresExecApproval, y as buildSafeBinsShellCommand } from "./exec-approvals-DXM2pQYL.js";
|
|
94
|
-
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, g as normalizePathPrepend, h as mergePathPrepend, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-
|
|
94
|
+
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, g as normalizePathPrepend, h as mergePathPrepend, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-8Bq7DiSa.js";
|
|
95
95
|
import { n as parseNodeList, r as parsePairingList, t as resolveNodeIdFromCandidates } from "./node-match-CdUiymRU.js";
|
|
96
96
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CaTOIqVn.js";
|
|
97
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-
|
|
98
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
97
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-BL5fmuL6.js";
|
|
98
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-TaZG6efS.js";
|
|
99
99
|
import { i as parseAbsoluteTimeMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-CvFURHzt.js";
|
|
100
100
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-CafH8-8D.js";
|
|
101
|
-
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-
|
|
101
|
+
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-1-tfXZ8A.js";
|
|
102
102
|
import { t as parseTimeoutMs } from "./parse-timeout-2S5vp0-9.js";
|
|
103
103
|
import { createRequire } from "node:module";
|
|
104
104
|
import { fileURLToPath } from "node:url";
|
|
105
105
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
106
106
|
import os, { homedir } from "node:os";
|
|
107
107
|
import path from "node:path";
|
|
108
|
-
import
|
|
109
|
-
import
|
|
108
|
+
import JSON5 from "json5";
|
|
109
|
+
import fs$1 from "node:fs/promises";
|
|
110
110
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
111
111
|
import { inspect } from "node:util";
|
|
112
112
|
import crypto, { createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -2894,7 +2894,7 @@ async function createModelSelectionState(params) {
|
|
|
2894
2894
|
}
|
|
2895
2895
|
}
|
|
2896
2896
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
2897
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
2897
|
+
const { ensureAuthProfileStore } = await import("./model-selection-B2_K06m3.js").then((n) => n.dt);
|
|
2898
2898
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
2899
2899
|
const providerKey = normalizeProviderId(provider);
|
|
2900
2900
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -7386,7 +7386,7 @@ function normalizeSessionKey(value) {
|
|
|
7386
7386
|
function readSessionStore(storePath) {
|
|
7387
7387
|
try {
|
|
7388
7388
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
7389
|
-
const parsed =
|
|
7389
|
+
const parsed = JSON5.parse(raw);
|
|
7390
7390
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
7391
7391
|
} catch {}
|
|
7392
7392
|
return {};
|
|
@@ -10416,7 +10416,7 @@ async function routeReply(params) {
|
|
|
10416
10416
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
10417
10417
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
10418
10418
|
try {
|
|
10419
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10419
|
+
const { deliverOutboundPayloads } = await import("./deliver-Du7r6Fpd.js").then((n) => n.n);
|
|
10420
10420
|
return {
|
|
10421
10421
|
ok: true,
|
|
10422
10422
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -12965,8 +12965,8 @@ async function describeStickerImage(params) {
|
|
|
12965
12965
|
const { provider, model } = resolved;
|
|
12966
12966
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
12967
12967
|
try {
|
|
12968
|
-
const buffer = await
|
|
12969
|
-
const { describeImageWithModel } = await import("./image-
|
|
12968
|
+
const buffer = await fs$1.readFile(imagePath);
|
|
12969
|
+
const { describeImageWithModel } = await import("./image-C53MgRGd.js").then((n) => n.n);
|
|
12970
12970
|
return (await describeImageWithModel({
|
|
12971
12971
|
buffer,
|
|
12972
12972
|
fileName: "sticker.webp",
|
|
@@ -13389,7 +13389,7 @@ function createWhatsAppLoginTool() {
|
|
|
13389
13389
|
force: Type.Optional(Type.Boolean())
|
|
13390
13390
|
}),
|
|
13391
13391
|
execute: async (_toolCallId, args) => {
|
|
13392
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
13392
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-JDtM1QAp.js");
|
|
13393
13393
|
if ((args?.action ?? "start") === "wait") {
|
|
13394
13394
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
13395
13395
|
return {
|
|
@@ -15605,7 +15605,7 @@ async function preflightDiscordMessage(params) {
|
|
|
15605
15605
|
let preflightTranscript;
|
|
15606
15606
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
15607
15607
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
15608
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
15608
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-gM3Qwrcb.js");
|
|
15609
15609
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
15610
15610
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
15611
15611
|
ctx: {
|
|
@@ -21611,18 +21611,18 @@ function appendImagePathsToPrompt(prompt, paths) {
|
|
|
21611
21611
|
return `${trimmed}${trimmed ? "\n\n" : ""}${paths.join("\n")}`;
|
|
21612
21612
|
}
|
|
21613
21613
|
async function writeCliImages(images) {
|
|
21614
|
-
const tempDir = await
|
|
21614
|
+
const tempDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "symi-cli-images-"));
|
|
21615
21615
|
const paths = [];
|
|
21616
21616
|
for (let i = 0; i < images.length; i += 1) {
|
|
21617
21617
|
const image = images[i];
|
|
21618
21618
|
const ext = resolveImageExtension(image.mimeType);
|
|
21619
21619
|
const filePath = path.join(tempDir, `image-${i + 1}.${ext}`);
|
|
21620
21620
|
const buffer = Buffer.from(image.data, "base64");
|
|
21621
|
-
await
|
|
21621
|
+
await fs$1.writeFile(filePath, buffer, { mode: 384 });
|
|
21622
21622
|
paths.push(filePath);
|
|
21623
21623
|
}
|
|
21624
21624
|
const cleanup = async () => {
|
|
21625
|
-
await
|
|
21625
|
+
await fs$1.rm(tempDir, {
|
|
21626
21626
|
recursive: true,
|
|
21627
21627
|
force: true
|
|
21628
21628
|
});
|
|
@@ -22749,12 +22749,12 @@ function getQueuedFileWriter(writers, filePath) {
|
|
|
22749
22749
|
const existing = writers.get(filePath);
|
|
22750
22750
|
if (existing) return existing;
|
|
22751
22751
|
const dir = path.dirname(filePath);
|
|
22752
|
-
const ready =
|
|
22752
|
+
const ready = fs$1.mkdir(dir, { recursive: true }).catch(() => void 0);
|
|
22753
22753
|
let queue = Promise.resolve();
|
|
22754
22754
|
const writer = {
|
|
22755
22755
|
filePath,
|
|
22756
22756
|
write: (line) => {
|
|
22757
|
-
queue = queue.then(() => ready).then(() =>
|
|
22757
|
+
queue = queue.then(() => ready).then(() => fs$1.appendFile(filePath, line, "utf8")).catch(() => void 0);
|
|
22758
22758
|
}
|
|
22759
22759
|
};
|
|
22760
22760
|
writers.set(filePath, writer);
|
|
@@ -25269,7 +25269,7 @@ async function recordLoopOutcome(args) {
|
|
|
25269
25269
|
if (!args.ctx?.sessionKey) return;
|
|
25270
25270
|
try {
|
|
25271
25271
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CUslJyKP.js").then((n) => n.n);
|
|
25272
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
25272
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-DZQMPDma.js");
|
|
25273
25273
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
25274
25274
|
sessionKey: args.ctx.sessionKey,
|
|
25275
25275
|
sessionId: args.ctx?.agentId
|
|
@@ -25290,8 +25290,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
25290
25290
|
const params = args.params;
|
|
25291
25291
|
if (args.ctx?.sessionKey) {
|
|
25292
25292
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CUslJyKP.js").then((n) => n.n);
|
|
25293
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
25294
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
25293
|
+
const { logToolLoopAction } = await import("./diagnostic-nbDIYmw3.js").then((n) => n.n);
|
|
25294
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DZQMPDma.js");
|
|
25295
25295
|
const sessionState = getDiagnosticSessionState({
|
|
25296
25296
|
sessionKey: args.ctx.sessionKey,
|
|
25297
25297
|
sessionId: args.ctx?.agentId
|
|
@@ -26170,7 +26170,7 @@ function repairToolUseResultPairing(messages) {
|
|
|
26170
26170
|
*/
|
|
26171
26171
|
async function readSessionFile(sessionFile) {
|
|
26172
26172
|
try {
|
|
26173
|
-
return await
|
|
26173
|
+
return await fs$1.readFile(sessionFile, "utf-8");
|
|
26174
26174
|
} catch {
|
|
26175
26175
|
return null;
|
|
26176
26176
|
}
|
|
@@ -26179,8 +26179,8 @@ async function writeAtomically(sessionFile, text) {
|
|
|
26179
26179
|
const dir = path.dirname(sessionFile);
|
|
26180
26180
|
const base = path.basename(sessionFile);
|
|
26181
26181
|
const tmp = path.join(dir, `.${base}.prune-${process.pid}-${Date.now()}.tmp`);
|
|
26182
|
-
await
|
|
26183
|
-
await
|
|
26182
|
+
await fs$1.writeFile(tmp, text, "utf-8");
|
|
26183
|
+
await fs$1.rename(tmp, sessionFile);
|
|
26184
26184
|
}
|
|
26185
26185
|
/**
|
|
26186
26186
|
* Remove empty assistant JSONL entries from the session file.
|
|
@@ -26248,7 +26248,7 @@ async function repairSessionFileIfNeeded(params) {
|
|
|
26248
26248
|
};
|
|
26249
26249
|
let content;
|
|
26250
26250
|
try {
|
|
26251
|
-
content = await
|
|
26251
|
+
content = await fs$1.readFile(sessionFile, "utf-8");
|
|
26252
26252
|
} catch (err) {
|
|
26253
26253
|
if (err?.code === "ENOENT") return {
|
|
26254
26254
|
repaired: false,
|
|
@@ -26296,15 +26296,15 @@ async function repairSessionFileIfNeeded(params) {
|
|
|
26296
26296
|
const backupPath = `${sessionFile}.bak-${process.pid}-${Date.now()}`;
|
|
26297
26297
|
const tmpPath = `${sessionFile}.repair-${process.pid}-${Date.now()}.tmp`;
|
|
26298
26298
|
try {
|
|
26299
|
-
const stat = await
|
|
26300
|
-
await
|
|
26301
|
-
if (stat) await
|
|
26302
|
-
await
|
|
26303
|
-
if (stat) await
|
|
26304
|
-
await
|
|
26299
|
+
const stat = await fs$1.stat(sessionFile).catch(() => null);
|
|
26300
|
+
await fs$1.writeFile(backupPath, content, "utf-8");
|
|
26301
|
+
if (stat) await fs$1.chmod(backupPath, stat.mode);
|
|
26302
|
+
await fs$1.writeFile(tmpPath, cleaned, "utf-8");
|
|
26303
|
+
if (stat) await fs$1.chmod(tmpPath, stat.mode);
|
|
26304
|
+
await fs$1.rename(tmpPath, sessionFile);
|
|
26305
26305
|
} catch (err) {
|
|
26306
26306
|
try {
|
|
26307
|
-
await
|
|
26307
|
+
await fs$1.unlink(tmpPath);
|
|
26308
26308
|
} catch (cleanupErr) {
|
|
26309
26309
|
params.warn?.(`session file repair cleanup failed: ${cleanupErr instanceof Error ? cleanupErr.message : "unknown error"} (${path.basename(tmpPath)})`);
|
|
26310
26310
|
}
|
|
@@ -26715,7 +26715,7 @@ function isInPoisonRange(version) {
|
|
|
26715
26715
|
*/
|
|
26716
26716
|
async function checkSessionPoison(sessionFile) {
|
|
26717
26717
|
try {
|
|
26718
|
-
const firstLine = (await
|
|
26718
|
+
const firstLine = (await fs$1.readFile(sessionFile, "utf-8")).split("\n")[0];
|
|
26719
26719
|
if (!firstLine) return null;
|
|
26720
26720
|
const header = JSON.parse(firstLine);
|
|
26721
26721
|
if (header.type !== "session") return null;
|
|
@@ -26733,7 +26733,7 @@ async function checkSessionPoison(sessionFile) {
|
|
|
26733
26733
|
*/
|
|
26734
26734
|
async function archivePoisonedSession(sessionFile) {
|
|
26735
26735
|
const archiveName = `${sessionFile}.archived-poison.${(/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-")}`;
|
|
26736
|
-
await
|
|
26736
|
+
await fs$1.rename(sessionFile, archiveName);
|
|
26737
26737
|
return archiveName;
|
|
26738
26738
|
}
|
|
26739
26739
|
/**
|
|
@@ -26742,14 +26742,14 @@ async function archivePoisonedSession(sessionFile) {
|
|
|
26742
26742
|
*/
|
|
26743
26743
|
async function stampSessionVersion(sessionFile) {
|
|
26744
26744
|
try {
|
|
26745
|
-
const lines = (await
|
|
26745
|
+
const lines = (await fs$1.readFile(sessionFile, "utf-8")).split("\n");
|
|
26746
26746
|
if (lines.length === 0) return;
|
|
26747
26747
|
const header = JSON.parse(lines[0]);
|
|
26748
26748
|
if (header.type !== "session") return;
|
|
26749
26749
|
if (header.symiVersion === VERSION) return;
|
|
26750
26750
|
header.symiVersion = VERSION;
|
|
26751
26751
|
lines[0] = JSON.stringify(header);
|
|
26752
|
-
await
|
|
26752
|
+
await fs$1.writeFile(sessionFile, lines.join("\n"), "utf-8");
|
|
26753
26753
|
} catch {}
|
|
26754
26754
|
}
|
|
26755
26755
|
/**
|
|
@@ -29087,7 +29087,7 @@ async function prewarmSessionFile(sessionFile) {
|
|
|
29087
29087
|
if (!isSessionManagerCacheEnabled()) return;
|
|
29088
29088
|
if (isSessionManagerCached(sessionFile)) return;
|
|
29089
29089
|
try {
|
|
29090
|
-
const handle = await
|
|
29090
|
+
const handle = await fs$1.open(sessionFile, "r");
|
|
29091
29091
|
try {
|
|
29092
29092
|
const buffer = Buffer$1.alloc(4096);
|
|
29093
29093
|
await handle.read(buffer, 0, buffer.length, 0);
|
|
@@ -29121,7 +29121,7 @@ async function prepareSessionManagerForRun(params) {
|
|
|
29121
29121
|
return;
|
|
29122
29122
|
}
|
|
29123
29123
|
if (params.hadSessionFile && header && !hasAssistant) {
|
|
29124
|
-
await
|
|
29124
|
+
await fs$1.writeFile(params.sessionFile, "", "utf-8");
|
|
29125
29125
|
sm.fileEntries = [header];
|
|
29126
29126
|
sm.byId?.clear?.();
|
|
29127
29127
|
sm.labelsById?.clear?.();
|
|
@@ -29766,7 +29766,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
29766
29766
|
const prevCwd = process.cwd();
|
|
29767
29767
|
const runAbortController = new AbortController();
|
|
29768
29768
|
log$7.debug(`embedded run start: runId=${params.runId} sessionId=${params.sessionId} provider=${params.provider} model=${params.modelId} thinking=${params.thinkLevel} messageChannel=${params.messageChannel ?? params.messageProvider ?? "unknown"}`);
|
|
29769
|
-
await
|
|
29769
|
+
await fs$1.mkdir(resolvedWorkspace, { recursive: true });
|
|
29770
29770
|
const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
|
|
29771
29771
|
const sandbox = await resolveSandboxContext({
|
|
29772
29772
|
config: params.config,
|
|
@@ -29774,7 +29774,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
29774
29774
|
workspaceDir: resolvedWorkspace
|
|
29775
29775
|
});
|
|
29776
29776
|
const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
|
|
29777
|
-
await
|
|
29777
|
+
await fs$1.mkdir(effectiveWorkspace, { recursive: true });
|
|
29778
29778
|
let restoreSkillEnv;
|
|
29779
29779
|
process.chdir(effectiveWorkspace);
|
|
29780
29780
|
try {
|
|
@@ -30011,7 +30011,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
30011
30011
|
sessionFile: params.sessionFile,
|
|
30012
30012
|
warn: (message) => log$7.warn(message)
|
|
30013
30013
|
});
|
|
30014
|
-
const hadSessionFile = await
|
|
30014
|
+
const hadSessionFile = await fs$1.stat(params.sessionFile).then(() => true).catch(() => false);
|
|
30015
30015
|
const transcriptPolicy = resolveTranscriptPolicy({
|
|
30016
30016
|
modelApi: params.model?.api,
|
|
30017
30017
|
provider: params.provider,
|
|
@@ -31083,7 +31083,7 @@ async function runEmbeddedPiAgent(params) {
|
|
|
31083
31083
|
}
|
|
31084
31084
|
runLoopIterations += 1;
|
|
31085
31085
|
attemptedThinking.add(thinkLevel);
|
|
31086
|
-
await
|
|
31086
|
+
await fs$1.mkdir(resolvedWorkspace, { recursive: true });
|
|
31087
31087
|
const prompt = provider === "anthropic" ? scrubAnthropicRefusalMagic(params.prompt) : params.prompt;
|
|
31088
31088
|
const attempt = await runEmbeddedAttempt({
|
|
31089
31089
|
sessionId: params.sessionId,
|
|
@@ -31807,27 +31807,27 @@ async function runAgentTurn(params) {
|
|
|
31807
31807
|
function createDefaultDeps() {
|
|
31808
31808
|
return {
|
|
31809
31809
|
sendMessageWhatsApp: async (...args) => {
|
|
31810
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
31810
|
+
const { sendMessageWhatsApp } = await import("./web-CGoJq6aj.js");
|
|
31811
31811
|
return await sendMessageWhatsApp(...args);
|
|
31812
31812
|
},
|
|
31813
31813
|
sendMessageTelegram: async (...args) => {
|
|
31814
|
-
const { sendMessageTelegram } = await import("./send-
|
|
31814
|
+
const { sendMessageTelegram } = await import("./send-C1W930YU.js").then((n) => n.l);
|
|
31815
31815
|
return await sendMessageTelegram(...args);
|
|
31816
31816
|
},
|
|
31817
31817
|
sendMessageDiscord: async (...args) => {
|
|
31818
|
-
const { sendMessageDiscord } = await import("./send-
|
|
31818
|
+
const { sendMessageDiscord } = await import("./send-BemcAE2V.js").then((n) => n.t);
|
|
31819
31819
|
return await sendMessageDiscord(...args);
|
|
31820
31820
|
},
|
|
31821
31821
|
sendMessageSlack: async (...args) => {
|
|
31822
|
-
const { sendMessageSlack } = await import("./send-
|
|
31822
|
+
const { sendMessageSlack } = await import("./send-Cx7JsbEd.js").then((n) => n.n);
|
|
31823
31823
|
return await sendMessageSlack(...args);
|
|
31824
31824
|
},
|
|
31825
31825
|
sendMessageSignal: async (...args) => {
|
|
31826
|
-
const { sendMessageSignal } = await import("./send-
|
|
31826
|
+
const { sendMessageSignal } = await import("./send-G6kAuPv2.js").then((n) => n.i);
|
|
31827
31827
|
return await sendMessageSignal(...args);
|
|
31828
31828
|
},
|
|
31829
31829
|
sendMessageIMessage: async (...args) => {
|
|
31830
|
-
const { sendMessageIMessage } = await import("./send-
|
|
31830
|
+
const { sendMessageIMessage } = await import("./send-KX-F3Rme.js").then((n) => n.n);
|
|
31831
31831
|
return await sendMessageIMessage(...args);
|
|
31832
31832
|
}
|
|
31833
31833
|
};
|
|
@@ -33009,10 +33009,10 @@ function estimateDurationSeconds(pcm) {
|
|
|
33009
33009
|
return pcm.length / (bytesPerSample * SAMPLE_RATE);
|
|
33010
33010
|
}
|
|
33011
33011
|
async function writeWavFile(pcm) {
|
|
33012
|
-
const tempDir = await
|
|
33012
|
+
const tempDir = await fs$1.mkdtemp(path.join(resolvePreferredSymiTmpDir(), "discord-voice-"));
|
|
33013
33013
|
const filePath = path.join(tempDir, `segment-${randomUUID()}.wav`);
|
|
33014
33014
|
const wav = buildWavBuffer(pcm);
|
|
33015
|
-
await
|
|
33015
|
+
await fs$1.writeFile(filePath, wav);
|
|
33016
33016
|
scheduleTempCleanup(tempDir);
|
|
33017
33017
|
return {
|
|
33018
33018
|
path: filePath,
|
|
@@ -33021,7 +33021,7 @@ async function writeWavFile(pcm) {
|
|
|
33021
33021
|
}
|
|
33022
33022
|
function scheduleTempCleanup(tempDir, delayMs = 1800 * 1e3) {
|
|
33023
33023
|
setTimeout(() => {
|
|
33024
|
-
|
|
33024
|
+
fs$1.rm(tempDir, {
|
|
33025
33025
|
recursive: true,
|
|
33026
33026
|
force: true
|
|
33027
33027
|
}).catch((err) => {
|
|
@@ -36760,7 +36760,7 @@ function normalizeAllowList$2(list) {
|
|
|
36760
36760
|
async function detectRemoteHostFromCliPath(cliPath) {
|
|
36761
36761
|
try {
|
|
36762
36762
|
const expanded = cliPath.startsWith("~") ? cliPath.replace(/^~/, process.env.HOME ?? "") : cliPath;
|
|
36763
|
-
const content = await
|
|
36763
|
+
const content = await fs$1.readFile(expanded, "utf8");
|
|
36764
36764
|
const userHostMatch = content.match(/\bssh\b[^\n]*?\s+([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+)/);
|
|
36765
36765
|
if (userHostMatch) return userHostMatch[1];
|
|
36766
36766
|
return content.match(/\bssh\b[^\n]*?\s+([a-zA-Z][a-zA-Z0-9._-]*)\s+\S*\bimsg\b/)?.[1];
|
|
@@ -42975,7 +42975,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
42975
42975
|
}
|
|
42976
42976
|
let commandsRegistry;
|
|
42977
42977
|
async function getCommandsRegistry() {
|
|
42978
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
42978
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CkouCUk6.js").then((n) => n.n);
|
|
42979
42979
|
return commandsRegistry;
|
|
42980
42980
|
}
|
|
42981
42981
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -43317,11 +43317,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
43317
43317
|
const channelName = channelInfo?.name;
|
|
43318
43318
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
43319
43319
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
43320
|
-
import("./resolve-route-
|
|
43320
|
+
import("./resolve-route-DMkPwpIu.js").then((n) => n.r),
|
|
43321
43321
|
import("./inbound-context-CmmmT8IP.js").then((n) => n.n),
|
|
43322
43322
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
43323
43323
|
]);
|
|
43324
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-Bn5j3lUT.js").then((n) => n.t), import("./reply-prefix-
|
|
43324
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-Bn5j3lUT.js").then((n) => n.t), import("./reply-prefix-CyyxZKEO.js").then((n) => n.n)]);
|
|
43325
43325
|
const route = resolveAgentRoute({
|
|
43326
43326
|
cfg,
|
|
43327
43327
|
channel: "slack",
|
|
@@ -43378,9 +43378,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
43378
43378
|
});
|
|
43379
43379
|
const deliverSlashPayloads = async (replies) => {
|
|
43380
43380
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
43381
|
-
import("./replies-
|
|
43382
|
-
import("./chunk-
|
|
43383
|
-
import("./markdown-tables-
|
|
43381
|
+
import("./replies-BPEDOYuY.js").then((n) => n.r),
|
|
43382
|
+
import("./chunk-1dhPX1NK.js").then((n) => n.s),
|
|
43383
|
+
import("./markdown-tables-Dh42d7MA.js").then((n) => n.t)
|
|
43384
43384
|
]);
|
|
43385
43385
|
await deliverSlackSlashReplies({
|
|
43386
43386
|
replies,
|
|
@@ -43433,7 +43433,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
43433
43433
|
let nativeCommands = [];
|
|
43434
43434
|
if (nativeEnabled) {
|
|
43435
43435
|
reg = await getCommandsRegistry();
|
|
43436
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
43436
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BmXFcGSz.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
43437
43437
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
43438
43438
|
skillCommands,
|
|
43439
43439
|
provider: "slack"
|
|
@@ -48072,7 +48072,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
48072
48072
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
48073
48073
|
let preflightTranscript;
|
|
48074
48074
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
48075
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
48075
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-gM3Qwrcb.js");
|
|
48076
48076
|
preflightTranscript = await transcribeFirstAudio({
|
|
48077
48077
|
ctx: {
|
|
48078
48078
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -49840,7 +49840,7 @@ function safeParseState(raw) {
|
|
|
49840
49840
|
async function readTelegramUpdateOffset(params) {
|
|
49841
49841
|
const filePath = resolveTelegramUpdateOffsetPath(params.accountId, params.env);
|
|
49842
49842
|
try {
|
|
49843
|
-
return safeParseState(await
|
|
49843
|
+
return safeParseState(await fs$1.readFile(filePath, "utf-8"))?.lastUpdateId ?? null;
|
|
49844
49844
|
} catch (err) {
|
|
49845
49845
|
if (err.code === "ENOENT") return null;
|
|
49846
49846
|
return null;
|
|
@@ -49849,7 +49849,7 @@ async function readTelegramUpdateOffset(params) {
|
|
|
49849
49849
|
async function writeTelegramUpdateOffset(params) {
|
|
49850
49850
|
const filePath = resolveTelegramUpdateOffsetPath(params.accountId, params.env);
|
|
49851
49851
|
const dir = path.dirname(filePath);
|
|
49852
|
-
await
|
|
49852
|
+
await fs$1.mkdir(dir, {
|
|
49853
49853
|
recursive: true,
|
|
49854
49854
|
mode: 448
|
|
49855
49855
|
});
|
|
@@ -49858,14 +49858,14 @@ async function writeTelegramUpdateOffset(params) {
|
|
|
49858
49858
|
version: STORE_VERSION,
|
|
49859
49859
|
lastUpdateId: params.updateId
|
|
49860
49860
|
};
|
|
49861
|
-
await
|
|
49862
|
-
await
|
|
49863
|
-
await
|
|
49861
|
+
await fs$1.writeFile(tmp, `${JSON.stringify(payload, null, 2)}\n`, { encoding: "utf-8" });
|
|
49862
|
+
await fs$1.chmod(tmp, 384);
|
|
49863
|
+
await fs$1.rename(tmp, filePath);
|
|
49864
49864
|
}
|
|
49865
49865
|
async function deleteTelegramUpdateOffset(params) {
|
|
49866
49866
|
const filePath = resolveTelegramUpdateOffsetPath(params.accountId, params.env);
|
|
49867
49867
|
try {
|
|
49868
|
-
await
|
|
49868
|
+
await fs$1.unlink(filePath);
|
|
49869
49869
|
} catch (err) {
|
|
49870
49870
|
if (err.code === "ENOENT") return;
|
|
49871
49871
|
throw err;
|
|
@@ -50226,23 +50226,23 @@ let webLoginQrPromise = null;
|
|
|
50226
50226
|
let webChannelPromise = null;
|
|
50227
50227
|
let whatsappActionsPromise = null;
|
|
50228
50228
|
function loadWebOutbound() {
|
|
50229
|
-
webOutboundPromise ??= import("./outbound-
|
|
50229
|
+
webOutboundPromise ??= import("./outbound-m4c5ikTk.js").then((n) => n.t);
|
|
50230
50230
|
return webOutboundPromise;
|
|
50231
50231
|
}
|
|
50232
50232
|
function loadWebLogin() {
|
|
50233
|
-
webLoginPromise ??= import("./login-
|
|
50233
|
+
webLoginPromise ??= import("./login-BCagDpQZ.js").then((n) => n.n);
|
|
50234
50234
|
return webLoginPromise;
|
|
50235
50235
|
}
|
|
50236
50236
|
function loadWebLoginQr() {
|
|
50237
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
50237
|
+
webLoginQrPromise ??= import("./login-qr-JDtM1QAp.js");
|
|
50238
50238
|
return webLoginQrPromise;
|
|
50239
50239
|
}
|
|
50240
50240
|
function loadWebChannel() {
|
|
50241
|
-
webChannelPromise ??= import("./web-
|
|
50241
|
+
webChannelPromise ??= import("./web-CGoJq6aj.js");
|
|
50242
50242
|
return webChannelPromise;
|
|
50243
50243
|
}
|
|
50244
50244
|
function loadWhatsAppActions() {
|
|
50245
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
50245
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-C3MeREA6.js");
|
|
50246
50246
|
return whatsappActionsPromise;
|
|
50247
50247
|
}
|
|
50248
50248
|
function createPluginRuntime() {
|
|
@@ -51009,7 +51009,7 @@ function resolvePluginTools(params) {
|
|
|
51009
51009
|
//#endregion
|
|
51010
51010
|
//#region src/agents/apply-patch-update.ts
|
|
51011
51011
|
async function defaultReadFile(filePath) {
|
|
51012
|
-
return
|
|
51012
|
+
return fs$1.readFile(filePath, "utf8");
|
|
51013
51013
|
}
|
|
51014
51014
|
async function applyUpdateHunk(filePath, chunks, options) {
|
|
51015
51015
|
const originalLines = (await (options?.readFile ?? defaultReadFile)(filePath).catch((err) => {
|
|
@@ -51253,10 +51253,10 @@ function resolvePatchFileOps(options) {
|
|
|
51253
51253
|
};
|
|
51254
51254
|
}
|
|
51255
51255
|
return {
|
|
51256
|
-
readFile: (filePath) =>
|
|
51257
|
-
writeFile: (filePath, content) =>
|
|
51258
|
-
remove: (filePath) =>
|
|
51259
|
-
mkdirp: (dir) =>
|
|
51256
|
+
readFile: (filePath) => fs$1.readFile(filePath, "utf8"),
|
|
51257
|
+
writeFile: (filePath, content) => fs$1.writeFile(filePath, content, "utf8"),
|
|
51258
|
+
remove: (filePath) => fs$1.rm(filePath),
|
|
51259
|
+
mkdirp: (dir) => fs$1.mkdir(dir, { recursive: true }).then(() => {})
|
|
51260
51260
|
};
|
|
51261
51261
|
}
|
|
51262
51262
|
async function ensureDir(filePath, ops) {
|
|
@@ -51977,7 +51977,7 @@ async function resolveSandboxWorkdir(params) {
|
|
|
51977
51977
|
cwd: process.cwd(),
|
|
51978
51978
|
root: params.sandbox.workspaceDir
|
|
51979
51979
|
});
|
|
51980
|
-
if (!(await
|
|
51980
|
+
if (!(await fs$1.stat(resolved.resolved)).isDirectory()) throw new Error("workdir is not a directory");
|
|
51981
51981
|
const relative = resolved.relative ? resolved.relative.split(path.sep).join(path.posix.sep) : "";
|
|
51982
51982
|
const containerWorkdir = relative ? path.posix.join(params.sandbox.containerWorkdir, relative) : params.sandbox.containerWorkdir;
|
|
51983
51983
|
return {
|
|
@@ -52958,13 +52958,13 @@ async function validateScriptFileForShellBleed(params) {
|
|
|
52958
52958
|
cwd: params.workdir,
|
|
52959
52959
|
root: params.workdir
|
|
52960
52960
|
});
|
|
52961
|
-
stat = await
|
|
52961
|
+
stat = await fs$1.stat(absPath);
|
|
52962
52962
|
} catch {
|
|
52963
52963
|
return;
|
|
52964
52964
|
}
|
|
52965
52965
|
if (!stat.isFile()) return;
|
|
52966
52966
|
if (stat.size > 512 * 1024) return;
|
|
52967
|
-
const content = await
|
|
52967
|
+
const content = await fs$1.readFile(absPath, "utf-8");
|
|
52968
52968
|
const first = /\$[A-Z_][A-Z0-9_]{1,}/g.exec(content);
|
|
52969
52969
|
if (first) {
|
|
52970
52970
|
const idx = first.index;
|
|
@@ -55638,7 +55638,7 @@ async function readJsonlFromPath(jsonlPath) {
|
|
|
55638
55638
|
if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${resolved}`);
|
|
55639
55639
|
throw new Error("jsonlPath outside allowed roots");
|
|
55640
55640
|
}
|
|
55641
|
-
const canonical = await
|
|
55641
|
+
const canonical = await fs$1.realpath(resolved).catch(() => resolved);
|
|
55642
55642
|
if (!isInboundPathAllowed({
|
|
55643
55643
|
filePath: canonical,
|
|
55644
55644
|
roots
|
|
@@ -55646,7 +55646,7 @@ async function readJsonlFromPath(jsonlPath) {
|
|
|
55646
55646
|
if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${canonical}`);
|
|
55647
55647
|
throw new Error("jsonlPath outside allowed roots");
|
|
55648
55648
|
}
|
|
55649
|
-
return await
|
|
55649
|
+
return await fs$1.readFile(canonical, "utf8");
|
|
55650
55650
|
}
|
|
55651
55651
|
const CanvasToolSchema = Type.Object({
|
|
55652
55652
|
action: stringEnum(CANVAS_ACTIONS),
|
|
@@ -56427,27 +56427,27 @@ function resolveRestartSentinelPath(env = process.env) {
|
|
|
56427
56427
|
}
|
|
56428
56428
|
async function writeRestartSentinel(payload, env = process.env) {
|
|
56429
56429
|
const filePath = resolveRestartSentinelPath(env);
|
|
56430
|
-
await
|
|
56430
|
+
await fs$1.mkdir(path.dirname(filePath), { recursive: true });
|
|
56431
56431
|
const data = {
|
|
56432
56432
|
version: 1,
|
|
56433
56433
|
payload
|
|
56434
56434
|
};
|
|
56435
|
-
await
|
|
56435
|
+
await fs$1.writeFile(filePath, `${JSON.stringify(data, null, 2)}\n`, "utf-8");
|
|
56436
56436
|
return filePath;
|
|
56437
56437
|
}
|
|
56438
56438
|
async function readRestartSentinel(env = process.env) {
|
|
56439
56439
|
const filePath = resolveRestartSentinelPath(env);
|
|
56440
56440
|
try {
|
|
56441
|
-
const raw = await
|
|
56441
|
+
const raw = await fs$1.readFile(filePath, "utf-8");
|
|
56442
56442
|
let parsed;
|
|
56443
56443
|
try {
|
|
56444
56444
|
parsed = JSON.parse(raw);
|
|
56445
56445
|
} catch {
|
|
56446
|
-
await
|
|
56446
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
56447
56447
|
return null;
|
|
56448
56448
|
}
|
|
56449
56449
|
if (!parsed || parsed.version !== 1 || !parsed.payload) {
|
|
56450
|
-
await
|
|
56450
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
56451
56451
|
return null;
|
|
56452
56452
|
}
|
|
56453
56453
|
return parsed;
|
|
@@ -56459,7 +56459,7 @@ async function consumeRestartSentinel(env = process.env) {
|
|
|
56459
56459
|
const filePath = resolveRestartSentinelPath(env);
|
|
56460
56460
|
const parsed = await readRestartSentinel(env);
|
|
56461
56461
|
if (!parsed) return null;
|
|
56462
|
-
await
|
|
56462
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
56463
56463
|
return parsed;
|
|
56464
56464
|
}
|
|
56465
56465
|
function formatRestartSentinelMessage(payload) {
|
|
@@ -57566,7 +57566,7 @@ async function hydrateAttachmentPayload(params) {
|
|
|
57566
57566
|
accountId: params.accountId
|
|
57567
57567
|
}),
|
|
57568
57568
|
sandboxValidated: true,
|
|
57569
|
-
readFile: (filePath) =>
|
|
57569
|
+
readFile: (filePath) => fs$1.readFile(filePath)
|
|
57570
57570
|
});
|
|
57571
57571
|
params.args.buffer = media.buffer.toString("base64");
|
|
57572
57572
|
if (!contentTypeParam && media.contentType) params.args.contentType = media.contentType;
|
|
@@ -65118,7 +65118,7 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
65118
65118
|
} catch (err) {
|
|
65119
65119
|
return fail(describeUnknownError(err));
|
|
65120
65120
|
}
|
|
65121
|
-
await
|
|
65121
|
+
await fs$1.mkdir(resolvedWorkspace, { recursive: true });
|
|
65122
65122
|
const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
|
|
65123
65123
|
const sandbox = await resolveSandboxContext({
|
|
65124
65124
|
config: params.config,
|
|
@@ -65126,7 +65126,7 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
65126
65126
|
workspaceDir: resolvedWorkspace
|
|
65127
65127
|
});
|
|
65128
65128
|
const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
|
|
65129
|
-
await
|
|
65129
|
+
await fs$1.mkdir(effectiveWorkspace, { recursive: true });
|
|
65130
65130
|
await ensureSessionHeader({
|
|
65131
65131
|
sessionFile: params.sessionFile,
|
|
65132
65132
|
sessionId: params.sessionId,
|
|
@@ -69281,7 +69281,7 @@ async function handleCommands(params) {
|
|
|
69281
69281
|
try {
|
|
69282
69282
|
const messages = [];
|
|
69283
69283
|
if (sessionFile) {
|
|
69284
|
-
const content = await
|
|
69284
|
+
const content = await fs$1.readFile(sessionFile, "utf-8");
|
|
69285
69285
|
for (const line of content.split("\n")) {
|
|
69286
69286
|
if (!line.trim()) continue;
|
|
69287
69287
|
try {
|
|
@@ -72942,7 +72942,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
72942
72942
|
return;
|
|
72943
72943
|
}
|
|
72944
72944
|
try {
|
|
72945
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
72945
|
+
const { deliverOutboundPayloads } = await import("./deliver-Du7r6Fpd.js").then((n) => n.n);
|
|
72946
72946
|
await deliverOutboundPayloads({
|
|
72947
72947
|
cfg: params.cfg,
|
|
72948
72948
|
channel,
|
|
@@ -73317,7 +73317,7 @@ async function stageSandboxMedia(params) {
|
|
|
73317
73317
|
};
|
|
73318
73318
|
try {
|
|
73319
73319
|
const destDir = sandbox ? path.join(effectiveWorkspaceDir, "media", "inbound") : effectiveWorkspaceDir;
|
|
73320
|
-
await
|
|
73320
|
+
await fs$1.mkdir(destDir, { recursive: true });
|
|
73321
73321
|
const remoteAttachmentRoots = resolveIMessageRemoteAttachmentRoots({
|
|
73322
73322
|
cfg,
|
|
73323
73323
|
accountId: ctx.AccountId
|
|
@@ -73367,7 +73367,7 @@ async function stageSandboxMedia(params) {
|
|
|
73367
73367
|
usedNames.add(fileName);
|
|
73368
73368
|
const dest = path.join(destDir, fileName);
|
|
73369
73369
|
if (ctx.MediaRemoteHost) await scpFile(ctx.MediaRemoteHost, source, dest);
|
|
73370
|
-
else await
|
|
73370
|
+
else await fs$1.copyFile(source, dest);
|
|
73371
73371
|
const stagedPath = sandbox ? path.posix.join("media", "inbound", fileName) : dest;
|
|
73372
73372
|
staged.set(source, stagedPath);
|
|
73373
73373
|
}
|