@fased/fased 0.1.38 → 0.1.40
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/brand.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/cli/daemon-cli/install.js +38 -14
- package/dist/cli/daemon-cli/register-service-commands.js +1 -1
- package/dist/cli/update-cli/service-target.js +13 -0
- package/dist/cli/update-cli/update-command.js +122 -44
- package/dist/commands/daemon-install-helpers.js +3 -0
- package/dist/daemon/service.js +5 -0
- package/dist/daemon/systemd-system.js +237 -0
- package/dist/daemon/systemd.js +2 -2
- package/dist/infra/update-runner.js +41 -5
- package/dist/plugin-sdk/{accounts-COY-15zJ.js → accounts-C5BjfxoO.js} +1 -1
- package/dist/plugin-sdk/{allow-list-Cgjx0Mc-.js → allow-list-DqLmAAjC.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BPK8t0tI.js → audio-preflight-CSRhaknd.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-kCa_KGRH.js → audio-preflight-DlkuhmkH.js} +2 -2
- package/dist/plugin-sdk/channel-plugin-common.js +2 -2
- package/dist/plugin-sdk/{chunk-items-DGHUeFuI.js → chunk-items-B1CvDQbk.js} +1 -1
- package/dist/plugin-sdk/command-status.js +2 -2
- package/dist/plugin-sdk/{config-C0qggNKQ.js → config-BxVjLTIv.js} +7 -7
- package/dist/plugin-sdk/{config-z0k05dwe.js → config-DLVjQxOu.js} +7 -7
- package/dist/plugin-sdk/{config-BULEb5QB.js → config-HEgnpfBH.js} +7 -7
- package/dist/plugin-sdk/{config-DgD5T-Ui.js → config-g1MG9Bet.js} +7 -7
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{guilds-iTYlgBat.js → guilds-BivaIhOn.js} +1 -1
- package/dist/plugin-sdk/index.js +12 -2
- package/dist/plugin-sdk/{login-YveoqEvH.js → login-CfRfRNc7.js} +2 -2
- package/dist/plugin-sdk/{monitor-rOs3mUol.js → monitor-4qlGtlZm.js} +3 -3
- package/dist/plugin-sdk/{monitor-C6Ohw9BA.js → monitor-CA4i9Vhf.js} +4 -4
- package/dist/plugin-sdk/{monitor-6lkdOqhQ.js → monitor-CIQ75vj5.js} +3 -3
- package/dist/plugin-sdk/{monitor-o20KTHIi.js → monitor-uao4bwTm.js} +6 -6
- package/dist/plugin-sdk/{openresponses-http-BJONnUdy.js → openresponses-http-Do-lt3tH.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-DkWqYznu.js → openresponses-http-Y766bB2w.js} +2 -2
- package/dist/plugin-sdk/{pi-embedded-runner-DqDy0MWN.js → pi-embedded-runner-Cl-dGLKY.js} +7 -7
- package/dist/plugin-sdk/{pi-model-discovery-runtime-w4DRRv53.js → pi-model-discovery-runtime-CfDDK1n5.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-runtime-CQOauapl.js → pi-model-discovery-runtime-DYfUuqPN.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-C5ssE6EW.js → pi-model-discovery-runtime-DxoFm4Vd.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-CKKNoqwk.js → pi-model-discovery-runtime-LB-5lX5L.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-Boor5vYw.js → pw-ai-SNCI9UXT.js} +1 -1
- package/dist/plugin-sdk/{resolve-channels-gIpOj1wt.js → resolve-channels-BptLzpDb.js} +3 -3
- package/dist/plugin-sdk/{resolve-users-CTKaESmf.js → resolve-users-C0YLyf20.js} +3 -3
- package/dist/plugin-sdk/{resolve-utils-bixHYDBj.js → resolve-utils-Bq0vrn3x.js} +1 -1
- package/dist/plugin-sdk/{retry-CB29XXbz.js → retry-CxA2fayk.js} +2 -2
- package/dist/plugin-sdk/{runtime-dependency-Deg_sw2k.js → runtime-dependency-B-1u41Ph.js} +9 -9
- package/dist/plugin-sdk/{slack-CGTAN4UD.js → slack-BnH97t7_.js} +3 -3
- package/dist/plugin-sdk/{slack-BErIh0uj.js → slack-DvaEXxo5.js} +4 -4
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/src/daemon/systemd-system.d.ts +28 -0
- package/dist/plugin-sdk/{status-CCGFb0f2.js → status-DKwtdFcx.js} +15 -15
- package/dist/plugin-sdk/{sticker-cache-wxl1Me2i.js → sticker-cache-C6yLVx3S.js} +2 -2
- package/dist/plugin-sdk/{sticker-cache-CKAkkCoU.js → sticker-cache-Dmrdawoj.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-r86ntIKR.js → telegram-actions-DnvgAPkX.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-BRUNEXMr.js → telegram-actions-JyjH4UpU.js} +3 -3
- package/dist/plugin-sdk/{web-02I0vmdu.js → web-4BVlmvJD.js} +2 -2
- package/dist/plugin-sdk/{web-CXz56wyu.js → web-DsLHqCkb.js} +1 -1
- package/dist/plugin-sdk/whatsapp.js +4 -4
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/scripts/start-managed.sh +2 -2
|
@@ -16,10 +16,10 @@ import "./accounts-BRbbLNW_.js";
|
|
|
16
16
|
import "./accounts-BwkH5bTD.js";
|
|
17
17
|
import "./tokens-BK5rrwBB.js";
|
|
18
18
|
import { a as resolveDiscordAllowListMatch, c as resolveDiscordMemberAccessState, d as resolveGroupDmAllow, f as shouldEmitDiscordReactionNotification, g as resolveTimestampMs, h as resolveDiscordSystemLocation, i as normalizeDiscordSlug, l as resolveDiscordOwnerAllowFrom, m as formatDiscordUserTag, n as isDiscordGroupAllowedByPolicy, o as resolveDiscordChannelConfigWithFallback, p as formatDiscordReactionEmoji, r as normalizeDiscordAllowList, s as resolveDiscordGuildEntry, t as allowListMatches, u as resolveDiscordShouldRequireMention } from "./allow-list-CBtbuDI8.js";
|
|
19
|
-
import { a as patchAllowlistUsersInConfigEntries, c as buildUntrustedChannelMetadata, l as isDangerousNameMatchingEnabled, n as buildAllowlistResolutionSummary, o as summarizeMapping, r as canonicalizeAllowlistWithResolvedIds, s as chunkItems, t as addAllowlistUserEntriesFromConfigEntry, u as formatAllowlistMatchMeta } from "./resolve-utils-
|
|
19
|
+
import { a as patchAllowlistUsersInConfigEntries, c as buildUntrustedChannelMetadata, l as isDangerousNameMatchingEnabled, n as buildAllowlistResolutionSummary, o as summarizeMapping, r as canonicalizeAllowlistWithResolvedIds, s as chunkItems, t as addAllowlistUserEntriesFromConfigEntry, u as formatAllowlistMatchMeta } from "./resolve-utils-Bq0vrn3x.js";
|
|
20
20
|
import { l as resolveStorePath } from "./paths-DTurNPnO.js";
|
|
21
|
-
import { $ as buildModelsProviderData, $t as parseTtsDirectives, At as EmbeddedBlockChunker, B as dispatchReplyWithBufferedBlockDispatcher, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, E as resolveDefaultGroupPolicy, F as resolveCommandAuthorizedFromAuthorizers, G as formatInboundEnvelope, Gt as stripReasoningTagsFromText, I as resolveControlCommandGate, J as createReplyDispatcherWithTyping, K as resolveEnvelopeFormatOptions, M as clearHistoryEntriesIfEnabled, N as recordPendingHistoryEntryIfEnabled, O as warnMissingProviderGroupPolicyFallbackOnce, Ot as matchesMentionWithExplicit, P as recordInboundSession, Q as resolveStoredModelOverride, Qt as textToSpeech, R as shouldAckReaction, S as buildPairingReply, T as GROUP_POLICY_BLOCKED_LABEL, U as createInboundDebouncer, V as dispatchReplyWithDispatcher, W as resolveInboundDebounceMs, Xt as enqueueSystemEvent, Yt as formatDurationSeconds, Zt as resolveTtsConfig, b as logInboundDrop, ct as buildProviderRegistry, dn as resolveAgentAvatar, f as createTypingCallbacks, fn as buildGatewayConnectionDetails, g as readStoreAllowFromForDmPolicy, j as buildPendingHistoryContextFromMap, lt as createMediaAttachmentCache, m as resolveMentionGatingWithBypass, pn as GatewayClient, pt as runCapability, q as dispatchInboundMessage, s as agentCommand, ut as normalizeMediaAttachments, v as resolveDmGroupAccessWithLists, wt as hasControlCommand, x as logTypingFailure, y as logAckFailure } from "./status-
|
|
22
|
-
import "./runtime-dependency-
|
|
21
|
+
import { $ as buildModelsProviderData, $t as parseTtsDirectives, At as EmbeddedBlockChunker, B as dispatchReplyWithBufferedBlockDispatcher, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, E as resolveDefaultGroupPolicy, F as resolveCommandAuthorizedFromAuthorizers, G as formatInboundEnvelope, Gt as stripReasoningTagsFromText, I as resolveControlCommandGate, J as createReplyDispatcherWithTyping, K as resolveEnvelopeFormatOptions, M as clearHistoryEntriesIfEnabled, N as recordPendingHistoryEntryIfEnabled, O as warnMissingProviderGroupPolicyFallbackOnce, Ot as matchesMentionWithExplicit, P as recordInboundSession, Q as resolveStoredModelOverride, Qt as textToSpeech, R as shouldAckReaction, S as buildPairingReply, T as GROUP_POLICY_BLOCKED_LABEL, U as createInboundDebouncer, V as dispatchReplyWithDispatcher, W as resolveInboundDebounceMs, Xt as enqueueSystemEvent, Yt as formatDurationSeconds, Zt as resolveTtsConfig, b as logInboundDrop, ct as buildProviderRegistry, dn as resolveAgentAvatar, f as createTypingCallbacks, fn as buildGatewayConnectionDetails, g as readStoreAllowFromForDmPolicy, j as buildPendingHistoryContextFromMap, lt as createMediaAttachmentCache, m as resolveMentionGatingWithBypass, pn as GatewayClient, pt as runCapability, q as dispatchInboundMessage, s as agentCommand, ut as normalizeMediaAttachments, v as resolveDmGroupAccessWithLists, wt as hasControlCommand, x as logTypingFailure, y as logAckFailure } from "./status-DKwtdFcx.js";
|
|
22
|
+
import "./runtime-dependency-B-1u41Ph.js";
|
|
23
23
|
import "./ssrf-Cce6LubA.js";
|
|
24
24
|
import { n as listSkillCommandsForAgents } from "./skill-commands-hyZA0LE3.js";
|
|
25
25
|
import "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -69,7 +69,7 @@ import os from "node:os";
|
|
|
69
69
|
import path from "node:path";
|
|
70
70
|
import { inspect } from "node:util";
|
|
71
71
|
import fs from "node:fs/promises";
|
|
72
|
-
import WebSocket from "ws";
|
|
72
|
+
import WebSocket$1 from "ws";
|
|
73
73
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
74
74
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
75
75
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
@@ -1405,7 +1405,7 @@ async function preflightDiscordMessage(params) {
|
|
|
1405
1405
|
let preflightTranscript;
|
|
1406
1406
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
1407
1407
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
1408
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
1408
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DlkuhmkH.js");
|
|
1409
1409
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
1410
1410
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
1411
1411
|
ctx: {
|
|
@@ -6887,7 +6887,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
6887
6887
|
return super.registerClient(client);
|
|
6888
6888
|
}
|
|
6889
6889
|
createWebSocket(url) {
|
|
6890
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
6890
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
6891
6891
|
}
|
|
6892
6892
|
}
|
|
6893
6893
|
return new ProxyGatewayPlugin();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeMimeList, Ft as DEFAULT_INPUT_IMAGE_MIMES, It as DEFAULT_INPUT_MAX_REDIRECTS, Lt as DEFAULT_INPUT_TIMEOUT_MS, Pt as DEFAULT_INPUT_IMAGE_MAX_BYTES, Rt as extractFileContentFromSource, Vt as resolveInputFileLimits, a as agentCommand, dn as createDefaultDeps, fn as resolveAgentIdForRequest, gn as writeDone, hn as setSseHeaders, i as resolveAssistantStreamDeltaText, in as onAgentEvent, mn as sendJson, n as handleGatewayPostJsonEndpoint, pn as resolveSessionKey, r as buildAgentMessageFromConversationEntries, rn as emitAgentEvent, zt as extractImageContentFromSource } from "./pi-embedded-runner-
|
|
1
|
+
import { Bt as normalizeMimeList, Ft as DEFAULT_INPUT_IMAGE_MIMES, It as DEFAULT_INPUT_MAX_REDIRECTS, Lt as DEFAULT_INPUT_TIMEOUT_MS, Pt as DEFAULT_INPUT_IMAGE_MAX_BYTES, Rt as extractFileContentFromSource, Vt as resolveInputFileLimits, a as agentCommand, dn as createDefaultDeps, fn as resolveAgentIdForRequest, gn as writeDone, hn as setSseHeaders, i as resolveAssistantStreamDeltaText, in as onAgentEvent, mn as sendJson, n as handleGatewayPostJsonEndpoint, pn as resolveSessionKey, r as buildAgentMessageFromConversationEntries, rn as emitAgentEvent, zt as extractImageContentFromSource } from "./pi-embedded-runner-Cl-dGLKY.js";
|
|
2
2
|
import "./runtime-BPyuAmka.js";
|
|
3
3
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -14,8 +14,8 @@ import "./accounts-BwkH5bTD.js";
|
|
|
14
14
|
import "./tokens-BK5rrwBB.js";
|
|
15
15
|
import "./allow-list-CBtbuDI8.js";
|
|
16
16
|
import "./paths-DTurNPnO.js";
|
|
17
|
-
import { Nt as emitAgentEvent, Pt as onAgentEvent, St as resolveInputFileLimits, _t as DEFAULT_INPUT_MAX_REDIRECTS, a as buildAgentMessageFromConversationEntries, an as sendJson, bt as extractImageContentFromSource, gt as DEFAULT_INPUT_IMAGE_MIMES, ht as DEFAULT_INPUT_IMAGE_MAX_BYTES, i as handleGatewayPostJsonEndpoint, in as resolveSessionKey, nn as createDefaultDeps, o as resolveAssistantStreamDeltaText, on as setSseHeaders, rn as resolveAgentIdForRequest, s as agentCommand, sn as writeDone, vt as DEFAULT_INPUT_TIMEOUT_MS, xt as normalizeMimeList, yt as extractFileContentFromSource } from "./status-
|
|
18
|
-
import "./runtime-dependency-
|
|
17
|
+
import { Nt as emitAgentEvent, Pt as onAgentEvent, St as resolveInputFileLimits, _t as DEFAULT_INPUT_MAX_REDIRECTS, a as buildAgentMessageFromConversationEntries, an as sendJson, bt as extractImageContentFromSource, gt as DEFAULT_INPUT_IMAGE_MIMES, ht as DEFAULT_INPUT_IMAGE_MAX_BYTES, i as handleGatewayPostJsonEndpoint, in as resolveSessionKey, nn as createDefaultDeps, o as resolveAssistantStreamDeltaText, on as setSseHeaders, rn as resolveAgentIdForRequest, s as agentCommand, sn as writeDone, vt as DEFAULT_INPUT_TIMEOUT_MS, xt as normalizeMimeList, yt as extractFileContentFromSource } from "./status-DKwtdFcx.js";
|
|
18
|
+
import "./runtime-dependency-B-1u41Ph.js";
|
|
19
19
|
import "./ssrf-Cce6LubA.js";
|
|
20
20
|
import "./skill-commands-hyZA0LE3.js";
|
|
21
21
|
import "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -20339,7 +20339,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
20339
20339
|
function createDefaultDeps() {
|
|
20340
20340
|
return {
|
|
20341
20341
|
sendMessageWhatsApp: async (...args) => {
|
|
20342
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
20342
|
+
const { sendMessageWhatsApp } = await import("./web-DsLHqCkb.js");
|
|
20343
20343
|
return await sendMessageWhatsApp(...args);
|
|
20344
20344
|
},
|
|
20345
20345
|
sendMessageTelegram: async (...args) => {
|
|
@@ -84721,7 +84721,7 @@ const signalMessageActions = {
|
|
|
84721
84721
|
//#region src/channels/plugins/actions/telegram.ts
|
|
84722
84722
|
const providerId = "telegram";
|
|
84723
84723
|
async function loadTelegramActionHandler() {
|
|
84724
|
-
const { handleTelegramAction } = await import("./telegram-actions-
|
|
84724
|
+
const { handleTelegramAction } = await import("./telegram-actions-DnvgAPkX.js");
|
|
84725
84725
|
return handleTelegramAction;
|
|
84726
84726
|
}
|
|
84727
84727
|
function readTelegramSendParams(params) {
|
|
@@ -87178,7 +87178,7 @@ function buildPairingReply(params) {
|
|
|
87178
87178
|
|
|
87179
87179
|
//#endregion
|
|
87180
87180
|
//#region src/brand.ts
|
|
87181
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
87181
|
+
const FASED_PRODUCT_VERSION = "0.1.40";
|
|
87182
87182
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
87183
87183
|
|
|
87184
87184
|
//#endregion
|
|
@@ -91089,7 +91089,7 @@ const sendPollDiscordLazy = async (...args) => {
|
|
|
91089
91089
|
return sendPollDiscord(...args);
|
|
91090
91090
|
};
|
|
91091
91091
|
const monitorDiscordProviderLazy = async (...args) => {
|
|
91092
|
-
const { monitorDiscordProvider } = await import("./monitor-
|
|
91092
|
+
const { monitorDiscordProvider } = await import("./monitor-4qlGtlZm.js");
|
|
91093
91093
|
return monitorDiscordProvider(...args);
|
|
91094
91094
|
};
|
|
91095
91095
|
const listSlackDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -91117,7 +91117,7 @@ const sendMessageSlackLazy = async (...args) => {
|
|
|
91117
91117
|
return sendMessageSlack(...args);
|
|
91118
91118
|
};
|
|
91119
91119
|
const monitorSlackProviderLazy = async (...args) => {
|
|
91120
|
-
const { monitorSlackProvider } = await import("./slack-
|
|
91120
|
+
const { monitorSlackProvider } = await import("./slack-BnH97t7_.js");
|
|
91121
91121
|
return monitorSlackProvider(...args);
|
|
91122
91122
|
};
|
|
91123
91123
|
const handleSlackActionLazy = async (...args) => {
|
|
@@ -91137,7 +91137,7 @@ const sendPollTelegramLazy = async (...args) => {
|
|
|
91137
91137
|
return sendPollTelegram(...args);
|
|
91138
91138
|
};
|
|
91139
91139
|
const monitorTelegramProviderLazy = async (...args) => {
|
|
91140
|
-
const { monitorTelegramProvider } = await import("./monitor-
|
|
91140
|
+
const { monitorTelegramProvider } = await import("./monitor-CIQ75vj5.js");
|
|
91141
91141
|
return monitorTelegramProvider(...args);
|
|
91142
91142
|
};
|
|
91143
91143
|
let webOutboundPromise = null;
|
|
@@ -91158,7 +91158,7 @@ function loadWebLoginQr() {
|
|
|
91158
91158
|
return webLoginQrPromise;
|
|
91159
91159
|
}
|
|
91160
91160
|
function loadWebChannel() {
|
|
91161
|
-
webChannelPromise ??= import("./web-
|
|
91161
|
+
webChannelPromise ??= import("./web-DsLHqCkb.js");
|
|
91162
91162
|
return webChannelPromise;
|
|
91163
91163
|
}
|
|
91164
91164
|
function loadWhatsAppActions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-
|
|
2
|
-
import "./retry-
|
|
1
|
+
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-HEgnpfBH.js";
|
|
2
|
+
import "./retry-CxA2fayk.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-
|
|
1
|
+
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-DLVjQxOu.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeProviderId, o as ensureAuthProfileStore } from "./config-
|
|
1
|
+
import { n as normalizeProviderId, o as ensureAuthProfileStore } from "./config-BxVjLTIv.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-
|
|
1
|
+
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-g1MG9Bet.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -7,7 +7,7 @@ import "./agent-scope-BuTbywla.js";
|
|
|
7
7
|
import "./redact-Ck-wgswc.js";
|
|
8
8
|
import "./github-copilot-token-Djqpy66R.js";
|
|
9
9
|
import "./retry-Cq65ROXv.js";
|
|
10
|
-
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-
|
|
10
|
+
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-B-1u41Ph.js";
|
|
11
11
|
import "./ssrf-Cce6LubA.js";
|
|
12
12
|
import "./path-alias-guards-C76pC928.js";
|
|
13
13
|
import "./fs-safe-BDnJzutp.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./retry-
|
|
2
|
-
import { n as fetchDiscord, r as normalizeDiscordToken, t as normalizeDiscordSlug } from "./allow-list-
|
|
3
|
-
import { t as listGuilds } from "./guilds-
|
|
1
|
+
import "./retry-CxA2fayk.js";
|
|
2
|
+
import { n as fetchDiscord, r as normalizeDiscordToken, t as normalizeDiscordSlug } from "./allow-list-DqLmAAjC.js";
|
|
3
|
+
import { t as listGuilds } from "./guilds-BivaIhOn.js";
|
|
4
4
|
|
|
5
5
|
//#region src/discord/resolve-channels.ts
|
|
6
6
|
function parseDiscordChannelInput(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./retry-
|
|
2
|
-
import { n as fetchDiscord, r as normalizeDiscordToken, t as normalizeDiscordSlug } from "./allow-list-
|
|
3
|
-
import { t as listGuilds } from "./guilds-
|
|
1
|
+
import "./retry-CxA2fayk.js";
|
|
2
|
+
import { n as fetchDiscord, r as normalizeDiscordToken, t as normalizeDiscordSlug } from "./allow-list-DqLmAAjC.js";
|
|
3
|
+
import { t as listGuilds } from "./guilds-BivaIhOn.js";
|
|
4
4
|
|
|
5
5
|
//#region src/discord/resolve-users.ts
|
|
6
6
|
function parseDiscordUserInput(raw) {
|
|
@@ -3,7 +3,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import { Logger } from "tslog";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import json5 from "json5";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/tmp-fased-dir.ts
|
|
9
9
|
const POSIX_FASED_TMP_DIR = "/tmp/fased";
|
|
@@ -283,7 +283,7 @@ function readLoggingConfig() {
|
|
|
283
283
|
try {
|
|
284
284
|
if (!fs.existsSync(configPath)) return;
|
|
285
285
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
286
|
-
const logging =
|
|
286
|
+
const logging = json5.parse(raw)?.logging;
|
|
287
287
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
288
288
|
return logging;
|
|
289
289
|
} catch {
|
|
@@ -13,7 +13,7 @@ import { execFileSync, spawn } from "node:child_process";
|
|
|
13
13
|
import fs$1 from "node:fs/promises";
|
|
14
14
|
import { createServer } from "node:http";
|
|
15
15
|
import net from "node:net";
|
|
16
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
16
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
17
17
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
18
18
|
|
|
19
19
|
//#region src/browser/constants.ts
|
|
@@ -274,7 +274,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
274
274
|
let extensionWs = null;
|
|
275
275
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
276
276
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
277
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
277
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
278
278
|
let extensionDisconnectCleanupTimer = null;
|
|
279
279
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
280
280
|
const flushExtensionReconnectWaiters = (connected) => {
|
|
@@ -325,7 +325,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
325
325
|
let nextExtensionId = 1;
|
|
326
326
|
const sendToExtension = async (payload) => {
|
|
327
327
|
const ws = extensionWs;
|
|
328
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
328
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
329
329
|
ws.send(JSON.stringify(payload));
|
|
330
330
|
return await new Promise((resolve, reject) => {
|
|
331
331
|
const timer = setTimeout(() => {
|
|
@@ -342,12 +342,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
342
342
|
const broadcastToCdpClients = (evt) => {
|
|
343
343
|
const msg = JSON.stringify(evt);
|
|
344
344
|
for (const ws of cdpClients) {
|
|
345
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
345
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
346
346
|
ws.send(msg);
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
const sendResponseToCdp = (ws, res) => {
|
|
350
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
350
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
351
351
|
ws.send(JSON.stringify(res));
|
|
352
352
|
};
|
|
353
353
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -557,7 +557,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
557
557
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
558
558
|
return;
|
|
559
559
|
}
|
|
560
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
560
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
561
561
|
try {
|
|
562
562
|
extensionWs.terminate();
|
|
563
563
|
} catch {}
|
|
@@ -594,7 +594,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
594
594
|
clearExtensionDisconnectCleanupTimer();
|
|
595
595
|
flushExtensionReconnectWaiters(true);
|
|
596
596
|
const ping = setInterval(() => {
|
|
597
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
597
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
598
598
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
599
599
|
}, 5e3);
|
|
600
600
|
ws.on("message", (data) => {
|
|
@@ -936,7 +936,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
936
936
|
}
|
|
937
937
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
938
938
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
939
|
-
const ws = new WebSocket(wsUrl, {
|
|
939
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
940
940
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
941
941
|
...Object.keys(headers).length ? { headers } : {}
|
|
942
942
|
});
|
|
@@ -1862,7 +1862,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1862
1862
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1863
1863
|
return await new Promise((resolve) => {
|
|
1864
1864
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1865
|
-
const ws = new WebSocket(wsUrl, {
|
|
1865
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1866
1866
|
handshakeTimeout: timeoutMs,
|
|
1867
1867
|
...Object.keys(headers).length ? { headers } : {}
|
|
1868
1868
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as clearHistoryEntriesIfEnabled, Ct as enqueueSystemEvent, E as DEFAULT_GROUP_HISTORY_LIMIT, F as recordInboundSession, Gt as hasControlCommand, H as createInboundDebouncer, I as removeAckReactionAfterReply, J as createReplyDispatcherWithTyping, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, L as shouldAckReaction, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, Sr as warnMissingProviderGroupPolicyFallbackOnce, Tt as resolveChannelConfigWrites, U as resolveInboundDebounceMs, W as formatInboundEnvelope, Yt as matchesMentionWithExplicit, _r as resolveControlCommandGate, b as logInboundDrop, bn as installRequestBodyLimitGuard, br as resolveDefaultGroupPolicy, cr as pruneMapToMaxSize, d as issuePairingChallenge, dt as normalizeAllowList, f as createTypingCallbacks, fr as readStoreAllowFromForDmPolicy, ft as normalizeAllowListLower, gr as resolveCommandAuthorizedFromAuthorizers, ht as resolveSlackUserAllowed, m as resolveMentionGatingWithBypass, mt as resolveSlackAllowListMatch, pt as normalizeSlackSlug, q as dispatchInboundMessage, sr as createDedupeCache, ut as allowListMatches, x as logTypingFailure, xr as resolveOpenProviderRuntimeGroupPolicy, y as logAckFailure } from "./pi-embedded-runner-
|
|
1
|
+
import { A as clearHistoryEntriesIfEnabled, Ct as enqueueSystemEvent, E as DEFAULT_GROUP_HISTORY_LIMIT, F as recordInboundSession, Gt as hasControlCommand, H as createInboundDebouncer, I as removeAckReactionAfterReply, J as createReplyDispatcherWithTyping, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, L as shouldAckReaction, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, Sr as warnMissingProviderGroupPolicyFallbackOnce, Tt as resolveChannelConfigWrites, U as resolveInboundDebounceMs, W as formatInboundEnvelope, Yt as matchesMentionWithExplicit, _r as resolveControlCommandGate, b as logInboundDrop, bn as installRequestBodyLimitGuard, br as resolveDefaultGroupPolicy, cr as pruneMapToMaxSize, d as issuePairingChallenge, dt as normalizeAllowList, f as createTypingCallbacks, fr as readStoreAllowFromForDmPolicy, ft as normalizeAllowListLower, gr as resolveCommandAuthorizedFromAuthorizers, ht as resolveSlackUserAllowed, m as resolveMentionGatingWithBypass, mt as resolveSlackAllowListMatch, pt as normalizeSlackSlug, q as dispatchInboundMessage, sr as createDedupeCache, ut as allowListMatches, x as logTypingFailure, xr as resolveOpenProviderRuntimeGroupPolicy, y as logAckFailure } from "./pi-embedded-runner-Cl-dGLKY.js";
|
|
2
2
|
import { K as resolveSessionKey, S as readSessionUpdatedAt, w as updateLastRoute } from "./runtime-BPyuAmka.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";
|
|
@@ -53,7 +53,7 @@ import "./tables-CJE8kB35.js";
|
|
|
53
53
|
import { t as sendMessageSlack } from "./send-DfkPKz_0.js";
|
|
54
54
|
import { r as resolveSlackWebClientOptions } from "./client-DWTXscox.js";
|
|
55
55
|
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-BrU_JMqM.js";
|
|
56
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
56
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-B1CvDQbk.js";
|
|
57
57
|
import { t as createDraftStreamLoop } from "./draft-stream-loop-2KC6-8CG.js";
|
|
58
58
|
import { t as resolveSlackUserAllowlist } from "./resolve-users-sv9og6yh.js";
|
|
59
59
|
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-fvzN5wnU.js";
|
|
@@ -3232,7 +3232,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
3232
3232
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
3233
3233
|
import("./resolve-route-CNhTJG_2.js").then((n) => n.r),
|
|
3234
3234
|
import("./inbound-context-Daf9i2Me.js").then((n) => n.n),
|
|
3235
|
-
import("./pi-embedded-runner-
|
|
3235
|
+
import("./pi-embedded-runner-Cl-dGLKY.js").then((n) => n.V)
|
|
3236
3236
|
]);
|
|
3237
3237
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
|
|
3238
3238
|
import("./conversation-label-BoVqak2R.js").then((n) => n.t),
|
|
@@ -15,10 +15,10 @@ import { i as resolveSlackBotToken, r as resolveSlackAppToken, t as resolveSlack
|
|
|
15
15
|
import "./accounts-BwkH5bTD.js";
|
|
16
16
|
import "./tokens-BK5rrwBB.js";
|
|
17
17
|
import { v as applyChannelMatchMeta, x as resolveChannelEntryMatchWithFallback, y as buildChannelKeyCandidates } from "./allow-list-CBtbuDI8.js";
|
|
18
|
-
import { a as patchAllowlistUsersInConfigEntries, c as buildUntrustedChannelMetadata, i as mergeAllowlist, l as isDangerousNameMatchingEnabled, n as buildAllowlistResolutionSummary, o as summarizeMapping, s as chunkItems, t as addAllowlistUserEntriesFromConfigEntry, u as formatAllowlistMatchMeta } from "./resolve-utils-
|
|
18
|
+
import { a as patchAllowlistUsersInConfigEntries, c as buildUntrustedChannelMetadata, i as mergeAllowlist, l as isDangerousNameMatchingEnabled, n as buildAllowlistResolutionSummary, o as summarizeMapping, s as chunkItems, t as addAllowlistUserEntriesFromConfigEntry, u as formatAllowlistMatchMeta } from "./resolve-utils-Bq0vrn3x.js";
|
|
19
19
|
import { l as resolveStorePath } from "./paths-DTurNPnO.js";
|
|
20
|
-
import { Bt as normalizeSlackSlug, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, E as resolveDefaultGroupPolicy, F as resolveCommandAuthorizedFromAuthorizers, G as formatInboundEnvelope, Ht as resolveSlackUserAllowed, I as resolveControlCommandGate, J as createReplyDispatcherWithTyping, K as resolveEnvelopeFormatOptions, L as removeAckReactionAfterReply, Lt as allowListMatches, M as clearHistoryEntriesIfEnabled, N as recordPendingHistoryEntryIfEnabled, O as warnMissingProviderGroupPolicyFallbackOnce, Ot as matchesMentionWithExplicit, P as recordInboundSession, R as shouldAckReaction, Rt as normalizeAllowList, U as createInboundDebouncer, Vt as resolveSlackAllowListMatch, W as resolveInboundDebounceMs, X as pruneMapToMaxSize, Xt as enqueueSystemEvent, Y as createDedupeCache, b as logInboundDrop, cn as installRequestBodyLimitGuard, d as issuePairingChallenge, f as createTypingCallbacks, g as readStoreAllowFromForDmPolicy, j as buildPendingHistoryContextFromMap, k as DEFAULT_GROUP_HISTORY_LIMIT, m as resolveMentionGatingWithBypass, q as dispatchInboundMessage, st as resolveChannelConfigWrites, wt as hasControlCommand, x as logTypingFailure, y as logAckFailure, zt as normalizeAllowListLower } from "./status-
|
|
21
|
-
import "./runtime-dependency-
|
|
20
|
+
import { Bt as normalizeSlackSlug, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, E as resolveDefaultGroupPolicy, F as resolveCommandAuthorizedFromAuthorizers, G as formatInboundEnvelope, Ht as resolveSlackUserAllowed, I as resolveControlCommandGate, J as createReplyDispatcherWithTyping, K as resolveEnvelopeFormatOptions, L as removeAckReactionAfterReply, Lt as allowListMatches, M as clearHistoryEntriesIfEnabled, N as recordPendingHistoryEntryIfEnabled, O as warnMissingProviderGroupPolicyFallbackOnce, Ot as matchesMentionWithExplicit, P as recordInboundSession, R as shouldAckReaction, Rt as normalizeAllowList, U as createInboundDebouncer, Vt as resolveSlackAllowListMatch, W as resolveInboundDebounceMs, X as pruneMapToMaxSize, Xt as enqueueSystemEvent, Y as createDedupeCache, b as logInboundDrop, cn as installRequestBodyLimitGuard, d as issuePairingChallenge, f as createTypingCallbacks, g as readStoreAllowFromForDmPolicy, j as buildPendingHistoryContextFromMap, k as DEFAULT_GROUP_HISTORY_LIMIT, m as resolveMentionGatingWithBypass, q as dispatchInboundMessage, st as resolveChannelConfigWrites, wt as hasControlCommand, x as logTypingFailure, y as logAckFailure, zt as normalizeAllowListLower } from "./status-DKwtdFcx.js";
|
|
21
|
+
import "./runtime-dependency-B-1u41Ph.js";
|
|
22
22
|
import { o as normalizeHostname } from "./ssrf-Cce6LubA.js";
|
|
23
23
|
import "./skill-commands-hyZA0LE3.js";
|
|
24
24
|
import "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -3231,7 +3231,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
3231
3231
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
3232
3232
|
import("./resolve-route-DO0WR4nB.js").then((n) => n.r),
|
|
3233
3233
|
import("./inbound-context-CeJDjLk-.js").then((n) => n.n),
|
|
3234
|
-
import("./status-
|
|
3234
|
+
import("./status-DKwtdFcx.js").then((n) => n.H)
|
|
3235
3235
|
]);
|
|
3236
3236
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
|
|
3237
3237
|
import("./conversation-label-CDH4rKMG.js").then((n) => n.t),
|
package/dist/plugin-sdk/slack.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as resolveRequiredHomeDir, S as expandHomePrefix, _ as isRecord, a as resolveImplicitCopilotProvider, b as createSubsystemLogger, c as resolveFasedAgentDir, d as resolveDefaultAgentId, f as isTruthyEnvValue, g as formatTerminalLink, h as normalizeAccountId, i as normalizeProviders, l as resolveProcessScopedMap, m as DEFAULT_ACCOUNT_ID, n as SlackConfigSchema, o as resolveImplicitProviders, p as normalizeAgentId, t as loadConfig, u as formatCliCommand, v as normalizeE164, w as normalizeChatChannelId, x as resolveOAuthDir, y as resolveUserPath } from "./config-
|
|
1
|
+
import { C as resolveRequiredHomeDir, S as expandHomePrefix, _ as isRecord, a as resolveImplicitCopilotProvider, b as createSubsystemLogger, c as resolveFasedAgentDir, d as resolveDefaultAgentId, f as isTruthyEnvValue, g as formatTerminalLink, h as normalizeAccountId, i as normalizeProviders, l as resolveProcessScopedMap, m as DEFAULT_ACCOUNT_ID, n as SlackConfigSchema, o as resolveImplicitProviders, p as normalizeAgentId, t as loadConfig, u as formatCliCommand, v as normalizeE164, w as normalizeChatChannelId, x as resolveOAuthDir, y as resolveUserPath } from "./config-DLVjQxOu.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1605,7 +1605,7 @@ async function loadContextCache() {
|
|
|
1605
1605
|
await ensureFasedModelsJson(cfg);
|
|
1606
1606
|
} catch {}
|
|
1607
1607
|
try {
|
|
1608
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
1608
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-DYfUuqPN.js");
|
|
1609
1609
|
const agentDir = resolveFasedAgentDir();
|
|
1610
1610
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
1611
1611
|
applyDiscoveredContextWindows({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const FASED_BRAND_NAME = "Fased";
|
|
2
2
|
export declare const FASED_AGENT_NAME = "Fased Agent";
|
|
3
3
|
export declare const FASED_CONTROL_NAME = "Fased Control";
|
|
4
|
-
export declare const FASED_PRODUCT_VERSION = "0.1.
|
|
5
|
-
export declare const FASED_DISPLAY_VERSION = "v0.1.
|
|
4
|
+
export declare const FASED_PRODUCT_VERSION = "0.1.40";
|
|
5
|
+
export declare const FASED_DISPLAY_VERSION = "v0.1.40";
|
|
6
6
|
export declare function formatFasedDisplayLine(): string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { GatewayService } from "./service.js";
|
|
2
|
+
export declare function findHostedSystemdUnitPath(candidates?: readonly string[]): string | null;
|
|
3
|
+
declare function readHostedSystemdCommand(unitPath: string): Promise<{
|
|
4
|
+
sourcePath: string;
|
|
5
|
+
environment?: Record<string, string> | undefined;
|
|
6
|
+
workingDirectory?: string | undefined;
|
|
7
|
+
programArguments: string[];
|
|
8
|
+
} | null>;
|
|
9
|
+
export declare function resolveHostedSystemdService(): GatewayService | null;
|
|
10
|
+
declare function resolveRunAsUser(): string;
|
|
11
|
+
export declare function buildHostedSystemdUnit(params: {
|
|
12
|
+
runAsUser: string;
|
|
13
|
+
programArguments: string[];
|
|
14
|
+
workingDirectory?: string;
|
|
15
|
+
environment?: Record<string, string | undefined>;
|
|
16
|
+
}): string;
|
|
17
|
+
export declare function installHostedSystemdService(params: {
|
|
18
|
+
programArguments: string[];
|
|
19
|
+
workingDirectory?: string;
|
|
20
|
+
environment?: Record<string, string | undefined>;
|
|
21
|
+
}): Promise<{
|
|
22
|
+
unitPath: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const __testing: {
|
|
25
|
+
readHostedSystemdCommand: typeof readHostedSystemdCommand;
|
|
26
|
+
resolveRunAsUser: typeof resolveRunAsUser;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -20,7 +20,7 @@ import { a as parseSlackTarget, i as isSilentReplyText, n as SILENT_REPLY_TOKEN,
|
|
|
20
20
|
import { b as normalizeChannelSlug, x as resolveChannelEntryMatchWithFallback, y as buildChannelKeyCandidates } from "./allow-list-CBtbuDI8.js";
|
|
21
21
|
import { a as resolveSessionTranscriptPath, c as resolveSessionTranscriptsDirForAgent, i as resolveSessionFilePathOptions, l as resolveStorePath, n as resolveDefaultSessionStorePath, r as resolveSessionFilePath } from "./paths-DTurNPnO.js";
|
|
22
22
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BJQWUdmU.js";
|
|
23
|
-
import { A as fetchJson$1, B as isTrustedProxyAddress, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, G as DEFAULT_AI_SNAPSHOT_MAX_CHARS, H as resolveForwardedClientIp, I as rawDataToString, J as DEFAULT_FASED_BROWSER_COLOR, K as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, L as isLoopbackAddress, O as withBrowserNavigationPolicy, P as ensureChromeExtensionRelayServer, R as isLoopbackHost, T as InvalidBrowserNavigationUrlError, U as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, X as DEFAULT_FASED_BROWSER_PROFILE_NAME, Y as DEFAULT_FASED_BROWSER_ENABLED, _ as stopFasedAgentChrome, a as DEFAULT_TRACE_DIR, b as captureScreenshot, d as normalizeBrowserFormField, g as resolveFasedAgentUserDataDir, h as launchFasedAgentChrome, i as DEFAULT_DOWNLOAD_DIR, j as fetchOk, k as appendCdpPath, l as resolveWritablePathWithinRoot, m as isChromeReachable, o as DEFAULT_UPLOAD_DIR, p as isChromeCdpReady, q as DEFAULT_BROWSER_EVALUATE_ENABLED, r as loadReadability, s as resolveExistingPathsWithinRoot, t as loadLinkedom, v as resolveBrowserExecutableForPlatform, w as snapshotAria, x as createTargetViaCdp, y as resolveLsofCommandSync, z as isSecureWebSocketUrl } from "./runtime-dependency-
|
|
23
|
+
import { A as fetchJson$1, B as isTrustedProxyAddress, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, G as DEFAULT_AI_SNAPSHOT_MAX_CHARS, H as resolveForwardedClientIp, I as rawDataToString, J as DEFAULT_FASED_BROWSER_COLOR, K as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, L as isLoopbackAddress, O as withBrowserNavigationPolicy, P as ensureChromeExtensionRelayServer, R as isLoopbackHost, T as InvalidBrowserNavigationUrlError, U as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, X as DEFAULT_FASED_BROWSER_PROFILE_NAME, Y as DEFAULT_FASED_BROWSER_ENABLED, _ as stopFasedAgentChrome, a as DEFAULT_TRACE_DIR, b as captureScreenshot, d as normalizeBrowserFormField, g as resolveFasedAgentUserDataDir, h as launchFasedAgentChrome, i as DEFAULT_DOWNLOAD_DIR, j as fetchOk, k as appendCdpPath, l as resolveWritablePathWithinRoot, m as isChromeReachable, o as DEFAULT_UPLOAD_DIR, p as isChromeCdpReady, q as DEFAULT_BROWSER_EVALUATE_ENABLED, r as loadReadability, s as resolveExistingPathsWithinRoot, t as loadLinkedom, v as resolveBrowserExecutableForPlatform, w as snapshotAria, x as createTargetViaCdp, y as resolveLsofCommandSync, z as isSecureWebSocketUrl } from "./runtime-dependency-B-1u41Ph.js";
|
|
24
24
|
import { i as isBlockedHostnameOrIp, s as importOptionalRuntimeDependency, t as SsrFBlockedError } from "./ssrf-Cce6LubA.js";
|
|
25
25
|
import { _ as resolvePairingPaths, b as writeJsonAtomic, c as getSkillsSnapshotVersion, d as resolveSkillsPromptForRun, f as syncSkillsToWorkspace, g as pruneExpiredPending, h as sanitizeEnvVars, i as resolveSkillCommandInvocation, l as buildWorkspaceSkillSnapshot, m as applySkillEnvOverridesFromSnapshot, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as applySkillEnvOverrides, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as loadWorkspaceSkillEntries, v as createAsyncLock, y as readJsonFile$1 } from "./skill-commands-hyZA0LE3.js";
|
|
26
26
|
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -79,7 +79,7 @@ import AjvPkg from "ajv";
|
|
|
79
79
|
import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, SettingsManager, createAgentSession, createCodingTools, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary } from "@mariozechner/pi-coding-agent";
|
|
80
80
|
import net from "node:net";
|
|
81
81
|
import { Type } from "@sinclair/typebox";
|
|
82
|
-
import { WebSocket
|
|
82
|
+
import { WebSocket } from "ws";
|
|
83
83
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
84
84
|
import { AddressLookupTableAccount, PublicKey, VersionedTransaction } from "@solana/web3.js";
|
|
85
85
|
import { Value } from "@sinclair/typebox/value";
|
|
@@ -4311,7 +4311,7 @@ var GatewayClient = class {
|
|
|
4311
4311
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
4312
4312
|
});
|
|
4313
4313
|
}
|
|
4314
|
-
this.ws = new WebSocket
|
|
4314
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
4315
4315
|
this.ws.on("open", () => {
|
|
4316
4316
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
4317
4317
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -4507,7 +4507,7 @@ var GatewayClient = class {
|
|
|
4507
4507
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
4508
4508
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
4509
4509
|
this.connectTimer = setTimeout(() => {
|
|
4510
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
4510
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
4511
4511
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
4512
4512
|
this.ws?.close(1008, "connect challenge timeout");
|
|
4513
4513
|
}, connectChallengeTimeoutMs);
|
|
@@ -4549,7 +4549,7 @@ var GatewayClient = class {
|
|
|
4549
4549
|
return null;
|
|
4550
4550
|
}
|
|
4551
4551
|
async request(method, params, opts) {
|
|
4552
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
4552
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
4553
4553
|
const id = randomUUID();
|
|
4554
4554
|
const frame = {
|
|
4555
4555
|
type: "req",
|
|
@@ -17691,7 +17691,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
17691
17691
|
function createDefaultDeps() {
|
|
17692
17692
|
return {
|
|
17693
17693
|
sendMessageWhatsApp: async (...args) => {
|
|
17694
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
17694
|
+
const { sendMessageWhatsApp } = await import("./web-4BVlmvJD.js");
|
|
17695
17695
|
return await sendMessageWhatsApp(...args);
|
|
17696
17696
|
},
|
|
17697
17697
|
sendMessageTelegram: async (...args) => {
|
|
@@ -32494,7 +32494,7 @@ function isModuleNotFoundError(err) {
|
|
|
32494
32494
|
}
|
|
32495
32495
|
async function loadPwAiModule(mode) {
|
|
32496
32496
|
try {
|
|
32497
|
-
return await import("./pw-ai-
|
|
32497
|
+
return await import("./pw-ai-SNCI9UXT.js");
|
|
32498
32498
|
} catch (err) {
|
|
32499
32499
|
if (mode === "soft") return null;
|
|
32500
32500
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -32888,11 +32888,11 @@ function createProfileContext(opts, profile) {
|
|
|
32888
32888
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
32889
32889
|
const profileState = getProfileState();
|
|
32890
32890
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
32891
|
-
await (await import("./pw-ai-
|
|
32891
|
+
await (await import("./pw-ai-SNCI9UXT.js")).closePlaywrightBrowserConnection();
|
|
32892
32892
|
} catch {}
|
|
32893
32893
|
if (profileState.running) await stopRunningBrowser();
|
|
32894
32894
|
try {
|
|
32895
|
-
await (await import("./pw-ai-
|
|
32895
|
+
await (await import("./pw-ai-SNCI9UXT.js")).closePlaywrightBrowserConnection();
|
|
32896
32896
|
} catch {}
|
|
32897
32897
|
if (!fs.existsSync(userDataDir)) return {
|
|
32898
32898
|
moved: false,
|
|
@@ -93666,7 +93666,7 @@ function extractToolSend(args, expectedAction = "sendMessage") {
|
|
|
93666
93666
|
//#region src/channels/plugins/actions/telegram.ts
|
|
93667
93667
|
const providerId = "telegram";
|
|
93668
93668
|
async function loadTelegramActionHandler() {
|
|
93669
|
-
const { handleTelegramAction } = await import("./telegram-actions-
|
|
93669
|
+
const { handleTelegramAction } = await import("./telegram-actions-JyjH4UpU.js");
|
|
93670
93670
|
return handleTelegramAction;
|
|
93671
93671
|
}
|
|
93672
93672
|
function readTelegramSendParams(params) {
|
|
@@ -96182,7 +96182,7 @@ function buildPairingReply(params) {
|
|
|
96182
96182
|
|
|
96183
96183
|
//#endregion
|
|
96184
96184
|
//#region src/brand.ts
|
|
96185
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
96185
|
+
const FASED_PRODUCT_VERSION = "0.1.40";
|
|
96186
96186
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
96187
96187
|
|
|
96188
96188
|
//#endregion
|
|
@@ -100289,7 +100289,7 @@ const sendPollDiscordLazy = async (...args) => {
|
|
|
100289
100289
|
return sendPollDiscord(...args);
|
|
100290
100290
|
};
|
|
100291
100291
|
const monitorDiscordProviderLazy = async (...args) => {
|
|
100292
|
-
const { monitorDiscordProvider } = await import("./monitor-
|
|
100292
|
+
const { monitorDiscordProvider } = await import("./monitor-uao4bwTm.js");
|
|
100293
100293
|
return monitorDiscordProvider(...args);
|
|
100294
100294
|
};
|
|
100295
100295
|
const listSlackDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -100317,7 +100317,7 @@ const sendMessageSlackLazy = async (...args) => {
|
|
|
100317
100317
|
return sendMessageSlack(...args);
|
|
100318
100318
|
};
|
|
100319
100319
|
const monitorSlackProviderLazy = async (...args) => {
|
|
100320
|
-
const { monitorSlackProvider } = await import("./slack-
|
|
100320
|
+
const { monitorSlackProvider } = await import("./slack-DvaEXxo5.js");
|
|
100321
100321
|
return monitorSlackProvider(...args);
|
|
100322
100322
|
};
|
|
100323
100323
|
const handleSlackActionLazy = async (...args) => {
|
|
@@ -100337,7 +100337,7 @@ const sendPollTelegramLazy = async (...args) => {
|
|
|
100337
100337
|
return sendPollTelegram(...args);
|
|
100338
100338
|
};
|
|
100339
100339
|
const monitorTelegramProviderLazy = async (...args) => {
|
|
100340
|
-
const { monitorTelegramProvider } = await import("./monitor-
|
|
100340
|
+
const { monitorTelegramProvider } = await import("./monitor-CA4i9Vhf.js");
|
|
100341
100341
|
return monitorTelegramProvider(...args);
|
|
100342
100342
|
};
|
|
100343
100343
|
let webOutboundPromise = null;
|
|
@@ -100358,7 +100358,7 @@ function loadWebLoginQr() {
|
|
|
100358
100358
|
return webLoginQrPromise;
|
|
100359
100359
|
}
|
|
100360
100360
|
function loadWebChannel() {
|
|
100361
|
-
webChannelPromise ??= import("./web-
|
|
100361
|
+
webChannelPromise ??= import("./web-4BVlmvJD.js");
|
|
100362
100362
|
return webChannelPromise;
|
|
100363
100363
|
}
|
|
100364
100364
|
function loadWhatsAppActions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as loadModelCatalog, kt as resolveAutoImageModel, l as modelSupportsVision, s as findModelInCatalog } from "./pi-embedded-runner-
|
|
1
|
+
import { c as loadModelCatalog, kt as resolveAutoImageModel, l as modelSupportsVision, s as findModelInCatalog } from "./pi-embedded-runner-Cl-dGLKY.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 { Gt as resolveDefaultModelForAgent, in as resolveApiKeyForProvider } from "./config-DtqAN2L3.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-
|
|
150
|
+
const { describeImageWithModel } = await import("./pi-embedded-runner-Cl-dGLKY.js").then((n) => n.Ht);
|
|
151
151
|
return (await describeImageWithModel({
|
|
152
152
|
buffer,
|
|
153
153
|
fileName: "sticker.webp",
|
|
@@ -2,7 +2,7 @@ import { Rt as resolveApiKeyForProvider, Tt as resolveDefaultModelForAgent } fro
|
|
|
2
2
|
import { t as STATE_DIR } from "./paths-GdhK5mV_.js";
|
|
3
3
|
import { i as logVerbose } from "./globals-BtKmaIS3.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-Djqpy66R.js";
|
|
5
|
-
import { c as findModelInCatalog, dt as resolveAutoImageModel, l as loadModelCatalog, u as modelSupportsVision } from "./status-
|
|
5
|
+
import { c as findModelInCatalog, dt as resolveAutoImageModel, l as loadModelCatalog, u as modelSupportsVision } from "./status-DKwtdFcx.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
|
|
@@ -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("./status-
|
|
150
|
+
const { describeImageWithModel } = await import("./status-DKwtdFcx.js").then((n) => n.Ct);
|
|
151
151
|
return (await describeImageWithModel({
|
|
152
152
|
buffer,
|
|
153
153
|
fileName: "sticker.webp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as resolveTelegramInlineButtonsScope, Qn as resolveTelegramReactionLevel } from "./pi-embedded-runner-
|
|
1
|
+
import { $n as resolveTelegramInlineButtonsScope, Qn as resolveTelegramReactionLevel } from "./pi-embedded-runner-Cl-dGLKY.js";
|
|
2
2
|
import { Ot as resolveTelegramToken, wt as createTelegramActionGate } from "./runtime-BPyuAmka.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -48,7 +48,7 @@ import "./tables-CJE8kB35.js";
|
|
|
48
48
|
import { a as reactMessageTelegram, i as editMessageTelegram, n as createForumTopicTelegram, o as sendMessageTelegram, r as deleteMessageTelegram, s as sendStickerTelegram } from "./send-BzFdvD_i.js";
|
|
49
49
|
import "./retry-policy-sM01QZT2.js";
|
|
50
50
|
import "./proxy-CKQOQYAl.js";
|
|
51
|
-
import { a as searchStickers, r as getCacheStats } from "./sticker-cache-
|
|
51
|
+
import { a as searchStickers, r as getCacheStats } from "./sticker-cache-C6yLVx3S.js";
|
|
52
52
|
|
|
53
53
|
//#region src/agents/tools/telegram-actions.ts
|
|
54
54
|
const TELEGRAM_BUTTON_STYLES = [
|
|
@@ -14,8 +14,8 @@ import "./accounts-BwkH5bTD.js";
|
|
|
14
14
|
import "./tokens-BK5rrwBB.js";
|
|
15
15
|
import "./allow-list-CBtbuDI8.js";
|
|
16
16
|
import "./paths-DTurNPnO.js";
|
|
17
|
-
import { en as resolveTelegramReactionLevel, tn as resolveTelegramInlineButtonsScope } from "./status-
|
|
18
|
-
import "./runtime-dependency-
|
|
17
|
+
import { en as resolveTelegramReactionLevel, tn as resolveTelegramInlineButtonsScope } from "./status-DKwtdFcx.js";
|
|
18
|
+
import "./runtime-dependency-B-1u41Ph.js";
|
|
19
19
|
import "./ssrf-Cce6LubA.js";
|
|
20
20
|
import "./skill-commands-hyZA0LE3.js";
|
|
21
21
|
import "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -48,7 +48,7 @@ import "./tables-BD7H5ug-.js";
|
|
|
48
48
|
import { a as reactMessageTelegram, i as editMessageTelegram, n as createForumTopicTelegram, o as sendMessageTelegram, r as deleteMessageTelegram, s as sendStickerTelegram } from "./send-B09HRfHN.js";
|
|
49
49
|
import "./retry-policy-BLYEgIwP.js";
|
|
50
50
|
import "./proxy-CV9uL4Wi.js";
|
|
51
|
-
import { a as searchStickers, r as getCacheStats } from "./sticker-cache-
|
|
51
|
+
import { a as searchStickers, r as getCacheStats } from "./sticker-cache-Dmrdawoj.js";
|
|
52
52
|
|
|
53
53
|
//#region src/agents/tools/telegram-actions.ts
|
|
54
54
|
const TELEGRAM_BUTTON_STYLES = [
|