@fased/fased 0.1.37 → 0.1.39
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-C5BjfxoO.js → accounts-COY-15zJ.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CuABlLDL.js → audio-preflight-DIJQAjNX.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-C8SbY4fV.js → audio-preflight-WolqDIx8.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +2 -2
- package/dist/plugin-sdk/{chunk-items-BGbYyNvO.js → chunk-items-j6n1a2yQ.js} +1 -1
- package/dist/plugin-sdk/command-status.js +1 -1
- package/dist/plugin-sdk/{config-C0qggNKQ.js → config-BxVjLTIv.js} +7 -7
- package/dist/plugin-sdk/{config-z0k05dwe.js → config-CZaFbNZU.js} +1 -1
- package/dist/plugin-sdk/{config-B6SjJFp-.js → config-DLVjQxOu.js} +1 -1
- package/dist/plugin-sdk/{config-g1MG9Bet.js → config-DgD5T-Ui.js} +7 -7
- package/dist/plugin-sdk/index.js +12 -2
- package/dist/plugin-sdk/{login-CfRfRNc7.js → login-YveoqEvH.js} +2 -2
- package/dist/plugin-sdk/{monitor-9X7wapUN.js → monitor-C20pbAuB.js} +3 -3
- package/dist/plugin-sdk/{monitor-CTjAST_W.js → monitor-DyW8M8cP.js} +3 -3
- package/dist/plugin-sdk/{monitor-B3IfJzKX.js → monitor-JQsKE-Nn.js} +3 -3
- package/dist/plugin-sdk/{monitor-tYFfy2u-.js → monitor-jztLTK6V.js} +3 -3
- package/dist/plugin-sdk/{openresponses-http-YgMg1jnp.js → openresponses-http-81UzNEsm.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-DEB2fEya.js → openresponses-http-DXTQURTj.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-runner-CUVk8CIj.js → pi-embedded-runner-BXCGeeps.js} +7 -7
- package/dist/plugin-sdk/{pi-model-discovery-runtime-LB-5lX5L.js → pi-model-discovery-runtime-BvFEoUSk.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-CKKNoqwk.js → pi-model-discovery-runtime-CQOauapl.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DyOIGBor.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/{resolve-utils-EFP1DYqG.js → resolve-utils-4mG32lvJ.js} +1 -1
- package/dist/plugin-sdk/{slack-C0WZVJPZ.js → slack-DRSLzWUb.js} +3 -3
- package/dist/plugin-sdk/{slack-DtlPw_PN.js → slack-qsR7PUPb.js} +3 -3
- 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-CIiBeb9B.js → status-Cl4MeWSg.js} +7 -7
- package/dist/plugin-sdk/{sticker-cache-Dwi-XsgB.js → sticker-cache-CcER-WWu.js} +2 -2
- package/dist/plugin-sdk/{sticker-cache-9houHChV.js → sticker-cache-DjFhjSZc.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-CRXVO8lG.js → telegram-actions-8Rjfgf8m.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-Bu1edXF2.js → telegram-actions-DfDEOBPg.js} +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/{web-DCrVQr6y.js → web-BbgvbXQz.js} +1 -1
- package/dist/plugin-sdk/{web-Ds6OWw3C.js → web-KBdzfu6K.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
|
@@ -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-BXCGeeps.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-j6n1a2yQ.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-BXCGeeps.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,9 +15,9 @@ 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-4mG32lvJ.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-
|
|
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-Cl4MeWSg.js";
|
|
21
21
|
import "./runtime-dependency-B-1u41Ph.js";
|
|
22
22
|
import { o as normalizeHostname } from "./ssrf-Cce6LubA.js";
|
|
23
23
|
import "./skill-commands-hyZA0LE3.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-Cl4MeWSg.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.39";
|
|
5
|
+
export declare const FASED_DISPLAY_VERSION = "v0.1.39";
|
|
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 {};
|
|
@@ -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-KBdzfu6K.js");
|
|
17695
17695
|
return await sendMessageWhatsApp(...args);
|
|
17696
17696
|
},
|
|
17697
17697
|
sendMessageTelegram: async (...args) => {
|
|
@@ -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-DfDEOBPg.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.39";
|
|
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-DyW8M8cP.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-qsR7PUPb.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-JQsKE-Nn.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-KBdzfu6K.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-BXCGeeps.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-BXCGeeps.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-Cl4MeWSg.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-Cl4MeWSg.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-BXCGeeps.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-CcER-WWu.js";
|
|
52
52
|
|
|
53
53
|
//#region src/agents/tools/telegram-actions.ts
|
|
54
54
|
const TELEGRAM_BUTTON_STYLES = [
|
|
@@ -14,7 +14,7 @@ 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-
|
|
17
|
+
import { en as resolveTelegramReactionLevel, tn as resolveTelegramInlineButtonsScope } from "./status-Cl4MeWSg.js";
|
|
18
18
|
import "./runtime-dependency-B-1u41Ph.js";
|
|
19
19
|
import "./ssrf-Cce6LubA.js";
|
|
20
20
|
import "./skill-commands-hyZA0LE3.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-DjFhjSZc.js";
|
|
52
52
|
|
|
53
53
|
//#region src/agents/tools/telegram-actions.ts
|
|
54
54
|
const TELEGRAM_BUTTON_STYLES = [
|
|
@@ -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 TelegramConfigSchema, 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 TelegramConfigSchema, 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-CZaFbNZU.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1642,7 +1642,7 @@ async function loadContextCache() {
|
|
|
1642
1642
|
await ensureFasedModelsJson(cfg);
|
|
1643
1643
|
} catch {}
|
|
1644
1644
|
try {
|
|
1645
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
1645
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-BvFEoUSk.js");
|
|
1646
1646
|
const agentDir = resolveFasedAgentDir();
|
|
1647
1647
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
1648
1648
|
applyDiscoveredContextWindows({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as buildPairingReply, Ct as enqueueSystemEvent, D as buildHistoryContextFromEntries, E as DEFAULT_GROUP_HISTORY_LIMIT, Gt as hasControlCommand, H as createInboundDebouncer, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, Kt as shouldComputeCommandAuthorized, N as recordPendingHistoryEntryIfEnabled, Nt as registerUnhandledRejectionHandler, R as shouldAckReactionForWhatsApp, Sr as warnMissingProviderGroupPolicyFallbackOnce, T as sleepWithAbort, U as resolveInboundDebounceMs, W as formatInboundEnvelope, X as getReplyFromConfig, Xt as normalizeMentionText, br as resolveDefaultGroupPolicy, ct as normalizeGroupActivation, fr as readStoreAllowFromForDmPolicy, lt as parseActivationCommand, mr as resolveDmGroupAccessWithLists, p as resolveMentionGating, pr as resolveDmGroupAccessWithCommandGate, sr as createDedupeCache, w as computeBackoff, xr as resolveOpenProviderRuntimeGroupPolicy, xt as formatDurationPrecise, z as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-runner-
|
|
1
|
+
import { C as buildPairingReply, Ct as enqueueSystemEvent, D as buildHistoryContextFromEntries, E as DEFAULT_GROUP_HISTORY_LIMIT, Gt as hasControlCommand, H as createInboundDebouncer, Jt as buildMentionRegexes, K as resolveEnvelopeFormatOptions, Kt as shouldComputeCommandAuthorized, N as recordPendingHistoryEntryIfEnabled, Nt as registerUnhandledRejectionHandler, R as shouldAckReactionForWhatsApp, Sr as warnMissingProviderGroupPolicyFallbackOnce, T as sleepWithAbort, U as resolveInboundDebounceMs, W as formatInboundEnvelope, X as getReplyFromConfig, Xt as normalizeMentionText, br as resolveDefaultGroupPolicy, ct as normalizeGroupActivation, fr as readStoreAllowFromForDmPolicy, lt as parseActivationCommand, mr as resolveDmGroupAccessWithLists, p as resolveMentionGating, pr as resolveDmGroupAccessWithCommandGate, sr as createDedupeCache, w as computeBackoff, xr as resolveOpenProviderRuntimeGroupPolicy, xt as formatDurationPrecise, z as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-runner-BXCGeeps.js";
|
|
2
2
|
import { C as recordSessionMetaFromInbound, Ht as resolveGroupSessionKey, Rt as resolveChannelGroupPolicy, S as readSessionUpdatedAt, w as updateLastRoute, x as loadSessionStore, zt as resolveChannelGroupRequireMention } from "./runtime-BPyuAmka.js";
|
|
3
3
|
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, p as getChildLogger, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
|
|
@@ -15,7 +15,7 @@ import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webA
|
|
|
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 { A as buildHistoryContextFromEntries, B as dispatchReplyWithBufferedBlockDispatcher, C as computeBackoff, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, E as resolveDefaultGroupPolicy, Ft as normalizeGroupActivation, G as formatInboundEnvelope, It as parseActivationCommand, Jt as formatDurationPrecise, K as resolveEnvelopeFormatOptions, N as recordPendingHistoryEntryIfEnabled, O as warnMissingProviderGroupPolicyFallbackOnce, S as buildPairingReply, Tt as shouldComputeCommandAuthorized, U as createInboundDebouncer, W as resolveInboundDebounceMs, Xt as enqueueSystemEvent, Y as createDedupeCache, Z as getReplyFromConfig, _ as resolveDmGroupAccessWithCommandGate, g as readStoreAllowFromForDmPolicy, jt as registerUnhandledRejectionHandler, k as DEFAULT_GROUP_HISTORY_LIMIT, kt as normalizeMentionText, p as resolveMentionGating, v as resolveDmGroupAccessWithLists, w as sleepWithAbort, wt as hasControlCommand, z as shouldAckReactionForWhatsApp } from "./status-
|
|
18
|
+
import { A as buildHistoryContextFromEntries, B as dispatchReplyWithBufferedBlockDispatcher, C as computeBackoff, D as resolveOpenProviderRuntimeGroupPolicy, Dt as buildMentionRegexes, E as resolveDefaultGroupPolicy, Ft as normalizeGroupActivation, G as formatInboundEnvelope, It as parseActivationCommand, Jt as formatDurationPrecise, K as resolveEnvelopeFormatOptions, N as recordPendingHistoryEntryIfEnabled, O as warnMissingProviderGroupPolicyFallbackOnce, S as buildPairingReply, Tt as shouldComputeCommandAuthorized, U as createInboundDebouncer, W as resolveInboundDebounceMs, Xt as enqueueSystemEvent, Y as createDedupeCache, Z as getReplyFromConfig, _ as resolveDmGroupAccessWithCommandGate, g as readStoreAllowFromForDmPolicy, jt as registerUnhandledRejectionHandler, k as DEFAULT_GROUP_HISTORY_LIMIT, kt as normalizeMentionText, p as resolveMentionGating, v as resolveDmGroupAccessWithLists, w as sleepWithAbort, wt as hasControlCommand, z as shouldAckReactionForWhatsApp } from "./status-Cl4MeWSg.js";
|
|
19
19
|
import "./runtime-dependency-B-1u41Ph.js";
|
|
20
20
|
import "./ssrf-Cce6LubA.js";
|
|
21
21
|
import "./skill-commands-hyZA0LE3.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as isRecord, D as createSubsystemLogger, F as resolveStateDir, I as expandHomePrefix, L as resolveRequiredHomeDir, P as resolveOAuthDir, R as CHAT_CHANNEL_ORDER, S as formatTerminalLink, T as pathExists, _ as normalizeAgentId, a as resolveImplicitCopilotProvider, c as resolveFasedAgentDir, f as formatCliCommand, g as DEFAULT_AGENT_ID, h as isTruthyEnvValue, i as normalizeProviders, l as resolveProcessScopedMap, n as WhatsAppConfigSchema, o as resolveImplicitProviders, p as resolveDefaultAgentId, t as loadConfig, v as DEFAULT_ACCOUNT_ID, w as normalizeE164, x as escapeRegExp, y as normalizeAccountId, z as normalizeChatChannelId } from "./config-
|
|
2
|
-
import { d as createAccountListHelpers, f as resolveAccountEntry, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-
|
|
1
|
+
import { C as isRecord, D as createSubsystemLogger, F as resolveStateDir, I as expandHomePrefix, L as resolveRequiredHomeDir, P as resolveOAuthDir, R as CHAT_CHANNEL_ORDER, S as formatTerminalLink, T as pathExists, _ as normalizeAgentId, a as resolveImplicitCopilotProvider, c as resolveFasedAgentDir, f as formatCliCommand, g as DEFAULT_AGENT_ID, h as isTruthyEnvValue, i as normalizeProviders, l as resolveProcessScopedMap, n as WhatsAppConfigSchema, o as resolveImplicitProviders, p as resolveDefaultAgentId, t as loadConfig, v as DEFAULT_ACCOUNT_ID, w as normalizeE164, x as escapeRegExp, y as normalizeAccountId, z as normalizeChatChannelId } from "./config-DgD5T-Ui.js";
|
|
2
|
+
import { d as createAccountListHelpers, f as resolveAccountEntry, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-COY-15zJ.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1667,7 +1667,7 @@ async function loadContextCache() {
|
|
|
1667
1667
|
await ensureFasedModelsJson(cfg);
|
|
1668
1668
|
} catch {}
|
|
1669
1669
|
try {
|
|
1670
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
1670
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-CQOauapl.js");
|
|
1671
1671
|
const agentDir = resolveFasedAgentDir();
|
|
1672
1672
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
1673
1673
|
applyDiscoveredContextWindows({
|
|
@@ -2554,7 +2554,7 @@ const whatsappOnboardingAdapter = {
|
|
|
2554
2554
|
message: linked ? "WhatsApp already linked. Re-link now?" : "Link WhatsApp now (QR)?",
|
|
2555
2555
|
initialValue: !linked
|
|
2556
2556
|
})) try {
|
|
2557
|
-
const { loginWeb } = await import("./login-
|
|
2557
|
+
const { loginWeb } = await import("./login-YveoqEvH.js");
|
|
2558
2558
|
await loginWeb(false, void 0, runtime, accountId);
|
|
2559
2559
|
} catch (err) {
|
|
2560
2560
|
runtime.error(`WhatsApp login failed: ${String(err)}`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fased/memory-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "FasedAgent core memory search plugin",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@fased/fased": "^0.1.
|
|
8
|
+
"@fased/fased": "^0.1.39"
|
|
9
9
|
},
|
|
10
10
|
"fased": {
|
|
11
11
|
"extensions": [
|