squidclaw 3.0.22 → 3.0.23
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-DwGoZKGm.js → accounts-B6F_XCgS.js} +17 -17
- package/dist/{accounts-DjhBQg_8.js → accounts-Bkb-J8V6.js} +2 -2
- package/dist/{accounts-C7pGQPcS.js → accounts-s5e9zidf.js} +2 -2
- package/dist/{active-listener-DPc_PGsA.js → active-listener-6-Svu8Dx.js} +2 -2
- package/dist/{api-key-rotation-DVyYtQxC.js → api-key-rotation-TRwuCWbu.js} +2 -2
- package/dist/{audio-preflight-xfe9w6_6.js → audio-preflight-1KULThhV.js} +32 -32
- package/dist/{audio-transcription-runner-CqKnvAJf.js → audio-transcription-runner-C3N9eAGM.js} +12 -12
- package/dist/{audit-membership-runtime-DyLj-uhz.js → audit-membership-runtime-w23FnNAN.js} +4 -4
- 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 +53 -53
- package/dist/{channel-activity-CPpt4XaL.js → channel-activity-CxJbx4sD.js} +3 -3
- package/dist/{chrome-x5E5XzEB.js → chrome-Qbvnl6so.js} +26 -26
- package/dist/{commands-registry-BJjv8_oR.js → commands-registry-B44COZFz.js} +4 -4
- package/dist/{deliver-h7T-Od1d.js → deliver-BC5egJvm.js} +21 -21
- package/dist/deliver-runtime-B6NtHUuv.js +36 -0
- package/dist/deps-send-discord.runtime-CUTAK2hy.js +26 -0
- package/dist/deps-send-imessage.runtime-CQOiEIuA.js +25 -0
- package/dist/deps-send-signal.runtime-wN7MkzLw.js +24 -0
- package/dist/deps-send-slack.runtime-HEEwW4uU.js +22 -0
- package/dist/deps-send-telegram.runtime-DHlcnjQO.js +27 -0
- package/dist/deps-send-whatsapp.runtime-C2x2R2Ow.js +60 -0
- package/dist/{diagnostic-CnVwZNbm.js → diagnostic-C2lklhkn.js} +2 -2
- package/dist/{errors-kkRuS2Cs.js → errors-DfgAh2Ml.js} +1 -1
- package/dist/{fetch-DP-JjB6Z.js → fetch-b8tSR7_e.js} +5 -5
- package/dist/{fetch-guard-BDy975wP.js → fetch-guard-D16tjNsZ.js} +2 -2
- package/dist/{frontmatter-Cq1TcIQ2.js → frontmatter-CjKtFduT.js} +3 -3
- package/dist/{fs-safe-BoB4X3GD.js → fs-safe-CwHbZdFH.js} +4 -4
- package/dist/{github-copilot-token-B5cPlwaz.js → github-copilot-token-Cw3tAXM9.js} +7 -7
- package/dist/{image-Cepp_eYU.js → image-ByqExb8z.js} +6 -6
- package/dist/{image-ops-Dg8iraUV.js → image-ops-BoN1E_WZ.js} +2 -2
- package/dist/image-runtime-BSVF52oe.js +29 -0
- package/dist/{ir-CKK03mBV.js → ir-Dut0zXyS.js} +8 -8
- package/dist/{legacy-names-aGJJuzM_.js → legacy-names-B0wgIP0Q.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-CnTSBL7T.js → logger-oGKcCLZ5.js} +7 -7
- package/dist/{login-CeKDrz6_.js → login-DJ357UQV.js} +5 -5
- package/dist/{login-qr-KbOpR0GQ.js → login-qr-C0fDBnpM.js} +10 -10
- package/dist/{manager-DINhLnMi.js → manager-BPGhs30n.js} +13 -13
- package/dist/manager-runtime-BB9lcoFR.js +18 -0
- package/dist/{model-selection-DuNLFQPR.js → model-selection-CHnojCCK.js} +43 -43
- package/dist/{outbound-attachment-DwupUxYF.js → outbound-attachment-rlW7G5df.js} +2 -2
- package/dist/{outbound-C9svt6RH.js → outbound-qTioiTJg.js} +6 -6
- package/dist/{path-alias-guards-DORgbZ1w.js → path-alias-guards-Cpsiv2KL.js} +1 -1
- package/dist/{paths-DA5srn0U.js → paths-CSdAWKDO.js} +5 -5
- package/dist/{paths-DSd911Oe.js → paths-CXClY8zC.js} +4 -4
- package/dist/{pi-embedded-BjRmfjDB.js → pi-embedded-DUtpCH0X.js} +171 -171
- package/dist/{pi-embedded-helpers-BvJVQtA3.js → pi-embedded-helpers-CYR1UemI.js} +52 -52
- package/dist/{pi-model-discovery-V-InbjOM.js → pi-model-discovery-o-WX5w2t.js} +7 -7
- package/dist/pi-model-discovery-runtime-DBkQoIJw.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-Bpk4qTgV.js → pi-tools.before-tool-call.runtime-B_LUttg1.js} +9 -9
- 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/{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-Sj8reff_.js → channel-web-CbeCrQ4C.js} +18 -18
- 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/{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-JKmTtCFM.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DKsyROPi.js → diagnostic-B6F3BtCX.js} +2 -2
- package/dist/plugin-sdk/{errors-CgRPdp3o.js → 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/{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/{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-C_eN3l25.js → reply-Dfjh1YtV.js} +73 -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-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-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-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-DvejjZnJ.js → plugins-AqsVZZk3.js} +11 -11
- package/dist/{proxy-env-D-fike7s.js → proxy-env-DXXfs2WL.js} +1 -1
- package/dist/{proxy-fetch-lH6RsRTE.js → proxy-fetch-C2v-Utgg.js} +1 -1
- package/dist/{pw-ai-DOeiV3Pj.js → pw-ai-1NQPuno2.js} +14 -14
- package/dist/{qmd-manager-BN0siR2Z.js → qmd-manager-CO-shcLU.js} +10 -10
- package/dist/{query-expansion-Dzxt6kXo.js → query-expansion-DlQOkf-g.js} +6 -6
- package/dist/{redact-DvzicBMu.js → redact-NmPEVjIo.js} +1 -1
- package/dist/{run-with-concurrency-BFR3ReeF.js → run-with-concurrency-FczpX8ng.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-DumUjKRz.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-Cgu2MfqR.js +22 -0
- package/dist/{send-dTQd-IyJ.js → send-B5QEmMJ4.js} +5 -5
- package/dist/{send-DdBbRpTP.js → send-B9H0BkfO.js} +6 -6
- package/dist/{send-4nRsZJXH.js → send-Bx9CqcZr.js} +7 -7
- package/dist/{send-BGlcHjUD.js → send-D5D0ZGht.js} +26 -26
- package/dist/{send-BTUU1jWM.js → send-DtHQ7_6Z.js} +8 -8
- package/dist/{session-CnCwDJke.js → session-DLTCuoUD.js} +8 -8
- package/dist/{skill-commands-Cz45_nme.js → skill-commands-BwTLQRR8.js} +9 -9
- package/dist/{skills-CdCS1HeL.js → skills-B9N2bqKU.js} +22 -22
- package/dist/slash-commands.runtime-CjBXruwG.js +16 -0
- package/dist/slash-dispatch.runtime-CGd3HarH.js +56 -0
- package/dist/slash-skill-commands.runtime-DYK20Lxf.js +20 -0
- package/dist/{store-D9z0dn7D.js → store-CvQ41zCV.js} +2 -2
- package/dist/subagent-registry-runtime-m9bFJFix.js +56 -0
- package/dist/{subsystem-6v7sWnAD.js → subsystem-BaLYRf7D.js} +14 -14
- package/dist/{tables-BTFiZyRU.js → tables-BRYYxYs7.js} +1 -1
- package/dist/{target-errors-DgNRx3Nr.js → target-errors-D0ZJUbbf.js} +2 -2
- package/dist/{thinking-B75CXkTT.js → thinking-B-A99X3F.js} +7 -7
- package/dist/{tokens-DfbMVF9y.js → tokens-D2XhLqIz.js} +1 -1
- package/dist/{tool-images-Dp5OiXeA.js → tool-images-Zn6jVmkX.js} +2 -2
- package/dist/{web-sFV1riEV.js → web-CEdWU_u3.js} +55 -55
- package/dist/{whatsapp-actions-CzqsuSGx.js → whatsapp-actions-Cuy0qeQK.js} +21 -21
- package/dist/{workspace-kVMIaBrV.js → workspace-TqfVSQuO.js} +20 -20
- package/docs/reference/templates/MEMORY.md +3 -0
- package/docs/reference/templates/USER.md +9 -0
- package/package.json +1 -1
- package/dist/deliver-runtime-BKO22_He.js +0 -36
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +0 -26
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +0 -25
- package/dist/deps-send-signal.runtime-CuVJyw7n.js +0 -24
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +0 -22
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +0 -27
- package/dist/deps-send-whatsapp.runtime-DIdFPzJE.js +0 -60
- package/dist/image-runtime-BTfDy-um.js +0 -29
- package/dist/manager-runtime-D6ckUNSs.js +0 -18
- package/dist/pi-model-discovery-runtime--t6tAlar.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-BpMl725h.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-BpWhUY9B.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-DGd_JSWX.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-TEkOfcqG.js +0 -52
- package/dist/plugin-sdk/web-CmLgZUIO.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-DxV9iv6l.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +0 -22
- package/dist/slash-commands.runtime-CZz6v6b3.js +0 -16
- package/dist/slash-dispatch.runtime-CYsywpzU.js +0 -56
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +0 -20
- package/dist/subagent-registry-runtime-DS-c6Duv.js +0 -56
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-
|
|
2
|
-
import { L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, y as resolveUserPath } from "./logger-Bg4vIUJn.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-Duwviem_.js";
|
|
4
4
|
import { t as createAsyncLock } from "./json-files-DtF9ARSD.js";
|
|
5
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
6
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
5
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-v0WQqKTa.js";
|
|
6
|
+
import { i as listChatCommands } from "./commands-registry-DGZ1oFXJ.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as resolveSquidClawPackageRootSync, H as normalizeSkillFilter, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { $n as parseBooleanValue, J as resolveMemorySlotDecision, K as normalizePluginsConfig, U as LEGACY_MANIFEST_KEYS, W as MANIFEST_KEY, Xn as isDangerousHostEnvVarName, kn as isPathInsideWithRealpath, nr as normalizeResolvedSecretInputString, q as resolveEffectiveEnableState, z as loadPluginManifestRegistry } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { E as resolveSquidClawPackageRootSync, H as normalizeSkillFilter, z as isPathInside } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { $n as parseBooleanValue, J as resolveMemorySlotDecision, K as normalizePluginsConfig, U as LEGACY_MANIFEST_KEYS, W as MANIFEST_KEY, Xn as isDangerousHostEnvVarName, kn as isPathInsideWithRealpath, nr as normalizeResolvedSecretInputString, q as resolveEffectiveEnableState, z as loadPluginManifestRegistry } from "./config-Bt-c7PWF.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR, y as resolveUserPath } from "./logger-Bg4vIUJn.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DA0MhfkG.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
10
10
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
11
11
|
import YAML from "yaml";
|
|
@@ -285,7 +285,7 @@ function resolveSquidClawManifestBlock(params) {
|
|
|
285
285
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
286
286
|
if (!raw) return;
|
|
287
287
|
try {
|
|
288
|
-
const parsed =
|
|
288
|
+
const parsed = json5.parse(raw);
|
|
289
289
|
if (!parsed || typeof parsed !== "object") return;
|
|
290
290
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
291
291
|
for (const key of manifestKeys) {
|
|
@@ -0,0 +1,13 @@
|
|
|
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 "./thinking-BhP3vn1l.js";
|
|
8
|
+
import "./accounts-C5PAuCTj.js";
|
|
9
|
+
import "./accounts-DC5cbH9r.js";
|
|
10
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
11
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-DGZ1oFXJ.js";
|
|
12
|
+
|
|
13
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,52 @@
|
|
|
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 "./thinking-BhP3vn1l.js";
|
|
8
|
+
import "./accounts-C5PAuCTj.js";
|
|
9
|
+
import "./send-DV5kR0Hg.js";
|
|
10
|
+
import "./common-D5lLWoCW.js";
|
|
11
|
+
import { H as finalizeInboundContext, O as resolveAgentRoute, S as dispatchReplyWithDispatcher, o as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, u as createReplyPrefixOptions } from "./reply-Dfjh1YtV.js";
|
|
12
|
+
import "./image-ops-BSYgrL7E.js";
|
|
13
|
+
import { rn as resolveConversationLabel } from "./pi-embedded-helpers-CxMnPQ37.js";
|
|
14
|
+
import "./accounts-DC5cbH9r.js";
|
|
15
|
+
import "./send-CgkNzAhS.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-CP67O8eN.js";
|
|
18
|
+
import "./send-DtA6ngBJ.js";
|
|
19
|
+
import "./tokens-DAL_5WHL.js";
|
|
20
|
+
import "./audio-transcription-runner-DSScb434.js";
|
|
21
|
+
import "./image-FK5xhY5u.js";
|
|
22
|
+
import "./chrome-DB2h0uN0.js";
|
|
23
|
+
import "./skills-v0WQqKTa.js";
|
|
24
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
25
|
+
import "./redact-DfACyt0X.js";
|
|
26
|
+
import "./errors-9oVz7reJ.js";
|
|
27
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
28
|
+
import "./proxy-env-CUUXO6rv.js";
|
|
29
|
+
import "./store-C_UrNuM3.js";
|
|
30
|
+
import "./tool-images-ZE5G5UM0.js";
|
|
31
|
+
import "./fetch-guard-cfPCfkrw.js";
|
|
32
|
+
import "./api-key-rotation-BAZ0GD26.js";
|
|
33
|
+
import "./local-roots-U25IdeDH.js";
|
|
34
|
+
import "./proxy-fetch-Cf3IUSDw.js";
|
|
35
|
+
import "./deliver-MvrkIeKJ.js";
|
|
36
|
+
import "./commands-registry-DGZ1oFXJ.js";
|
|
37
|
+
import "./skill-commands-Ckfii7h8.js";
|
|
38
|
+
import "./fetch-D3HDdlk7.js";
|
|
39
|
+
import "./diagnostic-B6F3BtCX.js";
|
|
40
|
+
import "./pi-model-discovery-8OL77kCh.js";
|
|
41
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-CWmryq5f.js";
|
|
42
|
+
import "./render-95l30zcf.js";
|
|
43
|
+
import "./send-D6Uh2D1D.js";
|
|
44
|
+
import "./outbound-attachment-F5tzeNUD.js";
|
|
45
|
+
import "./send-CuENGOhq.js";
|
|
46
|
+
import "./channel-activity-cYEaofTH.js";
|
|
47
|
+
import "./tables-CJP05iMa.js";
|
|
48
|
+
import "./proxy-BOZmkV9K.js";
|
|
49
|
+
import "./manager-ijYHktIt.js";
|
|
50
|
+
import "./query-expansion-CzjwW461.js";
|
|
51
|
+
|
|
52
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,16 @@
|
|
|
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 "./thinking-BhP3vn1l.js";
|
|
8
|
+
import "./accounts-C5PAuCTj.js";
|
|
9
|
+
import "./accounts-DC5cbH9r.js";
|
|
10
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
11
|
+
import "./skills-v0WQqKTa.js";
|
|
12
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
13
|
+
import "./commands-registry-DGZ1oFXJ.js";
|
|
14
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-Ckfii7h8.js";
|
|
15
|
+
|
|
16
|
+
export { listSkillCommandsForAgents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as resolveConfigDir } from "./logger-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { _ as resolveConfigDir } from "./logger-Bg4vIUJn.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BSYgrL7E.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs$1 from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -0,0 +1,52 @@
|
|
|
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 "./thinking-BhP3vn1l.js";
|
|
8
|
+
import "./accounts-C5PAuCTj.js";
|
|
9
|
+
import "./send-DV5kR0Hg.js";
|
|
10
|
+
import "./common-D5lLWoCW.js";
|
|
11
|
+
import { F as resolveRequesterForChildSession, M as countPendingDescendantRuns, N as countPendingDescendantRunsExcludingRun, P as isSubagentSessionRunActive, j as countActiveDescendantRuns } from "./reply-Dfjh1YtV.js";
|
|
12
|
+
import "./image-ops-BSYgrL7E.js";
|
|
13
|
+
import "./pi-embedded-helpers-CxMnPQ37.js";
|
|
14
|
+
import "./accounts-DC5cbH9r.js";
|
|
15
|
+
import "./send-CgkNzAhS.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-CP67O8eN.js";
|
|
18
|
+
import "./send-DtA6ngBJ.js";
|
|
19
|
+
import "./tokens-DAL_5WHL.js";
|
|
20
|
+
import "./audio-transcription-runner-DSScb434.js";
|
|
21
|
+
import "./image-FK5xhY5u.js";
|
|
22
|
+
import "./chrome-DB2h0uN0.js";
|
|
23
|
+
import "./skills-v0WQqKTa.js";
|
|
24
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
25
|
+
import "./redact-DfACyt0X.js";
|
|
26
|
+
import "./errors-9oVz7reJ.js";
|
|
27
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
28
|
+
import "./proxy-env-CUUXO6rv.js";
|
|
29
|
+
import "./store-C_UrNuM3.js";
|
|
30
|
+
import "./tool-images-ZE5G5UM0.js";
|
|
31
|
+
import "./fetch-guard-cfPCfkrw.js";
|
|
32
|
+
import "./api-key-rotation-BAZ0GD26.js";
|
|
33
|
+
import "./local-roots-U25IdeDH.js";
|
|
34
|
+
import "./proxy-fetch-Cf3IUSDw.js";
|
|
35
|
+
import "./deliver-MvrkIeKJ.js";
|
|
36
|
+
import "./commands-registry-DGZ1oFXJ.js";
|
|
37
|
+
import "./skill-commands-Ckfii7h8.js";
|
|
38
|
+
import "./fetch-D3HDdlk7.js";
|
|
39
|
+
import "./diagnostic-B6F3BtCX.js";
|
|
40
|
+
import "./pi-model-discovery-8OL77kCh.js";
|
|
41
|
+
import "./ir-CWmryq5f.js";
|
|
42
|
+
import "./render-95l30zcf.js";
|
|
43
|
+
import "./send-D6Uh2D1D.js";
|
|
44
|
+
import "./outbound-attachment-F5tzeNUD.js";
|
|
45
|
+
import "./send-CuENGOhq.js";
|
|
46
|
+
import "./channel-activity-cYEaofTH.js";
|
|
47
|
+
import "./tables-CJP05iMa.js";
|
|
48
|
+
import "./proxy-BOZmkV9K.js";
|
|
49
|
+
import "./manager-ijYHktIt.js";
|
|
50
|
+
import "./query-expansion-CzjwW461.js";
|
|
51
|
+
|
|
52
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { ar as CHAT_CHANNEL_ORDER, mr as requireActivePluginRegistry, or as getChatChannelMeta } from "./config-
|
|
3
|
-
import { h as normalizeE164, u as escapeRegExp } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, v as resolveAccountEntry } from "./accounts-
|
|
5
|
-
import { C as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
7
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { ar as CHAT_CHANNEL_ORDER, mr as requireActivePluginRegistry, or as getChatChannelMeta } from "./config-Bt-c7PWF.js";
|
|
3
|
+
import { h as normalizeE164, u as escapeRegExp } from "./logger-Bg4vIUJn.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, v as resolveAccountEntry } from "./accounts-DncG0Hx9.js";
|
|
5
|
+
import { C as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-D3mrhffi.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-C5PAuCTj.js";
|
|
7
|
+
import { n as resolveSignalAccount } from "./accounts-DC5cbH9r.js";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/normalize/shared.ts
|
|
10
10
|
function trimMessagingTarget(raw) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { O as createSubsystemLogger } from "./logger-Bg4vIUJn.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BSYgrL7E.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-DncG0Hx9.js";
|
|
6
|
+
import "./plugins-D3mrhffi.js";
|
|
7
|
+
import "./thinking-BhP3vn1l.js";
|
|
8
|
+
import "./accounts-C5PAuCTj.js";
|
|
9
|
+
import "./send-DV5kR0Hg.js";
|
|
10
|
+
import "./common-D5lLWoCW.js";
|
|
11
|
+
import "./reply-Dfjh1YtV.js";
|
|
12
|
+
import "./image-ops-BSYgrL7E.js";
|
|
13
|
+
import "./pi-embedded-helpers-CxMnPQ37.js";
|
|
14
|
+
import "./accounts-DC5cbH9r.js";
|
|
15
|
+
import "./send-CgkNzAhS.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-CP67O8eN.js";
|
|
18
|
+
import "./send-DtA6ngBJ.js";
|
|
19
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-CbeCrQ4C.js";
|
|
20
|
+
import "./tokens-DAL_5WHL.js";
|
|
21
|
+
import "./audio-transcription-runner-DSScb434.js";
|
|
22
|
+
import "./image-FK5xhY5u.js";
|
|
23
|
+
import "./chrome-DB2h0uN0.js";
|
|
24
|
+
import "./skills-v0WQqKTa.js";
|
|
25
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
26
|
+
import "./redact-DfACyt0X.js";
|
|
27
|
+
import "./errors-9oVz7reJ.js";
|
|
28
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
29
|
+
import "./proxy-env-CUUXO6rv.js";
|
|
30
|
+
import "./store-C_UrNuM3.js";
|
|
31
|
+
import "./tool-images-ZE5G5UM0.js";
|
|
32
|
+
import "./fetch-guard-cfPCfkrw.js";
|
|
33
|
+
import "./api-key-rotation-BAZ0GD26.js";
|
|
34
|
+
import "./local-roots-U25IdeDH.js";
|
|
35
|
+
import "./proxy-fetch-Cf3IUSDw.js";
|
|
36
|
+
import "./deliver-MvrkIeKJ.js";
|
|
37
|
+
import "./commands-registry-DGZ1oFXJ.js";
|
|
38
|
+
import "./skill-commands-Ckfii7h8.js";
|
|
39
|
+
import "./fetch-D3HDdlk7.js";
|
|
40
|
+
import "./diagnostic-B6F3BtCX.js";
|
|
41
|
+
import "./pi-model-discovery-8OL77kCh.js";
|
|
42
|
+
import "./ir-CWmryq5f.js";
|
|
43
|
+
import "./render-95l30zcf.js";
|
|
44
|
+
import "./send-D6Uh2D1D.js";
|
|
45
|
+
import "./outbound-attachment-F5tzeNUD.js";
|
|
46
|
+
import "./send-CuENGOhq.js";
|
|
47
|
+
import "./channel-activity-cYEaofTH.js";
|
|
48
|
+
import "./tables-CJP05iMa.js";
|
|
49
|
+
import "./proxy-BOZmkV9K.js";
|
|
50
|
+
import "./manager-ijYHktIt.js";
|
|
51
|
+
import "./query-expansion-CzjwW461.js";
|
|
52
|
+
import { t as sendMessageWhatsApp } from "./outbound-BIVf0aPq.js";
|
|
53
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-CnlZn-bR.js";
|
|
54
|
+
import { t as loginWeb } from "./login-8qzl2H7G.js";
|
|
55
|
+
|
|
56
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import "./logger-
|
|
1
|
+
import "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import "./config-Bt-c7PWF.js";
|
|
3
|
+
import "./logger-Bg4vIUJn.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import { f as readStringParam, l as readReactionParams, o as jsonResult, r as createActionGate, t as ToolAuthorizationError } from "./common-
|
|
8
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
9
|
-
import "./image-ops-
|
|
5
|
+
import { i as resolveWhatsAppAccount } from "./accounts-DncG0Hx9.js";
|
|
6
|
+
import "./plugins-D3mrhffi.js";
|
|
7
|
+
import { f as readStringParam, l as readReactionParams, o as jsonResult, r as createActionGate, t as ToolAuthorizationError } from "./common-D5lLWoCW.js";
|
|
8
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BeIB_jm0.js";
|
|
9
|
+
import "./image-ops-BSYgrL7E.js";
|
|
10
10
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
11
|
-
import "./path-alias-guards-
|
|
12
|
-
import "./fs-safe-
|
|
13
|
-
import "./proxy-env-
|
|
14
|
-
import "./tool-images-
|
|
15
|
-
import "./fetch-guard-
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./ir-
|
|
11
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
12
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
13
|
+
import "./proxy-env-CUUXO6rv.js";
|
|
14
|
+
import "./tool-images-ZE5G5UM0.js";
|
|
15
|
+
import "./fetch-guard-cfPCfkrw.js";
|
|
16
|
+
import "./local-roots-U25IdeDH.js";
|
|
17
|
+
import "./ir-CWmryq5f.js";
|
|
18
18
|
import "./render-95l30zcf.js";
|
|
19
|
-
import "./tables-
|
|
20
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
19
|
+
import "./tables-CJP05iMa.js";
|
|
20
|
+
import { r as sendReactionWhatsApp } from "./outbound-BIVf0aPq.js";
|
|
21
21
|
|
|
22
22
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
23
23
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, c as WhatsAppConfigSchema, or as getChatChannelMeta } from "./config-
|
|
3
|
-
import { f as isRecord, g as pathExists, h as normalizeE164 } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Tr as formatCliCommand, c as WhatsAppConfigSchema, or as getChatChannelMeta } from "./config-Bt-c7PWF.js";
|
|
3
|
+
import { f as isRecord, g as pathExists, h as normalizeE164 } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
6
|
-
import { a as listWhatsAppDirectoryPeersFromConfig, i as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-
|
|
7
|
-
import { D as resolveWhatsAppConfigDefaultTo, E as resolveWhatsAppConfigAllowFrom, O as looksLikeWhatsAppTargetId, T as formatWhatsAppConfigAllowFromEntries, _ as resolveWhatsAppGroupToolPolicy, g as resolveWhatsAppGroupRequireMention, h as resolveWhatsAppMentionStripPatterns, k as normalizeWhatsAppMessagingTarget, m as resolveWhatsAppGroupIntroHint } from "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./send-
|
|
10
|
-
import { f as readStringParam, r as createActionGate } from "./common-
|
|
11
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
12
|
-
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-
|
|
13
|
-
import "./image-ops-
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./send-
|
|
5
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-DncG0Hx9.js";
|
|
6
|
+
import { a as listWhatsAppDirectoryPeersFromConfig, i as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-D3mrhffi.js";
|
|
7
|
+
import { D as resolveWhatsAppConfigDefaultTo, E as resolveWhatsAppConfigAllowFrom, O as looksLikeWhatsAppTargetId, T as formatWhatsAppConfigAllowFromEntries, _ as resolveWhatsAppGroupToolPolicy, g as resolveWhatsAppGroupRequireMention, h as resolveWhatsAppMentionStripPatterns, k as normalizeWhatsAppMessagingTarget, m as resolveWhatsAppGroupIntroHint } from "./thinking-BhP3vn1l.js";
|
|
8
|
+
import "./accounts-C5PAuCTj.js";
|
|
9
|
+
import "./send-DV5kR0Hg.js";
|
|
10
|
+
import { f as readStringParam, r as createActionGate } from "./common-D5lLWoCW.js";
|
|
11
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BeIB_jm0.js";
|
|
12
|
+
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-Dfjh1YtV.js";
|
|
13
|
+
import "./image-ops-BSYgrL7E.js";
|
|
14
|
+
import "./pi-embedded-helpers-CxMnPQ37.js";
|
|
15
|
+
import "./accounts-DC5cbH9r.js";
|
|
16
|
+
import "./send-CgkNzAhS.js";
|
|
17
17
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
18
|
-
import "./paths-
|
|
19
|
-
import "./send-
|
|
20
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
21
|
-
import "./tokens-
|
|
22
|
-
import "./audio-transcription-runner-
|
|
23
|
-
import "./image-
|
|
24
|
-
import "./chrome-
|
|
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 "./tool-images-
|
|
33
|
-
import "./fetch-guard-
|
|
34
|
-
import "./api-key-rotation-
|
|
35
|
-
import "./local-roots-
|
|
36
|
-
import "./proxy-fetch-
|
|
37
|
-
import "./deliver-
|
|
38
|
-
import "./commands-registry-
|
|
39
|
-
import "./skill-commands-
|
|
18
|
+
import "./paths-CP67O8eN.js";
|
|
19
|
+
import "./send-DtA6ngBJ.js";
|
|
20
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CbeCrQ4C.js";
|
|
21
|
+
import "./tokens-DAL_5WHL.js";
|
|
22
|
+
import "./audio-transcription-runner-DSScb434.js";
|
|
23
|
+
import "./image-FK5xhY5u.js";
|
|
24
|
+
import "./chrome-DB2h0uN0.js";
|
|
25
|
+
import "./skills-v0WQqKTa.js";
|
|
26
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
27
|
+
import "./redact-DfACyt0X.js";
|
|
28
|
+
import "./errors-9oVz7reJ.js";
|
|
29
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
30
|
+
import "./proxy-env-CUUXO6rv.js";
|
|
31
|
+
import "./store-C_UrNuM3.js";
|
|
32
|
+
import "./tool-images-ZE5G5UM0.js";
|
|
33
|
+
import "./fetch-guard-cfPCfkrw.js";
|
|
34
|
+
import "./api-key-rotation-BAZ0GD26.js";
|
|
35
|
+
import "./local-roots-U25IdeDH.js";
|
|
36
|
+
import "./proxy-fetch-Cf3IUSDw.js";
|
|
37
|
+
import "./deliver-MvrkIeKJ.js";
|
|
38
|
+
import "./commands-registry-DGZ1oFXJ.js";
|
|
39
|
+
import "./skill-commands-Ckfii7h8.js";
|
|
40
40
|
import "./fetch-D3HDdlk7.js";
|
|
41
|
-
import "./diagnostic-
|
|
42
|
-
import "./pi-model-discovery-
|
|
43
|
-
import "./ir-
|
|
41
|
+
import "./diagnostic-B6F3BtCX.js";
|
|
42
|
+
import "./pi-model-discovery-8OL77kCh.js";
|
|
43
|
+
import "./ir-CWmryq5f.js";
|
|
44
44
|
import "./render-95l30zcf.js";
|
|
45
|
-
import "./send-
|
|
46
|
-
import "./outbound-attachment-
|
|
47
|
-
import "./send-
|
|
48
|
-
import "./channel-activity-
|
|
49
|
-
import "./tables-
|
|
45
|
+
import "./send-D6Uh2D1D.js";
|
|
46
|
+
import "./outbound-attachment-F5tzeNUD.js";
|
|
47
|
+
import "./send-CuENGOhq.js";
|
|
48
|
+
import "./channel-activity-cYEaofTH.js";
|
|
49
|
+
import "./tables-CJP05iMa.js";
|
|
50
50
|
import "./proxy-BOZmkV9K.js";
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./query-expansion-
|
|
53
|
-
import "./outbound-
|
|
54
|
-
import "./session-
|
|
55
|
-
import { t as loginWeb } from "./login-
|
|
51
|
+
import "./manager-ijYHktIt.js";
|
|
52
|
+
import "./query-expansion-CzjwW461.js";
|
|
53
|
+
import "./outbound-BIVf0aPq.js";
|
|
54
|
+
import "./session-CnlZn-bR.js";
|
|
55
|
+
import { t as loginWeb } from "./login-8qzl2H7G.js";
|
|
56
56
|
import path from "node:path";
|
|
57
57
|
|
|
58
58
|
//#region src/plugins/config-schema.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as resolveDefaultAgentId } from "./run-with-concurrency-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { G as normalizeAccountId, K as normalizeOptionalAccountId, R as normalizeAgentId, W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
4
|
-
import { h as normalizeE164 } from "./logger-
|
|
5
|
-
import { Gt as normalizeAnyChannelId, Ht as CHAT_CHANNEL_ORDER, Xt as getActivePluginRegistryVersion, Zn as isTruthyEnvValue, Zt as requireActivePluginRegistry, gr as normalizeResolvedSecretInputString, qt as normalizeChatChannelId } from "./model-selection-
|
|
6
|
-
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-
|
|
7
|
-
import
|
|
1
|
+
import { l as resolveDefaultAgentId } from "./run-with-concurrency-FczpX8ng.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BaLYRf7D.js";
|
|
3
|
+
import { G as normalizeAccountId, K as normalizeOptionalAccountId, R as normalizeAgentId, W as DEFAULT_ACCOUNT_ID } from "./workspace-TqfVSQuO.js";
|
|
4
|
+
import { h as normalizeE164 } from "./logger-oGKcCLZ5.js";
|
|
5
|
+
import { Gt as normalizeAnyChannelId, Ht as CHAT_CHANNEL_ORDER, Xt as getActivePluginRegistryVersion, Zn as isTruthyEnvValue, Zt as requireActivePluginRegistry, gr as normalizeResolvedSecretInputString, qt as normalizeChatChannelId } from "./model-selection-CHnojCCK.js";
|
|
6
|
+
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-B6F_XCgS.js";
|
|
7
|
+
import fs from "node:fs";
|
|
8
8
|
import util from "node:util";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-action-gate.ts
|
|
@@ -317,7 +317,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
317
317
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
318
318
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
319
319
|
if (accountTokenFile) {
|
|
320
|
-
if (!
|
|
320
|
+
if (!fs.existsSync(accountTokenFile)) {
|
|
321
321
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
322
322
|
return {
|
|
323
323
|
token: "",
|
|
@@ -325,7 +325,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
try {
|
|
328
|
-
const token =
|
|
328
|
+
const token = fs.readFileSync(accountTokenFile, "utf-8").trim();
|
|
329
329
|
if (token) return {
|
|
330
330
|
token,
|
|
331
331
|
source: "tokenFile"
|
|
@@ -353,7 +353,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
353
353
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
354
354
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
355
355
|
if (tokenFile) {
|
|
356
|
-
if (!
|
|
356
|
+
if (!fs.existsSync(tokenFile)) {
|
|
357
357
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
358
358
|
return {
|
|
359
359
|
token: "",
|
|
@@ -361,7 +361,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
363
|
try {
|
|
364
|
-
const token =
|
|
364
|
+
const token = fs.readFileSync(tokenFile, "utf-8").trim();
|
|
365
365
|
if (token) return {
|
|
366
366
|
token,
|
|
367
367
|
source: "tokenFile"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Et as parseLooseIpAddress, Tt as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv4Address, bt as isIpv4Address, gt as extractEmbeddedIpv4FromIpv6, vt as isBlockedSpecialUseIpv6Address, xt as isLegacyIpv4Literal, yt as isCanonicalDottedDecimalIPv4 } from "./model-selection-
|
|
1
|
+
import { Et as parseLooseIpAddress, Tt as parseCanonicalIpAddress, _t as isBlockedSpecialUseIpv4Address, bt as isIpv4Address, gt as extractEmbeddedIpv4FromIpv6, vt as isBlockedSpecialUseIpv6Address, xt as isLegacyIpv4Literal, yt as isCanonicalDottedDecimalIPv4 } from "./model-selection-CHnojCCK.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { w as resolvePreferredSquidClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { lr as formatCliCommand } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
10
|
-
import "./path-alias-guards-
|
|
11
|
-
import "./redact-
|
|
12
|
-
import { r as formatErrorMessage } from "./errors-
|
|
13
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
14
|
-
import "./proxy-env-
|
|
1
|
+
import "./run-with-concurrency-FczpX8ng.js";
|
|
2
|
+
import "./paths-CSdAWKDO.js";
|
|
3
|
+
import { w as resolvePreferredSquidClawTmpDir } from "./subsystem-BaLYRf7D.js";
|
|
4
|
+
import "./workspace-TqfVSQuO.js";
|
|
5
|
+
import "./logger-oGKcCLZ5.js";
|
|
6
|
+
import { lr as formatCliCommand } from "./model-selection-CHnojCCK.js";
|
|
7
|
+
import "./github-copilot-token-Cw3tAXM9.js";
|
|
8
|
+
import "./legacy-names-B0wgIP0Q.js";
|
|
9
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-Qbvnl6so.js";
|
|
10
|
+
import "./path-alias-guards-Cpsiv2KL.js";
|
|
11
|
+
import "./redact-NmPEVjIo.js";
|
|
12
|
+
import { r as formatErrorMessage } from "./errors-DfgAh2Ml.js";
|
|
13
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-CwHbZdFH.js";
|
|
14
|
+
import "./proxy-env-DXXfs2WL.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import crypto from "node:crypto";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { $ as parseAgentSessionKey } from "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./path-alias-guards-
|
|
7
|
-
import "./redact-
|
|
8
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-FczpX8ng.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-CSdAWKDO.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BaLYRf7D.js";
|
|
4
|
+
import { $ as parseAgentSessionKey } from "./workspace-TqfVSQuO.js";
|
|
5
|
+
import "./logger-oGKcCLZ5.js";
|
|
6
|
+
import "./path-alias-guards-Cpsiv2KL.js";
|
|
7
|
+
import "./redact-NmPEVjIo.js";
|
|
8
|
+
import { c as writeFileWithinRoot } from "./fs-safe-CwHbZdFH.js";
|
|
9
9
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-B89VigUN.js";
|
|
10
|
-
import "./paths-
|
|
11
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
10
|
+
import "./paths-CXClY8zC.js";
|
|
11
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-DlQOkf-g.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as runTasksWithConcurrency } from "./run-with-concurrency-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { t as redactSensitiveText } from "./redact-
|
|
4
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { t as runTasksWithConcurrency } from "./run-with-concurrency-FczpX8ng.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BaLYRf7D.js";
|
|
3
|
+
import { t as redactSensitiveText } from "./redact-NmPEVjIo.js";
|
|
4
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CXClY8zC.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs$1 from "node:fs";
|
|
9
9
|
import crypto from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/memory/fs-utils.ts
|
|
@@ -31,7 +31,7 @@ async function statRegularFile(absPath) {
|
|
|
31
31
|
//#region src/memory/internal.ts
|
|
32
32
|
function ensureDir(dir) {
|
|
33
33
|
try {
|
|
34
|
-
|
|
34
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
35
35
|
} catch {}
|
|
36
36
|
return dir;
|
|
37
37
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { $ as parseAgentSessionKey, B as resolveAgentIdFromSessionKey, R as normalizeAgentId, j as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
4
|
-
import { y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveStateDir } from "./paths-CSdAWKDO.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BaLYRf7D.js";
|
|
3
|
+
import { $ as parseAgentSessionKey, B as resolveAgentIdFromSessionKey, R as normalizeAgentId, j as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir } from "./workspace-TqfVSQuO.js";
|
|
4
|
+
import { y as resolveUserPath } from "./logger-oGKcCLZ5.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
7
7
|
//#region src/config/model-input.ts
|