squidclaw 3.0.5 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-KzgPbLHP.js → accounts-B1RxFghM.js} +1 -1
- package/dist/{accounts-BK8I0Svb.js → accounts-BH9Qo1sQ.js} +7 -7
- package/dist/{accounts-C_l8KCRi.js → accounts-CK_sHUyT.js} +2 -2
- package/dist/{accounts-B3tweNWP.js → accounts-CkF7YwoF.js} +4 -4
- package/dist/{accounts-DeqNOvBo.js → accounts-Cuwg9Tan.js} +1 -1
- package/dist/{accounts-ZiDDa9KJ.js → accounts-DbloMfwT.js} +2 -2
- package/dist/{acp-cli-BWSZnzfY.js → acp-cli-CLRuoXWa.js} +8 -8
- package/dist/{active-listener-Ccd2xBZE.js → active-listener-AepfNSUY.js} +2 -2
- package/dist/{agent-scope-Cq4vDGrK.js → agent-scope-nEVgVklg.js} +17 -17
- package/dist/{agents-IDAdnabb.js → agents-rUKtNaUK.js} +14 -14
- package/dist/{agents.config-DF51cWyU.js → agents.config-DFuCqhIm.js} +1 -1
- package/dist/{agents.config-iIxcfoac.js → agents.config-DsnQkHm9.js} +2 -2
- package/dist/{api-key-rotation-C-dRYWuo.js → api-key-rotation-BHFJiYbw.js} +2 -2
- package/dist/{api-key-rotation-Ck41sTpR.js → api-key-rotation-CsMKifj6.js} +1 -1
- package/dist/{audio-preflight-BYOECG4f.js → audio-preflight-BKgdc7dS.js} +30 -30
- package/dist/{audio-preflight-C9GE3WMm.js → audio-preflight-CzOW6WUm.js} +34 -34
- package/dist/{audio-transcription-runner-CPEhpuLO.js → audio-transcription-runner-BnbdYMDl.js} +12 -12
- package/dist/{audio-transcription-runner-Xzc1NTsq.js → audio-transcription-runner-C5qJ-fgR.js} +23 -23
- package/dist/{audit-CZB7BwiK.js → audit-DqYxJJda.js} +29 -29
- package/dist/{audit-membership-runtime-CPJnbh0Q.js → audit-membership-runtime-DyLj-uhz.js} +3 -3
- package/dist/{auth-BN5Ax7XQ.js → auth-C5nn2VmD.js} +1 -1
- package/dist/{auth-choice-Da4gjROu.js → auth-choice-8xkQwsCU.js} +3 -3
- package/dist/{auth-choice-CqmB4z69.js → auth-choice-B4oZiQl3.js} +13 -13
- package/dist/{auth-choice-BnBwCCXv.js → auth-choice-B7f4gR8i.js} +11 -11
- package/dist/{auth-choice-GeqOp4st.js → auth-choice-BP67-Scf.js} +2 -2
- package/dist/{auth-choice.apply-helpers-CAYfHKSv.js → auth-choice.apply-helpers-gvgwMfOS.js} +1 -1
- package/dist/{auth-profiles-CvmKVnsR.js → auth-profiles-CwmInMDd.js} +16 -16
- package/dist/{auth-token-D8eHvwMb.js → auth-token-DA4-9AiC.js} +1 -1
- package/dist/{banner-BBId5XNb.js → banner-X4Hg28Jc.js} +2 -2
- package/dist/{bonjour-discovery-D3MmCuyu.js → bonjour-discovery-CirYvFAM.js} +1 -1
- package/dist/{browser-cli-DiQ1Yrni.js → browser-cli-mblKkWN0.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +49 -49
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +49 -49
- package/dist/{call-v5CyFgM7.js → call-BSt3WRnY.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CQ6rCiGI.js → channel-account-context-DJ3rHgVO.js} +5 -5
- package/dist/{channel-activity-2DTItbwL.js → channel-activity-Bsu4_sQM.js} +1 -1
- package/dist/{channel-activity-Dmu5wZZC.js → channel-activity-C5kTj83_.js} +3 -3
- package/dist/{channel-options-C5QMYKJH.js → channel-options-BNOKnBE0.js} +3 -3
- package/dist/{channel-options-BTUJmt49.js → channel-options-BsIX_w4i.js} +1 -1
- package/dist/{channel-selection-BqwS1Rlq.js → channel-selection-CFWQq1nS.js} +1 -1
- package/dist/{channel-web-BDBaYap6.js → channel-web-BTKQul7k.js} +1 -1
- package/dist/{channel-web-DXQukfrw.js → channel-web-BaF7Svv2.js} +17 -17
- package/dist/{channels-cli-CodE2_4U.js → channels-cli-C1WKiZuu.js} +93 -93
- package/dist/{channels-cli-nZFTWJm3.js → channels-cli-DYzFGZh_.js} +7 -7
- package/dist/{channels-status-issues-Dz1_R7Ah.js → channels-status-issues-Erzzhl2e.js} +1 -1
- package/dist/{chrome-BuS4b_BB.js → chrome-CjxCwFA9.js} +15 -15
- package/dist/{chrome-CBaHshBY.js → chrome-DybExwN8.js} +4 -4
- package/dist/{clawbot-cli-DbHuxiC3.js → clawbot-cli-AkJg44bt.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-xa7nfGYO.js → cli-CfB7Ynj1.js} +2 -2
- package/dist/{cli-cvjr3PJM.js → cli-DQxrr5jc.js} +73 -73
- package/dist/{client-cfjtRboM.js → client-XYT0IAgJ.js} +2 -2
- package/dist/{command-registry-De6cz7-E.js → command-registry-BpxHWT9Y.js} +11 -11
- package/dist/{command-secret-targets-DjorlW8u.js → command-secret-targets-DN9JuQaB.js} +4 -4
- package/dist/{commands-CnX9I_l4.js → commands-DDHiW-As.js} +1 -1
- package/dist/{commands-registry-BI_sjTho.js → commands-registry-C4UO-mlJ.js} +3 -3
- package/dist/{commands-registry-BjVOLvf0.js → commands-registry-D6ZOTo1C.js} +4 -4
- package/dist/{completion-cli-DFItGNcw.js → completion-cli-CuLOFt3t.js} +1 -1
- package/dist/{completion-cli-D-XlEj2O.js → completion-cli-PRzaDsjO.js} +13 -13
- package/dist/{config-cli-CiS7hyXQ.js → config-cli-C0rMJEvV.js} +1 -1
- package/dist/{config-cli-DIU6V325.js → config-cli-D6JN7i8p.js} +7 -7
- package/dist/{config-guard-BQAx_rXT.js → config-guard-CowcGBh0.js} +3 -3
- package/dist/{config-validation-DBB2ib3F.js → config-validation-BEyUXW7d.js} +3 -3
- package/dist/{configure-BMXU0of9.js → configure-BZg51IRW.js} +17 -17
- package/dist/{configure-COgj88fo.js → configure-J_r5yf-x.js} +8 -8
- package/dist/{control-ui-assets-BYEy341x.js → control-ui-assets-d6VtDSeo.js} +1 -1
- package/dist/{cron-cli-kx4mDvyb.js → cron-cli-Dxj_PFB9.js} +11 -11
- package/dist/{daemon-cli-Doz3CsCY.js → daemon-cli-B7j3r4qt.js} +1 -1
- package/dist/{daemon-cli-CE2oMOil.js → daemon-cli-Ca-rxRI7.js} +15 -15
- package/dist/{daemon-install-helpers-CJtiW2RE.js → daemon-install-helpers-CZDVO_MU.js} +11 -11
- package/dist/{daemon-install-MOrssUh2.js → daemon-install-v-mqoHye.js} +4 -4
- package/dist/{deliver-C8FulfkW.js → deliver-D-f6Wa3i.js} +11 -11
- package/dist/{deliver-BkXhWlhP.js → deliver-f-YZpnF5.js} +7 -7
- package/dist/deliver-runtime-COMirbwL.js +61 -0
- package/dist/deliver-runtime-_egya0QZ.js +36 -0
- package/dist/deps-send-discord.runtime-BRE0s2nz.js +26 -0
- package/dist/deps-send-discord.runtime-DolibeT1.js +36 -0
- package/dist/deps-send-imessage.runtime-C-ZmN2L6.js +35 -0
- package/dist/deps-send-imessage.runtime-DbIRBnmD.js +25 -0
- package/dist/deps-send-signal.runtime-B4h6X3o4.js +24 -0
- package/dist/deps-send-signal.runtime-DnMP5CEo.js +34 -0
- package/dist/deps-send-slack.runtime-BWXOnOxS.js +22 -0
- package/dist/deps-send-slack.runtime-Cieqzbk_.js +32 -0
- package/dist/{deps-send-telegram.runtime-DFzAh4tt.js → deps-send-telegram.runtime-CU9Pew2o.js} +16 -16
- package/dist/deps-send-telegram.runtime-YvauJtgv.js +27 -0
- package/dist/{deps-send-whatsapp.runtime-Bk0MRFLz.js → deps-send-whatsapp.runtime-Bqxr0eK9.js} +4 -4
- package/dist/deps-send-whatsapp.runtime-CiG6xd2e.js +60 -0
- package/dist/deps-send-whatsapp.runtime-D5qwjBlI.js +119 -0
- package/dist/{devices-cli-DsLz4bXV.js → devices-cli-DIg7WYwm.js} +8 -8
- package/dist/{diagnostic-B2HYyQ8L.js → diagnostic-Io9OfTj2.js} +1 -1
- package/dist/{diagnostic-D2vYK6Fg.js → diagnostic-ySwZga6c.js} +2 -2
- package/dist/{diagnostics-B7TvAs1Y.js → diagnostics-DQI0oT2F.js} +5 -5
- package/dist/{directory-cli-D8-5sEMN.js → directory-cli-Dy3Q9XMb.js} +7 -7
- package/dist/{dns-cli-CLhU3R0X.js → dns-cli-CLPgP1NM.js} +5 -5
- package/dist/{dock-DJJAj46v.js → dock-W3cGg46W.js} +4 -4
- package/dist/{docs-cli--gGxz79Z.js → docs-cli-BpZtes_j.js} +4 -4
- package/dist/{doctor-completion-BiDcNo6Q.js → doctor-completion-Ce6ELjT5.js} +2 -2
- package/dist/{doctor-completion-8rS5Omw7.js → doctor-completion-CtzmXwE3.js} +1 -1
- package/dist/{doctor-config-flow-DXsHAt2t.js → doctor-config-flow-Dc1HKudQ.js} +15 -15
- package/dist/{enable-Dp5n5D46.js → enable-Do8jn9gg.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-KKxnQK8G.js → errors-kkRuS2Cs.js} +1 -1
- package/dist/{exec-approvals-allowlist-C9ZJK4Gd.js → exec-approvals-allowlist-DOxIMtXP.js} +1 -1
- package/dist/{exec-approvals-cli-DJgyhlQI.js → exec-approvals-cli-DGpM86zY.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CSWN6lxg.js → exec-safe-bin-runtime-policy-DhLi-jyO.js} +2 -2
- package/dist/{fetch-BA3uuEpf.js → fetch-BClIo0ZD.js} +3 -3
- package/dist/{fetch-DCLFwngk.js → fetch-BLS7EMnx.js} +4 -4
- package/dist/{fetch-guard-C34T9Lg9.js → fetch-guard-C-CRoLDY.js} +1 -1
- package/dist/{fetch-guard-bk7uDnb8.js → fetch-guard-D0fXNJls.js} +2 -2
- package/dist/{frontmatter-EuNpTTq9.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/fs-safe-BPQ-per2.js +352 -0
- package/dist/{fs-safe-DdANjYLv.js → fs-safe-BoB4X3GD.js} +3 -3
- package/dist/{gateway-cli-CVV2dd-0.js → gateway-cli-BJsxsz40.js} +10 -10
- package/dist/{gateway-cli-COXjaMFJ.js → gateway-cli-BZDvkqJu.js} +153 -153
- package/dist/{gateway-rpc-CdMQ58t-.js → gateway-rpc-F18gNFkP.js} +1 -1
- package/dist/{health-CODYcJkj.js → health-3pSJD-u-.js} +11 -11
- package/dist/{health-CHe6jetL.js → health-CrEBegrW.js} +1 -1
- package/dist/{hooks-cli-f3VAZszh.js → hooks-cli-BPUmvGPb.js} +3 -3
- package/dist/{hooks-cli-Cd9srSlj.js → hooks-cli-CU94KjOw.js} +81 -81
- package/dist/{hooks-status-DMFBAUq8.js → hooks-status-BlgSVDvN.js} +1 -1
- package/dist/{image-DYXL4Dt_.js → image-C-C7hQ26.js} +6 -6
- package/dist/{image-ops-Dly8SSF7.js → image-ops-CdgypS_g.js} +2 -2
- package/dist/{image-ops-B2uuLIGD.js → image-ops-LFsSCTyI.js} +10 -10
- package/dist/{image-DMU5SnGB.js → image-pyJhsETJ.js} +5 -5
- package/dist/image-runtime-D7n4dID4.js +29 -0
- package/dist/image-runtime-OEuSJixg.js +55 -0
- package/dist/index.js +7 -7
- package/dist/{inspect-Bwnw_UjM.js → inspect-CecVmtMp.js} +4 -4
- package/dist/{install-safe-path-3muwy3fu.js → install-safe-path-DqI19VEv.js} +25 -25
- package/dist/{installs-BiQDtPF0.js → installs-P-pYAJm1.js} +9 -9
- package/dist/{ipv4-Cl0LHiMy.js → ipv4-CB0e8hdy.js} +1 -1
- package/dist/{ir-BxAD7czj.js → ir-BvisJWXv.js} +8 -8
- package/dist/{ir-tkiWcHy6.js → ir-CpO3-MQs.js} +8 -8
- package/dist/{issue-format-CVVBG2XC.js → issue-format-BP_8Uzq5.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{legacy-names-CrhimhR4.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/{lifecycle-core-C6bIL3hq.js → lifecycle-core-Bj47aKSO.js} +5 -5
- package/dist/llm-slug-generator.js +49 -49
- package/dist/{logger-CNkhF83z.js → logger-CnTSBL7T.js} +1 -1
- package/dist/{login-BfH1AL2k.js → login-BMeLPUiO.js} +5 -5
- package/dist/{login-BEjm9EOB.js → login-DYouthtN.js} +3 -3
- package/dist/{login-qr-c2E295av.js → login-qr-B2B67qqQ.js} +8 -8
- package/dist/{login-qr-CbXbfbKZ.js → login-qr-CrLstrfx.js} +6 -6
- package/dist/{logs-cli-DLymQphh.js → logs-cli-BWxd4Vlu.js} +9 -9
- package/dist/{manager-Bw9MibiQ.js → manager-DdxMYEDd.js} +9 -9
- package/dist/{manager-Co4qUpQq.js → manager-GxUrWGzI.js} +14 -14
- package/dist/{manager-runtime-C4uErAXw.js → manager-runtime-B6dQZ95S.js} +9 -9
- package/dist/manager-runtime-BMygJEz3.js +18 -0
- package/dist/{manifest-registry-7kwtbCH-.js → manifest-registry-1ACGW3OR.js} +1 -1
- package/dist/{memory-cli-BpGa2Md3.js → memory-cli-nLUA3TJJ.js} +12 -12
- package/dist/{model-B3UWkUkt.js → model-CFAguW1X.js} +2 -2
- package/dist/{model-catalog-D3BDTSon.js → model-catalog-Cc2Y6aO9.js} +3 -3
- package/dist/{model-picker-fn9-5czQ.js → model-picker-42DaAd5Q.js} +4 -4
- package/dist/{model-picker-9eBMXztF.js → model-picker-XxRh755s.js} +8 -8
- package/dist/{model-selection-aT08Cbr0.js → model-selection-ag9BmVct.js} +10 -10
- package/dist/{models-BtRE9AsP.js → models-B554bYQk.js} +17 -17
- package/dist/{models-cli-Dj4eTFQ6.js → models-cli-6F6W0KTG.js} +78 -78
- package/dist/{models-cli-Vn7VG0Mg.js → models-cli-BMZpp0w-.js} +3 -3
- package/dist/{models-config-Cfv2TQXX.js → models-config-D96CeX01.js} +6 -6
- package/dist/{net-nlF6thgH.js → net-CmP6gw-e.js} +2 -2
- package/dist/{node-cli-BNY4sO1l.js → node-cli-CF7gqWi6.js} +33 -33
- package/dist/{node-command-policy-CWFxjK-r.js → node-command-policy-D-TrkI3I.js} +1 -1
- package/dist/{node-service-DJ2PdPiI.js → node-service-CKaruDMJ.js} +1 -1
- package/dist/{nodes-cli-B2U9aqFb.js → nodes-cli-C7C1I10u.js} +16 -16
- package/dist/{nodes-screen-IsdPNZvL.js → nodes-screen-Bv_hP-W3.js} +7 -7
- package/dist/{npm-pack-install-B887us7R.js → npm-pack-install-Dn3FiWXB.js} +18 -18
- package/dist/{npm-resolution-DEbLpq7-.js → npm-resolution-Cc8AvA7u.js} +1 -1
- package/dist/{npm-resolution-DRj9EZYQ.js → npm-resolution-_EeE_Ujp.js} +4 -4
- package/dist/{onboard-Dzozp7bp.js → onboard-BBE2XnYk.js} +6 -6
- package/dist/{onboard-DRyS50DA.js → onboard-Drnwax3G.js} +4 -4
- package/dist/{onboard-channels-HPa4NzTv.js → onboard-channels-BB39kGye.js} +2 -2
- package/dist/{onboard-channels-CZ5_aWYh.js → onboard-channels-Blm8a9Xa.js} +21 -21
- package/dist/{onboard-custom-CrTCsoex.js → onboard-custom-CCmKBt2X.js} +4 -4
- package/dist/{onboard-custom-CjB43f8l.js → onboard-custom-CpzXkv9M.js} +1 -1
- package/dist/{onboard-helpers-PXSBTzql.js → onboard-helpers-DHa51Syk.js} +11 -11
- package/dist/{onboard-helpers-R4b3Kr01.js → onboard-helpers-DKMtUE3F.js} +1 -1
- package/dist/{onboard-hooks-CTbjgLDl.js → onboard-hooks-DyxckB2C.js} +4 -4
- package/dist/{onboard-remote-xgST1KeC.js → onboard-remote-BcqJ3Tz_.js} +1 -1
- package/dist/{onboard-remote-9ShnuysR.js → onboard-remote-DIdDJK99.js} +4 -4
- package/dist/{onboard-skills-B7Q69fhO.js → onboard-skills-UY8CYY-W.js} +1 -1
- package/dist/{onboard-skills-DOaiUlDS.js → onboard-skills-tmtzDwJK.js} +4 -4
- package/dist/{onboarding-DpKLGw-P.js → onboarding-CzKQyWBA.js} +14 -14
- package/dist/{onboarding-D8yzBiwp.js → onboarding-gTeRtrT0.js} +9 -9
- package/dist/{onboarding.finalize-Blks6x4H.js → onboarding.finalize-Yn7Z20A9.js} +87 -87
- package/dist/{onboarding.finalize-YFmR3rfz.js → onboarding.finalize-qUj9NQZX.js} +6 -6
- package/dist/{onboarding.gateway-config-BLIUBAtE.js → onboarding.gateway-config-BuZAc2S6.js} +1 -1
- package/dist/{onboarding.gateway-config-4L8AnL42.js → onboarding.gateway-config-DXSZjMAQ.js} +18 -18
- package/dist/{onboarding.secret-input-Blkshntx.js → onboarding.secret-input-CZllOF9-.js} +1 -1
- package/dist/{openai-model-default-BYZDBOLH.js → openai-model-default-B9Uvm-HD.js} +2 -2
- package/dist/{outbound-BJNHKrk8.js → outbound-DHDBvGLA.js} +6 -6
- package/dist/{outbound-attachment-BLSOzWVO.js → outbound-attachment-CGkDHHwN.js} +2 -2
- package/dist/{outbound-attachment-qvD-NbIp.js → outbound-attachment-CqXiWbKN.js} +2 -2
- package/dist/{outbound-erFyoasR.js → outbound-eY3iircJ.js} +3 -3
- package/dist/{pairing-cli-Cm5KvsLg.js → pairing-cli-qUIV_ogK.js} +8 -8
- package/dist/{pairing-labels-IQFEI8BA.js → pairing-labels-CUV6LNM1.js} +1 -1
- package/dist/{pairing-store-DQlHmWN8.js → pairing-store-iHMQLc47.js} +3 -3
- package/dist/{path-alias-guards-VI6pee_i.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/path-alias-guards-DeOVetT7.js +43 -0
- package/dist/{path-safety-C95DzArw.js → path-safety-D7CjFQvf.js} +1 -1
- package/dist/{paths-DfuVHiHu.js → paths-D6mnO6Ni.js} +9 -9
- package/dist/{paths-DH4hVuGM.js → paths-DSd911Oe.js} +1 -1
- package/dist/{pi-embedded-CZFbSZlb.js → pi-embedded-CHzwPt6X.js} +85 -85
- package/dist/{pi-embedded-helpers-BFbdgYu8.js → pi-embedded-helpers-BVBXhn3i.js} +6 -6
- package/dist/{pi-embedded-helpers-CSG6fsiY.js → pi-embedded-helpers-Bse_QhEf.js} +19 -19
- package/dist/{pi-model-discovery-BbP0l7V0.js → pi-model-discovery-DAzuqPoG.js} +1 -1
- package/dist/{pi-model-discovery-CUhGY1J_.js → pi-model-discovery-IkNhzHow.js} +1 -1
- package/dist/{pi-model-discovery-runtime-BH5_gJ5L.js → pi-model-discovery-runtime-CifWOHbQ.js} +5 -5
- package/dist/pi-model-discovery-runtime-Dpu7Jm2L.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-CS0hOgiM.js → pi-tools.before-tool-call.runtime-2Sp1jmlg.js} +7 -7
- package/dist/{pi-tools.before-tool-call.runtime-UE6shJzT.js → pi-tools.before-tool-call.runtime-CA2a1iBP.js} +5 -5
- package/dist/{pi-tools.policy-COmj0F9F.js → pi-tools.policy-BoLQW6Wp.js} +5 -5
- package/dist/{plugin-auto-enable-BcF0qNu9.js → plugin-auto-enable-COht5jxQ.js} +3 -3
- package/dist/{plugin-registry-DURw0MYp.js → plugin-registry-C3_4F3FU.js} +1 -1
- package/dist/{plugin-registry-8GqJnXZm.js → plugin-registry-FJ90EneI.js} +3 -3
- package/dist/plugin-sdk/accounts-BNuRM3rG.js +288 -0
- package/dist/plugin-sdk/accounts-CGTYP7Rh.js +46 -0
- package/dist/plugin-sdk/accounts-CcS9IAhD.js +35 -0
- package/dist/plugin-sdk/active-listener-CTsLn1AX.js +50 -0
- package/dist/plugin-sdk/api-key-rotation-Bhck7wki.js +181 -0
- package/dist/plugin-sdk/audio-preflight-CRGLqp-g.js +69 -0
- package/dist/plugin-sdk/audio-transcription-runner-RXsskMMk.js +2176 -0
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
- package/dist/plugin-sdk/channel-activity-gPvD1D7S.js +94 -0
- package/dist/plugin-sdk/channel-web-LGl1zPJt.js +2256 -0
- package/dist/plugin-sdk/chrome-9Y_LcUg1.js +2415 -0
- package/dist/plugin-sdk/commands-registry-CcdEPxVg.js +1125 -0
- package/dist/plugin-sdk/config-CrQ5bCrw.js +17912 -0
- package/dist/plugin-sdk/deliver-D3xr5AkB.js +1694 -0
- package/dist/plugin-sdk/deliver-runtime-B79ZQu69.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-BOQZIqC8.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CuHOc9Ka.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-iPynghkE.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DNTbE5jS.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-7CR-xtCF.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-bUi8kghi.js +57 -0
- package/dist/plugin-sdk/diagnostic-BXkLYs_9.js +319 -0
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
- package/dist/plugin-sdk/fetch-guard-C55uvn27.js +156 -0
- package/dist/{fs-safe-DPYj7h8A.js → plugin-sdk/fs-safe-Dqmpk-Fr.js} +6 -6
- package/dist/plugin-sdk/image-3xW7IJdq.js +2310 -0
- package/dist/plugin-sdk/image-ops-BjK2qZZn.js +584 -0
- package/dist/plugin-sdk/image-runtime-CZZJJqcW.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/ir-CS7uuQhN.js +1296 -0
- package/dist/plugin-sdk/local-roots-DmOKwiNW.js +186 -0
- package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
- package/dist/plugin-sdk/login-BSEeU27Y.js +57 -0
- package/dist/plugin-sdk/login-qr-BwWJsDSj.js +320 -0
- package/dist/plugin-sdk/manager-DiXPCubI.js +3917 -0
- package/dist/plugin-sdk/manager-runtime-Ct0m9UJC.js +15 -0
- package/dist/plugin-sdk/outbound-attachment-BoFx05zw.js +19 -0
- package/dist/plugin-sdk/outbound-cpqK1GFe.js +212 -0
- package/dist/{path-alias-guards-vfYYQFIg.js → plugin-sdk/path-alias-guards-gBhrAn14.js} +1 -1
- package/dist/plugin-sdk/paths-C6W4VHoa.js +166 -0
- package/dist/plugin-sdk/pi-embedded-helpers-C-B9B6Sp.js +9627 -0
- package/dist/plugin-sdk/pi-model-discovery-BGEeoPzN.js +134 -0
- package/dist/plugin-sdk/pi-model-discovery-runtime-BHZ_Htob.js +8 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-ByN_xThw.js +354 -0
- package/dist/plugin-sdk/plugins-D5cdn70e.js +864 -0
- package/dist/{proxy-fetch-xYMu9mkn.js → plugin-sdk/proxy-fetch-ZPEvp58f.js} +1 -1
- package/dist/plugin-sdk/pw-ai-C_QOIuin.js +1938 -0
- package/dist/{qmd-manager-BkSWV1Q1.js → plugin-sdk/qmd-manager-6bozlfFg.js} +11 -17
- package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +1011 -0
- package/dist/{redact-CNCiJdri.js → plugin-sdk/redact-BoNEjbpF.js} +1 -1
- package/dist/plugin-sdk/reply-CQUX_haM.js +98828 -0
- package/dist/plugin-sdk/resolve-outbound-target-Dbz0O8cR.js +40 -0
- package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +1994 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-OthrtsLL.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Q2HL0zL3.js +19 -0
- package/dist/plugin-sdk/send-BACEu1Un.js +414 -0
- package/dist/plugin-sdk/send-BU4OoR7u.js +2587 -0
- package/dist/plugin-sdk/send-DbxOJ_BC.js +3135 -0
- package/dist/plugin-sdk/send-n932vjT5.js +540 -0
- package/dist/plugin-sdk/send-uCPS53j8.js +503 -0
- package/dist/plugin-sdk/session-DenDKR_-.js +169 -0
- package/dist/plugin-sdk/skill-commands-BK1KDKmS.js +342 -0
- package/dist/plugin-sdk/skills-D4am-zkO.js +1428 -0
- package/dist/plugin-sdk/slash-commands.runtime-DWfFqMZw.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-pnWH5AjM.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-DxvNWv_E.js +16 -0
- package/dist/plugin-sdk/ssrf-2WBi1Tzx.js +202 -0
- package/dist/plugin-sdk/store-BKDMuvyn.js +81 -0
- package/dist/plugin-sdk/subagent-registry-runtime-hH9ADku1.js +52 -0
- package/dist/plugin-sdk/tables-CrDYcv_b.js +55 -0
- package/dist/{target-errors-CRQlPF1u.js → plugin-sdk/target-errors-aOwE-MIU.js} +2 -2
- package/dist/plugin-sdk/thinking-D41FMh9T.js +1206 -0
- package/dist/{tokens-B9Gk6Ss5.js → plugin-sdk/tokens-CTIYTLWu.js} +1 -1
- package/dist/plugin-sdk/tool-images-CWc54lpI.js +274 -0
- package/dist/plugin-sdk/web-DjKONHqF.js +56 -0
- package/dist/plugin-sdk/whatsapp-actions-DEZcm_CZ.js +80 -0
- package/dist/plugin-sdk/zalouser.js +2 -2
- package/dist/{plugins-BDTkSIi7.js → plugins-Bc7YM9X-.js} +2 -2
- package/dist/{plugins-Cg99ej4a.js → plugins-DXkm70nK.js} +6 -6
- package/dist/{plugins-cli-DpZYmju3.js → plugins-cli-CTRNVYrz.js} +83 -83
- package/dist/{plugins-cli-DmTsD71d.js → plugins-cli-CkuJp8xp.js} +3 -3
- package/dist/{ports-Be82TlEg.js → ports-BzfeaNjw.js} +1 -1
- package/dist/{ports-0jLyYbvQ.js → ports-DMeUt80n.js} +2 -2
- package/dist/{program-DSb6ocNC.js → program-C459C7fE.js} +81 -81
- package/dist/{program-context-ooZUt2gS.js → program-context-CQGS-T69.js} +18 -18
- package/dist/{prompt-select-styled-Dt-WhnQ0.js → prompt-select-styled-CbU0kt6K.js} +5 -5
- package/dist/{prompt-select-styled-BflFyz9P.js → prompt-select-styled-Db5isrWq.js} +40 -40
- package/dist/{provider-auth-helpers-DVomEnsq.js → provider-auth-helpers-BdoxZkJ5.js} +1 -1
- package/dist/{provider-auth-helpers-o8UcxFzE.js → provider-auth-helpers-CHA2RYGH.js} +5 -5
- package/dist/{proxy-env-BNo93HMb.js → proxy-env-D75CWSOo.js} +1 -1
- package/dist/{proxy-env-BDzLr-Xu.js → proxy-env-DkDM4lyi.js} +1 -1
- package/dist/proxy-fetch-lH6RsRTE.js +38 -0
- package/dist/{push-apns-C7qyD1SB.js → push-apns-Bmzz46UG.js} +1 -1
- package/dist/{push-apns-ByOCwUIb.js → push-apns-QRl14PL-.js} +5 -5
- package/dist/{pw-ai-DL4-zFQ2.js → pw-ai-BkViDf6X.js} +18 -18
- package/dist/{pw-ai-DGILOk_h.js → pw-ai-BwRP3TWc.js} +12 -12
- package/dist/{qmd-manager-BWffUeZv.js → qmd-manager-BN0siR2Z.js} +9 -9
- package/dist/qmd-manager-BsL_hcOB.js +1454 -0
- package/dist/{qr-cli-ycULxbDe.js → qr-cli-Lue0weA0.js} +2 -2
- package/dist/{query-expansion-DI9INxTg.js → query-expansion-C0HUJbRn.js} +12 -12
- package/dist/{query-expansion-yY0Xn9Kw.js → query-expansion-Dzxt6kXo.js} +4 -4
- package/dist/redact-DvzicBMu.js +319 -0
- package/dist/{redact-snapshot-COZ-I-Tx.js → redact-snapshot-j2UcqIGl.js} +1 -1
- package/dist/{register.agent-CqJmJqZY.js → register.agent-BcHDGbDj.js} +8 -8
- package/dist/{register.agent-fGunIm89.js → register.agent-CKuJqUxQ.js} +94 -94
- package/dist/register.configure--iuZf-Se.js +165 -0
- package/dist/{register.configure-BYOtTrkD.js → register.configure-C7zgVxZQ.js} +12 -12
- package/dist/{register.maintenance-BvrntMJ0.js → register.maintenance-BvXK5kse.js} +95 -95
- package/dist/{register.maintenance-q9TelW4m.js → register.maintenance-HxvARfCH.js} +8 -8
- package/dist/{register.message-CIpJNwpb.js → register.message-CZKi0dsZ.js} +3 -3
- package/dist/{register.message-gTJNayB2.js → register.message-CexCaCLj.js} +74 -74
- package/dist/{register.onboard-CdLxC6e6.js → register.onboard-BSoXszGW.js} +3 -3
- package/dist/{register.onboard-CWYauTOU.js → register.onboard-CYj4_MtL.js} +18 -18
- package/dist/{register.setup-BVQjSCo7.js → register.setup-BCIiKYDH.js} +3 -3
- package/dist/{register.setup-BCWevQ6z.js → register.setup-COivNCUG.js} +21 -21
- package/dist/{register.status-health-sessions-D6Z0cWR2.js → register.status-health-sessions-B1n45-Cb.js} +4 -4
- package/dist/{register.status-health-sessions-7J5qMNiH.js → register.status-health-sessions-DV9c3uve.js} +88 -88
- package/dist/{register.subclis-CaQKvJ0R.js → register.subclis-DMvO_J4V.js} +31 -31
- package/dist/{reply-lnANjYYy.js → reply-LaODRY80.js} +5 -5
- package/dist/{rpc-C4LCuyHT.js → rpc-B8VkWVmY.js} +1 -1
- package/dist/{run-main-fZjFwk8-.js → run-main-2d0yMxyZ.js} +93 -93
- package/dist/{run-with-concurrency-D05zyBvx.js → run-with-concurrency-BFR3ReeF.js} +3 -3
- package/dist/{runtime-p-NlFhs9.js → runtime-CDZM2wLQ.js} +3 -3
- package/dist/{runtime-config-collectors-nl4J0eGm.js → runtime-config-collectors-BTU0eKTb.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-EkEBg3KF.js → runtime-whatsapp-login.runtime-BO0mX9_r.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-DSR-m0FW.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-Blywd_bv.js +22 -0
- package/dist/{runtime-whatsapp-outbound.runtime-DburiWRT.js → runtime-whatsapp-outbound.runtime-CwpvqY32.js} +15 -15
- package/dist/{sandbox-De3f2XMI.js → sandbox-WsTfTuEp.js} +18 -18
- package/dist/{sandbox-cli-mDvQrS3E.js → sandbox-cli-Sgsu6dPU.js} +25 -25
- package/dist/{secrets-cli-Qgj7B-Ac.js → secrets-cli-D2Nyn2HJ.js} +11 -11
- package/dist/{security-cli-kZfh-l3V.js → security-cli-uIuuoX2g.js} +42 -42
- package/dist/{send-BCE8qHfO.js → send-6jRKGsRs.js} +5 -5
- package/dist/{send-DomUTnc_.js → send-BobtsK6j.js} +11 -11
- package/dist/{send-e5FYMOJj.js → send-BxrUZpiG.js} +6 -6
- package/dist/{send-Ds2QFFHB.js → send-C98RfcAb.js} +5 -5
- package/dist/{send-rtczuBFr.js → send-Co5Bqwuo.js} +6 -6
- package/dist/{send-Dp0cFCnc.js → send-DcJ1pKjV.js} +4 -4
- package/dist/{send-Dg2OQTBD.js → send-DjL7KlMV.js} +8 -8
- package/dist/{send-CVe_wjZr.js → send-Do7hKDL9.js} +7 -7
- package/dist/{send-DxZOuYSz.js → send-NhE5ebSK.js} +8 -8
- package/dist/{send-DTmXRnXD.js → send-bW7jDv8D.js} +14 -14
- package/dist/{server-DUUdvkpq.js → server-FGj_ECLz.js} +20 -20
- package/dist/{server-context-DPghueRG.js → server-context-BHejgqzS.js} +12 -12
- package/dist/{server-lifecycle-D80aUXgn.js → server-lifecycle-BAtwXGHD.js} +2 -2
- package/dist/{server-middleware-oNgBIITD.js → server-middleware-60oUYecQ.js} +1 -1
- package/dist/{server-node-events-ByTGIHN6.js → server-node-events-7TeThsXp.js} +74 -74
- package/dist/{server-node-events-CZSHLRjW.js → server-node-events-BZFU_fm1.js} +3 -3
- package/dist/{service-D6lUMZKF.js → service-DsnrBnut.js} +15 -15
- package/dist/{session-B-spPtFw.js → session-QSn69XeJ.js} +4 -4
- package/dist/{session-D0jodcgT.js → session-eXSdl5mb.js} +1 -1
- package/dist/{session-utils-BrZ1ZzVq.js → session-utils-BD5Z6cCa.js} +6 -6
- package/dist/{sessions-C-_rnutd.js → sessions-PQyVIndD.js} +4 -4
- package/dist/{sessions-C5HWgT1_.js → sessions-oQJONGWF.js} +15 -15
- package/dist/{shared-DIMaxrU0.js → shared-B7szWIQb.js} +3 -3
- package/dist/{shared-BpdBkle5.js → shared-tolKQpGA.js} +1 -1
- package/dist/{skill-commands-CQlR5HNK.js → skill-commands-BAE31S6L.js} +5 -5
- package/dist/{skill-commands-BU_EPKGI.js → skill-commands-Bi_jchJn.js} +5 -5
- package/dist/{skill-scanner-CvS725eQ.js → skill-scanner--QKHR8U0.js} +6 -6
- package/dist/{skills-BMJJ-o7Q.js → skills-CTV78w4q.js} +7 -7
- package/dist/{skills-C85azDXm.js → skills-EwyaIyKC.js} +3 -3
- package/dist/{skills-cli-C4VYbHrW.js → skills-cli-DCXgBe7w.js} +5 -5
- package/dist/{skills-install-St1w23Ub.js → skills-install-CnnbnjQD.js} +6 -6
- package/dist/{skills-status-DkO7rxE8.js → skills-status-Bv8Xt7Lc.js} +1 -1
- package/dist/slash-commands.runtime-63MUmCBt.js +16 -0
- package/dist/{slash-commands.runtime-BPntiJaM.js → slash-commands.runtime-Dcrcjgcb.js} +11 -11
- package/dist/slash-dispatch.runtime-B7O4Wz6b.js +114 -0
- package/dist/{slash-dispatch.runtime-oqezzRLs.js → slash-dispatch.runtime-DLLn0I6r.js} +2 -2
- package/dist/slash-dispatch.runtime-DuJRl-LD.js +56 -0
- package/dist/slash-skill-commands.runtime-B3MSSAQ-.js +20 -0
- package/dist/{slash-skill-commands.runtime-DK73fWGb.js → slash-skill-commands.runtime-ClUG1YOE.js} +15 -15
- package/dist/{squidclaw-root-BQfLymzj.js → squidclaw-root-JXyRbQLJ.js} +8 -8
- package/dist/{status-CLisA75R.js → status-BHMVPBt8.js} +27 -27
- package/dist/{status-DWG2unIb.js → status-FEZLL4zc.js} +3 -3
- package/dist/{status.update-CiLU9RPF.js → status.update-BGIm6we4.js} +2 -2
- package/dist/{store-BZJ7k8zI.js → store-B89Hj8Ub.js} +2 -2
- package/dist/{store-BEIcnlgx.js → store-BTkIx401.js} +5 -5
- package/dist/{subagent-registry-DIG5cv0C.js → subagent-registry-O65q5PYJ.js} +149 -149
- package/dist/subagent-registry-runtime-CHCU3Vzl.js +114 -0
- package/dist/{subagent-registry-runtime-Dn9NdIkG.js → subagent-registry-runtime-CMaj_reT.js} +2 -2
- package/dist/subagent-registry-runtime-COygB9b1.js +56 -0
- package/dist/{subsystem-DwbSi7gL.js → subsystem-6v7sWnAD.js} +2 -2
- package/dist/{system-cli-DcsDrms5.js → system-cli-CiuvFiDQ.js} +9 -9
- package/dist/{system-run-command-_TWqwVYR.js → system-run-command-B0gZa8Pc.js} +1 -1
- package/dist/{systemd-CD8s-qZ_.js → systemd-BrFu3I64.js} +9 -9
- package/dist/{systemd-hints-CuQVI0A1.js → systemd-hints-e5KJNDJB.js} +6 -6
- package/dist/{systemd-linger-BVu_9dOp.js → systemd-linger-DIBXRxA8.js} +1 -1
- package/dist/{tables-C2W8-cTf.js → tables-7v1wqCPH.js} +1 -1
- package/dist/{tables-DCs7kcl5.js → tables-DGHzaXQz.js} +1 -1
- package/dist/{tailnet-BTCJZWyh.js → tailnet-CUG3_Vq2.js} +1 -1
- package/dist/target-errors-C_rnMuJ2.js +195 -0
- package/dist/{target-errors-p185Iwir.js → target-errors-CweAa7L9.js} +2 -2
- package/dist/{thinking-C7-zgrYU.js → thinking-SdNGqtJE.js} +7 -7
- package/dist/tokens-DfbMVF9y.js +52 -0
- package/dist/{tool-images-gH3TaDhx.js → tool-images-8BKrL7Bn.js} +2 -2
- package/dist/{tool-images-CyzWvDUu.js → tool-images-D6mmxuWS.js} +1 -1
- package/dist/{tui-Dihw6VdK.js → tui-GobDRguA.js} +6 -6
- package/dist/{tui-cli-3NDOn7Es.js → tui-cli-CJFzVxnV.js} +32 -32
- package/dist/{update-1JhjCqjy.js → update-BhRrb6BI.js} +3 -3
- package/dist/{update-cli-CxWkuyMh.js → update-cli-MNc9pQ8Z.js} +104 -104
- package/dist/{update-cli-BOA7uNXd.js → update-cli-XQA8HnPH.js} +9 -9
- package/dist/{update-runner-4xWzr8_S.js → update-runner-D91Jmj0S.js} +16 -16
- package/dist/{update-runner-CBzd_nJ6.js → update-runner-DVgVKydP.js} +1 -1
- package/dist/web-CPFzvE3y.js +118 -0
- package/dist/{web-COBpRjL9.js → web-D9tKNsmC.js} +3 -3
- package/dist/{web-DNTMnpXn.js → web-DyCuTR9b.js} +53 -53
- package/dist/{webhooks-cli-BhL0q4w0.js → webhooks-cli-L3FWqivw.js} +6 -6
- package/dist/{whatsapp-actions-DiE2QeMS.js → whatsapp-actions-B1MuSaby.js} +17 -17
- package/dist/{whatsapp-actions-BcYHedDV.js → whatsapp-actions-BDkbnZVH.js} +19 -19
- package/dist/{with-timeout-Cz134FWR.js → with-timeout-DLPklM0i.js} +3 -3
- package/dist/{workspace-D5vNjk5G.js → workspace-BbO-M3Jv.js} +1 -1
- package/dist/{workspace-dirs-CjMIsQti.js → workspace-dirs-D8D-Ghcl.js} +1 -1
- package/dist/{workspace-C1XiGBnY.js → workspace-kVMIaBrV.js} +2 -2
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-DAHX6Egt.js +0 -36
- package/dist/deliver-runtime-DbymeppL.js +0 -61
- package/dist/deps-send-discord.runtime-6_M_KIhD.js +0 -26
- package/dist/deps-send-discord.runtime-OZDSsMD1.js +0 -36
- package/dist/deps-send-imessage.runtime-BI2MiGBZ.js +0 -35
- package/dist/deps-send-imessage.runtime-KQo4sl7j.js +0 -25
- package/dist/deps-send-signal.runtime-BlfNS-W1.js +0 -34
- package/dist/deps-send-signal.runtime-_JnikN9v.js +0 -24
- package/dist/deps-send-slack.runtime-AAGitgm1.js +0 -22
- package/dist/deps-send-slack.runtime-CkRysg88.js +0 -32
- package/dist/deps-send-telegram.runtime-CVNYJjEt.js +0 -27
- package/dist/deps-send-whatsapp.runtime-5oLdo69Y.js +0 -60
- package/dist/deps-send-whatsapp.runtime-DSZbuJSf.js +0 -119
- package/dist/image-runtime-BL0nz9jO.js +0 -55
- package/dist/image-runtime-DsgEYYCB.js +0 -29
- package/dist/manager-runtime-BaiUrBAz.js +0 -18
- package/dist/pi-model-discovery-runtime-DHUCh3qR.js +0 -11
- package/dist/register.configure-BSC7QkD7.js +0 -165
- package/dist/runtime-whatsapp-login.runtime-B4wlBpXd.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Bw-aS4TH.js +0 -22
- package/dist/slash-commands.runtime-BVe8kFs6.js +0 -16
- package/dist/slash-dispatch.runtime--zkPOYs8.js +0 -56
- package/dist/slash-dispatch.runtime-aOd34tJL.js +0 -114
- package/dist/slash-skill-commands.runtime-DWkdPFic.js +0 -20
- package/dist/subagent-registry-runtime-Cwu64xxS.js +0 -114
- package/dist/subagent-registry-runtime-DcF6pbCz.js +0 -56
- package/dist/web-B4plqfoT.js +0 -118
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { k as resolvePreferredSquidClawTmpDir } from "./globals-BrhVUl-N.js";
|
|
2
|
-
import { f as isNotFoundPathError, p as isPathInside } from "./squidclaw-root-
|
|
3
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
2
|
+
import { f as isNotFoundPathError, p as isPathInside } from "./squidclaw-root-JXyRbQLJ.js";
|
|
3
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BPQ-per2.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/form-fields.ts
|
|
8
8
|
const DEFAULT_FILL_FIELD_TYPE = "text";
|
|
@@ -44,28 +44,28 @@ function invalidPath(scopeLabel) {
|
|
|
44
44
|
}
|
|
45
45
|
async function resolveRealPathIfExists(targetPath) {
|
|
46
46
|
try {
|
|
47
|
-
return await
|
|
47
|
+
return await fsPromises.realpath(targetPath);
|
|
48
48
|
} catch {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
async function resolveTrustedRootRealPath(rootDir) {
|
|
53
53
|
try {
|
|
54
|
-
const rootLstat = await
|
|
54
|
+
const rootLstat = await fsPromises.lstat(rootDir);
|
|
55
55
|
if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
|
|
56
|
-
return await
|
|
56
|
+
return await fsPromises.realpath(rootDir);
|
|
57
57
|
} catch {
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
async function validateCanonicalPathWithinRoot(params) {
|
|
62
62
|
try {
|
|
63
|
-
const candidateLstat = await
|
|
63
|
+
const candidateLstat = await fsPromises.lstat(params.candidatePath);
|
|
64
64
|
if (candidateLstat.isSymbolicLink()) return "invalid";
|
|
65
65
|
if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
|
|
66
66
|
if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
|
|
67
67
|
if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
|
|
68
|
-
const candidateRealPath = await
|
|
68
|
+
const candidateRealPath = await fsPromises.realpath(params.candidatePath);
|
|
69
69
|
return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
|
|
70
70
|
} catch (err) {
|
|
71
71
|
return isNotFoundPathError(err) ? "not-found" : "invalid";
|
|
@@ -143,7 +143,7 @@ async function resolveCheckedPathsWithinRoot(params) {
|
|
|
143
143
|
};
|
|
144
144
|
if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
|
|
145
145
|
try {
|
|
146
|
-
const resolvedExistingPath = await
|
|
146
|
+
const resolvedExistingPath = await fsPromises.realpath(raw);
|
|
147
147
|
const relativePath = path.relative(rootRealPath, resolvedExistingPath);
|
|
148
148
|
if (!isInRoot(relativePath)) return lexicalPathResult;
|
|
149
149
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-DA5srn0U.js";
|
|
2
|
-
import { R as normalizeAgentId, j as DEFAULT_AGENT_ID } from "./workspace-
|
|
2
|
+
import { R as normalizeAgentId, j as DEFAULT_AGENT_ID } from "./workspace-kVMIaBrV.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import syncFs from "node:fs";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-
|
|
1
|
+
import { _ as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentWorkspaceDir, d as resolveRunModelFallbacksOverride, f as resolveSessionAgentId, g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues, i as resolveAgentConfig, l as resolveDefaultAgentId, n as hasConfiguredModelFallbacks, p as resolveSessionAgentIds, r as listAgentIds, s as resolveAgentSkillsFilter, t as runTasksWithConcurrency, u as resolveEffectiveModelFallbacks } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
2
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-DA5srn0U.js";
|
|
3
|
-
import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredSquidClawTmpDir, y as getChildLogger } from "./subsystem-
|
|
4
|
-
import { $ as parseAgentSessionKey, A as normalizeWindowsPathForComparison, B as resolveAgentIdFromSessionKey, G as normalizeAccountId$2, H as sanitizeAgentId, I as classifySessionKeyShape, J as deriveSessionChatType, K as normalizeOptionalAccountId, L as isValidAgentId, M as DEFAULT_MAIN_KEY, N as buildAgentMainSessionKey, P as buildAgentPeerSessionKey, Q as isSubagentSessionKey, R as normalizeAgentId, U as scopedHeartbeatWakeOptions, V as resolveThreadSessionKeys, W as DEFAULT_ACCOUNT_ID, X as isAcpSessionKey, Y as getSubagentDepth, Z as isCronSessionKey, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, et as resolveThreadParentSessionKey, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, m as resolveSquidClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, q as isBlockedObjectKey, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync, z as normalizeMainKey } from "./workspace-
|
|
5
|
-
import { C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$1, h as normalizeE164, i as logWarn, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./logger-
|
|
6
|
-
import { $ as resolveConfigSnapshotHash, $n as dedupeProfileIds, $t as createPluginRegistry, A as getCustomProviderApiKey, An as unwrapKnownDispatchWrapperInvocation, At as isPathWithinRoot, B as markAuthProfileFailure, Bn as resolveSlackNativeStreaming, Bt as resolveMemorySlotDecision, C as OLLAMA_NATIVE_BASE_URL, Cn as DEFAULT_SAFE_BINS, D as buildStreamErrorAssistantMessage, Dn as extractShellWrapperInlineCommand, Dt as AVATAR_MAX_BYTES, E as buildAssistantMessageWithZeroUsage, En as resolveCommandResolutionFromArgv, Fn as resolveSafeBinProfiles, Ft as isPathInside, G as describeUnknownError$1, Gn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Gt as normalizeAnyChannelId, H as resolveProfilesUnavailableReason, Ht as CHAT_CHANNEL_ORDER, I as resolveAuthProfileOrder, In as applyMergePatch, It as safeStatSync, J as parseDotPath, Jn as getShellPathFromLoginShell, Jt as getActivePluginRegistry, K as isNonEmptyString, Kn as resolveAgentMaxConcurrent, Kt as normalizeChannelId$1, L as clearExpiredCooldowns, Ln as isSafeExecutableValue, Lt as applyTestPluginDefaults, M as resolveApiKeyForProvider, Mn as splitShellArgs, Mt as validateJsonSchemaValue, N as resolveEnvApiKey, Nn as SAFE_BIN_PROFILES, Nt as loadPluginManifestRegistry, O as buildUsageWithNoCost, On as isDispatchWrapperExecutable, Ot as isAvatarDataUrl, P as resolveModelAuthMode, Pn as normalizeSafeBinProfileFixtures, Pt as discoverSquidClawPlugins, Qn as resolveOwnerDisplaySetting, Qt as setActivePluginRegistry, R as getSoonestCooldownExpiry, Rn as mapStreamingModeToSlackLegacyDraftStreamMode, Rt as normalizePluginsConfig, S as retryAsync, Sn as splitCommandChain, T as buildAssistantMessage, Tn as resolveAllowlistCandidatePath, U as resolveApiKeyForProfile, Ut as getChatChannelMeta, V as markAuthProfileUsed, Vn as resolveSlackStreamingMode, W as resolveSecretRefValues, Wt as listChatChannels, X as loadConfig, Xn as isDangerousHostEnvVarName, Yn as resolveShellEnvFallbackTimeoutMs, Yt as getActivePluginRegistryKey, Z as readConfigFileSnapshot, Zn as isTruthyEnvValue, Zt as requireActivePluginRegistry, _n as normalizeTrustedSafeBinDirs, _r as resolveSecretInputRef, a as isCliProvider, an as matchPluginCommand, ar as withFileLock, bn as buildEnforcedShellCommand, br as DEFAULT_MODEL, c as normalizeProviderId, cn as setConfigOverride, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as parseConfigPath, dr as resolveAuthProfileDisplayLabel, dt as parseNonNegativeByteSize, en as normalizePluginHttpPath, er as listProfilesForProvider, et as writeConfigFile, f as resolveModelRefFromString, fn as setConfigValueAtPath, ft as secretRefKey, gn as listWritableExplicitTrustedSafeBinDirs, gr as normalizeResolvedSecretInputString, h as resolveThinkingDefault, hn as isTrustedSafeBinPath, hr as hasConfiguredSecretInput, i as findNormalizedProviderValue, in as listPluginCommands, ir as resolveSquidClawAgentDir, it as resolveTelegramCustomCommands, j as requireApiKey, jn as unwrapKnownShellMultiplexerInvocation, jt as isSupportedLocalAvatarExtension, k as getApiKeyForModel, kn as isShellWrapperExecutable, kt as isAvatarHttpUrl, ln as unsetConfigOverride, lr as formatCliCommand, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as getTrustedSafeBinDirs, mr as coerceSecretRef, mt as parseDurationMs, n as buildConfiguredAllowlistKeys, nn as executePluginCommand, nr as ensureAuthProfileStore, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as getConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as unsetConfigValueAtPath, pr as normalizeSecretInput, q as isRecord$2, qn as VERSION, qt as normalizeChatChannelId, r as buildModelAliasIndex, rn as getPluginCommandSpecs, rr as resolveAuthStorePathForDisplay, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as resetConfigOverrides, t as buildAllowedModelSet, tn as clearPluginCommands, tr as markAuthProfileGood, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as getConfigValueAtPath, ur as resolveCliName, ut as normalizeScpRemoteHost, vn as validateSafeBinArgv, vr as splitTrailingAuthProfile, w as createOllamaStreamFn, wn as matchAllowlist, x as resolveRetryConfig, xn as isWindowsPlatform, xr as DEFAULT_PROVIDER, yn as analyzeShellCommand, yr as DEFAULT_CONTEXT_TOKENS, z as isProfileInCooldown, zn as resolveDiscordPreviewStreamMode, zt as resolveEffectiveEnableState } from "./model-selection-
|
|
3
|
+
import { C as normalizeLogLevel, E as consumeRootOptionToken, T as FLAG_TERMINATOR, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as resolvePreferredSquidClawTmpDir, y as getChildLogger } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import { $ as parseAgentSessionKey, A as normalizeWindowsPathForComparison, B as resolveAgentIdFromSessionKey, G as normalizeAccountId$2, H as sanitizeAgentId, I as classifySessionKeyShape, J as deriveSessionChatType, K as normalizeOptionalAccountId, L as isValidAgentId, M as DEFAULT_MAIN_KEY, N as buildAgentMainSessionKey, P as buildAgentPeerSessionKey, Q as isSubagentSessionKey, R as normalizeAgentId, U as scopedHeartbeatWakeOptions, V as resolveThreadSessionKeys, W as DEFAULT_ACCOUNT_ID, X as isAcpSessionKey, Y as getSubagentDepth, Z as isCronSessionKey, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, et as resolveThreadParentSessionKey, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, m as resolveSquidClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, q as isBlockedObjectKey, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as openBoundaryFileSync, z as normalizeMainKey } from "./workspace-kVMIaBrV.js";
|
|
5
|
+
import { C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$1, h as normalizeE164, i as logWarn, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
6
|
+
import { $ as resolveConfigSnapshotHash, $n as dedupeProfileIds, $t as createPluginRegistry, A as getCustomProviderApiKey, An as unwrapKnownDispatchWrapperInvocation, At as isPathWithinRoot, B as markAuthProfileFailure, Bn as resolveSlackNativeStreaming, Bt as resolveMemorySlotDecision, C as OLLAMA_NATIVE_BASE_URL, Cn as DEFAULT_SAFE_BINS, D as buildStreamErrorAssistantMessage, Dn as extractShellWrapperInlineCommand, Dt as AVATAR_MAX_BYTES, E as buildAssistantMessageWithZeroUsage, En as resolveCommandResolutionFromArgv, Fn as resolveSafeBinProfiles, Ft as isPathInside, G as describeUnknownError$1, Gn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Gt as normalizeAnyChannelId, H as resolveProfilesUnavailableReason, Ht as CHAT_CHANNEL_ORDER, I as resolveAuthProfileOrder, In as applyMergePatch, It as safeStatSync, J as parseDotPath, Jn as getShellPathFromLoginShell, Jt as getActivePluginRegistry, K as isNonEmptyString, Kn as resolveAgentMaxConcurrent, Kt as normalizeChannelId$1, L as clearExpiredCooldowns, Ln as isSafeExecutableValue, Lt as applyTestPluginDefaults, M as resolveApiKeyForProvider, Mn as splitShellArgs, Mt as validateJsonSchemaValue, N as resolveEnvApiKey, Nn as SAFE_BIN_PROFILES, Nt as loadPluginManifestRegistry, O as buildUsageWithNoCost, On as isDispatchWrapperExecutable, Ot as isAvatarDataUrl, P as resolveModelAuthMode, Pn as normalizeSafeBinProfileFixtures, Pt as discoverSquidClawPlugins, Qn as resolveOwnerDisplaySetting, Qt as setActivePluginRegistry, R as getSoonestCooldownExpiry, Rn as mapStreamingModeToSlackLegacyDraftStreamMode, Rt as normalizePluginsConfig, S as retryAsync, Sn as splitCommandChain, T as buildAssistantMessage, Tn as resolveAllowlistCandidatePath, U as resolveApiKeyForProfile, Ut as getChatChannelMeta, V as markAuthProfileUsed, Vn as resolveSlackStreamingMode, W as resolveSecretRefValues, Wt as listChatChannels, X as loadConfig, Xn as isDangerousHostEnvVarName, Yn as resolveShellEnvFallbackTimeoutMs, Yt as getActivePluginRegistryKey, Z as readConfigFileSnapshot, Zn as isTruthyEnvValue, Zt as requireActivePluginRegistry, _n as normalizeTrustedSafeBinDirs, _r as resolveSecretInputRef, a as isCliProvider, an as matchPluginCommand, ar as withFileLock, bn as buildEnforcedShellCommand, br as DEFAULT_MODEL, c as normalizeProviderId, cn as setConfigOverride, ct as resolveIMessageAttachmentRoots, d as resolveDefaultModelForAgent, dn as parseConfigPath, dr as resolveAuthProfileDisplayLabel, dt as parseNonNegativeByteSize, en as normalizePluginHttpPath, er as listProfilesForProvider, et as writeConfigFile, f as resolveModelRefFromString, fn as setConfigValueAtPath, ft as secretRefKey, gn as listWritableExplicitTrustedSafeBinDirs, gr as normalizeResolvedSecretInputString, h as resolveThinkingDefault, hn as isTrustedSafeBinPath, hr as hasConfiguredSecretInput, i as findNormalizedProviderValue, in as listPluginCommands, ir as resolveSquidClawAgentDir, it as resolveTelegramCustomCommands, j as requireApiKey, jn as unwrapKnownShellMultiplexerInvocation, jt as isSupportedLocalAvatarExtension, k as getApiKeyForModel, kn as isShellWrapperExecutable, kt as isAvatarHttpUrl, ln as unsetConfigOverride, lr as formatCliCommand, lt as resolveIMessageRemoteAttachmentRoots, m as resolveSubagentSpawnModelSelection, mn as getTrustedSafeBinDirs, mr as coerceSecretRef, mt as parseDurationMs, n as buildConfiguredAllowlistKeys, nn as executePluginCommand, nr as ensureAuthProfileStore, nt as TELEGRAM_COMMAND_NAME_PATTERN, o as modelKey, on as getConfigOverrides, ot as isInboundPathAllowed, p as resolveReasoningDefault, pn as unsetConfigValueAtPath, pr as normalizeSecretInput, q as isRecord$2, qn as VERSION, qt as normalizeChatChannelId, r as buildModelAliasIndex, rn as getPluginCommandSpecs, rr as resolveAuthStorePathForDisplay, rt as normalizeTelegramCommandName, s as normalizeModelRef$2, sn as resetConfigOverrides, t as buildAllowedModelSet, tn as clearPluginCommands, tr as markAuthProfileGood, tt as validateConfigObjectWithPlugins, u as resolveConfiguredModelRef, un as getConfigValueAtPath, ur as resolveCliName, ut as normalizeScpRemoteHost, vn as validateSafeBinArgv, vr as splitTrailingAuthProfile, w as createOllamaStreamFn, wn as matchAllowlist, x as resolveRetryConfig, xn as isWindowsPlatform, xr as DEFAULT_PROVIDER, yn as analyzeShellCommand, yr as DEFAULT_CONTEXT_TOKENS, z as isProfileInCooldown, zn as resolveDiscordPreviewStreamMode, zt as resolveEffectiveEnableState } from "./model-selection-ag9BmVct.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
-
import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-
|
|
9
|
-
import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-
|
|
10
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
11
|
-
import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-
|
|
12
|
-
import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-
|
|
13
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
14
|
-
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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 buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, 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 addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, 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 deleteChannelDiscord, 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 fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-
|
|
8
|
+
import { c as parseBooleanValue$1, n as MANIFEST_KEY, r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import { _ as normalizeAtHashSlug, a as normalizeReasoningLevel, b as normalizeStringEntriesLower, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, g as resolveChannelGroupToolsPolicy, h as resolveChannelGroupRequireMention, i as normalizeElevatedLevel, l as resolveResponseUsageMode, m as resolveChannelGroupPolicy, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeHyphenSlug, y as normalizeStringEntries } from "./thinking-SdNGqtJE.js";
|
|
10
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DfbMVF9y.js";
|
|
11
|
+
import { _ as normalizeChatType, a as normalizeWhatsAppTarget, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, i as isWhatsAppGroupJid, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-DXkm70nK.js";
|
|
12
|
+
import { a as logWebSelfId, h as resolveAccountEntry, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, t as hasAnyWhatsAppAuth, u as readWebSelfId } from "./accounts-CkF7YwoF.js";
|
|
13
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-Co5Bqwuo.js";
|
|
14
|
+
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, 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 buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, 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 addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, 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 deleteChannelDiscord, 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 fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-DjL7KlMV.js";
|
|
15
15
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
|
|
16
|
-
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-
|
|
17
|
-
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
18
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
16
|
+
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-D-f6Wa3i.js";
|
|
17
|
+
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as isDiagnosticsEnabled, i as logMessageProcessed, l as logWebhookProcessed, m as emitDiagnosticEvent, n as logLaneDequeue, o as logSessionStateChange, p as getDiagnosticSessionState, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-ySwZga6c.js";
|
|
18
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DbloMfwT.js";
|
|
19
19
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-BiE9e9-P.js";
|
|
20
|
-
import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-
|
|
21
|
-
import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-
|
|
22
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
23
|
-
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-
|
|
24
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
25
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
26
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
27
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
28
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
29
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
30
|
-
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
31
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
20
|
+
import { A as mediaKindFromMime, C as imageMimeFromFormat, E as kindFromMime, O as MAX_IMAGE_BYTES, T as isGifMedia, _ as GATEWAY_CLIENT_IDS, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, d as isInternalMessageChannel, f as isMarkdownCapableMessageChannel, g as resolveMessageChannel, h as resolveGatewayMessageChannel, i as getImageMetadata, l as isDeliverableMessageChannel, m as normalizeMessageChannel, p as listDeliverableMessageChannels, s as resizeToJpeg, u as isGatewayMessageChannel, v as GATEWAY_CLIENT_MODES, w as isAudioFileName, x as extensionForMime, y as GATEWAY_CLIENT_NAMES } from "./image-ops-CdgypS_g.js";
|
|
21
|
+
import { $ as removeChannelAllowFromStoreEntry, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as readChannelAllowFromStore, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as addChannelAllowFromStoreEntry, _ as splitTelegramCaption, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as resolveCronStorePath, c as sendStickerTelegram, d as isRecoverableTelegramNetworkError, et as upsertChannelPairingRequest, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, it as listPairingChannels, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, n as createForumTopicTelegram, nt as writeJsonFileAtomically, o as sendMessageTelegram, p as markdownToTelegramHtml, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as getPairingAdapter, s as sendPollTelegram, t as buildInlineKeyboard, tt as readJsonFileWithFallback, u as wasSentByBot, v as withTelegramApiErrorLogging, w as buildTelegramGroupFrom, x as buildGroupLabel, y as loadCronStore, z as resolveTelegramStreamMode } from "./send-bW7jDv8D.js";
|
|
22
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DAzuqPoG.js";
|
|
23
|
+
import { $ as deliveryContextKey, $t as matchesAnyGlobPattern, A as isTransientHttpError, At as resolveGroupSessionKey, B as parseSessionThreadInfo, Bt as resolveGatewayCredentialsFromConfig, C as isCompactionFailureError, Ct as setSessionRuntimeModel, D as isLikelyContextOverflowError, Dt as resolveMainSessionKey, E as isFailoverErrorMessage, Et as resolveExplicitAgentSessionKey, F as isTimeoutErrorMessage, Ft as resolveBrowserConfig, G as readSessionUpdatedAt, Gt as collectExplicitAllowlist, Ht as resolveSandboxConfigForAgent, I as ensureSandboxWorkspaceForSession, It as resolveProfile, J as updateSessionStore, Jt as stripPluginOnlyAllowlist, K as recordSessionMetaFromInbound, Kt as expandPolicyWithPluginGroups, L as resolveSandboxContext, Lt as getBridgeAuthForPort, M as parseImageSizeError, Mt as resolveSessionLockMaxHoldFromTimeout, N as sanitizeUserFacingText, Nt as createBrowserRouteContext, O as isRateLimitAssistantError, Ot as deriveSessionMetaPatch, P as isAuthPermanentErrorMessage, Pt as registerBrowserRoutes, Q as deliveryContextFromSession, Qt as compileGlobPatterns, R as resolveSandboxRuntimeStatus, Rt as ensureBrowserControlAuth, S as isCloudCodeAssistFormatError, St as resolveFreshSessionTotalTokens, T as isFailoverAssistantError, U as resolveAndPersistSessionFile, Ut as applyOwnerOnlyToolPolicy, V as appendAssistantMessageToSessionTranscript, Vt as trimToUndefined$1, W as loadSessionStore, Wt as buildPluginToolGroups, X as isCacheEnabled, Xt as normalizeToolName, Y as updateSessionStoreEntry, Yt as expandToolGroups, Z as resolveCacheTtlMs$1, Zt as resolveToolProfilePolicy, _ as formatBillingErrorMessage, _t as resolveSessionResetPolicy, a as isMessagingToolDuplicateNormalized, an as sanitizeGoogleTurnOrdering, at as capArrayByJsonBytes, b as isAuthAssistantError, bt as DEFAULT_RESET_TRIGGERS, c as extractToolCallsFromAssistant, ct as parseInlineDirectives$1, d as downgradeOpenAIFunctionCallReasoningPairs, dt as hasInterSessionUserProvenance, en as buildBootstrapContextFiles, et as mergeDeliveryContext, f as downgradeOpenAIReasoningBlocks, ft as normalizeInputProvenance, g as formatAssistantErrorText, gt as resolveChannelResetConfig, h as classifyFailoverReason, ht as evaluateSessionFreshness, in as resolveBootstrapTotalMaxChars, it as archiveSessionTranscripts, j as parseImageDimensionError, jt as acquireSessionWriteLock, k as isRawApiErrorPayload, kt as resolveConversationLabel, l as extractToolResultId, lt as INPUT_PROVENANCE_KIND_VALUES, m as BILLING_ERROR_USER_MESSAGE, mt as resolveSessionKey, n as validateGeminiTurns, nn as resolveBootstrapMaxChars, nt as normalizeSessionDeliveryFields, o as normalizeTextForComparison, ot as countToolResults, p as isGoogleModelApi, pt as jsonUtf8Bytes, q as updateLastRoute, qt as mergeAlsoAllowPolicy, r as pickFallbackThinkingLevel, rn as resolveBootstrapPromptTruncationWarningMode, rt as normalizeAccountId$3, s as sanitizeSessionMessagesImages, st as extractToolCallNames, t as validateAnthropicTurns, tn as ensureSessionHeader, tt as normalizeDeliveryContext, u as sanitizeToolCallIdsForCloudCodeAssist, ut as applyInputProvenanceToUserMessage, v as formatRawAssistantErrorForUi, vt as resolveSessionResetType, w as isContextOverflowError, wt as canonicalizeMainSessionAlias, x as isBillingAssistantError, xt as mergeSessionEntry, y as getApiErrorPayloadFingerprint, yt as resolveThreadFlag, z as extractDeliveryInfo, zt as resolveBrowserControlAuth } from "./pi-embedded-helpers-Bse_QhEf.js";
|
|
24
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-CjxCwFA9.js";
|
|
25
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CTV78w4q.js";
|
|
26
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DORgbZ1w.js";
|
|
27
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DvzicBMu.js";
|
|
28
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-kkRuS2Cs.js";
|
|
29
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BoB4X3GD.js";
|
|
30
|
+
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-D75CWSOo.js";
|
|
31
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-B89Hj8Ub.js";
|
|
32
32
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-D7-rxoSr.js";
|
|
33
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
34
|
-
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
33
|
+
import { t as resolveIMessageAccount } from "./accounts-CK_sHUyT.js";
|
|
34
|
+
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DSd911Oe.js";
|
|
35
35
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
36
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
37
|
-
import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureSquidClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-
|
|
38
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, 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 findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
39
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-
|
|
36
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-8BKrL7Bn.js";
|
|
37
|
+
import { C as minimaxUnderstandImage, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as ensureSquidClawModelsJson, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-C-C7hQ26.js";
|
|
38
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, 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 findModelInCatalog, y as loadModelCatalog } from "./audio-transcription-runner-BnbdYMDl.js";
|
|
39
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-BLS7EMnx.js";
|
|
40
40
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Wgx3OXYj.js";
|
|
41
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
42
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
43
|
-
import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-
|
|
44
|
-
import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-
|
|
45
|
-
import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
46
|
-
import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
41
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-D0fXNJls.js";
|
|
42
|
+
import { t as makeProxyFetch } from "./proxy-fetch-lH6RsRTE.js";
|
|
43
|
+
import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-BvisJWXv.js";
|
|
44
|
+
import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-CweAa7L9.js";
|
|
45
|
+
import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-D6ZOTo1C.js";
|
|
46
|
+
import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-Bi_jchJn.js";
|
|
47
47
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-tZXOZ9FV.js";
|
|
48
48
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CmCpeg5n.js";
|
|
49
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
49
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-C5kTj83_.js";
|
|
50
50
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BFUunM8u.js";
|
|
51
51
|
import { n as normalizePollInput } from "./polls-CYTwXmA1.js";
|
|
52
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
53
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
54
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
55
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
56
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
57
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
52
|
+
import { t as convertMarkdownTables } from "./tables-DGHzaXQz.js";
|
|
53
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-C98RfcAb.js";
|
|
54
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-Do7hKDL9.js";
|
|
55
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-AepfNSUY.js";
|
|
56
|
+
import { n as resolveMemorySearchConfig } from "./manager-DdxMYEDd.js";
|
|
57
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-Dzxt6kXo.js";
|
|
58
58
|
import { createRequire } from "node:module";
|
|
59
59
|
import * as fs$1 from "node:fs/promises";
|
|
60
60
|
import fs, { appendFile, mkdir } from "node:fs/promises";
|
|
@@ -62,7 +62,7 @@ import os, { homedir } from "node:os";
|
|
|
62
62
|
import * as path$1 from "node:path";
|
|
63
63
|
import path, { isAbsolute } from "node:path";
|
|
64
64
|
import syncFs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
65
|
-
import
|
|
65
|
+
import JSON5 from "json5";
|
|
66
66
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
67
67
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
68
68
|
import { fileURLToPath } from "node:url";
|
|
@@ -72,7 +72,7 @@ import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, Setting
|
|
|
72
72
|
import { EdgeTTS } from "node-edge-tts";
|
|
73
73
|
import { createServer } from "node:http";
|
|
74
74
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
75
|
-
import WebSocket, { WebSocket
|
|
75
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
76
76
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
77
77
|
import { createJiti } from "jiti";
|
|
78
78
|
import AjvPkg from "ajv";
|
|
@@ -8233,7 +8233,7 @@ var GatewayClient = class {
|
|
|
8233
8233
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8234
8234
|
});
|
|
8235
8235
|
}
|
|
8236
|
-
this.ws = new WebSocket
|
|
8236
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8237
8237
|
this.ws.on("open", () => {
|
|
8238
8238
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8239
8239
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8429,7 +8429,7 @@ var GatewayClient = class {
|
|
|
8429
8429
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8430
8430
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8431
8431
|
this.connectTimer = setTimeout(() => {
|
|
8432
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
8432
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8433
8433
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8434
8434
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8435
8435
|
}, connectChallengeTimeoutMs);
|
|
@@ -8471,7 +8471,7 @@ var GatewayClient = class {
|
|
|
8471
8471
|
return null;
|
|
8472
8472
|
}
|
|
8473
8473
|
async request(method, params, opts) {
|
|
8474
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8474
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8475
8475
|
const id = randomUUID();
|
|
8476
8476
|
const frame = {
|
|
8477
8477
|
type: "req",
|
|
@@ -9893,7 +9893,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
9893
9893
|
*/
|
|
9894
9894
|
let deliverRuntimePromise$2 = null;
|
|
9895
9895
|
function loadDeliverRuntime$2() {
|
|
9896
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
9896
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-_egya0QZ.js");
|
|
9897
9897
|
return deliverRuntimePromise$2;
|
|
9898
9898
|
}
|
|
9899
9899
|
/**
|
|
@@ -10582,7 +10582,7 @@ function normalizeSessionKey(value) {
|
|
|
10582
10582
|
function readSessionStore(storePath) {
|
|
10583
10583
|
try {
|
|
10584
10584
|
const raw = syncFs.readFileSync(storePath, "utf-8");
|
|
10585
|
-
const parsed =
|
|
10585
|
+
const parsed = JSON5.parse(raw);
|
|
10586
10586
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
10587
10587
|
} catch {}
|
|
10588
10588
|
return {};
|
|
@@ -11181,7 +11181,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11181
11181
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11182
11182
|
let subagentRegistryRuntimePromise = null;
|
|
11183
11183
|
function loadSubagentRegistryRuntime() {
|
|
11184
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11184
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-COygB9b1.js");
|
|
11185
11185
|
return subagentRegistryRuntimePromise;
|
|
11186
11186
|
}
|
|
11187
11187
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -14535,7 +14535,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
14535
14535
|
//#region src/media-understanding/echo-transcript.ts
|
|
14536
14536
|
let deliverRuntimePromise$1 = null;
|
|
14537
14537
|
function loadDeliverRuntime$1() {
|
|
14538
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
14538
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-_egya0QZ.js");
|
|
14539
14539
|
return deliverRuntimePromise$1;
|
|
14540
14540
|
}
|
|
14541
14541
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -22298,7 +22298,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
22298
22298
|
await ensureSquidClawModelsJson(cfg);
|
|
22299
22299
|
} catch {}
|
|
22300
22300
|
try {
|
|
22301
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
22301
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DAzuqPoG.js").then((n) => n.r);
|
|
22302
22302
|
const agentDir = resolveSquidClawAgentDir();
|
|
22303
22303
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
22304
22304
|
applyDiscoveredContextWindows({
|
|
@@ -31399,7 +31399,7 @@ async function createModelSelectionState(params) {
|
|
|
31399
31399
|
}
|
|
31400
31400
|
}
|
|
31401
31401
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
31402
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
31402
|
+
const { ensureAuthProfileStore } = await import("./model-selection-ag9BmVct.js").then((n) => n.F);
|
|
31403
31403
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
31404
31404
|
const providerKey = normalizeProviderId(provider);
|
|
31405
31405
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -51535,7 +51535,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
51535
51535
|
const log$10 = createSubsystemLogger("session-maintenance-warning");
|
|
51536
51536
|
let deliverRuntimePromise = null;
|
|
51537
51537
|
function loadDeliverRuntime() {
|
|
51538
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
51538
|
+
deliverRuntimePromise ??= import("./deliver-runtime-_egya0QZ.js");
|
|
51539
51539
|
return deliverRuntimePromise;
|
|
51540
51540
|
}
|
|
51541
51541
|
function shouldSendWarning() {
|
|
@@ -56512,7 +56512,7 @@ const VISION_PROVIDERS = [
|
|
|
56512
56512
|
];
|
|
56513
56513
|
let imageRuntimePromise = null;
|
|
56514
56514
|
function loadImageRuntime() {
|
|
56515
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
56515
|
+
imageRuntimePromise ??= import("./image-runtime-D7n4dID4.js");
|
|
56516
56516
|
return imageRuntimePromise;
|
|
56517
56517
|
}
|
|
56518
56518
|
/**
|
|
@@ -58573,7 +58573,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
58573
58573
|
hasTypedText
|
|
58574
58574
|
};
|
|
58575
58575
|
try {
|
|
58576
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
58576
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BKgdc7dS.js");
|
|
58577
58577
|
if (params.abortSignal?.aborted) return {
|
|
58578
58578
|
hasAudioAttachment,
|
|
58579
58579
|
hasTypedText
|
|
@@ -65967,27 +65967,27 @@ let slackSenderRuntimePromise = null;
|
|
|
65967
65967
|
let signalSenderRuntimePromise = null;
|
|
65968
65968
|
let imessageSenderRuntimePromise = null;
|
|
65969
65969
|
function loadWhatsAppSenderRuntime() {
|
|
65970
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
65970
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-CiG6xd2e.js");
|
|
65971
65971
|
return whatsappSenderRuntimePromise;
|
|
65972
65972
|
}
|
|
65973
65973
|
function loadTelegramSenderRuntime() {
|
|
65974
|
-
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-
|
|
65974
|
+
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-YvauJtgv.js");
|
|
65975
65975
|
return telegramSenderRuntimePromise;
|
|
65976
65976
|
}
|
|
65977
65977
|
function loadDiscordSenderRuntime() {
|
|
65978
|
-
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-
|
|
65978
|
+
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-BRE0s2nz.js");
|
|
65979
65979
|
return discordSenderRuntimePromise;
|
|
65980
65980
|
}
|
|
65981
65981
|
function loadSlackSenderRuntime() {
|
|
65982
|
-
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-
|
|
65982
|
+
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-BWXOnOxS.js");
|
|
65983
65983
|
return slackSenderRuntimePromise;
|
|
65984
65984
|
}
|
|
65985
65985
|
function loadSignalSenderRuntime() {
|
|
65986
|
-
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-
|
|
65986
|
+
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-B4h6X3o4.js");
|
|
65987
65987
|
return signalSenderRuntimePromise;
|
|
65988
65988
|
}
|
|
65989
65989
|
function loadIMessageSenderRuntime() {
|
|
65990
|
-
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-
|
|
65990
|
+
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-DbIRBnmD.js");
|
|
65991
65991
|
return imessageSenderRuntimePromise;
|
|
65992
65992
|
}
|
|
65993
65993
|
function createDefaultDeps() {
|
|
@@ -69677,7 +69677,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
69677
69677
|
return super.registerClient(client);
|
|
69678
69678
|
}
|
|
69679
69679
|
createWebSocket(url) {
|
|
69680
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
69680
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
69681
69681
|
}
|
|
69682
69682
|
}
|
|
69683
69683
|
return new ProxyGatewayPlugin();
|
|
@@ -78824,15 +78824,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
78824
78824
|
let slashDispatchRuntimePromise = null;
|
|
78825
78825
|
let slashSkillCommandsRuntimePromise = null;
|
|
78826
78826
|
function loadSlashCommandsRuntime() {
|
|
78827
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
78827
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-63MUmCBt.js");
|
|
78828
78828
|
return slashCommandsRuntimePromise;
|
|
78829
78829
|
}
|
|
78830
78830
|
function loadSlashDispatchRuntime() {
|
|
78831
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime
|
|
78831
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DuJRl-LD.js");
|
|
78832
78832
|
return slashDispatchRuntimePromise;
|
|
78833
78833
|
}
|
|
78834
78834
|
function loadSlashSkillCommandsRuntime() {
|
|
78835
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
78835
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-B3MSSAQ-.js");
|
|
78836
78836
|
return slashSkillCommandsRuntimePromise;
|
|
78837
78837
|
}
|
|
78838
78838
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -79822,7 +79822,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
79822
79822
|
}
|
|
79823
79823
|
let auditMembershipRuntimePromise = null;
|
|
79824
79824
|
function loadAuditMembershipRuntime() {
|
|
79825
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
79825
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-DyLj-uhz.js");
|
|
79826
79826
|
return auditMembershipRuntimePromise;
|
|
79827
79827
|
}
|
|
79828
79828
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -82197,7 +82197,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
82197
82197
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
82198
82198
|
let preflightTranscript;
|
|
82199
82199
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
82200
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
82200
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BKgdc7dS.js");
|
|
82201
82201
|
preflightTranscript = await transcribeFirstAudio({
|
|
82202
82202
|
ctx: {
|
|
82203
82203
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -85036,7 +85036,7 @@ function createWhatsAppLoginTool() {
|
|
|
85036
85036
|
force: Type.Optional(Type.Boolean())
|
|
85037
85037
|
}),
|
|
85038
85038
|
execute: async (_toolCallId, args) => {
|
|
85039
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
85039
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-B2B67qqQ.js");
|
|
85040
85040
|
if ((args?.action ?? "start") === "wait") {
|
|
85041
85041
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
85042
85042
|
return {
|
|
@@ -85111,23 +85111,23 @@ let webOutboundPromise = null;
|
|
|
85111
85111
|
let webLoginPromise = null;
|
|
85112
85112
|
let whatsappActionsPromise = null;
|
|
85113
85113
|
function loadWebOutbound() {
|
|
85114
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
85114
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-Blywd_bv.js");
|
|
85115
85115
|
return webOutboundPromise;
|
|
85116
85116
|
}
|
|
85117
85117
|
function loadWebLogin() {
|
|
85118
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
85118
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-DSR-m0FW.js");
|
|
85119
85119
|
return webLoginPromise;
|
|
85120
85120
|
}
|
|
85121
85121
|
function loadWebLoginQr() {
|
|
85122
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
85122
|
+
webLoginQrPromise ??= import("./login-qr-B2B67qqQ.js");
|
|
85123
85123
|
return webLoginQrPromise;
|
|
85124
85124
|
}
|
|
85125
85125
|
function loadWebChannel() {
|
|
85126
|
-
webChannelPromise ??= import("./web-
|
|
85126
|
+
webChannelPromise ??= import("./web-DyCuTR9b.js");
|
|
85127
85127
|
return webChannelPromise;
|
|
85128
85128
|
}
|
|
85129
85129
|
function loadWhatsAppActions() {
|
|
85130
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
85130
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BDkbnZVH.js");
|
|
85131
85131
|
return whatsappActionsPromise;
|
|
85132
85132
|
}
|
|
85133
85133
|
function createRuntimeWhatsApp() {
|
|
@@ -85568,7 +85568,7 @@ const log$6 = createSubsystemLogger("memory");
|
|
|
85568
85568
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
85569
85569
|
let managerRuntimePromise = null;
|
|
85570
85570
|
function loadManagerRuntime() {
|
|
85571
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
85571
|
+
managerRuntimePromise ??= import("./manager-runtime-BMygJEz3.js");
|
|
85572
85572
|
return managerRuntimePromise;
|
|
85573
85573
|
}
|
|
85574
85574
|
async function getMemorySearchManager(params) {
|
|
@@ -85582,7 +85582,7 @@ async function getMemorySearchManager(params) {
|
|
|
85582
85582
|
if (cached) return { manager: cached };
|
|
85583
85583
|
}
|
|
85584
85584
|
try {
|
|
85585
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
85585
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BN0siR2Z.js");
|
|
85586
85586
|
const primary = await QmdMemoryManager.create({
|
|
85587
85587
|
cfg: params.cfg,
|
|
85588
85588
|
agentId: params.agentId,
|
|
@@ -88108,7 +88108,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
88108
88108
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
88109
88109
|
let beforeToolCallRuntimePromise = null;
|
|
88110
88110
|
function loadBeforeToolCallRuntime() {
|
|
88111
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
88111
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-2Sp1jmlg.js");
|
|
88112
88112
|
return beforeToolCallRuntimePromise;
|
|
88113
88113
|
}
|
|
88114
88114
|
function buildAdjustedParamsKey(params) {
|
|
@@ -93386,7 +93386,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
93386
93386
|
* Throws if the connection is not open.
|
|
93387
93387
|
*/
|
|
93388
93388
|
send(event) {
|
|
93389
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
93389
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
93390
93390
|
this.ws.send(JSON.stringify(event));
|
|
93391
93391
|
}
|
|
93392
93392
|
/**
|
|
@@ -93403,7 +93403,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
93403
93403
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
93404
93404
|
*/
|
|
93405
93405
|
isConnected() {
|
|
93406
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
93406
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
93407
93407
|
}
|
|
93408
93408
|
/**
|
|
93409
93409
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -93413,7 +93413,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
93413
93413
|
this._cancelRetryTimer();
|
|
93414
93414
|
if (this.ws) {
|
|
93415
93415
|
this.ws.removeAllListeners();
|
|
93416
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
93416
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
93417
93417
|
this.ws = null;
|
|
93418
93418
|
}
|
|
93419
93419
|
}
|
|
@@ -93423,7 +93423,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
93423
93423
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
93424
93424
|
return;
|
|
93425
93425
|
}
|
|
93426
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
93426
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
93427
93427
|
Authorization: `Bearer ${this.apiKey}`,
|
|
93428
93428
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
93429
93429
|
} });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Bw5n50gj.js";
|
|
2
2
|
import { T as truncateUtf16Safe } from "./utils-D6vohX1h.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
4
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-WsTfTuEp.js";
|
|
4
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-D6mmxuWS.js";
|
|
5
5
|
import { s as normalizeThinkLevel } from "./thinking-CrcT589P.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -108,10 +108,10 @@ function clampToBudget(content, budget) {
|
|
|
108
108
|
async function ensureSessionHeader(params) {
|
|
109
109
|
const file = params.sessionFile;
|
|
110
110
|
try {
|
|
111
|
-
await
|
|
111
|
+
await fsPromises.stat(file);
|
|
112
112
|
return;
|
|
113
113
|
} catch {}
|
|
114
|
-
await
|
|
114
|
+
await fsPromises.mkdir(path.dirname(file), { recursive: true });
|
|
115
115
|
const entry = {
|
|
116
116
|
type: "session",
|
|
117
117
|
version: 2,
|
|
@@ -119,7 +119,7 @@ async function ensureSessionHeader(params) {
|
|
|
119
119
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
120
120
|
cwd: params.cwd
|
|
121
121
|
};
|
|
122
|
-
await
|
|
122
|
+
await fsPromises.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
123
123
|
}
|
|
124
124
|
function buildBootstrapContextFiles(files, opts) {
|
|
125
125
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|