@fased/fased 0.1.37 → 0.1.38
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/plugin-sdk/{accounts-C5BjfxoO.js → accounts-COY-15zJ.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-C8SbY4fV.js → audio-preflight-BPK8t0tI.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CuABlLDL.js → audio-preflight-kCa_KGRH.js} +2 -2
- package/dist/plugin-sdk/{chunk-items-BGbYyNvO.js → chunk-items-DGHUeFuI.js} +1 -1
- package/dist/plugin-sdk/command-status.js +2 -2
- package/dist/plugin-sdk/{config-g1MG9Bet.js → config-DgD5T-Ui.js} +7 -7
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/plugin-sdk/{login-CfRfRNc7.js → login-YveoqEvH.js} +2 -2
- package/dist/plugin-sdk/{monitor-tYFfy2u-.js → monitor-6lkdOqhQ.js} +3 -3
- package/dist/plugin-sdk/{monitor-B3IfJzKX.js → monitor-C6Ohw9BA.js} +4 -4
- package/dist/plugin-sdk/{monitor-CTjAST_W.js → monitor-o20KTHIi.js} +6 -6
- package/dist/plugin-sdk/{monitor-9X7wapUN.js → monitor-rOs3mUol.js} +3 -3
- package/dist/plugin-sdk/{openresponses-http-DEB2fEya.js → openresponses-http-BJONnUdy.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-YgMg1jnp.js → openresponses-http-DkWqYznu.js} +2 -2
- package/dist/plugin-sdk/{pi-embedded-runner-CUVk8CIj.js → pi-embedded-runner-DqDy0MWN.js} +7 -7
- package/dist/plugin-sdk/{pi-model-discovery-runtime-LB-5lX5L.js → pi-model-discovery-runtime-CQOauapl.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-SNCI9UXT.js → pw-ai-Boor5vYw.js} +1 -1
- package/dist/plugin-sdk/{resolve-utils-EFP1DYqG.js → resolve-utils-bixHYDBj.js} +1 -1
- package/dist/plugin-sdk/{runtime-dependency-B-1u41Ph.js → runtime-dependency-Deg_sw2k.js} +9 -9
- package/dist/plugin-sdk/{slack-DtlPw_PN.js → slack-BErIh0uj.js} +4 -4
- package/dist/plugin-sdk/{slack-C0WZVJPZ.js → slack-CGTAN4UD.js} +3 -3
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-CIiBeb9B.js → status-CCGFb0f2.js} +15 -15
- package/dist/plugin-sdk/{sticker-cache-9houHChV.js → sticker-cache-CKAkkCoU.js} +2 -2
- package/dist/plugin-sdk/{sticker-cache-Dwi-XsgB.js → sticker-cache-wxl1Me2i.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-Bu1edXF2.js → telegram-actions-BRUNEXMr.js} +3 -3
- package/dist/plugin-sdk/{telegram-actions-CRXVO8lG.js → telegram-actions-r86ntIKR.js} +2 -2
- package/dist/plugin-sdk/{web-Ds6OWw3C.js → web-02I0vmdu.js} +2 -2
- package/dist/plugin-sdk/{web-DCrVQr6y.js → web-CXz56wyu.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/dist/brand.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const FASED_BRAND_NAME = "Fased";
|
|
3
3
|
const FASED_AGENT_NAME = "Fased Agent";
|
|
4
4
|
const FASED_CONTROL_NAME = "Fased Control";
|
|
5
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
5
|
+
const FASED_PRODUCT_VERSION = "0.1.38";
|
|
6
6
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
7
7
|
function formatFasedDisplayLine() {
|
|
8
8
|
return `${FASED_AGENT_NAME} ${FASED_DISPLAY_VERSION}`;
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d91da5fc7935c5d64a96871c12c0f9f54ab7c949c1edb6d966a4df86dbf6f149
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as info, E as resolveUserPath, I as expandHomePrefix, L as resolveRequiredHomeDir, M as getChildLogger, O as defaultRuntime, P as resolveOAuthDir, j as success, v as DEFAULT_ACCOUNT_ID, y as normalizeAccountId } from "./config-
|
|
1
|
+
import { A as info, E as resolveUserPath, I as expandHomePrefix, L as resolveRequiredHomeDir, M as getChildLogger, O as defaultRuntime, P as resolveOAuthDir, j as success, v as DEFAULT_ACCOUNT_ID, y as normalizeAccountId } from "./config-DgD5T-Ui.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as resolveMediaAttachmentLocalRoots, Dt as createMediaAttachmentCache, Et as buildProviderRegistry, Mt as isAudioAttachment, Ot as normalizeMediaAttachments, jt as runCapability } from "./pi-embedded-runner-
|
|
1
|
+
import { At as resolveMediaAttachmentLocalRoots, Dt as createMediaAttachmentCache, Et as buildProviderRegistry, Mt as isAudioAttachment, Ot as normalizeMediaAttachments, jt as runCapability } from "./pi-embedded-runner-DqDy0MWN.js";
|
|
2
2
|
import "./runtime-BPyuAmka.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, s as shouldLogVerbose } from "./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 { ct as buildProviderRegistry, ft as resolveMediaAttachmentLocalRoots, lt as createMediaAttachmentCache, mt as isAudioAttachment, pt as runCapability, ut as normalizeMediaAttachments } from "./status-
|
|
18
|
-
import "./runtime-dependency-
|
|
17
|
+
import { ct as buildProviderRegistry, ft as resolveMediaAttachmentLocalRoots, lt as createMediaAttachmentCache, mt as isAudioAttachment, pt as runCapability, ut as normalizeMediaAttachments } from "./status-CCGFb0f2.js";
|
|
18
|
+
import "./runtime-dependency-Deg_sw2k.js";
|
|
19
19
|
import "./ssrf-Cce6LubA.js";
|
|
20
20
|
import "./skill-commands-hyZA0LE3.js";
|
|
21
21
|
import "./pi-model-discovery-DadlvsZW.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 { n as buildCommandsMessagePaginated, r as buildHelpMessage, t as buildCommandsMessage } from "./status-
|
|
18
|
-
import "./runtime-dependency-
|
|
17
|
+
import { n as buildCommandsMessagePaginated, r as buildHelpMessage, t as buildCommandsMessage } from "./status-CCGFb0f2.js";
|
|
18
|
+
import "./runtime-dependency-Deg_sw2k.js";
|
|
19
19
|
import "./ssrf-Cce6LubA.js";
|
|
20
20
|
import "./skill-commands-hyZA0LE3.js";
|
|
21
21
|
import "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs, { constants } from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import util, { isDeepStrictEqual, promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -325,7 +325,7 @@ function readLoggingConfig() {
|
|
|
325
325
|
try {
|
|
326
326
|
if (!fs.existsSync(configPath)) return;
|
|
327
327
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
328
|
-
const logging =
|
|
328
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
329
329
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
330
330
|
return logging;
|
|
331
331
|
} catch {
|
|
@@ -3028,7 +3028,7 @@ function loadPluginManifest(rootDir) {
|
|
|
3028
3028
|
}
|
|
3029
3029
|
let raw;
|
|
3030
3030
|
try {
|
|
3031
|
-
raw =
|
|
3031
|
+
raw = JSON5.parse(fs.readFileSync(opened.fd, "utf-8"));
|
|
3032
3032
|
} catch (err) {
|
|
3033
3033
|
return {
|
|
3034
3034
|
ok: false,
|
|
@@ -13468,7 +13468,7 @@ const defaultResolver = {
|
|
|
13468
13468
|
resolvedPath,
|
|
13469
13469
|
rootRealDir
|
|
13470
13470
|
}),
|
|
13471
|
-
parseJson: (raw) =>
|
|
13471
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
13472
13472
|
};
|
|
13473
13473
|
/**
|
|
13474
13474
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -20081,7 +20081,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
20081
20081
|
function normalizeDeps(overrides = {}) {
|
|
20082
20082
|
return {
|
|
20083
20083
|
fs: overrides.fs ?? fs,
|
|
20084
|
-
json5: overrides.json5 ??
|
|
20084
|
+
json5: overrides.json5 ?? JSON5,
|
|
20085
20085
|
env: overrides.env ?? process.env,
|
|
20086
20086
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
20087
20087
|
configPath: overrides.configPath ?? "",
|
|
@@ -20092,11 +20092,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
20092
20092
|
if (env !== process.env) return;
|
|
20093
20093
|
loadDotEnv({ quiet: true });
|
|
20094
20094
|
}
|
|
20095
|
-
function parseConfigJson5(raw, json5
|
|
20095
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
20096
20096
|
try {
|
|
20097
20097
|
return {
|
|
20098
20098
|
ok: true,
|
|
20099
|
-
parsed: json5
|
|
20099
|
+
parsed: json5.parse(raw)
|
|
20100
20100
|
};
|
|
20101
20101
|
} catch (err) {
|
|
20102
20102
|
return {
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as resolveToolDisplay, A as clearHistoryEntriesIfEnabled, An as DEFAULT_FEDERATION_BASE_URL, Bn as validatePushTestParams, Cn as readRequestBodyWithLimit, Cr as assertOkOrThrowHttpError, Dn as runFederationAutoConnectOnce, Dr as BLUEBUBBLES_GROUP_ACTIONS, E as DEFAULT_GROUP_HISTORY_LIMIT, En as resolveChannelMediaMaxBytes, Er as BLUEBUBBLES_ACTION_NAMES, F as recordInboundSession, G as formatInboundFromLabel, Hn as errorShape, I as removeAckReactionAfterReply, Jn as processLineMessage, Kn as resolveModel, L as shouldAckReaction, Ln as loadOrCreateDeviceIdentity, M as recordPendingHistoryEntry, Mn as resolveAgentPublicOrigin, N as recordPendingHistoryEntryIfEnabled, Nn as resolveFederationBaseUrl, O as buildPendingHistoryContextFromMap, On as startFederationAutoConnect, Or as CHANNEL_MESSAGE_ACTION_NAMES, P as formatDocsLink, Pn as resolveFederationHandle, R as shouldAckReactionForWhatsApp, Rn as publicKeyRawBase64UrlFromPem, S as detectBinary, Sn as readJsonBodyWithLimit, Sr as warnMissingProviderGroupPolicyFallbackOnce, Tr as BLUEBUBBLES_ACTIONS, Ut as optionalStringEnum, Vn as ErrorCodes, Wt as stringEnum, Xn as createReceiptCard, Yn as stripMarkdown, Zn as attachFooterText, _ as resolveDefaultLineAccountId, _n as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, _r as resolveControlCommandGate, _t as getChannelAgentToolMeta, an as getAcpSessionManager, ar as listDevicePairing, b as logInboundDrop, bn as installRequestBodyLimitGuard, br as resolveDefaultGroupPolicy, c as loadModelCatalog, cn as unregisterAcpRuntimeBackend, d as issuePairingChallenge, dr as DM_GROUP_ACCESS_REASON, er as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, f as createTypingCallbacks, fr as readStoreAllowFromForDmPolicy, g as normalizeAccountId$1, h as listLineAccountIds, hr as resolveEffectiveAllowFromLists, ir as approveDevicePairing, j as evictOldHistoryKeys, jn as normalizeHandle, k as clearHistoryEntries, ln as resolveRuntimeOptionsFromMeta, lr as extractToolSend, m as resolveMentionGatingWithBypass, mr as resolveDmGroupAccessWithLists, nr as resolveHeartbeatPrompt, o as resolveStrictAgenticRuntimeMode, on as getAcpRuntimeBackend, or as rejectDevicePairing, ot as createFasedAgentCodingTools, p as resolveMentionGating, pr as resolveDmGroupAccessWithCommandGate, qn as hasMarkdownToConvert, rr as waitForAbortSignal, sn as registerAcpRuntimeBackend, sr as createDedupeCache, st as resolveEffectiveToolPolicy, t as runEmbeddedPiAgent, tr as DEFAULT_HEARTBEAT_EVERY, u as deriveModelMetadata, un as AcpRuntimeError, ur as withTempDownloadPath, v as resolveLineAccount, vn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, vr as GROUP_POLICY_BLOCKED_LABEL, vt as getPluginToolMeta, wn as requestBodyErrorToText, wr as registerPluginHttpRoute, wt as peekSystemEvents, x as logTypingFailure, xn as isRequestBodyLimitError, xr as resolveOpenProviderRuntimeGroupPolicy, y as logAckFailure, yn as RequestBodyLimitError, yr as resolveAllowlistProviderRuntimeGroupPolicy, yt as buildChannelSummary, zn as formatValidationErrors } from "./pi-embedded-runner-
|
|
1
|
+
import { $t as resolveToolDisplay, A as clearHistoryEntriesIfEnabled, An as DEFAULT_FEDERATION_BASE_URL, Bn as validatePushTestParams, Cn as readRequestBodyWithLimit, Cr as assertOkOrThrowHttpError, Dn as runFederationAutoConnectOnce, Dr as BLUEBUBBLES_GROUP_ACTIONS, E as DEFAULT_GROUP_HISTORY_LIMIT, En as resolveChannelMediaMaxBytes, Er as BLUEBUBBLES_ACTION_NAMES, F as recordInboundSession, G as formatInboundFromLabel, Hn as errorShape, I as removeAckReactionAfterReply, Jn as processLineMessage, Kn as resolveModel, L as shouldAckReaction, Ln as loadOrCreateDeviceIdentity, M as recordPendingHistoryEntry, Mn as resolveAgentPublicOrigin, N as recordPendingHistoryEntryIfEnabled, Nn as resolveFederationBaseUrl, O as buildPendingHistoryContextFromMap, On as startFederationAutoConnect, Or as CHANNEL_MESSAGE_ACTION_NAMES, P as formatDocsLink, Pn as resolveFederationHandle, R as shouldAckReactionForWhatsApp, Rn as publicKeyRawBase64UrlFromPem, S as detectBinary, Sn as readJsonBodyWithLimit, Sr as warnMissingProviderGroupPolicyFallbackOnce, Tr as BLUEBUBBLES_ACTIONS, Ut as optionalStringEnum, Vn as ErrorCodes, Wt as stringEnum, Xn as createReceiptCard, Yn as stripMarkdown, Zn as attachFooterText, _ as resolveDefaultLineAccountId, _n as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, _r as resolveControlCommandGate, _t as getChannelAgentToolMeta, an as getAcpSessionManager, ar as listDevicePairing, b as logInboundDrop, bn as installRequestBodyLimitGuard, br as resolveDefaultGroupPolicy, c as loadModelCatalog, cn as unregisterAcpRuntimeBackend, d as issuePairingChallenge, dr as DM_GROUP_ACCESS_REASON, er as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, f as createTypingCallbacks, fr as readStoreAllowFromForDmPolicy, g as normalizeAccountId$1, h as listLineAccountIds, hr as resolveEffectiveAllowFromLists, ir as approveDevicePairing, j as evictOldHistoryKeys, jn as normalizeHandle, k as clearHistoryEntries, ln as resolveRuntimeOptionsFromMeta, lr as extractToolSend, m as resolveMentionGatingWithBypass, mr as resolveDmGroupAccessWithLists, nr as resolveHeartbeatPrompt, o as resolveStrictAgenticRuntimeMode, on as getAcpRuntimeBackend, or as rejectDevicePairing, ot as createFasedAgentCodingTools, p as resolveMentionGating, pr as resolveDmGroupAccessWithCommandGate, qn as hasMarkdownToConvert, rr as waitForAbortSignal, sn as registerAcpRuntimeBackend, sr as createDedupeCache, st as resolveEffectiveToolPolicy, t as runEmbeddedPiAgent, tr as DEFAULT_HEARTBEAT_EVERY, u as deriveModelMetadata, un as AcpRuntimeError, ur as withTempDownloadPath, v as resolveLineAccount, vn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, vr as GROUP_POLICY_BLOCKED_LABEL, vt as getPluginToolMeta, wn as requestBodyErrorToText, wr as registerPluginHttpRoute, wt as peekSystemEvents, x as logTypingFailure, xn as isRequestBodyLimitError, xr as resolveOpenProviderRuntimeGroupPolicy, y as logAckFailure, yn as RequestBodyLimitError, yr as resolveAllowlistProviderRuntimeGroupPolicy, yt as buildChannelSummary, zn as formatValidationErrors } from "./pi-embedded-runner-DqDy0MWN.js";
|
|
2
2
|
import { Ct as resolveIMessageGroupToolPolicy, Ft as listIMessageAccountIds, It as resolveDefaultIMessageAccountId, Lt as resolveIMessageAccount, Mt as listSignalAccountIds, Nt as resolveDefaultSignalAccountId, Pt as resolveSignalAccount, St as resolveIMessageGroupRequireMention, Vt as resolveToolsBySender, _t as normalizeSignalMessagingTarget, an as logMutatingAdminRpcAudit, at as resolveMainSessionKey, bt as resolveGoogleChatGroupRequireMention, c as listAgentsForGateway, ct as listChannelPlugins, et as resolveFreshSessionTotalTokens, f as resolveContextTokensForModel, ft as looksLikeHandleOrPhoneTarget, gt as looksLikeSignalTargetId, ln as authorizeOperatorScopesForMethod, mn as listPluginCommands, on as consumeMutatingAdminRpcBudget, pn as getPluginCommandSpecs, pt as trimMessagingTarget, s as classifySessionKey, t as getActivePluginRegistry, tn as getChatChannelMeta, u as resolveSessionModelRef, vn as normalizePluginHttpPath, vt as resolveBlueBubblesGroupRequireMention, x as loadSessionStore, xt as resolveGoogleChatGroupToolPolicy, yt as resolveBlueBubblesGroupToolPolicy } from "./runtime-BPyuAmka.js";
|
|
3
3
|
import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { g as registerLogTransport, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as info, E as resolveUserPath, M as getChildLogger, N as toPinoLikeLogger, O as defaultRuntime, b as ensureDir, d as redactSensitiveText, f as formatCliCommand, j as success, k as danger, m as logInfo, t as loadConfig, u as VERSION } from "./config-
|
|
2
|
-
import { a as logoutWeb, c as resolveDefaultWebAuthDir, l as resolveWebCredsBackupPath, o as maybeRestoreCredsFromBackup, r as resolveWhatsAppAccount, s as readCredsJsonRaw, u as resolveWebCredsPath } from "./accounts-
|
|
1
|
+
import { A as info, E as resolveUserPath, M as getChildLogger, N as toPinoLikeLogger, O as defaultRuntime, b as ensureDir, d as redactSensitiveText, f as formatCliCommand, j as success, k as danger, m as logInfo, t as loadConfig, u as VERSION } from "./config-DgD5T-Ui.js";
|
|
2
|
+
import { a as logoutWeb, c as resolveDefaultWebAuthDir, l as resolveWebCredsBackupPath, o as maybeRestoreCredsFromBackup, r as resolveWhatsAppAccount, s as readCredsJsonRaw, u as resolveWebCredsPath } from "./accounts-COY-15zJ.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
5
5
|
import qrcode from "qrcode-terminal";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as formatModelsAvailableHeader, $n as resolveTelegramInlineButtonsScope, A as clearHistoryEntriesIfEnabled, C as buildPairingReply, Ct as enqueueSystemEvent, E as DEFAULT_GROUP_HISTORY_LIMIT, F as recordInboundSession, Gt as hasControlCommand, H as createInboundDebouncer, I as removeAckReactionAfterReply, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, L as shouldAckReaction, N as recordPendingHistoryEntryIfEnabled, Nt as registerUnhandledRejectionHandler, O as buildPendingHistoryContextFromMap, Q as buildModelsProviderData, Qt as formatReasoningMessage, Sn as readJsonBodyWithLimit, T as sleepWithAbort, Tt as resolveChannelConfigWrites, U as resolveInboundDebounceMs, W as formatInboundEnvelope, Yt as matchesMentionWithExplicit, Z as resolveStoredModelOverride, _r as resolveControlCommandGate, at as buildCommandsPaginationKeyboard, b as logInboundDrop, bt as buildCommandsMessagePaginated, c as loadModelCatalog, en as stripReasoningTagsFromText, et as buildModelsKeyboard, f as createTypingCallbacks, gr as resolveCommandAuthorizedFromAuthorizers, it as parseModelCallbackData, l as modelSupportsVision, m as resolveMentionGatingWithBypass, nn as isInsideCode, nt as calculateTotalPages, qt as isAbortRequestText, rr as waitForAbortSignal, rt as getModelsPageSize, s as findModelInCatalog, sr as createDedupeCache, tn as findCodeRegions, tt as buildProviderKeyboard, w as computeBackoff, x as logTypingFailure, xr as resolveOpenProviderRuntimeGroupPolicy, xt as formatDurationPrecise, y as logAckFailure, z as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-runner-
|
|
1
|
+
import { $ as formatModelsAvailableHeader, $n as resolveTelegramInlineButtonsScope, A as clearHistoryEntriesIfEnabled, C as buildPairingReply, Ct as enqueueSystemEvent, E as DEFAULT_GROUP_HISTORY_LIMIT, F as recordInboundSession, Gt as hasControlCommand, H as createInboundDebouncer, I as removeAckReactionAfterReply, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, L as shouldAckReaction, N as recordPendingHistoryEntryIfEnabled, Nt as registerUnhandledRejectionHandler, O as buildPendingHistoryContextFromMap, Q as buildModelsProviderData, Qt as formatReasoningMessage, Sn as readJsonBodyWithLimit, T as sleepWithAbort, Tt as resolveChannelConfigWrites, U as resolveInboundDebounceMs, W as formatInboundEnvelope, Yt as matchesMentionWithExplicit, Z as resolveStoredModelOverride, _r as resolveControlCommandGate, at as buildCommandsPaginationKeyboard, b as logInboundDrop, bt as buildCommandsMessagePaginated, c as loadModelCatalog, en as stripReasoningTagsFromText, et as buildModelsKeyboard, f as createTypingCallbacks, gr as resolveCommandAuthorizedFromAuthorizers, it as parseModelCallbackData, l as modelSupportsVision, m as resolveMentionGatingWithBypass, nn as isInsideCode, nt as calculateTotalPages, qt as isAbortRequestText, rr as waitForAbortSignal, rt as getModelsPageSize, s as findModelInCatalog, sr as createDedupeCache, tn as findCodeRegions, tt as buildProviderKeyboard, w as computeBackoff, x as logTypingFailure, xr as resolveOpenProviderRuntimeGroupPolicy, xt as formatDurationPrecise, y as logAckFailure, z as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-runner-DqDy0MWN.js";
|
|
2
2
|
import { C as recordSessionMetaFromInbound, Dt as resolveTelegramAccount, Rt as resolveChannelGroupPolicy, S as readSessionUpdatedAt, fn as executePluginCommand, hn as matchPluginCommand, pn as getPluginCommandSpecs, x as loadSessionStore, zt as resolveChannelGroupRequireMention } from "./runtime-BPyuAmka.js";
|
|
3
3
|
import { i as defaultRuntime, r as createNonExitingRuntime, t as createSubsystemLogger } 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";
|
|
@@ -51,7 +51,7 @@ import { n as recordChannelActivity } from "./channel-activity-Cf5sKkfd.js";
|
|
|
51
51
|
import { _ as splitTelegramCaption, d as isRecoverableTelegramNetworkError, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, p as markdownToTelegramHtml, t as buildInlineKeyboard, u as wasSentByBot, v as withTelegramApiErrorLogging } from "./send-BzFdvD_i.js";
|
|
52
52
|
import "./retry-policy-sM01QZT2.js";
|
|
53
53
|
import { t as makeProxyFetch } from "./proxy-CKQOQYAl.js";
|
|
54
|
-
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-
|
|
54
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-wxl1Me2i.js";
|
|
55
55
|
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-v_5gdUYG.js";
|
|
56
56
|
import path from "node:path";
|
|
57
57
|
import os from "node:os";
|
|
@@ -2035,7 +2035,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2035
2035
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2036
2036
|
let preflightTranscript;
|
|
2037
2037
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2038
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2038
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BPK8t0tI.js");
|
|
2039
2039
|
preflightTranscript = await transcribeFirstAudio({
|
|
2040
2040
|
ctx: {
|
|
2041
2041
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -15,8 +15,8 @@ import "./accounts-BwkH5bTD.js";
|
|
|
15
15
|
import "./tokens-BK5rrwBB.js";
|
|
16
16
|
import "./allow-list-CBtbuDI8.js";
|
|
17
17
|
import { l as resolveStorePath } from "./paths-DTurNPnO.js";
|
|
18
|
-
import { $ as buildModelsProviderData, B as dispatchReplyWithBufferedBlockDispatcher, C as computeBackoff, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, Et as isAbortRequestText, F as resolveCommandAuthorizedFromAuthorizers, G as formatInboundEnvelope, Gt as stripReasoningTagsFromText, I as resolveControlCommandGate, Jt as formatDurationPrecise, K as resolveEnvelopeFormatOptions, Kt as findCodeRegions, L as removeAckReactionAfterReply, M as clearHistoryEntriesIfEnabled, N as recordPendingHistoryEntryIfEnabled, Ot as matchesMentionWithExplicit, P as recordInboundSession, Q as resolveStoredModelOverride, R as shouldAckReaction, S as buildPairingReply, U as createInboundDebouncer, W as resolveInboundDebounceMs, Wt as formatReasoningMessage, Xt as enqueueSystemEvent, Y as createDedupeCache, at as parseModelCallbackData, b as logInboundDrop, c as findModelInCatalog, et as formatModelsAvailableHeader, f as createTypingCallbacks, h as waitForAbortSignal, it as getModelsPageSize, j as buildPendingHistoryContextFromMap, jt as registerUnhandledRejectionHandler, k as DEFAULT_GROUP_HISTORY_LIMIT, l as loadModelCatalog, ln as readJsonBodyWithLimit, m as resolveMentionGatingWithBypass, n as buildCommandsMessagePaginated, nt as buildProviderKeyboard, ot as buildCommandsPaginationKeyboard, qt as isInsideCode, rt as calculateTotalPages, st as resolveChannelConfigWrites, tn as resolveTelegramInlineButtonsScope, tt as buildModelsKeyboard, u as modelSupportsVision, w as sleepWithAbort, wt as hasControlCommand, x as logTypingFailure, y as logAckFailure } from "./status-
|
|
19
|
-
import "./runtime-dependency-
|
|
18
|
+
import { $ as buildModelsProviderData, B as dispatchReplyWithBufferedBlockDispatcher, C as computeBackoff, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, Et as isAbortRequestText, F as resolveCommandAuthorizedFromAuthorizers, G as formatInboundEnvelope, Gt as stripReasoningTagsFromText, I as resolveControlCommandGate, Jt as formatDurationPrecise, K as resolveEnvelopeFormatOptions, Kt as findCodeRegions, L as removeAckReactionAfterReply, M as clearHistoryEntriesIfEnabled, N as recordPendingHistoryEntryIfEnabled, Ot as matchesMentionWithExplicit, P as recordInboundSession, Q as resolveStoredModelOverride, R as shouldAckReaction, S as buildPairingReply, U as createInboundDebouncer, W as resolveInboundDebounceMs, Wt as formatReasoningMessage, Xt as enqueueSystemEvent, Y as createDedupeCache, at as parseModelCallbackData, b as logInboundDrop, c as findModelInCatalog, et as formatModelsAvailableHeader, f as createTypingCallbacks, h as waitForAbortSignal, it as getModelsPageSize, j as buildPendingHistoryContextFromMap, jt as registerUnhandledRejectionHandler, k as DEFAULT_GROUP_HISTORY_LIMIT, l as loadModelCatalog, ln as readJsonBodyWithLimit, m as resolveMentionGatingWithBypass, n as buildCommandsMessagePaginated, nt as buildProviderKeyboard, ot as buildCommandsPaginationKeyboard, qt as isInsideCode, rt as calculateTotalPages, st as resolveChannelConfigWrites, tn as resolveTelegramInlineButtonsScope, tt as buildModelsKeyboard, u as modelSupportsVision, w as sleepWithAbort, wt as hasControlCommand, x as logTypingFailure, y as logAckFailure } from "./status-CCGFb0f2.js";
|
|
19
|
+
import "./runtime-dependency-Deg_sw2k.js";
|
|
20
20
|
import "./ssrf-Cce6LubA.js";
|
|
21
21
|
import { n as listSkillCommandsForAgents } from "./skill-commands-hyZA0LE3.js";
|
|
22
22
|
import "./pi-model-discovery-DadlvsZW.js";
|
|
@@ -51,7 +51,7 @@ import { n as recordChannelActivity } from "./channel-activity-Cf5sKkfd.js";
|
|
|
51
51
|
import { _ as splitTelegramCaption, d as isRecoverableTelegramNetworkError, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, p as markdownToTelegramHtml, t as buildInlineKeyboard, u as wasSentByBot, v as withTelegramApiErrorLogging } from "./send-B09HRfHN.js";
|
|
52
52
|
import "./retry-policy-BLYEgIwP.js";
|
|
53
53
|
import { t as makeProxyFetch } from "./proxy-CV9uL4Wi.js";
|
|
54
|
-
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-
|
|
54
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-CKAkkCoU.js";
|
|
55
55
|
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-Bfbhumzv.js";
|
|
56
56
|
import crypto from "node:crypto";
|
|
57
57
|
import os from "node:os";
|
|
@@ -2035,7 +2035,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2035
2035
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2036
2036
|
let preflightTranscript;
|
|
2037
2037
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2038
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2038
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-kCa_KGRH.js");
|
|
2039
2039
|
preflightTranscript = await transcribeFirstAudio({
|
|
2040
2040
|
ctx: {
|
|
2041
2041
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -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-bixHYDBj.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-CCGFb0f2.js";
|
|
22
|
+
import "./runtime-dependency-Deg_sw2k.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
|
|
72
|
+
import WebSocket 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-kCa_KGRH.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
|
|
6890
|
+
return new WebSocket(url, { agent: wsAgent });
|
|
6891
6891
|
}
|
|
6892
6892
|
}
|
|
6893
6893
|
return new ProxyGatewayPlugin();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as clearHistoryEntriesIfEnabled, B as dispatchReplyWithDispatcher, C as buildPairingReply, Ct as enqueueSystemEvent, Dt as createMediaAttachmentCache, Et as buildProviderRegistry, F as recordInboundSession, Fn as buildGatewayConnectionDetails, Gn as parseTtsDirectives, Gt as hasControlCommand, H as createInboundDebouncer, In as GatewayClient, J as createReplyDispatcherWithTyping, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, L as shouldAckReaction, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, Ot as normalizeMediaAttachments, Q as buildModelsProviderData, Sr as warnMissingProviderGroupPolicyFallbackOnce, St as formatDurationSeconds, U as resolveInboundDebounceMs, Un as resolveTtsConfig, W as formatInboundEnvelope, Wn as textToSpeech, Y as EmbeddedBlockChunker, Yt as matchesMentionWithExplicit, Z as resolveStoredModelOverride, _r as resolveControlCommandGate, a as agentCommand, b as logInboundDrop, br as resolveDefaultGroupPolicy, en as stripReasoningTagsFromText, f as createTypingCallbacks, fr as readStoreAllowFromForDmPolicy, gr as resolveCommandAuthorizedFromAuthorizers, jt as runCapability, kn as resolveAgentAvatar, m as resolveMentionGatingWithBypass, mr as resolveDmGroupAccessWithLists, q as dispatchInboundMessage, vr as GROUP_POLICY_BLOCKED_LABEL, x as logTypingFailure, xr as resolveOpenProviderRuntimeGroupPolicy, y as logAckFailure, z as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-runner-
|
|
1
|
+
import { A as clearHistoryEntriesIfEnabled, B as dispatchReplyWithDispatcher, C as buildPairingReply, Ct as enqueueSystemEvent, Dt as createMediaAttachmentCache, Et as buildProviderRegistry, F as recordInboundSession, Fn as buildGatewayConnectionDetails, Gn as parseTtsDirectives, Gt as hasControlCommand, H as createInboundDebouncer, In as GatewayClient, J as createReplyDispatcherWithTyping, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, L as shouldAckReaction, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, Ot as normalizeMediaAttachments, Q as buildModelsProviderData, Sr as warnMissingProviderGroupPolicyFallbackOnce, St as formatDurationSeconds, U as resolveInboundDebounceMs, Un as resolveTtsConfig, W as formatInboundEnvelope, Wn as textToSpeech, Y as EmbeddedBlockChunker, Yt as matchesMentionWithExplicit, Z as resolveStoredModelOverride, _r as resolveControlCommandGate, a as agentCommand, b as logInboundDrop, br as resolveDefaultGroupPolicy, en as stripReasoningTagsFromText, f as createTypingCallbacks, fr as readStoreAllowFromForDmPolicy, gr as resolveCommandAuthorizedFromAuthorizers, jt as runCapability, kn as resolveAgentAvatar, m as resolveMentionGatingWithBypass, mr as resolveDmGroupAccessWithLists, q as dispatchInboundMessage, vr as GROUP_POLICY_BLOCKED_LABEL, x as logTypingFailure, xr as resolveOpenProviderRuntimeGroupPolicy, y as logAckFailure, z as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-runner-DqDy0MWN.js";
|
|
2
2
|
import { $t as GATEWAY_CLIENT_MODES, S as readSessionUpdatedAt, Yt as normalizeMessageChannel, en as GATEWAY_CLIENT_NAMES, ut as getChannelDock, x as loadSessionStore } from "./runtime-BPyuAmka.js";
|
|
3
3
|
import { r as createNonExitingRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
@@ -59,7 +59,7 @@ import { C as editMessageDiscord, Q as stripUndefinedFields, a as removeReaction
|
|
|
59
59
|
import { i as createThreadBindingManager, r as createNoopThreadBindingManager, t as reconcileAcpThreadBindingsOnStartup } from "./thread-bindings.lifecycle-gmHv3hc7.js";
|
|
60
60
|
import { t as createReplyReferencePlanner } from "./reply-reference-DxIu2vr0.js";
|
|
61
61
|
import { i as createStatusReactionController, r as DEFAULT_TIMING, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-v_5gdUYG.js";
|
|
62
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
62
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-DGHUeFuI.js";
|
|
63
63
|
import { t as fetchDiscordApplicationId } from "./probe-Dqx0N4uk.js";
|
|
64
64
|
import { t as DiscordUiContainer } from "./ui-7sxJ-x37.js";
|
|
65
65
|
import "./guilds-DmzO7n0X.js";
|
|
@@ -1390,7 +1390,7 @@ async function preflightDiscordMessage(params) {
|
|
|
1390
1390
|
let preflightTranscript;
|
|
1391
1391
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
1392
1392
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
1393
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
1393
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BPK8t0tI.js");
|
|
1394
1394
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
1395
1395
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
1396
1396
|
ctx: {
|
|
@@ -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-DqDy0MWN.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-CCGFb0f2.js";
|
|
18
|
+
import "./runtime-dependency-Deg_sw2k.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-CXz56wyu.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-r86ntIKR.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.38";
|
|
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-rOs3mUol.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-CGTAN4UD.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-6lkdOqhQ.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-CXz56wyu.js");
|
|
91162
91162
|
return webChannelPromise;
|
|
91163
91163
|
}
|
|
91164
91164
|
function loadWhatsAppActions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-
|
|
1
|
+
import { r as normalizeProviderId, s as ensureAuthProfileStore } from "./config-DgD5T-Ui.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-Deg_sw2k.js";
|
|
11
11
|
import "./ssrf-Cce6LubA.js";
|
|
12
12
|
import "./path-alias-guards-C76pC928.js";
|
|
13
13
|
import "./fs-safe-BDnJzutp.js";
|
|
@@ -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
|
|
16
|
+
import WebSocket, { 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
|
|
277
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket.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
|
|
328
|
+
if (!ws || ws.readyState !== WebSocket.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
|
|
345
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
346
346
|
ws.send(msg);
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
const sendResponseToCdp = (ws, res) => {
|
|
350
|
-
if (ws.readyState !== WebSocket
|
|
350
|
+
if (ws.readyState !== WebSocket.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
|
|
560
|
+
if (extensionWs && extensionWs.readyState !== WebSocket.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
|
|
597
|
+
if (ws.readyState !== WebSocket.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
|
|
939
|
+
const ws = new WebSocket(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
|
|
1865
|
+
const ws = new WebSocket(wsUrl, {
|
|
1866
1866
|
handshakeTimeout: timeoutMs,
|
|
1867
1867
|
...Object.keys(headers).length ? { headers } : {}
|
|
1868
1868
|
});
|
|
@@ -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-bixHYDBj.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-CCGFb0f2.js";
|
|
21
|
+
import "./runtime-dependency-Deg_sw2k.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-CCGFb0f2.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),
|
|
@@ -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-DqDy0MWN.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-DGHUeFuI.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-DqDy0MWN.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),
|
|
@@ -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.38";
|
|
5
|
+
export declare const FASED_DISPLAY_VERSION = "v0.1.38";
|
|
6
6
|
export declare function formatFasedDisplayLine(): string;
|