squidclaw 3.0.33 → 3.0.34
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-BFS_qklA.js → accounts-CB2Or0mr.js} +2 -2
- package/dist/{accounts-DfrJiFJJ.js → accounts-Cop2dSRo.js} +2 -2
- package/dist/{accounts-pMDX8iho.js → accounts-CqITV0Ga.js} +4 -4
- package/dist/{acp-cli-BeT7oXUu.js → acp-cli-Cgh0knV4.js} +2 -2
- package/dist/{active-listener-CH2vJ3EZ.js → active-listener-B6G6kmsb.js} +2 -2
- package/dist/{agents.config-Cav8LwTL.js → agents.config-DOZdl-eO.js} +1 -1
- package/dist/{api-key-rotation-DCBXT0v7.js → api-key-rotation-Da2qYrP7.js} +2 -2
- package/dist/{audio-preflight-WUW8KeL4.js → audio-preflight-CB33NBGY.js} +6 -6
- package/dist/{audio-preflight-Ckq8A2xS.js → audio-preflight-CXP7KNn_.js} +4 -4
- package/dist/{audio-preflight-B5XvcdFX.js → audio-preflight-yiMsGLW7.js} +30 -30
- package/dist/{audio-transcription-runner-Bd34S1mx.js → audio-transcription-runner-BOxTuqbS.js} +1 -1
- package/dist/{audio-transcription-runner-BkEXZq6_.js → audio-transcription-runner-CCZC5tJf.js} +1 -1
- package/dist/{audio-transcription-runner-DUC0ItDY.js → audio-transcription-runner-Mha07yP4.js} +12 -12
- package/dist/{audit-CL1tJbCc.js → audit-BhpEYysK.js} +6 -6
- package/dist/{audit-membership-runtime-czdecfjJ.js → audit-membership-runtime-By9-qSwl.js} +3 -3
- package/dist/{auth-choice-CbIT_f15.js → auth-choice-CW-WPa0J.js} +2 -2
- package/dist/{browser-cli-Bjw4bzsY.js → browser-cli-BsOTPzD6.js} +3 -3
- 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/HOOK.md +2 -1
- package/dist/bundled/session-memory/handler.js +142 -55
- package/dist/{call-BZMmsZnA.js → call-CsRvPUMG.js} +1 -1
- package/dist/{channel-activity-7QMEKenc.js → channel-activity-Du1kh0t3.js} +3 -3
- package/dist/{channel-options-ByYVebwk.js → channel-options-DiLSWw11.js} +1 -1
- package/dist/{channel-web-DRCZstY9.js → channel-web-B9qThdZn.js} +3 -3
- package/dist/{channels-cli-fZ8vLR-3.js → channels-cli-DPzzCs8D.js} +21 -21
- package/dist/{chrome-B3h5980A.js → chrome-AmH-OPlL.js} +8 -8
- package/dist/{chrome-BTwG9Gvh.js → chrome-C2CliEWR.js} +15 -15
- package/dist/{chrome-uzcvgAW9.js → chrome-DLZaNSqV.js} +8 -8
- package/dist/{clawbot-cli-Aal6iAhy.js → clawbot-cli-Y6f5RzmX.js} +4 -4
- package/dist/{cli-DDzqaV2x.js → cli-Cegwo5rc.js} +16 -16
- package/dist/{client-gy8bx9Xy.js → client-DYXM5N_N.js} +4 -4
- package/dist/{command-secret-targets-QzzK0cvw.js → command-secret-targets-4lxt7RD_.js} +2 -2
- package/dist/{commands-registry-BIi1tG__.js → commands-registry-6jWzz0mk.js} +4 -4
- package/dist/{completion-cli-cvF7VIAg.js → completion-cli-BLY0f3DS.js} +1 -1
- package/dist/{config-cli-BeARZFf8.js → config-cli-B7X83S8T.js} +1 -1
- package/dist/{configure-D3v5-GDg.js → configure-Hiahxtwa.js} +6 -6
- package/dist/{cron-cli-DjN_8kik.js → cron-cli-DIoOoMCm.js} +3 -3
- package/dist/{daemon-cli-D-GtS9tA.js → daemon-cli-DyGOGB4b.js} +2 -2
- package/dist/{deliver-KuyvhwaK.js → deliver-Baa4v4N-.js} +1 -1
- package/dist/{deliver-e7dtX7aI.js → deliver-DGXG0w_w.js} +1 -1
- package/dist/{deliver-DZCNXFM8.js → deliver-Ddw3EsOV.js} +11 -11
- package/dist/deliver-runtime-CF9aNwHW.js +36 -0
- package/dist/{deliver-runtime-CJeRn4Mi.js → deliver-runtime-Cld2SPeU.js} +5 -5
- package/dist/{deliver-runtime-DPjMYovi.js → deliver-runtime-Do2EXjHh.js} +3 -3
- package/dist/deps-send-discord.runtime-BdlL7AnG.js +26 -0
- package/dist/deps-send-imessage.runtime-BQx5JSa_.js +25 -0
- package/dist/deps-send-signal.runtime-dgrmoRN9.js +24 -0
- package/dist/deps-send-slack.runtime-CCOjVEQr.js +22 -0
- package/dist/deps-send-telegram.runtime-BgwTF5zt.js +27 -0
- package/dist/deps-send-whatsapp.runtime-C_zE7G9V.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-B155kzJI.js → deps-send-whatsapp.runtime-DhuS0SeA.js} +7 -7
- package/dist/{deps-send-whatsapp.runtime-cpKOCWZ7.js → deps-send-whatsapp.runtime-Di849gV3.js} +18 -18
- package/dist/{devices-cli-CxBvKU-k.js → devices-cli-DJ5t9Awn.js} +2 -2
- package/dist/{diagnostic-4Dbmo6KU.js → diagnostic-B74jJPqv.js} +2 -2
- package/dist/{doctor-completion-BIsKBzEq.js → doctor-completion-kjDYgxZk.js} +1 -1
- package/dist/{errors-Dih7OXdL.js → errors-CCLnP2Fs.js} +1 -1
- package/dist/{exec-approvals-cli-BWJVqTGx.js → exec-approvals-cli-qbq31pxo.js} +4 -4
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-COEkF6YP.js → fetch-OMudX6HR.js} +4 -4
- package/dist/{fetch-guard-CcP28UT1.js → fetch-guard-DBZ7o2IA.js} +2 -2
- package/dist/{frontmatter-LLGh43CC.js → frontmatter-vSrur-r-.js} +3 -3
- package/dist/{fs-safe-NHJJ1b9f.js → fs-safe-Dy2_iDiY.js} +3 -3
- package/dist/{gateway-cli-D6hF-7r8.js → gateway-cli-lvhI_G2p.js} +28 -28
- package/dist/{gateway-rpc-CMY4PORW.js → gateway-rpc-DXJlCFNJ.js} +1 -1
- package/dist/{health-B6rkscPh.js → health-TD-34Yp-.js} +3 -3
- package/dist/{hooks-cli-CsLbZW55.js → hooks-cli-C6DWUB-U.js} +17 -17
- package/dist/{image-Dkl58_nM.js → image-Ccz6ndn7.js} +1 -1
- package/dist/{image-COAbpp2B.js → image-CdfqhHaX.js} +6 -6
- package/dist/{image-CBBib8Ld.js → image-DI75geX3.js} +1 -1
- package/dist/{image-ops-QLLBkxzG.js → image-ops-BQmWYj-1.js} +2 -2
- package/dist/image-runtime-BFxy3jl0.js +29 -0
- package/dist/{image-runtime-BinILRte.js → image-runtime-BWARi-r4.js} +3 -3
- package/dist/{image-runtime-2ePySomG.js → image-runtime-Obmeae9a.js} +5 -5
- package/dist/index.js +21 -21
- package/dist/{ir-RKRKj5a9.js → ir-DEPhOdwg.js} +8 -8
- package/dist/{legacy-names-CR_H5NWa.js → legacy-names-CDxprteD.js} +1 -1
- package/dist/llm-slug-generator.js +49 -49
- package/dist/{logger-D20iS3B-.js → logger-onBePS9K.js} +1 -1
- package/dist/{login-C1_lumKW.js → login-BPzRFY6S.js} +5 -5
- package/dist/{login-qr-D0Gij2UC.js → login-qr-BZbSxC-5.js} +8 -8
- package/dist/{logs-cli-Dv4wWIJZ.js → logs-cli-C4B9RucB.js} +3 -3
- package/dist/{manager-B_QaG_-L.js → manager-D3ROcs7_.js} +9 -9
- package/dist/manager-runtime-Dup90ARI.js +18 -0
- package/dist/{memory-cli-CgsaxpRr.js → memory-cli-C7wo32BJ.js} +1 -1
- package/dist/{model-selection-Bjj4oU16.js → model-selection-Bh4BR1_K.js} +10 -10
- package/dist/{models-cli-Cs6QUPHJ.js → models-cli-CGWYDv56.js} +17 -17
- package/dist/{node-cli-QeGnYeqt.js → node-cli-DhcjrGhX.js} +5 -5
- package/dist/{node-command-policy-CzqB-8ah.js → node-command-policy-CPjB6YQt.js} +1 -1
- package/dist/{nodes-cli-u94LkIig.js → nodes-cli-CmE8JKKq.js} +3 -3
- package/dist/{npm-resolution-DptUU3y3.js → npm-resolution-Bwt62vuA.js} +1 -1
- package/dist/{onboard-CJX_C5lq.js → onboard-BP7rTtCO.js} +3 -3
- package/dist/{onboard-channels-CA3x3tGg.js → onboard-channels-D2p7QNyT.js} +2 -2
- package/dist/{onboard-helpers-DZtoPn8i.js → onboard-helpers-JS-Lbczt.js} +1 -1
- package/dist/{onboard-remote-BvW9CIHn.js → onboard-remote-Bf-wwh2S.js} +1 -1
- package/dist/{onboard-skills-D19L2KkN.js → onboard-skills-CUip0jpN.js} +1 -1
- package/dist/{onboarding-CvKwUVhN.js → onboarding-LbGi6oDz.js} +7 -7
- package/dist/{onboarding.finalize-CxclFJxn.js → onboarding.finalize-CWcaxeIO.js} +21 -21
- package/dist/{onboarding.gateway-config-DvYcbETj.js → onboarding.gateway-config-BfJ7jZ3-.js} +4 -4
- package/dist/{outbound-ChkqJkiM.js → outbound-BApjXYwN.js} +6 -6
- package/dist/{outbound-attachment-CRXa01xP.js → outbound-attachment-1Yd0-JW2.js} +2 -2
- package/dist/{path-alias-guards-DgNuZPBA.js → path-alias-guards-B63g_1Gb.js} +1 -1
- package/dist/{paths-7EEBmI5a.js → paths-BJWEyNJy.js} +1 -1
- package/dist/{pi-embedded-BULXCFPg.js → pi-embedded-BPU69pec.js} +70 -70
- package/dist/{pi-embedded-CLTN3qXD.js → pi-embedded-Cajbf_ri.js} +131 -131
- package/dist/{pi-embedded-helpers-CuiXHzQ1.js → pi-embedded-helpers-DBZo6ghW.js} +1 -1
- package/dist/{pi-embedded-helpers-CQJfmPVp.js → pi-embedded-helpers-u_th5KKV.js} +3 -3
- package/dist/{pi-embedded-helpers-1Z1aUoto.js → pi-embedded-helpers-xpgo_nwz.js} +19 -19
- package/dist/{pi-model-discovery-DSuyTtRM.js → pi-model-discovery-BbCPyLm5.js} +1 -1
- package/dist/pi-model-discovery-runtime-BeF5ldX8.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-BCq4EKHD.js → pi-tools.before-tool-call.runtime-s89v8h6G.js} +7 -7
- package/dist/{pi-tools.policy-FpqAOqvu.js → pi-tools.policy-BYTs7z53.js} +1 -1
- package/dist/{plugin-registry-Cpf1qgAz.js → plugin-registry-FXXByNP3.js} +1 -1
- package/dist/plugin-sdk/accounts-BXFDqY90.js +288 -0
- package/dist/plugin-sdk/accounts-DU7Js54-.js +46 -0
- package/dist/plugin-sdk/accounts-DxiB_4z4.js +35 -0
- package/dist/plugin-sdk/active-listener-DRKcesNb.js +50 -0
- package/dist/plugin-sdk/api-key-rotation-k1ZNheUH.js +181 -0
- package/dist/plugin-sdk/audio-preflight-Be1sKsob.js +69 -0
- package/dist/plugin-sdk/audio-transcription-runner-jhHyCc_7.js +2176 -0
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +58 -0
- package/dist/plugin-sdk/channel-activity-Bq1Y9RiB.js +94 -0
- package/dist/plugin-sdk/channel-web-AsdjtnvN.js +2256 -0
- package/dist/plugin-sdk/chrome-DOnBMnlx.js +2415 -0
- package/dist/plugin-sdk/commands-registry-D0py59pz.js +1125 -0
- package/dist/plugin-sdk/config-B16xKqSo.js +17912 -0
- package/dist/plugin-sdk/deliver-BqXXtIuw.js +1694 -0
- package/dist/plugin-sdk/deliver-runtime-D0xZkt8n.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-BM6ppx2Q.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-3w5PhXGu.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-yH9cQl3_.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-Bh4gw-L5.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-C_CtsWgt.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BF4vx9Ho.js +57 -0
- package/dist/plugin-sdk/diagnostic-DUbajFSl.js +319 -0
- package/dist/plugin-sdk/errors-B8oJXuCF.js +54 -0
- package/dist/plugin-sdk/fetch-guard-Cgyq6Jv9.js +156 -0
- package/dist/plugin-sdk/fs-safe-BW1ypSDS.js +352 -0
- package/dist/plugin-sdk/image-BPXnvxYL.js +2310 -0
- package/dist/plugin-sdk/image-ops-BBY2fn9x.js +584 -0
- package/dist/plugin-sdk/image-runtime-S-TzaJpg.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/ir-BJsqyZfm.js +1296 -0
- package/dist/plugin-sdk/local-roots-C1ETRlaC.js +186 -0
- package/dist/plugin-sdk/logger-DDdrdbDu.js +1163 -0
- package/dist/plugin-sdk/login-DtS9DDnV.js +57 -0
- package/dist/plugin-sdk/login-qr-B9YeeJ37.js +320 -0
- package/dist/plugin-sdk/manager-Dn7j3n0d.js +3917 -0
- package/dist/plugin-sdk/manager-runtime-UK1-iA2B.js +15 -0
- package/dist/plugin-sdk/outbound-B8ca8vE3.js +212 -0
- package/dist/plugin-sdk/outbound-attachment-BppFIMQa.js +19 -0
- package/dist/plugin-sdk/path-alias-guards-BX-3FprC.js +43 -0
- package/dist/plugin-sdk/paths-CjFcHB_C.js +166 -0
- package/dist/plugin-sdk/pi-embedded-helpers-BeYjP1MW.js +9627 -0
- package/dist/plugin-sdk/pi-model-discovery-B_qCKuSW.js +134 -0
- package/dist/plugin-sdk/pi-model-discovery-runtime-CZNiNFlm.js +8 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-cZdrrV27.js +354 -0
- package/dist/plugin-sdk/plugins-rivB8KaQ.js +864 -0
- package/dist/{proxy-fetch-ChIxNDe3.js → plugin-sdk/proxy-fetch-ZPEvp58f.js} +1 -1
- package/dist/plugin-sdk/pw-ai-qaWZD0yx.js +1938 -0
- package/dist/plugin-sdk/qmd-manager-izn0N9V3.js +1448 -0
- package/dist/plugin-sdk/query-expansion-C1Nx0XAb.js +1011 -0
- package/dist/{redact-BSwbgwaV.js → plugin-sdk/redact-BoNEjbpF.js} +1 -1
- package/dist/plugin-sdk/reply-DNSpho0-.js +98763 -0
- package/dist/plugin-sdk/resolve-outbound-target-YiPIGXVN.js +40 -0
- package/dist/plugin-sdk/run-with-concurrency-vfuRiXdY.js +2023 -0
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BgwMJs4X.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Y7maoii7.js +19 -0
- package/dist/plugin-sdk/send-BSD6Pkrk.js +414 -0
- package/dist/plugin-sdk/send-C4KxEJe1.js +503 -0
- package/dist/plugin-sdk/send-D3XVKGvq.js +540 -0
- package/dist/plugin-sdk/send-DFrnRiWm.js +3135 -0
- package/dist/plugin-sdk/send-Dh1f5xjE.js +2587 -0
- package/dist/plugin-sdk/session-D5c0BIEo.js +169 -0
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/skill-commands-CnqkEfhS.js +342 -0
- package/dist/plugin-sdk/skills-DSbDUvmU.js +1428 -0
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/slash-commands.runtime-Dbtq7ppF.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BhAks953.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-QGNWVO9S.js +16 -0
- package/dist/plugin-sdk/ssrf-DvsjfpC2.js +202 -0
- package/dist/plugin-sdk/store-DG90hxe6.js +81 -0
- package/dist/plugin-sdk/subagent-registry-runtime-Db83OZ3_.js +52 -0
- package/dist/plugin-sdk/tables-DNlQ8oQ3.js +55 -0
- package/dist/{target-errors-BMTA5KVE.js → plugin-sdk/target-errors-BlVYPwVC.js} +2 -2
- package/dist/plugin-sdk/thinking-DT2ZR60x.js +1206 -0
- package/dist/{tokens-Cdk21tF_.js → plugin-sdk/tokens-CTIYTLWu.js} +1 -1
- package/dist/plugin-sdk/tool-images-DroS1EaM.js +274 -0
- package/dist/plugin-sdk/web-42d5VBZj.js +56 -0
- package/dist/plugin-sdk/whatsapp-actions-DR2aYq5f.js +80 -0
- package/dist/{plugins-D-K4oUXz.js → plugins-D8QbEQB8.js} +6 -6
- package/dist/{plugins-cli-DWmGTrQi.js → plugins-cli-BmfpsKs2.js} +17 -17
- package/dist/{program-context-CIEsO7ba.js → program-context-Cc5-MG37.js} +34 -34
- package/dist/{prompt-select-styled-4uvdkCmK.js → prompt-select-styled-BmJHQFIe.js} +10 -10
- package/dist/{provider-auth-helpers-Ds4co7pd.js → provider-auth-helpers-BrYxePGn.js} +1 -1
- package/dist/{proxy-env-D9oPe73i.js → proxy-env-DS2YEWWX.js} +1 -1
- package/dist/proxy-fetch-08-dhqxn.js +38 -0
- package/dist/{push-apns-wyGqUoCL.js → push-apns-BH6u2jeD.js} +1 -1
- package/dist/{pw-ai-DS32O9Ei.js → pw-ai-Bxj7Voze.js} +1 -1
- package/dist/{pw-ai-DXis1Gal.js → pw-ai-Do8UJz-Y.js} +1 -1
- package/dist/{pw-ai-4QFtj-s9.js → pw-ai-rD2G8OP-.js} +12 -12
- package/dist/{qmd-manager-CIcyVJmI.js → qmd-manager-B9vC7u4w.js} +9 -9
- package/dist/{qr-cli-DhqLEdBe.js → qr-cli-t7wb_tRQ.js} +1 -1
- package/dist/{query-expansion-BMExPdLO.js → query-expansion-o9Ib6_Rk.js} +4 -4
- package/dist/redact-rnJm_Z5E.js +319 -0
- package/dist/{register.agent-IRNp0fr-.js → register.agent-eYMqq7DM.js} +21 -21
- package/dist/{register.configure-D4ecAwAg.js → register.configure-5ZU_WG0B.js} +24 -24
- package/dist/{register.maintenance-YOZ3sMNS.js → register.maintenance-Di-_iCcy.js} +22 -22
- package/dist/{register.message-ozARKUco.js → register.message-BJEQ0tWj.js} +17 -17
- package/dist/{register.onboard-BtzGW6wy.js → register.onboard-D8V8BiRf.js} +5 -5
- package/dist/{register.setup-CaZETnfd.js → register.setup-CuD_ucSh.js} +5 -5
- package/dist/{register.status-health-sessions-qS3pe6Kw.js → register.status-health-sessions-CfcRluvS.js} +20 -20
- package/dist/{reply-d12k6JyN.js → reply-DM6COks_.js} +30 -30
- package/dist/{rpc-BnWL4MCX.js → rpc-BAWL8_DO.js} +1 -1
- package/dist/{run-with-concurrency-hJFK7PcO.js → run-with-concurrency-C3dKaL_j.js} +3 -3
- package/dist/runtime-whatsapp-login.runtime-BVm0A03Y.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-d8oRCgsW.js +22 -0
- package/dist/{sandbox-cli-CO9AcpuP.js → sandbox-cli-B_c94l3B.js} +3 -3
- package/dist/{sandbox-4_YzlsBa.js → sandbox-dnsTApLp.js} +2 -2
- package/dist/{secrets-cli-CE_fukZS.js → secrets-cli-ES-9H2pj.js} +3 -3
- package/dist/{security-cli-D-jh37Iy.js → security-cli-B5H4tjcT.js} +8 -8
- package/dist/{send-DySBiOxg.js → send-6s7HVGcN.js} +7 -7
- package/dist/{send-BMtxl7vL.js → send-BdQyKIzE.js} +5 -5
- package/dist/{send-DJcNRhf_.js → send-CAzswJK6.js} +8 -8
- package/dist/{send-CNzGOCHa.js → send-DKB7vlw3.js} +6 -6
- package/dist/{send-pUHxPU20.js → send-Q5SBsGfY.js} +14 -14
- package/dist/{server-COF4C6UQ.js → server-DWce8-ko.js} +4 -4
- package/dist/{server-context-DWRUW3Oc.js → server-context-CYPsJeRg.js} +3 -3
- package/dist/{server-lifecycle-DSRW9YyS.js → server-lifecycle-CL57-qY-.js} +2 -2
- package/dist/{server-node-events-DcI3BKLU.js → server-node-events-CM2wrNgk.js} +17 -17
- package/dist/{session-DOFapRIv.js → session-D2CiV8TN.js} +4 -4
- package/dist/{skill-commands-yvTkQtnt.js → skill-commands-CgJiKg3Q.js} +5 -5
- package/dist/{skills-BjHeDO5V.js → skills-DNyMj13y.js} +7 -7
- package/dist/slash-commands.runtime-Cvnjq5gh.js +16 -0
- package/dist/{slash-dispatch.runtime-CnIrfAgj.js → slash-dispatch.runtime-9OkfqjfK.js} +16 -16
- package/dist/{slash-dispatch.runtime-DidWtkRY.js → slash-dispatch.runtime-UHClfKIh.js} +6 -6
- package/dist/slash-dispatch.runtime-YGQtou1U.js +56 -0
- package/dist/slash-skill-commands.runtime-BbZPUdhN.js +20 -0
- package/dist/{status-Cxc7ROTK.js → status-DLXPWgfm.js} +7 -7
- package/dist/{store-C3iBzr-_.js → store-Bdm7wypS.js} +2 -2
- package/dist/{subagent-registry-runtime-Dup_yrOH.js → subagent-registry-runtime-BYDycq2m.js} +6 -6
- package/dist/{subagent-registry-runtime-DqbU91-h.js → subagent-registry-runtime-CQR_M6WF.js} +16 -16
- package/dist/subagent-registry-runtime-DoZWJdY9.js +56 -0
- package/dist/{subsystem-CWsKV5VU.js → subsystem-BJ89YjCN.js} +2 -2
- package/dist/{system-cli-B0wBc7tJ.js → system-cli-CUOkjFj4.js} +3 -3
- package/dist/{tables-Bv8tJ0qC.js → tables-MEAoO_QC.js} +1 -1
- package/dist/target-errors-qetEoXTB.js +195 -0
- package/dist/{thinking-BB_GM390.js → thinking-CaLooOu4.js} +7 -7
- package/dist/tokens-9NF8L9Uh.js +52 -0
- package/dist/{tool-images-HRwkh81U.js → tool-images-CkmNQqHm.js} +2 -2
- package/dist/{tui-BNyyikcb.js → tui-ChZP3wJ7.js} +3 -3
- package/dist/{tui-cli-DsuDwgRG.js → tui-cli-nXP__ZM8.js} +7 -7
- package/dist/{update-cli-CqGNnerP.js → update-cli-XGRmAcuW.js} +23 -23
- package/dist/{update-runner-BGYtEI5Z.js → update-runner-7klqnWFq.js} +1 -1
- package/dist/{web-BQbhCFGN.js → web-6kCngkSg.js} +17 -17
- package/dist/{web-Cp2nm6U4.js → web-CGbFuIR9.js} +6 -6
- package/dist/{web-BbpOMti_.js → web-ajuJjPrA.js} +53 -53
- package/dist/{whatsapp-actions-CuLcPfQ9.js → whatsapp-actions-DuJpyhRe.js} +19 -19
- package/dist/{with-timeout-DINiEgLx.js → with-timeout-CtjR5hW9.js} +2 -2
- package/dist/{workspace-MO4aE903.js → workspace-CkozFUzc.js} +2 -2
- package/package.json +2 -2
- package/dist/deliver-runtime-BJoBkkm_.js +0 -36
- package/dist/deps-send-discord.runtime-Dlb1pOSn.js +0 -26
- package/dist/deps-send-imessage.runtime-DmVvqFTt.js +0 -25
- package/dist/deps-send-signal.runtime-DPX_GcJK.js +0 -24
- package/dist/deps-send-slack.runtime-s7wb1ssP.js +0 -22
- package/dist/deps-send-telegram.runtime-DcIT4v5p.js +0 -27
- package/dist/deps-send-whatsapp.runtime-DfAhniLS.js +0 -60
- package/dist/image-runtime-Dkwf1-U3.js +0 -29
- package/dist/manager-runtime-DPiPNTWB.js +0 -18
- package/dist/pi-model-discovery-runtime-CRif8A8F.js +0 -11
- package/dist/runtime-whatsapp-login.runtime-DTnmQLV1.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Da-07rzo.js +0 -22
- package/dist/slash-commands.runtime-FS9JZ9BW.js +0 -16
- package/dist/slash-dispatch.runtime-BZw5XlvY.js +0 -56
- package/dist/slash-skill-commands.runtime-BZIbPU6x.js +0 -20
- package/dist/subagent-registry-runtime-Blx4zbr0.js +0 -56
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { jn as normalizeProviderId } from "./config-B16xKqSo.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-B8oJXuCF.js";
|
|
3
|
+
|
|
4
|
+
//#region src/infra/gemini-auth.ts
|
|
5
|
+
/**
|
|
6
|
+
* Shared Gemini authentication utilities.
|
|
7
|
+
*
|
|
8
|
+
* Supports both traditional API keys and OAuth JSON format.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Parse Gemini API key and return appropriate auth headers.
|
|
12
|
+
*
|
|
13
|
+
* OAuth format: `{"token": "...", "projectId": "..."}`
|
|
14
|
+
*
|
|
15
|
+
* @param apiKey - Either a traditional API key string or OAuth JSON
|
|
16
|
+
* @returns Headers object with appropriate authentication
|
|
17
|
+
*/
|
|
18
|
+
function parseGeminiAuth(apiKey) {
|
|
19
|
+
if (apiKey.startsWith("{")) try {
|
|
20
|
+
const parsed = JSON.parse(apiKey);
|
|
21
|
+
if (typeof parsed.token === "string" && parsed.token) return { headers: {
|
|
22
|
+
Authorization: `Bearer ${parsed.token}`,
|
|
23
|
+
"Content-Type": "application/json"
|
|
24
|
+
} };
|
|
25
|
+
} catch {}
|
|
26
|
+
return { headers: {
|
|
27
|
+
"x-goog-api-key": apiKey,
|
|
28
|
+
"Content-Type": "application/json"
|
|
29
|
+
} };
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/agents/live-auth-keys.ts
|
|
34
|
+
const KEY_SPLIT_RE = /[\s,;]+/g;
|
|
35
|
+
const GOOGLE_LIVE_SINGLE_KEY = "SQUIDCLAW_LIVE_GEMINI_KEY";
|
|
36
|
+
const PROVIDER_PREFIX_OVERRIDES = {
|
|
37
|
+
google: "GEMINI",
|
|
38
|
+
"google-vertex": "GEMINI"
|
|
39
|
+
};
|
|
40
|
+
const PROVIDER_API_KEY_CONFIG = {
|
|
41
|
+
anthropic: {
|
|
42
|
+
liveSingle: "SQUIDCLAW_LIVE_ANTHROPIC_KEY",
|
|
43
|
+
listVar: "SQUIDCLAW_LIVE_ANTHROPIC_KEYS",
|
|
44
|
+
primaryVar: "ANTHROPIC_API_KEY",
|
|
45
|
+
prefixedVar: "ANTHROPIC_API_KEY_"
|
|
46
|
+
},
|
|
47
|
+
google: {
|
|
48
|
+
liveSingle: GOOGLE_LIVE_SINGLE_KEY,
|
|
49
|
+
listVar: "GEMINI_API_KEYS",
|
|
50
|
+
primaryVar: "GEMINI_API_KEY",
|
|
51
|
+
prefixedVar: "GEMINI_API_KEY_"
|
|
52
|
+
},
|
|
53
|
+
"google-vertex": {
|
|
54
|
+
liveSingle: GOOGLE_LIVE_SINGLE_KEY,
|
|
55
|
+
listVar: "GEMINI_API_KEYS",
|
|
56
|
+
primaryVar: "GEMINI_API_KEY",
|
|
57
|
+
prefixedVar: "GEMINI_API_KEY_"
|
|
58
|
+
},
|
|
59
|
+
openai: {
|
|
60
|
+
liveSingle: "SQUIDCLAW_LIVE_OPENAI_KEY",
|
|
61
|
+
listVar: "OPENAI_API_KEYS",
|
|
62
|
+
primaryVar: "OPENAI_API_KEY",
|
|
63
|
+
prefixedVar: "OPENAI_API_KEY_"
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
function parseKeyList(raw) {
|
|
67
|
+
if (!raw) return [];
|
|
68
|
+
return raw.split(KEY_SPLIT_RE).map((value) => value.trim()).filter(Boolean);
|
|
69
|
+
}
|
|
70
|
+
function collectEnvPrefixedKeys(prefix) {
|
|
71
|
+
const keys = [];
|
|
72
|
+
for (const [name, value] of Object.entries(process.env)) {
|
|
73
|
+
if (!name.startsWith(prefix)) continue;
|
|
74
|
+
const trimmed = value?.trim();
|
|
75
|
+
if (!trimmed) continue;
|
|
76
|
+
keys.push(trimmed);
|
|
77
|
+
}
|
|
78
|
+
return keys;
|
|
79
|
+
}
|
|
80
|
+
function resolveProviderApiKeyConfig(provider) {
|
|
81
|
+
const normalized = normalizeProviderId(provider);
|
|
82
|
+
const custom = PROVIDER_API_KEY_CONFIG[normalized];
|
|
83
|
+
const base = PROVIDER_PREFIX_OVERRIDES[normalized] ?? normalized.toUpperCase().replace(/-/g, "_");
|
|
84
|
+
const liveSingle = custom?.liveSingle ?? `SQUIDCLAW_LIVE_${base}_KEY`;
|
|
85
|
+
const listVar = custom?.listVar ?? `${base}_API_KEYS`;
|
|
86
|
+
const primaryVar = custom?.primaryVar ?? `${base}_API_KEY`;
|
|
87
|
+
const prefixedVar = custom?.prefixedVar ?? `${base}_API_KEY_`;
|
|
88
|
+
if (normalized === "google" || normalized === "google-vertex") return {
|
|
89
|
+
liveSingle,
|
|
90
|
+
listVar,
|
|
91
|
+
primaryVar,
|
|
92
|
+
prefixedVar,
|
|
93
|
+
fallbackVars: ["GOOGLE_API_KEY"]
|
|
94
|
+
};
|
|
95
|
+
return {
|
|
96
|
+
liveSingle,
|
|
97
|
+
listVar,
|
|
98
|
+
primaryVar,
|
|
99
|
+
prefixedVar,
|
|
100
|
+
fallbackVars: []
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function collectProviderApiKeys(provider) {
|
|
104
|
+
const config = resolveProviderApiKeyConfig(provider);
|
|
105
|
+
const forcedSingle = config.liveSingle ? process.env[config.liveSingle]?.trim() : void 0;
|
|
106
|
+
if (forcedSingle) return [forcedSingle];
|
|
107
|
+
const fromList = parseKeyList(config.listVar ? process.env[config.listVar] : void 0);
|
|
108
|
+
const primary = config.primaryVar ? process.env[config.primaryVar]?.trim() : void 0;
|
|
109
|
+
const fromPrefixed = config.prefixedVar ? collectEnvPrefixedKeys(config.prefixedVar) : [];
|
|
110
|
+
const fallback = config.fallbackVars.map((envVar) => process.env[envVar]?.trim()).filter(Boolean);
|
|
111
|
+
const seen = /* @__PURE__ */ new Set();
|
|
112
|
+
const add = (value) => {
|
|
113
|
+
if (!value) return;
|
|
114
|
+
if (seen.has(value)) return;
|
|
115
|
+
seen.add(value);
|
|
116
|
+
};
|
|
117
|
+
for (const value of fromList) add(value);
|
|
118
|
+
add(primary);
|
|
119
|
+
for (const value of fromPrefixed) add(value);
|
|
120
|
+
for (const value of fallback) add(value);
|
|
121
|
+
return Array.from(seen);
|
|
122
|
+
}
|
|
123
|
+
function isApiKeyRateLimitError(message) {
|
|
124
|
+
const lower = message.toLowerCase();
|
|
125
|
+
if (lower.includes("rate_limit")) return true;
|
|
126
|
+
if (lower.includes("rate limit")) return true;
|
|
127
|
+
if (lower.includes("429")) return true;
|
|
128
|
+
if (lower.includes("quota exceeded") || lower.includes("quota_exceeded")) return true;
|
|
129
|
+
if (lower.includes("resource exhausted") || lower.includes("resource_exhausted")) return true;
|
|
130
|
+
if (lower.includes("too many requests")) return true;
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region src/agents/api-key-rotation.ts
|
|
136
|
+
function dedupeApiKeys(raw) {
|
|
137
|
+
const seen = /* @__PURE__ */ new Set();
|
|
138
|
+
const keys = [];
|
|
139
|
+
for (const value of raw) {
|
|
140
|
+
const apiKey = value.trim();
|
|
141
|
+
if (!apiKey || seen.has(apiKey)) continue;
|
|
142
|
+
seen.add(apiKey);
|
|
143
|
+
keys.push(apiKey);
|
|
144
|
+
}
|
|
145
|
+
return keys;
|
|
146
|
+
}
|
|
147
|
+
function collectProviderApiKeysForExecution(params) {
|
|
148
|
+
const { primaryApiKey, provider } = params;
|
|
149
|
+
return dedupeApiKeys([primaryApiKey?.trim() ?? "", ...collectProviderApiKeys(provider)]);
|
|
150
|
+
}
|
|
151
|
+
async function executeWithApiKeyRotation(params) {
|
|
152
|
+
const keys = dedupeApiKeys(params.apiKeys);
|
|
153
|
+
if (keys.length === 0) throw new Error(`No API keys configured for provider "${params.provider}".`);
|
|
154
|
+
let lastError;
|
|
155
|
+
for (let attempt = 0; attempt < keys.length; attempt += 1) {
|
|
156
|
+
const apiKey = keys[attempt];
|
|
157
|
+
try {
|
|
158
|
+
return await params.execute(apiKey);
|
|
159
|
+
} catch (error) {
|
|
160
|
+
lastError = error;
|
|
161
|
+
const message = formatErrorMessage(error);
|
|
162
|
+
if (!(params.shouldRetry ? params.shouldRetry({
|
|
163
|
+
apiKey,
|
|
164
|
+
error,
|
|
165
|
+
attempt,
|
|
166
|
+
message
|
|
167
|
+
}) : isApiKeyRateLimitError(message)) || attempt + 1 >= keys.length) break;
|
|
168
|
+
params.onRetry?.({
|
|
169
|
+
apiKey,
|
|
170
|
+
error,
|
|
171
|
+
attempt,
|
|
172
|
+
message
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
if (lastError === void 0) throw new Error(`Failed to run API request for ${params.provider}.`);
|
|
177
|
+
throw lastError;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
//#endregion
|
|
181
|
+
export { executeWithApiKeyRotation as n, parseGeminiAuth as r, collectProviderApiKeysForExecution as t };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import "./run-with-concurrency-vfuRiXdY.js";
|
|
2
|
+
import "./accounts-BXFDqY90.js";
|
|
3
|
+
import "./paths-8xF5kDne.js";
|
|
4
|
+
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
5
|
+
import "./config-B16xKqSo.js";
|
|
6
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-DDdrdbDu.js";
|
|
7
|
+
import "./thinking-DT2ZR60x.js";
|
|
8
|
+
import "./image-ops-BBY2fn9x.js";
|
|
9
|
+
import "./pi-embedded-helpers-BeYjP1MW.js";
|
|
10
|
+
import "./plugins-rivB8KaQ.js";
|
|
11
|
+
import "./accounts-DxiB_4z4.js";
|
|
12
|
+
import "./accounts-DU7Js54-.js";
|
|
13
|
+
import "./paths-CjFcHB_C.js";
|
|
14
|
+
import "./redact-BoNEjbpF.js";
|
|
15
|
+
import "./errors-B8oJXuCF.js";
|
|
16
|
+
import "./path-alias-guards-BX-3FprC.js";
|
|
17
|
+
import "./fs-safe-BW1ypSDS.js";
|
|
18
|
+
import "./ssrf-DvsjfpC2.js";
|
|
19
|
+
import "./fetch-guard-Cgyq6Jv9.js";
|
|
20
|
+
import "./local-roots-C1ETRlaC.js";
|
|
21
|
+
import "./tool-images-DroS1EaM.js";
|
|
22
|
+
import { f as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-jhHyCc_7.js";
|
|
23
|
+
import "./skills-DSbDUvmU.js";
|
|
24
|
+
import "./chrome-DOnBMnlx.js";
|
|
25
|
+
import "./store-DG90hxe6.js";
|
|
26
|
+
import "./image-BPXnvxYL.js";
|
|
27
|
+
import "./api-key-rotation-k1ZNheUH.js";
|
|
28
|
+
import "./proxy-fetch-ZPEvp58f.js";
|
|
29
|
+
|
|
30
|
+
//#region src/media-understanding/audio-preflight.ts
|
|
31
|
+
/**
|
|
32
|
+
* Transcribes the first audio attachment BEFORE mention checking.
|
|
33
|
+
* This allows voice notes to be processed in group chats with requireMention: true.
|
|
34
|
+
* Returns the transcript or undefined if transcription fails or no audio is found.
|
|
35
|
+
*/
|
|
36
|
+
async function transcribeFirstAudio(params) {
|
|
37
|
+
const { ctx, cfg } = params;
|
|
38
|
+
const audioConfig = cfg.tools?.media?.audio;
|
|
39
|
+
if (!audioConfig || audioConfig.enabled === false) return;
|
|
40
|
+
const attachments = normalizeMediaAttachments(ctx);
|
|
41
|
+
if (!attachments || attachments.length === 0) return;
|
|
42
|
+
const firstAudio = attachments.find((att) => att && isAudioAttachment(att) && !att.alreadyTranscribed);
|
|
43
|
+
if (!firstAudio) return;
|
|
44
|
+
if (shouldLogVerbose()) logVerbose(`audio-preflight: transcribing attachment ${firstAudio.index} for mention check`);
|
|
45
|
+
try {
|
|
46
|
+
const { transcript } = await runAudioTranscription({
|
|
47
|
+
ctx,
|
|
48
|
+
cfg,
|
|
49
|
+
attachments,
|
|
50
|
+
agentDir: params.agentDir,
|
|
51
|
+
providers: params.providers,
|
|
52
|
+
activeModel: params.activeModel,
|
|
53
|
+
localPathRoots: resolveMediaAttachmentLocalRoots({
|
|
54
|
+
cfg,
|
|
55
|
+
ctx
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
if (!transcript) return;
|
|
59
|
+
firstAudio.alreadyTranscribed = true;
|
|
60
|
+
if (shouldLogVerbose()) logVerbose(`audio-preflight: transcribed ${transcript.length} chars from attachment ${firstAudio.index}`);
|
|
61
|
+
return transcript;
|
|
62
|
+
} catch (err) {
|
|
63
|
+
if (shouldLogVerbose()) logVerbose(`audio-preflight: transcription failed: ${String(err)}`);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
export { transcribeFirstAudio };
|