wednesdayai 0.4.12-dev.729 → 0.4.12-dev.731
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/{agent-turn-enqueue-CW_401rj.js → agent-turn-enqueue-BbrTTvFs.js} +5 -5
- package/dist/{agent-turn-enqueue-DoWWsxog.js → agent-turn-enqueue-BxHSM8oW.js} +5 -5
- package/dist/{agent-turn-execute-A0TURQhp.js → agent-turn-execute-BBgXd8-u.js} +52 -69
- package/dist/{agent-turn-recovery-adapter-BNI0O8Mj.js → agent-turn-recovery-adapter-BmXnzhAM.js} +1 -1
- package/dist/{agent-turn-recovery-adapter-CJ4g6khf.js → agent-turn-recovery-adapter-DAUALC_E.js} +1 -1
- package/dist/{agent-turn-runner-BVBnEVO0.js → agent-turn-runner-CzDx8shZ.js} +2 -2
- package/dist/{agent-turn-runner-B10CqZVv.js → agent-turn-runner-DYI9zTTH.js} +1 -1
- package/dist/{agent-turn-runner-CM3MQTJU.js → agent-turn-runner-DbkJQBz_.js} +1 -1
- package/dist/{agent-turn-runner-DzGi5c4M.js → agent-turn-runner-PqFExB_C.js} +4 -4
- package/dist/{agents-CqGOYUmk.js → agents-Dmg0MnaL.js} +4 -4
- package/dist/{agents.config-iuJI5Qb7.js → agents.config-CCW9d9-P.js} +1 -1
- package/dist/{agents.config-CfQTsYDc.js → agents.config-Kx1texON.js} +1 -1
- package/dist/{audio-preflight-BYkASiuL.js → audio-preflight-B0zy5Poy.js} +6 -6
- package/dist/{audio-preflight-aekSqtDQ.js → audio-preflight-BHWXCNp0.js} +5 -5
- package/dist/{audio-preflight-CLEofd1a.js → audio-preflight-C16ozZJq.js} +6 -6
- package/dist/{audio-transcription-runner-0S6456vW.js → audio-transcription-runner-Dudu9ujt.js} +1 -1
- package/dist/{audio-transcription-runner-C6aQCxFd.js → audio-transcription-runner-DyB66UoA.js} +1 -1
- package/dist/{audio-transcription-runner-CP08Ka3L.js → audio-transcription-runner-n5UMoy4K.js} +1 -1
- package/dist/{audit-DdxXEcHv.js → audit-Bkq2rEAh.js} +3 -3
- package/dist/{audit-D7HwuhC3.js → audit-BpRX6zF1.js} +3 -3
- package/dist/{auth-choice-DzVb3c4S.js → auth-choice-Dx7vP9Rb.js} +1 -1
- package/dist/{auth-choice-_Ngg8dJn.js → auth-choice-DxG0Ya-_.js} +1 -1
- package/dist/{banner-BqEUBSwB.js → banner-D0bTiq-z.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C1IIAhgv.js → channel-options-BsHjYXb5.js} +1 -1
- package/dist/{channel-options-C3u2Sg1X.js → channel-options-DfQJLDtm.js} +1 -1
- package/dist/{channels-cli-Dz1fY7Ks.js → channels-cli-BB3fW-6M.js} +22 -22
- package/dist/{channels-cli-YNVo_J7T.js → channels-cli-C79U2zCR.js} +22 -22
- package/dist/{chat-content-vQthyVBX.js → chat-content-SO11ats8.js} +3 -3
- package/dist/{chrome-DS7GwUQh.js → chrome-CUmShVKN.js} +8 -8
- package/dist/{cli-DKuWVT_o.js → cli-5ZZI6yQe.js} +18 -18
- package/dist/{cli-Bao_Zkv0.js → cli-h5xdtGwH.js} +18 -18
- package/dist/{command-queue-g1tNC8Vs.js → command-queue-BwDkV03H.js} +1 -1
- package/dist/{command-queue-BXX9dOOY.js → command-queue-D9Kx2f3r.js} +1 -1
- package/dist/{command-queue-Bwq7hhhD.js → command-queue-DeuGuoAC.js} +1 -1
- package/dist/{command-registry-D7a2MHeF.js → command-registry-Hg38mAXU.js} +9 -9
- package/dist/{completion-cli-Bw457ikU.js → completion-cli-He1sm_9C.js} +2 -2
- package/dist/{completion-cli-BDOVwJNU.js → completion-cli-NG0AUv9Z.js} +1 -1
- package/dist/{config-cli-DdgtqEUK.js → config-cli-C5rFfZzf.js} +1 -1
- package/dist/{config-cli-BS_Dn2U3.js → config-cli-Dwlhv7Pr.js} +1 -1
- package/dist/{configure-B3bu-lE9.js → configure-AEA0wNoS.js} +3 -3
- package/dist/{configure-DyjgsBKI.js → configure-D1D4O5_g.js} +3 -3
- package/dist/{deliver-C2Wz9PWj.js → deliver-B_QnaI_m.js} +1 -1
- package/dist/{deliver-DUBuu2uJ.js → deliver-CAQb6GCo.js} +1 -1
- package/dist/{deliver-DeddUQqe.js → deliver-D1zzXb0V.js} +1 -1
- package/dist/{diagnostic-C_dN2phb.js → diagnostic-BVuEoR--.js} +1 -1
- package/dist/{diagnostic-C5wYymNQ.js → diagnostic-BZZiPjuM.js} +1 -1
- package/dist/{diagnostic-DuMnWlrO.js → diagnostic-CE2FPlvC.js} +1 -1
- package/dist/{dm-policy-shared-yJEiBvgY.js → dm-policy-shared-DNbVxoEo.js} +1 -1
- package/dist/{doctor-completion-C3mNG21F.js → doctor-completion-C-b4R-jC.js} +1 -1
- package/dist/{doctor-completion-BJHSi6k4.js → doctor-completion-COcECDTN.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +12 -12
- package/dist/{gateway-cli-DCEGccnP.js → gateway-cli-CTGq6pQp.js} +41 -41
- package/dist/{gateway-cli-DNzVSEgi.js → gateway-cli-CpcwmGf6.js} +41 -41
- package/dist/{health-B9kSP1yr.js → health-BC6vt835.js} +2 -2
- package/dist/{health-CohIvGFu.js → health-CChf63vE.js} +2 -2
- package/dist/{hooks-cli-BC7PXwrl.js → hooks-cli-BSzBM2Z7.js} +19 -19
- package/dist/{hooks-cli-UgeEAR7U.js → hooks-cli-Dnh7yZbj.js} +19 -19
- package/dist/index.js +22 -22
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-Bw3BvR19.js → manager-CJUKqhh5.js} +1 -1
- package/dist/{manager-B2ZPvPP9.js → manager-CU_HMbrI.js} +1 -1
- package/dist/{models-cli-C_tHirnw.js → models-cli-B8Zr1zRz.js} +18 -18
- package/dist/{models-cli-B4xLIOFc.js → models-cli-VzCRcgV9.js} +19 -19
- package/dist/{models-C8nsMRLQ.js → models-hztaETLA.js} +1 -1
- package/dist/{node-cli-CcOYQNYG.js → node-cli-BHhmO0lX.js} +3 -3
- package/dist/{node-cli-1r7DXmyR.js → node-cli-Di1btMUn.js} +3 -3
- package/dist/{npm-resolution-7CvMNako.js → npm-resolution-Cg8nDyb8.js} +1 -1
- package/dist/{npm-resolution-DjNRsPrE.js → npm-resolution-DPm5-dNe.js} +1 -1
- package/dist/{onboard-BRwdSaEZ.js → onboard-CGE11-o5.js} +2 -2
- package/dist/{onboard-DOq-9xkW.js → onboard-C_1ceLkN.js} +2 -2
- package/dist/{onboard-channels-RKPslaou.js → onboard-channels-B4QCkskg.js} +1 -1
- package/dist/{onboard-channels-DtFBZO3K.js → onboard-channels-C7gUurFX.js} +1 -1
- package/dist/{onboarding-CUNJUHYe.js → onboarding-ByQgWutV.js} +3 -3
- package/dist/{onboarding-CZB-jEDP.js → onboarding-CFga9ZVy.js} +3 -3
- package/dist/{onboarding.finalize-zo8Tr42K.js → onboarding.finalize-BrU1EmLr.js} +24 -24
- package/dist/{onboarding.finalize-tQDsF0Ht.js → onboarding.finalize-i2aq88iZ.js} +23 -23
- package/dist/{operator-commands-DPTwKc1Q.js → operator-commands-C-yK2gck.js} +2 -2
- package/dist/{operator-commands-5zFJBNls.js → operator-commands-CfC2DQ9_.js} +2 -2
- package/dist/{pi-embedded-w8WHdwfz.js → pi-embedded-B_8xFY-b.js} +56 -73
- package/dist/{pi-embedded-BXlLe43L.js → pi-embedded-DlfasNQL.js} +29 -46
- package/dist/{pi-embedded-helpers-CGmQ4q3V.js → pi-embedded-helpers-Dc5B30N3.js} +1 -1
- package/dist/{pi-embedded-helpers-DIrkDh67.js → pi-embedded-helpers-YHTLuxgI.js} +1 -1
- package/dist/{pi-embedded-recovery-adapter-B2XOvHxn.js → pi-embedded-recovery-adapter-BddLz7qo.js} +7 -7
- package/dist/{pi-embedded-recovery-adapter-C-NuyPbb.js → pi-embedded-recovery-adapter-DgcqvHfB.js} +7 -7
- package/dist/{pi-embedded-utils-OqRAVQ3n.js → pi-embedded-utils-ChQH7F1_.js} +1 -1
- package/dist/{pi-embedded-utils-BdxZbV9G.js → pi-embedded-utils-YFPoENoq.js} +1 -1
- package/dist/{pi-embedded-utils-CPX6p6Wq.js → pi-embedded-utils-oOYiIuf7.js} +1 -1
- package/dist/{pi-tools.policy-CeC8xqRL.js → pi-tools.policy-CfhhxQDn.js} +1 -1
- package/dist/{plugin-registry-B2PFGUgH.js → plugin-registry-DhIPiLxW.js} +1 -1
- package/dist/{plugin-registry-B9UcnywB.js → plugin-registry-Y8xZXS1H.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-K_ZYe6o3.js → agent-scope-CnGNp8FI.js} +2 -2
- package/dist/plugin-sdk/{agent-turn-execute-Du5-PizP.js → agent-turn-execute-CizVKMpT.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-Cu3b1_S-.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-BeIHlu2z.js → agent-turn-runner-CjKjnPQW.js} +1 -1
- package/dist/plugin-sdk/{agent-turn-runner-Dy2l1QuN.js → agent-turn-runner-DFA8a9Ip.js} +3 -3
- package/dist/plugin-sdk/{agent-turn-runner-L6nWVyBs.js → agent-turn-runner-DsmB1ai8.js} +7 -7
- package/dist/plugin-sdk/{api-key-rotation-DsW_3EWF.js → api-key-rotation-CBOnOpbB.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CVnT3CVi.js → audio-preflight-DS0S3HIJ.js} +22 -22
- package/dist/plugin-sdk/{audio-transcription-runner-ff3d2MOe.js → audio-transcription-runner-BhIHLM0o.js} +12 -12
- package/dist/plugin-sdk/{auth-profiles-ColQCCRN.js → auth-profiles-D2XVcppb.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-EuoxPTsy.js → channel-activity-Cclz7vkh.js} +2 -2
- package/dist/plugin-sdk/{chrome-D_wgFXHF.js → chrome-BB9Wgd3q.js} +12 -12
- package/dist/plugin-sdk/{chunk-CYtP0bGA.js → chunk-k2QxX-uo.js} +4 -4
- package/dist/plugin-sdk/{command-detection-BRxqdaeL.js → command-detection-C5-29pqi.js} +33 -50
- package/dist/plugin-sdk/{command-queue-CoRZcHy1.js → command-queue-CYf-7rkG.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-CfHG55Td.js → commands-registry-BdsP_j6P.js} +3 -3
- package/dist/plugin-sdk/deliver-BCcJCpV5.js +32 -0
- package/dist/plugin-sdk/{deliver-BPg9MhVY.js → deliver-DI31nbkd.js} +13 -13
- package/dist/plugin-sdk/{diagnostic-CxHjTbyN.js → diagnostic-D3KftfxN.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-session-state-CWnP3Hcr.js → diagnostic-session-state-DZLx0-S4.js} +1 -1
- package/dist/plugin-sdk/{fetch-76RJP719.js → fetch-DQFdI72d.js} +6 -6
- package/dist/plugin-sdk/{fetch-yu8JmEhv.js → fetch-DwNljUPH.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DH8BV37j.js → fetch-guard-B9NwOc7g.js} +4 -4
- package/dist/plugin-sdk/{fetch-timeout-CHrssQWn.js → fetch-timeout-BFvsrzue.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-T2Q2ZsoF.js → fs-safe-CwzzGBMh.js} +3 -3
- package/dist/plugin-sdk/{image-ops-DqLPxPK5.js → image-ops-hZXfkNib.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-CKTgbXmf.js → inbound-context-B8XUU4mk.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{ir-D48MVNow.js → ir-7O6vFfh7.js} +5 -5
- package/dist/plugin-sdk/{logger-D5s3kiib.js → logger-BkzoyfHW.js} +1 -1
- package/dist/plugin-sdk/manager-Cmgzgu4B.js +15 -0
- package/dist/plugin-sdk/{manager-DljU3jEr.js → manager-D5eZZMwx.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-BlFTVPo_.js → markdown-tables-CfVZYwJk.js} +3 -3
- package/dist/plugin-sdk/{models-config-C3ikS9UW.js → models-config-B6q951LE.js} +2 -2
- package/dist/plugin-sdk/{outbound-attachment-B-nWFxwm.js → outbound-attachment-qrKbJo_i.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-DqWT6B5z.js → outbound-message-hooks-BRaQOrWY.js} +3 -3
- package/dist/plugin-sdk/{path-alias-guards-BYRY-wc1.js → path-alias-guards-BRWXiCTP.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-3gQz4b-b.js → pi-embedded-helpers-CnSvnhZ5.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-B49ia5m9.js → pi-embedded-utils-B3tDBZQT.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-DnhGTDZI.js → pi-model-discovery-DlEOpSNG.js} +2 -2
- package/dist/plugin-sdk/{provider-dispatcher-B_iAXu2L.js → provider-dispatcher-BBDNW5bk.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-Cs-Q2qPq.js +61 -0
- package/dist/plugin-sdk/provider-image-BCtoZ8rK.js +22 -0
- package/dist/plugin-sdk/{provider-image-BKK0zQaJ.js → provider-image-FipSNRdB.js} +6 -6
- package/dist/plugin-sdk/{proxy-DD9hiDZf.js → proxy-DeH1UOPr.js} +2 -2
- package/dist/plugin-sdk/{proxy-env-Ck4Yuj58.js → proxy-env-BIBZktXt.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Dcda7u4X.js → proxy-fetch-CvuoPGtS.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-Zbmk8kti.js → pw-ai-YmY-qWdn.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-CynxBvgm.js → qmd-manager-bFs85vRp.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-Waf8c4A5.js → query-expansion-BYSUz-Za.js} +2 -2
- package/dist/plugin-sdk/{recorder-BbDzNcDK.js → recorder-D7XZ7UmE.js} +4 -4
- package/dist/plugin-sdk/{redact-C-a1l-51.js → redact-DJV_iVHt.js} +2 -2
- package/dist/plugin-sdk/{registry-DW66Zc2c.js → registry-a1K6DAkx.js} +7 -7
- package/dist/plugin-sdk/replies-CexajJtL.js +24 -0
- package/dist/plugin-sdk/{replies-Db2lM5Rk.js → replies-D69GlNvT.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-CE-QQ-bN.js → reply-directives-BTEKm_zW.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-BLtaxKcs.js → reply-prefix-DQq11usP.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-CsPbvHsZ.js → resolve-route-DaLkSpwv.js} +5 -5
- package/dist/plugin-sdk/{runs-Cr3XjmfA.js → runs-B6ipR6mr.js} +8 -8
- package/dist/plugin-sdk/runs-jS7fGVnj.js +24 -0
- package/dist/plugin-sdk/{send-BrY7hRBo.js → send-BOadl23F.js} +14 -14
- package/dist/plugin-sdk/{send-DX-u_6pi.js → send-BVxNes08.js} +8 -8
- package/dist/plugin-sdk/send-CsQsIVRV.js +24 -0
- package/dist/plugin-sdk/send-DVboxWNL.js +22 -0
- package/dist/plugin-sdk/send-DW36az8Y.js +23 -0
- package/dist/plugin-sdk/{send-CMEExCxI.js → send-Da0ufWWQ.js} +7 -7
- package/dist/plugin-sdk/{send-RMF8ml-x.js → send-DbCdf0YA.js} +9 -9
- package/dist/plugin-sdk/{send-Du0SdecO.js → send-Dtl8FvA5.js} +6 -6
- package/dist/plugin-sdk/send-WEypfWqD.js +26 -0
- package/dist/plugin-sdk/{send-5AmkR_fI.js → send-pHvU6YM-.js} +19 -19
- package/dist/plugin-sdk/{session-meta-BnqHvDM6.js → session-meta-cnp_5w21.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-WjVxixsE.js → skill-commands-EpFoGxwN.js} +6 -6
- package/dist/plugin-sdk/{skills-Cbi_tn0M.js → skills-eAuhZOk3.js} +6 -6
- package/dist/plugin-sdk/src/agents/pi-embedded-subscribe.tools.d.ts +1 -0
- package/dist/plugin-sdk/src/agents/pi-tools.params.d.ts +1 -7
- package/dist/plugin-sdk/{store-C7BLAG_A.js → store-CHNW3RaG.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-1_rpAdGi.js +61 -0
- package/dist/plugin-sdk/{subagent-registry-BKwSNawW.js → subagent-registry-DslVz5be.js} +2 -2
- package/dist/plugin-sdk/{subsystem-0F3fEqJW.js → subsystem-CchgWuXK.js} +4 -4
- package/dist/plugin-sdk/{tables-_Kalzbyl.js → tables-BTAyaId-.js} +1 -1
- package/dist/plugin-sdk/testing.js +55 -55
- package/dist/plugin-sdk/{tokens-O0pGqOuf.js → tokens-Cioh8xR5.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-BG8uP1aD.js → tool-loop-detection-BN0lIxLx.js} +1 -1
- package/dist/plugin-sdk/{tools-DaFWYu0p.js → tools-CmwkFcEE.js} +129 -146
- package/dist/plugin-sdk/{user-run-recording-rPdyMnTm.js → user-run-recording-BsCy4Zpx.js} +3 -3
- package/dist/{plugins-cli-1_-Vf-1l.js → plugins-cli-DySni36d.js} +19 -19
- package/dist/{plugins-cli-DksAX0ZH.js → plugins-cli-Y7F4_hsl.js} +19 -19
- package/dist/{program-CBA0lcpg.js → program-BBOZ1Czb.js} +24 -24
- package/dist/{program-context-DT5nb3SH.js → program-context-BvOgsfvl.js} +22 -22
- package/dist/{prompt-select-styled-NPt5vMpO.js → prompt-select-styled-BUmNu_vB.js} +7 -7
- package/dist/{prompt-select-styled-6JwLDntm.js → prompt-select-styled-D91CAPLD.js} +7 -7
- package/dist/{provider-image-g7zj1qnV.js → provider-image-C4wO6_d6.js} +1 -1
- package/dist/{provider-image-5hRCVgAg.js → provider-image-CPA6-3Bo.js} +1 -1
- package/dist/{provider-image-aaxt6RAc.js → provider-image-DzuRo9tr.js} +1 -1
- package/dist/{push-apns-CFg1Pls0.js → push-apns-DcFdK9GO.js} +2 -2
- package/dist/{push-apns-CzI1yOz3.js → push-apns-NN_cXN9b.js} +2 -2
- package/dist/{pw-ai-B3ESmyWW.js → pw-ai-B_FmIzSf.js} +1 -1
- package/dist/{pw-ai-CdFOuZvs.js → pw-ai-D6YXT7-o.js} +1 -1
- package/dist/{pw-ai-Dt33khMR.js → pw-ai-lYxtG3_-.js} +1 -1
- package/dist/{recovery-adapter-CKVSN97E.js → recovery-adapter-BAMu0swn.js} +2 -2
- package/dist/{recovery-adapter-AyGJinhV.js → recovery-adapter-B_R8gdnv.js} +2 -2
- package/dist/{recovery-adapter-CceBubi1.js → recovery-adapter-Dj2JL9tH.js} +1 -1
- package/dist/{recovery-adapter-mRcci7h2.js → recovery-adapter-DvX5QExB.js} +1 -1
- package/dist/{register.agent-Bn9JYMpq.js → register.agent-BxB8dnmY.js} +22 -22
- package/dist/{register.agent-DutRzrDw.js → register.agent-D3TPclcl.js} +21 -21
- package/dist/{register.configure-xWvz_EH_.js → register.configure-BNw7UIlp.js} +22 -22
- package/dist/{register.configure-CE9sH5t0.js → register.configure-B_NGaMoL.js} +22 -22
- package/dist/{register.maintenance-C-WBHuPN.js → register.maintenance-BGz3_PE1.js} +25 -25
- package/dist/{register.maintenance-CVWnFB5G.js → register.maintenance-DEa6RcSX.js} +24 -24
- package/dist/{register.message-CAfIrnM2.js → register.message-CZvsl-B5.js} +19 -19
- package/dist/{register.message-DeS_ZYNe.js → register.message-yBbA8Osz.js} +19 -19
- package/dist/{register.onboard-C0OyLZD3.js → register.onboard-BIsMQIjK.js} +2 -2
- package/dist/{register.onboard-DD2wOgqE.js → register.onboard-sndK3zcW.js} +2 -2
- package/dist/{register.setup-CBDKdAuo.js → register.setup-BKs1kXsW.js} +2 -2
- package/dist/{register.setup-BbohcO_k.js → register.setup-CvsGvHAO.js} +2 -2
- package/dist/{register.status-health-sessions-B6c4a4og.js → register.status-health-sessions-BKfZDeQU.js} +21 -21
- package/dist/{register.status-health-sessions-8pYJLyOn.js → register.status-health-sessions-CSfYvoUu.js} +21 -21
- package/dist/{register.subclis-Cl9g9lxA.js → register.subclis-DgXSUu6Q.js} +14 -14
- package/dist/{reply-CBqjA8n7.js → reply-KkSETsdg.js} +52 -69
- package/dist/{run-main-D4QMp_dA.js → run-main-2wX43_yq.js} +31 -31
- package/dist/{runs-DSFjMpng.js → runs-B4f4E8kN.js} +3 -3
- package/dist/{runs-aQfLgwCB.js → runs-B7kP-kpq.js} +3 -3
- package/dist/{runs-csb75vyi.js → runs-sLJUqNwN.js} +3 -3
- package/dist/{sandbox-BWNy2kKu.js → sandbox-BX5bviSk.js} +1 -1
- package/dist/{sandbox-Cwa9IoDE.js → sandbox-B_FW_9fk.js} +1 -1
- package/dist/{sandbox-cli-D7bBMoyk.js → sandbox-cli-83tEVXZF.js} +2 -2
- package/dist/{sandbox-cli-OzJuP-NO.js → sandbox-cli-C2_rNNJb.js} +2 -2
- package/dist/{security-cli-DG2tPUA1.js → security-cli-Cq8Vs6_B.js} +4 -4
- package/dist/{security-cli-CuUjDnHc.js → security-cli-D2D8WU62.js} +4 -4
- package/dist/{send-2z5d8MNL.js → send-9ZdSkdnG.js} +1 -1
- package/dist/{send-C21a-Msd.js → send-BOYDtfq5.js} +1 -1
- package/dist/{send-CCM9Q6bQ.js → send-CzEJNjfo.js} +1 -1
- package/dist/{server-C7fLuSa8.js → server-CfR7TP5n.js} +4 -4
- package/dist/{server-DwmiIbpy.js → server-DYCGwzXX.js} +4 -4
- package/dist/{server-context-DynQOaQg.js → server-context-C_pla-48.js} +2 -2
- package/dist/{server-context-8stiwx24.js → server-context-DPUXSJws.js} +2 -2
- package/dist/{server-lifecycle-D6K5clGz.js → server-lifecycle-BeH00Rxj.js} +1 -1
- package/dist/{server-lifecycle-BIVcQYRv.js → server-lifecycle-Dv5nZakb.js} +1 -1
- package/dist/{server-node-events-BSBNXNIr.js → server-node-events-BLLkippX.js} +19 -19
- package/dist/{server-node-events-BMt_M17o.js → server-node-events-Ylri6X4B.js} +19 -19
- package/dist/{sessions-DZ8P5diO.js → sessions-B1fFNYWP.js} +5 -5
- package/dist/{sessions-BxMxYroM.js → sessions-BnB_m4Qa.js} +6 -6
- package/dist/{status-B_6KFA2c.js → status-Cj5kaGlo.js} +4 -4
- package/dist/{status-KfElvy9J.js → status-DtS_Lk7N.js} +5 -5
- package/dist/{task-pipeline-boot-BrIBh2as.js → task-pipeline-boot-B_0yJIZq.js} +19 -19
- package/dist/{task-pipeline-boot-Ce3PbnWC.js → task-pipeline-boot-D7SN5m7e.js} +19 -19
- package/dist/{task-runlog-retention-CKaDA84s.js → task-runlog-retention-CeQ1BlpN.js} +2 -2
- package/dist/{task-runlog-retention-Ccy6500r.js → task-runlog-retention-JjPZwuXm.js} +2 -2
- package/dist/{tui-ryPvmZxo.js → tui-BCRsjdwa.js} +1 -1
- package/dist/{tui-AmM0FZrJ.js → tui-HIGRgrbA.js} +1 -1
- package/dist/{tui-cli-CUysqEul.js → tui-cli-De9SHpIP.js} +4 -4
- package/dist/{tui-cli-DWng-d8I.js → tui-cli-LSGGHHgK.js} +4 -4
- package/dist/{update-cli-BoBS_5AA.js → update-cli-BTKWjq5r.js} +24 -24
- package/dist/{update-cli-BiiWrX-b.js → update-cli-fwDfxRLA.js} +25 -25
- package/dist/{update-runner-tH30mnIz.js → update-runner-CnUbyMnd.js} +1 -1
- package/dist/{update-runner-W_Tfzgw5.js → update-runner-imB5r5gG.js} +1 -1
- package/dist/{validation-cli-DHYbbZSf.js → validation-cli-BS_9Z3ot.js} +19 -19
- package/dist/{validation-cli-lq97iRX5.js → validation-cli-Cg1JIizF.js} +19 -19
- package/dist/{with-timeout-CJixlkca.js → with-timeout-C-bbnNGP.js} +2 -2
- package/dist/{with-timeout-DaYVHGfP.js → with-timeout-DLLDH1vn.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- 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/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-CvcGPIWd.js +0 -61
- package/dist/plugin-sdk/deliver-Cysu3ebt.js +0 -32
- package/dist/plugin-sdk/manager-Btfp0zqs.js +0 -15
- package/dist/plugin-sdk/provider-dispatcher-B6b1Tdf0.js +0 -61
- package/dist/plugin-sdk/provider-image-VB9UOYSc.js +0 -22
- package/dist/plugin-sdk/replies-Cup5JxPU.js +0 -24
- package/dist/plugin-sdk/runs-BmnkOAK5.js +0 -24
- package/dist/plugin-sdk/send-BcjKhfe8.js +0 -26
- package/dist/plugin-sdk/send-Chyx51SQ.js +0 -24
- package/dist/plugin-sdk/send-CwTkY-Zc.js +0 -22
- package/dist/plugin-sdk/send-DthEAPca.js +0 -23
- package/dist/plugin-sdk/subagent-registry-CIa1HABo.js +0 -61
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
2
|
-
import { $ as resolveMirroredTranscriptText, $a as withFileLock, $n as readConfigFileSnapshot, $t as resolveExplicitAgentSessionKey, A as deliveryContextFromSession, Aa as normalizeChatChannelId, Ai as normalizeScpRemoteHost, An as resolveChannelGroupToolsPolicy, Ao as RecoveryAdmissionError, Ar as resolveReasoningDefault, At as resolveSenderLabel, B as extractToolCallNames, Ba as resolveDiscordPreviewStreamMode, Bi as isDispatchWrapperExecutable, Bn as resolveGatewayMessageChannel, Br as createOllamaStreamFn, Bt as SESSION_RUN_STATUSES, C as recordSessionMetaFromInbound, Ca as readManifestNamespace, Ci as normalizeTelegramCommandName, Cn as resolveIMessageAccount, Co as applyTargetToParams, Cr as modelKey, Ct as mergePromptContributions, D as updateSessionStoreEntry, Da as listChatChannels, Dn as normalizeDiscordToken, Do as discardBufferedPluginTaskPasses, Dr as resolveConfiguredModelRef, Dt as formatUtcTimestamp, E as updateSessionStore, Ea as getChatChannelMeta, Ei as isInboundPathAllowed, En as resolveDiscordAccount, Er as parseModelRef, Et as buildInboundUserContextPrefix, F as normalizeAccountId$3, Fi as DEFAULT_SAFE_BINS, Fn as isGatewayMessageChannel, Ft as deriveSessionTotalTokens, G as normalizeInputProvenance, Gi as parseDurationMs, Gn as normalizeAtHashSlug, Gr as getApiKeyForModel, Gt as resolveSessionResetType, H as INPUT_PROVENANCE_KIND_VALUES, Ha as resolveSlackStreamingMode, Hi as unwrapKnownDispatchWrapperInvocation, Hn as GATEWAY_CLIENT_IDS, Hr as buildAssistantMessageWithZeroUsage, Ht as evaluateSessionFreshness, I as archiveSessionTranscripts, Ia as requireActivePluginRegistry, Ii as matchAllowlist, In as isInternalMessageChannel, It as hasNonzeroUsage, J as readJsonFile, Ja as markAuthProfileGood, Jn as normalizeStringEntriesLower, Jr as resolveApiKeyForProvider, Jt as mergeSessionEntry, K as jsonUtf8Bytes, Ka as dedupeProfileIds, Kn as normalizeHyphenSlug, Kr as getCustomProviderApiKey, Kt as resolveThreadFlag, L as capArrayByJsonBytes, La as setActivePluginRegistry, Li as resolveAllowlistCandidatePath, Ln as isMarkdownCapableMessageChannel, Lt as makeZeroUsageSnapshot, M as mergeDeliveryContext, Ma as getActiveGatewayPluginRegistry, Mi as ASSISTANT_IDENTITY_COLORS, Mn as resolveGroupSessionKey, Mr as resolveThinkingDefault, Mt as isDiagnosticsEnabled, N as normalizeDeliveryContext, Na as getActivePluginRegistry, Ni as secretRefKey, Nn as INTERNAL_MESSAGE_CHANNEL, O as isCacheEnabled, Oa as normalizeAnyChannelId, Oi as resolveIMessageAttachmentRoots, On as resolveChannelGroupPolicy, Oo as listBufferedPluginTaskPasses, Or as resolveDefaultModelForAgent, Ot as formatZonedTimestamp, P as normalizeSessionDeliveryFields, Pa as getActivePluginRegistryKey, Pi as resolveExecPolicyPreset, Pn as isDeliverableMessageChannel, Pt as derivePromptTokens, Q as appendAssistantMessageToSessionTranscript, Qa as resolveOpenClawAgentDir, Qn as loadConfig, Qt as resolveAgentMainSessionKey, R as stripLeadingInboundMetadata, Ra as isSafeExecutableValue, Ri as resolveCommandResolutionFromArgv, Rn as listDeliverableMessageChannels, Rr as retryAsync, Rt as normalizeUsage, S as readSessionUpdatedAt, Sa as safeStatSync, Si as TELEGRAM_COMMAND_NAME_PATTERN, Sn as resolveWhatsAppAccount, So as stringEnum, Sr as isCliProvider, St as createCurrentUserPromptEnvelope, T as updateLastRoute, Ta as CHAT_CHANNEL_ORDER, Tn as listEnabledDiscordAccounts, To as actionRequiresTarget, Tr as normalizeProviderId, Tt as buildInboundMetaSystemPrompt, U as applyInputProvenanceToUserMessage, Ui as unwrapKnownShellMultiplexerInvocation, Un as GATEWAY_CLIENT_MODES, Ur as buildStreamErrorAssistantMessage, Ut as resolveChannelResetConfig, V as parseInlineDirectives$1, Va as resolveSlackNativeStreaming, Vi as isShellWrapperExecutable, Vn as resolveMessageChannel, Vr as buildAssistantMessage, Vt as resolveSessionKey, W as hasInterSessionUserProvenance, Wn as GATEWAY_CLIENT_NAMES, Wr as buildUsageWithNoCost, Wt as resolveSessionResetPolicy, X as extractDeliveryInfo, Xn as resolveSessionLockMaxHoldFromTimeout, Xr as resolveModelAuthMode, Xt as setSessionRuntimeModel, Y as writeJsonAtomic, Ya as ensureAuthProfileStore, Yn as acquireSessionWriteLock, Yr as resolveEnvApiKey, Yt as resolveFreshSessionTotalTokens, Z as parseSessionThreadInfo, Za as resolveAuthStorePathForDisplay, Zr as resolveAuthProfileOrder, Zt as canonicalizeMainSessionAlias, _a as normalizePluginsConfig, _i as getConfigValueAtPath, _n as listEnabledSignalAccounts, _o as resolveOwnerDisplaySetting, _r as resolveAgentMaxConcurrent, _t as TASK_RUN_MODES, a as normalizePluginHttpPath, aa as AVATAR_MAX_BYTES, ai as resolveApiKeyForProfile, an as getChannelDock, ao as hasConfiguredSecretInput, ar as normalizeTrustedSafeBinDirs, at as DB_SESSION_HYDRATION_LIMIT, b as isPreservationArmed, ba as discoverOpenClawPlugins, bi as unsetConfigValueAtPath, bn as normalizeWhatsAppTarget, bo as channelTargetsSchema, br as buildModelAliasIndex, bt as sanitizeJsonb, c as executePluginCommand, ca as isPathWithinRoot, ci as isNonEmptyString, cn as createTelegramActionGate, co as splitTrailingAuthProfile, cr as buildEnforcedShellCommand, ct as onSessionTranscriptUpdate, d as matchPluginCommand, di as formatCliCommand, dn as resolveTelegramAccount, do as DEFAULT_PROVIDER, dr as splitShellArgs, dt as formatErrorChainMessage, ei as getSoonestCooldownExpiry, en as resolveMainSessionKey, eo as readProcessElapsedSeconds, et as resolveAndPersistSessionFile, f as registerPluginCommand, fa as validateJsonSchemaValue, fi as resolveCliName, fn as resolveTelegramToken, fo as VERSION, fr as SAFE_BIN_PROFILES, ft as formatErrorMessage, g as createConversationReadQuery, ga as isBundledChannelEnabledByChannelConfig, gi as unsetConfigOverride, gn as resolveSlackBotToken, go as parseBooleanValue$1, gr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, gt as readErrorName, h as StorageReadAccessError, ha as applyTestPluginDefaults, hi as setConfigOverride, hn as resolveSlackAppToken, ho as isTruthyEnvValue, hr as applyMergePatch, i as createPluginRegistry, ii as resolveProfilesUnavailableReason, in as normalizeChannelId$1, io as coerceSecretRef, ir as listWritableExplicitTrustedSafeBinDirs, it as drainPendingPrimaryWrites, j as deliveryContextKey, ja as resolveChannelConfigId, ji as parseNonNegativeByteSize, jn as resolveAccountEntry, jr as resolveSubagentSpawnModelSelection, jt as emitDiagnosticEvent, k as resolveCacheTtlMs$1, ka as normalizeChannelId$2, ki as resolveIMessageRemoteAttachmentRoots, kn as resolveChannelGroupRequireMention, ko as replaceBufferedPluginTaskPasses, kr as resolveModelRefFromString, kt as resolveTimezone, l as getPluginCommandSpecs, la as isSupportedLocalAvatarExtension, li as isRecord$1, ln as listEnabledTelegramAccounts, lo as DEFAULT_CONTEXT_TOKENS, lr as isWindowsPlatform, lt as collectErrorGraphCandidates, m as triggerInternalHook, ma as BUNDLED_ENABLED_BY_DEFAULT, mi as resetConfigOverrides, mn as resolveSlackReplyToMode, mo as resolveShellEnvFallbackTimeoutMs, mr as resolveSafeBinProfiles, mt as hasErrnoCode, n as clearRegisteredPluginApis, ni as markAuthProfileFailure, nn as getChannelPlugin, nr as getTrustedSafeBinDirs, nt as isJsonlSessionBackend, o as buildPluginHealthReport, oa as isAvatarDataUrl, oi as resolveSecretRefValues, on as listChannelDocks, oo as normalizeResolvedSecretInputString, or as validateSafeBinArgv, ot as hydrateSessionManagerFromDb, p as createInternalHookEvent, pa as loadPluginManifestRegistry, pi as getConfigOverrides, pn as resolveSlackAccount, po as getShellPathFromLoginShell, pr as normalizeSafeBinProfileFixtures, pt as formatUncaughtError, q as createAsyncLock, qa as listProfilesForProvider, qn as normalizeStringEntries, qr as requireApiKey, qt as DEFAULT_RESET_TRIGGERS, ri as markAuthProfileUsed, rn as listChannelPlugins, ro as normalizeSecretInput, rr as isTrustedSafeBinPath, rt as createPrimaryWriteInterceptor, s as clearPluginCommands, sa as isAvatarHttpUrl, si as describeUnknownError$1, sn as normalizeSignalMessagingTarget, so as resolveSecretInputRef, sr as analyzeShellCommand, st as emitSessionTranscriptUpdate, t as addRegisteredPluginApi, ti as isProfileInCooldown, tn as deriveSessionMetaPatch, to as resolveAuthProfileDisplayLabel, tr as writeConfigFile, tt as withPreservationWriterPermit, u as listPluginCommands, ua as buildChannelAccountBindings, ui as parseDotPath, un as listTelegramAccountIds, uo as DEFAULT_MODEL, ur as splitCommandChain, v as getActivePreservationLease, va as resolveEffectiveEnableState, vi as parseConfigPath, vn as resolveSignalAccount, vo as readTaskWorkStates, vr as buildAllowedModelSet, vt as TASK_RUN_STATUSES, w as syncConfiguredSessionTranscriptToRuntime, wi as resolveTelegramCustomCommands, wn as createDiscordActionGate, wo as actionHasTarget, wr as normalizeModelRef$2, wt as toJsonValue$1, x as loadSessionStore, xa as isPathInside, xi as validateConfigObjectWithPlugins, xn as hasAnyWhatsAppAuth, xo as optionalStringEnum, xr as findNormalizedProviderValue, xt as sha256, y as getConfiguredSessionStorageRuntime, ya as resolveMemorySlotDecision, yi as setConfigValueAtPath, yn as isWhatsAppGroupJid, yo as channelTargetSchema, yr as buildConfiguredAllowlistKeys, z as countToolResults, za as mapStreamingModeToSlackLegacyDraftStreamMode, zi as extractShellWrapperInlineCommand, zn as normalizeMessageChannel, zr as OLLAMA_NATIVE_BASE_URL } from "./registry-
|
|
1
|
+
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import { $ as resolveMirroredTranscriptText, $a as withFileLock, $n as readConfigFileSnapshot, $t as resolveExplicitAgentSessionKey, A as deliveryContextFromSession, Aa as normalizeChatChannelId, Ai as normalizeScpRemoteHost, An as resolveChannelGroupToolsPolicy, Ao as RecoveryAdmissionError, Ar as resolveReasoningDefault, At as resolveSenderLabel, B as extractToolCallNames, Ba as resolveDiscordPreviewStreamMode, Bi as isDispatchWrapperExecutable, Bn as resolveGatewayMessageChannel, Br as createOllamaStreamFn, Bt as SESSION_RUN_STATUSES, C as recordSessionMetaFromInbound, Ca as readManifestNamespace, Ci as normalizeTelegramCommandName, Cn as resolveIMessageAccount, Co as applyTargetToParams, Cr as modelKey, Ct as mergePromptContributions, D as updateSessionStoreEntry, Da as listChatChannels, Dn as normalizeDiscordToken, Do as discardBufferedPluginTaskPasses, Dr as resolveConfiguredModelRef, Dt as formatUtcTimestamp, E as updateSessionStore, Ea as getChatChannelMeta, Ei as isInboundPathAllowed, En as resolveDiscordAccount, Er as parseModelRef, Et as buildInboundUserContextPrefix, F as normalizeAccountId$3, Fi as DEFAULT_SAFE_BINS, Fn as isGatewayMessageChannel, Ft as deriveSessionTotalTokens, G as normalizeInputProvenance, Gi as parseDurationMs, Gn as normalizeAtHashSlug, Gr as getApiKeyForModel, Gt as resolveSessionResetType, H as INPUT_PROVENANCE_KIND_VALUES, Ha as resolveSlackStreamingMode, Hi as unwrapKnownDispatchWrapperInvocation, Hn as GATEWAY_CLIENT_IDS, Hr as buildAssistantMessageWithZeroUsage, Ht as evaluateSessionFreshness, I as archiveSessionTranscripts, Ia as requireActivePluginRegistry, Ii as matchAllowlist, In as isInternalMessageChannel, It as hasNonzeroUsage, J as readJsonFile, Ja as markAuthProfileGood, Jn as normalizeStringEntriesLower, Jr as resolveApiKeyForProvider, Jt as mergeSessionEntry, K as jsonUtf8Bytes, Ka as dedupeProfileIds, Kn as normalizeHyphenSlug, Kr as getCustomProviderApiKey, Kt as resolveThreadFlag, L as capArrayByJsonBytes, La as setActivePluginRegistry, Li as resolveAllowlistCandidatePath, Ln as isMarkdownCapableMessageChannel, Lt as makeZeroUsageSnapshot, M as mergeDeliveryContext, Ma as getActiveGatewayPluginRegistry, Mi as ASSISTANT_IDENTITY_COLORS, Mn as resolveGroupSessionKey, Mr as resolveThinkingDefault, Mt as isDiagnosticsEnabled, N as normalizeDeliveryContext, Na as getActivePluginRegistry, Ni as secretRefKey, Nn as INTERNAL_MESSAGE_CHANNEL, O as isCacheEnabled, Oa as normalizeAnyChannelId, Oi as resolveIMessageAttachmentRoots, On as resolveChannelGroupPolicy, Oo as listBufferedPluginTaskPasses, Or as resolveDefaultModelForAgent, Ot as formatZonedTimestamp, P as normalizeSessionDeliveryFields, Pa as getActivePluginRegistryKey, Pi as resolveExecPolicyPreset, Pn as isDeliverableMessageChannel, Pt as derivePromptTokens, Q as appendAssistantMessageToSessionTranscript, Qa as resolveOpenClawAgentDir, Qn as loadConfig, Qt as resolveAgentMainSessionKey, R as stripLeadingInboundMetadata, Ra as isSafeExecutableValue, Ri as resolveCommandResolutionFromArgv, Rn as listDeliverableMessageChannels, Rr as retryAsync, Rt as normalizeUsage, S as readSessionUpdatedAt, Sa as safeStatSync, Si as TELEGRAM_COMMAND_NAME_PATTERN, Sn as resolveWhatsAppAccount, So as stringEnum, Sr as isCliProvider, St as createCurrentUserPromptEnvelope, T as updateLastRoute, Ta as CHAT_CHANNEL_ORDER, Tn as listEnabledDiscordAccounts, To as actionRequiresTarget, Tr as normalizeProviderId, Tt as buildInboundMetaSystemPrompt, U as applyInputProvenanceToUserMessage, Ui as unwrapKnownShellMultiplexerInvocation, Un as GATEWAY_CLIENT_MODES, Ur as buildStreamErrorAssistantMessage, Ut as resolveChannelResetConfig, V as parseInlineDirectives$1, Va as resolveSlackNativeStreaming, Vi as isShellWrapperExecutable, Vn as resolveMessageChannel, Vr as buildAssistantMessage, Vt as resolveSessionKey, W as hasInterSessionUserProvenance, Wn as GATEWAY_CLIENT_NAMES, Wr as buildUsageWithNoCost, Wt as resolveSessionResetPolicy, X as extractDeliveryInfo, Xn as resolveSessionLockMaxHoldFromTimeout, Xr as resolveModelAuthMode, Xt as setSessionRuntimeModel, Y as writeJsonAtomic, Ya as ensureAuthProfileStore, Yn as acquireSessionWriteLock, Yr as resolveEnvApiKey, Yt as resolveFreshSessionTotalTokens, Z as parseSessionThreadInfo, Za as resolveAuthStorePathForDisplay, Zr as resolveAuthProfileOrder, Zt as canonicalizeMainSessionAlias, _a as normalizePluginsConfig, _i as getConfigValueAtPath, _n as listEnabledSignalAccounts, _o as resolveOwnerDisplaySetting, _r as resolveAgentMaxConcurrent, _t as TASK_RUN_MODES, a as normalizePluginHttpPath, aa as AVATAR_MAX_BYTES, ai as resolveApiKeyForProfile, an as getChannelDock, ao as hasConfiguredSecretInput, ar as normalizeTrustedSafeBinDirs, at as DB_SESSION_HYDRATION_LIMIT, b as isPreservationArmed, ba as discoverOpenClawPlugins, bi as unsetConfigValueAtPath, bn as normalizeWhatsAppTarget, bo as channelTargetsSchema, br as buildModelAliasIndex, bt as sanitizeJsonb, c as executePluginCommand, ca as isPathWithinRoot, ci as isNonEmptyString, cn as createTelegramActionGate, co as splitTrailingAuthProfile, cr as buildEnforcedShellCommand, ct as onSessionTranscriptUpdate, d as matchPluginCommand, di as formatCliCommand, dn as resolveTelegramAccount, do as DEFAULT_PROVIDER, dr as splitShellArgs, dt as formatErrorChainMessage, ei as getSoonestCooldownExpiry, en as resolveMainSessionKey, eo as readProcessElapsedSeconds, et as resolveAndPersistSessionFile, f as registerPluginCommand, fa as validateJsonSchemaValue, fi as resolveCliName, fn as resolveTelegramToken, fo as VERSION, fr as SAFE_BIN_PROFILES, ft as formatErrorMessage, g as createConversationReadQuery, ga as isBundledChannelEnabledByChannelConfig, gi as unsetConfigOverride, gn as resolveSlackBotToken, go as parseBooleanValue$1, gr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, gt as readErrorName, h as StorageReadAccessError, ha as applyTestPluginDefaults, hi as setConfigOverride, hn as resolveSlackAppToken, ho as isTruthyEnvValue, hr as applyMergePatch, i as createPluginRegistry, ii as resolveProfilesUnavailableReason, in as normalizeChannelId$1, io as coerceSecretRef, ir as listWritableExplicitTrustedSafeBinDirs, it as drainPendingPrimaryWrites, j as deliveryContextKey, ja as resolveChannelConfigId, ji as parseNonNegativeByteSize, jn as resolveAccountEntry, jr as resolveSubagentSpawnModelSelection, jt as emitDiagnosticEvent, k as resolveCacheTtlMs$1, ka as normalizeChannelId$2, ki as resolveIMessageRemoteAttachmentRoots, kn as resolveChannelGroupRequireMention, ko as replaceBufferedPluginTaskPasses, kr as resolveModelRefFromString, kt as resolveTimezone, l as getPluginCommandSpecs, la as isSupportedLocalAvatarExtension, li as isRecord$1, ln as listEnabledTelegramAccounts, lo as DEFAULT_CONTEXT_TOKENS, lr as isWindowsPlatform, lt as collectErrorGraphCandidates, m as triggerInternalHook, ma as BUNDLED_ENABLED_BY_DEFAULT, mi as resetConfigOverrides, mn as resolveSlackReplyToMode, mo as resolveShellEnvFallbackTimeoutMs, mr as resolveSafeBinProfiles, mt as hasErrnoCode, n as clearRegisteredPluginApis, ni as markAuthProfileFailure, nn as getChannelPlugin, nr as getTrustedSafeBinDirs, nt as isJsonlSessionBackend, o as buildPluginHealthReport, oa as isAvatarDataUrl, oi as resolveSecretRefValues, on as listChannelDocks, oo as normalizeResolvedSecretInputString, or as validateSafeBinArgv, ot as hydrateSessionManagerFromDb, p as createInternalHookEvent, pa as loadPluginManifestRegistry, pi as getConfigOverrides, pn as resolveSlackAccount, po as getShellPathFromLoginShell, pr as normalizeSafeBinProfileFixtures, pt as formatUncaughtError, q as createAsyncLock, qa as listProfilesForProvider, qn as normalizeStringEntries, qr as requireApiKey, qt as DEFAULT_RESET_TRIGGERS, ri as markAuthProfileUsed, rn as listChannelPlugins, ro as normalizeSecretInput, rr as isTrustedSafeBinPath, rt as createPrimaryWriteInterceptor, s as clearPluginCommands, sa as isAvatarHttpUrl, si as describeUnknownError$1, sn as normalizeSignalMessagingTarget, so as resolveSecretInputRef, sr as analyzeShellCommand, st as emitSessionTranscriptUpdate, t as addRegisteredPluginApi, ti as isProfileInCooldown, tn as deriveSessionMetaPatch, to as resolveAuthProfileDisplayLabel, tr as writeConfigFile, tt as withPreservationWriterPermit, u as listPluginCommands, ua as buildChannelAccountBindings, ui as parseDotPath, un as listTelegramAccountIds, uo as DEFAULT_MODEL, ur as splitCommandChain, v as getActivePreservationLease, va as resolveEffectiveEnableState, vi as parseConfigPath, vn as resolveSignalAccount, vo as readTaskWorkStates, vr as buildAllowedModelSet, vt as TASK_RUN_STATUSES, w as syncConfiguredSessionTranscriptToRuntime, wi as resolveTelegramCustomCommands, wn as createDiscordActionGate, wo as actionHasTarget, wr as normalizeModelRef$2, wt as toJsonValue$1, x as loadSessionStore, xa as isPathInside, xi as validateConfigObjectWithPlugins, xn as hasAnyWhatsAppAuth, xo as optionalStringEnum, xr as findNormalizedProviderValue, xt as sha256, y as getConfiguredSessionStorageRuntime, ya as resolveMemorySlotDecision, yi as setConfigValueAtPath, yn as isWhatsAppGroupJid, yo as channelTargetSchema, yr as buildConfiguredAllowlistKeys, z as countToolResults, za as mapStreamingModeToSlackLegacyDraftStreamMode, zi as extractShellWrapperInlineCommand, zn as normalizeMessageChannel, zr as OLLAMA_NATIVE_BASE_URL } from "./registry-a1K6DAkx.js";
|
|
3
3
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, J as isBlockedObjectKey, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFileSync, S as shortenHomeInString, T as sliceUtf16Safe, Z as openBoundaryFile, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, c as registerActiveProgressLine, d as clampInt, g as isRecord$2, h as formatTerminalLink, j as setVerbose, k as logVerbose, l as unregisterActiveProgressLine, lt as isDangerousHostEnvVarName, m as escapeRegExp, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, p as ensureDir$3, s as clearActiveProgressLine, st as normalizeWindowsPathForComparison, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$1 } from "./subsystem-
|
|
4
|
+
import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, J as isBlockedObjectKey, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFileSync, S as shortenHomeInString, T as sliceUtf16Safe, Z as openBoundaryFile, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, c as registerActiveProgressLine, d as clampInt, g as isRecord$2, h as formatTerminalLink, j as setVerbose, k as logVerbose, l as unregisterActiveProgressLine, lt as isDangerousHostEnvVarName, m as escapeRegExp, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, p as ensureDir$3, s as clearActiveProgressLine, st as normalizeWindowsPathForComparison, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$1 } from "./subsystem-CchgWuXK.js";
|
|
5
5
|
import { t as isPlainObject } from "./plain-object-CLm2c5Nu.js";
|
|
6
|
-
import { $ as normalizeOptionalAccountId, A as resolveAgentModelFallbackValues, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as resolveAgentIdFromSessionKey, H as isValidAgentId, J as resolveThreadSessionKeys, K as resolveCanonicalIdentity, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as normalizeAccountId$4, S as filterBootstrapFilesForSession, U as normalizeAgentId, V as isKnownAgentMainSessionKey, W as normalizeMainKey, X as toAgentStoreSessionKey, Y as sanitizeAgentId, Z as DEFAULT_ACCOUNT_ID, _ as DEFAULT_IDENTITY_FILENAME, at as isSubagentSessionKey, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as WAKE_GATE_SESSION_KEY_SEGMENT, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, it as isCronSessionKey, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as getSubagentDepth, o as resolveAgentSkillsFilter, ot as parseAgentSessionKey, q as resolveConfiguredCanonicalIdentity, r as resolveAgentConfig, rt as isAcpSessionKey, s as resolveAgentWorkspaceDir, st as resolveThreadParentSessionKey, t as hasConfiguredModelFallbacks, tt as deriveSessionChatType, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as classifySessionKeyShape } from "./agent-scope-
|
|
7
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
6
|
+
import { $ as normalizeOptionalAccountId, A as resolveAgentModelFallbackValues, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as resolveAgentIdFromSessionKey, H as isValidAgentId, J as resolveThreadSessionKeys, K as resolveCanonicalIdentity, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as normalizeAccountId$4, S as filterBootstrapFilesForSession, U as normalizeAgentId, V as isKnownAgentMainSessionKey, W as normalizeMainKey, X as toAgentStoreSessionKey, Y as sanitizeAgentId, Z as DEFAULT_ACCOUNT_ID, _ as DEFAULT_IDENTITY_FILENAME, at as isSubagentSessionKey, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as WAKE_GATE_SESSION_KEY_SEGMENT, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, it as isCronSessionKey, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as getSubagentDepth, o as resolveAgentSkillsFilter, ot as parseAgentSessionKey, q as resolveConfiguredCanonicalIdentity, r as resolveAgentConfig, rt as isAcpSessionKey, s as resolveAgentWorkspaceDir, st as resolveThreadParentSessionKey, t as hasConfiguredModelFallbacks, tt as deriveSessionChatType, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as classifySessionKeyShape } from "./agent-scope-CnGNp8FI.js";
|
|
7
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-BkzoyfHW.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-CtAXGjCK.js";
|
|
9
|
-
import { _ as runTasksWithConcurrency, d as resolveSessionFilePath, f as resolveSessionFilePathOptions, g as resolveStorePath, h as resolveSessionTranscriptsDirForAgent, i as testRegexWithBoundedInput, o as isPrimarySessionTranscriptFileName, p as resolveSessionTranscriptPath, r as compileSafeRegex, t as redactSensitiveText, u as resolveDefaultSessionStorePath } from "./redact-
|
|
9
|
+
import { _ as runTasksWithConcurrency, d as resolveSessionFilePath, f as resolveSessionFilePathOptions, g as resolveStorePath, h as resolveSessionTranscriptsDirForAgent, i as testRegexWithBoundedInput, o as isPrimarySessionTranscriptFileName, p as resolveSessionTranscriptPath, r as compileSafeRegex, t as redactSensitiveText, u as resolveDefaultSessionStorePath } from "./redact-DJV_iVHt.js";
|
|
10
10
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
11
|
-
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
12
|
-
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-
|
|
13
|
-
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as KeyedAsyncQueue, f as WORKSPACE_LANE_DENIED_REASON, i as agentTurnIdempotencyKey, l as peekDelayedAgentTurn, n as getAgentTurnRuntime, o as enqueueAgentTurn, r as tryGetAgentTurnRuntime, s as isClaimableAgentTurnWorkId, u as setDelayedReleaseHold } from "./agent-turn-runner-
|
|
14
|
-
import { $ as resolveSandboxConfigForAgent, A as isFailoverAssistantError, B as isTimeoutErrorMessage, C as formatRawAssistantErrorForUi, D as isCloudCodeAssistFormatError, E as isBillingAssistantError, F as isTransientHttpError, G as registerBrowserRoutes, H as resolveSandboxContext, I as parseImageDimensionError, J as getBridgeAuthForPort, K as resolveBrowserConfig, L as parseImageSizeError, M as isLikelyContextOverflowError, N as isRateLimitAssistantError, O as isCompactionFailureError, P as isRawApiErrorPayload, Q as trimToUndefined$1, R as sanitizeUserFacingText, S as formatBillingErrorMessage, T as isAuthAssistantError, U as resolveSandboxRuntimeStatus, V as ensureSandboxWorkspaceForSession, W as createBrowserRouteContext, X as resolveBrowserControlAuth, Y as ensureBrowserControlAuth, Z as resolveGatewayCredentialsFromConfig, _ as downgradeOpenAIReasoningBlocks, a as isMessagingToolDuplicateNormalized, at as resolveBootstrapTotalMaxChars, b as classifyFailoverReason, c as sanitizeImageBlocks, ct as applyOwnerOnlyToolPolicy, d as canonicalizeBase64, dt as expandPolicyWithPluginGroups, et as compileGlobPatterns, f as estimateBase64DecodedBytes, ft as mergeAlsoAllowPolicy, g as downgradeOpenAIFunctionCallReasoningPairs, gt as resolveToolProfilePolicy, h as sanitizeToolCallIdsForCloudCodeAssist, ht as normalizeToolName, it as resolveBootstrapMaxChars, j as isFailoverErrorMessage, k as isContextOverflowError, l as sanitizeToolResultImages, lt as buildPluginToolGroups, m as extractToolResultId, mt as expandToolGroups, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as normalizeTextForComparison, ot as sanitizeGoogleTurnOrdering, p as extractToolCallsFromAssistant, pt as stripPluginOnlyAllowlist, q as resolveProfile, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as sanitizeSessionMessagesImages, st as extractTextFromChatContent, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as resolveImageSanitizationLimits, ut as collectExplicitAllowlist, v as isGoogleModelApi, w as getApiErrorPayloadFingerprint, x as formatAssistantErrorText, y as BILLING_ERROR_USER_MESSAGE, z as isAuthPermanentErrorMessage } from "./pi-embedded-helpers-
|
|
15
|
-
import { _ as resolveProviderPromptCacheKey, a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, f as getGlobalHookRunner, g as buildPluginTurnIdentity, h as buildPluginRuntimeIdentity, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, m as promptBuildResultToContribution, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, p as initializeGlobalHookRunner, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext, v as resolveProviderRuntimeIdentity } from "./outbound-message-hooks-
|
|
11
|
+
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-Da0ufWWQ.js";
|
|
12
|
+
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-DbCdf0YA.js";
|
|
13
|
+
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as KeyedAsyncQueue, f as WORKSPACE_LANE_DENIED_REASON, i as agentTurnIdempotencyKey, l as peekDelayedAgentTurn, n as getAgentTurnRuntime, o as enqueueAgentTurn, r as tryGetAgentTurnRuntime, s as isClaimableAgentTurnWorkId, u as setDelayedReleaseHold } from "./agent-turn-runner-DsmB1ai8.js";
|
|
14
|
+
import { $ as resolveSandboxConfigForAgent, A as isFailoverAssistantError, B as isTimeoutErrorMessage, C as formatRawAssistantErrorForUi, D as isCloudCodeAssistFormatError, E as isBillingAssistantError, F as isTransientHttpError, G as registerBrowserRoutes, H as resolveSandboxContext, I as parseImageDimensionError, J as getBridgeAuthForPort, K as resolveBrowserConfig, L as parseImageSizeError, M as isLikelyContextOverflowError, N as isRateLimitAssistantError, O as isCompactionFailureError, P as isRawApiErrorPayload, Q as trimToUndefined$1, R as sanitizeUserFacingText, S as formatBillingErrorMessage, T as isAuthAssistantError, U as resolveSandboxRuntimeStatus, V as ensureSandboxWorkspaceForSession, W as createBrowserRouteContext, X as resolveBrowserControlAuth, Y as ensureBrowserControlAuth, Z as resolveGatewayCredentialsFromConfig, _ as downgradeOpenAIReasoningBlocks, a as isMessagingToolDuplicateNormalized, at as resolveBootstrapTotalMaxChars, b as classifyFailoverReason, c as sanitizeImageBlocks, ct as applyOwnerOnlyToolPolicy, d as canonicalizeBase64, dt as expandPolicyWithPluginGroups, et as compileGlobPatterns, f as estimateBase64DecodedBytes, ft as mergeAlsoAllowPolicy, g as downgradeOpenAIFunctionCallReasoningPairs, gt as resolveToolProfilePolicy, h as sanitizeToolCallIdsForCloudCodeAssist, ht as normalizeToolName, it as resolveBootstrapMaxChars, j as isFailoverErrorMessage, k as isContextOverflowError, l as sanitizeToolResultImages, lt as buildPluginToolGroups, m as extractToolResultId, mt as expandToolGroups, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as normalizeTextForComparison, ot as sanitizeGoogleTurnOrdering, p as extractToolCallsFromAssistant, pt as stripPluginOnlyAllowlist, q as resolveProfile, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as sanitizeSessionMessagesImages, st as extractTextFromChatContent, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as resolveImageSanitizationLimits, ut as collectExplicitAllowlist, v as isGoogleModelApi, w as getApiErrorPayloadFingerprint, x as formatAssistantErrorText, y as BILLING_ERROR_USER_MESSAGE, z as isAuthPermanentErrorMessage } from "./pi-embedded-helpers-CnSvnhZ5.js";
|
|
15
|
+
import { _ as resolveProviderPromptCacheKey, a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, f as getGlobalHookRunner, g as buildPluginTurnIdentity, h as buildPluginRuntimeIdentity, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, m as promptBuildResultToContribution, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, p as initializeGlobalHookRunner, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext, v as resolveProviderRuntimeIdentity } from "./outbound-message-hooks-BRaQOrWY.js";
|
|
16
16
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DTYnjeA4.js";
|
|
17
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
18
|
-
import { C as loadModelCatalog, S as findModelInCatalog, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as modelSupportsVision, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
19
|
-
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
20
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
21
|
-
import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-
|
|
22
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
23
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
24
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
25
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
17
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-B6q951LE.js";
|
|
18
|
+
import { C as loadModelCatalog, S as findModelInCatalog, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as modelSupportsVision, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-BhIHLM0o.js";
|
|
19
|
+
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-B3tDBZQT.js";
|
|
20
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-BB9Wgd3q.js";
|
|
21
|
+
import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-eAuhZOk3.js";
|
|
22
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BRWXiCTP.js";
|
|
23
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CwzzGBMh.js";
|
|
24
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-hZXfkNib.js";
|
|
25
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-CHNW3RaG.js";
|
|
26
26
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-C9BUXqZf.js";
|
|
27
27
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-hgTgIoNS.js";
|
|
28
|
-
import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-
|
|
29
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-
|
|
30
|
-
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-
|
|
31
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
32
|
-
import { r as makeProxyFetch } from "./proxy-fetch-
|
|
33
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
34
|
-
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, T as recordUpdate, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as listPairingChannels, a as reactMessageTelegram, at as isSenderIdAllowed, b as wrapFileReferencesInHtml, bt as isVoiceCompatibleAudio, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, dt as readChannelAllowFromStore, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, ft as removeChannelAllowFromStoreEntry, g as isTelegramEditMayHaveLandedError, gt as getPairingAdapter, h as isTelegramClientRejection, ht as writeJsonFileAtomically, i as editMessageTelegram, it as firstDefined$1, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readJsonFileWithFallback, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as mergeDmAllowFromSources, p as isRecoverableTelegramNetworkError, pt as upsertChannelPairingRequest, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveGroupAllowFromSources, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, ut as addChannelAllowFromStoreEntry, v as markdownToTelegramHtml, vt as parseTelegramTarget, w as recordState, x as fingerprintTelegramToken, y as renderTelegramHtmlText, yt as resolveTelegramTargetChatType, z as buildTelegramParentPeer } from "./send-
|
|
35
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
36
|
-
import { A as boundDiagnosticContent, C as logWebhookError, D as refreshRunProgress, E as recordSystemPromptHashComparison, M as resetCommandPollCount, O as startDiagnosticHeartbeat, S as logToolExecutionStarted, T as logWebhookReceived, b as logToolExecutionBlocked, d as logRunCompleted, f as logRunStarted, j as recordCommandPoll, k as stopDiagnosticHeartbeat, l as logModelCallError, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, w as logWebhookProcessed, x as logToolExecutionCompleted } from "./diagnostic-
|
|
37
|
-
import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-
|
|
28
|
+
import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-FipSNRdB.js";
|
|
29
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-DQFdI72d.js";
|
|
30
|
+
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BFvsrzue.js";
|
|
31
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B9NwOc7g.js";
|
|
32
|
+
import { r as makeProxyFetch } from "./proxy-fetch-CvuoPGtS.js";
|
|
33
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DlEOpSNG.js";
|
|
34
|
+
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, T as recordUpdate, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as listPairingChannels, a as reactMessageTelegram, at as isSenderIdAllowed, b as wrapFileReferencesInHtml, bt as isVoiceCompatibleAudio, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, dt as readChannelAllowFromStore, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, ft as removeChannelAllowFromStoreEntry, g as isTelegramEditMayHaveLandedError, gt as getPairingAdapter, h as isTelegramClientRejection, ht as writeJsonFileAtomically, i as editMessageTelegram, it as firstDefined$1, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readJsonFileWithFallback, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as mergeDmAllowFromSources, p as isRecoverableTelegramNetworkError, pt as upsertChannelPairingRequest, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveGroupAllowFromSources, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, ut as addChannelAllowFromStoreEntry, v as markdownToTelegramHtml, vt as parseTelegramTarget, w as recordState, x as fingerprintTelegramToken, y as renderTelegramHtmlText, yt as resolveTelegramTargetChatType, z as buildTelegramParentPeer } from "./send-BOadl23F.js";
|
|
35
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-Cioh8xR5.js";
|
|
36
|
+
import { A as boundDiagnosticContent, C as logWebhookError, D as refreshRunProgress, E as recordSystemPromptHashComparison, M as resetCommandPollCount, O as startDiagnosticHeartbeat, S as logToolExecutionStarted, T as logWebhookReceived, b as logToolExecutionBlocked, d as logRunCompleted, f as logRunStarted, j as recordCommandPoll, k as stopDiagnosticHeartbeat, l as logModelCallError, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, w as logWebhookProcessed, x as logToolExecutionCompleted } from "./diagnostic-D3KftfxN.js";
|
|
37
|
+
import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-DZLx0-S4.js";
|
|
38
38
|
import { t as redactIdentifier } from "./redact-identifier-BN_ntAFs.js";
|
|
39
39
|
import { t as CommandLane } from "./lanes-DLWRMvoo.js";
|
|
40
|
-
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-
|
|
41
|
-
import { a as resolveSessionRunStore, n as deriveSessionRunId, o as getGatewayInstanceId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
42
|
-
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-
|
|
43
|
-
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-
|
|
44
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
45
|
-
import { C as buildTargetResolverSignature, S as resolveReplyToMode, T as normalizeTargetForProvider, _ as filterMessagingToolMediaDuplicates, a as normalizeReplyPayloadsForDelivery, b as shouldSuppressReasoningPayload, c as throwIfAborted, d as resolveContextTokensForModel, f as computeBackoff, g as filterMessagingToolDuplicates, h as applyReplyThreading, i as normalizeOutboundPayloadsForJson, l as loadChannelOutboundAdapter, m as applyReplyTagsToPayload, n as formatOutboundPayloadLog, o as stampReplyActivity, p as sleepWithAbort, r as normalizeOutboundPayloads, s as loadCombinedSessionStoreForGateway, t as deliverOutboundPayloads, u as lookupContextTokens, v as isRenderablePayload, w as normalizeChannelTargetInput, x as createReplyToModeFilterForChannel, y as shouldSuppressMessagingToolReplies } from "./deliver-
|
|
46
|
-
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-
|
|
47
|
-
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-
|
|
48
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
49
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
50
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-
|
|
40
|
+
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-CYf-7rkG.js";
|
|
41
|
+
import { a as resolveSessionRunStore, n as deriveSessionRunId, o as getGatewayInstanceId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-D7XZ7UmE.js";
|
|
42
|
+
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-EpFoGxwN.js";
|
|
43
|
+
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-B6ipR6mr.js";
|
|
44
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-DQq11usP.js";
|
|
45
|
+
import { C as buildTargetResolverSignature, S as resolveReplyToMode, T as normalizeTargetForProvider, _ as filterMessagingToolMediaDuplicates, a as normalizeReplyPayloadsForDelivery, b as shouldSuppressReasoningPayload, c as throwIfAborted, d as resolveContextTokensForModel, f as computeBackoff, g as filterMessagingToolDuplicates, h as applyReplyThreading, i as normalizeOutboundPayloadsForJson, l as loadChannelOutboundAdapter, m as applyReplyTagsToPayload, n as formatOutboundPayloadLog, o as stampReplyActivity, p as sleepWithAbort, r as normalizeOutboundPayloads, s as loadCombinedSessionStoreForGateway, t as deliverOutboundPayloads, u as lookupContextTokens, v as isRenderablePayload, w as normalizeChannelTargetInput, x as createReplyToModeFilterForChannel, y as shouldSuppressMessagingToolReplies } from "./deliver-DI31nbkd.js";
|
|
46
|
+
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-B8XUU4mk.js";
|
|
47
|
+
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-BdsP_j6P.js";
|
|
48
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-BsCy4Zpx.js";
|
|
49
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DwNljUPH.js";
|
|
50
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-Cclz7vkh.js";
|
|
51
51
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CpkChK6K.js";
|
|
52
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
52
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-7O6vFfh7.js";
|
|
53
53
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-D-OOjyS_.js";
|
|
54
|
-
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-
|
|
55
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
56
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
57
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
58
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
59
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { t as createTelegramPollingTransport } from "./proxy-
|
|
62
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
63
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
54
|
+
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-k2QxX-uo.js";
|
|
55
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CfVZYwJk.js";
|
|
56
|
+
import { t as convertMarkdownTables } from "./tables-BTAyaId-.js";
|
|
57
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BTEKm_zW.js";
|
|
58
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-BVxNes08.js";
|
|
59
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-Dtl8FvA5.js";
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DaLkSpwv.js";
|
|
61
|
+
import { t as createTelegramPollingTransport } from "./proxy-DeH1UOPr.js";
|
|
62
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-D69GlNvT.js";
|
|
63
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-cnp_5w21.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-D5eZZMwx.js";
|
|
65
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BYSUz-Za.js";
|
|
66
66
|
import { createRequire } from "node:module";
|
|
67
67
|
import * as path$1 from "node:path";
|
|
68
68
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
@@ -71,7 +71,7 @@ import { Type } from "@sinclair/typebox";
|
|
|
71
71
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
72
72
|
import os, { homedir } from "node:os";
|
|
73
73
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
74
|
-
import
|
|
74
|
+
import json5 from "json5";
|
|
75
75
|
import * as fs$2 from "node:fs/promises";
|
|
76
76
|
import fs$1, { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
77
77
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
@@ -84,7 +84,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
|
|
|
84
84
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
85
85
|
import { createJiti } from "jiti";
|
|
86
86
|
import { createServer } from "node:http";
|
|
87
|
-
import WebSocket, { WebSocket
|
|
87
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
88
88
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
89
89
|
import { EdgeTTS } from "node-edge-tts";
|
|
90
90
|
import AjvPkg from "ajv";
|
|
@@ -10182,7 +10182,7 @@ var GatewayClient = class {
|
|
|
10182
10182
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
10183
10183
|
});
|
|
10184
10184
|
}
|
|
10185
|
-
this.ws = new WebSocket
|
|
10185
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
10186
10186
|
this.ws.on("open", () => {
|
|
10187
10187
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
10188
10188
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -10378,7 +10378,7 @@ var GatewayClient = class {
|
|
|
10378
10378
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
10379
10379
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
10380
10380
|
this.connectTimer = setTimeout(() => {
|
|
10381
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
10381
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
10382
10382
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
10383
10383
|
this.ws?.close(1008, "connect challenge timeout");
|
|
10384
10384
|
}, connectChallengeTimeoutMs);
|
|
@@ -10420,7 +10420,7 @@ var GatewayClient = class {
|
|
|
10420
10420
|
return null;
|
|
10421
10421
|
}
|
|
10422
10422
|
async request(method, params, opts) {
|
|
10423
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
10423
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
10424
10424
|
const id = randomUUID();
|
|
10425
10425
|
const frame = {
|
|
10426
10426
|
type: "req",
|
|
@@ -13435,7 +13435,7 @@ async function routeReply(params) {
|
|
|
13435
13435
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
13436
13436
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
13437
13437
|
try {
|
|
13438
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
13438
|
+
const { deliverOutboundPayloads } = await import("./deliver-BCcJCpV5.js");
|
|
13439
13439
|
const outboundSession = buildOutboundSessionContext({
|
|
13440
13440
|
cfg,
|
|
13441
13441
|
agentId: resolvedAgentId,
|
|
@@ -14978,7 +14978,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14978
14978
|
}
|
|
14979
14979
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14980
14980
|
try {
|
|
14981
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14981
|
+
const { deliverOutboundPayloads } = await import("./deliver-BCcJCpV5.js");
|
|
14982
14982
|
await deliverOutboundPayloads({
|
|
14983
14983
|
cfg,
|
|
14984
14984
|
channel: normalizedChannel,
|
|
@@ -31624,7 +31624,7 @@ function normalizeSessionKey(value) {
|
|
|
31624
31624
|
function readSessionStore(storePath) {
|
|
31625
31625
|
try {
|
|
31626
31626
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
31627
|
-
const parsed =
|
|
31627
|
+
const parsed = json5.parse(raw);
|
|
31628
31628
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
31629
31629
|
} catch {}
|
|
31630
31630
|
return {};
|
|
@@ -33292,7 +33292,7 @@ async function createModelSelectionState(params) {
|
|
|
33292
33292
|
}
|
|
33293
33293
|
}
|
|
33294
33294
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
33295
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
33295
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-D2XVcppb.js");
|
|
33296
33296
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
33297
33297
|
const providerKey = normalizeProviderId(provider);
|
|
33298
33298
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -53489,7 +53489,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
53489
53489
|
return;
|
|
53490
53490
|
}
|
|
53491
53491
|
try {
|
|
53492
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
53492
|
+
const { deliverOutboundPayloads } = await import("./deliver-BCcJCpV5.js");
|
|
53493
53493
|
const outboundSession = buildOutboundSessionContext({
|
|
53494
53494
|
cfg: params.cfg,
|
|
53495
53495
|
sessionKey: params.sessionKey
|
|
@@ -54781,9 +54781,9 @@ function buildWorkspaceLaneActor(params) {
|
|
|
54781
54781
|
channel: INTERNAL_MESSAGE_CHANNEL,
|
|
54782
54782
|
senderId,
|
|
54783
54783
|
laneSenderId: senderId,
|
|
54784
|
-
isHeartbeat,
|
|
54785
|
-
configuredIdentity,
|
|
54786
|
-
inheritedCanonicalIdentity
|
|
54784
|
+
isHeartbeat: void 0,
|
|
54785
|
+
configuredIdentity: void 0,
|
|
54786
|
+
inheritedCanonicalIdentity: void 0
|
|
54787
54787
|
})
|
|
54788
54788
|
};
|
|
54789
54789
|
}
|
|
@@ -55320,7 +55320,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
|
|
|
55320
55320
|
const { backbone, runner } = getAgentTurnRuntime();
|
|
55321
55321
|
const id = await enqueueAgentTurn(backbone, payload);
|
|
55322
55322
|
if (!isClaimableAgentTurnWorkId(id)) return;
|
|
55323
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
55323
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-Cu3b1_S-.js");
|
|
55324
55324
|
await runner.claimAndExecute({
|
|
55325
55325
|
workId: id,
|
|
55326
55326
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -56605,7 +56605,7 @@ async function handleHeartbeatError(params) {
|
|
|
56605
56605
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
56606
56606
|
async function ackAnnounceExecuted(payload) {
|
|
56607
56607
|
if (payload.kind !== "announce") return;
|
|
56608
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
56608
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-1_rpAdGi.js");
|
|
56609
56609
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
56610
56610
|
await markSubagentAnnounceExecuted(runId);
|
|
56611
56611
|
} catch {}
|
|
@@ -56873,7 +56873,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
56873
56873
|
let subagentRegistryAccessPromise;
|
|
56874
56874
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
56875
56875
|
function loadSubagentRegistryAccess() {
|
|
56876
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
56876
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-1_rpAdGi.js").catch((err) => {
|
|
56877
56877
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
56878
56878
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
56879
56879
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -59485,8 +59485,8 @@ function shouldEmitLoopWarning(state, warningKey, count) {
|
|
|
59485
59485
|
async function recordLoopOutcome(args) {
|
|
59486
59486
|
if (!args.ctx?.sessionKey) return;
|
|
59487
59487
|
try {
|
|
59488
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
59489
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
59488
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DZLx0-S4.js").then((n) => n.n);
|
|
59489
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-BN0lIxLx.js");
|
|
59490
59490
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
59491
59491
|
sessionKey: args.ctx.sessionKey,
|
|
59492
59492
|
sessionId: args.ctx?.agentId
|
|
@@ -59512,9 +59512,9 @@ async function runBeforeToolCallHook(args) {
|
|
|
59512
59512
|
const toolName = normalizeToolName(args.toolName || "tool");
|
|
59513
59513
|
const params = args.params;
|
|
59514
59514
|
if (args.ctx?.sessionKey) {
|
|
59515
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
59516
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
59517
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
59515
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DZLx0-S4.js").then((n) => n.n);
|
|
59516
|
+
const { logToolLoopAction } = await import("./diagnostic-D3KftfxN.js").then((n) => n.n);
|
|
59517
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-BN0lIxLx.js");
|
|
59518
59518
|
const sessionState = getDiagnosticSessionState({
|
|
59519
59519
|
sessionKey: args.ctx.sessionKey,
|
|
59520
59520
|
sessionId: args.ctx?.agentId
|
|
@@ -59699,20 +59699,8 @@ function resolveHostEditPath(root, pathParam) {
|
|
|
59699
59699
|
const expanded = pathParam.startsWith("~/") || pathParam === "~" ? pathParam.replace(/^~/, os.homedir()) : pathParam;
|
|
59700
59700
|
return path.isAbsolute(expanded) ? path.resolve(expanded) : path.resolve(root, expanded);
|
|
59701
59701
|
}
|
|
59702
|
-
/**
|
|
59703
|
-
* Read oldText/newText from either the legacy top-level shape or the pi-coding-agent 0.73.1
|
|
59704
|
-
* edits[] shape. wrapToolParamNormalization now runs the vendor tool's prepareArguments() hook
|
|
59705
|
-
* before execute(), which moves top-level oldText/newText into edits[0] for the edit tool — so
|
|
59706
|
-
* this wrapper (sitting between that hook and the base execute) must accept both.
|
|
59707
|
-
*/
|
|
59708
59702
|
function extractEditTextFields(record) {
|
|
59709
59703
|
if (!record) return {};
|
|
59710
|
-
const newText = typeof record.newText === "string" ? record.newText : typeof record.new_string === "string" ? record.new_string : void 0;
|
|
59711
|
-
const oldText = typeof record.oldText === "string" ? record.oldText : typeof record.old_string === "string" ? record.old_string : void 0;
|
|
59712
|
-
if (newText !== void 0 || oldText !== void 0) return {
|
|
59713
|
-
oldText,
|
|
59714
|
-
newText
|
|
59715
|
-
};
|
|
59716
59704
|
if (Array.isArray(record.edits) && record.edits.length > 0) {
|
|
59717
59705
|
const first = record.edits[0];
|
|
59718
59706
|
if (first && typeof first === "object") {
|
|
@@ -59780,23 +59768,13 @@ const CLAUDE_PARAM_GROUPS = {
|
|
|
59780
59768
|
label: "path (path or file_path)"
|
|
59781
59769
|
}, {
|
|
59782
59770
|
keys: ["content"],
|
|
59783
|
-
label: "content"
|
|
59771
|
+
label: "content",
|
|
59772
|
+
allowEmpty: true
|
|
59784
59773
|
}],
|
|
59785
|
-
edit: [
|
|
59786
|
-
|
|
59787
|
-
|
|
59788
|
-
|
|
59789
|
-
},
|
|
59790
|
-
{
|
|
59791
|
-
keys: ["oldText", "old_string"],
|
|
59792
|
-
label: "oldText (oldText or old_string)"
|
|
59793
|
-
},
|
|
59794
|
-
{
|
|
59795
|
-
keys: ["newText", "new_string"],
|
|
59796
|
-
label: "newText (newText or new_string)",
|
|
59797
|
-
allowEmpty: true
|
|
59798
|
-
}
|
|
59799
|
-
]
|
|
59774
|
+
edit: [{
|
|
59775
|
+
keys: ["path", "file_path"],
|
|
59776
|
+
label: "path (path or file_path)"
|
|
59777
|
+
}]
|
|
59800
59778
|
};
|
|
59801
59779
|
function extractStructuredText(value, depth = 0) {
|
|
59802
59780
|
if (depth > 6) return;
|
|
@@ -59849,20 +59827,10 @@ function patchToolSchemaForClaudeCompatibility(tool) {
|
|
|
59849
59827
|
const properties = { ...schema.properties };
|
|
59850
59828
|
const required = Array.isArray(schema.required) ? schema.required.filter((key) => typeof key === "string") : [];
|
|
59851
59829
|
let changed = false;
|
|
59852
|
-
for (const { original, alias } of [
|
|
59853
|
-
|
|
59854
|
-
|
|
59855
|
-
|
|
59856
|
-
},
|
|
59857
|
-
{
|
|
59858
|
-
original: "oldText",
|
|
59859
|
-
alias: "old_string"
|
|
59860
|
-
},
|
|
59861
|
-
{
|
|
59862
|
-
original: "newText",
|
|
59863
|
-
alias: "new_string"
|
|
59864
|
-
}
|
|
59865
|
-
]) {
|
|
59830
|
+
for (const { original, alias } of [{
|
|
59831
|
+
original: "path",
|
|
59832
|
+
alias: "file_path"
|
|
59833
|
+
}]) {
|
|
59866
59834
|
if (!(original in properties)) continue;
|
|
59867
59835
|
if (!(alias in properties)) {
|
|
59868
59836
|
properties[alias] = properties[original];
|
|
@@ -63188,6 +63156,8 @@ function toToolDefinitions(tools, ctx) {
|
|
|
63188
63156
|
label: tool.label ?? name,
|
|
63189
63157
|
description: tool.description ?? "",
|
|
63190
63158
|
parameters: tool.parameters,
|
|
63159
|
+
prepareArguments: tool.prepareArguments,
|
|
63160
|
+
executionMode: tool.executionMode,
|
|
63191
63161
|
execute: async (...args) => {
|
|
63192
63162
|
const { toolCallId, params, onUpdate, signal } = splitToolExecuteArgs(args);
|
|
63193
63163
|
let executeParams = params;
|
|
@@ -65258,7 +65228,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
65258
65228
|
* Throws if the connection is not open.
|
|
65259
65229
|
*/
|
|
65260
65230
|
send(event) {
|
|
65261
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
65231
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
65262
65232
|
this.ws.send(JSON.stringify(event));
|
|
65263
65233
|
}
|
|
65264
65234
|
/**
|
|
@@ -65275,7 +65245,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
65275
65245
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
65276
65246
|
*/
|
|
65277
65247
|
isConnected() {
|
|
65278
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
65248
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
65279
65249
|
}
|
|
65280
65250
|
/**
|
|
65281
65251
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -65285,7 +65255,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
65285
65255
|
this._cancelRetryTimer();
|
|
65286
65256
|
if (this.ws) {
|
|
65287
65257
|
this.ws.removeAllListeners();
|
|
65288
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
65258
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
65289
65259
|
this.ws = null;
|
|
65290
65260
|
}
|
|
65291
65261
|
}
|
|
@@ -65295,7 +65265,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
65295
65265
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
65296
65266
|
return;
|
|
65297
65267
|
}
|
|
65298
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
65268
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
65299
65269
|
Authorization: `Bearer ${this.apiKey}`,
|
|
65300
65270
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
65301
65271
|
} });
|
|
@@ -66502,6 +66472,18 @@ function extractToolResultText(result) {
|
|
|
66502
66472
|
if (texts.length === 0) return;
|
|
66503
66473
|
return texts.join("\n");
|
|
66504
66474
|
}
|
|
66475
|
+
function formatToolRejectionLog(toolName, result) {
|
|
66476
|
+
const name = /^[A-Za-z_][\w.-]{0,63}$/.test(toolName) ? toolName : "<invalid tool name>";
|
|
66477
|
+
const text = extractToolResultText(result) ?? "";
|
|
66478
|
+
const argsAt = text.indexOf("\n\nReceived arguments:\n");
|
|
66479
|
+
let category;
|
|
66480
|
+
if (text.startsWith("Validation failed for tool ") && argsAt !== -1) {
|
|
66481
|
+
const issues = text.slice(0, argsAt).split("\n - ").length - 1;
|
|
66482
|
+
category = issues > 0 ? `schema validation failed (${issues} issue${issues === 1 ? "" : "s"})` : "schema validation failed";
|
|
66483
|
+
} else if (/^Tool [\s\S]+ not found$/.test(text)) category = "unknown tool";
|
|
66484
|
+
else if (text === "Tool execution was blocked") category = "blocked";
|
|
66485
|
+
return category ? `[tools] ${name} rejected: ${category}` : `[tools] ${name} failed: details redacted`;
|
|
66486
|
+
}
|
|
66505
66487
|
const TRUSTED_TOOL_RESULT_MEDIA = new Set([
|
|
66506
66488
|
"agents_list",
|
|
66507
66489
|
"apply_patch",
|
|
@@ -66989,6 +66971,7 @@ async function handleToolExecutionEnd(ctx, evt) {
|
|
|
66989
66971
|
durationMs: _toolDurationMs,
|
|
66990
66972
|
toolOutputs: sanitizedResult
|
|
66991
66973
|
});
|
|
66974
|
+
if (isError) ctx.log.warn(formatToolRejectionLog(toolName, result));
|
|
66992
66975
|
const callSummary = ctx.state.toolMetaById.get(toolCallId);
|
|
66993
66976
|
const meta = callSummary?.meta;
|
|
66994
66977
|
ctx.state.toolMetas.push({
|
|
@@ -77256,7 +77239,7 @@ async function describeStickerImage(params) {
|
|
|
77256
77239
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
77257
77240
|
try {
|
|
77258
77241
|
const buffer = await fs$1.readFile(imagePath);
|
|
77259
|
-
const { describeImageWithModel } = await import("./provider-image-
|
|
77242
|
+
const { describeImageWithModel } = await import("./provider-image-BCtoZ8rK.js");
|
|
77260
77243
|
return (await describeImageWithModel({
|
|
77261
77244
|
buffer,
|
|
77262
77245
|
fileName: "sticker.webp",
|
|
@@ -78969,7 +78952,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
78969
78952
|
let transcript;
|
|
78970
78953
|
let carry;
|
|
78971
78954
|
if (needsPreflightTranscription) try {
|
|
78972
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
78955
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DS0S3HIJ.js");
|
|
78973
78956
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
78974
78957
|
if (uploadable.length > 0) {
|
|
78975
78958
|
const preflight = await transcribeFirstAudio({
|
|
@@ -86175,23 +86158,23 @@ function createDefaultDeps() {
|
|
|
86175
86158
|
};
|
|
86176
86159
|
},
|
|
86177
86160
|
sendMessageTelegram: async (...args) => {
|
|
86178
|
-
const { sendMessageTelegram } = await import("./send-
|
|
86161
|
+
const { sendMessageTelegram } = await import("./send-WEypfWqD.js");
|
|
86179
86162
|
return await sendMessageTelegram(...args);
|
|
86180
86163
|
},
|
|
86181
86164
|
sendMessageDiscord: async (...args) => {
|
|
86182
|
-
const { sendMessageDiscord } = await import("./send-
|
|
86165
|
+
const { sendMessageDiscord } = await import("./send-pHvU6YM-.js");
|
|
86183
86166
|
return await sendMessageDiscord(...args);
|
|
86184
86167
|
},
|
|
86185
86168
|
sendMessageSlack: async (...args) => {
|
|
86186
|
-
const { sendMessageSlack } = await import("./send-
|
|
86169
|
+
const { sendMessageSlack } = await import("./send-DVboxWNL.js");
|
|
86187
86170
|
return await sendMessageSlack(...args);
|
|
86188
86171
|
},
|
|
86189
86172
|
sendMessageSignal: async (...args) => {
|
|
86190
|
-
const { sendMessageSignal } = await import("./send-
|
|
86173
|
+
const { sendMessageSignal } = await import("./send-DW36az8Y.js");
|
|
86191
86174
|
return await sendMessageSignal(...args);
|
|
86192
86175
|
},
|
|
86193
86176
|
sendMessageIMessage: async (...args) => {
|
|
86194
|
-
const { sendMessageIMessage } = await import("./send-
|
|
86177
|
+
const { sendMessageIMessage } = await import("./send-CsQsIVRV.js");
|
|
86195
86178
|
return await sendMessageIMessage(...args);
|
|
86196
86179
|
}
|
|
86197
86180
|
};
|
|
@@ -89753,7 +89736,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
89753
89736
|
return super.registerClient(client);
|
|
89754
89737
|
}
|
|
89755
89738
|
createWebSocket(url) {
|
|
89756
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
89739
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
89757
89740
|
}
|
|
89758
89741
|
}
|
|
89759
89742
|
return new ProxyGatewayPlugin();
|
|
@@ -98582,7 +98565,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
98582
98565
|
}
|
|
98583
98566
|
let commandsRegistry;
|
|
98584
98567
|
async function getCommandsRegistry() {
|
|
98585
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
98568
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-BdsP_j6P.js").then((n) => n.n);
|
|
98586
98569
|
return commandsRegistry;
|
|
98587
98570
|
}
|
|
98588
98571
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -98912,14 +98895,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
98912
98895
|
const channelName = channelInfo?.name;
|
|
98913
98896
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
98914
98897
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
98915
|
-
import("./resolve-route-
|
|
98916
|
-
import("./inbound-context-
|
|
98917
|
-
import("./provider-dispatcher-
|
|
98898
|
+
import("./resolve-route-DaLkSpwv.js").then((n) => n.r),
|
|
98899
|
+
import("./inbound-context-B8XUU4mk.js").then((n) => n.n),
|
|
98900
|
+
import("./provider-dispatcher-Cs-Q2qPq.js")
|
|
98918
98901
|
]);
|
|
98919
98902
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
98920
98903
|
import("./conversation-label-TAXJpeGu.js"),
|
|
98921
|
-
import("./reply-prefix-
|
|
98922
|
-
import("./session-meta-
|
|
98904
|
+
import("./reply-prefix-DQq11usP.js").then((n) => n.n),
|
|
98905
|
+
import("./session-meta-cnp_5w21.js").then((n) => n.n)
|
|
98923
98906
|
]);
|
|
98924
98907
|
const route = resolveAgentRoute({
|
|
98925
98908
|
cfg,
|
|
@@ -98984,9 +98967,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
98984
98967
|
});
|
|
98985
98968
|
const deliverSlashPayloads = async (replies) => {
|
|
98986
98969
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
98987
|
-
import("./replies-
|
|
98988
|
-
import("./chunk-
|
|
98989
|
-
import("./markdown-tables-
|
|
98970
|
+
import("./replies-CexajJtL.js"),
|
|
98971
|
+
import("./chunk-k2QxX-uo.js").then((n) => n.s),
|
|
98972
|
+
import("./markdown-tables-CfVZYwJk.js").then((n) => n.t)
|
|
98990
98973
|
]);
|
|
98991
98974
|
await deliverSlackSlashReplies({
|
|
98992
98975
|
replies,
|
|
@@ -99040,7 +99023,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
99040
99023
|
let nativeCommands = [];
|
|
99041
99024
|
if (nativeEnabled) {
|
|
99042
99025
|
reg = await getCommandsRegistry();
|
|
99043
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
99026
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-EpFoGxwN.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
99044
99027
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
99045
99028
|
skillCommands,
|
|
99046
99029
|
provider: "slack"
|
|
@@ -99559,8 +99542,8 @@ async function auditTelegramGroupMembership(params) {
|
|
|
99559
99542
|
groups: [],
|
|
99560
99543
|
elapsedMs: Date.now() - started
|
|
99561
99544
|
};
|
|
99562
|
-
const fetcher = params.proxyUrl ? (await import("./proxy-
|
|
99563
|
-
const { fetchWithTimeout } = await import("./fetch-timeout-
|
|
99545
|
+
const fetcher = params.proxyUrl ? (await import("./proxy-DeH1UOPr.js").then((n) => n.n)).makeProxyFetch(params.proxyUrl) : fetch;
|
|
99546
|
+
const { fetchWithTimeout } = await import("./fetch-timeout-BFvsrzue.js").then((n) => n.r);
|
|
99564
99547
|
const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
|
|
99565
99548
|
const groups = [];
|
|
99566
99549
|
for (const chatId of params.groupIds) try {
|
|
@@ -102118,7 +102101,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
102118
102101
|
let audioPreflightCarry;
|
|
102119
102102
|
const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
|
|
102120
102103
|
if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
|
|
102121
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
102104
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DS0S3HIJ.js");
|
|
102122
102105
|
const preflight = await transcribeFirstAudio({
|
|
102123
102106
|
ctx: {
|
|
102124
102107
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -106528,7 +106511,7 @@ async function getMemorySearchManager(params) {
|
|
|
106528
106511
|
if (cached) return { manager: cached };
|
|
106529
106512
|
}
|
|
106530
106513
|
try {
|
|
106531
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
106514
|
+
const { QmdMemoryManager } = await import("./qmd-manager-bFs85vRp.js");
|
|
106532
106515
|
const primary = await QmdMemoryManager.create({
|
|
106533
106516
|
cfg: params.cfg,
|
|
106534
106517
|
agentId: params.agentId,
|
|
@@ -106540,7 +106523,7 @@ async function getMemorySearchManager(params) {
|
|
|
106540
106523
|
const wrapper = new FallbackMemoryManager({
|
|
106541
106524
|
primary,
|
|
106542
106525
|
fallbackFactory: async () => {
|
|
106543
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
106526
|
+
const { MemoryIndexManager } = await import("./manager-Cmgzgu4B.js");
|
|
106544
106527
|
return await MemoryIndexManager.get(params);
|
|
106545
106528
|
}
|
|
106546
106529
|
}, () => {
|
|
@@ -106555,7 +106538,7 @@ async function getMemorySearchManager(params) {
|
|
|
106555
106538
|
}
|
|
106556
106539
|
}
|
|
106557
106540
|
try {
|
|
106558
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
106541
|
+
const { MemoryIndexManager } = await import("./manager-Cmgzgu4B.js");
|
|
106559
106542
|
return { manager: await MemoryIndexManager.get(params) };
|
|
106560
106543
|
} catch (err) {
|
|
106561
106544
|
return {
|
|
@@ -107616,7 +107599,7 @@ function createPluginRuntime(options = {}) {
|
|
|
107616
107599
|
workStates: readTaskWorkStates
|
|
107617
107600
|
},
|
|
107618
107601
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
107619
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
107602
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-BsCy4Zpx.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
107620
107603
|
};
|
|
107621
107604
|
Object.defineProperty(runtime, "analysis", {
|
|
107622
107605
|
enumerable: true,
|