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,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { bt as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { bt as loadOpenClawPlugins } from "./reply-KkSETsdg.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
5
5
|
import { Nt as loadConfig, hr as getActivePluginRegistry } from "./model-selection-kV2JXnSw.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CnWdoPKw.js";
|
|
3
3
|
import { Ht as getActivePluginRegistry, o as loadConfig } from "./config-B_l7dU75.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Ppgyx_kd.js";
|
|
5
|
-
import { O as loadOpenClawPlugins } from "./agent-turn-execute-
|
|
5
|
+
import { O as loadOpenClawPlugins } from "./agent-turn-execute-BBgXd8-u.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir } from "./paths-DnKvZ6zt.js";
|
|
2
|
-
import { D as danger, J as isBlockedObjectKey, M as shouldLogVerbose, Z as openBoundaryFile, b as resolveUserPath, t as createSubsystemLogger, v as pathExists } from "./subsystem-
|
|
3
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
2
|
+
import { D as danger, J as isBlockedObjectKey, M as shouldLogVerbose, Z as openBoundaryFile, b as resolveUserPath, t as createSubsystemLogger, v as pathExists } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { n as logError, t as logDebug } from "./logger-BkzoyfHW.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import os from "node:os";
|
|
@@ -2,12 +2,12 @@ import "./paths-KIDAzMH-.js";
|
|
|
2
2
|
import "./subsystem-B2x33s9h.js";
|
|
3
3
|
import "./agent-scope-DIACgFTE.js";
|
|
4
4
|
import "./config-B66wt8rJ.js";
|
|
5
|
-
import { M as runMainAgentTurn } from "./command-detection-
|
|
5
|
+
import { M as runMainAgentTurn } from "./command-detection-C5-29pqi.js";
|
|
6
6
|
import "./github-copilot-token-BzpcrxaW.js";
|
|
7
7
|
import "./logger-BSK-0Yjx.js";
|
|
8
8
|
import "./redact-tKrIiiBn.js";
|
|
9
9
|
import "./send-DCFMfjVT.js";
|
|
10
|
-
import "./agent-turn-runner-
|
|
10
|
+
import "./agent-turn-runner-DFA8a9Ip.js";
|
|
11
11
|
import "./fetch-CiGIllmg.js";
|
|
12
12
|
import "./channel-activity-D6ID9989.js";
|
|
13
13
|
import "./path-alias-guards-C6ytIfXU.js";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import "./registry-a1K6DAkx.js";
|
|
3
|
+
import "./paths-DnKvZ6zt.js";
|
|
4
|
+
import "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-CnGNp8FI.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
|
+
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
+
import "./redact-DJV_iVHt.js";
|
|
9
|
+
import "./send-Da0ufWWQ.js";
|
|
10
|
+
import "./send-DbCdf0YA.js";
|
|
11
|
+
import { E as runMainAgentTurn } from "./tools-CmwkFcEE.js";
|
|
12
|
+
import "./agent-turn-runner-DsmB1ai8.js";
|
|
13
|
+
import "./pi-embedded-helpers-CnSvnhZ5.js";
|
|
14
|
+
import "./outbound-message-hooks-BRaQOrWY.js";
|
|
15
|
+
import "./models-config-B6q951LE.js";
|
|
16
|
+
import "./audio-transcription-runner-BhIHLM0o.js";
|
|
17
|
+
import "./pi-embedded-utils-B3tDBZQT.js";
|
|
18
|
+
import "./chrome-BB9Wgd3q.js";
|
|
19
|
+
import "./skills-eAuhZOk3.js";
|
|
20
|
+
import "./path-alias-guards-BRWXiCTP.js";
|
|
21
|
+
import "./fs-safe-CwzzGBMh.js";
|
|
22
|
+
import "./image-ops-hZXfkNib.js";
|
|
23
|
+
import "./store-CHNW3RaG.js";
|
|
24
|
+
import "./thinking-hgTgIoNS.js";
|
|
25
|
+
import "./provider-image-FipSNRdB.js";
|
|
26
|
+
import "./fetch-DQFdI72d.js";
|
|
27
|
+
import "./fetch-guard-B9NwOc7g.js";
|
|
28
|
+
import "./proxy-fetch-CvuoPGtS.js";
|
|
29
|
+
import "./api-key-rotation-CBOnOpbB.js";
|
|
30
|
+
import "./pi-model-discovery-DlEOpSNG.js";
|
|
31
|
+
import "./send-BOadl23F.js";
|
|
32
|
+
import "./tokens-Cioh8xR5.js";
|
|
33
|
+
import "./diagnostic-D3KftfxN.js";
|
|
34
|
+
import "./diagnostic-session-state-DZLx0-S4.js";
|
|
35
|
+
import "./command-queue-CYf-7rkG.js";
|
|
36
|
+
import "./recorder-D7XZ7UmE.js";
|
|
37
|
+
import "./skill-commands-EpFoGxwN.js";
|
|
38
|
+
import "./runs-B6ipR6mr.js";
|
|
39
|
+
import "./reply-prefix-DQq11usP.js";
|
|
40
|
+
import "./deliver-DI31nbkd.js";
|
|
41
|
+
import "./commands-registry-BdsP_j6P.js";
|
|
42
|
+
import "./user-run-recording-BsCy4Zpx.js";
|
|
43
|
+
import "./fetch-DwNljUPH.js";
|
|
44
|
+
import "./channel-activity-Cclz7vkh.js";
|
|
45
|
+
import "./ir-7O6vFfh7.js";
|
|
46
|
+
import "./chunk-k2QxX-uo.js";
|
|
47
|
+
import "./markdown-tables-CfVZYwJk.js";
|
|
48
|
+
import "./render-B1VqYyvo.js";
|
|
49
|
+
import "./tables-BTAyaId-.js";
|
|
50
|
+
import "./reply-directives-BTEKm_zW.js";
|
|
51
|
+
import "./send-BVxNes08.js";
|
|
52
|
+
import "./outbound-attachment-qrKbJo_i.js";
|
|
53
|
+
import "./send-Dtl8FvA5.js";
|
|
54
|
+
import "./resolve-route-DaLkSpwv.js";
|
|
55
|
+
import "./proxy-DeH1UOPr.js";
|
|
56
|
+
import "./replies-D69GlNvT.js";
|
|
57
|
+
import "./session-meta-cnp_5w21.js";
|
|
58
|
+
import "./manager-D5eZZMwx.js";
|
|
59
|
+
import "./query-expansion-BYSUz-Za.js";
|
|
60
|
+
|
|
61
|
+
export { runMainAgentTurn };
|
|
@@ -5,7 +5,7 @@ import "./config-B66wt8rJ.js";
|
|
|
5
5
|
import "./github-copilot-token-BzpcrxaW.js";
|
|
6
6
|
import "./logger-BSK-0Yjx.js";
|
|
7
7
|
import "./redact-tKrIiiBn.js";
|
|
8
|
-
import { n as tryGetAgentTurnRuntime, t as getAgentTurnRuntime } from "./agent-turn-runner-
|
|
8
|
+
import { n as tryGetAgentTurnRuntime, t as getAgentTurnRuntime } from "./agent-turn-runner-DFA8a9Ip.js";
|
|
9
9
|
import "./recorder-B8cVyMb2.js";
|
|
10
10
|
|
|
11
11
|
export { getAgentTurnRuntime };
|
|
@@ -325,7 +325,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
325
325
|
return true;
|
|
326
326
|
}
|
|
327
327
|
async function defaultExecute(claim) {
|
|
328
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
328
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-CizVKMpT.js");
|
|
329
329
|
return runMainAgentTurn(claim.message.payload);
|
|
330
330
|
}
|
|
331
331
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -412,7 +412,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
412
412
|
if (held) return;
|
|
413
413
|
releasingHead.add(sessionKey);
|
|
414
414
|
const publishedWorkId = await publishAgentTurn(backbone, payload);
|
|
415
|
-
const { getAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
415
|
+
const { getAgentTurnRuntime } = await import("./agent-turn-runner-CjKjnPQW.js");
|
|
416
416
|
const execute = opts?.execute ?? defaultExecute;
|
|
417
417
|
const outcome = await getAgentTurnRuntime().runner.claimAndExecute({
|
|
418
418
|
workId: publishedWorkId,
|
|
@@ -422,7 +422,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
424
|
if (payload.kind === "announce" && outcome.ok && outcome.delivery?.reason === WORKSPACE_LANE_DENIED_REASON) {
|
|
425
|
-
const { markSubagentAnnounceDenied } = await import("./subagent-registry-
|
|
425
|
+
const { markSubagentAnnounceDenied } = await import("./subagent-registry-DslVz5be.js");
|
|
426
426
|
await markSubagentAnnounceDenied(payload.runId, payload.mergedRunIds);
|
|
427
427
|
}
|
|
428
428
|
releaseSucceeded = outcome.ok;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Eo as createWork } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import { Eo as createWork } from "./registry-a1K6DAkx.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
4
4
|
import { t as redactIdentifier } from "./redact-identifier-BN_ntAFs.js";
|
|
5
5
|
import { t as CommandLane } from "./lanes-DLWRMvoo.js";
|
|
6
6
|
import { join } from "node:path";
|
|
@@ -187,7 +187,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
187
187
|
return true;
|
|
188
188
|
}
|
|
189
189
|
async function defaultExecute(claim) {
|
|
190
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
190
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-Cu3b1_S-.js");
|
|
191
191
|
return runMainAgentTurn(claim.message.payload);
|
|
192
192
|
}
|
|
193
193
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -199,7 +199,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
199
199
|
startedAt: opts?.startedAt ?? Date.now()
|
|
200
200
|
};
|
|
201
201
|
waiters.set(sessionKey, handle);
|
|
202
|
-
const { getQueueSize } = await import("./command-queue-
|
|
202
|
+
const { getQueueSize } = await import("./command-queue-CYf-7rkG.js").then((n) => n.r);
|
|
203
203
|
if (handle.cancelled || closing) return;
|
|
204
204
|
const release = (force = false) => {
|
|
205
205
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -221,7 +221,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
221
221
|
}
|
|
222
222
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
223
223
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
224
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
224
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-CYf-7rkG.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
225
225
|
const policy = payload.busy ?? "skip";
|
|
226
226
|
const id = agentTurnIdempotencyKey(payload);
|
|
227
227
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -284,7 +284,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
if (payload.kind === "announce" && outcome.ok && outcome.delivery?.reason === WORKSPACE_LANE_DENIED_REASON) {
|
|
287
|
-
const { markSubagentAnnounceDenied } = await import("./subagent-registry-
|
|
287
|
+
const { markSubagentAnnounceDenied } = await import("./subagent-registry-1_rpAdGi.js");
|
|
288
288
|
await markSubagentAnnounceDenied(payload.runId, payload.mergedRunIds);
|
|
289
289
|
}
|
|
290
290
|
releaseSucceeded = outcome.ok;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import "./proxy-env-
|
|
2
|
-
import "./registry-
|
|
1
|
+
import "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import "./registry-a1K6DAkx.js";
|
|
3
3
|
import "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { M as shouldLogVerbose, k as logVerbose } from "./subsystem-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./logger-
|
|
4
|
+
import { M as shouldLogVerbose, k as logVerbose } from "./subsystem-CchgWuXK.js";
|
|
5
|
+
import "./agent-scope-CnGNp8FI.js";
|
|
6
|
+
import "./logger-BkzoyfHW.js";
|
|
7
7
|
import "./github-copilot-token-CtAXGjCK.js";
|
|
8
|
-
import "./redact-
|
|
9
|
-
import "./pi-embedded-helpers-
|
|
10
|
-
import "./models-config-
|
|
11
|
-
import { b as isAudioAttachment, g as listAudioAttachments, h as findCarriedTranscript, i as normalizeMediaAttachments, m as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
12
|
-
import "./pi-embedded-utils-
|
|
13
|
-
import "./chrome-
|
|
14
|
-
import "./skills-
|
|
15
|
-
import "./path-alias-guards-
|
|
16
|
-
import "./fs-safe-
|
|
17
|
-
import "./image-ops-
|
|
18
|
-
import "./store-
|
|
8
|
+
import "./redact-DJV_iVHt.js";
|
|
9
|
+
import "./pi-embedded-helpers-CnSvnhZ5.js";
|
|
10
|
+
import "./models-config-B6q951LE.js";
|
|
11
|
+
import { b as isAudioAttachment, g as listAudioAttachments, h as findCarriedTranscript, i as normalizeMediaAttachments, m as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-BhIHLM0o.js";
|
|
12
|
+
import "./pi-embedded-utils-B3tDBZQT.js";
|
|
13
|
+
import "./chrome-BB9Wgd3q.js";
|
|
14
|
+
import "./skills-eAuhZOk3.js";
|
|
15
|
+
import "./path-alias-guards-BRWXiCTP.js";
|
|
16
|
+
import "./fs-safe-CwzzGBMh.js";
|
|
17
|
+
import "./image-ops-hZXfkNib.js";
|
|
18
|
+
import "./store-CHNW3RaG.js";
|
|
19
19
|
import "./thinking-hgTgIoNS.js";
|
|
20
|
-
import "./provider-image-
|
|
21
|
-
import "./fetch-
|
|
22
|
-
import "./fetch-guard-
|
|
23
|
-
import "./proxy-fetch-
|
|
24
|
-
import "./api-key-rotation-
|
|
25
|
-
import "./pi-model-discovery-
|
|
20
|
+
import "./provider-image-FipSNRdB.js";
|
|
21
|
+
import "./fetch-DQFdI72d.js";
|
|
22
|
+
import "./fetch-guard-B9NwOc7g.js";
|
|
23
|
+
import "./proxy-fetch-CvuoPGtS.js";
|
|
24
|
+
import "./api-key-rotation-CBOnOpbB.js";
|
|
25
|
+
import "./pi-model-discovery-DlEOpSNG.js";
|
|
26
26
|
|
|
27
27
|
//#region src/media-understanding/audio-preflight.ts
|
|
28
28
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Di as mergeInboundPathRoots, Ei as isInboundPathAllowed, Jr as resolveApiKeyForProvider, Na as getActivePluginRegistry, Oi as resolveIMessageAttachmentRoots, Qa as resolveOpenClawAgentDir, Qn as loadConfig, Ti as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Tr as normalizeProviderId, qr as requireApiKey } from "./registry-
|
|
2
|
-
import { M as shouldLogVerbose, it as isNotFoundPathError, k as logVerbose, mt as resolvePreferredOpenClawTmpDir, ot as isSymlinkOpenError, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as resolveAgentModelFallbackValues, D as runExec, j as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
1
|
+
import { Di as mergeInboundPathRoots, Ei as isInboundPathAllowed, Jr as resolveApiKeyForProvider, Na as getActivePluginRegistry, Oi as resolveIMessageAttachmentRoots, Qa as resolveOpenClawAgentDir, Qn as loadConfig, Ti as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Tr as normalizeProviderId, qr as requireApiKey } from "./registry-a1K6DAkx.js";
|
|
2
|
+
import { M as shouldLogVerbose, it as isNotFoundPathError, k as logVerbose, mt as resolvePreferredOpenClawTmpDir, ot as isSymlinkOpenError, t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
3
|
+
import { A as resolveAgentModelFallbackValues, D as runExec, j as resolveAgentModelPrimaryValue } from "./agent-scope-CnGNp8FI.js";
|
|
4
4
|
import { n as normalizeChatType } from "./conversation-label-Byxk5Gak.js";
|
|
5
5
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DTYnjeA4.js";
|
|
6
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
7
|
-
import { c as detectMime, f as isAudioFileName, h as normalizeMimeType, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
-
import { o as resolveProviderVisionModelFromConfig, t as describeImageWithModel } from "./provider-image-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
10
|
-
import { n as fetchWithTimeout } from "./fetch-timeout-
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { i as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
13
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
6
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-B6q951LE.js";
|
|
7
|
+
import { c as detectMime, f as isAudioFileName, h as normalizeMimeType, m as kindFromMime, u as getFileExtension } from "./image-ops-hZXfkNib.js";
|
|
8
|
+
import { o as resolveProviderVisionModelFromConfig, t as describeImageWithModel } from "./provider-image-FipSNRdB.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DQFdI72d.js";
|
|
10
|
+
import { n as fetchWithTimeout } from "./fetch-timeout-BFvsrzue.js";
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B9NwOc7g.js";
|
|
12
|
+
import { i as resolveProxyFetchFromEnv } from "./proxy-fetch-CvuoPGtS.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CBOnOpbB.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import crypto from "node:crypto";
|
|
16
16
|
import { constants } from "node:fs";
|
|
@@ -23,7 +23,7 @@ import { fileURLToPath } from "node:url";
|
|
|
23
23
|
const log$1 = createSubsystemLogger("model-catalog");
|
|
24
24
|
let modelCatalogPromise = null;
|
|
25
25
|
let hasLoggedModelCatalogError = false;
|
|
26
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
26
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DlEOpSNG.js").then((n) => n.r);
|
|
27
27
|
let importPiSdk = defaultImportPiSdk;
|
|
28
28
|
const CODEX_PROVIDER = "openai-codex";
|
|
29
29
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $r as clearExpiredCooldowns, Ga as suggestOAuthProfileIdForLegacyDefault, Ja as markAuthProfileGood, Ka as dedupeProfileIds, Qr as calculateAuthProfileCooldownMs, Wa as formatAuthDoctorHint, Xa as saveAuthProfileStore, Ya as ensureAuthProfileStore, Za as resolveAuthStorePathForDisplay, Zr as resolveAuthProfileOrder, ai as resolveApiKeyForProfile, ei as getSoonestCooldownExpiry, ii as resolveProfilesUnavailableReason, ni as markAuthProfileFailure, qa as listProfilesForProvider, ri as markAuthProfileUsed, ti as isProfileInCooldown, to as resolveAuthProfileDisplayLabel } from "./registry-
|
|
1
|
+
import { $r as clearExpiredCooldowns, Ga as suggestOAuthProfileIdForLegacyDefault, Ja as markAuthProfileGood, Ka as dedupeProfileIds, Qr as calculateAuthProfileCooldownMs, Wa as formatAuthDoctorHint, Xa as saveAuthProfileStore, Ya as ensureAuthProfileStore, Za as resolveAuthStorePathForDisplay, Zr as resolveAuthProfileOrder, ai as resolveApiKeyForProfile, ei as getSoonestCooldownExpiry, ii as resolveProfilesUnavailableReason, ni as markAuthProfileFailure, qa as listProfilesForProvider, ri as markAuthProfileUsed, ti as isProfileInCooldown, to as resolveAuthProfileDisplayLabel } from "./registry-a1K6DAkx.js";
|
|
2
2
|
import "./paths-DnKvZ6zt.js";
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./logger-
|
|
3
|
+
import "./subsystem-CchgWuXK.js";
|
|
4
|
+
import "./agent-scope-CnGNp8FI.js";
|
|
5
|
+
import "./logger-BkzoyfHW.js";
|
|
6
6
|
import "./github-copilot-token-CtAXGjCK.js";
|
|
7
|
-
import "./redact-
|
|
7
|
+
import "./redact-DJV_iVHt.js";
|
|
8
8
|
|
|
9
9
|
export { ensureAuthProfileStore };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Lr as resolveRetryConfig, Rr as retryAsync, ft as formatErrorMessage } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { Lr as resolveRetryConfig, Rr as retryAsync, ft as formatErrorMessage } from "./registry-a1K6DAkx.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
2
|
-
import { Qn as loadConfig, Zi as isIpInCidr, ea as isLoopbackIpAddress, ht as isErrno, na as normalizeIpAddress, ta as isPrivateOrLoopbackIpAddress } from "./registry-
|
|
3
|
-
import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-
|
|
4
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
1
|
+
import { l as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import { Qn as loadConfig, Zi as isIpInCidr, ea as isLoopbackIpAddress, ht as isErrno, na as normalizeIpAddress, ta as isPrivateOrLoopbackIpAddress } from "./registry-a1K6DAkx.js";
|
|
3
|
+
import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-CchgWuXK.js";
|
|
4
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CwzzGBMh.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { createHmac } from "node:crypto";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -11,7 +11,7 @@ import { execFileSync, spawn } from "node:child_process";
|
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import http, { createServer } from "node:http";
|
|
13
13
|
import https from "node:https";
|
|
14
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
14
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
15
15
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
16
16
|
|
|
17
17
|
//#region src/browser/constants.ts
|
|
@@ -647,7 +647,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
647
647
|
let extensionWs = null;
|
|
648
648
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
649
649
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
650
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
650
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
651
651
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
652
652
|
let extensionDisconnectCleanupTimer = null;
|
|
653
653
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -699,7 +699,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
699
699
|
let nextExtensionId = 1;
|
|
700
700
|
const sendToExtension = async (payload) => {
|
|
701
701
|
const ws = extensionWs;
|
|
702
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
702
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
703
703
|
ws.send(JSON.stringify(payload));
|
|
704
704
|
return await new Promise((resolve, reject) => {
|
|
705
705
|
const timer = setTimeout(() => {
|
|
@@ -716,12 +716,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
716
716
|
const broadcastToCdpClients = (evt) => {
|
|
717
717
|
const msg = JSON.stringify(evt);
|
|
718
718
|
for (const ws of cdpClients) {
|
|
719
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
719
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
720
720
|
ws.send(msg);
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
723
|
const sendResponseToCdp = (ws, res) => {
|
|
724
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
724
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
725
725
|
ws.send(JSON.stringify(res));
|
|
726
726
|
};
|
|
727
727
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -975,7 +975,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
975
975
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
976
976
|
return;
|
|
977
977
|
}
|
|
978
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
978
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
979
979
|
try {
|
|
980
980
|
extensionWs.terminate();
|
|
981
981
|
} catch {}
|
|
@@ -1008,7 +1008,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
1008
1008
|
clearExtensionDisconnectCleanupTimer();
|
|
1009
1009
|
flushExtensionReconnectWaiters(true);
|
|
1010
1010
|
const ping = setInterval(() => {
|
|
1011
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
1011
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
1012
1012
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
1013
1013
|
}, 5e3);
|
|
1014
1014
|
ws.on("message", (data) => {
|
|
@@ -1364,7 +1364,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1364
1364
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1365
1365
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1366
1366
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1367
|
-
return new WebSocket(wsUrl, {
|
|
1367
|
+
return new WebSocket$1(wsUrl, {
|
|
1368
1368
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1369
1369
|
...Object.keys(headers).length ? { headers } : {},
|
|
1370
1370
|
...agent ? { agent } : {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Nn as INTERNAL_MESSAGE_CHANNEL, jn as resolveAccountEntry } from "./registry-
|
|
3
|
-
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Q as normalizeAccountId } from "./agent-scope-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import { Nn as INTERNAL_MESSAGE_CHANNEL, jn as resolveAccountEntry } from "./registry-a1K6DAkx.js";
|
|
3
|
+
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-CchgWuXK.js";
|
|
4
|
+
import { Q as normalizeAccountId } from "./agent-scope-CnGNp8FI.js";
|
|
5
5
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-D-OOjyS_.js";
|
|
6
6
|
|
|
7
7
|
//#region src/auto-reply/chunk.ts
|
|
@@ -8,7 +8,7 @@ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logg
|
|
|
8
8
|
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-tKrIiiBn.js";
|
|
9
9
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
10
10
|
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, 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, 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-DCFMfjVT.js";
|
|
11
|
-
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, p as KeyedAsyncQueue, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime, u as WORKSPACE_LANE_DENIED_REASON } from "./agent-turn-runner-
|
|
11
|
+
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, p as KeyedAsyncQueue, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime, u as WORKSPACE_LANE_DENIED_REASON } from "./agent-turn-runner-DFA8a9Ip.js";
|
|
12
12
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BVVZ4csV.js";
|
|
13
13
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CiGIllmg.js";
|
|
14
14
|
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-D6ID9989.js";
|
|
@@ -27569,7 +27569,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
|
|
|
27569
27569
|
const { backbone, runner } = getAgentTurnRuntime();
|
|
27570
27570
|
const id = await enqueueAgentTurn(backbone, payload);
|
|
27571
27571
|
if (!isClaimableAgentTurnWorkId(id)) return;
|
|
27572
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
27572
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-CizVKMpT.js");
|
|
27573
27573
|
await runner.claimAndExecute({
|
|
27574
27574
|
workId: id,
|
|
27575
27575
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -28854,7 +28854,7 @@ async function handleHeartbeatError(params) {
|
|
|
28854
28854
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
28855
28855
|
async function ackAnnounceExecuted(payload) {
|
|
28856
28856
|
if (payload.kind !== "announce") return;
|
|
28857
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
28857
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-DslVz5be.js");
|
|
28858
28858
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
28859
28859
|
await markSubagentAnnounceExecuted(runId);
|
|
28860
28860
|
} catch {}
|
|
@@ -29350,7 +29350,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
29350
29350
|
let subagentRegistryAccessPromise;
|
|
29351
29351
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
29352
29352
|
function loadSubagentRegistryAccess() {
|
|
29353
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
29353
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-DslVz5be.js").catch((err) => {
|
|
29354
29354
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
29355
29355
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
29356
29356
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -62274,9 +62274,9 @@ function buildWorkspaceLaneActor(params) {
|
|
|
62274
62274
|
channel: INTERNAL_MESSAGE_CHANNEL,
|
|
62275
62275
|
senderId,
|
|
62276
62276
|
laneSenderId: senderId,
|
|
62277
|
-
isHeartbeat,
|
|
62278
|
-
configuredIdentity,
|
|
62279
|
-
inheritedCanonicalIdentity
|
|
62277
|
+
isHeartbeat: void 0,
|
|
62278
|
+
configuredIdentity: void 0,
|
|
62279
|
+
inheritedCanonicalIdentity: void 0
|
|
62280
62280
|
})
|
|
62281
62281
|
};
|
|
62282
62282
|
}
|
|
@@ -86603,7 +86603,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
86603
86603
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
86604
86604
|
import("./resolve-route-CmmdKow6.js"),
|
|
86605
86605
|
import("./inbound-context-Ddb1mHaf.js"),
|
|
86606
|
-
import("./provider-dispatcher-
|
|
86606
|
+
import("./provider-dispatcher-BBDNW5bk.js")
|
|
86607
86607
|
]);
|
|
86608
86608
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
86609
86609
|
import("./conversation-label-TAXJpeGu.js"),
|
|
@@ -97030,20 +97030,8 @@ function resolveHostEditPath(root, pathParam) {
|
|
|
97030
97030
|
const expanded = pathParam.startsWith("~/") || pathParam === "~" ? pathParam.replace(/^~/, os.homedir()) : pathParam;
|
|
97031
97031
|
return path.isAbsolute(expanded) ? path.resolve(expanded) : path.resolve(root, expanded);
|
|
97032
97032
|
}
|
|
97033
|
-
/**
|
|
97034
|
-
* Read oldText/newText from either the legacy top-level shape or the pi-coding-agent 0.73.1
|
|
97035
|
-
* edits[] shape. wrapToolParamNormalization now runs the vendor tool's prepareArguments() hook
|
|
97036
|
-
* before execute(), which moves top-level oldText/newText into edits[0] for the edit tool — so
|
|
97037
|
-
* this wrapper (sitting between that hook and the base execute) must accept both.
|
|
97038
|
-
*/
|
|
97039
97033
|
function extractEditTextFields(record) {
|
|
97040
97034
|
if (!record) return {};
|
|
97041
|
-
const newText = typeof record.newText === "string" ? record.newText : typeof record.new_string === "string" ? record.new_string : void 0;
|
|
97042
|
-
const oldText = typeof record.oldText === "string" ? record.oldText : typeof record.old_string === "string" ? record.old_string : void 0;
|
|
97043
|
-
if (newText !== void 0 || oldText !== void 0) return {
|
|
97044
|
-
oldText,
|
|
97045
|
-
newText
|
|
97046
|
-
};
|
|
97047
97035
|
if (Array.isArray(record.edits) && record.edits.length > 0) {
|
|
97048
97036
|
const first = record.edits[0];
|
|
97049
97037
|
if (first && typeof first === "object") {
|
|
@@ -97111,23 +97099,13 @@ const CLAUDE_PARAM_GROUPS = {
|
|
|
97111
97099
|
label: "path (path or file_path)"
|
|
97112
97100
|
}, {
|
|
97113
97101
|
keys: ["content"],
|
|
97114
|
-
label: "content"
|
|
97102
|
+
label: "content",
|
|
97103
|
+
allowEmpty: true
|
|
97115
97104
|
}],
|
|
97116
|
-
edit: [
|
|
97117
|
-
|
|
97118
|
-
|
|
97119
|
-
|
|
97120
|
-
},
|
|
97121
|
-
{
|
|
97122
|
-
keys: ["oldText", "old_string"],
|
|
97123
|
-
label: "oldText (oldText or old_string)"
|
|
97124
|
-
},
|
|
97125
|
-
{
|
|
97126
|
-
keys: ["newText", "new_string"],
|
|
97127
|
-
label: "newText (newText or new_string)",
|
|
97128
|
-
allowEmpty: true
|
|
97129
|
-
}
|
|
97130
|
-
]
|
|
97105
|
+
edit: [{
|
|
97106
|
+
keys: ["path", "file_path"],
|
|
97107
|
+
label: "path (path or file_path)"
|
|
97108
|
+
}]
|
|
97131
97109
|
};
|
|
97132
97110
|
function extractStructuredText(value, depth = 0) {
|
|
97133
97111
|
if (depth > 6) return;
|
|
@@ -97180,20 +97158,10 @@ function patchToolSchemaForClaudeCompatibility(tool) {
|
|
|
97180
97158
|
const properties = { ...schema.properties };
|
|
97181
97159
|
const required = Array.isArray(schema.required) ? schema.required.filter((key) => typeof key === "string") : [];
|
|
97182
97160
|
let changed = false;
|
|
97183
|
-
for (const { original, alias } of [
|
|
97184
|
-
|
|
97185
|
-
|
|
97186
|
-
|
|
97187
|
-
},
|
|
97188
|
-
{
|
|
97189
|
-
original: "oldText",
|
|
97190
|
-
alias: "old_string"
|
|
97191
|
-
},
|
|
97192
|
-
{
|
|
97193
|
-
original: "newText",
|
|
97194
|
-
alias: "new_string"
|
|
97195
|
-
}
|
|
97196
|
-
]) {
|
|
97161
|
+
for (const { original, alias } of [{
|
|
97162
|
+
original: "path",
|
|
97163
|
+
alias: "file_path"
|
|
97164
|
+
}]) {
|
|
97197
97165
|
if (!(original in properties)) continue;
|
|
97198
97166
|
if (!(alias in properties)) {
|
|
97199
97167
|
properties[alias] = properties[original];
|
|
@@ -100519,6 +100487,8 @@ function toToolDefinitions(tools, ctx) {
|
|
|
100519
100487
|
label: tool.label ?? name,
|
|
100520
100488
|
description: tool.description ?? "",
|
|
100521
100489
|
parameters: tool.parameters,
|
|
100490
|
+
prepareArguments: tool.prepareArguments,
|
|
100491
|
+
executionMode: tool.executionMode,
|
|
100522
100492
|
execute: async (...args) => {
|
|
100523
100493
|
const { toolCallId, params, onUpdate, signal } = splitToolExecuteArgs(args);
|
|
100524
100494
|
let executeParams = params;
|
|
@@ -103561,6 +103531,18 @@ function extractToolResultText(result) {
|
|
|
103561
103531
|
if (texts.length === 0) return;
|
|
103562
103532
|
return texts.join("\n");
|
|
103563
103533
|
}
|
|
103534
|
+
function formatToolRejectionLog(toolName, result) {
|
|
103535
|
+
const name = /^[A-Za-z_][\w.-]{0,63}$/.test(toolName) ? toolName : "<invalid tool name>";
|
|
103536
|
+
const text = extractToolResultText(result) ?? "";
|
|
103537
|
+
const argsAt = text.indexOf("\n\nReceived arguments:\n");
|
|
103538
|
+
let category;
|
|
103539
|
+
if (text.startsWith("Validation failed for tool ") && argsAt !== -1) {
|
|
103540
|
+
const issues = text.slice(0, argsAt).split("\n - ").length - 1;
|
|
103541
|
+
category = issues > 0 ? `schema validation failed (${issues} issue${issues === 1 ? "" : "s"})` : "schema validation failed";
|
|
103542
|
+
} else if (/^Tool [\s\S]+ not found$/.test(text)) category = "unknown tool";
|
|
103543
|
+
else if (text === "Tool execution was blocked") category = "blocked";
|
|
103544
|
+
return category ? `[tools] ${name} rejected: ${category}` : `[tools] ${name} failed: details redacted`;
|
|
103545
|
+
}
|
|
103564
103546
|
const TRUSTED_TOOL_RESULT_MEDIA = new Set([
|
|
103565
103547
|
"agents_list",
|
|
103566
103548
|
"apply_patch",
|
|
@@ -104048,6 +104030,7 @@ async function handleToolExecutionEnd(ctx, evt) {
|
|
|
104048
104030
|
durationMs: _toolDurationMs,
|
|
104049
104031
|
toolOutputs: sanitizedResult
|
|
104050
104032
|
});
|
|
104033
|
+
if (isError) ctx.log.warn(formatToolRejectionLog(toolName, result));
|
|
104051
104034
|
const callSummary = ctx.state.toolMetaById.get(toolCallId);
|
|
104052
104035
|
const meta = callSummary?.meta;
|
|
104053
104036
|
ctx.state.toolMetas.push({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-D3KftfxN.js";
|
|
3
3
|
import { t as CommandLane } from "./lanes-DLWRMvoo.js";
|
|
4
4
|
|
|
5
5
|
//#region src/process/command-queue.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Dr as resolveConfiguredModelRef, Na as getActivePluginRegistry, do as DEFAULT_PROVIDER, in as normalizeChannelId, on as listChannelDocks, uo as DEFAULT_MODEL } from "./registry-
|
|
3
|
-
import { m as escapeRegExp } from "./subsystem-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-BIBZktXt.js";
|
|
2
|
+
import { Dr as resolveConfiguredModelRef, Na as getActivePluginRegistry, do as DEFAULT_PROVIDER, in as normalizeChannelId, on as listChannelDocks, uo as DEFAULT_MODEL } from "./registry-a1K6DAkx.js";
|
|
3
|
+
import { m as escapeRegExp } from "./subsystem-CchgWuXK.js";
|
|
4
4
|
import { t as isPlainObject } from "./plain-object-CLm2c5Nu.js";
|
|
5
5
|
import { r as listThinkingLevels } from "./thinking-hgTgIoNS.js";
|
|
6
6
|
|