openclaw-multi-auto 1.7.7 → 1.7.9
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/{agent-BomWJjOy.js → agent-Bf9VxLj8.js} +10 -10
- package/dist/{audio-preflight-CZHCr2-5.js → audio-preflight-DKt9ICbJ.js} +9 -9
- package/dist/{audit-membership-runtime-fBOVjLNx.js → audit-membership-runtime-0b4ZhE41.js} +4 -4
- package/dist/auth-profiles.runtime-pDQ4QesA.js +11 -0
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +10 -10
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/compact.runtime-Y7wbaDO2.js +11 -0
- package/dist/deliver-runtime-DBYdmfDR.js +11 -0
- package/dist/{fetch-BdTTF2z-.js → fetch-sH_NN8SV.js} +2 -2
- package/dist/{frontmatter-DZlWsaUx.js → frontmatter-DhmdUnBP.js} +3 -3
- package/dist/{github-copilot-token-BeFx3MLn.js → github-copilot-token-368sRGBD.js} +7 -7
- package/dist/image-runtime-XMz7IM-j.js +11 -0
- package/dist/llm-slug-generator.js +9 -9
- package/dist/{logger-DCBlX1uz.js → logger-C0l_Gj8Y.js} +7 -7
- package/dist/{login-CKmmxErc.js → login-aLc84rc7.js} +4 -4
- package/dist/{login-qr-KVA4wuh0.js → login-qr-D3QtIyy8.js} +10 -10
- package/dist/manager-runtime-D8C3_L2_.js +11 -0
- package/dist/{manager.runtime-BV-CBNb2.js → manager.runtime-ilRhqZW0.js} +10 -10
- package/dist/{model-selection-CNRMBWfR.js → model-selection-G7SiAgN6.js} +287 -287
- package/dist/{paths-CNIc83Pn.js → paths-BwJ6yG6k.js} +5 -5
- package/dist/pi-model-discovery-runtime-DgHKNg0i.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-DgAiY2la.js → pi-tools.before-tool-call.runtime-Be9V6RlN.js} +9 -9
- package/dist/plugin-sdk/{audio-preflight-CVWl4NKo.js → audio-preflight-yyFn-I5K.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-D1VvFm38.js → audit-membership-runtime-DHo6vLy0.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-Cy2e2Wah.js → auth-profiles.runtime-DN3bNNeo.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-B_tcmPhi.js → bluebubbles-BPDNQxEz.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-GDk6vyOi.js → channel-access-BaZDvsTA.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-CerQrsyV.js → channel-access-configure-DLZc22_m.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CX9AfjCJ.js → channel-config-helpers-CFkTEzkz.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-0XuiRVw-.js → compact.runtime-D1HfZ8IJ.js} +12 -12
- package/dist/plugin-sdk/compat.js +28 -28
- package/dist/plugin-sdk/core.js +14 -14
- package/dist/plugin-sdk/{deliver-runtime-D37pd8wU.js → deliver-runtime-DrD2s_GI.js} +12 -12
- package/dist/plugin-sdk/device-pair.js +5 -5
- package/dist/plugin-sdk/diagnostics-otel.js +2 -2
- package/dist/plugin-sdk/{discord-dU71XVvQ.js → discord-BZR9M1Ft.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-88qB5pUO.js → exec-BvTkR9oI.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-guard-DEyOIg88.js → fetch-guard-Cwx1pJhf.js} +1 -1
- package/dist/plugin-sdk/{fetch-Cqwcg-Kq.js → fetch-yk-axchG.js} +2 -2
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-zm9M-XCJ.js → helpers-Cj2lgcNt.js} +1 -1
- package/dist/plugin-sdk/{http-registry-CR-l0QpT.js → http-registry-DyBqqyPO.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-CSZNFoHc.js → image-runtime-ChtfQsK-.js} +12 -12
- package/dist/plugin-sdk/{imessage-DvtFTwJr.js → imessage-DtibPuZP.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-DpGprwTU.js → inbound-reply-dispatch-CfNEV0ZG.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-D-go2oXy.js → logger-C9fkmDdb.js} +2 -2
- package/dist/plugin-sdk/{logger-Jt8cCPPV.js → logger-DXnvMlr-.js} +2 -2
- package/dist/plugin-sdk/{login-CnT14vQ1.js → login-BC7QDpvj.js} +5 -5
- package/dist/plugin-sdk/{login-qr-Di9Gqms7.js → login-qr-rnZFcwNs.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-DzCE2bL1.js → manager-runtime-B8O--3Jt.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-D6nT5fqn.js → manager.runtime-U_d65Qv1.js} +18 -18
- package/dist/plugin-sdk/matrix.js +16 -16
- package/dist/plugin-sdk/mattermost.js +14 -14
- package/dist/plugin-sdk/msteams.js +16 -16
- package/dist/plugin-sdk/nextcloud-talk.js +15 -15
- package/dist/plugin-sdk/nostr.js +4 -4
- package/dist/plugin-sdk/{outbound-media-CN8bsq-T.js → outbound-media-DWtG1X8J.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-CjCe_L5g.js → persistent-dedupe-BroxGf3Q.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-1vkd_hCn.js → pi-model-discovery-runtime-DWyENOD9.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-D0XEYwCa.js → pi-tools.before-tool-call.runtime-CPBeYJY2.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-DkDE5awL.js → pw-ai-DR8Hjs-J.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-CguAGtaF.js → qmd-manager-3qRPZ5ye.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-ChYs46vb.js → query-expansion-BnFYorqr.js} +5 -5
- package/dist/plugin-sdk/{redact-CqHkGWow.js → redact-DTcVTGFU.js} +1 -1
- package/dist/plugin-sdk/{run-command-nYfMDZC3.js → run-command-qzkvaQG1.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BDbgMnYK.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BYZKJw25.js +23 -0
- package/dist/plugin-sdk/{send-BDZssl9O.js → send-BZgg6N38.js} +5 -5
- package/dist/plugin-sdk/{session-DPhL1rLb.js → session-Dm0FT_vI.js} +5 -5
- package/dist/plugin-sdk/{signal-BKMAyRnz.js → signal-Dy_XjHKL.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-jues0BBq.js → slack-DNwpGTSd.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-BJ6veGjC.js → slash-commands.runtime-Bn7T59g3.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-CyWyh0DI.js → slash-dispatch.runtime-BPsvStS0.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-BiDqNceZ.js → slash-skill-commands.runtime-TDVZ7jxr.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-BVsFNLUF.js → subagent-registry-runtime-D3DovVGQ.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DOh66yR6.js → subsystem-DXcqLSNd.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-D3JLaXTI.js → telegram-B1RGxv8p.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-Bd2LMKfE.js → text-chunking-CaqMErUv.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-Cc59nx4d.js → thread-bindings-Bp_o0GHR.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BhiRkVxe.js → utils-BQpbGej3.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-R5M9rOvm.js → vllm-setup-wjrX_svM.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-BpHTS6sG.js → web-Dz6AjTQn.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-t3fxeJQf.js → webhook-targets-yTQuv0k1.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-BAJ27s8B.js → whatsapp-actions-C5SohPL-.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-D6NF4OC0.js → whatsapp-heartbeat-_Kw4PPKA.js} +3 -3
- package/dist/plugin-sdk/whatsapp.js +13 -13
- package/dist/plugin-sdk/zalo.js +15 -15
- package/dist/plugin-sdk/zalouser.js +16 -16
- package/dist/{pw-ai-3ual6adI.js → pw-ai-BLzIHVAG.js} +9 -9
- package/dist/{qmd-manager-DvglNhlJ.js → qmd-manager-CFVuAj9l.js} +5 -5
- package/dist/{query-expansion-DXwSmE_K.js → query-expansion-DnS6CGY2.js} +8 -8
- package/dist/runtime-whatsapp-login.runtime-CXhM_C-C.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-Kx-CVYdW.js +12 -0
- package/dist/{send-CXnKWzde.js → send-p1D-Lzec.js} +3 -3
- package/dist/{session-kt-bqE_z.js → session-DIkw9afg.js} +7 -7
- package/dist/slash-commands.runtime-D6R-T9zj.js +11 -0
- package/dist/{slash-dispatch.runtime-Cu8ghe1h.js → slash-dispatch.runtime-CgJLQTwP.js} +9 -9
- package/dist/slash-skill-commands.runtime-BC9oRGpm.js +11 -0
- package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-DQeHzv-u.js} +9 -9
- package/dist/{subsystem-Cr1MiLhx.js → subsystem-CDcEQtQK.js} +14 -14
- package/dist/{web-CXyjF_si.js → web-gHwQkPhu.js} +12 -12
- package/dist/{whatsapp-actions-BUvGEDSk.js → whatsapp-actions-C1UZXBOC.js} +10 -10
- package/dist/{workspace-Bi8vpJN0.js → workspace-Cg3kGb1y.js} +20 -20
- package/package.json +1 -1
- package/scripts/create-instance.sh +14 -10
- package/dist/auth-profiles.runtime-DNqCx0L5.js +0 -11
- package/dist/compact.runtime-pgjSlzSY.js +0 -11
- package/dist/deliver-runtime-D4aWAXZ9.js +0 -11
- package/dist/image-runtime-Brryt_BU.js +0 -11
- package/dist/manager-runtime-D9AEoM1M.js +0 -11
- package/dist/pi-model-discovery-runtime-CDKkuBYh.js +0 -11
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-UvsfFa7Q.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYBj8E4x.js +0 -23
- package/dist/runtime-whatsapp-login.runtime-Br3SxDXL.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-L3Qkst0n.js +0 -12
- package/dist/slash-commands.runtime-BYfxn_xu.js +0 -11
- package/dist/slash-skill-commands.runtime-8dS5PTaH.js +0 -11
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { _ as formatPairingApproveHint, a as formatWhatsAppConfigAllowFromEntries, d as resolveWhatsAppConfigDefaultTo, u as resolveWhatsAppConfigAllowFrom } from "./channel-config-helpers-
|
|
3
|
-
import { Ia as createWhatsAppOutboundBase, La as resolveWhatsAppGroupIntroHint, Oa as listWhatsAppDirectoryGroupsFromConfig, Ra as resolveWhatsAppMentionStripPatterns, ka as listWhatsAppDirectoryPeersFromConfig, no as resolveWhatsAppGroupToolPolicy, or as createActionGate, s as WhatsAppConfigSchema, to as resolveWhatsAppGroupRequireMention, ur as readStringParam, xs as getChatChannelMeta, za as resolveWhatsAppOutboundTarget } from "./thread-bindings-
|
|
2
|
+
import { _ as formatPairingApproveHint, a as formatWhatsAppConfigAllowFromEntries, d as resolveWhatsAppConfigDefaultTo, u as resolveWhatsAppConfigAllowFrom } from "./channel-config-helpers-CFkTEzkz.js";
|
|
3
|
+
import { Ia as createWhatsAppOutboundBase, La as resolveWhatsAppGroupIntroHint, Oa as listWhatsAppDirectoryGroupsFromConfig, Ra as resolveWhatsAppMentionStripPatterns, ka as listWhatsAppDirectoryPeersFromConfig, no as resolveWhatsAppGroupToolPolicy, or as createActionGate, s as WhatsAppConfigSchema, to as resolveWhatsAppGroupRequireMention, ur as readStringParam, xs as getChatChannelMeta, za as resolveWhatsAppOutboundTarget } from "./thread-bindings-Bp_o0GHR.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-C9fkmDdb.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import { d as normalizeE164 } from "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import { d as normalizeE164 } from "./utils-BQpbGej3.js";
|
|
10
|
+
import "./fetch-yk-axchG.js";
|
|
11
|
+
import "./exec-BvTkR9oI.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-BnFYorqr.js";
|
|
14
|
+
import "./logger-DXnvMlr-.js";
|
|
15
15
|
import "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-DTcVTGFU.js";
|
|
17
|
+
import "./http-registry-DyBqqyPO.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-Cwx1pJhf.js";
|
|
21
21
|
import { i as resolveDefaultGroupPolicy, r as resolveAllowlistProviderRuntimeGroupPolicy } from "./runtime-group-policy-CDs_9_tb.js";
|
|
22
22
|
import "./registry-N-tffRct.js";
|
|
23
23
|
import "./http-body-CLS7yD5S.js";
|
|
24
24
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
25
25
|
import { r as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
26
26
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
27
|
-
import { t as resolveWhatsAppHeartbeatRecipients } from "./whatsapp-heartbeat-
|
|
27
|
+
import { t as resolveWhatsAppHeartbeatRecipients } from "./whatsapp-heartbeat-_Kw4PPKA.js";
|
|
28
28
|
export { DEFAULT_ACCOUNT_ID, WhatsAppConfigSchema, applyAccountNameToChannelSection, buildChannelConfigSchema, createActionGate, createWhatsAppOutboundBase, emptyPluginConfigSchema, formatPairingApproveHint, formatWhatsAppConfigAllowFromEntries, getChatChannelMeta, listWhatsAppDirectoryGroupsFromConfig, listWhatsAppDirectoryPeersFromConfig, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeE164, readStringParam, resolveAllowlistProviderRuntimeGroupPolicy, resolveDefaultGroupPolicy, resolveWhatsAppConfigAllowFrom, resolveWhatsAppConfigDefaultTo, resolveWhatsAppGroupIntroHint, resolveWhatsAppGroupRequireMention, resolveWhatsAppGroupToolPolicy, resolveWhatsAppHeartbeatRecipients, resolveWhatsAppMentionStripPatterns, resolveWhatsAppOutboundTarget };
|
package/dist/plugin-sdk/zalo.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { B as createAccountListHelpers, _ as formatPairingApproveHint } from "./channel-config-helpers-
|
|
3
|
-
import { Cn as createDedupeCache, L as waitForAbortSignal, P as extractToolSend, Pa as listDirectoryUserEntriesFromAllowFrom, Q as issuePairingChallenge, at as createReplyPrefixOptions, bs as resolveClientIp, ct as logTypingFailure, nt as createTypingCallbacks, oi as evaluateSenderGroupAccess, oo as isNormalizedSenderAllowed, ro as formatAllowFromLowercase, sr as jsonResult, ur as readStringParam } from "./thread-bindings-
|
|
2
|
+
import { B as createAccountListHelpers, _ as formatPairingApproveHint } from "./channel-config-helpers-CFkTEzkz.js";
|
|
3
|
+
import { Cn as createDedupeCache, L as waitForAbortSignal, P as extractToolSend, Pa as listDirectoryUserEntriesFromAllowFrom, Q as issuePairingChallenge, at as createReplyPrefixOptions, bs as resolveClientIp, ct as logTypingFailure, nt as createTypingCallbacks, oi as evaluateSenderGroupAccess, oo as isNormalizedSenderAllowed, ro as formatAllowFromLowercase, sr as jsonResult, ur as readStringParam } from "./thread-bindings-Bp_o0GHR.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-C9fkmDdb.js";
|
|
7
7
|
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import "./utils-BQpbGej3.js";
|
|
10
|
+
import "./fetch-yk-axchG.js";
|
|
11
|
+
import "./exec-BvTkR9oI.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-BnFYorqr.js";
|
|
14
|
+
import "./logger-DXnvMlr-.js";
|
|
15
15
|
import { H as setAccountEnabledInConfigSection, V as deleteAccountFromConfigSection, at as normalizeSecretInputString, it as normalizeResolvedSecretInputString, m as MarkdownConfigSchema, tt as hasConfiguredSecretInput } from "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-DTcVTGFU.js";
|
|
17
|
+
import "./http-registry-DyBqqyPO.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-Cwx1pJhf.js";
|
|
21
21
|
import { a as resolveOpenProviderRuntimeGroupPolicy, i as resolveDefaultGroupPolicy, s as warnMissingProviderGroupPolicyFallbackOnce } from "./runtime-group-policy-CDs_9_tb.js";
|
|
22
22
|
import "./registry-N-tffRct.js";
|
|
23
23
|
import "./http-body-CLS7yD5S.js";
|
|
24
24
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
25
|
-
import { c as resolveWebhookTargets, d as resolveWebhookPath, i as resolveSingleWebhookTarget, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, s as resolveWebhookTargetWithAuthOrRejectSync, t as registerWebhookTarget } from "./webhook-targets-
|
|
25
|
+
import { c as resolveWebhookTargets, d as resolveWebhookPath, i as resolveSingleWebhookTarget, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, s as resolveWebhookTargetWithAuthOrRejectSync, t as registerWebhookTarget } from "./webhook-targets-yTQuv0k1.js";
|
|
26
26
|
import { r as applyBasicWebhookRequestGuards, s as readJsonWebhookBodyOrReject } from "./webhook-request-guards-BSr2HYoW.js";
|
|
27
27
|
import { o as buildTokenChannelStatusSummary, t as buildBaseAccountStatusSnapshot } from "./status-helpers-BZuLH1ue.js";
|
|
28
28
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
29
|
-
import { C as setTopLevelChannelDmPolicyWithAllowFrom, _ as runSingleChannelSecretStep, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, m as promptSingleChannelSecretInput, r as buildSingleChannelSecretPromptState, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-
|
|
29
|
+
import { C as setTopLevelChannelDmPolicyWithAllowFrom, _ as runSingleChannelSecretStep, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, m as promptSingleChannelSecretInput, r as buildSingleChannelSecretPromptState, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-Cj2lgcNt.js";
|
|
30
30
|
import { n as applySetupAccountConfigPatch, r as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
31
|
-
import { a as resolveSenderCommandAuthorizationWithRuntime, n as resolveChannelAccountConfigBasePath, o as buildChannelSendResult, r as resolveDirectDmAuthorizationOutcome, t as chunkTextForOutbound } from "./text-chunking-
|
|
31
|
+
import { a as resolveSenderCommandAuthorizationWithRuntime, n as resolveChannelAccountConfigBasePath, o as buildChannelSendResult, r as resolveDirectDmAuthorizationOutcome, t as chunkTextForOutbound } from "./text-chunking-CaqMErUv.js";
|
|
32
32
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
33
33
|
import { t as createScopedPairingAccess } from "./pairing-access-bXidxMna.js";
|
|
34
34
|
import { r as resolveInboundRouteEnvelopeBuilderWithRuntime } from "./inbound-envelope-BxdUZQxb.js";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-CbP51u9x.js";
|
|
2
|
-
import { B as createAccountListHelpers, _ as formatPairingApproveHint } from "./channel-config-helpers-
|
|
3
|
-
import { J as summarizeMapping, Q as issuePairingChallenge, at as createReplyPrefixOptions, ci as resolveSenderScopedGroupPolicy, et as resolveMentionGatingWithBypass, h as ToolPolicySchema, ii as evaluateGroupRouteAccessForPolicy, nt as createTypingCallbacks, q as mergeAllowlist, ro as formatAllowFromLowercase, tt as isDangerousNameMatchingEnabled } from "./thread-bindings-
|
|
2
|
+
import { B as createAccountListHelpers, _ as formatPairingApproveHint } from "./channel-config-helpers-CFkTEzkz.js";
|
|
3
|
+
import { J as summarizeMapping, Q as issuePairingChallenge, at as createReplyPrefixOptions, ci as resolveSenderScopedGroupPolicy, et as resolveMentionGatingWithBypass, h as ToolPolicySchema, ii as evaluateGroupRouteAccessForPolicy, nt as createTypingCallbacks, q as mergeAllowlist, ro as formatAllowFromLowercase, tt as isDangerousNameMatchingEnabled } from "./thread-bindings-Bp_o0GHR.js";
|
|
4
4
|
import "./paths-WR8OhEmw.js";
|
|
5
5
|
import "./github-copilot-token-BGYH4ltJ.js";
|
|
6
|
-
import "./logger-
|
|
6
|
+
import "./logger-C9fkmDdb.js";
|
|
7
7
|
import { t as resolvePreferredOpenClawTmpDir } from "./tmp-openclaw-dir-DRPiOszV.js";
|
|
8
|
-
import "./subsystem-
|
|
9
|
-
import "./utils-
|
|
10
|
-
import "./fetch-
|
|
11
|
-
import "./exec-
|
|
8
|
+
import "./subsystem-DXcqLSNd.js";
|
|
9
|
+
import "./utils-BQpbGej3.js";
|
|
10
|
+
import "./fetch-yk-axchG.js";
|
|
11
|
+
import "./exec-BvTkR9oI.js";
|
|
12
12
|
import "./thinking-B2k7q5lY.js";
|
|
13
|
-
import "./query-expansion-
|
|
14
|
-
import "./logger-
|
|
13
|
+
import "./query-expansion-BnFYorqr.js";
|
|
14
|
+
import "./logger-DXnvMlr-.js";
|
|
15
15
|
import { H as setAccountEnabledInConfigSection, V as deleteAccountFromConfigSection, m as MarkdownConfigSchema } from "./zod-schema.core-GWl_s9xp.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./http-registry-
|
|
16
|
+
import "./redact-DTcVTGFU.js";
|
|
17
|
+
import "./http-registry-DyBqqyPO.js";
|
|
18
18
|
import "./pairing-token-BwgaSu88.js";
|
|
19
19
|
import "./ssrf-Dlo7BZU6.js";
|
|
20
|
-
import "./fetch-guard-
|
|
20
|
+
import "./fetch-guard-Cwx1pJhf.js";
|
|
21
21
|
import { a as resolveOpenProviderRuntimeGroupPolicy, i as resolveDefaultGroupPolicy, s as warnMissingProviderGroupPolicyFallbackOnce } from "./runtime-group-policy-CDs_9_tb.js";
|
|
22
22
|
import "./registry-N-tffRct.js";
|
|
23
23
|
import "./http-body-CLS7yD5S.js";
|
|
24
24
|
import { t as emptyPluginConfigSchema } from "./config-schema-D85tZOYm.js";
|
|
25
25
|
import { t as buildBaseAccountStatusSnapshot } from "./status-helpers-BZuLH1ue.js";
|
|
26
26
|
import "./provider-env-vars-BJJqyIIb.js";
|
|
27
|
-
import { C as setTopLevelChannelDmPolicyWithAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-
|
|
27
|
+
import { C as setTopLevelChannelDmPolicyWithAllowFrom, h as resolveAccountIdForConfigure, i as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId } from "./helpers-Cj2lgcNt.js";
|
|
28
28
|
import { a as patchScopedAccountConfig, n as applySetupAccountConfigPatch, r as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-B1M39J3a.js";
|
|
29
29
|
import { t as formatResolvedUnresolvedNote } from "./resolution-notes-DLPPP3rA.js";
|
|
30
|
-
import { i as resolveSenderCommandAuthorization, n as resolveChannelAccountConfigBasePath, o as buildChannelSendResult, t as chunkTextForOutbound } from "./text-chunking-
|
|
30
|
+
import { i as resolveSenderCommandAuthorization, n as resolveChannelAccountConfigBasePath, o as buildChannelSendResult, t as chunkTextForOutbound } from "./text-chunking-CaqMErUv.js";
|
|
31
31
|
import { i as buildChannelConfigSchema } from "./config-schema-BPehl1ON.js";
|
|
32
32
|
import { t as createScopedPairingAccess } from "./pairing-access-bXidxMna.js";
|
|
33
33
|
import { a as resolveOutboundMediaUrls, o as sendMediaWithLeadingCaption, r as isNumericTargetId, s as sendPayloadWithChunkedTextAndMedia } from "./reply-payload-C0CJpM2K.js";
|
|
34
|
-
import { t as loadOutboundMediaFromUrl } from "./outbound-media-
|
|
35
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
34
|
+
import { t as loadOutboundMediaFromUrl } from "./outbound-media-DWtG1X8J.js";
|
|
35
|
+
import { t as promptChannelAccessConfig } from "./channel-access-BaZDvsTA.js";
|
|
36
36
|
export { DEFAULT_ACCOUNT_ID, MarkdownConfigSchema, ToolPolicySchema, addWildcardAllowFrom, applyAccountNameToChannelSection, applySetupAccountConfigPatch, buildBaseAccountStatusSnapshot, buildChannelConfigSchema, buildChannelSendResult, chunkTextForOutbound, createAccountListHelpers, createReplyPrefixOptions, createScopedPairingAccess, createTypingCallbacks, deleteAccountFromConfigSection, emptyPluginConfigSchema, evaluateGroupRouteAccessForPolicy, formatAllowFromLowercase, formatPairingApproveHint, formatResolvedUnresolvedNote, isDangerousNameMatchingEnabled, isNumericTargetId, issuePairingChallenge, loadOutboundMediaFromUrl, mergeAllowFromEntries, mergeAllowlist, migrateBaseNameToDefaultAccount, normalizeAccountId, patchScopedAccountConfig, promptAccountId, promptChannelAccessConfig, resolveAccountIdForConfigure, resolveChannelAccountConfigBasePath, resolveDefaultGroupPolicy, resolveMentionGatingWithBypass, resolveOpenProviderRuntimeGroupPolicy, resolveOutboundMediaUrls, resolvePreferredOpenClawTmpDir, resolveSenderCommandAuthorization, resolveSenderScopedGroupPolicy, sendMediaWithLeadingCaption, sendPayloadWithChunkedTextAndMedia, setAccountEnabledInConfigSection, setTopLevelChannelDmPolicyWithAllowFrom, summarizeMapping, warnMissingProviderGroupPolicyFallbackOnce };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { at as writeFileFromPathWithinRoot } from "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { $r as withCdpSocket, Ci as formatCliCommand, Gr as getRoleSnapshotStats, Jr as normalizeCdpWsUrl, Kr as parseRoleRef, Qr as normalizeCdpHttpBaseForJsonEndpoints, Ur as buildRoleSnapshotFromAiSnapshot, Wr as buildRoleSnapshotFromAriaSnapshot, Xr as fetchJson, Yr as appendCdpPath, Zr as getHeadersWithAuth, ai as DEFAULT_TRACE_DIR, ci as formatErrorMessage, di as BrowserTabNotFoundError, fi as assertBrowserNavigationAllowed, hi as withBrowserNavigationPolicy, li as matchBrowserUrlPattern, mi as assertBrowserNavigationResultAllowed, ni as markPwAiLoaded, oi as DEFAULT_UPLOAD_DIR, pi as assertBrowserNavigationRedirectChainAllowed, qr as formatAriaSnapshot, ri as withNoProxyForCdpUrl, si as resolveStrictExistingPathsWithinRoot, ti as getChromeWebSocketUrl } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import { at as writeFileFromPathWithinRoot } from "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { E as resolvePreferredOpenClawTmpDir } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { $r as withCdpSocket, Ci as formatCliCommand, Gr as getRoleSnapshotStats, Jr as normalizeCdpWsUrl, Kr as parseRoleRef, Qr as normalizeCdpHttpBaseForJsonEndpoints, Ur as buildRoleSnapshotFromAiSnapshot, Wr as buildRoleSnapshotFromAriaSnapshot, Xr as fetchJson, Yr as appendCdpPath, Zr as getHeadersWithAuth, ai as DEFAULT_TRACE_DIR, ci as formatErrorMessage, di as BrowserTabNotFoundError, fi as assertBrowserNavigationAllowed, hi as withBrowserNavigationPolicy, li as matchBrowserUrlPattern, mi as assertBrowserNavigationResultAllowed, ni as markPwAiLoaded, oi as DEFAULT_UPLOAD_DIR, pi as assertBrowserNavigationRedirectChainAllowed, qr as formatAriaSnapshot, ri as withNoProxyForCdpUrl, si as resolveStrictExistingPathsWithinRoot, ti as getChromeWebSocketUrl } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import crypto from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as resolveWindowsSpawnProgram, C as isFileMissingError, Ct as resolveAgentWorkspaceDir, a as listSessionFilesForAgent, i as buildSessionEntry, ot as writeFileWithinRoot, r as requireNodeSqlite, t as extractKeywords, w as statRegularFile, z as materializeWindowsSpawnProgram } from "./query-expansion-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { it as parseAgentSessionKey } from "./workspace-
|
|
5
|
-
import "./logger-
|
|
1
|
+
import { B as resolveWindowsSpawnProgram, C as isFileMissingError, Ct as resolveAgentWorkspaceDir, a as listSessionFilesForAgent, i as buildSessionEntry, ot as writeFileWithinRoot, r as requireNodeSqlite, t as extractKeywords, w as statRegularFile, z as materializeWindowsSpawnProgram } from "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import { it as parseAgentSessionKey } from "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as resolveStateDir, f as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-
|
|
2
|
-
import { C as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as isNotFoundPathError, D as resolveBoundaryPath, E as BOUNDARY_PATH_ALIAS_POLICIES, M as isSymlinkOpenError, P as DEFAULT_AGENT_ID, T as sameFileIdentity, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, j as isPathInside, k as hasNodeErrorCode, p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
4
|
-
import { i as logWarn, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveStateDir, f as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-BwJ6yG6k.js";
|
|
2
|
+
import { C as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
3
|
+
import { A as isNotFoundPathError, D as resolveBoundaryPath, E as BOUNDARY_PATH_ALIAS_POLICIES, M as isSymlinkOpenError, P as DEFAULT_AGENT_ID, T as sameFileIdentity, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, j as isPathInside, k as hasNodeErrorCode, p as resolveDefaultAgentWorkspaceDir } from "./workspace-Cg3kGb1y.js";
|
|
4
|
+
import { i as logWarn, y as resolveUserPath } from "./logger-C0l_Gj8Y.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs$1, { constants, readFileSync, statSync } from "node:fs";
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
import { once } from "node:events";
|
|
@@ -191,7 +191,7 @@ function normalizePathForComparison(input) {
|
|
|
191
191
|
const resolved = path.resolve(stripNullBytes(resolveUserPath(input)));
|
|
192
192
|
let normalized = resolved;
|
|
193
193
|
try {
|
|
194
|
-
normalized =
|
|
194
|
+
normalized = fs$1.realpathSync.native(resolved);
|
|
195
195
|
} catch {}
|
|
196
196
|
if (process.platform === "win32") return normalized.toLowerCase();
|
|
197
197
|
return normalized;
|
|
@@ -1690,7 +1690,7 @@ function resolveStructuralSessionFallbackPath(candidateAbsPath, expectedAgentId)
|
|
|
1690
1690
|
}
|
|
1691
1691
|
function safeRealpathSync(filePath) {
|
|
1692
1692
|
try {
|
|
1693
|
-
return
|
|
1693
|
+
return fs$1.realpathSync(filePath);
|
|
1694
1694
|
} catch {
|
|
1695
1695
|
return;
|
|
1696
1696
|
}
|
|
@@ -1933,7 +1933,7 @@ const DISABLED_MULTIMODAL_SETTINGS = {
|
|
|
1933
1933
|
};
|
|
1934
1934
|
function ensureDir(dir) {
|
|
1935
1935
|
try {
|
|
1936
|
-
|
|
1936
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
1937
1937
|
} catch {}
|
|
1938
1938
|
return dir;
|
|
1939
1939
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
import "./session-DIkw9afg.js";
|
|
12
|
+
import { t as loginWeb } from "./login-aLc84rc7.js";
|
|
13
|
+
export { loginWeb };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-p1D-Lzec.js";
|
|
12
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as getChildLogger, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { T as toWhatsappJid, u as escapeRegExp } from "./logger-
|
|
3
|
-
import { Cn as resolveMarkdownTableMode, Mn as loadWebMedia, Nn as normalizePollInput, _i as redactIdentifier, br as resolveWhatsAppMediaMaxBytes, ei as generateSecureUuid, f as requireActiveWebListener, vi as loadConfig, xn as convertMarkdownTables, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
1
|
+
import { b as getChildLogger, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
2
|
+
import { T as toWhatsappJid, u as escapeRegExp } from "./logger-C0l_Gj8Y.js";
|
|
3
|
+
import { Cn as resolveMarkdownTableMode, Mn as loadWebMedia, Nn as normalizePollInput, _i as redactIdentifier, br as resolveWhatsAppMediaMaxBytes, ei as generateSecureUuid, f as requireActiveWebListener, vi as loadConfig, xn as convertMarkdownTables, yr as resolveWhatsAppAccount } from "./model-selection-G7SiAgN6.js";
|
|
4
4
|
//#region src/markdown/whatsapp.ts
|
|
5
5
|
/**
|
|
6
6
|
* Convert standard Markdown formatting to WhatsApp-compatible markup.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-
|
|
2
|
-
import { l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { Ar as resolveWebCredsBackupPath, Ci as formatCliCommand, Dr as readCredsJsonRaw, Tr as maybeRestoreCredsFromBackup, jr as resolveWebCredsPath, kr as resolveDefaultWebAuthDir, xi as VERSION } from "./model-selection-
|
|
4
|
-
import
|
|
1
|
+
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-CDcEQtQK.js";
|
|
2
|
+
import { l as ensureDir, y as resolveUserPath } from "./logger-C0l_Gj8Y.js";
|
|
3
|
+
import { Ar as resolveWebCredsBackupPath, Ci as formatCliCommand, Dr as readCredsJsonRaw, Tr as maybeRestoreCredsFromBackup, jr as resolveWebCredsPath, kr as resolveDefaultWebAuthDir, xi as VERSION } from "./model-selection-G7SiAgN6.js";
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
7
7
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
fs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { an as listNativeCommandSpecsForConfig, in as findCommandByNativeName, on as parseCommandArgs, rn as buildCommandTextFromArgs, sn as resolveCommandArgMenu } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { An as resolveChunkMode, B as finalizeInboundContext, Cn as resolveMarkdownTableMode, E as createReplyPrefixOptions, Fr as resolveConversationLabel, S as dispatchReplyWithDispatcher, _ as deliverSlackSlashReplies, h as recordInboundSessionMetaSafe, hn as resolveAgentRoute } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { An as resolveChunkMode, B as finalizeInboundContext, Cn as resolveMarkdownTableMode, E as createReplyPrefixOptions, Fr as resolveConversationLabel, S as dispatchReplyWithDispatcher, _ as deliverSlackSlashReplies, h as recordInboundSessionMetaSafe, hn as resolveAgentRoute } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
11
|
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { I as listSkillCommandsForAgents } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
export { listSkillCommandsForAgents };
|
package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-DQeHzv-u.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { $ as countPendingDescendantRuns, Q as countActiveDescendantRuns, at as shouldIgnorePostCompletionAnnounceForSession, et as countPendingDescendantRunsExcludingRun, it as resolveRequesterForChildSession, nt as listSubagentRunsForRequester, rt as replaceSubagentRunAfterSteer, tt as isSubagentSessionRunActive } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { $ as countPendingDescendantRuns, Q as countActiveDescendantRuns, at as shouldIgnorePostCompletionAnnounceForSession, et as countPendingDescendantRunsExcludingRun, it as resolveRequesterForChildSession, nt as listSubagentRunsForRequester, rt as replaceSubagentRunAfterSteer, tt as isSubagentSessionRunActive } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
11
|
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as resolveConfigPath } from "./paths-
|
|
1
|
+
import { r as resolveConfigPath } from "./paths-BwJ6yG6k.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import JSON5 from "json5";
|
|
@@ -49,15 +49,15 @@ function getCommandPathInternal(argv, depth, opts) {
|
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/infra/tmp-openclaw-dir.ts
|
|
51
51
|
const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
|
|
52
|
-
const TMP_DIR_ACCESS_MODE =
|
|
52
|
+
const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
|
|
53
53
|
function isNodeErrorWithCode(err, code) {
|
|
54
54
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
55
55
|
}
|
|
56
56
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
57
|
-
const accessSync = options.accessSync ??
|
|
58
|
-
const chmodSync = options.chmodSync ??
|
|
59
|
-
const lstatSync = options.lstatSync ??
|
|
60
|
-
const mkdirSync = options.mkdirSync ??
|
|
57
|
+
const accessSync = options.accessSync ?? fs.accessSync;
|
|
58
|
+
const chmodSync = options.chmodSync ?? fs.chmodSync;
|
|
59
|
+
const lstatSync = options.lstatSync ?? fs.lstatSync;
|
|
60
|
+
const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
|
|
61
61
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
62
62
|
const getuid = options.getuid ?? (() => {
|
|
63
63
|
try {
|
|
@@ -149,8 +149,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
149
149
|
function readLoggingConfig() {
|
|
150
150
|
const configPath = resolveConfigPath();
|
|
151
151
|
try {
|
|
152
|
-
if (!
|
|
153
|
-
const raw =
|
|
152
|
+
if (!fs.existsSync(configPath)) return;
|
|
153
|
+
const raw = fs.readFileSync(configPath, "utf-8");
|
|
154
154
|
const logging = JSON5.parse(raw)?.logging;
|
|
155
155
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
156
156
|
return logging;
|
|
@@ -332,7 +332,7 @@ function buildLogger(settings) {
|
|
|
332
332
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
333
333
|
return logger;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
fs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
336
336
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
337
337
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
338
338
|
let warnedAboutSizeCap = false;
|
|
@@ -371,14 +371,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
371
371
|
}
|
|
372
372
|
function getCurrentLogFileBytes(file) {
|
|
373
373
|
try {
|
|
374
|
-
return
|
|
374
|
+
return fs.statSync(file).size;
|
|
375
375
|
} catch {
|
|
376
376
|
return 0;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
function appendLogLine(file, line) {
|
|
380
380
|
try {
|
|
381
|
-
|
|
381
|
+
fs.appendFileSync(file, line, { encoding: "utf8" });
|
|
382
382
|
return true;
|
|
383
383
|
} catch {
|
|
384
384
|
return false;
|
|
@@ -430,14 +430,14 @@ function isRollingPath(file) {
|
|
|
430
430
|
}
|
|
431
431
|
function pruneOldRollingLogs(dir) {
|
|
432
432
|
try {
|
|
433
|
-
const entries =
|
|
433
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
434
434
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
435
435
|
for (const entry of entries) {
|
|
436
436
|
if (!entry.isFile()) continue;
|
|
437
437
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
438
438
|
const fullPath = path.join(dir, entry.name);
|
|
439
439
|
try {
|
|
440
|
-
if (
|
|
440
|
+
if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
|
|
441
441
|
} catch {}
|
|
442
442
|
}
|
|
443
443
|
} catch {}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { R as resolveStorePath } from "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { a as defaultRuntime, b as getChildLogger, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { F as DEFAULT_MAIN_KEY, I as buildAgentMainSessionKey, R as buildGroupHistoryKey, V as normalizeAgentId } from "./workspace-
|
|
5
|
-
import { C as sleep, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-
|
|
6
|
-
import { A as formatInboundEnvelope, An as resolveChunkMode, At as toLocationContext, B as finalizeInboundContext, C as issuePairingChallenge, Ci as formatCliCommand, Cn as resolveMarkdownTableMode, Cr as logWebSelfId, Ct as createDedupeCache, D as shouldAckReactionForWhatsApp, Dn as resolveOpenProviderRuntimeGroupPolicy, Dt as normalizeGroupActivation, E as createReplyPrefixOptions, En as resolveDefaultGroupPolicy, Er as pickWebChannel, Et as resolveMessagePrefix, G as shouldComputeCommandAuthorized, H as createInboundDebouncer, Ir as resolveGroupSessionKey, Jn as registerUnhandledRejectionHandler, K as buildMentionRegexes, Mn as loadWebMedia, Mr as webAuthExists, Nr as resolveChannelGroupPolicy, O as buildHistoryContextFromEntries, On as warnMissingProviderGroupPolicyFallbackOnce, Or as readWebSelfId, Ot as parseActivationCommand, Pr as resolveChannelGroupRequireMention, Sn as recordChannelActivity, Sr as getWebAuthAgeMs, St as sleepWithAbort, Tt as resolveIdentityNamePrefix, U as resolveInboundDebounceMs, W as hasControlCommand, Xn as getAgentScopedMediaLocalRoots, _n as enqueueSystemEvent, b as createConnectedChannelStatusPatch, br as resolveWhatsAppMediaMaxBytes, cn as readStoreAllowFromForDmPolicy, dn as resolvePinnedMainDmOwnerFromAllowlist, er as loadSessionStore, fn as upsertChannelPairingRequest, gn as resolveInboundLastRouteSessionKey, hn as resolveAgentRoute, ii as saveMediaBuffer, j as getReplyFromConfig, jn as resolveTextChunkLimit, k as recordPendingHistoryEntryIfEnabled, kn as chunkMarkdownTextWithMode, kt as formatLocationText, ln as resolveDmGroupAccessWithCommandGate, m as resolveInboundSessionEnvelopeContext, mn as deriveLastRoutePolicy, nr as updateLastRoute, p as setActiveWebListener, pn as buildAgentSessionKey, q as normalizeMentionText, tr as recordSessionMetaFromInbound, un as resolveDmGroupAccessWithLists, vi as loadConfig, vn as formatDurationPrecise, w as resolveMentionGating, x as dispatchReplyWithBufferedBlockDispatcher, xn as convertMarkdownTables, xr as WA_WEB_AUTH_DIR, xt as computeBackoff, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import { R as resolveStorePath } from "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { a as defaultRuntime, b as getChildLogger, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import { F as DEFAULT_MAIN_KEY, I as buildAgentMainSessionKey, R as buildGroupHistoryKey, V as normalizeAgentId } from "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import { C as sleep, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { A as formatInboundEnvelope, An as resolveChunkMode, At as toLocationContext, B as finalizeInboundContext, C as issuePairingChallenge, Ci as formatCliCommand, Cn as resolveMarkdownTableMode, Cr as logWebSelfId, Ct as createDedupeCache, D as shouldAckReactionForWhatsApp, Dn as resolveOpenProviderRuntimeGroupPolicy, Dt as normalizeGroupActivation, E as createReplyPrefixOptions, En as resolveDefaultGroupPolicy, Er as pickWebChannel, Et as resolveMessagePrefix, G as shouldComputeCommandAuthorized, H as createInboundDebouncer, Ir as resolveGroupSessionKey, Jn as registerUnhandledRejectionHandler, K as buildMentionRegexes, Mn as loadWebMedia, Mr as webAuthExists, Nr as resolveChannelGroupPolicy, O as buildHistoryContextFromEntries, On as warnMissingProviderGroupPolicyFallbackOnce, Or as readWebSelfId, Ot as parseActivationCommand, Pr as resolveChannelGroupRequireMention, Sn as recordChannelActivity, Sr as getWebAuthAgeMs, St as sleepWithAbort, Tt as resolveIdentityNamePrefix, U as resolveInboundDebounceMs, W as hasControlCommand, Xn as getAgentScopedMediaLocalRoots, _n as enqueueSystemEvent, b as createConnectedChannelStatusPatch, br as resolveWhatsAppMediaMaxBytes, cn as readStoreAllowFromForDmPolicy, dn as resolvePinnedMainDmOwnerFromAllowlist, er as loadSessionStore, fn as upsertChannelPairingRequest, gn as resolveInboundLastRouteSessionKey, hn as resolveAgentRoute, ii as saveMediaBuffer, j as getReplyFromConfig, jn as resolveTextChunkLimit, k as recordPendingHistoryEntryIfEnabled, kn as chunkMarkdownTextWithMode, kt as formatLocationText, ln as resolveDmGroupAccessWithCommandGate, m as resolveInboundSessionEnvelopeContext, mn as deriveLastRoutePolicy, nr as updateLastRoute, p as setActiveWebListener, pn as buildAgentSessionKey, q as normalizeMentionText, tr as recordSessionMetaFromInbound, un as resolveDmGroupAccessWithLists, vi as loadConfig, vn as formatDurationPrecise, w as resolveMentionGating, x as dispatchReplyWithBufferedBlockDispatcher, xn as convertMarkdownTables, xr as WA_WEB_AUTH_DIR, xt as computeBackoff, yr as resolveWhatsAppAccount } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
12
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
13
|
-
import { t as loginWeb } from "./login-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DIkw9afg.js";
|
|
12
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-p1D-Lzec.js";
|
|
13
|
+
import { t as loginWeb } from "./login-aLc84rc7.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
16
16
|
const DEFAULT_RECONNECT_POLICY = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { Gt as readReactionParams, Ht as ToolAuthorizationError, Kt as readStringParam, Ut as createActionGate, Wt as jsonResult, vr as resolveWhatsAppOutboundTarget, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { Gt as readReactionParams, Ht as ToolAuthorizationError, Kt as readStringParam, Ut as createActionGate, Wt as jsonResult, vr as resolveWhatsAppOutboundTarget, yr as resolveWhatsAppAccount } from "./model-selection-G7SiAgN6.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
11
|
-
import { r as sendReactionWhatsApp } from "./send-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
import { r as sendReactionWhatsApp } from "./send-p1D-Lzec.js";
|
|
12
12
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
13
13
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
14
14
|
const account = resolveWhatsAppAccount({
|