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
|
@@ -11,20 +11,20 @@ import { _ as runTasksWithConcurrency, d as resolveSessionFilePath, f as resolve
|
|
|
11
11
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-CrORLc0j.js";
|
|
12
12
|
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-CLM4t8vd.js";
|
|
13
13
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-D3HfLTBe.js";
|
|
14
|
-
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as WORKSPACE_LANE_DENIED_REASON, f as KeyedAsyncQueue, 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 { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as WORKSPACE_LANE_DENIED_REASON, f as KeyedAsyncQueue, 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-PqFExB_C.js";
|
|
15
15
|
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-CjVVH60D.js";
|
|
16
16
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
|
|
17
17
|
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-CS9d8TtV.js";
|
|
18
|
-
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-
|
|
18
|
+
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-BVuEoR--.js";
|
|
19
19
|
import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-evjvR-jF.js";
|
|
20
20
|
import { t as redactIdentifier } from "./redact-identifier-CUq5OWH1.js";
|
|
21
21
|
import { t as CommandLane } from "./lanes-BeC8CJL8.js";
|
|
22
|
-
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-
|
|
23
|
-
import { $ as resolveTelegramStreamMode, A as resolveTelegramFetch, B as buildTelegramParentPeer, C as getTelegramFleetSupervisor, D as recordWebhook, E as recordUpdate, F as buildGroupLabel, G as extractTelegramLocation, H as buildTypingThreadParams, I as buildSenderLabel, J as resolveTelegramDirectPeerId, K as hasBotMention, L as buildSenderName, M as withTelegramApiErrorLogging, N as loadCronStore, O as registerAccount, P as resolveCronStorePath, Q as resolveTelegramReplyId, R as buildTelegramGroupFrom, S as fingerprintTelegramToken, T as recordState, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as isTelegramEditMayHaveLandedError, _t as getPairingAdapter, a as reactMessageTelegram, at as firstDefined$1, b as renderTelegramHtmlText, bt as parseTelegramTarget, c as sendStickerTelegram, ct as resolveGroupAllowFromSources, d as wasSentByBot, dt as addChannelAllowFromStoreEntry, et as resolveTelegramThreadSpec, f as extractTelegramErrorText, ft as readChannelAllowFromStore, g as isTelegramClientRejection, gt as writeJsonFileAtomically, h as isSafeToRetrySendError, ht as readJsonFileWithFallback, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as splitTelegramCaption, k as releaseAccountOwner, lt as formatLocationText, m as isRecoverableTelegramNetworkError, mt as upsertChannelPairingRequest, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, ot as isSenderIdAllowed, p as isDefiniteTelegramRequestNonDeliveryError, pt as removeChannelAllowFromStoreEntry, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as mergeDmAllowFromSources, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as resolveTelegramVoiceSend, ut as toLocationContext, v as markdownToTelegramChunks, vt as listPairingChannels, w as recordApiRequest, x as wrapFileReferencesInHtml, xt as resolveTelegramTargetChatType, y as markdownToTelegramHtml, yt as isVoiceCompatibleAudio, z as buildTelegramGroupPeerId } from "./send-
|
|
22
|
+
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-DeuGuoAC.js";
|
|
23
|
+
import { $ as resolveTelegramStreamMode, A as resolveTelegramFetch, B as buildTelegramParentPeer, C as getTelegramFleetSupervisor, D as recordWebhook, E as recordUpdate, F as buildGroupLabel, G as extractTelegramLocation, H as buildTypingThreadParams, I as buildSenderLabel, J as resolveTelegramDirectPeerId, K as hasBotMention, L as buildSenderName, M as withTelegramApiErrorLogging, N as loadCronStore, O as registerAccount, P as resolveCronStorePath, Q as resolveTelegramReplyId, R as buildTelegramGroupFrom, S as fingerprintTelegramToken, T as recordState, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as isTelegramEditMayHaveLandedError, _t as getPairingAdapter, a as reactMessageTelegram, at as firstDefined$1, b as renderTelegramHtmlText, bt as parseTelegramTarget, c as sendStickerTelegram, ct as resolveGroupAllowFromSources, d as wasSentByBot, dt as addChannelAllowFromStoreEntry, et as resolveTelegramThreadSpec, f as extractTelegramErrorText, ft as readChannelAllowFromStore, g as isTelegramClientRejection, gt as writeJsonFileAtomically, h as isSafeToRetrySendError, ht as readJsonFileWithFallback, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as splitTelegramCaption, k as releaseAccountOwner, lt as formatLocationText, m as isRecoverableTelegramNetworkError, mt as upsertChannelPairingRequest, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, ot as isSenderIdAllowed, p as isDefiniteTelegramRequestNonDeliveryError, pt as removeChannelAllowFromStoreEntry, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as mergeDmAllowFromSources, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as resolveTelegramVoiceSend, ut as toLocationContext, v as markdownToTelegramChunks, vt as listPairingChannels, w as recordApiRequest, x as wrapFileReferencesInHtml, xt as resolveTelegramTargetChatType, y as markdownToTelegramHtml, yt as isVoiceCompatibleAudio, z as buildTelegramGroupPeerId } from "./send-BOYDtfq5.js";
|
|
24
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-CmhhjA-p.js";
|
|
25
25
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DCdXKSZr.js";
|
|
26
|
-
import { $ as trimToUndefined$1, A as isContextOverflowError, B as isAuthPermanentErrorMessage, C as formatBillingErrorMessage, D as isBillingAssistantError, E as isAuthAssistantError, F as isRawApiErrorPayload, G as createBrowserRouteContext, H as ensureSandboxWorkspaceForSession, I as isTransientHttpError, J as resolveProfile, K as registerBrowserRoutes, L as parseImageDimensionError, M as isFailoverErrorMessage, N as isLikelyContextOverflowError, O as isCloudCodeAssistFormatError, P as isRateLimitAssistantError, Q as resolveGatewayCredentialsFromConfig, R as parseImageSizeError, S as formatAssistantErrorText, T as getApiErrorPayloadFingerprint, U as resolveSandboxContext, V as isTimeoutErrorMessage, W as resolveSandboxRuntimeStatus, X as ensureBrowserControlAuth, Y as getBridgeAuthForPort, Z as resolveBrowserControlAuth, _ as downgradeOpenAIFunctionCallReasoningPairs, at as mergeAlsoAllowPolicy, b as BILLING_ERROR_USER_MESSAGE, c as sanitizeSessionMessagesImages, ct as normalizeToolName, d as resolveImageSanitizationLimits, dt as matchesAnyGlobPattern, et as resolveSandboxConfigForAgent, f as canonicalizeBase64, ft as buildBootstrapContextFiles, g as sanitizeToolCallIdsForCloudCodeAssist, gt as sanitizeGoogleTurnOrdering, h as extractToolResultId, ht as resolveBootstrapTotalMaxChars, i as pickFallbackThinkingLevel, it as expandPolicyWithPluginGroups, j as isFailoverAssistantError, k as isCompactionFailureError, l as sanitizeImageBlocks, lt as resolveToolProfilePolicy, m as extractToolCallsFromAssistant, mt as resolveBootstrapMaxChars, n as validateAnthropicTurns, nt as buildPluginToolGroups, o as isMessagingToolDuplicateNormalized, ot as stripPluginOnlyAllowlist, p as estimateBase64DecodedBytes, pt as ensureSessionHeader, q as resolveBrowserConfig, r as validateGeminiTurns, rt as collectExplicitAllowlist, s as normalizeTextForComparison, st as expandToolGroups, t as extractTextFromChatContent, tt as applyOwnerOnlyToolPolicy, u as sanitizeToolResultImages, ut as compileGlobPatterns, v as downgradeOpenAIReasoningBlocks, w as formatRawAssistantErrorForUi, x as classifyFailoverReason, y as isGoogleModelApi, z as sanitizeUserFacingText } from "./chat-content-
|
|
27
|
-
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-
|
|
26
|
+
import { $ as trimToUndefined$1, A as isContextOverflowError, B as isAuthPermanentErrorMessage, C as formatBillingErrorMessage, D as isBillingAssistantError, E as isAuthAssistantError, F as isRawApiErrorPayload, G as createBrowserRouteContext, H as ensureSandboxWorkspaceForSession, I as isTransientHttpError, J as resolveProfile, K as registerBrowserRoutes, L as parseImageDimensionError, M as isFailoverErrorMessage, N as isLikelyContextOverflowError, O as isCloudCodeAssistFormatError, P as isRateLimitAssistantError, Q as resolveGatewayCredentialsFromConfig, R as parseImageSizeError, S as formatAssistantErrorText, T as getApiErrorPayloadFingerprint, U as resolveSandboxContext, V as isTimeoutErrorMessage, W as resolveSandboxRuntimeStatus, X as ensureBrowserControlAuth, Y as getBridgeAuthForPort, Z as resolveBrowserControlAuth, _ as downgradeOpenAIFunctionCallReasoningPairs, at as mergeAlsoAllowPolicy, b as BILLING_ERROR_USER_MESSAGE, c as sanitizeSessionMessagesImages, ct as normalizeToolName, d as resolveImageSanitizationLimits, dt as matchesAnyGlobPattern, et as resolveSandboxConfigForAgent, f as canonicalizeBase64, ft as buildBootstrapContextFiles, g as sanitizeToolCallIdsForCloudCodeAssist, gt as sanitizeGoogleTurnOrdering, h as extractToolResultId, ht as resolveBootstrapTotalMaxChars, i as pickFallbackThinkingLevel, it as expandPolicyWithPluginGroups, j as isFailoverAssistantError, k as isCompactionFailureError, l as sanitizeImageBlocks, lt as resolveToolProfilePolicy, m as extractToolCallsFromAssistant, mt as resolveBootstrapMaxChars, n as validateAnthropicTurns, nt as buildPluginToolGroups, o as isMessagingToolDuplicateNormalized, ot as stripPluginOnlyAllowlist, p as estimateBase64DecodedBytes, pt as ensureSessionHeader, q as resolveBrowserConfig, r as validateGeminiTurns, rt as collectExplicitAllowlist, s as normalizeTextForComparison, st as expandToolGroups, t as extractTextFromChatContent, tt as applyOwnerOnlyToolPolicy, u as sanitizeToolResultImages, ut as compileGlobPatterns, v as downgradeOpenAIReasoningBlocks, w as formatRawAssistantErrorForUi, x as classifyFailoverReason, y as isGoogleModelApi, z as sanitizeUserFacingText } from "./chat-content-SO11ats8.js";
|
|
27
|
+
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-CUmShVKN.js";
|
|
28
28
|
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-C6SZeeDP.js";
|
|
29
29
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DTXviWB0.js";
|
|
30
30
|
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-4C2TMvQJ.js";
|
|
@@ -33,9 +33,9 @@ import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./
|
|
|
33
33
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CGwuoZjW.js";
|
|
34
34
|
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-BUbh2qQQ.js";
|
|
35
35
|
import { t as ensureOpenClawModelsJson } from "./models-config-BwoH36iy.js";
|
|
36
|
-
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-
|
|
37
|
-
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-
|
|
38
|
-
import { a as coerceImageModelConfig, i as coerceImageAssistantText, o as decodeDataUrl, r as minimaxUnderstandImage, s as resolveProviderVisionModelFromConfig } from "./provider-image-
|
|
36
|
+
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-n5UMoy4K.js";
|
|
37
|
+
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-ChQH7F1_.js";
|
|
38
|
+
import { a as coerceImageModelConfig, i as coerceImageAssistantText, o as decodeDataUrl, r as minimaxUnderstandImage, s as resolveProviderVisionModelFromConfig } from "./provider-image-CPA6-3Bo.js";
|
|
39
39
|
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-Ctn17W7M.js";
|
|
40
40
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-DWxmSQDX.js";
|
|
41
41
|
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DftsMqs0.js";
|
|
@@ -48,8 +48,8 @@ import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as re
|
|
|
48
48
|
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-CRUoZ4L3.js";
|
|
49
49
|
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-BQOB4NiV.js";
|
|
50
50
|
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-BMRTxG6m.js";
|
|
51
|
-
import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
52
|
-
import { C as resolveReplyToMode, E as normalizeTargetForProvider, S as createReplyToModeFilterForChannel, T as normalizeChannelTargetInput, _ as filterMessagingToolDuplicates, a as normalizeOutboundPayloadsForJson, b as shouldSuppressMessagingToolReplies, c as loadCombinedSessionStoreForGateway, d as lookupContextTokens, f as resolveContextTokensForModel, g as applyReplyThreading, h as applyReplyTagsToPayload, i as normalizeOutboundPayloads, l as throwIfAborted, m as sleepWithAbort, o as normalizeReplyPayloadsForDelivery, p as computeBackoff, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as loadChannelOutboundAdapter, v as filterMessagingToolMediaDuplicates, w as buildTargetResolverSignature, x as shouldSuppressReasoningPayload, y as isRenderablePayload } from "./deliver-
|
|
51
|
+
import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-sLJUqNwN.js";
|
|
52
|
+
import { C as resolveReplyToMode, E as normalizeTargetForProvider, S as createReplyToModeFilterForChannel, T as normalizeChannelTargetInput, _ as filterMessagingToolDuplicates, a as normalizeOutboundPayloadsForJson, b as shouldSuppressMessagingToolReplies, c as loadCombinedSessionStoreForGateway, d as lookupContextTokens, f as resolveContextTokensForModel, g as applyReplyThreading, h as applyReplyTagsToPayload, i as normalizeOutboundPayloads, l as throwIfAborted, m as sleepWithAbort, o as normalizeReplyPayloadsForDelivery, p as computeBackoff, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as loadChannelOutboundAdapter, v as filterMessagingToolMediaDuplicates, w as buildTargetResolverSignature, x as shouldSuppressReasoningPayload, y as isRenderablePayload } from "./deliver-D1zzXb0V.js";
|
|
53
53
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-Xoyq7SyW.js";
|
|
54
54
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-Dg5tcfuO.js";
|
|
55
55
|
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-BSc7-zus.js";
|
|
@@ -85,7 +85,7 @@ import { complete, completeSimple, createAssistantMessageEventStream, streamSimp
|
|
|
85
85
|
import { EdgeTTS } from "node-edge-tts";
|
|
86
86
|
import { createServer } from "node:http";
|
|
87
87
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
88
|
-
import WebSocket
|
|
88
|
+
import WebSocket, { WebSocket as WebSocket$1 } from "ws";
|
|
89
89
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
90
90
|
import { createJiti } from "jiti";
|
|
91
91
|
import AjvPkg from "ajv";
|
|
@@ -11293,7 +11293,7 @@ var GatewayClient = class {
|
|
|
11293
11293
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
11294
11294
|
});
|
|
11295
11295
|
}
|
|
11296
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
11296
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
11297
11297
|
this.ws.on("open", () => {
|
|
11298
11298
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
11299
11299
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -11489,7 +11489,7 @@ var GatewayClient = class {
|
|
|
11489
11489
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
11490
11490
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
11491
11491
|
this.connectTimer = setTimeout(() => {
|
|
11492
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
11492
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
|
|
11493
11493
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
11494
11494
|
this.ws?.close(1008, "connect challenge timeout");
|
|
11495
11495
|
}, connectChallengeTimeoutMs);
|
|
@@ -11531,7 +11531,7 @@ var GatewayClient = class {
|
|
|
11531
11531
|
return null;
|
|
11532
11532
|
}
|
|
11533
11533
|
async request(method, params, opts) {
|
|
11534
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
11534
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
11535
11535
|
const id = randomUUID();
|
|
11536
11536
|
const frame = {
|
|
11537
11537
|
type: "req",
|
|
@@ -12915,7 +12915,7 @@ async function routeReply(params) {
|
|
|
12915
12915
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
12916
12916
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
12917
12917
|
try {
|
|
12918
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
12918
|
+
const { deliverOutboundPayloads } = await import("./deliver-D1zzXb0V.js").then((n) => n.n);
|
|
12919
12919
|
const outboundSession = buildOutboundSessionContext({
|
|
12920
12920
|
cfg,
|
|
12921
12921
|
agentId: resolvedAgentId,
|
|
@@ -14458,7 +14458,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14458
14458
|
}
|
|
14459
14459
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14460
14460
|
try {
|
|
14461
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14461
|
+
const { deliverOutboundPayloads } = await import("./deliver-D1zzXb0V.js").then((n) => n.n);
|
|
14462
14462
|
await deliverOutboundPayloads({
|
|
14463
14463
|
cfg,
|
|
14464
14464
|
channel: normalizedChannel,
|
|
@@ -54962,7 +54962,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
54962
54962
|
return;
|
|
54963
54963
|
}
|
|
54964
54964
|
try {
|
|
54965
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
54965
|
+
const { deliverOutboundPayloads } = await import("./deliver-D1zzXb0V.js").then((n) => n.n);
|
|
54966
54966
|
const outboundSession = buildOutboundSessionContext({
|
|
54967
54967
|
cfg: params.cfg,
|
|
54968
54968
|
sessionKey: params.sessionKey
|
|
@@ -56254,9 +56254,9 @@ function buildWorkspaceLaneActor(params) {
|
|
|
56254
56254
|
channel: INTERNAL_MESSAGE_CHANNEL,
|
|
56255
56255
|
senderId,
|
|
56256
56256
|
laneSenderId: senderId,
|
|
56257
|
-
isHeartbeat,
|
|
56258
|
-
configuredIdentity,
|
|
56259
|
-
inheritedCanonicalIdentity
|
|
56257
|
+
isHeartbeat: void 0,
|
|
56258
|
+
configuredIdentity: void 0,
|
|
56259
|
+
inheritedCanonicalIdentity: void 0
|
|
56260
56260
|
})
|
|
56261
56261
|
};
|
|
56262
56262
|
}
|
|
@@ -64637,7 +64637,7 @@ async function describeStickerImage(params) {
|
|
|
64637
64637
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
64638
64638
|
try {
|
|
64639
64639
|
const buffer = await fs.readFile(imagePath);
|
|
64640
|
-
const { describeImageWithModel } = await import("./provider-image-
|
|
64640
|
+
const { describeImageWithModel } = await import("./provider-image-CPA6-3Bo.js").then((n) => n.n);
|
|
64641
64641
|
return (await describeImageWithModel({
|
|
64642
64642
|
buffer,
|
|
64643
64643
|
fileName: "sticker.webp",
|
|
@@ -66350,7 +66350,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
66350
66350
|
let transcript;
|
|
66351
66351
|
let carry;
|
|
66352
66352
|
if (needsPreflightTranscription) try {
|
|
66353
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
66353
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BHWXCNp0.js");
|
|
66354
66354
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
66355
66355
|
if (uploadable.length > 0) {
|
|
66356
66356
|
const preflight = await transcribeFirstAudio({
|
|
@@ -73556,7 +73556,7 @@ function createDefaultDeps() {
|
|
|
73556
73556
|
};
|
|
73557
73557
|
},
|
|
73558
73558
|
sendMessageTelegram: async (...args) => {
|
|
73559
|
-
const { sendMessageTelegram } = await import("./send-
|
|
73559
|
+
const { sendMessageTelegram } = await import("./send-BOYDtfq5.js").then((n) => n.l);
|
|
73560
73560
|
return await sendMessageTelegram(...args);
|
|
73561
73561
|
},
|
|
73562
73562
|
sendMessageDiscord: async (...args) => {
|
|
@@ -77134,7 +77134,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
77134
77134
|
return super.registerClient(client);
|
|
77135
77135
|
}
|
|
77136
77136
|
createWebSocket(url) {
|
|
77137
|
-
return new WebSocket
|
|
77137
|
+
return new WebSocket(url, { agent: wsAgent });
|
|
77138
77138
|
}
|
|
77139
77139
|
}
|
|
77140
77140
|
return new ProxyGatewayPlugin();
|
|
@@ -89499,7 +89499,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
89499
89499
|
let audioPreflightCarry;
|
|
89500
89500
|
const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
|
|
89501
89501
|
if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
|
|
89502
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
89502
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BHWXCNp0.js");
|
|
89503
89503
|
const preflight = await transcribeFirstAudio({
|
|
89504
89504
|
ctx: {
|
|
89505
89505
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -96555,7 +96555,7 @@ async function runBeforeToolCallHook(args) {
|
|
|
96555
96555
|
const params = args.params;
|
|
96556
96556
|
if (args.ctx?.sessionKey) {
|
|
96557
96557
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-evjvR-jF.js").then((n) => n.n);
|
|
96558
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
96558
|
+
const { logToolLoopAction } = await import("./diagnostic-BVuEoR--.js").then((n) => n.n);
|
|
96559
96559
|
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-BJI-zYNK.js");
|
|
96560
96560
|
const sessionState = getDiagnosticSessionState({
|
|
96561
96561
|
sessionKey: args.ctx.sessionKey,
|
|
@@ -96741,20 +96741,8 @@ function resolveHostEditPath(root, pathParam) {
|
|
|
96741
96741
|
const expanded = pathParam.startsWith("~/") || pathParam === "~" ? pathParam.replace(/^~/, os.homedir()) : pathParam;
|
|
96742
96742
|
return path.isAbsolute(expanded) ? path.resolve(expanded) : path.resolve(root, expanded);
|
|
96743
96743
|
}
|
|
96744
|
-
/**
|
|
96745
|
-
* Read oldText/newText from either the legacy top-level shape or the pi-coding-agent 0.73.1
|
|
96746
|
-
* edits[] shape. wrapToolParamNormalization now runs the vendor tool's prepareArguments() hook
|
|
96747
|
-
* before execute(), which moves top-level oldText/newText into edits[0] for the edit tool — so
|
|
96748
|
-
* this wrapper (sitting between that hook and the base execute) must accept both.
|
|
96749
|
-
*/
|
|
96750
96744
|
function extractEditTextFields(record) {
|
|
96751
96745
|
if (!record) return {};
|
|
96752
|
-
const newText = typeof record.newText === "string" ? record.newText : typeof record.new_string === "string" ? record.new_string : void 0;
|
|
96753
|
-
const oldText = typeof record.oldText === "string" ? record.oldText : typeof record.old_string === "string" ? record.old_string : void 0;
|
|
96754
|
-
if (newText !== void 0 || oldText !== void 0) return {
|
|
96755
|
-
oldText,
|
|
96756
|
-
newText
|
|
96757
|
-
};
|
|
96758
96746
|
if (Array.isArray(record.edits) && record.edits.length > 0) {
|
|
96759
96747
|
const first = record.edits[0];
|
|
96760
96748
|
if (first && typeof first === "object") {
|
|
@@ -96822,23 +96810,13 @@ const CLAUDE_PARAM_GROUPS = {
|
|
|
96822
96810
|
label: "path (path or file_path)"
|
|
96823
96811
|
}, {
|
|
96824
96812
|
keys: ["content"],
|
|
96825
|
-
label: "content"
|
|
96813
|
+
label: "content",
|
|
96814
|
+
allowEmpty: true
|
|
96826
96815
|
}],
|
|
96827
|
-
edit: [
|
|
96828
|
-
|
|
96829
|
-
|
|
96830
|
-
|
|
96831
|
-
},
|
|
96832
|
-
{
|
|
96833
|
-
keys: ["oldText", "old_string"],
|
|
96834
|
-
label: "oldText (oldText or old_string)"
|
|
96835
|
-
},
|
|
96836
|
-
{
|
|
96837
|
-
keys: ["newText", "new_string"],
|
|
96838
|
-
label: "newText (newText or new_string)",
|
|
96839
|
-
allowEmpty: true
|
|
96840
|
-
}
|
|
96841
|
-
]
|
|
96816
|
+
edit: [{
|
|
96817
|
+
keys: ["path", "file_path"],
|
|
96818
|
+
label: "path (path or file_path)"
|
|
96819
|
+
}]
|
|
96842
96820
|
};
|
|
96843
96821
|
function extractStructuredText(value, depth = 0) {
|
|
96844
96822
|
if (depth > 6) return;
|
|
@@ -96891,20 +96869,10 @@ function patchToolSchemaForClaudeCompatibility(tool) {
|
|
|
96891
96869
|
const properties = { ...schema.properties };
|
|
96892
96870
|
const required = Array.isArray(schema.required) ? schema.required.filter((key) => typeof key === "string") : [];
|
|
96893
96871
|
let changed = false;
|
|
96894
|
-
for (const { original, alias } of [
|
|
96895
|
-
|
|
96896
|
-
|
|
96897
|
-
|
|
96898
|
-
},
|
|
96899
|
-
{
|
|
96900
|
-
original: "oldText",
|
|
96901
|
-
alias: "old_string"
|
|
96902
|
-
},
|
|
96903
|
-
{
|
|
96904
|
-
original: "newText",
|
|
96905
|
-
alias: "new_string"
|
|
96906
|
-
}
|
|
96907
|
-
]) {
|
|
96872
|
+
for (const { original, alias } of [{
|
|
96873
|
+
original: "path",
|
|
96874
|
+
alias: "file_path"
|
|
96875
|
+
}]) {
|
|
96908
96876
|
if (!(original in properties)) continue;
|
|
96909
96877
|
if (!(alias in properties)) {
|
|
96910
96878
|
properties[alias] = properties[original];
|
|
@@ -100230,6 +100198,8 @@ function toToolDefinitions(tools, ctx) {
|
|
|
100230
100198
|
label: tool.label ?? name,
|
|
100231
100199
|
description: tool.description ?? "",
|
|
100232
100200
|
parameters: tool.parameters,
|
|
100201
|
+
prepareArguments: tool.prepareArguments,
|
|
100202
|
+
executionMode: tool.executionMode,
|
|
100233
100203
|
execute: async (...args) => {
|
|
100234
100204
|
const { toolCallId, params, onUpdate, signal } = splitToolExecuteArgs(args);
|
|
100235
100205
|
let executeParams = params;
|
|
@@ -102251,7 +102221,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
102251
102221
|
* Throws if the connection is not open.
|
|
102252
102222
|
*/
|
|
102253
102223
|
send(event) {
|
|
102254
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
102224
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
102255
102225
|
this.ws.send(JSON.stringify(event));
|
|
102256
102226
|
}
|
|
102257
102227
|
/**
|
|
@@ -102268,7 +102238,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
102268
102238
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
102269
102239
|
*/
|
|
102270
102240
|
isConnected() {
|
|
102271
|
-
return this.ws !== null && this.ws.readyState === WebSocket
|
|
102241
|
+
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
102272
102242
|
}
|
|
102273
102243
|
/**
|
|
102274
102244
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -102278,7 +102248,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
102278
102248
|
this._cancelRetryTimer();
|
|
102279
102249
|
if (this.ws) {
|
|
102280
102250
|
this.ws.removeAllListeners();
|
|
102281
|
-
if (this.ws.readyState === WebSocket
|
|
102251
|
+
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
102282
102252
|
this.ws = null;
|
|
102283
102253
|
}
|
|
102284
102254
|
}
|
|
@@ -102288,7 +102258,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
102288
102258
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
102289
102259
|
return;
|
|
102290
102260
|
}
|
|
102291
|
-
const socket = new WebSocket
|
|
102261
|
+
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
102292
102262
|
Authorization: `Bearer ${this.apiKey}`,
|
|
102293
102263
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
102294
102264
|
} });
|
|
@@ -103272,6 +103242,18 @@ function extractToolResultText(result) {
|
|
|
103272
103242
|
if (texts.length === 0) return;
|
|
103273
103243
|
return texts.join("\n");
|
|
103274
103244
|
}
|
|
103245
|
+
function formatToolRejectionLog(toolName, result) {
|
|
103246
|
+
const name = /^[A-Za-z_][\w.-]{0,63}$/.test(toolName) ? toolName : "<invalid tool name>";
|
|
103247
|
+
const text = extractToolResultText(result) ?? "";
|
|
103248
|
+
const argsAt = text.indexOf("\n\nReceived arguments:\n");
|
|
103249
|
+
let category;
|
|
103250
|
+
if (text.startsWith("Validation failed for tool ") && argsAt !== -1) {
|
|
103251
|
+
const issues = text.slice(0, argsAt).split("\n - ").length - 1;
|
|
103252
|
+
category = issues > 0 ? `schema validation failed (${issues} issue${issues === 1 ? "" : "s"})` : "schema validation failed";
|
|
103253
|
+
} else if (/^Tool [\s\S]+ not found$/.test(text)) category = "unknown tool";
|
|
103254
|
+
else if (text === "Tool execution was blocked") category = "blocked";
|
|
103255
|
+
return category ? `[tools] ${name} rejected: ${category}` : `[tools] ${name} failed: details redacted`;
|
|
103256
|
+
}
|
|
103275
103257
|
const TRUSTED_TOOL_RESULT_MEDIA = new Set([
|
|
103276
103258
|
"agents_list",
|
|
103277
103259
|
"apply_patch",
|
|
@@ -103759,6 +103741,7 @@ async function handleToolExecutionEnd(ctx, evt) {
|
|
|
103759
103741
|
durationMs: _toolDurationMs,
|
|
103760
103742
|
toolOutputs: sanitizedResult
|
|
103761
103743
|
});
|
|
103744
|
+
if (isError) ctx.log.warn(formatToolRejectionLog(toolName, result));
|
|
103762
103745
|
const callSummary = ctx.state.toolMetaById.get(toolCallId);
|
|
103763
103746
|
const meta = callSummary?.meta;
|
|
103764
103747
|
ctx.state.toolMetas.push({
|
|
@@ -12,7 +12,7 @@ import { _ as runTasksWithConcurrency, d as resolveSessionFilePath, f as resolve
|
|
|
12
12
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-BnH5Yy9T.js";
|
|
13
13
|
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-D5mIyzZd.js";
|
|
14
14
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-C43agCEC.js";
|
|
15
|
-
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as WORKSPACE_LANE_DENIED_REASON, f as KeyedAsyncQueue, 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-
|
|
15
|
+
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as WORKSPACE_LANE_DENIED_REASON, f as KeyedAsyncQueue, 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-CzDx8shZ.js";
|
|
16
16
|
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-9Mla_HDp.js";
|
|
17
17
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-BDA1WAvZ.js";
|
|
18
18
|
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-CoGCEMxs.js";
|
|
@@ -56256,9 +56256,9 @@ function buildWorkspaceLaneActor(params) {
|
|
|
56256
56256
|
channel: INTERNAL_MESSAGE_CHANNEL,
|
|
56257
56257
|
senderId,
|
|
56258
56258
|
laneSenderId: senderId,
|
|
56259
|
-
isHeartbeat,
|
|
56260
|
-
configuredIdentity,
|
|
56261
|
-
inheritedCanonicalIdentity
|
|
56259
|
+
isHeartbeat: void 0,
|
|
56260
|
+
configuredIdentity: void 0,
|
|
56261
|
+
inheritedCanonicalIdentity: void 0
|
|
56262
56262
|
})
|
|
56263
56263
|
};
|
|
56264
56264
|
}
|
|
@@ -96749,20 +96749,8 @@ function resolveHostEditPath(root, pathParam) {
|
|
|
96749
96749
|
const expanded = pathParam.startsWith("~/") || pathParam === "~" ? pathParam.replace(/^~/, os.homedir()) : pathParam;
|
|
96750
96750
|
return path.isAbsolute(expanded) ? path.resolve(expanded) : path.resolve(root, expanded);
|
|
96751
96751
|
}
|
|
96752
|
-
/**
|
|
96753
|
-
* Read oldText/newText from either the legacy top-level shape or the pi-coding-agent 0.73.1
|
|
96754
|
-
* edits[] shape. wrapToolParamNormalization now runs the vendor tool's prepareArguments() hook
|
|
96755
|
-
* before execute(), which moves top-level oldText/newText into edits[0] for the edit tool — so
|
|
96756
|
-
* this wrapper (sitting between that hook and the base execute) must accept both.
|
|
96757
|
-
*/
|
|
96758
96752
|
function extractEditTextFields(record) {
|
|
96759
96753
|
if (!record) return {};
|
|
96760
|
-
const newText = typeof record.newText === "string" ? record.newText : typeof record.new_string === "string" ? record.new_string : void 0;
|
|
96761
|
-
const oldText = typeof record.oldText === "string" ? record.oldText : typeof record.old_string === "string" ? record.old_string : void 0;
|
|
96762
|
-
if (newText !== void 0 || oldText !== void 0) return {
|
|
96763
|
-
oldText,
|
|
96764
|
-
newText
|
|
96765
|
-
};
|
|
96766
96754
|
if (Array.isArray(record.edits) && record.edits.length > 0) {
|
|
96767
96755
|
const first = record.edits[0];
|
|
96768
96756
|
if (first && typeof first === "object") {
|
|
@@ -96830,23 +96818,13 @@ const CLAUDE_PARAM_GROUPS = {
|
|
|
96830
96818
|
label: "path (path or file_path)"
|
|
96831
96819
|
}, {
|
|
96832
96820
|
keys: ["content"],
|
|
96833
|
-
label: "content"
|
|
96821
|
+
label: "content",
|
|
96822
|
+
allowEmpty: true
|
|
96834
96823
|
}],
|
|
96835
|
-
edit: [
|
|
96836
|
-
|
|
96837
|
-
|
|
96838
|
-
|
|
96839
|
-
},
|
|
96840
|
-
{
|
|
96841
|
-
keys: ["oldText", "old_string"],
|
|
96842
|
-
label: "oldText (oldText or old_string)"
|
|
96843
|
-
},
|
|
96844
|
-
{
|
|
96845
|
-
keys: ["newText", "new_string"],
|
|
96846
|
-
label: "newText (newText or new_string)",
|
|
96847
|
-
allowEmpty: true
|
|
96848
|
-
}
|
|
96849
|
-
]
|
|
96824
|
+
edit: [{
|
|
96825
|
+
keys: ["path", "file_path"],
|
|
96826
|
+
label: "path (path or file_path)"
|
|
96827
|
+
}]
|
|
96850
96828
|
};
|
|
96851
96829
|
function extractStructuredText(value, depth = 0) {
|
|
96852
96830
|
if (depth > 6) return;
|
|
@@ -96899,20 +96877,10 @@ function patchToolSchemaForClaudeCompatibility(tool) {
|
|
|
96899
96877
|
const properties = { ...schema.properties };
|
|
96900
96878
|
const required = Array.isArray(schema.required) ? schema.required.filter((key) => typeof key === "string") : [];
|
|
96901
96879
|
let changed = false;
|
|
96902
|
-
for (const { original, alias } of [
|
|
96903
|
-
|
|
96904
|
-
|
|
96905
|
-
|
|
96906
|
-
},
|
|
96907
|
-
{
|
|
96908
|
-
original: "oldText",
|
|
96909
|
-
alias: "old_string"
|
|
96910
|
-
},
|
|
96911
|
-
{
|
|
96912
|
-
original: "newText",
|
|
96913
|
-
alias: "new_string"
|
|
96914
|
-
}
|
|
96915
|
-
]) {
|
|
96880
|
+
for (const { original, alias } of [{
|
|
96881
|
+
original: "path",
|
|
96882
|
+
alias: "file_path"
|
|
96883
|
+
}]) {
|
|
96916
96884
|
if (!(original in properties)) continue;
|
|
96917
96885
|
if (!(alias in properties)) {
|
|
96918
96886
|
properties[alias] = properties[original];
|
|
@@ -100238,6 +100206,8 @@ function toToolDefinitions(tools, ctx) {
|
|
|
100238
100206
|
label: tool.label ?? name,
|
|
100239
100207
|
description: tool.description ?? "",
|
|
100240
100208
|
parameters: tool.parameters,
|
|
100209
|
+
prepareArguments: tool.prepareArguments,
|
|
100210
|
+
executionMode: tool.executionMode,
|
|
100241
100211
|
execute: async (...args) => {
|
|
100242
100212
|
const { toolCallId, params, onUpdate, signal } = splitToolExecuteArgs(args);
|
|
100243
100213
|
let executeParams = params;
|
|
@@ -103280,6 +103250,18 @@ function extractToolResultText(result) {
|
|
|
103280
103250
|
if (texts.length === 0) return;
|
|
103281
103251
|
return texts.join("\n");
|
|
103282
103252
|
}
|
|
103253
|
+
function formatToolRejectionLog(toolName, result) {
|
|
103254
|
+
const name = /^[A-Za-z_][\w.-]{0,63}$/.test(toolName) ? toolName : "<invalid tool name>";
|
|
103255
|
+
const text = extractToolResultText(result) ?? "";
|
|
103256
|
+
const argsAt = text.indexOf("\n\nReceived arguments:\n");
|
|
103257
|
+
let category;
|
|
103258
|
+
if (text.startsWith("Validation failed for tool ") && argsAt !== -1) {
|
|
103259
|
+
const issues = text.slice(0, argsAt).split("\n - ").length - 1;
|
|
103260
|
+
category = issues > 0 ? `schema validation failed (${issues} issue${issues === 1 ? "" : "s"})` : "schema validation failed";
|
|
103261
|
+
} else if (/^Tool [\s\S]+ not found$/.test(text)) category = "unknown tool";
|
|
103262
|
+
else if (text === "Tool execution was blocked") category = "blocked";
|
|
103263
|
+
return category ? `[tools] ${name} rejected: ${category}` : `[tools] ${name} failed: details redacted`;
|
|
103264
|
+
}
|
|
103283
103265
|
const TRUSTED_TOOL_RESULT_MEDIA = new Set([
|
|
103284
103266
|
"agents_list",
|
|
103285
103267
|
"apply_patch",
|
|
@@ -103767,6 +103749,7 @@ async function handleToolExecutionEnd(ctx, evt) {
|
|
|
103767
103749
|
durationMs: _toolDurationMs,
|
|
103768
103750
|
toolOutputs: sanitizedResult
|
|
103769
103751
|
});
|
|
103752
|
+
if (isError) ctx.log.warn(formatToolRejectionLog(toolName, result));
|
|
103770
103753
|
const callSummary = ctx.state.toolMetaById.get(toolCallId);
|
|
103771
103754
|
const meta = callSummary?.meta;
|
|
103772
103755
|
ctx.state.toolMetas.push({
|
|
@@ -2,7 +2,7 @@ import { C as truncateUtf16Safe } from "./utils-RlDPCeiE.js";
|
|
|
2
2
|
import { s as normalizeThinkLevel } from "./thinking-DDIdpLYh.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
4
4
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-C0lTPxIN.js";
|
|
5
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
5
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-B_FW_9fk.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ot as truncateUtf16Safe } from "./globals-NHZhvbUb.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CnWdoPKw.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-BX5bviSk.js";
|
|
4
4
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BXRKcOTd.js";
|
|
5
5
|
import { s as normalizeThinkLevel } from "./thinking--vrOmrW7.js";
|
|
6
6
|
import path from "node:path";
|
package/dist/{pi-embedded-recovery-adapter-B2XOvHxn.js → pi-embedded-recovery-adapter-BddLz7qo.js}
RENAMED
|
@@ -2,7 +2,7 @@ import "./globals-NHZhvbUb.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import "./subsystem-CnWdoPKw.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { r as AGENT_TURN_TOPIC } from "./agent-turn-enqueue-
|
|
5
|
+
import { r as AGENT_TURN_TOPIC } from "./agent-turn-enqueue-BxHSM8oW.js";
|
|
6
6
|
import "./config-B_l7dU75.js";
|
|
7
7
|
import "./version-D_9__Xw6.js";
|
|
8
8
|
import "./agent-scope-Ppgyx_kd.js";
|
|
@@ -17,15 +17,15 @@ import "./task-run-types-B6n0W8Rb.js";
|
|
|
17
17
|
import "./redact-dcExQ0l1.js";
|
|
18
18
|
import "./errors-DZFFjLFB.js";
|
|
19
19
|
import "./static-server-CSKym6UB.js";
|
|
20
|
-
import "./pi-embedded-helpers-
|
|
21
|
-
import "./sandbox-
|
|
20
|
+
import "./pi-embedded-helpers-YHTLuxgI.js";
|
|
21
|
+
import "./sandbox-BX5bviSk.js";
|
|
22
22
|
import "./tool-catalog-CB1vNQHT.js";
|
|
23
23
|
import "./extension-relay-auth-Dicdw7Xi.js";
|
|
24
24
|
import "./tailscale-CvPUJvZS.js";
|
|
25
25
|
import "./tailnet-CzWmlGVj.js";
|
|
26
26
|
import "./ws-DIjS49am.js";
|
|
27
27
|
import "./auth-CZ7-R3rC.js";
|
|
28
|
-
import "./server-context-
|
|
28
|
+
import "./server-context-C_pla-48.js";
|
|
29
29
|
import "./frontmatter-DTtFYkCc.js";
|
|
30
30
|
import "./skills-DeS5IuN9.js";
|
|
31
31
|
import "./path-alias-guards-Dn6kxDaO.js";
|
|
@@ -39,11 +39,11 @@ import "./ports-CLSVg-y-.js";
|
|
|
39
39
|
import "./server-middleware-v9W3NbYv.js";
|
|
40
40
|
import "./thinking--vrOmrW7.js";
|
|
41
41
|
import "./tokens-ZXYKMPyD.js";
|
|
42
|
-
import "./diagnostic-
|
|
42
|
+
import "./diagnostic-CE2FPlvC.js";
|
|
43
43
|
import "./diagnostic-session-state-1K1Ij_N0.js";
|
|
44
|
-
import "./pi-embedded-utils-
|
|
44
|
+
import "./pi-embedded-utils-oOYiIuf7.js";
|
|
45
45
|
import "./tool-display-DorcgRYO.js";
|
|
46
|
-
import { g as waitForEmbeddedPiRunEnd, s as isEmbeddedPiRunActive } from "./runs-
|
|
46
|
+
import { g as waitForEmbeddedPiRunEnd, s as isEmbeddedPiRunActive } from "./runs-B4f4E8kN.js";
|
|
47
47
|
import "./reply-directives-C7J_kRAY.js";
|
|
48
48
|
import { i as recoveryTurnOperationId, n as buildRecoveryPrompt, r as enqueueRecoveryTurn, t as SESSION_RUN_RECOVERY_TURN_STAGE_FAILED } from "./recovery-prompt-DqlKavmj.js";
|
|
49
49
|
import { createHash } from "node:crypto";
|
package/dist/{pi-embedded-recovery-adapter-C-NuyPbb.js → pi-embedded-recovery-adapter-DgcqvHfB.js}
RENAMED
|
@@ -21,17 +21,17 @@ import "./static-server-DQBHPXOZ.js";
|
|
|
21
21
|
import "./path-alias-guards-CgeH2aSH.js";
|
|
22
22
|
import "./fs-safe-LwswEc9h.js";
|
|
23
23
|
import "./ssrf-sqmKbJf5.js";
|
|
24
|
-
import "./pi-embedded-helpers-
|
|
24
|
+
import "./pi-embedded-helpers-Dc5B30N3.js";
|
|
25
25
|
import "./image-ops-C0lTPxIN.js";
|
|
26
|
-
import "./pi-embedded-utils-
|
|
27
|
-
import "./sandbox-
|
|
26
|
+
import "./pi-embedded-utils-YFPoENoq.js";
|
|
27
|
+
import "./sandbox-B_FW_9fk.js";
|
|
28
28
|
import "./tool-catalog-CnoKmmOb.js";
|
|
29
29
|
import "./extension-relay-auth-DwReIDDr.js";
|
|
30
30
|
import "./tailscale-DfhEC7E3.js";
|
|
31
31
|
import "./tailnet-CE87X9ww.js";
|
|
32
32
|
import "./ws-CGr0AxvH.js";
|
|
33
33
|
import "./auth-eCrnJfQt.js";
|
|
34
|
-
import "./server-context-
|
|
34
|
+
import "./server-context-DPUXSJws.js";
|
|
35
35
|
import "./frontmatter-DMHQ51Yr.js";
|
|
36
36
|
import "./skills-Cq5-KMvg.js";
|
|
37
37
|
import "./store-DS83zC6I.js";
|
|
@@ -41,10 +41,10 @@ import "./ports-DJ_M8scl.js";
|
|
|
41
41
|
import "./server-middleware-D3C4S6EF.js";
|
|
42
42
|
import "./tool-display-B_gL6TP4.js";
|
|
43
43
|
import "./tokens-D0Wagzn5.js";
|
|
44
|
-
import "./diagnostic-
|
|
44
|
+
import "./diagnostic-BZZiPjuM.js";
|
|
45
45
|
import "./diagnostic-session-state-7e_RsTs4.js";
|
|
46
|
-
import { r as AGENT_TURN_TOPIC } from "./agent-turn-enqueue-
|
|
47
|
-
import { g as waitForEmbeddedPiRunEnd, s as isEmbeddedPiRunActive } from "./runs-
|
|
46
|
+
import { r as AGENT_TURN_TOPIC } from "./agent-turn-enqueue-BbrTTvFs.js";
|
|
47
|
+
import { g as waitForEmbeddedPiRunEnd, s as isEmbeddedPiRunActive } from "./runs-B7kP-kpq.js";
|
|
48
48
|
import "./reply-directives-3v1UblSX.js";
|
|
49
49
|
import { i as recoveryTurnOperationId, n as buildRecoveryPrompt, r as enqueueRecoveryTurn, t as SESSION_RUN_RECOVERY_TURN_STAGE_FAILED } from "./recovery-prompt-9MKTTZMu.js";
|
|
50
50
|
import { createHash } from "node:crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { lt as shortenHomeInString } from "./subsystem-BzMLdZDO.js";
|
|
2
2
|
import { n as redactToolDetail } from "./redact-CcXQzMDq.js";
|
|
3
|
-
import { t as extractTextFromChatContent, z as sanitizeUserFacingText } from "./chat-content-
|
|
3
|
+
import { t as extractTextFromChatContent, z as sanitizeUserFacingText } from "./chat-content-SO11ats8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
1
|
+
import { I as sanitizeUserFacingText } from "./pi-embedded-helpers-Dc5B30N3.js";
|
|
2
2
|
import { t as extractTextFromChatContent } from "./chat-content-_IbUtUxr.js";
|
|
3
3
|
import { r as resolveToolDisplay, t as formatToolDetail } from "./tool-display-B_gL6TP4.js";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
1
|
+
import { R as sanitizeUserFacingText } from "./pi-embedded-helpers-YHTLuxgI.js";
|
|
2
2
|
import { t as extractTextFromChatContent } from "./chat-content-D2V5ppab.js";
|
|
3
3
|
import { r as resolveToolDisplay, t as formatToolDetail } from "./tool-display-DorcgRYO.js";
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as resolveAgentConfig } from "./agent-scope-C7A_L0Z6.js";
|
|
2
2
|
import { L as resolveThreadParentSessionKey, h as resolveAgentIdFromSessionKey, p as normalizeAgentId } from "./session-key-BxmJDkEI.js";
|
|
3
3
|
import { $s as resolveChannelGroupToolsPolicy, fc as normalizeMessageChannel, gs as getChannelDock, wc as normalizeStringEntries, yu as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-kV2JXnSw.js";
|
|
4
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
4
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-B_FW_9fk.js";
|
|
5
5
|
import { i as readChannelAllowFromStore } from "./pairing-store-Bv1BvIzg.js";
|
|
6
6
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-DzfdGdp7.js";
|
|
7
7
|
|