winclaw 2026.3.21 → 2026.3.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/{agents-_gcdm-kb.js → agents-Dc_S8rZ8.js} +4 -4
- package/dist/{agents.config-BkgsJJng.js → agents.config-BC6TW53i.js} +1 -1
- package/dist/{agents.config-Bw1hbsLj.js → agents.config-ZESYvAuZ.js} +1 -1
- package/dist/{auth-choice-sfRzFTug.js → auth-choice-CHCEiG_5.js} +1 -1
- package/dist/{auth-choice-i771W71t.js → auth-choice-CSZQYOpt.js} +1 -1
- package/dist/{banner-C-01b-if.js → banner-C3BSkrQk.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BAvRIwTX.js → channel-options-DG60shRM.js} +1 -1
- package/dist/{channel-options-it9Z3dNk.js → channel-options-XEKts1bm.js} +1 -1
- package/dist/{channel-web-BiIs0cCf.js → channel-web-XARrFQNi.js} +1 -1
- package/dist/{channel-web-CJ_jcZSw.js → channel-web-_2_SqIZ4.js} +1 -1
- package/dist/{channels-cli-CNbBNhlO.js → channels-cli-BEXYziVz.js} +6 -6
- package/dist/{channels-cli-miFqkj2-.js → channels-cli-ZssJjBmG.js} +6 -6
- package/dist/{cli-Da0pNyXg.js → cli-BZZG4J_j.js} +1 -1
- package/dist/{cli-BhZvhDWg.js → cli-CY_Senie.js} +1 -1
- package/dist/{command-registry-m8nfRV-J.js → command-registry-CWxe1f-O.js} +9 -9
- package/dist/{completion-cli-B-8mTxbh.js → completion-cli-BKoxA3-3.js} +2 -2
- package/dist/{completion-cli-c9ogb7DR.js → completion-cli-DisKMPGI.js} +1 -1
- package/dist/{config-cli-D2natFSq.js → config-cli-Bfwm9TCS.js} +1 -1
- package/dist/{config-cli-1ecjxVfC.js → config-cli-FMUUH4Ti.js} +1 -1
- package/dist/{configure-B-tOY-wa.js → configure-BJxly9Yt.js} +3 -3
- package/dist/{configure-BgqQPO5L.js → configure-DarTg7E_.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-BJV7VcRP.js → deps-send-whatsapp.runtime-CeFobiyN.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-DlmzDIzc.js → deps-send-whatsapp.runtime-D7OYrbTL.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-Dflrvnq-.js → deps-send-whatsapp.runtime-Dk3bVJzk.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-BHJLeHSL.js → deps-send-whatsapp.runtime-iiQJpw-8.js} +3 -3
- package/dist/{doctor-completion-DEdT-_9v.js → doctor-completion-BtQY4Eaa.js} +1 -1
- package/dist/{doctor-completion-C3SXIoSh.js → doctor-completion-t3rdrQev.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-C_4mlmOW.js → gateway-cli-BeABpkZ1.js} +11 -11
- package/dist/{gateway-cli-CL5LDNmu.js → gateway-cli-Juhp3APs.js} +11 -11
- package/dist/{health-C5a0wlfE.js → health-8quueFaP.js} +1 -1
- package/dist/{health-CqiwN5ZR.js → health-BoOzWD1m.js} +1 -1
- package/dist/{hooks-cli-C79J_WG7.js → hooks-cli-B475HcKz.js} +2 -2
- package/dist/{hooks-cli-DDWnA5Zx.js → hooks-cli-BcKW3j9V.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-Do96D4zT.js → models-FzoA9YFe.js} +2 -2
- package/dist/{models-cli-pblTciC_.js → models-cli-B9FoteUK.js} +3 -3
- package/dist/{models-cli-DOfsOmW1.js → models-cli-DPCSWjYD.js} +2 -2
- package/dist/{npm-resolution-Bd8dB7rI.js → npm-resolution-DUcSV3Er.js} +1 -1
- package/dist/{npm-resolution-DE7xcGkg.js → npm-resolution-Kay_MP5U.js} +1 -1
- package/dist/{onboard-CReGZ3G9.js → onboard-DSE0sFKG.js} +2 -2
- package/dist/{onboard-channels-DvpqJP6s.js → onboard-channels-DleZdwBe.js} +1 -1
- package/dist/{onboard-channels-ljMkIe7O.js → onboard-channels-DuQfbGvH.js} +1 -1
- package/dist/{onboard-CXyqQtlq.js → onboard-lgDkrSqS.js} +2 -2
- package/dist/{onboarding-BZWA8Nqq.js → onboarding-D713_nF-.js} +3 -3
- package/dist/{onboarding-CoH1hPY0.js → onboarding-tBrb0kFS.js} +3 -3
- package/dist/{onboarding.finalize-B1qRlV6H.js → onboarding.finalize-DenRnQtC.js} +5 -5
- package/dist/{onboarding.finalize-DzRWtkmA.js → onboarding.finalize-femvpEYf.js} +6 -6
- package/dist/{pi-embedded-DUO1eQ_J.js → pi-embedded-CPqoXbPh.js} +15 -15
- package/dist/{pi-embedded-xAf-RVi5.js → pi-embedded-yo67-7fx.js} +15 -15
- package/dist/{plugin-registry-DckyegZB.js → plugin-registry-ByrPvIy8.js} +1 -1
- package/dist/{plugin-registry-Cb_XRQUR.js → plugin-registry-C_HMboob.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CfZNFYCV.js → channel-web-CZNn3YpA.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D02gHjxz.js → channel-web-ut6coWO5.js} +1 -1
- package/dist/plugin-sdk/compat.js +50 -50
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-DJlWl-wv.js → deps-send-whatsapp.runtime-7Y4jFeSR.js} +3 -3
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-BxQ5tZO2.js → deps-send-whatsapp.runtime-BYqY0Q9J.js} +3 -3
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-BEBnUyG7.js → reply-CHTGOm7N.js} +15 -15
- package/dist/plugin-sdk/{reply-Cx_4UtvJ.js → reply-CbZPef0p.js} +15 -15
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/{slash-dispatch.runtime-C74v1zF9.js → slash-dispatch.runtime-CU94t3bC.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-DN7TWAWh.js → slash-dispatch.runtime-fens4sxk.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-CprGCjIU.js → subagent-registry-runtime-CwlC6o7G.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-9CC9qb9s.js → subagent-registry-runtime-DE56KyD-.js} +1 -1
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/{web-D9wJfMr_.js → web-DSbskSAb.js} +2 -2
- package/dist/plugin-sdk/{web-D0OZnnn7.js → web-Oo_Fd7RA.js} +2 -2
- package/dist/plugin-sdk/whatsapp.js +2 -2
- package/dist/plugin-sdk/zalouser.js +2 -2
- package/dist/{plugins-cli-BWCjQEMr.js → plugins-cli-CI8xpqVq.js} +2 -2
- package/dist/{plugins-cli-C6Oo9R6E.js → plugins-cli-DQCpV91t.js} +2 -2
- package/dist/{program-CEJ6CsoR.js → program-N2SbF1HK.js} +7 -7
- package/dist/{program-context-EXWtPjXg.js → program-context-DMg-_LjD.js} +17 -17
- package/dist/{prompt-select-styled-D-f3R2mt.js → prompt-select-styled-BehogMCm.js} +4 -4
- package/dist/{prompt-select-styled-B_AHrNLY.js → prompt-select-styled-pMhNy-Rt.js} +4 -4
- package/dist/{provider-auth-helpers-CN4iPBfs.js → provider-auth-helpers-4bL3VgNE.js} +1 -1
- package/dist/{provider-auth-helpers-CiXbjGH-.js → provider-auth-helpers-Rpp9Sh_y.js} +1 -1
- package/dist/{push-apns-D7Si-92v.js → push-apns-CGUAuXgJ.js} +1 -1
- package/dist/{push-apns-BEZdCQsM.js → push-apns-hyDzrrIU.js} +1 -1
- package/dist/{register.agent-BDosszM8.js → register.agent-CFrG4s6H.js} +6 -6
- package/dist/{register.agent-BjxrirHi.js → register.agent-CTNWQCtt.js} +7 -7
- package/dist/{register.configure-MduIRRMt.js → register.configure-DIKLgW8P.js} +7 -7
- package/dist/{register.configure-C0B9vKwT.js → register.configure-Di8Uh5GB.js} +7 -7
- package/dist/{register.maintenance-CfnzY1OX.js → register.maintenance-Cc675Yxz.js} +7 -7
- package/dist/{register.maintenance-BfdiJ7KX.js → register.maintenance-GewLmA3i.js} +8 -8
- package/dist/{register.message-D4VYaBqq.js → register.message-BI_R0TJs.js} +2 -2
- package/dist/{register.message-BszoJEBm.js → register.message-CtBJO09g.js} +2 -2
- package/dist/{register.onboard-CbJU4Y-3.js → register.onboard-45htf4DA.js} +2 -2
- package/dist/{register.onboard-CjuT9fKW.js → register.onboard-Jv--xCKB.js} +2 -2
- package/dist/{register.setup-DZzf7J04.js → register.setup-Bm99k2pm.js} +2 -2
- package/dist/{register.setup-BTTBsCT0.js → register.setup-CqrPLejH.js} +2 -2
- package/dist/{register.status-health-sessions-C3Ji8sqv.js → register.status-health-sessions-BBDVWYvb.js} +3 -3
- package/dist/{register.status-health-sessions-BKcFfUR6.js → register.status-health-sessions-BmpJln2_.js} +3 -3
- package/dist/{register.subclis-2iN-TxPh.js → register.subclis-4LlGcEld.js} +9 -9
- package/dist/{reply-KTubTl9h.js → reply-a2GVvnP2.js} +15 -15
- package/dist/{run-main-BEtPk_9z.js → run-main-B3eIQkhk.js} +14 -14
- package/dist/{server-node-events-BozhXo6J.js → server-node-events-Bn6C-kB6.js} +2 -2
- package/dist/{server-node-events-CFcRS-lD.js → server-node-events-CbUk95yd.js} +2 -2
- package/dist/{slash-dispatch.runtime-D5Cl7j1v.js → slash-dispatch.runtime-B4quYJn4.js} +1 -1
- package/dist/{slash-dispatch.runtime-B0OIPdp3.js → slash-dispatch.runtime-BBH2jQsL.js} +1 -1
- package/dist/{slash-dispatch.runtime-DDLolsGY.js → slash-dispatch.runtime-BLQZdvZW.js} +1 -1
- package/dist/{slash-dispatch.runtime-DtN2NmXJ.js → slash-dispatch.runtime-wBORF-o1.js} +1 -1
- package/dist/{status-B5hylgEQ.js → status-BqpyCRc4.js} +2 -2
- package/dist/{status-DClHhy30.js → status-DHIaRvxs.js} +2 -2
- package/dist/{subagent-registry-iD-ynHA9.js → subagent-registry-CRAr7csi.js} +15 -15
- package/dist/{subagent-registry-runtime-DfMDVaOY.js → subagent-registry-runtime-BfYm3d-n.js} +1 -1
- package/dist/{subagent-registry-runtime-CdEy9DKy.js → subagent-registry-runtime-CnPoAflv.js} +1 -1
- package/dist/{subagent-registry-runtime-Cv_Xt2cx.js → subagent-registry-runtime-DQb8qzq2.js} +1 -1
- package/dist/{subagent-registry-runtime-LH0OBaWN.js → subagent-registry-runtime-sMbEjW_q.js} +1 -1
- package/dist/{update-cli-C1nysDmM.js → update-cli-Bk3xkEPl.js} +8 -8
- package/dist/{update-cli-Dj_9Bokl.js → update-cli-G1w1hdg4.js} +7 -7
- package/dist/{update-runner-BpzbDTnQ.js → update-runner-CgS5D8t8.js} +1 -1
- package/dist/{update-runner-BUoHYjl8.js → update-runner-TyDM6-ms.js} +1 -1
- package/dist/{web-DxHq9RWt.js → web-7w_9CsnG.js} +2 -2
- package/dist/{web-Dbqs3hbC.js → web-B790MBdK.js} +1 -1
- package/dist/{web-CodV11ZY.js → web-BPiSo--I.js} +1 -1
- package/dist/{web-YBvuT4WS.js → web-BmYQFz4q.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/accounts-B71rIfIG.js +0 -35
- package/dist/plugin-sdk/accounts-Bh_CxVlh.js +0 -46
- package/dist/plugin-sdk/accounts-BoD7489q.js +0 -288
- package/dist/plugin-sdk/active-listener-6CPAmAh-.js +0 -50
- package/dist/plugin-sdk/api-key-rotation-DEDhmJAk.js +0 -181
- package/dist/plugin-sdk/audio-preflight-CMPZ9BXN.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-CdADoJed.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-CxP2fdgS.js +0 -58
- package/dist/plugin-sdk/channel-activity-9ivqqvRB.js +0 -94
- package/dist/plugin-sdk/channel-web-CHDoy_Ex.js +0 -2256
- package/dist/plugin-sdk/chrome-B1yeIHRg.js +0 -2415
- package/dist/plugin-sdk/commands-registry-D-wyzYid.js +0 -1125
- package/dist/plugin-sdk/config-CmS6HzGU.js +0 -17959
- package/dist/plugin-sdk/deliver-Cy287pZ5.js +0 -1719
- package/dist/plugin-sdk/deliver-runtime-BH3fUFW1.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-CLboFQJz.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-BVlGKP96.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-0640YmBr.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BqbFKjcg.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-1a2RXcA2.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CpOH0wYd.js +0 -57
- package/dist/plugin-sdk/diagnostic-DGt5TnqW.js +0 -319
- package/dist/plugin-sdk/errors-D7zDdduc.js +0 -54
- package/dist/plugin-sdk/fetch-guard-BsatETDz.js +0 -156
- package/dist/plugin-sdk/fs-safe-ynDN1AOr.js +0 -352
- package/dist/plugin-sdk/image-6No3eiOM.js +0 -2314
- package/dist/plugin-sdk/image-ops-CmFoHyKE.js +0 -584
- package/dist/plugin-sdk/image-runtime-D57a2W4s.js +0 -25
- package/dist/plugin-sdk/ir-CX1ZjDTn.js +0 -1296
- package/dist/plugin-sdk/local-roots-DnE8988Y.js +0 -186
- package/dist/plugin-sdk/logger-cN8CgKqt.js +0 -1163
- package/dist/plugin-sdk/login-hk6_2GSM.js +0 -57
- package/dist/plugin-sdk/login-qr-UaVS_Rce.js +0 -320
- package/dist/plugin-sdk/manager-CBP2ZQ5W.js +0 -3929
- package/dist/plugin-sdk/manager-runtime-3rKbDrJp.js +0 -15
- package/dist/plugin-sdk/outbound-B0Ab6CJM.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-CktA053B.js +0 -19
- package/dist/plugin-sdk/path-alias-guards-WXu8eYZ3.js +0 -43
- package/dist/plugin-sdk/paths-Brta7ydd.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-BfbOXbe6.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-ruarR-_j.js +0 -134
- package/dist/plugin-sdk/pi-model-discovery-runtime-26px0QfL.js +0 -8
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-VVLpfXqQ.js +0 -354
- package/dist/plugin-sdk/plugins-C995vsQz.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-iSQrNgP-.js +0 -38
- package/dist/plugin-sdk/pw-ai-BJXHSS3q.js +0 -1938
- package/dist/plugin-sdk/qmd-manager-A7m15SeJ.js +0 -1448
- package/dist/plugin-sdk/query-expansion-DngcFbkC.js +0 -1011
- package/dist/plugin-sdk/redact-CIb5VTTO.js +0 -319
- package/dist/plugin-sdk/reply-vuWmM3Ra.js +0 -100211
- package/dist/plugin-sdk/resolve-outbound-target-CQ6hRY-h.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-BlfAoChN.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-YsrzSsFL.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DL6Ses5K.js +0 -19
- package/dist/plugin-sdk/send-BEy8EUzH.js +0 -414
- package/dist/plugin-sdk/send-CWP6COto.js +0 -3135
- package/dist/plugin-sdk/send-DQTgt3Cu.js +0 -540
- package/dist/plugin-sdk/send-DzpV-k17.js +0 -2587
- package/dist/plugin-sdk/send-HuIksBS6.js +0 -503
- package/dist/plugin-sdk/session-Cc3Y4mXL.js +0 -169
- package/dist/plugin-sdk/skill-commands-p8Zwjnwy.js +0 -353
- package/dist/plugin-sdk/skills-k8XpacZa.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-ynnr6oUR.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DOmMrwMj.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-eAk1jhVy.js +0 -16
- package/dist/plugin-sdk/ssrf-DZSsYJgJ.js +0 -202
- package/dist/plugin-sdk/store-Cn0oLCP4.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-CQ3m7TwQ.js +0 -52
- package/dist/plugin-sdk/tables-KWxXnbkq.js +0 -55
- package/dist/plugin-sdk/target-errors-Cr0q4o7K.js +0 -195
- package/dist/plugin-sdk/thinking-CfA6xbI_.js +0 -1206
- package/dist/plugin-sdk/tokens-B-D1YRTV.js +0 -52
- package/dist/plugin-sdk/tool-images-CVV7LNFW.js +0 -274
- package/dist/plugin-sdk/web-B1Svh1KM.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-CLNhBLJz.js +0 -80
|
@@ -11215,7 +11215,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11215
11215
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11216
11216
|
let subagentRegistryRuntimePromise = null;
|
|
11217
11217
|
function loadSubagentRegistryRuntime() {
|
|
11218
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11218
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-BfYm3d-n.js");
|
|
11219
11219
|
return subagentRegistryRuntimePromise;
|
|
11220
11220
|
}
|
|
11221
11221
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -36995,7 +36995,7 @@ var GrcClient = class {
|
|
|
36995
36995
|
|
|
36996
36996
|
//#endregion
|
|
36997
36997
|
//#region src/agents/tools/grc-task-tool.ts
|
|
36998
|
-
const GRC_DEFAULT_URL$10 = "https://grc.myaiportal.net";
|
|
36998
|
+
const GRC_DEFAULT_URL$10 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
36999
36999
|
const GrcTaskToolSchema = Type.Object({
|
|
37000
37000
|
title: Type.String({ description: "Task title (required)" }),
|
|
37001
37001
|
description: Type.Optional(Type.String({ description: "Detailed task description" })),
|
|
@@ -37147,7 +37147,7 @@ function readRoleIdFromConfigState$1() {
|
|
|
37147
37147
|
|
|
37148
37148
|
//#endregion
|
|
37149
37149
|
//#region src/agents/tools/grc-task-update-tool.ts
|
|
37150
|
-
const GRC_DEFAULT_URL$9 = "https://grc.myaiportal.net";
|
|
37150
|
+
const GRC_DEFAULT_URL$9 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37151
37151
|
const GrcTaskUpdateToolSchema = Type.Object({
|
|
37152
37152
|
task_id: Type.String({ description: "The GRC task ID to update (required)" }),
|
|
37153
37153
|
status: stringEnum(["in_progress", "blocked"], { description: "New task status: \"in_progress\" to begin/resume work, \"blocked\" to signal a blocker" }),
|
|
@@ -37212,7 +37212,7 @@ PARAMETERS:
|
|
|
37212
37212
|
|
|
37213
37213
|
//#endregion
|
|
37214
37214
|
//#region src/agents/tools/grc-task-complete-tool.ts
|
|
37215
|
-
const GRC_DEFAULT_URL$8 = "https://grc.myaiportal.net";
|
|
37215
|
+
const GRC_DEFAULT_URL$8 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37216
37216
|
const GrcTaskCompleteToolSchema = Type.Object({
|
|
37217
37217
|
task_id: Type.String({ description: "The GRC task ID to submit for review (required)" }),
|
|
37218
37218
|
result_summary: Type.String({ description: "Final results summary describing what was accomplished (required)" }),
|
|
@@ -37284,7 +37284,7 @@ The task creator will be notified and will either approve or request rework.`,
|
|
|
37284
37284
|
|
|
37285
37285
|
//#endregion
|
|
37286
37286
|
//#region src/agents/tools/grc-task-accept-tool.ts
|
|
37287
|
-
const GRC_DEFAULT_URL$7 = "https://grc.myaiportal.net";
|
|
37287
|
+
const GRC_DEFAULT_URL$7 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37288
37288
|
const GrcTaskAcceptToolSchema = Type.Object({
|
|
37289
37289
|
task_id: Type.String({ description: "The GRC task ID to accept and complete (required)" }),
|
|
37290
37290
|
comment: Type.Optional(Type.String({ description: "Optional acceptance comment" }))
|
|
@@ -37362,7 +37362,7 @@ Use grc_task_reject instead if rework is needed.`,
|
|
|
37362
37362
|
|
|
37363
37363
|
//#endregion
|
|
37364
37364
|
//#region src/agents/tools/grc-task-reject-tool.ts
|
|
37365
|
-
const GRC_DEFAULT_URL$6 = "https://grc.myaiportal.net";
|
|
37365
|
+
const GRC_DEFAULT_URL$6 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37366
37366
|
const GrcTaskRejectToolSchema = Type.Object({
|
|
37367
37367
|
task_id: Type.String({ description: "The GRC task ID to reject and return for rework (required)" }),
|
|
37368
37368
|
feedback: Type.String({
|
|
@@ -37428,7 +37428,7 @@ Use grc_task_accept instead if results are satisfactory.`,
|
|
|
37428
37428
|
|
|
37429
37429
|
//#endregion
|
|
37430
37430
|
//#region src/agents/tools/grc-relay-send-tool.ts
|
|
37431
|
-
const GRC_DEFAULT_URL$5 = "https://grc.myaiportal.net";
|
|
37431
|
+
const GRC_DEFAULT_URL$5 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37432
37432
|
const MESSAGE_TYPES = [
|
|
37433
37433
|
"text",
|
|
37434
37434
|
"directive",
|
|
@@ -37538,7 +37538,7 @@ otherwise queued for delivery when the target reconnects.`,
|
|
|
37538
37538
|
|
|
37539
37539
|
//#endregion
|
|
37540
37540
|
//#region src/agents/tools/grc-broadcast-tool.ts
|
|
37541
|
-
const GRC_DEFAULT_URL$4 = "https://grc.myaiportal.net";
|
|
37541
|
+
const GRC_DEFAULT_URL$4 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37542
37542
|
const GrcBroadcastSchema = Type.Object({
|
|
37543
37543
|
subject: Type.String({ description: "Broadcast subject/title" }),
|
|
37544
37544
|
message: Type.String({ description: "The broadcast message content" }),
|
|
@@ -37619,7 +37619,7 @@ Returns a summary showing how many agents received the message immediately vs qu
|
|
|
37619
37619
|
|
|
37620
37620
|
//#endregion
|
|
37621
37621
|
//#region src/agents/tools/grc-roster-tool.ts
|
|
37622
|
-
const GRC_DEFAULT_URL$3 = "https://grc.myaiportal.net";
|
|
37622
|
+
const GRC_DEFAULT_URL$3 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37623
37623
|
const GrcRosterSchema = Type.Object({}, { additionalProperties: false });
|
|
37624
37624
|
function createGrcRosterTool(options) {
|
|
37625
37625
|
return {
|
|
@@ -37666,7 +37666,7 @@ No parameters required — simply call this tool to get the current roster.`,
|
|
|
37666
37666
|
|
|
37667
37667
|
//#endregion
|
|
37668
37668
|
//#region src/agents/tools/grc-publish-tool.ts
|
|
37669
|
-
const GRC_DEFAULT_URL$2 = "https://grc.myaiportal.net";
|
|
37669
|
+
const GRC_DEFAULT_URL$2 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37670
37670
|
const GrcPublishSchema = Type.Object({
|
|
37671
37671
|
asset_type: optionalStringEnum(["capsule", "gene"], { description: "Asset type: \"capsule\" for reusable solutions, \"gene\" for evolved behaviors" }),
|
|
37672
37672
|
asset_id: Type.String({ description: "Unique asset identifier (e.g. capsule-finance-budget-template)" }),
|
|
@@ -37743,7 +37743,7 @@ PARAMETERS:
|
|
|
37743
37743
|
|
|
37744
37744
|
//#endregion
|
|
37745
37745
|
//#region src/agents/tools/grc-fetch-asset-tool.ts
|
|
37746
|
-
const GRC_DEFAULT_URL$1 = "https://grc.myaiportal.net";
|
|
37746
|
+
const GRC_DEFAULT_URL$1 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37747
37747
|
const GrcFetchAssetSchema = Type.Object({
|
|
37748
37748
|
asset_id: Type.Optional(Type.String({ description: "Asset identifier to fetch (e.g. capsule-finance-budget-template)" })),
|
|
37749
37749
|
search_query: Type.Optional(Type.String({ description: "Search term to find assets by signals or tags" })),
|
|
@@ -37818,7 +37818,7 @@ MODES:
|
|
|
37818
37818
|
|
|
37819
37819
|
//#endregion
|
|
37820
37820
|
//#region src/agents/tools/grc-community-tool.ts
|
|
37821
|
-
const GRC_DEFAULT_URL = "https://grc.myaiportal.net";
|
|
37821
|
+
const GRC_DEFAULT_URL = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37822
37822
|
const PostSchema = Type.Object({
|
|
37823
37823
|
channel: Type.String({ description: "Channel name (e.g. evolution-showcase, announcements, general)" }),
|
|
37824
37824
|
post_type: optionalStringEnum([
|
|
@@ -67172,7 +67172,7 @@ let slackSenderRuntimePromise = null;
|
|
|
67172
67172
|
let signalSenderRuntimePromise = null;
|
|
67173
67173
|
let imessageSenderRuntimePromise = null;
|
|
67174
67174
|
function loadWhatsAppSenderRuntime() {
|
|
67175
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
67175
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-CeFobiyN.js");
|
|
67176
67176
|
return whatsappSenderRuntimePromise;
|
|
67177
67177
|
}
|
|
67178
67178
|
function loadTelegramSenderRuntime() {
|
|
@@ -80018,7 +80018,7 @@ function loadSlashCommandsRuntime() {
|
|
|
80018
80018
|
return slashCommandsRuntimePromise;
|
|
80019
80019
|
}
|
|
80020
80020
|
function loadSlashDispatchRuntime() {
|
|
80021
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
80021
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-BLQZdvZW.js");
|
|
80022
80022
|
return slashDispatchRuntimePromise;
|
|
80023
80023
|
}
|
|
80024
80024
|
function loadSlashSkillCommandsRuntime() {
|
|
@@ -86313,7 +86313,7 @@ function loadWebLoginQr() {
|
|
|
86313
86313
|
return webLoginQrPromise;
|
|
86314
86314
|
}
|
|
86315
86315
|
function loadWebChannel() {
|
|
86316
|
-
webChannelPromise ??= import("./web-
|
|
86316
|
+
webChannelPromise ??= import("./web-BPiSo--I.js");
|
|
86317
86317
|
return webChannelPromise;
|
|
86318
86318
|
}
|
|
86319
86319
|
function loadWhatsAppActions() {
|
|
@@ -11212,7 +11212,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11212
11212
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11213
11213
|
let subagentRegistryRuntimePromise = null;
|
|
11214
11214
|
function loadSubagentRegistryRuntime() {
|
|
11215
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11215
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-CnPoAflv.js");
|
|
11216
11216
|
return subagentRegistryRuntimePromise;
|
|
11217
11217
|
}
|
|
11218
11218
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -36992,7 +36992,7 @@ var GrcClient = class {
|
|
|
36992
36992
|
|
|
36993
36993
|
//#endregion
|
|
36994
36994
|
//#region src/agents/tools/grc-task-tool.ts
|
|
36995
|
-
const GRC_DEFAULT_URL$10 = "https://grc.myaiportal.net";
|
|
36995
|
+
const GRC_DEFAULT_URL$10 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
36996
36996
|
const GrcTaskToolSchema = Type.Object({
|
|
36997
36997
|
title: Type.String({ description: "Task title (required)" }),
|
|
36998
36998
|
description: Type.Optional(Type.String({ description: "Detailed task description" })),
|
|
@@ -37144,7 +37144,7 @@ function readRoleIdFromConfigState$1() {
|
|
|
37144
37144
|
|
|
37145
37145
|
//#endregion
|
|
37146
37146
|
//#region src/agents/tools/grc-task-update-tool.ts
|
|
37147
|
-
const GRC_DEFAULT_URL$9 = "https://grc.myaiportal.net";
|
|
37147
|
+
const GRC_DEFAULT_URL$9 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37148
37148
|
const GrcTaskUpdateToolSchema = Type.Object({
|
|
37149
37149
|
task_id: Type.String({ description: "The GRC task ID to update (required)" }),
|
|
37150
37150
|
status: stringEnum(["in_progress", "blocked"], { description: "New task status: \"in_progress\" to begin/resume work, \"blocked\" to signal a blocker" }),
|
|
@@ -37209,7 +37209,7 @@ PARAMETERS:
|
|
|
37209
37209
|
|
|
37210
37210
|
//#endregion
|
|
37211
37211
|
//#region src/agents/tools/grc-task-complete-tool.ts
|
|
37212
|
-
const GRC_DEFAULT_URL$8 = "https://grc.myaiportal.net";
|
|
37212
|
+
const GRC_DEFAULT_URL$8 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37213
37213
|
const GrcTaskCompleteToolSchema = Type.Object({
|
|
37214
37214
|
task_id: Type.String({ description: "The GRC task ID to submit for review (required)" }),
|
|
37215
37215
|
result_summary: Type.String({ description: "Final results summary describing what was accomplished (required)" }),
|
|
@@ -37281,7 +37281,7 @@ The task creator will be notified and will either approve or request rework.`,
|
|
|
37281
37281
|
|
|
37282
37282
|
//#endregion
|
|
37283
37283
|
//#region src/agents/tools/grc-task-accept-tool.ts
|
|
37284
|
-
const GRC_DEFAULT_URL$7 = "https://grc.myaiportal.net";
|
|
37284
|
+
const GRC_DEFAULT_URL$7 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37285
37285
|
const GrcTaskAcceptToolSchema = Type.Object({
|
|
37286
37286
|
task_id: Type.String({ description: "The GRC task ID to accept and complete (required)" }),
|
|
37287
37287
|
comment: Type.Optional(Type.String({ description: "Optional acceptance comment" }))
|
|
@@ -37359,7 +37359,7 @@ Use grc_task_reject instead if rework is needed.`,
|
|
|
37359
37359
|
|
|
37360
37360
|
//#endregion
|
|
37361
37361
|
//#region src/agents/tools/grc-task-reject-tool.ts
|
|
37362
|
-
const GRC_DEFAULT_URL$6 = "https://grc.myaiportal.net";
|
|
37362
|
+
const GRC_DEFAULT_URL$6 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37363
37363
|
const GrcTaskRejectToolSchema = Type.Object({
|
|
37364
37364
|
task_id: Type.String({ description: "The GRC task ID to reject and return for rework (required)" }),
|
|
37365
37365
|
feedback: Type.String({
|
|
@@ -37425,7 +37425,7 @@ Use grc_task_accept instead if results are satisfactory.`,
|
|
|
37425
37425
|
|
|
37426
37426
|
//#endregion
|
|
37427
37427
|
//#region src/agents/tools/grc-relay-send-tool.ts
|
|
37428
|
-
const GRC_DEFAULT_URL$5 = "https://grc.myaiportal.net";
|
|
37428
|
+
const GRC_DEFAULT_URL$5 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37429
37429
|
const MESSAGE_TYPES = [
|
|
37430
37430
|
"text",
|
|
37431
37431
|
"directive",
|
|
@@ -37535,7 +37535,7 @@ otherwise queued for delivery when the target reconnects.`,
|
|
|
37535
37535
|
|
|
37536
37536
|
//#endregion
|
|
37537
37537
|
//#region src/agents/tools/grc-broadcast-tool.ts
|
|
37538
|
-
const GRC_DEFAULT_URL$4 = "https://grc.myaiportal.net";
|
|
37538
|
+
const GRC_DEFAULT_URL$4 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37539
37539
|
const GrcBroadcastSchema = Type.Object({
|
|
37540
37540
|
subject: Type.String({ description: "Broadcast subject/title" }),
|
|
37541
37541
|
message: Type.String({ description: "The broadcast message content" }),
|
|
@@ -37616,7 +37616,7 @@ Returns a summary showing how many agents received the message immediately vs qu
|
|
|
37616
37616
|
|
|
37617
37617
|
//#endregion
|
|
37618
37618
|
//#region src/agents/tools/grc-roster-tool.ts
|
|
37619
|
-
const GRC_DEFAULT_URL$3 = "https://grc.myaiportal.net";
|
|
37619
|
+
const GRC_DEFAULT_URL$3 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37620
37620
|
const GrcRosterSchema = Type.Object({}, { additionalProperties: false });
|
|
37621
37621
|
function createGrcRosterTool(options) {
|
|
37622
37622
|
return {
|
|
@@ -37663,7 +37663,7 @@ No parameters required — simply call this tool to get the current roster.`,
|
|
|
37663
37663
|
|
|
37664
37664
|
//#endregion
|
|
37665
37665
|
//#region src/agents/tools/grc-publish-tool.ts
|
|
37666
|
-
const GRC_DEFAULT_URL$2 = "https://grc.myaiportal.net";
|
|
37666
|
+
const GRC_DEFAULT_URL$2 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37667
37667
|
const GrcPublishSchema = Type.Object({
|
|
37668
37668
|
asset_type: optionalStringEnum(["capsule", "gene"], { description: "Asset type: \"capsule\" for reusable solutions, \"gene\" for evolved behaviors" }),
|
|
37669
37669
|
asset_id: Type.String({ description: "Unique asset identifier (e.g. capsule-finance-budget-template)" }),
|
|
@@ -37740,7 +37740,7 @@ PARAMETERS:
|
|
|
37740
37740
|
|
|
37741
37741
|
//#endregion
|
|
37742
37742
|
//#region src/agents/tools/grc-fetch-asset-tool.ts
|
|
37743
|
-
const GRC_DEFAULT_URL$1 = "https://grc.myaiportal.net";
|
|
37743
|
+
const GRC_DEFAULT_URL$1 = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37744
37744
|
const GrcFetchAssetSchema = Type.Object({
|
|
37745
37745
|
asset_id: Type.Optional(Type.String({ description: "Asset identifier to fetch (e.g. capsule-finance-budget-template)" })),
|
|
37746
37746
|
search_query: Type.Optional(Type.String({ description: "Search term to find assets by signals or tags" })),
|
|
@@ -37815,7 +37815,7 @@ MODES:
|
|
|
37815
37815
|
|
|
37816
37816
|
//#endregion
|
|
37817
37817
|
//#region src/agents/tools/grc-community-tool.ts
|
|
37818
|
-
const GRC_DEFAULT_URL = "https://grc.myaiportal.net";
|
|
37818
|
+
const GRC_DEFAULT_URL = process.env.WINCLAW_GRC_URL ?? "https://grc.myaiportal.net";
|
|
37819
37819
|
const PostSchema = Type.Object({
|
|
37820
37820
|
channel: Type.String({ description: "Channel name (e.g. evolution-showcase, announcements, general)" }),
|
|
37821
37821
|
post_type: optionalStringEnum([
|
|
@@ -67169,7 +67169,7 @@ let slackSenderRuntimePromise = null;
|
|
|
67169
67169
|
let signalSenderRuntimePromise = null;
|
|
67170
67170
|
let imessageSenderRuntimePromise = null;
|
|
67171
67171
|
function loadWhatsAppSenderRuntime() {
|
|
67172
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
67172
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-D7OYrbTL.js");
|
|
67173
67173
|
return whatsappSenderRuntimePromise;
|
|
67174
67174
|
}
|
|
67175
67175
|
function loadTelegramSenderRuntime() {
|
|
@@ -80009,7 +80009,7 @@ function loadSlashCommandsRuntime() {
|
|
|
80009
80009
|
return slashCommandsRuntimePromise;
|
|
80010
80010
|
}
|
|
80011
80011
|
function loadSlashDispatchRuntime() {
|
|
80012
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
80012
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-BBH2jQsL.js");
|
|
80013
80013
|
return slashDispatchRuntimePromise;
|
|
80014
80014
|
}
|
|
80015
80015
|
function loadSlashSkillCommandsRuntime() {
|
|
@@ -86304,7 +86304,7 @@ function loadWebLoginQr() {
|
|
|
86304
86304
|
return webLoginQrPromise;
|
|
86305
86305
|
}
|
|
86306
86306
|
function loadWebChannel() {
|
|
86307
|
-
webChannelPromise ??= import("./web-
|
|
86307
|
+
webChannelPromise ??= import("./web-B790MBdK.js");
|
|
86308
86308
|
return webChannelPromise;
|
|
86309
86309
|
}
|
|
86310
86310
|
function loadWhatsAppActions() {
|
|
@@ -3,7 +3,7 @@ import { s as createSubsystemLogger } from "./entry.js";
|
|
|
3
3
|
import { z as loadConfig } from "./auth-profiles-CmoHF97e.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-D-i-vMLS.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-BcRQUSsJ.js";
|
|
6
|
-
import { b as loadWinClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { b as loadWinClawPlugins } from "./subagent-registry-CRAr7csi.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { pt as loadWinClawPlugins } from "./reply-
|
|
2
|
+
import { pt as loadWinClawPlugins } from "./reply-a2GVvnP2.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BjM05Snq.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-notCuUgs.js";
|
|
5
5
|
import { $t as loadConfig } from "./model-selection-CuumnOwj.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-BcPenaKJ.js";
|
|
2
2
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-Bl6fp04N.js";
|
|
3
|
-
import { Et as resolveMessagePrefix, Gt as resolveOpenProviderRuntimeGroupPolicy, It as resolveDmGroupAccessWithCommandGate, Lt as resolveDmGroupAccessWithLists, M as enqueueSystemEvent, N as finalizeInboundContext, Nt as readStoreAllowFromForDmPolicy, Tt as resolveIdentityNamePrefix, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, _ as buildAgentSessionKey, at as DEFAULT_GROUP_HISTORY_LIMIT, b as shouldComputeCommandAuthorized, d as computeBackoff, et as shouldAckReactionForWhatsApp, f as sleepWithAbort, ft as recordPendingHistoryEntryIfEnabled, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, i as parseActivationCommand, j as formatDurationPrecise, jt as buildPairingReply, mt as normalizeMentionText, o as resolveInboundSessionEnvelopeContext, ot as buildHistoryContextFromEntries, p as dispatchReplyWithBufferedBlockDispatcher, pt as buildMentionRegexes, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as resolveMentionGating, v as resolveAgentRoute, y as hasControlCommand, yt as formatInboundEnvelope, zt as resolvePinnedMainDmOwnerFromAllowlist } from "./reply-
|
|
3
|
+
import { Et as resolveMessagePrefix, Gt as resolveOpenProviderRuntimeGroupPolicy, It as resolveDmGroupAccessWithCommandGate, Lt as resolveDmGroupAccessWithLists, M as enqueueSystemEvent, N as finalizeInboundContext, Nt as readStoreAllowFromForDmPolicy, Tt as resolveIdentityNamePrefix, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, _ as buildAgentSessionKey, at as DEFAULT_GROUP_HISTORY_LIMIT, b as shouldComputeCommandAuthorized, d as computeBackoff, et as shouldAckReactionForWhatsApp, f as sleepWithAbort, ft as recordPendingHistoryEntryIfEnabled, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, i as parseActivationCommand, j as formatDurationPrecise, jt as buildPairingReply, mt as normalizeMentionText, o as resolveInboundSessionEnvelopeContext, ot as buildHistoryContextFromEntries, p as dispatchReplyWithBufferedBlockDispatcher, pt as buildMentionRegexes, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as resolveMentionGating, v as resolveAgentRoute, y as hasControlCommand, yt as formatInboundEnvelope, zt as resolvePinnedMainDmOwnerFromAllowlist } from "./reply-CbZPef0p.js";
|
|
4
4
|
import { Ct as normalizeChatChannelId, Pr as formatCliCommand, n as loadConfig } from "./config-Cyo0rHBx.js";
|
|
5
5
|
import { A as sleep, G as getChildLogger, L as logVerbose, M as toWhatsappJid, S as normalizeE164, T as resolveJidToE164, a as createSubsystemLogger, b as isSelfChatMode, c as defaultRuntime, p as clamp, x as jidToE164, z as shouldLogVerbose } from "./logger-C_vnHQg2.js";
|
|
6
6
|
import { U as resolveChannelGroupPolicy, W as resolveChannelGroupRequireMention } from "./thinking-Dh6B0ZhB.js";
|
|
@@ -3,7 +3,7 @@ import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId }
|
|
|
3
3
|
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-CFs5VjSp.js";
|
|
4
4
|
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-ijLD5uXY.js";
|
|
5
5
|
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-BKbno0Cd.js";
|
|
6
|
-
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-
|
|
6
|
+
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-CHTGOm7N.js";
|
|
7
7
|
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-BHSzA7DP.js";
|
|
8
8
|
import { s as resolveStorePath } from "./paths-CdEX_IUM.js";
|
|
9
9
|
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-DtF8kEWW.js";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-
|
|
3
|
-
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-
|
|
1
|
+
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-BcPenaKJ.js";
|
|
2
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-Bl6fp04N.js";
|
|
3
|
+
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-CbZPef0p.js";
|
|
4
4
|
import "./paths-BEfQqXwE.js";
|
|
5
5
|
import "./github-copilot-token-BCc3snHh.js";
|
|
6
|
-
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-
|
|
7
|
-
import { A as sleep, C as pathExists, D as safeParseJson, K as registerLogTransport, S as normalizeE164, X as resolvePreferredWinClawTmpDir, _ as escapeRegExp, f as CONFIG_DIR, o as stripAnsi, p as clamp, y as isRecord } from "./logger-
|
|
8
|
-
import { A as resolveWhatsAppGroupToolPolicy, B as normalizeWhatsAppMessagingTarget, C as resolveIMessageGroupRequireMention, D as resolveTelegramGroupRequireMention, E as resolveSlackGroupToolPolicy, F as resolveIMessageConfigDefaultTo, H as trimMessagingTarget, I as resolveWhatsAppConfigAllowFrom, K as resolveToolsBySender, L as resolveWhatsAppConfigDefaultTo, M as formatTrimmedAllowFromEntries, N as formatWhatsAppConfigAllowFromEntries, O as resolveTelegramGroupToolPolicy, P as resolveIMessageConfigAllowFrom, R as looksLikeWhatsAppTargetId, S as resolveGoogleChatGroupToolPolicy, T as resolveSlackGroupRequireMention, V as looksLikeHandleOrPhoneTarget, _ as resolveBlueBubblesGroupRequireMention, b as resolveDiscordGroupToolPolicy, g as normalizeSignalMessagingTarget, h as looksLikeSignalTargetId, j as buildSlackThreadingToolContext, k as resolveWhatsAppGroupRequireMention, m as resolveWhatsAppMentionStripPatterns, p as resolveWhatsAppGroupIntroHint, v as resolveBlueBubblesGroupToolPolicy, w as resolveIMessageGroupToolPolicy, x as resolveGoogleChatGroupRequireMention, y as resolveDiscordGroupRequireMention, z as normalizeWhatsAppAllowFromEntries } from "./thinking-
|
|
9
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import { A as listSlackAccountIds, C as resolveTelegramAccount, D as listConfiguredAccountIds, H as resolveDiscordAccount, I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget, M as resolveSlackAccount, N as resolveSlackReplyToMode, O as resolveAccountWithDefaultFallback, S as resolveDefaultTelegramAccountId, V as resolveDefaultDiscordAccountId, a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, j as resolveDefaultSlackAccountId, k as listEnabledSlackAccounts, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, x as listTelegramAccountIds, z as listDiscordAccountIds } from "./plugins-
|
|
12
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
13
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
14
|
-
import { At as resolveChannelEntryMatch, Mt as resolveNestedAllowlistDecision, Ot as buildChannelKeyCandidates, at as parseDiscordTarget, dt as normalizeDiscordSlug, jt as resolveChannelEntryMatchWithFallback, kt as normalizeChannelSlug } from "./send-
|
|
15
|
-
import "./paths-
|
|
6
|
+
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-Cyo0rHBx.js";
|
|
7
|
+
import { A as sleep, C as pathExists, D as safeParseJson, K as registerLogTransport, S as normalizeE164, X as resolvePreferredWinClawTmpDir, _ as escapeRegExp, f as CONFIG_DIR, o as stripAnsi, p as clamp, y as isRecord } from "./logger-C_vnHQg2.js";
|
|
8
|
+
import { A as resolveWhatsAppGroupToolPolicy, B as normalizeWhatsAppMessagingTarget, C as resolveIMessageGroupRequireMention, D as resolveTelegramGroupRequireMention, E as resolveSlackGroupToolPolicy, F as resolveIMessageConfigDefaultTo, H as trimMessagingTarget, I as resolveWhatsAppConfigAllowFrom, K as resolveToolsBySender, L as resolveWhatsAppConfigDefaultTo, M as formatTrimmedAllowFromEntries, N as formatWhatsAppConfigAllowFromEntries, O as resolveTelegramGroupToolPolicy, P as resolveIMessageConfigAllowFrom, R as looksLikeWhatsAppTargetId, S as resolveGoogleChatGroupToolPolicy, T as resolveSlackGroupRequireMention, V as looksLikeHandleOrPhoneTarget, _ as resolveBlueBubblesGroupRequireMention, b as resolveDiscordGroupToolPolicy, g as normalizeSignalMessagingTarget, h as looksLikeSignalTargetId, j as buildSlackThreadingToolContext, k as resolveWhatsAppGroupRequireMention, m as resolveWhatsAppMentionStripPatterns, p as resolveWhatsAppGroupIntroHint, v as resolveBlueBubblesGroupToolPolicy, w as resolveIMessageGroupToolPolicy, x as resolveGoogleChatGroupRequireMention, y as resolveDiscordGroupRequireMention, z as normalizeWhatsAppAllowFromEntries } from "./thinking-Dh6B0ZhB.js";
|
|
9
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-Dye2ozSZ.js";
|
|
10
|
+
import "./pi-embedded-helpers-tHjfJzH4.js";
|
|
11
|
+
import { A as listSlackAccountIds, C as resolveTelegramAccount, D as listConfiguredAccountIds, H as resolveDiscordAccount, I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget, M as resolveSlackAccount, N as resolveSlackReplyToMode, O as resolveAccountWithDefaultFallback, S as resolveDefaultTelegramAccountId, V as resolveDefaultDiscordAccountId, a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, j as resolveDefaultSlackAccountId, k as listEnabledSlackAccounts, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, x as listTelegramAccountIds, z as listDiscordAccountIds } from "./plugins-BQHnLb2v.js";
|
|
12
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-B9lBByhz.js";
|
|
13
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-CQWq_42g.js";
|
|
14
|
+
import { At as resolveChannelEntryMatch, Mt as resolveNestedAllowlistDecision, Ot as buildChannelKeyCandidates, at as parseDiscordTarget, dt as normalizeDiscordSlug, jt as resolveChannelEntryMatchWithFallback, kt as normalizeChannelSlug } from "./send-tyEtWeMX.js";
|
|
15
|
+
import "./paths-ICLB349I.js";
|
|
16
16
|
import "./fetch-J9xZaNrT.js";
|
|
17
|
-
import { t as redactSensitiveText } from "./redact-
|
|
18
|
-
import { r as formatErrorMessage } from "./errors-
|
|
19
|
-
import "./channel-activity-
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
22
|
-
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-
|
|
23
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
24
|
-
import "./local-roots-
|
|
25
|
-
import { p as chunkTextByBreakResolver, v as loadWebMedia } from "./ir-
|
|
17
|
+
import { t as redactSensitiveText } from "./redact-BznLQ6I5.js";
|
|
18
|
+
import { r as formatErrorMessage } from "./errors-DdSHGcgi.js";
|
|
19
|
+
import "./channel-activity-ChRCQNSc.js";
|
|
20
|
+
import "./path-alias-guards-CaCBZRHc.js";
|
|
21
|
+
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-DRACrdwg.js";
|
|
22
|
+
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-D3NQgatK.js";
|
|
23
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Uhk4tySC.js";
|
|
24
|
+
import "./local-roots-BYSlR-at.js";
|
|
25
|
+
import { p as chunkTextByBreakResolver, v as loadWebMedia } from "./ir-CruONUHn.js";
|
|
26
26
|
import "./render-A563BsDG.js";
|
|
27
|
-
import "./tables-
|
|
28
|
-
import { c as parseChatAllowTargetPrefixes, d as resolveServicePrefixedTarget, f as formatAllowFromLowercase, l as parseChatTargetPrefixesOrThrow, m as isNormalizedSenderAllowed, o as normalizeIMessageHandle, p as isAllowedParsedChatSender, u as resolveServicePrefixedAllowTarget } from "./send-
|
|
29
|
-
import { J as isWSL2Sync, K as formatLocationText, X as isWSLSync, Y as isWSLEnv, nt as readJsonFileWithFallback, q as toLocationContext, rt as writeJsonFileAtomically } from "./send-
|
|
30
|
-
import "./tool-images-
|
|
31
|
-
import { d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
32
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
33
|
-
import { b as buildRandomTempFilePath, x as withTempDownloadPath } from "./audio-transcription-runner-
|
|
27
|
+
import "./tables-j2CMtAoX.js";
|
|
28
|
+
import { c as parseChatAllowTargetPrefixes, d as resolveServicePrefixedTarget, f as formatAllowFromLowercase, l as parseChatTargetPrefixesOrThrow, m as isNormalizedSenderAllowed, o as normalizeIMessageHandle, p as isAllowedParsedChatSender, u as resolveServicePrefixedAllowTarget } from "./send-QPap4wBN.js";
|
|
29
|
+
import { J as isWSL2Sync, K as formatLocationText, X as isWSLSync, Y as isWSLEnv, nt as readJsonFileWithFallback, q as toLocationContext, rt as writeJsonFileAtomically } from "./send-gz4Lq5tL.js";
|
|
30
|
+
import "./tool-images-D7ah30xm.js";
|
|
31
|
+
import { d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-Hoj2qirZ.js";
|
|
32
|
+
import { s as parseSlackBlocksInput } from "./send-DB9pUM0k.js";
|
|
33
|
+
import { b as buildRandomTempFilePath, x as withTempDownloadPath } from "./audio-transcription-runner-Bndij5Q1.js";
|
|
34
34
|
import { a as resolveWindowsSpawnProgramCandidate, i as resolveWindowsSpawnProgram, n as materializeWindowsSpawnProgram, r as resolveWindowsExecutablePath, t as applyWindowsSpawnProgramPolicy } from "./windows-spawn-Cj9KShLj.js";
|
|
35
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
36
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
37
|
-
import "./skills-
|
|
38
|
-
import { J as rawDataToString } from "./chrome-
|
|
39
|
-
import { A as resolveChannelMediaMaxBytes } from "./deliver-
|
|
40
|
-
import { g as onDiagnosticEvent, h as isDiagnosticsEnabled, m as emitDiagnosticEvent } from "./diagnostic-
|
|
41
|
-
import { r as extractOriginalFilename } from "./store-
|
|
42
|
-
import "./commands-registry-
|
|
35
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-PExiD061.js";
|
|
36
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-ClwX3DoE.js";
|
|
37
|
+
import "./skills-B2FPl9ca.js";
|
|
38
|
+
import { J as rawDataToString } from "./chrome-DNpRdbZ1.js";
|
|
39
|
+
import { A as resolveChannelMediaMaxBytes } from "./deliver-mBruQPRt.js";
|
|
40
|
+
import { g as onDiagnosticEvent, h as isDiagnosticsEnabled, m as emitDiagnosticEvent } from "./diagnostic-B3ZoSFoM.js";
|
|
41
|
+
import { r as extractOriginalFilename } from "./store-CDmdRGxP.js";
|
|
42
|
+
import "./commands-registry-Bq1HqcJU.js";
|
|
43
43
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget } from "./targets-hp9k8jFG.js";
|
|
44
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
45
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
46
|
-
import "./image-
|
|
47
|
-
import "./api-key-rotation-
|
|
48
|
-
import "./proxy-fetch-
|
|
49
|
-
import "./pi-model-discovery-
|
|
50
|
-
import "./send-
|
|
51
|
-
import "./outbound-attachment-
|
|
44
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BDjhohcf.js";
|
|
45
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CZNn3YpA.js";
|
|
46
|
+
import "./image-CEBZ8sRh.js";
|
|
47
|
+
import "./api-key-rotation-DSOB99GV.js";
|
|
48
|
+
import "./proxy-fetch-BpMu-RpD.js";
|
|
49
|
+
import "./pi-model-discovery-DQV-B6bn.js";
|
|
50
|
+
import "./send-BWz-g7wE.js";
|
|
51
|
+
import "./outbound-attachment-DZphVgq7.js";
|
|
52
52
|
import "./proxy-DNZXaj7f.js";
|
|
53
|
-
import "./manager-
|
|
54
|
-
import "./query-expansion-
|
|
55
|
-
import "./outbound-
|
|
56
|
-
import "./session-
|
|
57
|
-
import { t as loginWeb } from "./login-
|
|
53
|
+
import "./manager-AOQxrU7P.js";
|
|
54
|
+
import "./query-expansion-CuaTloKx.js";
|
|
55
|
+
import "./outbound-FdiP5J7H.js";
|
|
56
|
+
import "./session-88GgvJcW.js";
|
|
57
|
+
import { t as loginWeb } from "./login-bdsdinOj.js";
|
|
58
58
|
import fs, { createWriteStream } from "node:fs";
|
|
59
59
|
import path from "node:path";
|
|
60
60
|
import os from "node:os";
|
|
@@ -8,7 +8,7 @@ import "./thinking-BKbno0Cd.js";
|
|
|
8
8
|
import "./accounts-DUA5Xl_G.js";
|
|
9
9
|
import "./send-DTf_iayX.js";
|
|
10
10
|
import "./common-Xz_euS7Z.js";
|
|
11
|
-
import "./reply-
|
|
11
|
+
import "./reply-CHTGOm7N.js";
|
|
12
12
|
import "./image-ops-XfDAu3fC.js";
|
|
13
13
|
import "./pi-embedded-helpers-BHSzA7DP.js";
|
|
14
14
|
import "./accounts-DeyANUVq.js";
|
|
@@ -16,7 +16,7 @@ import "./send-Dm1O7GA-.js";
|
|
|
16
16
|
import "./github-copilot-token-Dm6Mk6Ky.js";
|
|
17
17
|
import "./paths-CdEX_IUM.js";
|
|
18
18
|
import "./send-DtF8kEWW.js";
|
|
19
|
-
import "./channel-web-
|
|
19
|
+
import "./channel-web-ut6coWO5.js";
|
|
20
20
|
import "./tokens-CzwFyjZT.js";
|
|
21
21
|
import "./audio-transcription-runner-B3wnb6JR.js";
|
|
22
22
|
import "./image-Cp_OZoMw.js";
|
|
@@ -52,6 +52,6 @@ import "./query-expansion-eYY85Vjd.js";
|
|
|
52
52
|
import { t as sendMessageWhatsApp } from "./outbound-DkhDw5RJ.js";
|
|
53
53
|
import "./session-SDED9WYV.js";
|
|
54
54
|
import "./login-CVd9KZru.js";
|
|
55
|
-
import "./web-
|
|
55
|
+
import "./web-Oo_Fd7RA.js";
|
|
56
56
|
|
|
57
57
|
export { sendMessageWhatsApp };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./run-with-concurrency-BcPenaKJ.js";
|
|
2
2
|
import "./accounts-Bl6fp04N.js";
|
|
3
|
-
import "./reply-
|
|
3
|
+
import "./reply-CbZPef0p.js";
|
|
4
4
|
import "./paths-BEfQqXwE.js";
|
|
5
5
|
import "./github-copilot-token-BCc3snHh.js";
|
|
6
6
|
import "./config-Cyo0rHBx.js";
|
|
@@ -39,7 +39,7 @@ import "./deliver-mBruQPRt.js";
|
|
|
39
39
|
import "./diagnostic-B3ZoSFoM.js";
|
|
40
40
|
import "./store-CDmdRGxP.js";
|
|
41
41
|
import "./commands-registry-Bq1HqcJU.js";
|
|
42
|
-
import "./channel-web-
|
|
42
|
+
import "./channel-web-CZNn3YpA.js";
|
|
43
43
|
import "./image-CEBZ8sRh.js";
|
|
44
44
|
import "./api-key-rotation-DSOB99GV.js";
|
|
45
45
|
import "./proxy-fetch-BpMu-RpD.js";
|
|
@@ -52,6 +52,6 @@ import "./query-expansion-CuaTloKx.js";
|
|
|
52
52
|
import { t as sendMessageWhatsApp } from "./outbound-FdiP5J7H.js";
|
|
53
53
|
import "./session-88GgvJcW.js";
|
|
54
54
|
import "./login-bdsdinOj.js";
|
|
55
|
-
import "./web-
|
|
55
|
+
import "./web-DSbskSAb.js";
|
|
56
56
|
|
|
57
57
|
export { sendMessageWhatsApp };
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import "@clack/prompts";
|
|
@@ -761,7 +761,7 @@ function readLoggingConfig() {
|
|
|
761
761
|
try {
|
|
762
762
|
if (!fs.existsSync(configPath)) return;
|
|
763
763
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
764
|
-
const logging =
|
|
764
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
765
765
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
766
766
|
return logging;
|
|
767
767
|
} catch {
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-BcPenaKJ.js";
|
|
2
2
|
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-Bl6fp04N.js";
|
|
3
|
-
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-
|
|
3
|
+
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-CbZPef0p.js";
|
|
4
4
|
import "./paths-BEfQqXwE.js";
|
|
5
5
|
import "./github-copilot-token-BCc3snHh.js";
|
|
6
6
|
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-Cyo0rHBx.js";
|
|
@@ -42,7 +42,7 @@ import { r as extractOriginalFilename } from "./store-CDmdRGxP.js";
|
|
|
42
42
|
import "./commands-registry-Bq1HqcJU.js";
|
|
43
43
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget } from "./targets-hp9k8jFG.js";
|
|
44
44
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BDjhohcf.js";
|
|
45
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
45
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CZNn3YpA.js";
|
|
46
46
|
import "./image-CEBZ8sRh.js";
|
|
47
47
|
import "./api-key-rotation-DSOB99GV.js";
|
|
48
48
|
import "./proxy-fetch-BpMu-RpD.js";
|