@fased/fased 0.1.43 → 0.1.45

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.
Files changed (70) hide show
  1. package/dist/brand.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  4. package/dist/daemon/systemd-unit.js +1 -1
  5. package/dist/plugin-sdk/{audio-preflight-CzG6BjAn.js → audio-preflight-CKgOmu0p.js} +3 -3
  6. package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
  7. package/dist/plugin-sdk/{chunk-items-CxRDAM7m.js → chunk-items-CNyHcNiG.js} +1 -1
  8. package/dist/plugin-sdk/command-status.js +3 -3
  9. package/dist/plugin-sdk/device-pair.d.ts +1 -1
  10. package/dist/plugin-sdk/discord.d.ts +4 -4
  11. package/dist/plugin-sdk/index.d.ts +17 -17
  12. package/dist/plugin-sdk/index.js +4 -4
  13. package/dist/plugin-sdk/{monitor-BrxWsb7H.js → monitor-B8dLCpFA.js} +7 -7
  14. package/dist/plugin-sdk/{monitor-B1PUtkd6.js → monitor-dqvs6ijC.js} +5 -5
  15. package/dist/plugin-sdk/{openresponses-http-DJ2lfMja.js → openresponses-http-S64mJyy8.js} +3 -3
  16. package/dist/plugin-sdk/{pairing-message-DWXHX-jt.d.ts → pairing-message-DfIyssV_.d.ts} +1 -1
  17. package/dist/plugin-sdk/{pi-embedded-runner-DMfkIj60.js → pi-embedded-runner-XtyJMQqg.js} +12 -12
  18. package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
  19. package/dist/plugin-sdk/{pw-ai-BgsJH_P8.js → pw-ai-BFHYmEIx.js} +1 -1
  20. package/dist/plugin-sdk/{runtime-dependency-pUwxUAJp.js → runtime-dependency-B5Fut2tT.js} +9 -9
  21. package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
  22. package/dist/plugin-sdk/sat-runtime.js +1 -1
  23. package/dist/plugin-sdk/{slack-B6lIY1Jk.js → slack-DcXn5HVj.js} +5 -5
  24. package/dist/plugin-sdk/slack.d.ts +4 -4
  25. package/dist/plugin-sdk/{sticker-cache-D4Ljzv1P.js → sticker-cache-C3YATyKD.js} +2 -2
  26. package/dist/plugin-sdk/{telegram-actions-tOhBd6st.js → telegram-actions-Dd_iEzYH.js} +4 -4
  27. package/dist/plugin-sdk/telegram.d.ts +4 -4
  28. package/dist/plugin-sdk/{tmp-fased-dir-Be1wBhVz.d.ts → tmp-fased-dir-Bcp1DTSV.d.ts} +1 -1
  29. package/dist/plugin-sdk/{types-CJGVZX6j.d.ts → types-BTkcYtOt.d.ts} +2 -2
  30. package/dist/plugin-sdk/{types-CXLEOrJX.d.ts → types-CMoLtViq.d.ts} +1 -1
  31. package/dist/plugin-sdk/{wallet-status-CdxTkLWz.js → wallet-status-D9UVH6k9.js} +4 -4
  32. package/dist/plugin-sdk/{web-CX12Rpz1.js → web-BgTy1WeG.js} +3 -3
  33. package/dist/plugin-sdk/whatsapp.d.ts +11 -11
  34. package/dist/plugin-sdk/{zod-schema.providers-core-BEbNizPe.d.ts → zod-schema.providers-core-CIzCjXH9.d.ts} +61 -61
  35. package/extensions/acpx/package.json +1 -1
  36. package/extensions/bluebubbles/package.json +1 -1
  37. package/extensions/copilot-proxy/package.json +1 -1
  38. package/extensions/diagnostics-otel/package.json +1 -1
  39. package/extensions/fased-federation/package.json +1 -1
  40. package/extensions/google-gemini-cli-auth/package.json +1 -1
  41. package/extensions/imessage/package.json +1 -1
  42. package/extensions/irc/package.json +1 -1
  43. package/extensions/line/package.json +1 -1
  44. package/extensions/llm-task/package.json +1 -1
  45. package/extensions/lobster/package.json +1 -1
  46. package/extensions/matrix/CHANGELOG.md +6 -0
  47. package/extensions/matrix/package.json +1 -1
  48. package/extensions/mattermost/package.json +1 -1
  49. package/extensions/memory-core/package.json +2 -2
  50. package/extensions/memory-lancedb/package.json +1 -1
  51. package/extensions/minimax-portal-auth/package.json +1 -1
  52. package/extensions/msteams/CHANGELOG.md +6 -0
  53. package/extensions/msteams/package.json +1 -1
  54. package/extensions/nextcloud-talk/package.json +1 -1
  55. package/extensions/nostr/CHANGELOG.md +6 -0
  56. package/extensions/nostr/package.json +1 -1
  57. package/extensions/open-prose/package.json +1 -1
  58. package/extensions/sat-mining/package.json +1 -1
  59. package/extensions/signal/package.json +1 -1
  60. package/extensions/synology-chat/package.json +1 -1
  61. package/extensions/tlon/package.json +1 -1
  62. package/extensions/twitch/CHANGELOG.md +6 -0
  63. package/extensions/twitch/package.json +1 -1
  64. package/extensions/voice-call/CHANGELOG.md +6 -0
  65. package/extensions/voice-call/package.json +1 -1
  66. package/extensions/zalo/CHANGELOG.md +6 -0
  67. package/extensions/zalo/package.json +1 -1
  68. package/extensions/zalouser/CHANGELOG.md +6 -0
  69. package/extensions/zalouser/package.json +1 -1
  70. package/package.json +1 -1
