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
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
|
|
|
2
2
|
import { a as logVerbose, d as colorize, f as isRich, g as getResolvedLoggerSettings, h as getLogger, m as getChildLogger, p as theme, s as setVerbose } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { C as sleep, D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, c as ensureDir, r as clamp, y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
4
4
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-44rmAw5o.js";
|
|
5
|
-
import { $ as normalizeOptionalSessionKey, $n as listDescendantRunsForRequester, $t as sleepWithAbort, A as resolveSessionModelRef, Ar as OPENAI_TTS_VOICES, B as triggerSquidClawRestart, Bt as createOutboundSendDeps$1, Cr as resolveTtsConfig, D as loadSessionEntry, Dn as createReplyDispatcher, Dr as setTtsProvider, Dt as readJsonBodyWithLimit, E as loadCombinedSessionStoreForGateway, En as dispatchInboundMessage, Er as setTtsEnabled, Et as handleSlackHttpRequest, F as isGatewaySigusr1RestartExternallyAllowed, Fr as resetAllLanes, Ft as resolveAgentOutboundTarget, G as summarizeRestartSentinel, H as formatDoctorNonInteractiveHint, Ht as getCliSessionId, I as markGatewaySigusr1RestartHandled, Ir as setCommandLaneConcurrency, It as createOutboundSendDeps, J as normalizeHttpWebhookUrl, Jn as countActiveDescendantRuns, Jt as resolveBootstrapWarningSignaturesSeen, Kn as isAbortRequestText, Kr as enqueueSystemEvent, L as scheduleGatewaySigusr1Restart, Ln as resolveOutboundTarget, Lr as waitForActiveTasks, Lt as applyVerboseOverride, M as consumeGatewaySigusr1RestartAuthorization, Mn as resolveOutboundSessionRoute, Mt as agentCommandFromIngress, N as deferGatewayRestartUntilIdle, Nr as getTotalQueueSize, O as pruneLegacyStoreKeys, On as getTotalPendingReplies, Or as textToSpeech, Ot as requestBodyErrorToText, P as emitGatewayRestart, Pr as markGatewayDraining, Pt as resolveAgentDeliveryPlan, Q as normalizeOptionalAgentId, Qt as computeBackoff, R as setGatewaySigusr1RestartPolicy, Rn as resolveSessionDeliveryTarget, Rr as CommandLane, Rt as parseVerboseOverride, S as canonicalizeSpawnedByForAgent, Sr as resolveTtsAutoMode, T as listSessionsFromStore, Tn as formatZonedTimestamp, Tr as resolveTtsProviderOrder, U as formatRestartSentinelMessage, Ur as stripHeartbeatToken, Ut as setCliSessionId, V as consumeRestartSentinel, Vn as resetDirectoryCache, Vt as runWithModelFallback, Wt as runCliAgent, X as normalizeCronJobPatch, Xr as requestHeartbeatNow, Xt as lookupContextTokens, Y as normalizeCronJobCreate, Yt as applyModelOverrideToSessionEntry, Z as inferLegacyName, Zn as initSubagentRegistry, _ as resolveCronStyleNow, _r as clearBootstrapSnapshot, ai as resolveSendPolicy, an as buildSafeExternalPrompt, ar as buildOutboundSessionContext, at as hasLegacyDeliveryHints, br as isTtsProviderConfigured, ci as DEFAULT_INPUT_MAX_REDIRECTS, cn as isExternalHookSession, cr as getAgentRunContext, ct as persistBrowserProxyFiles, di as extractImageContentFromSource, dr as resolveAgentIdentity, en as resolveSessionAuthProfileOverride, et as normalizeOptionalText, f as runEmbeddedPiAgent, fi as normalizeMimeList, ft as loadSquidClawPlugins, gt as normalizeGroupActivation, h as waitForEmbeddedPiRunEnd, hi as resolveAgentTimeoutMs, hr as resolveUserTimezone, ii as normalizeSendPolicy, ir as clearSessionQueues, it as buildDeliveryFromLegacyPayload, jn as ensureOutboundSessionEntry, jr as getActiveTaskCount, k as resolveGatewaySessionStoreTarget, kr as OPENAI_TTS_MODELS, li as DEFAULT_INPUT_TIMEOUT_MS, ln as createReplyPrefixOptions, lr as onAgentEvent, lt as getPluginToolMeta, m as getActiveEmbeddedRunCount, mn as buildHistoryContextFromEntries, n as buildBareSessionResetPrompt, ni as getAcpSessionManager, nr as resolveAnnounceTargetFromKey, nt as normalizeRequiredName, oi as DEFAULT_INPUT_IMAGE_MAX_BYTES, on as detectSuspiciousPatterns, or as clearAgentRunContext, ot as stripLegacyDeliveryFields, p as abortEmbeddedPiRun, pi as resolveInputFileLimits, pt as createPluginRuntime, q as writeRestartSentinel, qn as stopSubagentsForRequester, qr as isSystemEventContextChanged, ri as resolveAgentSessionDirs, rr as readLatestAssistantReply, rt as migrateLegacyCronPayload, si as DEFAULT_INPUT_IMAGE_MIMES, sn as getHookType, sr as emitAgentEvent, st as applyBrowserProxyPaths, ti as ACP_SESSION_IDENTITY_RENDERER_VERSION, tn as resolveAgentAvatar, tr as runSubagentAnnounceFlow, tt as normalizePayloadToSystemText, ui as extractFileContentFromSource, un as unbindThreadBindingsBySessionKey, ur as registerAgentRunContext, ut as resolvePluginTools, v as applyToolPolicyPipeline, vr as getTtsProvider, vt as loadProviderUsageSummary, w as listAgentsForGateway, wr as resolveTtsPrefsPath, wt as resolveAgentOutboundIdentity, x as createSquidClawTools, xr as resolveTtsApiKey, y as buildDefaultToolPolicyPipelineSteps, yr as isTtsEnabled, z as setPreRestartDeferralCheck, zn as resolveOutboundChannelPlugin, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, zt as createDefaultDeps } from "./reply-
|
|
5
|
+
import { $ as normalizeOptionalSessionKey, $n as listDescendantRunsForRequester, $t as sleepWithAbort, A as resolveSessionModelRef, Ar as OPENAI_TTS_VOICES, B as triggerSquidClawRestart, Bt as createOutboundSendDeps$1, Cr as resolveTtsConfig, D as loadSessionEntry, Dn as createReplyDispatcher, Dr as setTtsProvider, Dt as readJsonBodyWithLimit, E as loadCombinedSessionStoreForGateway, En as dispatchInboundMessage, Er as setTtsEnabled, Et as handleSlackHttpRequest, F as isGatewaySigusr1RestartExternallyAllowed, Fr as resetAllLanes, Ft as resolveAgentOutboundTarget, G as summarizeRestartSentinel, H as formatDoctorNonInteractiveHint, Ht as getCliSessionId, I as markGatewaySigusr1RestartHandled, Ir as setCommandLaneConcurrency, It as createOutboundSendDeps, J as normalizeHttpWebhookUrl, Jn as countActiveDescendantRuns, Jt as resolveBootstrapWarningSignaturesSeen, Kn as isAbortRequestText, Kr as enqueueSystemEvent, L as scheduleGatewaySigusr1Restart, Ln as resolveOutboundTarget, Lr as waitForActiveTasks, Lt as applyVerboseOverride, M as consumeGatewaySigusr1RestartAuthorization, Mn as resolveOutboundSessionRoute, Mt as agentCommandFromIngress, N as deferGatewayRestartUntilIdle, Nr as getTotalQueueSize, O as pruneLegacyStoreKeys, On as getTotalPendingReplies, Or as textToSpeech, Ot as requestBodyErrorToText, P as emitGatewayRestart, Pr as markGatewayDraining, Pt as resolveAgentDeliveryPlan, Q as normalizeOptionalAgentId, Qt as computeBackoff, R as setGatewaySigusr1RestartPolicy, Rn as resolveSessionDeliveryTarget, Rr as CommandLane, Rt as parseVerboseOverride, S as canonicalizeSpawnedByForAgent, Sr as resolveTtsAutoMode, T as listSessionsFromStore, Tn as formatZonedTimestamp, Tr as resolveTtsProviderOrder, U as formatRestartSentinelMessage, Ur as stripHeartbeatToken, Ut as setCliSessionId, V as consumeRestartSentinel, Vn as resetDirectoryCache, Vt as runWithModelFallback, Wt as runCliAgent, X as normalizeCronJobPatch, Xr as requestHeartbeatNow, Xt as lookupContextTokens, Y as normalizeCronJobCreate, Yt as applyModelOverrideToSessionEntry, Z as inferLegacyName, Zn as initSubagentRegistry, _ as resolveCronStyleNow, _r as clearBootstrapSnapshot, ai as resolveSendPolicy, an as buildSafeExternalPrompt, ar as buildOutboundSessionContext, at as hasLegacyDeliveryHints, br as isTtsProviderConfigured, ci as DEFAULT_INPUT_MAX_REDIRECTS, cn as isExternalHookSession, cr as getAgentRunContext, ct as persistBrowserProxyFiles, di as extractImageContentFromSource, dr as resolveAgentIdentity, en as resolveSessionAuthProfileOverride, et as normalizeOptionalText, f as runEmbeddedPiAgent, fi as normalizeMimeList, ft as loadSquidClawPlugins, gt as normalizeGroupActivation, h as waitForEmbeddedPiRunEnd, hi as resolveAgentTimeoutMs, hr as resolveUserTimezone, ii as normalizeSendPolicy, ir as clearSessionQueues, it as buildDeliveryFromLegacyPayload, jn as ensureOutboundSessionEntry, jr as getActiveTaskCount, k as resolveGatewaySessionStoreTarget, kr as OPENAI_TTS_MODELS, li as DEFAULT_INPUT_TIMEOUT_MS, ln as createReplyPrefixOptions, lr as onAgentEvent, lt as getPluginToolMeta, m as getActiveEmbeddedRunCount, mn as buildHistoryContextFromEntries, n as buildBareSessionResetPrompt, ni as getAcpSessionManager, nr as resolveAnnounceTargetFromKey, nt as normalizeRequiredName, oi as DEFAULT_INPUT_IMAGE_MAX_BYTES, on as detectSuspiciousPatterns, or as clearAgentRunContext, ot as stripLegacyDeliveryFields, p as abortEmbeddedPiRun, pi as resolveInputFileLimits, pt as createPluginRuntime, q as writeRestartSentinel, qn as stopSubagentsForRequester, qr as isSystemEventContextChanged, ri as resolveAgentSessionDirs, rr as readLatestAssistantReply, rt as migrateLegacyCronPayload, si as DEFAULT_INPUT_IMAGE_MIMES, sn as getHookType, sr as emitAgentEvent, st as applyBrowserProxyPaths, ti as ACP_SESSION_IDENTITY_RENDERER_VERSION, tn as resolveAgentAvatar, tr as runSubagentAnnounceFlow, tt as normalizePayloadToSystemText, ui as extractFileContentFromSource, un as unbindThreadBindingsBySessionKey, ur as registerAgentRunContext, ut as resolvePluginTools, v as applyToolPolicyPipeline, vr as getTtsProvider, vt as loadProviderUsageSummary, w as listAgentsForGateway, wr as resolveTtsPrefsPath, wt as resolveAgentOutboundIdentity, x as createSquidClawTools, xr as resolveTtsApiKey, y as buildDefaultToolPolicyPipelineSteps, yr as isTtsEnabled, z as setPreRestartDeferralCheck, zn as resolveOutboundChannelPlugin, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, zt as createDefaultDeps } from "./reply-DwjHsBuj.js";
|
|
6
6
|
import { A as resolveDefaultAgentWorkspaceDir, C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, O as isWorkspaceOnboardingCompleted, S as DEFAULT_MEMORY_FILENAME, T as DEFAULT_USER_FILENAME, a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, j as resolveWorkspaceTemplateDir, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, x as DEFAULT_MEMORY_ALT_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-C1XMay0T.js";
|
|
7
7
|
import { a as setConsoleSubsystemFilter, d as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
8
8
|
import { C as isCronRunSessionKey, E as parseAgentSessionKey, T as isSubagentSessionKey, _ as normalizeAccountId$1, c as normalizeAgentId, g as DEFAULT_ACCOUNT_ID, h as toAgentStoreSessionKey, l as normalizeMainKey, m as toAgentRequestSessionKey, o as classifySessionKeyShape, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-CIXZm7v4.js";
|
|
@@ -125,7 +125,7 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-D0u9YNYf.
|
|
|
125
125
|
import { n as inheritOptionFromParent } from "./command-options-D0bXi5Pl.js";
|
|
126
126
|
import { t as WizardCancelledError } from "./prompts-knTF_LVq.js";
|
|
127
127
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CvsgDup6.js";
|
|
128
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
128
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-eMSUW-iw.js";
|
|
129
129
|
import { t as isWithinDir } from "./path-safety-BWiXz6D4.js";
|
|
130
130
|
import "./install-safe-path-iCmVuopp.js";
|
|
131
131
|
import "./skill-scanner-rdr9cQew.js";
|
|
@@ -146,20 +146,20 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
146
146
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DwNtcoQg.js";
|
|
147
147
|
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-DwyLBJMC.js";
|
|
148
148
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CdWva-wB.js";
|
|
149
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
150
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-
|
|
149
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-Bh5x6DsW.js";
|
|
150
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-TmpUGSqu.js";
|
|
151
151
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Bz7TCLpb.js";
|
|
152
152
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-e4ysObLI.js";
|
|
153
153
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-B13PBKzd.js";
|
|
154
154
|
import "./onboarding.secret-input-gGUgwqKJ.js";
|
|
155
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
156
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
155
|
+
import { t as runOnboardingWizard } from "./onboarding-CyCSQ__q.js";
|
|
156
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-Ci2sdIKf.js";
|
|
157
157
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CDJE1jBL.js";
|
|
158
158
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-CIz48Rgh.js";
|
|
159
159
|
import "./node-service-xGYkt3vb.js";
|
|
160
160
|
import "./status.update-BNODJGA9.js";
|
|
161
161
|
import { t as installSkill } from "./skills-install-BToW_Zt3.js";
|
|
162
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
162
|
+
import { t as runGatewayUpdate } from "./update-runner-BYGPkHXG.js";
|
|
163
163
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-B-k5DNiQ.js";
|
|
164
164
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
165
165
|
import * as fsSync from "node:fs";
|
|
@@ -13817,7 +13817,7 @@ const nodeHandlers = {
|
|
|
13817
13817
|
const p = params;
|
|
13818
13818
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
13819
13819
|
await respondUnavailableOnThrow(respond, async () => {
|
|
13820
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
13820
|
+
const { handleNodeEvent } = await import("./server-node-events-YN5eJeHa.js");
|
|
13821
13821
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
13822
13822
|
await handleNodeEvent({
|
|
13823
13823
|
deps: context.deps,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
+
import { c as resolveStateDir } from "./paths-DA5srn0U.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/json-file.ts
|
|
7
7
|
function loadJsonFile(pathname) {
|
|
8
8
|
try {
|
|
9
|
-
if (!
|
|
10
|
-
const raw =
|
|
9
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
10
|
+
const raw = syncFs.readFileSync(pathname, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return;
|
|
@@ -15,12 +15,12 @@ function loadJsonFile(pathname) {
|
|
|
15
15
|
}
|
|
16
16
|
function saveJsonFile(pathname, data) {
|
|
17
17
|
const dir = path.dirname(pathname);
|
|
18
|
-
if (!
|
|
18
|
+
if (!syncFs.existsSync(dir)) syncFs.mkdirSync(dir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
mode: 448
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
23
|
+
syncFs.chmodSync(pathname, 384);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as isRich, n as info, p as theme } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { l as escapeRegExp } from "./utils-DMGXr25O.js";
|
|
4
|
-
import { Br as DEFAULT_HEARTBEAT_EVERY, Fn as resolveHeartbeatDeliveryTarget, Hr as resolveHeartbeatPrompt$1, In as resolveHeartbeatSenderContext, Jr as peekSystemEventEntries, Mr as getQueueSize, Qr as resolveHeartbeatReasonKind, Rr as CommandLane, Ur as stripHeartbeatToken, Vr as isHeartbeatContentEffectivelyEmpty, Xr as requestHeartbeatNow, Zr as setHeartbeatWakeHandler, ar as buildOutboundSessionContext, fr as resolveEffectiveMessagesConfig, g as appendCronStyleCurrentTimeLine, hr as resolveUserTimezone, t as getReplyFromConfig, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS } from "./reply-
|
|
4
|
+
import { Br as DEFAULT_HEARTBEAT_EVERY, Fn as resolveHeartbeatDeliveryTarget, Hr as resolveHeartbeatPrompt$1, In as resolveHeartbeatSenderContext, Jr as peekSystemEventEntries, Mr as getQueueSize, Qr as resolveHeartbeatReasonKind, Rr as CommandLane, Ur as stripHeartbeatToken, Vr as isHeartbeatContentEffectivelyEmpty, Xr as requestHeartbeatNow, Zr as setHeartbeatWakeHandler, ar as buildOutboundSessionContext, fr as resolveEffectiveMessagesConfig, g as appendCronStyleCurrentTimeLine, hr as resolveUserTimezone, t as getReplyFromConfig, zr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS } from "./reply-DwjHsBuj.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, i as resolveAgentConfig, u as resolveAgentWorkspaceDir, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-C1XMay0T.js";
|
|
6
6
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DC87CPVS.js";
|
|
7
7
|
import { c as normalizeAgentId, h as toAgentStoreSessionKey, u as resolveAgentIdFromSessionKey } from "./session-key-CIXZm7v4.js";
|
|
@@ -8,7 +8,7 @@ import { c as normalizeAgentId, h as toAgentStoreSessionKey, u as resolveAgentId
|
|
|
8
8
|
import { c as escapeRegExp } from "./utils-D6vohX1h.js";
|
|
9
9
|
import { $ as resolveAgentMainSessionKey, Q as canonicalizeMainSessionAlias, d as updateSessionStore, l as saveSessionStore, o as loadSessionStore } from "./sessions-BWptzMw0.js";
|
|
10
10
|
import { g as resolvePreferredAccountId, m as buildChannelAccountBindings, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BDTkSIi7.js";
|
|
11
|
-
import { Br as getQueueSize, Cr as resolveUserTimezone, Gn as peekSystemEventEntries, Jn as setHeartbeatWakeHandler, Jr as DEFAULT_HEARTBEAT_EVERY, Kr as CommandLane, Tt as resolveHeartbeatSenderContext, Xr as resolveHeartbeatPrompt$1, Yn as resolveHeartbeatReasonKind, Yr as isHeartbeatContentEffectivelyEmpty, Zr as stripHeartbeatToken, br as resolveEffectiveMessagesConfig, dt as appendCronStyleCurrentTimeLine, gn as buildOutboundSessionContext, lt as getReplyFromConfig, qn as requestHeartbeatNow, qr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, wt as resolveHeartbeatDeliveryTarget } from "./subagent-registry-
|
|
11
|
+
import { Br as getQueueSize, Cr as resolveUserTimezone, Gn as peekSystemEventEntries, Jn as setHeartbeatWakeHandler, Jr as DEFAULT_HEARTBEAT_EVERY, Kr as CommandLane, Tt as resolveHeartbeatSenderContext, Xr as resolveHeartbeatPrompt$1, Yn as resolveHeartbeatReasonKind, Yr as isHeartbeatContentEffectivelyEmpty, Zr as stripHeartbeatToken, br as resolveEffectiveMessagesConfig, dt as appendCronStyleCurrentTimeLine, gn as buildOutboundSessionContext, lt as getReplyFromConfig, qn as requestHeartbeatNow, qr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, wt as resolveHeartbeatDeliveryTarget } from "./subagent-registry-CIgFD2oi.js";
|
|
12
12
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-Dn_rzeZN.js";
|
|
13
13
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BlWEBz99.js";
|
|
14
14
|
import { t as HEARTBEAT_TOKEN } from "./tokens-DOVPgjwZ.js";
|
|
@@ -32,7 +32,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
32
32
|
import "./accounts-KzgPbLHP.js";
|
|
33
33
|
import "./send-z-sMjqvX.js";
|
|
34
34
|
import "./send-DEs83M9V.js";
|
|
35
|
-
import "./subagent-registry-
|
|
35
|
+
import "./subagent-registry-CIgFD2oi.js";
|
|
36
36
|
import "./paths-Dn_rzeZN.js";
|
|
37
37
|
import "./chat-envelope-thy05gXR.js";
|
|
38
38
|
import "./client-G9E5HGM2.js";
|
|
@@ -117,7 +117,7 @@ import { a as installPackageDir, c as resolveTimedInstallModeOptions, f as resol
|
|
|
117
117
|
import { t as renderTable } from "./table-DbDCX_6t.js";
|
|
118
118
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-D5vNjk5G.js";
|
|
119
119
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DMFBAUq8.js";
|
|
120
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
120
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-CKtyq4FH.js";
|
|
121
121
|
import path from "node:path";
|
|
122
122
|
import fs from "node:fs";
|
|
123
123
|
import fs$1 from "node:fs/promises";
|
|
@@ -2,7 +2,7 @@ import "./paths-mdt1HFK2.js";
|
|
|
2
2
|
import { p as theme } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { S as shortenHomePath, t as CONFIG_DIR, y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-DwjHsBuj.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C1XMay0T.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-DC87CPVS.js";
|
|
8
8
|
import "./squidclaw-root-CnE19yKj.js";
|
|
@@ -116,7 +116,7 @@ import { a as installPackageDir, c as resolveTimedInstallModeOptions, f as resol
|
|
|
116
116
|
import { t as renderTable } from "./table-BPiDGg8F.js";
|
|
117
117
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-B-k5DNiQ.js";
|
|
118
118
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-Dd_iWcBZ.js";
|
|
119
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
119
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-CPk7dS7F.js";
|
|
120
120
|
import fs from "node:fs";
|
|
121
121
|
import path from "node:path";
|
|
122
122
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { f as isRecord, x as shortenHomeInString } from "./logger-
|
|
3
|
-
import { Wn as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, ir as resolveSquidClawAgentDir, j as requireApiKey, k as getApiKeyForModel, pr as normalizeSecretInput, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { f as isRecord, x as shortenHomeInString } from "./logger-CnTSBL7T.js";
|
|
3
|
+
import { Wn as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, ir as resolveSquidClawAgentDir, j as requireApiKey, k as getApiKeyForModel, pr as normalizeSecretInput, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-DuNLFQPR.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-Di58J7Eh.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-DvzicBMu.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -2254,7 +2254,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
2254
2254
|
//#region src/media-understanding/providers/image.ts
|
|
2255
2255
|
let piModelDiscoveryRuntimePromise = null;
|
|
2256
2256
|
function loadPiModelDiscoveryRuntime() {
|
|
2257
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime
|
|
2257
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime--t6tAlar.js");
|
|
2258
2258
|
return piModelDiscoveryRuntimePromise;
|
|
2259
2259
|
}
|
|
2260
2260
|
async function describeImageWithModel(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as runExec } from "./workspace-
|
|
2
|
-
import { Jt as getActivePluginRegistry, Vt as CHANNEL_IDS, qt as normalizeChatChannelId } from "./model-selection-
|
|
1
|
+
import { _ as runExec } from "./workspace-kVMIaBrV.js";
|
|
2
|
+
import { Jt as getActivePluginRegistry, Vt as CHANNEL_IDS, qt as normalizeChatChannelId } from "./model-selection-DuNLFQPR.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import "./logger-CnTSBL7T.js";
|
|
6
|
+
import "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "./thinking-B75CXkTT.js";
|
|
10
|
+
import "./plugins-DvejjZnJ.js";
|
|
11
|
+
import "./accounts-DwGoZKGm.js";
|
|
12
|
+
import "./accounts-C7pGQPcS.js";
|
|
13
|
+
import "./image-ops-Dg8iraUV.js";
|
|
14
|
+
import "./pi-embedded-helpers-Di58J7Eh.js";
|
|
15
|
+
import "./chrome-OgCChbC_.js";
|
|
16
|
+
import "./frontmatter-Cq1TcIQ2.js";
|
|
17
|
+
import "./skills-CdCS1HeL.js";
|
|
18
|
+
import "./path-alias-guards-DORgbZ1w.js";
|
|
19
|
+
import "./redact-DvzicBMu.js";
|
|
20
|
+
import "./errors-kkRuS2Cs.js";
|
|
21
|
+
import "./fs-safe-BoB4X3GD.js";
|
|
22
|
+
import "./proxy-env-D-fike7s.js";
|
|
23
|
+
import "./store-D9z0dn7D.js";
|
|
24
|
+
import "./accounts-DjhBQg_8.js";
|
|
25
|
+
import "./paths-DSd911Oe.js";
|
|
26
|
+
import "./tool-images-Dp5OiXeA.js";
|
|
27
|
+
import { t as describeImageWithModel } from "./image-kKMG59st.js";
|
|
28
|
+
|
|
29
|
+
export { describeImageWithModel };
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./paths-mdt1HFK2.js";
|
|
|
3
3
|
import { D as tryParseLogLevel, F as hasHelpOrVersion, I as hasRootVersionAlias, N as getVerboseFlag, P as hasFlag, f as isRich, j as getCommandPathWithRootOptions, p as theme, s as setVerbose, w as ALLOWED_LOG_LEVELS } from "./globals-xfUIfxbE.js";
|
|
4
4
|
import { T as toWhatsappJid, l as escapeRegExp, m as normalizeE164, n as assertWebChannel } from "./utils-DMGXr25O.js";
|
|
5
5
|
import "./thinking-44rmAw5o.js";
|
|
6
|
-
import { St as resolveCommitHash, t as getReplyFromConfig, zt as createDefaultDeps } from "./reply-
|
|
6
|
+
import { St as resolveCommitHash, t as getReplyFromConfig, zt as createDefaultDeps } from "./reply-DwjHsBuj.js";
|
|
7
7
|
import "./agent-scope-C1XMay0T.js";
|
|
8
8
|
import { d as defaultRuntime, l as visibleWidth, r as enableConsoleCapture } from "./subsystem-DC87CPVS.js";
|
|
9
9
|
import "./squidclaw-root-CnE19yKj.js";
|
|
@@ -111,7 +111,7 @@ import "./help-format-BMkyP_P-.js";
|
|
|
111
111
|
import "./progress-BHN121Ps.js";
|
|
112
112
|
import "./server-lifecycle-CnZYKJ9s.js";
|
|
113
113
|
import "./stagger-DL-XRpny.js";
|
|
114
|
-
import { r as waitForever, t as monitorWebChannel } from "./channel-web
|
|
114
|
+
import { r as waitForever, t as monitorWebChannel } from "./channel-web-7t1a2N13.js";
|
|
115
115
|
import "./outbound-DrQL-ly5.js";
|
|
116
116
|
import "./session-CZJ5Ux6-.js";
|
|
117
117
|
import "./login-yT1R2N54.js";
|
|
@@ -119,9 +119,9 @@ import { t as isMainModule } from "./is-main-D5LnS2LP.js";
|
|
|
119
119
|
import { t as ensureSquidClawCliOnPath } from "./path-env-kSxA2INU.js";
|
|
120
120
|
import { t as assertSupportedRuntime } from "./runtime-guard-pMNmDPEU.js";
|
|
121
121
|
import "./ports-CXjhFS7T.js";
|
|
122
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
123
|
-
import "./plugin-registry-
|
|
124
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
122
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-DfmCIQ91.js";
|
|
123
|
+
import "./plugin-registry-CXm125Uz.js";
|
|
124
|
+
import { n as resolveCliChannelOptions } from "./channel-options-SijIkAlT.js";
|
|
125
125
|
import process$1 from "node:process";
|
|
126
126
|
import { fileURLToPath } from "node:url";
|
|
127
127
|
import { Command, InvalidArgumentError } from "commander";
|
|
@@ -543,7 +543,7 @@ function loadConfigGuardModule() {
|
|
|
543
543
|
return configGuardModulePromise;
|
|
544
544
|
}
|
|
545
545
|
function loadPluginRegistryModule() {
|
|
546
|
-
pluginRegistryModulePromise ??= import("./plugin-registry-
|
|
546
|
+
pluginRegistryModulePromise ??= import("./plugin-registry-CXm125Uz.js").then((n) => n.n);
|
|
547
547
|
return pluginRegistryModulePromise;
|
|
548
548
|
}
|
|
549
549
|
function getRootCommand(command) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
2
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { y as resolveUserPath } from "./logger-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
5
|
-
import { h as resolveAccountEntry } from "./accounts-
|
|
6
|
-
import { E as kindFromMime, a as hasAlphaChannel, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, k as maxBytesForKind, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, x as extensionForMime } from "./image-ops-
|
|
7
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
1
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-6v7sWnAD.js";
|
|
2
|
+
import { G as normalizeAccountId } from "./workspace-kVMIaBrV.js";
|
|
3
|
+
import { y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-DvejjZnJ.js";
|
|
5
|
+
import { h as resolveAccountEntry } from "./accounts-DwGoZKGm.js";
|
|
6
|
+
import { E as kindFromMime, a as hasAlphaChannel, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, k as maxBytesForKind, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, x as extensionForMime } from "./image-ops-Dg8iraUV.js";
|
|
7
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-BoB4X3GD.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-DP-JjB6Z.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { br as DEFAULT_MODEL, l as parseModelRef, xr as DEFAULT_PROVIDER } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./thinking-
|
|
10
|
-
import "./tokens-
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
12
|
-
import "./plugins-
|
|
13
|
-
import "./accounts-
|
|
14
|
-
import "./send-
|
|
15
|
-
import "./send-
|
|
16
|
-
import "./deliver-
|
|
17
|
-
import "./diagnostic-
|
|
18
|
-
import "./accounts-
|
|
19
|
-
import "./image-ops-
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./pi-model-discovery-
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./chrome-
|
|
24
|
-
import "./frontmatter-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./path-alias-guards-
|
|
27
|
-
import "./redact-
|
|
28
|
-
import "./errors-
|
|
29
|
-
import "./fs-safe-
|
|
30
|
-
import "./proxy-env-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./accounts-
|
|
33
|
-
import "./paths-
|
|
34
|
-
import "./tool-images-
|
|
35
|
-
import "./image-
|
|
36
|
-
import "./audio-transcription-runner-
|
|
37
|
-
import "./fetch-
|
|
38
|
-
import "./fetch-guard-
|
|
39
|
-
import "./api-key-rotation-
|
|
40
|
-
import "./proxy-fetch-
|
|
41
|
-
import "./ir-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import "./logger-CnTSBL7T.js";
|
|
6
|
+
import { br as DEFAULT_MODEL, l as parseModelRef, xr as DEFAULT_PROVIDER } from "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "./thinking-B75CXkTT.js";
|
|
10
|
+
import "./tokens-DfbMVF9y.js";
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-BiC4tIJ8.js";
|
|
12
|
+
import "./plugins-DvejjZnJ.js";
|
|
13
|
+
import "./accounts-DwGoZKGm.js";
|
|
14
|
+
import "./send-DdBbRpTP.js";
|
|
15
|
+
import "./send-BTUU1jWM.js";
|
|
16
|
+
import "./deliver-DMTUTpTM.js";
|
|
17
|
+
import "./diagnostic-CnVwZNbm.js";
|
|
18
|
+
import "./accounts-C7pGQPcS.js";
|
|
19
|
+
import "./image-ops-Dg8iraUV.js";
|
|
20
|
+
import "./send-BGlcHjUD.js";
|
|
21
|
+
import "./pi-model-discovery-V-InbjOM.js";
|
|
22
|
+
import "./pi-embedded-helpers-Di58J7Eh.js";
|
|
23
|
+
import "./chrome-OgCChbC_.js";
|
|
24
|
+
import "./frontmatter-Cq1TcIQ2.js";
|
|
25
|
+
import "./skills-CdCS1HeL.js";
|
|
26
|
+
import "./path-alias-guards-DORgbZ1w.js";
|
|
27
|
+
import "./redact-DvzicBMu.js";
|
|
28
|
+
import "./errors-kkRuS2Cs.js";
|
|
29
|
+
import "./fs-safe-BoB4X3GD.js";
|
|
30
|
+
import "./proxy-env-D-fike7s.js";
|
|
31
|
+
import "./store-D9z0dn7D.js";
|
|
32
|
+
import "./accounts-DjhBQg_8.js";
|
|
33
|
+
import "./paths-DSd911Oe.js";
|
|
34
|
+
import "./tool-images-Dp5OiXeA.js";
|
|
35
|
+
import "./image-kKMG59st.js";
|
|
36
|
+
import "./audio-transcription-runner-Cv0Q47cM.js";
|
|
37
|
+
import "./fetch-DP-JjB6Z.js";
|
|
38
|
+
import "./fetch-guard-BDy975wP.js";
|
|
39
|
+
import "./api-key-rotation-DVyYtQxC.js";
|
|
40
|
+
import "./proxy-fetch-lH6RsRTE.js";
|
|
41
|
+
import "./ir-CKK03mBV.js";
|
|
42
42
|
import "./render-DW7AcFdD.js";
|
|
43
|
-
import "./target-errors-
|
|
44
|
-
import "./commands-registry-
|
|
45
|
-
import "./skill-commands-
|
|
43
|
+
import "./target-errors-DgNRx3Nr.js";
|
|
44
|
+
import "./commands-registry-BJjv8_oR.js";
|
|
45
|
+
import "./skill-commands-Cz45_nme.js";
|
|
46
46
|
import "./fetch-tZXOZ9FV.js";
|
|
47
|
-
import "./channel-activity-
|
|
48
|
-
import "./tables-
|
|
49
|
-
import "./send-
|
|
50
|
-
import "./outbound-attachment-
|
|
51
|
-
import "./send-
|
|
47
|
+
import "./channel-activity-CPpt4XaL.js";
|
|
48
|
+
import "./tables-BTFiZyRU.js";
|
|
49
|
+
import "./send-dTQd-IyJ.js";
|
|
50
|
+
import "./outbound-attachment-DwupUxYF.js";
|
|
51
|
+
import "./send-4nRsZJXH.js";
|
|
52
52
|
import "./proxy-CecQTx_Z.js";
|
|
53
|
-
import "./manager-
|
|
54
|
-
import "./query-expansion-
|
|
53
|
+
import "./manager-DINhLnMi.js";
|
|
54
|
+
import "./query-expansion-Dzxt6kXo.js";
|
|
55
55
|
import fs from "node:fs/promises";
|
|
56
56
|
import os from "node:os";
|
|
57
57
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-DA5srn0U.js";
|
|
2
|
+
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-6v7sWnAD.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import syncFs from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/plain-object.ts
|
|
8
8
|
/**
|
|
@@ -15,14 +15,14 @@ function isPlainObject(value) {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/utils.ts
|
|
17
17
|
async function ensureDir(dir) {
|
|
18
|
-
await
|
|
18
|
+
await syncFs.promises.mkdir(dir, { recursive: true });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Check if a file or directory exists at the given path.
|
|
22
22
|
*/
|
|
23
23
|
async function pathExists(targetPath) {
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await syncFs.promises.access(targetPath);
|
|
26
26
|
return true;
|
|
27
27
|
} catch {
|
|
28
28
|
return false;
|
|
@@ -105,7 +105,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
105
105
|
for (const dir of mappingDirs) {
|
|
106
106
|
const mappingPath = path.join(dir, mappingFilename);
|
|
107
107
|
try {
|
|
108
|
-
const data =
|
|
108
|
+
const data = syncFs.readFileSync(mappingPath, "utf8");
|
|
109
109
|
const phone = JSON.parse(data);
|
|
110
110
|
if (phone === null || phone === void 0) continue;
|
|
111
111
|
return normalizeE164(String(phone));
|
|
@@ -190,7 +190,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
190
190
|
if (override) return resolveUserPath(override);
|
|
191
191
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".squidclaw");
|
|
192
192
|
try {
|
|
193
|
-
if (
|
|
193
|
+
if (syncFs.existsSync(newDir)) return newDir;
|
|
194
194
|
} catch {}
|
|
195
195
|
return newDir;
|
|
196
196
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
2
|
-
import { r as logInfo } from "./logger-
|
|
3
|
-
import { X as loadConfig, lr as formatCliCommand } from "./model-selection-
|
|
4
|
-
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-
|
|
5
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
1
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-6v7sWnAD.js";
|
|
2
|
+
import { r as logInfo } from "./logger-CnTSBL7T.js";
|
|
3
|
+
import { X as loadConfig, lr as formatCliCommand } from "./model-selection-DuNLFQPR.js";
|
|
4
|
+
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-DwGoZKGm.js";
|
|
5
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CnCwDJke.js";
|
|
6
6
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
7
7
|
|
|
8
8
|
//#region src/web/login.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { r as logInfo } from "./logger-
|
|
6
|
-
import { X as loadConfig } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-
|
|
10
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import { r as logInfo } from "./logger-CnTSBL7T.js";
|
|
6
|
+
import { X as loadConfig } from "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-DwGoZKGm.js";
|
|
10
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CnCwDJke.js";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
13
13
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { E as truncateUtf16Safe, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Zn as isTruthyEnvValue, fr as normalizeOptionalSecretInput, gr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-
|
|
6
|
-
import { r as formatErrorMessage } from "./errors-
|
|
7
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-DA5srn0U.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import { E as truncateUtf16Safe, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-CnTSBL7T.js";
|
|
5
|
+
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Zn as isTruthyEnvValue, fr as normalizeOptionalSecretInput, gr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-DuNLFQPR.js";
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-kkRuS2Cs.js";
|
|
7
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DSd911Oe.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
9
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
9
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BDy975wP.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DVyYtQxC.js";
|
|
11
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-Dzxt6kXo.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import syncFs from "node:fs";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
import chokidar from "chokidar";
|
|
18
18
|
import { createInterface } from "node:readline";
|
|
@@ -719,7 +719,7 @@ function canAutoSelectLocal(options) {
|
|
|
719
719
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
720
720
|
const resolved = resolveUserPath(modelPath);
|
|
721
721
|
try {
|
|
722
|
-
return
|
|
722
|
+
return syncFs.statSync(resolved).isFile();
|
|
723
723
|
} catch {
|
|
724
724
|
return false;
|
|
725
725
|
}
|
|
@@ -2243,7 +2243,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2243
2243
|
]);
|
|
2244
2244
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2245
2245
|
for (const entry of additionalPaths) try {
|
|
2246
|
-
const stat =
|
|
2246
|
+
const stat = syncFs.lstatSync(entry);
|
|
2247
2247
|
if (stat.isSymbolicLink()) continue;
|
|
2248
2248
|
if (stat.isDirectory()) {
|
|
2249
2249
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./run-with-concurrency-BFR3ReeF.js";
|
|
2
|
+
import "./paths-DA5srn0U.js";
|
|
3
|
+
import "./subsystem-6v7sWnAD.js";
|
|
4
|
+
import "./workspace-kVMIaBrV.js";
|
|
5
|
+
import "./logger-CnTSBL7T.js";
|
|
6
|
+
import "./model-selection-DuNLFQPR.js";
|
|
7
|
+
import "./github-copilot-token-B5cPlwaz.js";
|
|
8
|
+
import "./legacy-names-aGJJuzM_.js";
|
|
9
|
+
import "./redact-DvzicBMu.js";
|
|
10
|
+
import "./errors-kkRuS2Cs.js";
|
|
11
|
+
import "./proxy-env-D-fike7s.js";
|
|
12
|
+
import "./paths-DSd911Oe.js";
|
|
13
|
+
import "./fetch-guard-BDy975wP.js";
|
|
14
|
+
import "./api-key-rotation-DVyYtQxC.js";
|
|
15
|
+
import { t as MemoryIndexManager } from "./manager-DINhLnMi.js";
|
|
16
|
+
import "./query-expansion-Dzxt6kXo.js";
|
|
17
|
+
|
|
18
|
+
export { MemoryIndexManager };
|