squidclaw 3.0.20 → 3.0.21
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-s5e9zidf.js → accounts-C7pGQPcS.js} +2 -2
- package/dist/{accounts-Bkb-J8V6.js → accounts-DjhBQg_8.js} +2 -2
- package/dist/{accounts-B6F_XCgS.js → accounts-DwGoZKGm.js} +17 -17
- package/dist/{active-listener-6-Svu8Dx.js → active-listener-DPc_PGsA.js} +2 -2
- package/dist/{agents-BOS_wASV.js → agents-DXKtU4Il.js} +4 -4
- package/dist/{agents.config-ChUZBohP.js → agents.config-BM-2SLCh.js} +1 -1
- package/dist/{agents.config-Dfsl4jNF.js → agents.config-eMSUW-iw.js} +1 -1
- package/dist/{api-key-rotation-TRwuCWbu.js → api-key-rotation-DVyYtQxC.js} +2 -2
- package/dist/{audio-preflight-DZ1LNMJp.js → audio-preflight-BUCBED7N.js} +32 -32
- package/dist/{audio-transcription-runner-B3u2x_ja.js → audio-transcription-runner-Cv0Q47cM.js} +12 -12
- package/dist/{audit-membership-runtime-w23FnNAN.js → audit-membership-runtime-DyLj-uhz.js} +4 -4
- package/dist/{auth-choice-B_pvWO2S.js → auth-choice-CXepQc7c.js} +1 -1
- package/dist/{auth-choice-kUm2JAky.js → auth-choice-D2JrMJn-.js} +1 -1
- package/dist/{banner-4LItBqCV.js → banner-DMfuBV69.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +687 -51
- package/dist/canvas-host/a2ui/a2ui.bundle.js +1 -17815
- package/dist/{channel-activity-CxJbx4sD.js → channel-activity-CPpt4XaL.js} +3 -3
- package/dist/{channel-options-DA-4IR6h.js → channel-options-CQ-gER0J.js} +1 -1
- package/dist/{channel-options-DQeQl3Rk.js → channel-options-SijIkAlT.js} +1 -1
- package/dist/{channel-web--dAjVoio.js → channel-web-7t1a2N13.js} +1 -1
- package/dist/{channel-web-DJ21CAFF.js → channel-web-LLzBxZrT.js} +1 -1
- package/dist/{channels-cli-QvrLGt6C.js → channels-cli-D4xUEYYC.js} +6 -6
- package/dist/{channels-cli-DviJtKuS.js → channels-cli-DYaFNMme.js} +6 -6
- package/dist/{chrome-Dxm25ptH.js → chrome-OgCChbC_.js} +26 -26
- package/dist/{cli-aCubMdJg.js → cli-CAID9zkL.js} +1 -1
- package/dist/{cli-q7seQ2Xx.js → cli-Dlc9IFWZ.js} +1 -1
- package/dist/{command-registry-C_YMaVul.js → command-registry-AHS8_9da.js} +9 -9
- package/dist/{commands-registry-B44COZFz.js → commands-registry-BJjv8_oR.js} +4 -4
- package/dist/{completion-cli-CyKEJDPO.js → completion-cli-B8xjpHDs.js} +1 -1
- package/dist/{completion-cli-w4XQjhDI.js → completion-cli-BR1r9_h4.js} +2 -2
- package/dist/{config-cli-BhQXEuBv.js → config-cli-D0A8Awoo.js} +1 -1
- package/dist/{config-cli-BfhjWCvB.js → config-cli-D4Rxoozg.js} +1 -1
- package/dist/{configure-Dsg_0ymU.js → configure-DOiI8_8c.js} +3 -3
- package/dist/{configure-0xkYrQ0e.js → configure-XmOqwwy9.js} +3 -3
- package/dist/control-ui/assets/{index-cM5P_3w7.js → index-BqxuPQOl.js} +2 -2
- package/dist/control-ui/assets/{index-cM5P_3w7.js.map → index-BqxuPQOl.js.map} +1 -1
- package/dist/control-ui/index.html +1 -1
- package/dist/{deliver-BcnsjbAB.js → deliver-DMTUTpTM.js} +21 -21
- package/dist/deliver-runtime-B80olQwJ.js +36 -0
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +26 -0
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +25 -0
- package/dist/deps-send-signal.runtime-CuVJyw7n.js +24 -0
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +22 -0
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +27 -0
- package/dist/deps-send-whatsapp.runtime-4aOUBP2J.js +60 -0
- package/dist/{deps-send-whatsapp.runtime-BNAJe11S.js → deps-send-whatsapp.runtime-CETLGt-t.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-qBpqM2k9.js → deps-send-whatsapp.runtime-CrxkfP31.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-BGDIgEzh.js → deps-send-whatsapp.runtime-__ogpmJj.js} +3 -3
- package/dist/{diagnostic-C2lklhkn.js → diagnostic-CnVwZNbm.js} +2 -2
- package/dist/{doctor-completion-BlkbgU5h.js → doctor-completion-CZoEdMS-.js} +1 -1
- package/dist/{doctor-completion-BCQdm02b.js → doctor-completion-DhLEFUhN.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-CgRPdp3o.js → errors-kkRuS2Cs.js} +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-b8tSR7_e.js → fetch-DP-JjB6Z.js} +5 -5
- package/dist/{fetch-guard-D16tjNsZ.js → fetch-guard-BDy975wP.js} +2 -2
- package/dist/{frontmatter-CjKtFduT.js → frontmatter-Cq1TcIQ2.js} +3 -3
- package/dist/{fs-safe-CwHbZdFH.js → fs-safe-BoB4X3GD.js} +4 -4
- package/dist/{gateway-cli-tFwyE4a3.js → gateway-cli-BJHBChfI.js} +8 -8
- package/dist/{gateway-cli-uWj08vdf.js → gateway-cli-BpHskeDd.js} +8 -8
- package/dist/{github-copilot-token-Cw3tAXM9.js → github-copilot-token-B5cPlwaz.js} +7 -7
- package/dist/{health-BwC4Qe5W.js → health-TmpUGSqu.js} +1 -1
- package/dist/{health-DS3reqch.js → health-XFKFZ7ZJ.js} +1 -1
- package/dist/{hooks-cli-oei5kRQM.js → hooks-cli-CXsZK8H9.js} +2 -2
- package/dist/{hooks-cli-tp5LchRL.js → hooks-cli-DsDV-Pxz.js} +2 -2
- package/dist/{image-C-8Kd2Mh.js → image-kKMG59st.js} +6 -6
- package/dist/{image-ops-BoN1E_WZ.js → image-ops-Dg8iraUV.js} +2 -2
- package/dist/image-runtime-BqIv7p_K.js +29 -0
- package/dist/index.js +6 -6
- package/dist/{ir-Dut0zXyS.js → ir-CKK03mBV.js} +8 -8
- package/dist/{legacy-names-B0wgIP0Q.js → legacy-names-aGJJuzM_.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-oGKcCLZ5.js → logger-CnTSBL7T.js} +7 -7
- package/dist/{login-DJ357UQV.js → login-CeKDrz6_.js} +5 -5
- package/dist/{login-qr-C0fDBnpM.js → login-qr-KbOpR0GQ.js} +10 -10
- package/dist/{manager-BPGhs30n.js → manager-DINhLnMi.js} +13 -13
- package/dist/manager-runtime-D6ckUNSs.js +18 -0
- package/dist/{model-selection-CHnojCCK.js → model-selection-DuNLFQPR.js} +43 -43
- package/dist/{models-D9X4EUlY.js → models-5VXwJBU2.js} +2 -2
- package/dist/{models-cli-LGp-Tok9.js → models-cli-Br56IHfy.js} +3 -3
- package/dist/{models-cli-C1PLBYF7.js → models-cli-CrR1RN3j.js} +2 -2
- package/dist/{npm-resolution-BUvQm-e-.js → npm-resolution-CKtyq4FH.js} +1 -1
- package/dist/{npm-resolution-Dtkh26DG.js → npm-resolution-CPk7dS7F.js} +1 -1
- package/dist/{onboard-DDD6GX8E.js → onboard-DUnBamC0.js} +2 -2
- package/dist/{onboard-channels-9My16AOy.js → onboard-channels-D45grihx.js} +1 -1
- package/dist/{onboard-channels-Bm_NXV3z.js → onboard-channels-_kVo3Apf.js} +1 -1
- package/dist/{onboard-B0padonr.js → onboard-lFwpCpC3.js} +2 -2
- package/dist/{onboarding-dES4q9RV.js → onboarding-CyCSQ__q.js} +3 -3
- package/dist/{onboarding-o-id7p0-.js → onboarding-EEd_g8Zg.js} +3 -3
- package/dist/{onboarding.finalize-dpgNgUt5.js → onboarding.finalize-CbMq7C4K.js} +5 -5
- package/dist/{onboarding.finalize-BFtOLT7n.js → onboarding.finalize-Cs1ukjFN.js} +6 -6
- package/dist/{outbound-qTioiTJg.js → outbound-C9svt6RH.js} +6 -6
- package/dist/{outbound-attachment-rlW7G5df.js → outbound-attachment-DwupUxYF.js} +2 -2
- package/dist/{path-alias-guards-Cpsiv2KL.js → path-alias-guards-DORgbZ1w.js} +1 -1
- package/dist/{paths-CSdAWKDO.js → paths-DA5srn0U.js} +5 -5
- package/dist/{paths-CXClY8zC.js → paths-DSd911Oe.js} +4 -4
- package/dist/{pi-embedded-BpHQIzjg.js → pi-embedded-BN8fghaF.js} +137 -4
- package/dist/{pi-embedded-B_4NAHxA.js → pi-embedded-BiC4tIJ8.js} +300 -167
- package/dist/{pi-embedded-helpers-DQ7IaeOi.js → pi-embedded-helpers-Di58J7Eh.js} +52 -52
- package/dist/{pi-model-discovery-o-WX5w2t.js → pi-model-discovery-V-InbjOM.js} +7 -7
- package/dist/pi-model-discovery-runtime--t6tAlar.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-B_LUttg1.js → pi-tools.before-tool-call.runtime-Bpk4qTgV.js} +9 -9
- package/dist/{plugin-registry-CCeUDvxY.js → plugin-registry-CXm125Uz.js} +1 -1
- package/dist/{plugin-registry-CCkpP8-I.js → plugin-registry-D3PnPE1D.js} +1 -1
- package/dist/plugin-sdk/{accounts-0kF5cxkn.js → accounts-C5PAuCTj.js} +2 -2
- package/dist/plugin-sdk/{accounts-u0-JAHzj.js → accounts-DC5cbH9r.js} +2 -2
- package/dist/plugin-sdk/{accounts-xZOA23tQ.js → accounts-DncG0Hx9.js} +3 -3
- package/dist/plugin-sdk/{active-listener-C5xPUSTb.js → active-listener-Bd3HH2km.js} +2 -2
- package/dist/plugin-sdk/agents/agent-tier.d.ts +33 -0
- package/dist/plugin-sdk/{api-key-rotation-DyjMI2n3.js → api-key-rotation-BAZ0GD26.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-C0q7lu6y.js → audio-preflight-tpVm-t9O.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-Ced47O1H.js → audio-transcription-runner-DSScb434.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Xl20kCBe.js → audit-membership-runtime-DHQDvH4u.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CNffKOEQ.js → channel-activity-cYEaofTH.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BQE2gJ5U.js → channel-web-CbeCrQ4C.js} +18 -18
- package/dist/plugin-sdk/{channel-web-BtNgAS1G.js → channel-web-CqiSEc52.js} +1 -1
- package/dist/plugin-sdk/{chrome-DJQWo149.js → chrome-DB2h0uN0.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-_kBPE22q.js → commands-registry-DGZ1oFXJ.js} +4 -4
- package/dist/plugin-sdk/{common-J8vIST9Q.js → common-D5lLWoCW.js} +2 -2
- package/dist/plugin-sdk/compat.js +2 -2
- package/dist/plugin-sdk/{config-CnZ1TlEw.js → config-Bt-c7PWF.js} +7 -7
- package/dist/plugin-sdk/{deliver-Xh6voz9H.js → deliver-MvrkIeKJ.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-i50kjcNM.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-hOYq9ov0.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-D5n9DXyL.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-CwEaRyJU.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DOZeLIaC.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-BW1hSPKh.js +24 -0
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-V0Jfat5S.js → deps-send-whatsapp.runtime-DvxhnHR_.js} +3 -3
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-JKmTtCFM.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DKsyROPi.js → diagnostic-B6F3BtCX.js} +2 -2
- package/dist/{errors-DfgAh2Ml.js → plugin-sdk/errors-9oVz7reJ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BBAT8G-1.js → fetch-guard-cfPCfkrw.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DqCO1D4C.js → fs-safe-DFbwq9CS.js} +3 -3
- package/dist/plugin-sdk/{image-4ay2cw7G.js → image-FK5xhY5u.js} +6 -6
- package/dist/plugin-sdk/{image-ops-G8KoEfY8.js → image-ops-BSYgrL7E.js} +2 -2
- package/dist/plugin-sdk/image-runtime-B95EPFpg.js +25 -0
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{ir-DXj1KGnL.js → ir-CWmryq5f.js} +7 -7
- package/dist/plugin-sdk/{local-roots-ovKHgVSP.js → local-roots-U25IdeDH.js} +4 -4
- package/dist/plugin-sdk/{logger-DIb2cGHp.js → logger-Bg4vIUJn.js} +2 -2
- package/dist/plugin-sdk/{login-Cgtm70by.js → login-8qzl2H7G.js} +4 -4
- package/dist/plugin-sdk/{login-qr-BrixqhMx.js → login-qr-kalCTJEw.js} +5 -5
- package/dist/plugin-sdk/{manager-PEQ_cPYF.js → manager-ijYHktIt.js} +8 -8
- package/dist/plugin-sdk/manager-runtime--JrLQE03.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/nextcloud-talk.js +2 -2
- package/dist/plugin-sdk/{outbound-BK75h9CQ.js → outbound-BIVf0aPq.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-BI1QngTS.js → outbound-attachment-F5tzeNUD.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-TnxupPQC.js → path-alias-guards-DA0MhfkG.js} +1 -1
- package/dist/plugin-sdk/{paths-B7_75Pdr.js → paths-CP67O8eN.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BioULNev.js → pi-embedded-helpers-CxMnPQ37.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-BMmAbnil.js → pi-model-discovery-8OL77kCh.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-DGRFpUfd.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-rdRqZ9lk.js → pi-tools.before-tool-call.runtime-B7FW36KX.js} +4 -4
- package/dist/plugin-sdk/{plugins-BqKpJkqt.js → plugins-D3mrhffi.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-C4s12rr8.js → proxy-env-CUUXO6rv.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Dt5BedH8.js → proxy-fetch-Cf3IUSDw.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-Cb0ZDSq4.js → pw-ai-dPmKdw_w.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Bei6TaFq.js → qmd-manager-Ov9ElEfG.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-POz2za8a.js → query-expansion-CzjwW461.js} +4 -4
- package/dist/plugin-sdk/{redact-9WsNyb7S.js → redact-DfACyt0X.js} +1 -1
- package/dist/plugin-sdk/{reply-DJYA4ZNu.js → reply-BczXGzC_.js} +137 -4
- package/dist/plugin-sdk/{reply-DeKKmUDh.js → reply-Dfjh1YtV.js} +206 -73
- package/dist/plugin-sdk/{resolve-outbound-target-DL1adXpk.js → resolve-outbound-target-BeIB_jm0.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-DmTrN5JG.js → run-with-concurrency-kVooFCVo.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6EcC22F.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DH8J0Ie7.js +19 -0
- package/dist/plugin-sdk/{send-BCVXt-3e.js → send-CgkNzAhS.js} +8 -8
- package/dist/plugin-sdk/{send-CAG0Or0G.js → send-CuENGOhq.js} +7 -7
- package/dist/plugin-sdk/{send-X6QuS7x0.js → send-D6Uh2D1D.js} +5 -5
- package/dist/plugin-sdk/{send-BNePC8CO.js → send-DV5kR0Hg.js} +6 -6
- package/dist/plugin-sdk/{send-DhGDAZnT.js → send-DtA6ngBJ.js} +13 -13
- package/dist/plugin-sdk/{session-CAqYQVhe.js → session-CnlZn-bR.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-Bk-IFyNw.js → skill-commands-Ckfii7h8.js} +4 -4
- package/dist/plugin-sdk/{skills-C5bT9-q4.js → skills-v0WQqKTa.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-BYoxsxkX.js +13 -0
- package/dist/plugin-sdk/{slash-dispatch.runtime-k8xSVYOI.js → slash-dispatch.runtime-DOo1IzuY.js} +1 -1
- package/dist/plugin-sdk/slash-dispatch.runtime-JfFr7bNy.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-D0399tia.js +16 -0
- package/dist/plugin-sdk/{store-D3lgWnS2.js → store-C_UrNuM3.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-runtime-D6cTAG2k.js → subagent-registry-runtime-DLvup9ph.js} +1 -1
- package/dist/plugin-sdk/subagent-registry-runtime-DVl5xKOW.js +52 -0
- package/dist/plugin-sdk/{tables-Dmlu4_q_.js → tables-CJP05iMa.js} +1 -1
- package/dist/plugin-sdk/{thinking-DRNOh5Xx.js → thinking-BhP3vn1l.js} +7 -7
- package/dist/plugin-sdk/{tokens-CLE20fRI.js → tokens-DAL_5WHL.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BY1gsRyE.js → tool-images-ZE5G5UM0.js} +2 -2
- package/dist/plugin-sdk/{web-DkbCMgLG.js → web-C2Sj2WW0.js} +2 -2
- package/dist/plugin-sdk/web-CNY_ky8h.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-BCJYmWCB.js → whatsapp-actions-DJmx6ihj.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-AqsVZZk3.js → plugins-DvejjZnJ.js} +11 -11
- package/dist/{plugins-cli-DFpHU_xo.js → plugins-cli-BA_2daJe.js} +2 -2
- package/dist/{plugins-cli-CZCadI9y.js → plugins-cli-C0WKWrZo.js} +2 -2
- package/dist/{program-B4_o5EDH.js → program-D_xdLzmM.js} +7 -7
- package/dist/{program-context-CkfdLtpp.js → program-context-DfmCIQ91.js} +17 -17
- package/dist/{prompt-select-styled-C1DFrYuk.js → prompt-select-styled-ApPSadr5.js} +4 -4
- package/dist/{prompt-select-styled-CZJJ2rPA.js → prompt-select-styled-BsheNEnh.js} +4 -4
- package/dist/{provider-auth-helpers-BlYwNWkq.js → provider-auth-helpers-B5kD4Lt6.js} +1 -1
- package/dist/{provider-auth-helpers-C5taJG0R.js → provider-auth-helpers-DpOFkV28.js} +1 -1
- package/dist/{proxy-env-DXXfs2WL.js → proxy-env-D-fike7s.js} +1 -1
- package/dist/{proxy-fetch-C2v-Utgg.js → proxy-fetch-lH6RsRTE.js} +1 -1
- package/dist/{push-apns-Dkjfalec.js → push-apns-BbenjEX4.js} +1 -1
- package/dist/{push-apns-Bhk1_5ut.js → push-apns-Ci2sdIKf.js} +1 -1
- package/dist/{pw-ai-GOBxzChI.js → pw-ai-B8ymIYub.js} +14 -14
- package/dist/{qmd-manager-CO-shcLU.js → qmd-manager-BN0siR2Z.js} +10 -10
- package/dist/{query-expansion-DlQOkf-g.js → query-expansion-Dzxt6kXo.js} +6 -6
- package/dist/{redact-NmPEVjIo.js → redact-DvzicBMu.js} +1 -1
- package/dist/{register.agent-s2PqcoIS.js → register.agent-CY6R-7fn.js} +6 -6
- package/dist/{register.agent-DOp4lbyc.js → register.agent-Dk_5V5oA.js} +7 -7
- package/dist/{register.configure-DABoMBBf.js → register.configure-C8OFfGln.js} +7 -7
- package/dist/{register.configure-BGfourxZ.js → register.configure-DT1RLeTR.js} +7 -7
- package/dist/{register.maintenance-Bdr3bSAF.js → register.maintenance-CluQOq8b.js} +8 -8
- package/dist/{register.maintenance-DmP8sVxb.js → register.maintenance-YHXmOQzf.js} +7 -7
- package/dist/{register.message-DF0InVCv.js → register.message-BCTXT5yK.js} +2 -2
- package/dist/{register.message-gz8DaAc1.js → register.message-BuoFjRqA.js} +2 -2
- package/dist/{register.onboard-Do14cwDQ.js → register.onboard-BJaRMtxU.js} +2 -2
- package/dist/{register.onboard-auVLfmF3.js → register.onboard-C64oXnvq.js} +2 -2
- package/dist/{register.setup-ZyGJlYOD.js → register.setup-Dl3nk2Ui.js} +2 -2
- package/dist/{register.setup-B3aVuPyo.js → register.setup-Drc55K_w.js} +2 -2
- package/dist/{register.status-health-sessions-C-1HE5oP.js → register.status-health-sessions-BHtbPeCO.js} +3 -3
- package/dist/{register.status-health-sessions-vFpvdVS1.js → register.status-health-sessions-xgC_gtEM.js} +3 -3
- package/dist/{register.subclis-BYiAuTiK.js → register.subclis-CDMFyaKR.js} +9 -9
- package/dist/{reply-BaVB3YlN.js → reply-DwjHsBuj.js} +137 -4
- package/dist/{run-main-DW-JR8hB.js → run-main-BcA22Ipv.js} +14 -14
- package/dist/{run-with-concurrency-FczpX8ng.js → run-with-concurrency-BFR3ReeF.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-DxV9iv6l.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +22 -0
- package/dist/{send-Bx9CqcZr.js → send-4nRsZJXH.js} +7 -7
- package/dist/{send-D5D0ZGht.js → send-BGlcHjUD.js} +26 -26
- package/dist/{send-DtHQ7_6Z.js → send-BTUU1jWM.js} +8 -8
- package/dist/{send-B9H0BkfO.js → send-DdBbRpTP.js} +6 -6
- package/dist/{send-B5QEmMJ4.js → send-dTQd-IyJ.js} +5 -5
- package/dist/{server-node-events-rumcq7j0.js → server-node-events-Q0cT2ifj.js} +2 -2
- package/dist/{server-node-events-D-EmiDyc.js → server-node-events-YN5eJeHa.js} +2 -2
- package/dist/{session-DLTCuoUD.js → session-CnCwDJke.js} +8 -8
- package/dist/{skill-commands-BwTLQRR8.js → skill-commands-Cz45_nme.js} +9 -9
- package/dist/{skills-B9N2bqKU.js → skills-CdCS1HeL.js} +22 -22
- package/dist/slash-commands.runtime-CZz6v6b3.js +16 -0
- package/dist/{slash-dispatch.runtime-sVHNrSL1.js → slash-dispatch.runtime-BOMEVFk0.js} +1 -1
- package/dist/{slash-dispatch.runtime-DPRwMKXk.js → slash-dispatch.runtime-DB1QsBRc.js} +1 -1
- package/dist/slash-dispatch.runtime-SO7HOe8q.js +56 -0
- package/dist/{slash-dispatch.runtime-BeltKAMm.js → slash-dispatch.runtime-sXaUYn4v.js} +1 -1
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +20 -0
- package/dist/{status-BeSD1NDD.js → status-Bh5x6DsW.js} +2 -2
- package/dist/{status-DGF_ROMC.js → status-cU9cJReo.js} +2 -2
- package/dist/{store-CvQ41zCV.js → store-D9z0dn7D.js} +2 -2
- package/dist/{subagent-registry-CgUBOyi3.js → subagent-registry-CIgFD2oi.js} +137 -4
- package/dist/{subagent-registry-runtime-Bxc5DYZt.js → subagent-registry-runtime-232sNNT6.js} +1 -1
- package/dist/subagent-registry-runtime-D2rUxU5J.js +56 -0
- package/dist/{subagent-registry-runtime-BYpjZwjA.js → subagent-registry-runtime-D7ubAnDZ.js} +1 -1
- package/dist/{subagent-registry-runtime-Cx5vPpG8.js → subagent-registry-runtime-DGTjU9Lb.js} +1 -1
- package/dist/{subsystem-BaLYRf7D.js → subsystem-6v7sWnAD.js} +14 -14
- package/dist/{tables-BRYYxYs7.js → tables-BTFiZyRU.js} +1 -1
- package/dist/{target-errors-D0ZJUbbf.js → target-errors-DgNRx3Nr.js} +2 -2
- package/dist/{thinking-B-A99X3F.js → thinking-B75CXkTT.js} +7 -7
- package/dist/{tokens-D2XhLqIz.js → tokens-DfbMVF9y.js} +1 -1
- package/dist/{tool-images-Zn6jVmkX.js → tool-images-Dp5OiXeA.js} +2 -2
- package/dist/{update-cli-Duy8S3Bj.js → update-cli-CktBOXZF.js} +7 -7
- package/dist/{update-cli-BSIF-OEa.js → update-cli-DM_dUip_.js} +8 -8
- package/dist/{update-runner-CMpruPN8.js → update-runner-BBJZmfZ4.js} +1 -1
- package/dist/{update-runner-D_nDdx7d.js → update-runner-BYGPkHXG.js} +1 -1
- package/dist/{web-C-5RPkV9.js → web-CZhZC1EA.js} +2 -2
- package/dist/{web-CKY0tK0k.js → web-Chw1dtKA.js} +1 -1
- package/dist/{web-Bnr4YuWJ.js → web-DWRZAXj9.js} +2 -2
- package/dist/{web-C0xcHURK.js → web-QsxgXbNK.js} +55 -55
- package/dist/{whatsapp-actions-Cuy0qeQK.js → whatsapp-actions-CzqsuSGx.js} +21 -21
- package/dist/{workspace-TqfVSQuO.js → workspace-kVMIaBrV.js} +20 -20
- package/extensions/acpx/node_modules/.bin/acpx +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +2 -2
- package/extensions/diffs/node_modules/.bin/playwright-core +2 -2
- package/extensions/googlechat/node_modules/.bin/squidclaw +2 -2
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/memory-core/node_modules/.bin/squidclaw +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/nostr/node_modules/.bin/tsc +2 -2
- package/extensions/nostr/node_modules/.bin/tsserver +2 -2
- package/extensions/tlon/node_modules/.bin/tlon +2 -2
- package/package.json +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +0 -1
- package/dist/deliver-runtime-_mBfV_4S.js +0 -36
- package/dist/deps-send-discord.runtime-CUTAK2hy.js +0 -26
- package/dist/deps-send-imessage.runtime-CQOiEIuA.js +0 -25
- package/dist/deps-send-signal.runtime-wN7MkzLw.js +0 -24
- package/dist/deps-send-slack.runtime-HEEwW4uU.js +0 -22
- package/dist/deps-send-telegram.runtime-DHlcnjQO.js +0 -27
- package/dist/deps-send-whatsapp.runtime-B7GC68Cu.js +0 -60
- package/dist/export-html/vendor/highlight.min.js +0 -1213
- package/dist/export-html/vendor/marked.min.js +0 -6
- package/dist/image-runtime-D11wBIC8.js +0 -29
- package/dist/manager-runtime-BB9lcoFR.js +0 -18
- package/dist/pi-model-discovery-runtime-DBkQoIJw.js +0 -11
- package/dist/plugin-sdk/deliver-runtime-5UVcSskg.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DTspXSCt.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-qThAwDEe.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-DnjnVzZF.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-CbKevLnv.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-C6y29O9E.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DPZSTh1j.js +0 -57
- package/dist/plugin-sdk/image-runtime-CpfepTDc.js +0 -25
- package/dist/plugin-sdk/manager-runtime-BmgTeb5G.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-COnuGwZt.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-99sCh8RG.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-dTkDaXHl.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-EAZKpRKq.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-E6j8gkO2.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-DGd_JSWX.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-Cca50Qld.js +0 -52
- package/dist/plugin-sdk/web-Be4JS3z8.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-DumUjKRz.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Cgu2MfqR.js +0 -22
- package/dist/slash-commands.runtime-CjBXruwG.js +0 -16
- package/dist/slash-dispatch.runtime-C7rHRQFg.js +0 -56
- package/dist/slash-skill-commands.runtime-DYK20Lxf.js +0 -20
- package/dist/subagent-registry-runtime-Bm5UEB8c.js +0 -56
- package/docs/reference/templates/IDENTITY.md +0 -29
- package/docs/reference/templates/USER.md +0 -23
- package/docs/zh-CN/reference/templates/IDENTITY.md +0 -36
- package/docs/zh-CN/reference/templates/USER.md +0 -30
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -178
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveSquidClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-
|
|
2
|
-
import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverSquidClawPlugins, Bn as resolveAuthProfileDisplayLabel, Bt as modelKey, Cn as resolveSecretRefValues, Cr as createInternalHookEvent, Ct as normalizeSafeBinProfileFixtures, Dn as parseDotPath, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isRecord$1, Er as resolveCliName, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveSquidClawAgentDir, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_MODEL, Gt as resolveModelRefFromString, H as safeStatSync, Hn as normalizeSecretInput, Ht as normalizeProviderId, I as isPathWithinRoot, In as withFileLock, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as getShellPathFromLoginShell, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_PROVIDER, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Lt as buildModelAliasIndex, Mn as markAuthProfileGood, N as AVATAR_MAX_BYTES, Nn as ensureAuthProfileStore, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as secretRefKey, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as resolveAuthStorePathForDisplay, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as isTruthyEnvValue, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as matchPluginCommand, St as SAFE_BIN_PROFILES, Tn as isNonEmptyString, Tr as formatCliCommand, Tt as applyMergePatch, Un as splitTrailingAuthProfile, Ut as resolveConfiguredModelRef, V as isPathInside, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as DEFAULT_CONTEXT_TOKENS, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as isDangerousHostEnvVarName, Y as getConfigOverrides, Yn as resolveShellEnvFallbackTimeoutMs, Z as setConfigOverride, Zn as resolveOwnerDisplaySetting, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as normalizePluginHttpPath, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as CHAT_CHANNEL_ORDER, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as getPluginCommandSpecs, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as normalizeAnyChannelId, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as getActivePluginRegistry, dt as splitCommandChain, en as resolveRetryConfig, er as coerceSecretRef, et as parseConfigPath, fn as resolveEnvApiKey, fr as getActivePluginRegistryKey, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as createPluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, hr as setActivePluginRegistry, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as listProfilesForProvider, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as normalizeChannelId$1, lt as buildEnforcedShellCommand, mr as requireActivePluginRegistry, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as normalizeResolvedSecretInputString, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, or as getChatChannelMeta, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as VERSION, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as resolveSecretInputRef, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as listChatChannels, st as validateSafeBinArgv, tn as retryAsync, tr as hasConfiguredSecretInput, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeChatChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as clearPluginCommands, vt as isShellWrapperExecutable, wn as describeUnknownError$1, wr as triggerInternalHook, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as listPluginCommands, xt as splitShellArgs, yn as markAuthProfileFailure, yr as executePluginCommand, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-
|
|
3
|
-
import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredSquidClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, 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, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveSquidClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverSquidClawPlugins, Bn as resolveAuthProfileDisplayLabel, Bt as modelKey, Cn as resolveSecretRefValues, Cr as createInternalHookEvent, Ct as normalizeSafeBinProfileFixtures, Dn as parseDotPath, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isRecord$1, Er as resolveCliName, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveSquidClawAgentDir, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_MODEL, Gt as resolveModelRefFromString, H as safeStatSync, Hn as normalizeSecretInput, Ht as normalizeProviderId, I as isPathWithinRoot, In as withFileLock, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as getShellPathFromLoginShell, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_PROVIDER, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Lt as buildModelAliasIndex, Mn as markAuthProfileGood, N as AVATAR_MAX_BYTES, Nn as ensureAuthProfileStore, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as secretRefKey, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as resolveAuthStorePathForDisplay, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as isTruthyEnvValue, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as matchPluginCommand, St as SAFE_BIN_PROFILES, Tn as isNonEmptyString, Tr as formatCliCommand, Tt as applyMergePatch, Un as splitTrailingAuthProfile, Ut as resolveConfiguredModelRef, V as isPathInside, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as DEFAULT_CONTEXT_TOKENS, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as isDangerousHostEnvVarName, Y as getConfigOverrides, Yn as resolveShellEnvFallbackTimeoutMs, Z as setConfigOverride, Zn as resolveOwnerDisplaySetting, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as normalizePluginHttpPath, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as CHAT_CHANNEL_ORDER, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as getPluginCommandSpecs, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as normalizeAnyChannelId, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as getActivePluginRegistry, dt as splitCommandChain, en as resolveRetryConfig, er as coerceSecretRef, et as parseConfigPath, fn as resolveEnvApiKey, fr as getActivePluginRegistryKey, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as createPluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, hr as setActivePluginRegistry, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as listProfilesForProvider, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as normalizeChannelId$1, lt as buildEnforcedShellCommand, mr as requireActivePluginRegistry, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as normalizeResolvedSecretInputString, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, or as getChatChannelMeta, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as VERSION, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as resolveSecretInputRef, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as listChatChannels, st as validateSafeBinArgv, tn as retryAsync, tr as hasConfiguredSecretInput, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeChatChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as clearPluginCommands, vt as isShellWrapperExecutable, wn as describeUnknownError$1, wr as triggerInternalHook, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as listPluginCommands, xt as splitShellArgs, yn as markAuthProfileFailure, yr as executePluginCommand, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-Bt-c7PWF.js";
|
|
3
|
+
import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredSquidClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, 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, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-Duwviem_.js";
|
|
5
|
-
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-
|
|
6
|
-
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid, _ as normalizeChatType, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, 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-
|
|
7
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-
|
|
8
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
9
|
-
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
10
|
-
import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-
|
|
11
|
-
import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-
|
|
12
|
-
import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isTransientHttpError, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCompactionFailureError, Ct as isCacheEnabled, D as isLikelyContextOverflowError, Dt as mergeDeliveryContext, E as isFailoverErrorMessage, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageSizeError, Mt as capArrayByJsonBytes, N as sanitizeUserFacingText, Nt as countToolResults, O as isRateLimitAssistantError, Ot as normalizeDeliveryContext, P as isAuthPermanentErrorMessage, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isCloudCodeAssistFormatError, St as updateSessionStoreEntry, T as isFailoverAssistantError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatBillingErrorMessage, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as formatAssistantErrorText, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as parseImageDimensionError, jt as archiveSessionTranscripts, k as isRawApiErrorPayload, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, vt as readSessionUpdatedAt, w as isContextOverflowError, wt as resolveCacheTtlMs$1, x as isBillingAssistantError, xt as updateSessionStore, y as getApiErrorPayloadFingerprint, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-
|
|
13
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
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 chunkDiscordTextWithMode, 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 createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, 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-
|
|
5
|
+
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-DncG0Hx9.js";
|
|
6
|
+
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid, _ as normalizeChatType, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, 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-D3mrhffi.js";
|
|
7
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-BhP3vn1l.js";
|
|
8
|
+
import { t as resolveIMessageAccount } from "./accounts-C5PAuCTj.js";
|
|
9
|
+
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-DV5kR0Hg.js";
|
|
10
|
+
import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-D5lLWoCW.js";
|
|
11
|
+
import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-BSYgrL7E.js";
|
|
12
|
+
import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isTransientHttpError, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCompactionFailureError, Ct as isCacheEnabled, D as isLikelyContextOverflowError, Dt as mergeDeliveryContext, E as isFailoverErrorMessage, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageSizeError, Mt as capArrayByJsonBytes, N as sanitizeUserFacingText, Nt as countToolResults, O as isRateLimitAssistantError, Ot as normalizeDeliveryContext, P as isAuthPermanentErrorMessage, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isCloudCodeAssistFormatError, St as updateSessionStoreEntry, T as isFailoverAssistantError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatBillingErrorMessage, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as formatAssistantErrorText, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as parseImageDimensionError, jt as archiveSessionTranscripts, k as isRawApiErrorPayload, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, vt as readSessionUpdatedAt, w as isContextOverflowError, wt as resolveCacheTtlMs$1, x as isBillingAssistantError, xt as updateSessionStore, y as getApiErrorPayloadFingerprint, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-CxMnPQ37.js";
|
|
13
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DC5cbH9r.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 chunkDiscordTextWithMode, 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 createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, 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-CgkNzAhS.js";
|
|
15
15
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-C0y6vp3r.js";
|
|
16
|
-
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
16
|
+
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CP67O8eN.js";
|
|
17
17
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DtF9ARSD.js";
|
|
18
18
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
19
|
-
import { $ as readChannelAllowFromStore, 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 addChannelAllowFromStoreEntry, 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 isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-
|
|
20
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
21
|
-
import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-
|
|
22
|
-
import { C as ensureSquidClawModelsJson, 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 minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-
|
|
23
|
-
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-
|
|
24
|
-
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-
|
|
25
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
26
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
27
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
28
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
29
|
-
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
30
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
19
|
+
import { $ as readChannelAllowFromStore, 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 addChannelAllowFromStoreEntry, 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 isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-DtA6ngBJ.js";
|
|
20
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DAL_5WHL.js";
|
|
21
|
+
import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-DSScb434.js";
|
|
22
|
+
import { C as ensureSquidClawModelsJson, 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 minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-FK5xhY5u.js";
|
|
23
|
+
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-DB2h0uN0.js";
|
|
24
|
+
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-v0WQqKTa.js";
|
|
25
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DA0MhfkG.js";
|
|
26
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DfACyt0X.js";
|
|
27
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-9oVz7reJ.js";
|
|
28
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DFbwq9CS.js";
|
|
29
|
+
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-CUUXO6rv.js";
|
|
30
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-C_UrNuM3.js";
|
|
31
31
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-D2mQUJdh.js";
|
|
32
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
32
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-ZE5G5UM0.js";
|
|
33
33
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CR10Uz2k.js";
|
|
34
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
35
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
36
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
37
|
-
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-
|
|
38
|
-
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-
|
|
39
|
-
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-
|
|
34
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-cfPCfkrw.js";
|
|
35
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-U25IdeDH.js";
|
|
36
|
+
import { t as makeProxyFetch } from "./proxy-fetch-Cf3IUSDw.js";
|
|
37
|
+
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-MvrkIeKJ.js";
|
|
38
|
+
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-DGZ1oFXJ.js";
|
|
39
|
+
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-Ckfii7h8.js";
|
|
40
40
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-D3HDdlk7.js";
|
|
41
|
-
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as getDiagnosticSessionState, i as logMessageProcessed, l as logWebhookProcessed, m as isDiagnosticsEnabled, n as logLaneDequeue, o as logSessionStateChange, p as emitDiagnosticEvent, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
41
|
+
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as getDiagnosticSessionState, i as logMessageProcessed, l as logWebhookProcessed, m as isDiagnosticsEnabled, n as logLaneDequeue, o as logSessionStateChange, p as emitDiagnosticEvent, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-B6F3BtCX.js";
|
|
42
42
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-BLkab-vw.js";
|
|
43
43
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-BHZKnwxJ.js";
|
|
44
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
45
|
-
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 { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-8OL77kCh.js";
|
|
45
|
+
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-CWmryq5f.js";
|
|
46
46
|
import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
|
|
47
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
47
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-D6Uh2D1D.js";
|
|
48
48
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
49
|
-
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-
|
|
50
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
51
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
52
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
53
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
54
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
49
|
+
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-CuENGOhq.js";
|
|
50
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-cYEaofTH.js";
|
|
51
|
+
import { t as convertMarkdownTables } from "./tables-CJP05iMa.js";
|
|
52
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-Bd3HH2km.js";
|
|
53
|
+
import { n as resolveMemorySearchConfig } from "./manager-ijYHktIt.js";
|
|
54
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-CzjwW461.js";
|
|
55
55
|
import { createRequire } from "node:module";
|
|
56
56
|
import * as path$1 from "node:path";
|
|
57
57
|
import path, { isAbsolute } from "node:path";
|
|
58
58
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
59
59
|
import os, { homedir } from "node:os";
|
|
60
|
-
import
|
|
60
|
+
import json5 from "json5";
|
|
61
61
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
62
62
|
import * as fs$2 from "node:fs/promises";
|
|
63
63
|
import fs$1, { appendFile, mkdir } from "node:fs/promises";
|
|
@@ -1273,7 +1273,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
1273
1273
|
//#region src/media-understanding/echo-transcript.ts
|
|
1274
1274
|
let deliverRuntimePromise$2 = null;
|
|
1275
1275
|
function loadDeliverRuntime$2() {
|
|
1276
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
1276
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-i50kjcNM.js");
|
|
1277
1277
|
return deliverRuntimePromise$2;
|
|
1278
1278
|
}
|
|
1279
1279
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -19374,7 +19374,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
19374
19374
|
*/
|
|
19375
19375
|
let deliverRuntimePromise$1 = null;
|
|
19376
19376
|
function loadDeliverRuntime$1() {
|
|
19377
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
19377
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-i50kjcNM.js");
|
|
19378
19378
|
return deliverRuntimePromise$1;
|
|
19379
19379
|
}
|
|
19380
19380
|
/**
|
|
@@ -19902,7 +19902,7 @@ function normalizeSessionKey(value) {
|
|
|
19902
19902
|
function readSessionStore(storePath) {
|
|
19903
19903
|
try {
|
|
19904
19904
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
19905
|
-
const parsed =
|
|
19905
|
+
const parsed = json5.parse(raw);
|
|
19906
19906
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
19907
19907
|
} catch {}
|
|
19908
19908
|
return {};
|
|
@@ -20124,7 +20124,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
20124
20124
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
20125
20125
|
let subagentRegistryRuntimePromise = null;
|
|
20126
20126
|
function loadSubagentRegistryRuntime() {
|
|
20127
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
20127
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-DVl5xKOW.js");
|
|
20128
20128
|
return subagentRegistryRuntimePromise;
|
|
20129
20129
|
}
|
|
20130
20130
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -30158,7 +30158,7 @@ const VISION_PROVIDERS = [
|
|
|
30158
30158
|
];
|
|
30159
30159
|
let imageRuntimePromise = null;
|
|
30160
30160
|
function loadImageRuntime() {
|
|
30161
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
30161
|
+
imageRuntimePromise ??= import("./image-runtime-B95EPFpg.js");
|
|
30162
30162
|
return imageRuntimePromise;
|
|
30163
30163
|
}
|
|
30164
30164
|
/**
|
|
@@ -32614,7 +32614,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
32614
32614
|
hasTypedText
|
|
32615
32615
|
};
|
|
32616
32616
|
try {
|
|
32617
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
32617
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-tpVm-t9O.js");
|
|
32618
32618
|
if (params.abortSignal?.aborted) return {
|
|
32619
32619
|
hasAudioAttachment,
|
|
32620
32620
|
hasTypedText
|
|
@@ -36352,7 +36352,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
36352
36352
|
await ensureSquidClawModelsJson(cfg);
|
|
36353
36353
|
} catch {}
|
|
36354
36354
|
try {
|
|
36355
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
36355
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-8OL77kCh.js").then((n) => n.r);
|
|
36356
36356
|
const agentDir = resolveSquidClawAgentDir();
|
|
36357
36357
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
36358
36358
|
applyDiscoveredContextWindows({
|
|
@@ -36418,6 +36418,112 @@ function resolveContextTokensForModel(params) {
|
|
|
36418
36418
|
return lookupContextTokens(params.model) ?? params.fallbackContextTokens;
|
|
36419
36419
|
}
|
|
36420
36420
|
|
|
36421
|
+
//#endregion
|
|
36422
|
+
//#region src/agents/agent-tier.ts
|
|
36423
|
+
const PAID_PROVIDERS = ["anthropic", "openai"];
|
|
36424
|
+
function isPaidProvider(modelRef) {
|
|
36425
|
+
const trimmed = modelRef.trim().toLowerCase();
|
|
36426
|
+
for (const provider of PAID_PROVIDERS) if (trimmed.startsWith(provider + "/") || trimmed.startsWith(provider + ":")) return {
|
|
36427
|
+
isPaid: true,
|
|
36428
|
+
provider
|
|
36429
|
+
};
|
|
36430
|
+
return {
|
|
36431
|
+
isPaid: false,
|
|
36432
|
+
provider: ""
|
|
36433
|
+
};
|
|
36434
|
+
}
|
|
36435
|
+
/**
|
|
36436
|
+
* Check if the primary provider's last interaction was a failure
|
|
36437
|
+
* with no successful use after it.
|
|
36438
|
+
*/
|
|
36439
|
+
function isPrimaryLastKnownBroken(store, profileIds, now) {
|
|
36440
|
+
for (const id of profileIds) {
|
|
36441
|
+
const stats = store.usageStats?.[id];
|
|
36442
|
+
if (!stats) continue;
|
|
36443
|
+
if (typeof stats.disabledUntil === "number" && stats.disabledUntil > now) return true;
|
|
36444
|
+
if (typeof stats.cooldownUntil === "number" && stats.cooldownUntil > now && (stats.errorCount ?? 0) > 0) return true;
|
|
36445
|
+
const lastFailure = stats.lastFailureAt ?? 0;
|
|
36446
|
+
const lastSuccess = stats.lastUsed ?? 0;
|
|
36447
|
+
if (lastFailure > 0 && lastFailure > lastSuccess) return true;
|
|
36448
|
+
}
|
|
36449
|
+
return false;
|
|
36450
|
+
}
|
|
36451
|
+
/**
|
|
36452
|
+
* Resolve the fallback flag file path.
|
|
36453
|
+
*/
|
|
36454
|
+
function resolveFallbackFlagPath() {
|
|
36455
|
+
const dir = process.env.SQUIDCLAW_DIR || path.join(process.env.HOME || "/root", ".squidclaw");
|
|
36456
|
+
return path.join(dir, "fallback-active.json");
|
|
36457
|
+
}
|
|
36458
|
+
/**
|
|
36459
|
+
* Read the fallback flag file. Returns null if not present or invalid.
|
|
36460
|
+
*/
|
|
36461
|
+
function readFallbackFlag() {
|
|
36462
|
+
try {
|
|
36463
|
+
const flagPath = resolveFallbackFlagPath();
|
|
36464
|
+
if (!fs.existsSync(flagPath)) return null;
|
|
36465
|
+
const data = JSON.parse(fs.readFileSync(flagPath, "utf8"));
|
|
36466
|
+
if (data && data.active) return data;
|
|
36467
|
+
return null;
|
|
36468
|
+
} catch {
|
|
36469
|
+
return null;
|
|
36470
|
+
}
|
|
36471
|
+
}
|
|
36472
|
+
/**
|
|
36473
|
+
* Write the fallback flag file when primary model fails.
|
|
36474
|
+
*/
|
|
36475
|
+
function writeFallbackFlag(data) {
|
|
36476
|
+
try {
|
|
36477
|
+
const flagPath = resolveFallbackFlagPath();
|
|
36478
|
+
fs.writeFileSync(flagPath, JSON.stringify({
|
|
36479
|
+
active: true,
|
|
36480
|
+
...data,
|
|
36481
|
+
since: Date.now()
|
|
36482
|
+
}));
|
|
36483
|
+
} catch {}
|
|
36484
|
+
}
|
|
36485
|
+
/**
|
|
36486
|
+
* Clear the fallback flag file when primary model recovers.
|
|
36487
|
+
*/
|
|
36488
|
+
function clearFallbackFlag() {
|
|
36489
|
+
try {
|
|
36490
|
+
const flagPath = resolveFallbackFlagPath();
|
|
36491
|
+
if (fs.existsSync(flagPath)) fs.unlinkSync(flagPath);
|
|
36492
|
+
} catch {}
|
|
36493
|
+
}
|
|
36494
|
+
/**
|
|
36495
|
+
* Resolve the current agent tier.
|
|
36496
|
+
*
|
|
36497
|
+
* - "super": Paid provider configured and last known working.
|
|
36498
|
+
* - "degraded": Paid provider configured but last attempt failed (no success since).
|
|
36499
|
+
* - "base": Local/free model only.
|
|
36500
|
+
*/
|
|
36501
|
+
function resolveAgentTier(params) {
|
|
36502
|
+
const primary = resolveAgentModelPrimaryValue(params.cfg?.agents?.defaults?.model);
|
|
36503
|
+
if (!primary) return "base";
|
|
36504
|
+
const { isPaid, provider } = isPaidProvider(primary);
|
|
36505
|
+
if (!isPaid) return "base";
|
|
36506
|
+
if (!resolveEnvApiKey(provider)) return "base";
|
|
36507
|
+
try {
|
|
36508
|
+
const authStore = ensureAuthProfileStore(params.agentDir ?? resolveSquidClawAgentDir(), { allowKeychainPrompt: false });
|
|
36509
|
+
const profileIds = resolveAuthProfileOrder({
|
|
36510
|
+
cfg: params.cfg,
|
|
36511
|
+
store: authStore,
|
|
36512
|
+
provider
|
|
36513
|
+
});
|
|
36514
|
+
if (profileIds.length > 0 && isPrimaryLastKnownBroken(authStore, profileIds, Date.now())) return "degraded";
|
|
36515
|
+
} catch {}
|
|
36516
|
+
if (readFallbackFlag()) return "degraded";
|
|
36517
|
+
return "super";
|
|
36518
|
+
}
|
|
36519
|
+
function formatAgentTierLabel(tier) {
|
|
36520
|
+
switch (tier) {
|
|
36521
|
+
case "super": return "🟢 Super Agent";
|
|
36522
|
+
case "degraded": return "🟠 Basic Agent (degraded)";
|
|
36523
|
+
case "base": return "🟡 Basic Agent";
|
|
36524
|
+
}
|
|
36525
|
+
}
|
|
36526
|
+
|
|
36421
36527
|
//#endregion
|
|
36422
36528
|
//#region src/sessions/model-overrides.ts
|
|
36423
36529
|
function applyModelOverrideToSessionEntry(params) {
|
|
@@ -36491,6 +36597,7 @@ function applyModelOverrideToSessionEntry(params) {
|
|
|
36491
36597
|
}
|
|
36492
36598
|
if (updated) {
|
|
36493
36599
|
delete entry.fallbackNoticeSelectedModel;
|
|
36600
|
+
clearFallbackFlag();
|
|
36494
36601
|
delete entry.fallbackNoticeActiveModel;
|
|
36495
36602
|
delete entry.fallbackNoticeReason;
|
|
36496
36603
|
entry.updatedAt = Date.now();
|
|
@@ -36698,7 +36805,7 @@ async function createModelSelectionState(params) {
|
|
|
36698
36805
|
}
|
|
36699
36806
|
}
|
|
36700
36807
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
36701
|
-
const { ensureAuthProfileStore } = await import("./config-
|
|
36808
|
+
const { ensureAuthProfileStore } = await import("./config-Bt-c7PWF.js").then((n) => n.mn);
|
|
36702
36809
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
36703
36810
|
const providerKey = normalizeProviderId(provider);
|
|
36704
36811
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -44265,27 +44372,27 @@ let slackSenderRuntimePromise = null;
|
|
|
44265
44372
|
let signalSenderRuntimePromise = null;
|
|
44266
44373
|
let imessageSenderRuntimePromise = null;
|
|
44267
44374
|
function loadWhatsAppSenderRuntime() {
|
|
44268
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
44375
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-JKmTtCFM.js");
|
|
44269
44376
|
return whatsappSenderRuntimePromise;
|
|
44270
44377
|
}
|
|
44271
44378
|
function loadTelegramSenderRuntime() {
|
|
44272
|
-
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-
|
|
44379
|
+
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-BW1hSPKh.js");
|
|
44273
44380
|
return telegramSenderRuntimePromise;
|
|
44274
44381
|
}
|
|
44275
44382
|
function loadDiscordSenderRuntime() {
|
|
44276
|
-
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-
|
|
44383
|
+
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-hOYq9ov0.js");
|
|
44277
44384
|
return discordSenderRuntimePromise;
|
|
44278
44385
|
}
|
|
44279
44386
|
function loadSlackSenderRuntime() {
|
|
44280
|
-
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-
|
|
44387
|
+
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-DOZeLIaC.js");
|
|
44281
44388
|
return slackSenderRuntimePromise;
|
|
44282
44389
|
}
|
|
44283
44390
|
function loadSignalSenderRuntime() {
|
|
44284
|
-
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-
|
|
44391
|
+
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-CwEaRyJU.js");
|
|
44285
44392
|
return signalSenderRuntimePromise;
|
|
44286
44393
|
}
|
|
44287
44394
|
function loadIMessageSenderRuntime() {
|
|
44288
|
-
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-
|
|
44395
|
+
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-D5n9DXyL.js");
|
|
44289
44396
|
return imessageSenderRuntimePromise;
|
|
44290
44397
|
}
|
|
44291
44398
|
function createDefaultDeps() {
|
|
@@ -57199,15 +57306,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
57199
57306
|
let slashDispatchRuntimePromise = null;
|
|
57200
57307
|
let slashSkillCommandsRuntimePromise = null;
|
|
57201
57308
|
function loadSlashCommandsRuntime() {
|
|
57202
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
57309
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-BYoxsxkX.js");
|
|
57203
57310
|
return slashCommandsRuntimePromise;
|
|
57204
57311
|
}
|
|
57205
57312
|
function loadSlashDispatchRuntime() {
|
|
57206
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
57313
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-JfFr7bNy.js");
|
|
57207
57314
|
return slashDispatchRuntimePromise;
|
|
57208
57315
|
}
|
|
57209
57316
|
function loadSlashSkillCommandsRuntime() {
|
|
57210
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
57317
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-D0399tia.js");
|
|
57211
57318
|
return slashSkillCommandsRuntimePromise;
|
|
57212
57319
|
}
|
|
57213
57320
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -58197,7 +58304,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
58197
58304
|
}
|
|
58198
58305
|
let auditMembershipRuntimePromise = null;
|
|
58199
58306
|
function loadAuditMembershipRuntime() {
|
|
58200
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
58307
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-DHQDvH4u.js");
|
|
58201
58308
|
return auditMembershipRuntimePromise;
|
|
58202
58309
|
}
|
|
58203
58310
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -58743,6 +58850,22 @@ function buildStatusMessage(args) {
|
|
|
58743
58850
|
activeModelRef: activeModelLabel,
|
|
58744
58851
|
state: entry
|
|
58745
58852
|
});
|
|
58853
|
+
if (!fallbackState.active) {
|
|
58854
|
+
const flag = readFallbackFlag();
|
|
58855
|
+
if (flag) {
|
|
58856
|
+
fallbackState = {
|
|
58857
|
+
active: true,
|
|
58858
|
+
reason: flag.reason || "primary unavailable"
|
|
58859
|
+
};
|
|
58860
|
+
if (flag.activeModel) {
|
|
58861
|
+
const parts = flag.activeModel.split("/");
|
|
58862
|
+
if (parts.length === 2) {
|
|
58863
|
+
activeProvider = parts[0];
|
|
58864
|
+
activeModel = parts[1];
|
|
58865
|
+
}
|
|
58866
|
+
}
|
|
58867
|
+
}
|
|
58868
|
+
}
|
|
58746
58869
|
const effectiveCostAuthMode = fallbackState.active ? activeAuthMode : selectedAuthMode ?? activeAuthMode;
|
|
58747
58870
|
const showCost = effectiveCostAuthMode === "api-key" || effectiveCostAuthMode === "mixed";
|
|
58748
58871
|
const costConfig = showCost ? resolveModelCostConfig({
|
|
@@ -58799,6 +58922,11 @@ function buildStatusMessage(args) {
|
|
|
58799
58922
|
const voiceLine = formatVoiceModeLine(args.config, args.sessionEntry);
|
|
58800
58923
|
return [
|
|
58801
58924
|
versionLine,
|
|
58925
|
+
args.config ? formatAgentTierLabel((() => {
|
|
58926
|
+
const t = resolveAgentTier({ cfg: args.config });
|
|
58927
|
+
if (t === "super" && fallbackState.active) return "degraded";
|
|
58928
|
+
return t;
|
|
58929
|
+
})()) : null,
|
|
58802
58930
|
args.timeLine,
|
|
58803
58931
|
modelLine,
|
|
58804
58932
|
fallbackLine,
|
|
@@ -62890,7 +63018,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
62890
63018
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
62891
63019
|
let preflightTranscript;
|
|
62892
63020
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
62893
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
63021
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-tpVm-t9O.js");
|
|
62894
63022
|
preflightTranscript = await transcribeFirstAudio({
|
|
62895
63023
|
ctx: {
|
|
62896
63024
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -65729,7 +65857,7 @@ function createWhatsAppLoginTool() {
|
|
|
65729
65857
|
force: Type.Optional(Type.Boolean())
|
|
65730
65858
|
}),
|
|
65731
65859
|
execute: async (_toolCallId, args) => {
|
|
65732
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
65860
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-kalCTJEw.js");
|
|
65733
65861
|
if ((args?.action ?? "start") === "wait") {
|
|
65734
65862
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
65735
65863
|
return {
|
|
@@ -65804,23 +65932,23 @@ let webOutboundPromise = null;
|
|
|
65804
65932
|
let webLoginPromise = null;
|
|
65805
65933
|
let whatsappActionsPromise = null;
|
|
65806
65934
|
function loadWebOutbound() {
|
|
65807
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
65935
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-DH8J0Ie7.js");
|
|
65808
65936
|
return webOutboundPromise;
|
|
65809
65937
|
}
|
|
65810
65938
|
function loadWebLogin() {
|
|
65811
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
65939
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-B6EcC22F.js");
|
|
65812
65940
|
return webLoginPromise;
|
|
65813
65941
|
}
|
|
65814
65942
|
function loadWebLoginQr() {
|
|
65815
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
65943
|
+
webLoginQrPromise ??= import("./login-qr-kalCTJEw.js");
|
|
65816
65944
|
return webLoginQrPromise;
|
|
65817
65945
|
}
|
|
65818
65946
|
function loadWebChannel() {
|
|
65819
|
-
webChannelPromise ??= import("./web-
|
|
65947
|
+
webChannelPromise ??= import("./web-CNY_ky8h.js");
|
|
65820
65948
|
return webChannelPromise;
|
|
65821
65949
|
}
|
|
65822
65950
|
function loadWhatsAppActions() {
|
|
65823
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
65951
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-DJmx6ihj.js");
|
|
65824
65952
|
return whatsappActionsPromise;
|
|
65825
65953
|
}
|
|
65826
65954
|
function createRuntimeWhatsApp() {
|
|
@@ -66261,7 +66389,7 @@ const log$11 = createSubsystemLogger("memory");
|
|
|
66261
66389
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
66262
66390
|
let managerRuntimePromise = null;
|
|
66263
66391
|
function loadManagerRuntime() {
|
|
66264
|
-
managerRuntimePromise ??= import("./manager-runtime
|
|
66392
|
+
managerRuntimePromise ??= import("./manager-runtime--JrLQE03.js");
|
|
66265
66393
|
return managerRuntimePromise;
|
|
66266
66394
|
}
|
|
66267
66395
|
async function getMemorySearchManager(params) {
|
|
@@ -66275,7 +66403,7 @@ async function getMemorySearchManager(params) {
|
|
|
66275
66403
|
if (cached) return { manager: cached };
|
|
66276
66404
|
}
|
|
66277
66405
|
try {
|
|
66278
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
66406
|
+
const { QmdMemoryManager } = await import("./qmd-manager-Ov9ElEfG.js");
|
|
66279
66407
|
const primary = await QmdMemoryManager.create({
|
|
66280
66408
|
cfg: params.cfg,
|
|
66281
66409
|
agentId: params.agentId,
|
|
@@ -78919,7 +79047,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
78919
79047
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
78920
79048
|
let beforeToolCallRuntimePromise = null;
|
|
78921
79049
|
function loadBeforeToolCallRuntime() {
|
|
78922
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
79050
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-B7FW36KX.js");
|
|
78923
79051
|
return beforeToolCallRuntimePromise;
|
|
78924
79052
|
}
|
|
78925
79053
|
function buildAdjustedParamsKey(params) {
|
|
@@ -96363,6 +96491,11 @@ async function runReplyAgent(params) {
|
|
|
96363
96491
|
fallbackStateEntry.fallbackNoticeSelectedModel = fallbackTransition.nextState.selectedModel;
|
|
96364
96492
|
fallbackStateEntry.fallbackNoticeActiveModel = fallbackTransition.nextState.activeModel;
|
|
96365
96493
|
fallbackStateEntry.fallbackNoticeReason = fallbackTransition.nextState.reason;
|
|
96494
|
+
writeFallbackFlag({
|
|
96495
|
+
selectedModel: fallbackTransition.nextState.selectedModel,
|
|
96496
|
+
activeModel: fallbackTransition.nextState.activeModel,
|
|
96497
|
+
reason: fallbackTransition.nextState.reason
|
|
96498
|
+
});
|
|
96366
96499
|
fallbackStateEntry.updatedAt = Date.now();
|
|
96367
96500
|
activeSessionEntry = fallbackStateEntry;
|
|
96368
96501
|
}
|
|
@@ -97193,7 +97326,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
97193
97326
|
const log$1 = createSubsystemLogger("session-maintenance-warning");
|
|
97194
97327
|
let deliverRuntimePromise = null;
|
|
97195
97328
|
function loadDeliverRuntime() {
|
|
97196
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
97329
|
+
deliverRuntimePromise ??= import("./deliver-runtime-i50kjcNM.js");
|
|
97197
97330
|
return deliverRuntimePromise;
|
|
97198
97331
|
}
|
|
97199
97332
|
function shouldSendWarning() {
|
package/dist/plugin-sdk/{resolve-outbound-target-DL1adXpk.js → resolve-outbound-target-BeIB_jm0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-
|
|
2
|
-
import { m as missingTargetError } from "./common-
|
|
1
|
+
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-D3mrhffi.js";
|
|
2
|
+
import { m as missingTargetError } from "./common-D5lLWoCW.js";
|
|
3
3
|
|
|
4
4
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
5
5
|
function resolveWhatsAppOutboundTarget(params) {
|
package/dist/plugin-sdk/{run-with-concurrency-DmTrN5JG.js → run-with-concurrency-kVooFCVo.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
|
|
2
2
|
import { c as resolveStateDir, d as resolveRequiredHomeDir } from "./paths-Duwviem_.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import "./config-Bt-c7PWF.js";
|
|
3
|
+
import "./logger-Bg4vIUJn.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-DncG0Hx9.js";
|
|
6
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
7
|
+
import "./session-CnlZn-bR.js";
|
|
8
|
+
import { t as loginWeb } from "./login-8qzl2H7G.js";
|
|
9
|
+
|
|
10
|
+
export { loginWeb };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import "./config-Bt-c7PWF.js";
|
|
3
|
+
import "./logger-Bg4vIUJn.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-DncG0Hx9.js";
|
|
6
|
+
import "./plugins-D3mrhffi.js";
|
|
7
|
+
import "./image-ops-BSYgrL7E.js";
|
|
8
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
9
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
10
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
11
|
+
import "./proxy-env-CUUXO6rv.js";
|
|
12
|
+
import "./fetch-guard-cfPCfkrw.js";
|
|
13
|
+
import "./local-roots-U25IdeDH.js";
|
|
14
|
+
import "./ir-CWmryq5f.js";
|
|
15
|
+
import "./render-95l30zcf.js";
|
|
16
|
+
import "./tables-CJP05iMa.js";
|
|
17
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-BIVf0aPq.js";
|
|
18
|
+
|
|
19
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|