@@ -15,7 +15,7 @@ import { execFileSync, spawn } from "node:child_process";
15
15
  import { createHmac } from "node:crypto";
16
16
  import { createServer } from "node:http";
17
17
  import net from "node:net";
18
- import WebSocket$1, { WebSocketServer } from "ws";
18
+ import WebSocket, { WebSocketServer } from "ws";
19
19
 
20
20
  //#region src/browser/constants.ts
21
21
  const DEFAULT_FASED_BROWSER_ENABLED = true;
@@ -167,7 +167,7 @@ async function ensureChromeExtensionRelayServer(opts) {
167
167
  let extensionWs = null;
168
168
  const cdpClients = /* @__PURE__ */ new Set();
169
169
  const connectedTargets = /* @__PURE__ */ new Map();
170
- const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
170
+ const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
171
171
  let extensionDisconnectCleanupTimer = null;
172
172
  const extensionReconnectWaiters = /* @__PURE__ */ new Set();
173
173
  const flushExtensionReconnectWaiters = (connected) => {
@@ -218,7 +218,7 @@ async function ensureChromeExtensionRelayServer(opts) {
218
218
  let nextExtensionId = 1;
219
219
  const sendToExtension = async (payload) => {
220
220
  const ws = extensionWs;
221
- if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
221
+ if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
222
222
  ws.send(JSON.stringify(payload));
223
223
  return await new Promise((resolve, reject) => {
224
224
  const timer = setTimeout(() => {
@@ -235,12 +235,12 @@ async function ensureChromeExtensionRelayServer(opts) {
235
235
  const broadcastToCdpClients = (evt) => {
236
236
  const msg = JSON.stringify(evt);
237
237
  for (const ws of cdpClients) {
238
- if (ws.readyState !== WebSocket$1.OPEN) continue;
238
+ if (ws.readyState !== WebSocket.OPEN) continue;
239
239
  ws.send(msg);
240
240
  }
241
241
  };
242
242
  const sendResponseToCdp = (ws, res) => {
243
- if (ws.readyState !== WebSocket$1.OPEN) return;
243
+ if (ws.readyState !== WebSocket.OPEN) return;
244
244
  ws.send(JSON.stringify(res));
245
245
  };
246
246
  const ensureTargetEventsForClient = (ws, mode) => {
@@ -450,7 +450,7 @@ async function ensureChromeExtensionRelayServer(opts) {
450
450
  rejectUpgrade(socket, 401, "Unauthorized");
451
451
  return;
452
452
  }
453
- if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
453
+ if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
454
454
  try {
455
455
  extensionWs.terminate();
456
456
  } catch {}
@@ -487,7 +487,7 @@ async function ensureChromeExtensionRelayServer(opts) {
487
487
  clearExtensionDisconnectCleanupTimer();
488
488
  flushExtensionReconnectWaiters(true);
489
489
  const ping = setInterval(() => {
490
- if (ws.readyState !== WebSocket$1.OPEN) return;
490
+ if (ws.readyState !== WebSocket.OPEN) return;
491
491
  ws.send(JSON.stringify({ method: "ping" }));
492
492
  }, 5e3);
493
493
  ws.on("message", (data) => {
@@ -829,7 +829,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
829
829
  }
830
830
  async function withCdpSocket(wsUrl, fn, opts) {
831
831
  const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
832
- const ws = new WebSocket$1(wsUrl, {
832
+ const ws = new WebSocket(wsUrl, {
833
833
  handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
834
834
  ...Object.keys(headers).length ? { headers } : {}
835
835
  });
@@ -1755,7 +1755,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
1755
1755
  async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
1756
1756
  return await new Promise((resolve) => {
1757
1757
  const headers = getHeadersWithAuth(wsUrl);
1758
- const ws = new WebSocket$1(wsUrl, {
1758
+ const ws = new WebSocket(wsUrl, {
1759
1759
  handshakeTimeout: timeoutMs,
1760
1760
  ...Object.keys(headers).length ? { headers } : {}
1761
1761
  });
@@ -1,6 +1,6 @@
1
1
  import { At as FasedAgentConfig, Bt as WalletRuntimeKind, Ht as WalletToolAccessMode, It as WalletAuthMode, Lt as WalletChain, Rt as WalletExecutionMode, Vt as WalletRuntimeMode, _n as GatewayClientName, gn as GatewayClientMode, s as loadConfig, zt as WalletProviderId } from "./types.plugin-CvUiB3Kh.js";
2
- import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-CJGVZX6j.js";
3
- import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-Be1wBhVz.js";
2
+ import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-BTkcYtOt.js";
3
+ import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-Bcp1DTSV.js";
4
4
  import { Api, Model } from "@mariozechner/pi-ai";
5
5
  import { AuthStorage, ModelRegistry } from "@mariozechner/pi-coding-agent";
6
6
  import * as _sinclair_typebox0 from "@sinclair/typebox";
@@ -17,7 +17,7 @@ import "./paths-B88DQEK8.js";
17
17
  import "./ip-BkeyFRJr.js";
18
18
  import "./device-pairing-J1IH1jFl.js";
19
19
  import "./pairing-token-HQpaqod5.js";
20
- import { At as resolveModel, B as resolveWalletUserRole, D as resolveWalletProviderId, Dt as resolveSatMintProgramIdFromEnv, Et as resolveSatMintAddressFromEnv, F as resolveWalletRolePolicyProfile, G as requireLocalSocketSignerPath, J as resolveWalletRuntimeConfig, M as resolveWalletPolicyConfig, O as loadWalletProviderSecret, Ot as resolveSatProgramIdFromEnv, R as readWalletProviderRegistry, St as errorShape, T as createWalletProviderAdapter, Tt as resolveSatBondProgramIdFromEnv, U as callLocalSocketSigner, V as upsertNamedWallet, W as probeLocalSocketSignerHealth, _t as signDevicePayload, at as getSatMainnetSyncStatus, gt as publicKeyRawBase64UrlFromPem, ht as loadOrCreateDeviceIdentity, kt as tryResolveSatRuntimeIds, n as createOrExecuteWalletSend, nt as buildAttestation, ot as syncSatMainnetRuntimeIds, q as resolveLocalSignerSocketPath, t as readWalletStatusSnapshot, tt as fetchSolanaWalletAssetsViaRpc, ut as callGatewayScoped, vt as verifyDeviceSignature, w as enforceWalletCustodyForAutonomousSend, wt as SAT_RUNTIME_DEFAULTS, xt as ErrorCodes } from "./wallet-status-CdxTkLWz.js";
20
+ import { At as resolveModel, B as resolveWalletUserRole, D as resolveWalletProviderId, Dt as resolveSatMintProgramIdFromEnv, Et as resolveSatMintAddressFromEnv, F as resolveWalletRolePolicyProfile, G as requireLocalSocketSignerPath, J as resolveWalletRuntimeConfig, M as resolveWalletPolicyConfig, O as loadWalletProviderSecret, Ot as resolveSatProgramIdFromEnv, R as readWalletProviderRegistry, St as errorShape, T as createWalletProviderAdapter, Tt as resolveSatBondProgramIdFromEnv, U as callLocalSocketSigner, V as upsertNamedWallet, W as probeLocalSocketSignerHealth, _t as signDevicePayload, at as getSatMainnetSyncStatus, gt as publicKeyRawBase64UrlFromPem, ht as loadOrCreateDeviceIdentity, kt as tryResolveSatRuntimeIds, n as createOrExecuteWalletSend, nt as buildAttestation, ot as syncSatMainnetRuntimeIds, q as resolveLocalSignerSocketPath, t as readWalletStatusSnapshot, tt as fetchSolanaWalletAssetsViaRpc, ut as callGatewayScoped, vt as verifyDeviceSignature, w as enforceWalletCustodyForAutonomousSend, wt as SAT_RUNTIME_DEFAULTS, xt as ErrorCodes } from "./wallet-status-D9UVH6k9.js";
21
21
  import "./pi-model-discovery-DQdXL_-F.js";
22
22
  import "./ws-CxmRDbD9.js";
23
23
 
@@ -1,4 +1,4 @@
1
- import { A as clearHistoryEntriesIfEnabled, E as DEFAULT_GROUP_HISTORY_LIMIT, Et as resolveChannelConfigWrites, F as removeAckReactionAfterReply, G as resolveEnvelopeFormatOptions, Gn as createDedupeCache, H as resolveInboundDebounceMs, I as shouldAckReaction, K as dispatchInboundMessage, Kn as pruneMapToMaxSize, Kt as hasControlCommand, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, P as recordInboundSession, U as formatInboundEnvelope, V as createInboundDebouncer, Xn as readStoreAllowFromForDmPolicy, Xt as matchesMentionWithExplicit, Yt as buildMentionRegexes, b as logInboundDrop, d as issuePairingChallenge, dt as normalizeAllowListLower, er as resolveCommandAuthorizedFromAuthorizers, f as createTypingCallbacks, ft as normalizeSlackSlug, lt as allowListMatches, m as resolveMentionGatingWithBypass, mt as resolveSlackUserAllowed, pt as resolveSlackAllowListMatch, q as createReplyDispatcherWithTyping, tr as resolveControlCommandGate, ut as normalizeAllowList, wt as enqueueSystemEvent, x as logTypingFailure, xn as installRequestBodyLimitGuard, y as logAckFailure } from "./pi-embedded-runner-DMfkIj60.js";
1
+ import { A as clearHistoryEntriesIfEnabled, E as DEFAULT_GROUP_HISTORY_LIMIT, Et as resolveChannelConfigWrites, F as removeAckReactionAfterReply, G as resolveEnvelopeFormatOptions, Gn as createDedupeCache, H as resolveInboundDebounceMs, I as shouldAckReaction, K as dispatchInboundMessage, Kn as pruneMapToMaxSize, Kt as hasControlCommand, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, P as recordInboundSession, U as formatInboundEnvelope, V as createInboundDebouncer, Xn as readStoreAllowFromForDmPolicy, Xt as matchesMentionWithExplicit, Yt as buildMentionRegexes, b as logInboundDrop, d as issuePairingChallenge, dt as normalizeAllowListLower, er as resolveCommandAuthorizedFromAuthorizers, f as createTypingCallbacks, ft as normalizeSlackSlug, lt as allowListMatches, m as resolveMentionGatingWithBypass, mt as resolveSlackUserAllowed, pt as resolveSlackAllowListMatch, q as createReplyDispatcherWithTyping, tr as resolveControlCommandGate, ut as normalizeAllowList, wt as enqueueSystemEvent, x as logTypingFailure, xn as installRequestBodyLimitGuard, y as logAckFailure } from "./pi-embedded-runner-XtyJMQqg.js";
2
2
  import { K as resolveSessionKey, S as readSessionUpdatedAt, w as updateLastRoute } from "./runtime-BUpqjZNM.js";
3
3
  import { r as createNonExitingRuntime } from "./subsystem-DBPNbQDQ.js";
4
4
  import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger } from "./globals-B_jjtAje.js";
@@ -36,9 +36,9 @@ import "./diagnostic-C16gioN6.js";
36
36
  import "./diagnostic-session-state-B-9PL5r7.js";
37
37
  import "./optional-runtime-dependency-Bt_3Yigu.js";
38
38
  import "./image-ops-BSQmb-17.js";
39
- import "./wallet-status-CdxTkLWz.js";
39
+ import "./wallet-status-D9UVH6k9.js";
40
40
  import "./pi-model-discovery-DQdXL_-F.js";
41
- import "./runtime-dependency-pUwxUAJp.js";
41
+ import "./runtime-dependency-B5Fut2tT.js";
42
42
  import "./ws-CxmRDbD9.js";
43
43
  import "./path-alias-guards-BlIJ0AmG.js";
44
44
  import "./fs-safe-DztQeyQe.js";
@@ -64,7 +64,7 @@ import "./tables-DX84FwPB.js";
64
64
  import { t as sendMessageSlack } from "./send-DUp9GIX8.js";
65
65
  import { r as resolveSlackWebClientOptions } from "./client-BTUzO_8g.js";
66
66
  import { a as listSlackPins, c as reactSlackMessage, d as removeSlackReaction, f as sendSlackMessage, i as listSlackEmojis, l as readSlackMessages, n as editSlackMessage, o as listSlackReactions, p as unpinSlackMessage, r as getSlackMemberInfo, s as pinSlackMessage, t as deleteSlackMessage, u as removeOwnSlackReactions } from "./actions-CysoQjk1.js";
67
- import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-CxRDAM7m.js";
67
+ import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-CNyHcNiG.js";
68
68
  import { t as createDraftStreamLoop } from "./draft-stream-loop-DZ1OAyye.js";
69
69
  import { t as resolveSlackUserAllowlist } from "./resolve-users-C1sjzEsV.js";
70
70
  import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-BPFt4O-j.js";
@@ -3243,7 +3243,7 @@ async function registerSlackMonitorSlashCommands(params) {
3243
3243
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
3244
3244
  import("./resolve-route-wp5xq4Ws.js").then((n) => n.r),
3245
3245
  import("./inbound-context-BNCTzgjG.js").then((n) => n.n),
3246
- import("./pi-embedded-runner-DMfkIj60.js").then((n) => n.B)
3246
+ import("./pi-embedded-runner-XtyJMQqg.js").then((n) => n.B)
3247
3247
  ]);
3248
3248
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
3249
3249
  import("./conversation-label-BoVqak2R.js").then((n) => n.t),
@@ -1,10 +1,10 @@
1
1
  import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
2
2
  import { At as FasedAgentConfig, J as ChannelMessageActionAdapter, Y as ChannelMessageActionContext, ct as ChannelThreadingToolContext, lt as ChannelToolSend, n as ChannelPlugin, qt as SlackAccountConfig, r as ChannelOnboardingAdapter, st as ChannelThreadingContext, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
3
- import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CXLEOrJX.js";
4
- import { D as normalizeE164 } from "./types-CJGVZX6j.js";
5
- import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DWXHX-jt.js";
3
+ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CMoLtViq.js";
4
+ import { D as normalizeE164 } from "./types-BTkcYtOt.js";
5
+ import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DfIyssV_.js";
6
6
  import { _ as buildTokenChannelStatusSummary, l as resolveSlackGroupRequireMention, u as resolveSlackGroupToolPolicy } from "./group-mentions-DLOOve8d.js";
7
- import { o as SlackConfigSchema } from "./zod-schema.providers-core-BEbNizPe.js";
7
+ import { o as SlackConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
8
8
  import { AgentToolResult } from "@mariozechner/pi-agent-core";
9
9
 
10
10
  //#region src/slack/accounts.d.ts
@@ -1,4 +1,4 @@
1
- import { At as resolveAutoImageModel, c as loadModelCatalog, l as modelSupportsVision, s as findModelInCatalog } from "./pi-embedded-runner-DMfkIj60.js";
1
+ import { At as resolveAutoImageModel, c as loadModelCatalog, l as modelSupportsVision, s as findModelInCatalog } from "./pi-embedded-runner-XtyJMQqg.js";
2
2
  import { i as logVerbose } from "./globals-B_jjtAje.js";
3
3
  import { t as STATE_DIR } from "./paths-BEmvSyOV.js";
4
4
  import { Yt as resolveDefaultModelForAgent, cn as resolveApiKeyForProvider } from "./config-DKNrb8oT.js";
@@ -147,7 +147,7 @@ async function describeStickerImage(params) {
147
147
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
148
148
  try {
149
149
  const buffer = await fs.readFile(imagePath);
150
- const { describeImageWithModel } = await import("./pi-embedded-runner-DMfkIj60.js").then((n) => n.Ut);
150
+ const { describeImageWithModel } = await import("./pi-embedded-runner-XtyJMQqg.js").then((n) => n.Ut);
151
151
  return (await describeImageWithModel({
152
152
  buffer,
153
153
  fileName: "sticker.webp",
@@ -1,4 +1,4 @@
1
- import { Bn as resolveTelegramInlineButtonsScope, zn as resolveTelegramReactionLevel } from "./pi-embedded-runner-DMfkIj60.js";
1
+ import { Bn as resolveTelegramInlineButtonsScope, zn as resolveTelegramReactionLevel } from "./pi-embedded-runner-XtyJMQqg.js";
2
2
  import { an as resolveTelegramToken, en as createTelegramActionGate } from "./runtime-BUpqjZNM.js";
3
3
  import "./subsystem-DBPNbQDQ.js";
4
4
  import "./globals-B_jjtAje.js";
@@ -33,9 +33,9 @@ import "./diagnostic-session-state-B-9PL5r7.js";
33
33
  import { i as resolveTelegramTargetChatType } from "./targets-CuTZl1mO.js";
34
34
  import "./optional-runtime-dependency-Bt_3Yigu.js";
35
35
  import "./image-ops-BSQmb-17.js";
36
- import "./wallet-status-CdxTkLWz.js";
36
+ import "./wallet-status-D9UVH6k9.js";
37
37
  import "./pi-model-discovery-DQdXL_-F.js";
38
- import "./runtime-dependency-pUwxUAJp.js";
38
+ import "./runtime-dependency-B5Fut2tT.js";
39
39
  import "./ws-CxmRDbD9.js";
40
40
  import "./path-alias-guards-BlIJ0AmG.js";
41
41
  import "./fs-safe-DztQeyQe.js";
@@ -60,7 +60,7 @@ import "./tables-DX84FwPB.js";
60
60
  import "./retry-policy-BTH89onl.js";
61
61
  import { a as reactMessageTelegram, i as editMessageTelegram, n as createForumTopicTelegram, o as sendMessageTelegram, r as deleteMessageTelegram, s as sendStickerTelegram } from "./send-CRI83FPV.js";
62
62
  import "./proxy-R5TjOIFS.js";
63
- import { a as searchStickers, r as getCacheStats } from "./sticker-cache-D4Ljzv1P.js";
63
+ import { a as searchStickers, r as getCacheStats } from "./sticker-cache-C3YATyKD.js";
64
64
 
65
65
  //#region src/agents/tools/telegram-actions.ts
66
66
  const TELEGRAM_BUTTON_STYLES = [
@@ -1,10 +1,10 @@
1
1
  import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
2
2
  import { At as FasedAgentConfig, F as ChannelAccountSnapshot, Gt as TelegramAccountConfig, J as ChannelMessageActionAdapter, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
3
- import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Lt as TelegramProbe, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CXLEOrJX.js";
4
- import { D as normalizeE164 } from "./types-CJGVZX6j.js";
5
- import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DWXHX-jt.js";
3
+ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Lt as TelegramProbe, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CMoLtViq.js";
4
+ import { D as normalizeE164 } from "./types-BTkcYtOt.js";
5
+ import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DfIyssV_.js";
6
6
  import { _ as buildTokenChannelStatusSummary, d as resolveTelegramGroupRequireMention, f as resolveTelegramGroupToolPolicy } from "./group-mentions-DLOOve8d.js";
7
- import { s as TelegramConfigSchema } from "./zod-schema.providers-core-BEbNizPe.js";
7
+ import { s as TelegramConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
8
8
 
9
9
  //#region src/telegram/accounts.d.ts
10
10
  type ResolvedTelegramAccount = {
@@ -1,5 +1,5 @@
1
1
  import { At as FasedAgentConfig, l as AgentDefaultsConfig } from "./types.plugin-CvUiB3Kh.js";
2
- import { M as LookupFn, P as SsrFPolicy } from "./types-CJGVZX6j.js";
2
+ import { M as LookupFn, P as SsrFPolicy } from "./types-BTkcYtOt.js";
3
3
 
4
4
  //#region src/agents/agent-scope.d.ts
5
5
  type AgentEntry = NonNullable<NonNullable<FasedAgentConfig["agents"]>["list"]>[number];
@@ -168,13 +168,13 @@ declare const ConnectParamsSchema: _sinclair_typebox0.TObject<{
168
168
  minProtocol: _sinclair_typebox0.TInteger;
169
169
  maxProtocol: _sinclair_typebox0.TInteger;
170
170
  client: _sinclair_typebox0.TObject<{
171
- id: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"webchat-ui" | "fased-control-ui" | "webchat" | "cli" | "gateway-client" | "fased-macos" | "fased-ios" | "fased-android" | "node-host" | "test" | "fingerprint" | "fased-probe">[]>;
171
+ id: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"cli" | "webchat" | "webchat-ui" | "fased-control-ui" | "gateway-client" | "fased-macos" | "fased-ios" | "fased-android" | "node-host" | "test" | "fingerprint" | "fased-probe">[]>;
172
172
  displayName: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
173
173
  version: _sinclair_typebox0.TString;
174
174
  platform: _sinclair_typebox0.TString;
175
175
  deviceFamily: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
176
176
  modelIdentifier: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
177
- mode: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"webchat" | "cli" | "test" | "ui" | "backend" | "node" | "probe">[]>;
177
+ mode: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"ui" | "backend" | "node" | "cli" | "webchat" | "probe" | "test">[]>;
178
178
  instanceId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
179
179
  }>;
180
180
  caps: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
@@ -1,6 +1,6 @@
1
1
  import { t as ChatType } from "./chat-type-CK5stkc4.js";
2
2
  import { An as GetReplyOptions, At as FasedAgentConfig, B as ChannelCapabilities, Ct as RuntimeEnv, Dn as MarkdownTableMode, E as ChannelPairingAdapter, F as ChannelAccountSnapshot, G as ChannelId, J as ChannelMessageActionAdapter, Jt as SlackSlashCommandConfig, Kt as TelegramGroupConfig, L as ChannelAgentPromptAdapter, N as BaseProbeResult, Nt as ModelProviderConfig, On as ReplyToMode, Ot as sendMessageDiscord, P as BaseTokenResolution, R as ChannelAgentTool, St as sendMessageIMessage, Tn as HumanDelayConfig, V as ChannelDirectoryEntry, _t as sendPollWhatsApp, bn as GroupToolPolicyConfig, bt as sendMessageSlack, c as writeConfigFile, dn as chunkMarkdownTextWithMode, f as ChannelCommandAdapter, fn as chunkText, ft as FinalizedMsgContext, gt as sendMessageWhatsApp, h as ChannelElevatedAdapter, hn as resolveTextChunkLimit, ht as ShouldHandleTextCommandsParams, jn as ReplyPayload, kt as sendPollDiscord, ln as chunkByNewline, mn as resolveChunkMode, mt as CommandNormalizeOptions, n as ChannelPlugin, o as WizardPrompter, ot as ChannelThreadingAdapter, p as ChannelConfigAdapter, pn as chunkTextWithMode, pt as MsgContext, q as ChannelMentionAdapter, s as loadConfig, sn as TtsAutoMode, un as chunkMarkdownText, v as ChannelGroupAdapter, vn as PollInput, vt as sendMessageTelegram, wn as GroupPolicy, xt as sendMessageSignal, yn as GroupToolPolicyBySenderConfig, yt as sendPollTelegram } from "./types.plugin-CvUiB3Kh.js";
3
- import { C as readWebSelfId, H as resolveStateDir, M as LookupFn, P as SsrFPolicy, S as logoutWeb, _ as PushTestParams, a as GatewayClient, b as getWebAuthAgeMs, c as GatewayRequestHandlerOptions, i as OperatorScope, j as LogLevel, l as GatewayRequestHandlers, m as ChatInjectParams, n as AuthProfileStore, o as GatewayRequestContext, r as OAuthCredential, s as GatewayRequestHandler, t as AuthProfileCredential, v as WebLoginStartParams, w as webAuthExists, x as logWebSelfId, y as WebLoginWaitParams } from "./types-CJGVZX6j.js";
3
+ import { C as readWebSelfId, H as resolveStateDir, M as LookupFn, P as SsrFPolicy, S as logoutWeb, _ as PushTestParams, a as GatewayClient, b as getWebAuthAgeMs, c as GatewayRequestHandlerOptions, i as OperatorScope, j as LogLevel, l as GatewayRequestHandlers, m as ChatInjectParams, n as AuthProfileStore, o as GatewayRequestContext, r as OAuthCredential, s as GatewayRequestHandler, t as AuthProfileCredential, v as WebLoginStartParams, w as webAuthExists, x as logWebSelfId, y as WebLoginWaitParams } from "./types-BTkcYtOt.js";
4
4
  import { WebClient } from "@slack/web-api";
5
5
  import { Skill } from "@mariozechner/pi-coding-agent";
6
6
  import { AgentMessage, AgentTool, AgentToolResult } from "@mariozechner/pi-agent-core";
@@ -19,7 +19,7 @@ import crypto, { X509Certificate, createDecipheriv, createHash, createPublicKey,
19
19
  import AjvPkg from "ajv";
20
20
  import net from "node:net";
21
21
  import { Type } from "@sinclair/typebox";
22
- import { WebSocket } from "ws";
22
+ import { WebSocket as WebSocket$1 } from "ws";
23
23
  import { AddressLookupTableAccount, PublicKey, VersionedTransaction } from "@solana/web3.js";
24
24
  import { Value } from "@sinclair/typebox/value";
25
25
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
@@ -4059,7 +4059,7 @@ var GatewayClient = class {
4059
4059
  if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
4060
4060
  });
4061
4061
  }
4062
- this.ws = new WebSocket(url, wsOptions);
4062
+ this.ws = new WebSocket$1(url, wsOptions);
4063
4063
  this.ws.on("open", () => {
4064
4064
  if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
4065
4065
  const tlsError = this.validateTlsFingerprint();
@@ -4255,7 +4255,7 @@ var GatewayClient = class {
4255
4255
  const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
4256
4256
  if (this.connectTimer) clearTimeout(this.connectTimer);
4257
4257
  this.connectTimer = setTimeout(() => {
4258
- if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
4258
+ if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
4259
4259
  this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
4260
4260
  this.ws?.close(1008, "connect challenge timeout");
4261
4261
  }, connectChallengeTimeoutMs);
@@ -4297,7 +4297,7 @@ var GatewayClient = class {
4297
4297
  return null;
4298
4298
  }
4299
4299
  async request(method, params, opts) {
4300
- if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
4300
+ if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
4301
4301
  const id = randomUUID();
4302
4302
  const frame = {
4303
4303
  type: "req",
@@ -1,4 +1,4 @@
1
- import { C as buildPairingReply, D as buildHistoryContextFromEntries, E as DEFAULT_GROUP_HISTORY_LIMIT, G as resolveEnvelopeFormatOptions, Gn as createDedupeCache, H as resolveInboundDebounceMs, Kt as hasControlCommand, L as shouldAckReactionForWhatsApp, N as recordPendingHistoryEntryIfEnabled, Pt as registerUnhandledRejectionHandler, Qn as resolveDmGroupAccessWithLists, R as dispatchReplyWithBufferedBlockDispatcher, St as formatDurationPrecise, T as sleepWithAbort, U as formatInboundEnvelope, V as createInboundDebouncer, Xn as readStoreAllowFromForDmPolicy, Y as getReplyFromConfig, Yt as buildMentionRegexes, Zn as resolveDmGroupAccessWithCommandGate, Zt as normalizeMentionText, ct as parseActivationCommand, p as resolveMentionGating, qt as shouldComputeCommandAuthorized, st as normalizeGroupActivation, w as computeBackoff, wt as enqueueSystemEvent } from "./pi-embedded-runner-DMfkIj60.js";
1
+ import { C as buildPairingReply, D as buildHistoryContextFromEntries, E as DEFAULT_GROUP_HISTORY_LIMIT, G as resolveEnvelopeFormatOptions, Gn as createDedupeCache, H as resolveInboundDebounceMs, Kt as hasControlCommand, L as shouldAckReactionForWhatsApp, N as recordPendingHistoryEntryIfEnabled, Pt as registerUnhandledRejectionHandler, Qn as resolveDmGroupAccessWithLists, R as dispatchReplyWithBufferedBlockDispatcher, St as formatDurationPrecise, T as sleepWithAbort, U as formatInboundEnvelope, V as createInboundDebouncer, Xn as readStoreAllowFromForDmPolicy, Y as getReplyFromConfig, Yt as buildMentionRegexes, Zn as resolveDmGroupAccessWithCommandGate, Zt as normalizeMentionText, ct as parseActivationCommand, p as resolveMentionGating, qt as shouldComputeCommandAuthorized, st as normalizeGroupActivation, w as computeBackoff, wt as enqueueSystemEvent } from "./pi-embedded-runner-XtyJMQqg.js";
2
2
  import { C as recordSessionMetaFromInbound, S as readSessionUpdatedAt, _n as resolveChannelGroupRequireMention, bn as resolveGroupSessionKey, gn as resolveChannelGroupPolicy, w as updateLastRoute, x as loadSessionStore } from "./runtime-BUpqjZNM.js";
3
3
  import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
4
4
  import { i as logVerbose, p as getChildLogger, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
@@ -35,9 +35,9 @@ import "./diagnostic-session-state-B-9PL5r7.js";
35
35
  import { t as redactIdentifier } from "./redact-identifier-CDvAeiFm.js";
36
36
  import "./optional-runtime-dependency-Bt_3Yigu.js";
37
37
  import "./image-ops-BSQmb-17.js";
38
- import "./wallet-status-CdxTkLWz.js";
38
+ import "./wallet-status-D9UVH6k9.js";
39
39
  import "./pi-model-discovery-DQdXL_-F.js";
40
- import "./runtime-dependency-pUwxUAJp.js";
40
+ import "./runtime-dependency-B5Fut2tT.js";
41
41
  import "./ws-CxmRDbD9.js";
42
42
  import "./path-alias-guards-BlIJ0AmG.js";
43
43
  import "./fs-safe-DztQeyQe.js";
@@ -1,8 +1,8 @@
1
1
  import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
2
2
  import { At as FasedAgentConfig, Cn as DmPolicy, F as ChannelAccountSnapshot, J as ChannelMessageActionAdapter, Wt as WhatsAppAccountConfig, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta, wn as GroupPolicy } from "./types.plugin-CvUiB3Kh.js";
3
- import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CXLEOrJX.js";
4
- import { D as normalizeE164 } from "./types-CJGVZX6j.js";
5
- import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DWXHX-jt.js";
3
+ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CMoLtViq.js";
4
+ import { D as normalizeE164 } from "./types-BTkcYtOt.js";
5
+ import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DfIyssV_.js";
6
6
  import { _ as buildTokenChannelStatusSummary, m as resolveWhatsAppGroupToolPolicy, p as resolveWhatsAppGroupRequireMention } from "./group-mentions-DLOOve8d.js";
7
7
  import { z } from "zod";
8
8
 
@@ -12,9 +12,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
12
12
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
13
  markdown: z.ZodOptional<z.ZodObject<{
14
14
  tables: z.ZodOptional<z.ZodEnum<{
15
- code: "code";
16
15
  off: "off";
17
16
  bullets: "bullets";
17
+ code: "code";
18
18
  }>>;
19
19
  }, z.core.$strict>>;
20
20
  configWrites: z.ZodOptional<z.ZodBoolean>;
@@ -22,9 +22,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
22
22
  messagePrefix: z.ZodOptional<z.ZodString>;
23
23
  responsePrefix: z.ZodOptional<z.ZodString>;
24
24
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25
+ open: "open";
25
26
  disabled: "disabled";
26
27
  allowlist: "allowlist";
27
- open: "open";
28
28
  pairing: "pairing";
29
29
  }>>>;
30
30
  selfChatMode: z.ZodOptional<z.ZodBoolean>;
@@ -32,9 +32,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
32
32
  defaultTo: z.ZodOptional<z.ZodString>;
33
33
  groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
34
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35
+ open: "open";
35
36
  disabled: "disabled";
36
37
  allowlist: "allowlist";
37
- open: "open";
38
38
  }>>>;
39
39
  historyLimit: z.ZodOptional<z.ZodNumber>;
40
40
  dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
@@ -69,8 +69,8 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
69
69
  emoji: z.ZodOptional<z.ZodString>;
70
70
  direct: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
71
71
  group: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
72
- always: "always";
73
72
  never: "never";
73
+ always: "always";
74
74
  mentions: "mentions";
75
75
  }>>>;
76
76
  }, z.core.$strict>>;
@@ -84,9 +84,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
84
84
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
85
85
  markdown: z.ZodOptional<z.ZodObject<{
86
86
  tables: z.ZodOptional<z.ZodEnum<{
87
- code: "code";
88
87
  off: "off";
89
88
  bullets: "bullets";
89
+ code: "code";
90
90
  }>>;
91
91
  }, z.core.$strict>>;
92
92
  configWrites: z.ZodOptional<z.ZodBoolean>;
@@ -94,9 +94,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
94
94
  messagePrefix: z.ZodOptional<z.ZodString>;
95
95
  responsePrefix: z.ZodOptional<z.ZodString>;
96
96
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
97
+ open: "open";
97
98
  disabled: "disabled";
98
99
  allowlist: "allowlist";
99
- open: "open";
100
100
  pairing: "pairing";
101
101
  }>>>;
102
102
  selfChatMode: z.ZodOptional<z.ZodBoolean>;
@@ -104,9 +104,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
104
104
  defaultTo: z.ZodOptional<z.ZodString>;
105
105
  groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
106
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
107
+ open: "open";
107
108
  disabled: "disabled";
108
109
  allowlist: "allowlist";
109
- open: "open";
110
110
  }>>>;
111
111
  historyLimit: z.ZodOptional<z.ZodNumber>;
112
112
  dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
@@ -141,8 +141,8 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
141
141
  emoji: z.ZodOptional<z.ZodString>;
142
142
  direct: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
143
143
  group: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
144
- always: "always";
145
144
  never: "never";
145
+ always: "always";
146
146
  mentions: "mentions";
147
147
  }>>>;
148
148
  }, z.core.$strict>>;