@fased/fased 0.1.52 → 0.1.53
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/control-ui/assets/{app-Bf5WlHKE.js → app-WIDYwhr-.js} +1481 -1481
- package/dist/control-ui/assets/{index-DWM6gKjy.js → index-K3ysLeTN.js} +3 -3
- package/dist/control-ui/index.html +1 -1
- package/dist/plugin-sdk/{audio-preflight-D6IPconF.js → audio-preflight-BrVWUkoP.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/{chunk-items-CTp30xzl.js → chunk-items-BLRCltGL.js} +1 -1
- package/dist/plugin-sdk/command-status.js +1 -1
- package/dist/plugin-sdk/{config-schema-DAyzv2C6.js → config-schema-DV0zctd2.js} +7 -7
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +3 -3
- package/dist/plugin-sdk/index.d.ts +4 -4
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/plugin-sdk/{monitor-CkDlxeW5.js → monitor-CEtMJuFX.js} +3 -3
- package/dist/plugin-sdk/{monitor-CY1W4VTW.js → monitor-D-APtCpn.js} +3 -3
- package/dist/plugin-sdk/{openresponses-http-Cu7NLyPf.js → openresponses-http-g1Iz0xB2.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-DfIyssV_.d.ts → pairing-message-D3WPVg_j.d.ts} +1 -1
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/{slack-papUjf_h.js → slack-74qForpW.js} +3 -3
- package/dist/plugin-sdk/slack.d.ts +3 -3
- package/dist/plugin-sdk/{sticker-cache-CPNu_LEe.js → sticker-cache-CrYayLff.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-BO-giM1s.js → telegram-actions-BGy4AEvF.js} +2 -2
- package/dist/plugin-sdk/telegram.d.ts +3 -3
- package/dist/plugin-sdk/{tmp-fased-dir-Bcp1DTSV.d.ts → tmp-fased-dir-BrbXGSkl.d.ts} +1 -1
- package/dist/plugin-sdk/{types-CMoLtViq.d.ts → types-BJdDoTQF.d.ts} +1 -1
- package/dist/plugin-sdk/{types-BTkcYtOt.d.ts → types-DlKIHIqA.d.ts} +3 -3
- package/dist/plugin-sdk/{web-QpstZjDX.js → web-r1KFR44s.js} +1 -1
- package/dist/plugin-sdk/whatsapp.d.ts +3 -3
- 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
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./app-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./app-WIDYwhr-.js","./icons-D3-vEvih.js","./open-external-url-DwSiwMPl.js","./chat-model-ref-NT82zapt.js","./marketplace-order-evidence-DkR0ZRHa.js","./mining-commit-R-6nu87p.js","./task-ledger-source-route-C-yTp0QU.js","./wallet-policy-C3ZS66Rl.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e={"entry-loaded":10,"app-import-start":20,"app-imported":30,"custom-element-defined":40,connected:50,"first-updated":60,rendered:70,"boot-failed":100};function t(t,n){if(typeof window>`u`)return;let r=window.__FASED_CONTROL_UI_BOOT=window.__FASED_CONTROL_UI_BOOT??{},i=e[r.stage]??0;e[t]<i&&r.stage!==`boot-failed`||(r.stage=t,r.detail=n??``,r.updatedAt=Date.now(),typeof r.mark==`function`&&r.mark(t,n),typeof window.dispatchEvent==`function`&&typeof CustomEvent==`function`&&window.dispatchEvent(new CustomEvent(`fased-control-ui-boot`,{detail:{stage:t,detail:n??``}})))}var n=`modulepreload`,r=function(e,t){return new URL(e,t).href},i={},a=function(e,t,a){let o=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),s=document.querySelector(`meta[property=csp-nonce]`),c=s?.nonce||s?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function u(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,new URL(`../../../src/node/plugins/importAnalysisBuild.ts`,import.meta.url)).href}o=l(t.map(t=>{if(t=r(t,a),t=u(t),t in i)return;i[t]=!0;let o=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let r=e[n];if(r.href===t&&(!o||r.rel===`stylesheet`))return}let s=document.createElement(`link`);if(s.rel=o?`stylesheet`:n,o||(s.as=`script`),s.crossOrigin=``,s.href=t,c&&s.setAttribute(`nonce`,c),document.head.appendChild(s),o)return new Promise((e,n)=>{s.addEventListener(`load`,e),s.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function s(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(t=>{for(let e of t||[])e.status===`rejected`&&s(e.reason);return e().catch(s)})};function o(e){let n=e instanceof Error?e.stack??e.message:String(e);t(`boot-failed`,n||`Unknown dashboard boot error.`);let r=document.querySelector(`fased-app`);if(!r)return;r.innerHTML=``;let i=document.createElement(`style`);i.textContent=`
|
|
3
3
|
body {
|
|
4
4
|
margin: 0;
|
|
@@ -57,5 +57,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./app-Bf5WlHKE.js","./
|
|
|
57
57
|
font-weight: 650;
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
}
|
|
60
|
-
`;let a=document.createElement(`div`);a.className=`boot-page`;let o=document.createElement(`section`);o.className=`boot-card`;let s=document.createElement(`h1`);s.className=`boot-title`,s.textContent=`Dashboard bundle could not load`;let c=document.createElement(`p`);c.className=`boot-desc`,c.textContent=`The gateway page loaded, but the browser could not start the dashboard bundle. Reload first. If it keeps happening after an update, clear this site's browser data and sign in again.`;let l=document.createElement(`div`);l.className=`boot-error`,l.textContent=n||`Unknown dashboard boot error.`;let u=document.createElement(`button`);u.className=`boot-button`,u.textContent=`Reload`,u.addEventListener(`click`,()=>window.location.reload()),o.append(s,c,l,u),a.append(o),r.append(i,a)}t(`entry-loaded`),t(`app-import-start`),a(()=>import(`./app-
|
|
61
|
-
//# sourceMappingURL=index-
|
|
60
|
+
`;let a=document.createElement(`div`);a.className=`boot-page`;let o=document.createElement(`section`);o.className=`boot-card`;let s=document.createElement(`h1`);s.className=`boot-title`,s.textContent=`Dashboard bundle could not load`;let c=document.createElement(`p`);c.className=`boot-desc`,c.textContent=`The gateway page loaded, but the browser could not start the dashboard bundle. Reload first. If it keeps happening after an update, clear this site's browser data and sign in again.`;let l=document.createElement(`div`);l.className=`boot-error`,l.textContent=n||`Unknown dashboard boot error.`;let u=document.createElement(`button`);u.className=`boot-button`,u.textContent=`Reload`,u.addEventListener(`click`,()=>window.location.reload()),o.append(s,c,l,u),a.append(o),r.append(i,a)}t(`entry-loaded`),t(`app-import-start`),a(()=>import(`./app-WIDYwhr-.js`).then(()=>t(`app-imported`)),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).catch(o);export{t as n,a as t};
|
|
61
|
+
//# sourceMappingURL=index-K3ysLeTN.js.map
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
|
|
15
15
|
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png" />
|
|
16
16
|
<script data-fased-boot-watchdog src="./boot-watchdog.js" defer></script>
|
|
17
|
-
<script type="module" crossorigin src="./assets/index-
|
|
17
|
+
<script type="module" crossorigin src="./assets/index-K3ysLeTN.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="./assets/index-RwVraC3c.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as createMediaAttachmentCache, Jt as resolveMediaAttachmentLocalRoots, Kt as normalizeMediaAttachments, Wt as buildProviderRegistry, Xt as isAudioAttachment, Yt as runCapability } from "./config-schema-
|
|
1
|
+
import { Gt as createMediaAttachmentCache, Jt as resolveMediaAttachmentLocalRoots, Kt as normalizeMediaAttachments, Wt as buildProviderRegistry, Xt as isAudioAttachment, Yt as runCapability } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import "./runtime-Dnzwux3G.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { Y as ChannelMessageActionContext, n as ChannelPlugin, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-
|
|
4
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-BJdDoTQF.js";
|
|
4
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D3WPVg_j.js";
|
|
5
5
|
export { type ChannelMessageActionContext, type ChannelPlugin, DEFAULT_ACCOUNT_ID, type FasedAgentPluginApi, PAIRING_APPROVED_MESSAGE, type PluginRuntime, applyAccountNameToChannelSection, buildChannelConfigSchema, deleteAccountFromConfigSection, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, migrateBaseNameToDefaultAccount, normalizeAccountId, setAccountEnabledInConfigSection };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Lt as buildCommandsMessage, Rt as buildCommandsMessagePaginated, zt as buildHelpMessage } from "./config-schema-
|
|
1
|
+
import { Lt as buildCommandsMessage, Rt as buildCommandsMessagePaginated, zt as buildHelpMessage } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import "./runtime-Dnzwux3G.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -9642,7 +9642,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
9642
9642
|
function createDefaultDeps() {
|
|
9643
9643
|
return {
|
|
9644
9644
|
sendMessageWhatsApp: async (...args) => {
|
|
9645
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
9645
|
+
const { sendMessageWhatsApp } = await import("./web-r1KFR44s.js");
|
|
9646
9646
|
return await sendMessageWhatsApp(...args);
|
|
9647
9647
|
},
|
|
9648
9648
|
sendMessageTelegram: async (...args) => {
|
|
@@ -74024,7 +74024,7 @@ const signalMessageActions = {
|
|
|
74024
74024
|
//#region src/channels/plugins/actions/telegram.ts
|
|
74025
74025
|
const providerId = "telegram";
|
|
74026
74026
|
async function loadTelegramActionHandler() {
|
|
74027
|
-
const { handleTelegramAction } = await import("./telegram-actions-
|
|
74027
|
+
const { handleTelegramAction } = await import("./telegram-actions-BGy4AEvF.js");
|
|
74028
74028
|
return handleTelegramAction;
|
|
74029
74029
|
}
|
|
74030
74030
|
function readTelegramSendParams(params) {
|
|
@@ -76505,7 +76505,7 @@ function buildPairingReply(params) {
|
|
|
76505
76505
|
|
|
76506
76506
|
//#endregion
|
|
76507
76507
|
//#region src/brand.ts
|
|
76508
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
76508
|
+
const FASED_PRODUCT_VERSION = "0.1.53";
|
|
76509
76509
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
76510
76510
|
|
|
76511
76511
|
//#endregion
|
|
@@ -80416,7 +80416,7 @@ const sendPollDiscordLazy = async (...args) => {
|
|
|
80416
80416
|
return sendPollDiscord(...args);
|
|
80417
80417
|
};
|
|
80418
80418
|
const monitorDiscordProviderLazy = async (...args) => {
|
|
80419
|
-
const { monitorDiscordProvider } = await import("./monitor-
|
|
80419
|
+
const { monitorDiscordProvider } = await import("./monitor-D-APtCpn.js");
|
|
80420
80420
|
return monitorDiscordProvider(...args);
|
|
80421
80421
|
};
|
|
80422
80422
|
const listSlackDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -80444,7 +80444,7 @@ const sendMessageSlackLazy = async (...args) => {
|
|
|
80444
80444
|
return sendMessageSlack(...args);
|
|
80445
80445
|
};
|
|
80446
80446
|
const monitorSlackProviderLazy = async (...args) => {
|
|
80447
|
-
const { monitorSlackProvider } = await import("./slack-
|
|
80447
|
+
const { monitorSlackProvider } = await import("./slack-74qForpW.js");
|
|
80448
80448
|
return monitorSlackProvider(...args);
|
|
80449
80449
|
};
|
|
80450
80450
|
const handleSlackActionLazy = async (...args) => {
|
|
@@ -80464,7 +80464,7 @@ const sendPollTelegramLazy = async (...args) => {
|
|
|
80464
80464
|
return sendPollTelegram(...args);
|
|
80465
80465
|
};
|
|
80466
80466
|
const monitorTelegramProviderLazy = async (...args) => {
|
|
80467
|
-
const { monitorTelegramProvider } = await import("./monitor-
|
|
80467
|
+
const { monitorTelegramProvider } = await import("./monitor-CEtMJuFX.js");
|
|
80468
80468
|
return monitorTelegramProvider(...args);
|
|
80469
80469
|
};
|
|
80470
80470
|
let webOutboundPromise = null;
|
|
@@ -80485,7 +80485,7 @@ function loadWebLoginQr() {
|
|
|
80485
80485
|
return webLoginQrPromise;
|
|
80486
80486
|
}
|
|
80487
80487
|
function loadWebChannel() {
|
|
80488
|
-
webChannelPromise ??= import("./web-
|
|
80488
|
+
webChannelPromise ??= import("./web-r1KFR44s.js");
|
|
80489
80489
|
return webChannelPromise;
|
|
80490
80490
|
}
|
|
80491
80491
|
function loadWhatsAppActions() {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as FasedAgentPluginApi } from "./types-
|
|
1
|
+
import { _ as FasedAgentPluginApi } from "./types-BJdDoTQF.js";
|
|
2
2
|
import { a as listDevicePairing, i as approveDevicePairing, n as resolveTailnetHostWithRunner, r as resolveGatewayBindUrl, t as runPluginCommandWithTimeout } from "./run-command-i_W6EFb1.js";
|
|
3
3
|
export { type FasedAgentPluginApi, approveDevicePairing, listDevicePairing, resolveGatewayBindUrl, resolveTailnetHostWithRunner, runPluginCommandWithTimeout };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { At as FasedAgentConfig, F as ChannelAccountSnapshot, J as ChannelMessageActionAdapter, an as DiscordAccountConfig, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, Zt as collectDiscordAuditChannelIds, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
4
|
-
import { D as normalizeE164 } from "./types-
|
|
5
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, Zt as collectDiscordAuditChannelIds, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BJdDoTQF.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-DlKIHIqA.js";
|
|
5
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D3WPVg_j.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, i as resolveDiscordGroupToolPolicy, r as resolveDiscordGroupRequireMention } from "./group-mentions-DLOOve8d.js";
|
|
7
7
|
import { t as DiscordConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
|
|
8
8
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as ChatType } from "./chat-type-CK5stkc4.js";
|
|
2
2
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId, t as resolveThreadSessionKeys } from "./session-key--_1zVBRB.js";
|
|
3
3
|
import { $ as ChannelPollContext, $t as MSTeamsTeamConfig, A as ChannelSecurityAdapter, An as GetReplyOptions, At as FasedAgentConfig, B as ChannelCapabilities, C as ChannelLogoutResult, Cn as DmPolicy, Ct as RuntimeEnv, D as ChannelResolveKind, Dn as MarkdownTableMode, Dt as resolveIMessageAccount, E as ChannelPairingAdapter, En as MarkdownConfig, Et as resolveDefaultIMessageAccountId, F as ChannelAccountSnapshot, G as ChannelId, H as ChannelDirectoryEntryKind, I as ChannelAccountState, J as ChannelMessageActionAdapter, K as ChannelLogSink, M as ChannelStatusAdapter, Mn as CHANNEL_MESSAGE_ACTION_NAMES, N as BaseProbeResult, Nt as ModelProviderConfig, O as ChannelResolveResult, P as BaseTokenResolution, Q as ChannelOutboundTargetMode, Qt as MSTeamsReplyStyle, R as ChannelAgentTool, S as ChannelLogoutContext, Sn as BlockStreamingCoalesceConfig, T as ChannelOutboundContext, Tt as listIMessageAccountIds, U as ChannelGroupContext, V as ChannelDirectoryEntry, W as ChannelHeartbeatDeps, X as ChannelMessagingAdapter, Xt as MSTeamsChannelConfig, Y as ChannelMessageActionContext, Yt as SignalAccountConfig, Z as ChannelMeta, Zt as MSTeamsConfig, _ as ChannelGatewayContext, a as PromptAccountId, at as ChannelStreamingAdapter, b as ChannelLoginWithQrStartResult, bn as GroupToolPolicyConfig, cn as ChunkMode, ct as ChannelThreadingToolContext, d as ChannelAuthAdapter, dt as OutboundDeliveryResult, en as GoogleChatAccountConfig, et as ChannelPollResult, f as ChannelCommandAdapter, g as ChannelGatewayAdapter, h as ChannelElevatedAdapter, i as ChannelOnboardingDmPolicy, in as GoogleChatGroupConfig, it as ChannelStatusIssue, j as ChannelSetupAdapter, jn as ReplyPayload, k as ChannelResolverAdapter, kn as SafeBinProfileFixture, lt as ChannelToolSend, m as ChannelDirectoryAdapter, n as ChannelPlugin, nn as GoogleChatConfig, nt as ChannelSecurityDmPolicy, o as WizardPrompter, on as DmConfig, ot as ChannelThreadingAdapter, p as ChannelConfigAdapter, q as ChannelMentionAdapter, r as ChannelOnboardingAdapter, rn as GoogleChatDmConfig, rt as ChannelSetupInput, s as loadConfig, st as ChannelThreadingContext, t as ChannelConfigSchema, tn as GoogleChatActionConfig, tt as ChannelSecurityContext, u as ChannelMessageActionName, ut as getChatChannelMeta, v as ChannelGroupAdapter, vn as PollInput, w as ChannelOutboundAdapter, wn as GroupPolicy, wt as ResolvedIMessageAccount, x as ChannelLoginWithQrWaitResult, y as ChannelHeartbeatAdapter, yn as GroupToolPolicyBySenderConfig, z as ChannelAgentToolFactory } from "./types.plugin-CvUiB3Kh.js";
|
|
4
|
-
import { $ as RealtimeVoiceBridge, $t as extensionForMime, A as ProviderPlugin, At as LineAccountConfig, B as GeneratedVideoAsset, Bt as resolveDefaultGroupPolicy, C as ProviderAuthContext, Cn as readStringParam, Ct as ImageGenerationSourceImage, D as ProviderCatalogContext, Dn as SessionEntry, Dt as normalizeAccountId$1, E as ProviderAuthResult, En as SessionAcpMeta, Et as listLineAccountIds, F as RealtimeTranscriptionProviderPlugin, Ft as formatLocationText, G as VideoGenerationProviderCapabilities, H as VideoGenerationMode, Ht as warnMissingProviderGroupPolicyFallbackOnce, I as RealtimeVoiceProviderPlugin, It as toLocationContext, J as VideoGenerationResolution, K as VideoGenerationProviderConfiguredContext, L as VideoGenerationProviderPlugin, M as ProviderPluginWizard, Mt as LineConfig, N as ProviderPluginWizardModelPicker, Nt as ResolvedLineAccount, O as ProviderCatalogOrder, On as SessionSystemPromptReport, Ot as resolveDefaultLineAccountId, P as ProviderPluginWizardSetup, Pt as NormalizedLocation, Qt as detectMime, Rt as GROUP_POLICY_BLOCKED_LABEL, S as PluginLogger, Sn as readReactionParams, St as ImageGenerationResult, T as ProviderAuthMethod, Tn as SessionAcpIdentity, Tt as ChannelDock, U as VideoGenerationModeCapabilities, V as VideoGenerationIgnoredOverride, Vt as resolveOpenProviderRuntimeGroupPolicy, W as VideoGenerationProvider, X as VideoGenerationSourceAsset, Y as VideoGenerationResult, Z as VideoGenerationTransformCapabilities, _ as FasedAgentPluginApi, _n as createTypingCallbacks, _t as GeneratedImageAsset, a as PluginRuntimeSessionGetParams, an as resolveControlCommandGate, at as RealtimeVoiceProviderId, b as FasedAgentPluginServiceContext, bn as jsonResult, bt as ImageGenerationRequest, c as PluginRuntimeSessionListResult, cn as AckReactionScope, ct as RealtimeVoiceTool, d as PluginRuntimeAdminRpcAuditSink, dn as shouldAckReaction, dt as RealtimeTranscriptionProviderConfiguredContext, en as getFileExtension, et as RealtimeVoiceBridgeCallbacks, f as PluginRuntimeAdminRpcCallContext, fn as shouldAckReactionForWhatsApp, ft as RealtimeTranscriptionProviderId, g as PluginRegistry, gn as ResponsePrefixContext, gt as RealtimeTranscriptionSessionCreateRequest, h as PluginRuntimeAdminRpcInvoker, hn as resolveAckReaction, ht as RealtimeTranscriptionSessionCallbacks, i as PluginRuntimeSessionAuditSink, in as formatInboundFromLabel, it as RealtimeVoiceProviderConfiguredContext, j as ProviderPluginCatalog, jt as LineChannelData, k as ProviderCatalogResult, kt as resolveLineAccount, l as PluginRuntimeSessionStatus, ln as WhatsAppAckReactionMode, lt as RealtimeVoiceToolCallEvent, m as PluginRuntimeAdminRpcInvocation, mn as RoutePeerKind, mt as RealtimeTranscriptionSession, n as RuntimeLogger, nn as loadWebMedia, nt as RealtimeVoiceCloseReason, o as PluginRuntimeSessionHelpers, on as resolveToolsBySender, ot as RealtimeVoiceProviderResolveConfigContext, p as PluginRuntimeAdminRpcHelpers, pn as extractOriginalFilename, pt as RealtimeTranscriptionProviderResolveConfigContext, q as VideoGenerationRequest, r as PluginRuntimeSessionAuditEvent, rn as recordInboundSession, rt as RealtimeVoiceProviderConfig, s as PluginRuntimeSessionListParams, sn as AckReactionGateParams, st as RealtimeVoiceRole, t as PluginRuntime, tn as WebMediaResult, tt as RealtimeVoiceBridgeCreateRequest, u as PluginRuntimeAdminRpcAuditEvent, un as removeAckReactionAfterReply, ut as RealtimeTranscriptionProviderConfig, v as FasedAgentPluginConfigSchema, vn as AnyAgentTool, vt as ImageGenerationProvider, w as ProviderAuthKind, wn as AcpSessionRuntimeOptions, wt as HookEntry, x as ImageGenerationProviderPlugin, xn as readNumberParam, xt as ImageGenerationResolution, y as FasedAgentPluginService, yn as createActionGate, yt as ImageGenerationProviderConfiguredContext, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
5
|
-
import { B as ExecTarget, D as normalizeE164, E as escapeRegExp, F as isBlockedHostname, I as isBlockedHostnameOrIp, L as isPrivateIpAddress, M as LookupFn, N as SsrFBlockedError, O as safeParseJson, P as SsrFPolicy, R as ExecAsk, T as clamp, _ as PushTestParams, a as GatewayClient, c as GatewayRequestHandlerOptions, d as GatewayStartupTraceSnapshot, f as ModelCatalogEntry, g as ErrorShape, h as CommandsListResult, k as sleep, l as GatewayRequestHandlers, o as GatewayRequestContext, p as ModelFeature, s as GatewayRequestHandler, u as RespondFn, z as ExecSecurity } from "./types-
|
|
4
|
+
import { $ as RealtimeVoiceBridge, $t as extensionForMime, A as ProviderPlugin, At as LineAccountConfig, B as GeneratedVideoAsset, Bt as resolveDefaultGroupPolicy, C as ProviderAuthContext, Cn as readStringParam, Ct as ImageGenerationSourceImage, D as ProviderCatalogContext, Dn as SessionEntry, Dt as normalizeAccountId$1, E as ProviderAuthResult, En as SessionAcpMeta, Et as listLineAccountIds, F as RealtimeTranscriptionProviderPlugin, Ft as formatLocationText, G as VideoGenerationProviderCapabilities, H as VideoGenerationMode, Ht as warnMissingProviderGroupPolicyFallbackOnce, I as RealtimeVoiceProviderPlugin, It as toLocationContext, J as VideoGenerationResolution, K as VideoGenerationProviderConfiguredContext, L as VideoGenerationProviderPlugin, M as ProviderPluginWizard, Mt as LineConfig, N as ProviderPluginWizardModelPicker, Nt as ResolvedLineAccount, O as ProviderCatalogOrder, On as SessionSystemPromptReport, Ot as resolveDefaultLineAccountId, P as ProviderPluginWizardSetup, Pt as NormalizedLocation, Qt as detectMime, Rt as GROUP_POLICY_BLOCKED_LABEL, S as PluginLogger, Sn as readReactionParams, St as ImageGenerationResult, T as ProviderAuthMethod, Tn as SessionAcpIdentity, Tt as ChannelDock, U as VideoGenerationModeCapabilities, V as VideoGenerationIgnoredOverride, Vt as resolveOpenProviderRuntimeGroupPolicy, W as VideoGenerationProvider, X as VideoGenerationSourceAsset, Y as VideoGenerationResult, Z as VideoGenerationTransformCapabilities, _ as FasedAgentPluginApi, _n as createTypingCallbacks, _t as GeneratedImageAsset, a as PluginRuntimeSessionGetParams, an as resolveControlCommandGate, at as RealtimeVoiceProviderId, b as FasedAgentPluginServiceContext, bn as jsonResult, bt as ImageGenerationRequest, c as PluginRuntimeSessionListResult, cn as AckReactionScope, ct as RealtimeVoiceTool, d as PluginRuntimeAdminRpcAuditSink, dn as shouldAckReaction, dt as RealtimeTranscriptionProviderConfiguredContext, en as getFileExtension, et as RealtimeVoiceBridgeCallbacks, f as PluginRuntimeAdminRpcCallContext, fn as shouldAckReactionForWhatsApp, ft as RealtimeTranscriptionProviderId, g as PluginRegistry, gn as ResponsePrefixContext, gt as RealtimeTranscriptionSessionCreateRequest, h as PluginRuntimeAdminRpcInvoker, hn as resolveAckReaction, ht as RealtimeTranscriptionSessionCallbacks, i as PluginRuntimeSessionAuditSink, in as formatInboundFromLabel, it as RealtimeVoiceProviderConfiguredContext, j as ProviderPluginCatalog, jt as LineChannelData, k as ProviderCatalogResult, kt as resolveLineAccount, l as PluginRuntimeSessionStatus, ln as WhatsAppAckReactionMode, lt as RealtimeVoiceToolCallEvent, m as PluginRuntimeAdminRpcInvocation, mn as RoutePeerKind, mt as RealtimeTranscriptionSession, n as RuntimeLogger, nn as loadWebMedia, nt as RealtimeVoiceCloseReason, o as PluginRuntimeSessionHelpers, on as resolveToolsBySender, ot as RealtimeVoiceProviderResolveConfigContext, p as PluginRuntimeAdminRpcHelpers, pn as extractOriginalFilename, pt as RealtimeTranscriptionProviderResolveConfigContext, q as VideoGenerationRequest, r as PluginRuntimeSessionAuditEvent, rn as recordInboundSession, rt as RealtimeVoiceProviderConfig, s as PluginRuntimeSessionListParams, sn as AckReactionGateParams, st as RealtimeVoiceRole, t as PluginRuntime, tn as WebMediaResult, tt as RealtimeVoiceBridgeCreateRequest, u as PluginRuntimeAdminRpcAuditEvent, un as removeAckReactionAfterReply, ut as RealtimeTranscriptionProviderConfig, v as FasedAgentPluginConfigSchema, vn as AnyAgentTool, vt as ImageGenerationProvider, w as ProviderAuthKind, wn as AcpSessionRuntimeOptions, wt as HookEntry, x as ImageGenerationProviderPlugin, xn as readNumberParam, xt as ImageGenerationResolution, y as FasedAgentPluginService, yn as createActionGate, yt as ImageGenerationProviderConfiguredContext, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BJdDoTQF.js";
|
|
5
|
+
import { B as ExecTarget, D as normalizeE164, E as escapeRegExp, F as isBlockedHostname, I as isBlockedHostnameOrIp, L as isPrivateIpAddress, M as LookupFn, N as SsrFBlockedError, O as safeParseJson, P as SsrFPolicy, R as ExecAsk, T as clamp, _ as PushTestParams, a as GatewayClient, c as GatewayRequestHandlerOptions, d as GatewayStartupTraceSnapshot, f as ModelCatalogEntry, g as ErrorShape, h as CommandsListResult, k as sleep, l as GatewayRequestHandlers, o as GatewayRequestContext, p as ModelFeature, s as GatewayRequestHandler, u as RespondFn, z as ExecSecurity } from "./types-DlKIHIqA.js";
|
|
6
6
|
import { a as VerboseLevel, i as ThinkLevel, n as SkillSnapshot, r as ReasoningLevel } from "./types-CBCtqtMn.js";
|
|
7
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
7
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D3WPVg_j.js";
|
|
8
8
|
import { a as listDevicePairing, i as approveDevicePairing, n as resolveTailnetHostWithRunner, o as rejectDevicePairing, r as resolveGatewayBindUrl, t as runPluginCommandWithTimeout } from "./run-command-i_W6EFb1.js";
|
|
9
9
|
import { _ as buildTokenChannelStatusSummary, a as resolveGoogleChatGroupRequireMention, c as resolveIMessageGroupToolPolicy, g as buildBaseChannelStatusSummary, h as buildBaseAccountStatusSnapshot, n as resolveBlueBubblesGroupToolPolicy, o as resolveGoogleChatGroupToolPolicy, s as resolveIMessageGroupRequireMention, t as resolveBlueBubblesGroupRequireMention, v as collectStatusIssuesFromLastError, y as createDefaultChannelRuntimeState } from "./group-mentions-DLOOve8d.js";
|
|
10
10
|
import { a as SignalConfigSchema, i as MSTeamsConfigSchema, n as GoogleChatConfigSchema, r as IMessageConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
|
|
11
|
-
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
11
|
+
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-BrbXGSkl.js";
|
|
12
12
|
import { ImageContent } from "@mariozechner/pi-ai";
|
|
13
13
|
import { AgentMessage } from "@mariozechner/pi-agent-core";
|
|
14
14
|
import * as _sinclair_typebox0 from "@sinclair/typebox";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, $n as createInfoCard, $r as extractDashscopeVideoUrls, Ar as resolveSenderCommandAuthorization, B as normalizeAccountId$1, Bn as resolveChannelMediaMaxBytes, Br as getRealtimeVoiceProvider, C as resolveEffectiveToolInventory, Cn as unregisterAcpRuntimeBackend, Cr as sendMediaWithLeadingCaption, D as runEmbeddedPiAgent, Dr as buildAgentMediaPayload, E as ACPX_PUSH_TEST_WRAPPER_ID, Er as fetchWithBearerAuthScopeFallback, F as issuePairingChallenge, Fn as isRequestBodyLimitError, Fr as resolveEffectiveAllowFromLists, G as logTypingFailure, Gr as listRealtimeTranscriptionProviders, H as resolveLineAccount, Hn as startFederationAutoConnect, Hr as normalizeRealtimeVoiceProviderId, I as createTypingCallbacks, In as readJsonBodyWithLimit, Jn as processLineMessage, Jr as DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, Kr as normalizeRealtimeTranscriptionProviderId, L as resolveMentionGating, Ln as readRequestBodyWithLimit, Lr as resolveControlCommandGate, Mn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Mr as readStoreAllowFromForDmPolicy, Nn as RequestBodyLimitError, Nr as resolveDmGroupAccessWithCommandGate, Or as chunkTextForOutbound, Pn as installRequestBodyLimitGuard, Pr as resolveDmGroupAccessWithLists, Q as clearHistoryEntries, Qn as createImageCard, Qr as downloadDashscopeGeneratedVideos, R as resolveMentionGatingWithBypass, Rn as requestBodyErrorToText, Rr as evaluateSenderGroupAccess, S as getPublicGatewayIdentity, Sn as registerAcpRuntimeBackend, Sr as resolveOutboundMediaUrls, T as ACPX_PUSH_TEST_METHOD, Tr as createScopedPairingAccess, U as logAckFailure, Ur as canonicalizeRealtimeTranscriptionProviderId, V as resolveDefaultLineAccountId, Vn as runFederationAutoConnectOnce, Vr as listRealtimeVoiceProviders, W as logInboundDrop, Wr as getRealtimeTranscriptionProvider, Xn as createReceiptCard, Xr as buildDashscopeVideoGenerationInput, Y as DEFAULT_GROUP_HISTORY_LIMIT, Yn as stripMarkdown, Yr as DEFAULT_VIDEO_RESOLUTION_TO_SIZE, Z as buildPendingHistoryContextFromMap, Zn as createActionCard, Zr as buildDashscopeVideoGenerationParameters, _ as getGatewayUpdateStatus, _r as buildHostnameAllowlistPolicyFromSuffixAllowlist, a as normalizeIMessageMessagingTarget, ai as BLUEBUBBLES_ACTIONS, ar as createPersistentDedupe, at as shouldAckReaction, b as getStatusSummary, br as createNormalizedOutboundDeliverer, ci as CHANNEL_MESSAGE_ACTION_NAMES, cn as stringEnum, cr as registerWebhookTarget, d as mergeAllowlist, dr as resolveSingleWebhookTargetAsync, ei as pollDashscopeVideoTaskUntilComplete, er as createListCard, et as evictOldHistoryKeys, fr as resolveWebhookTargets, g as buildCommandsListResult, gr as withTempDownloadPath, h as getAcpStatusSnapshot, hr as extractToolSend, i as looksLikeIMessageTargetId, ii as resolveAllowlistMatchSimple, ir as createLoggerBackedRuntime, it as removeAckReactionAfterReply, jn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, jr as DM_GROUP_ACCESS_REASON, kr as resolveChannelAccountConfigBasePath, lr as rejectNonPostWebhookRequest, m as pushHandlers, mr as resolveWebhookPath, n as collectBlueBubblesStatusIssues, ni as registerPluginHttpRoute, nt as recordPendingHistoryEntryIfEnabled, o as imessageOnboardingAdapter, oi as BLUEBUBBLES_ACTION_NAMES, or as createDedupeCache, ot as shouldAckReactionForWhatsApp, p as summarizeMapping, pr as normalizeWebhookPath, pt as formatInboundFromLabel, qn as hasMarkdownToConvert, qr as DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, r as signalOnboardingAdapter, ri as formatAllowlistMatchMeta, rr as waitForAbortSignal, rt as recordInboundSession, s as buildMediaPayload, si as BLUEBUBBLES_GROUP_ACTIONS, sn as optionalStringEnum, t as LineConfigSchema, ti as resolveVideoGenerationReferenceUrls, tt as recordPendingHistoryEntry, ur as resolveSingleWebhookTarget, v as buildModelCatalogStatus, vr as isHttpsUrlAllowedByHostnameSuffixAllowlist, w as executeAcpxPushTestRequest, wn as AcpRuntimeError, wr as buildOauthProviderAuthResult, x as isDangerousNameMatchingEnabled, xr as formatTextWithAttachmentLinks, y as loadGatewayModelCatalog, yr as normalizeHostnameSuffixAllowlist, z as listLineAccountIds, zr as canonicalizeRealtimeVoiceProviderId } from "./config-schema-
|
|
1
|
+
import { $ as clearHistoryEntriesIfEnabled, $n as createInfoCard, $r as extractDashscopeVideoUrls, Ar as resolveSenderCommandAuthorization, B as normalizeAccountId$1, Bn as resolveChannelMediaMaxBytes, Br as getRealtimeVoiceProvider, C as resolveEffectiveToolInventory, Cn as unregisterAcpRuntimeBackend, Cr as sendMediaWithLeadingCaption, D as runEmbeddedPiAgent, Dr as buildAgentMediaPayload, E as ACPX_PUSH_TEST_WRAPPER_ID, Er as fetchWithBearerAuthScopeFallback, F as issuePairingChallenge, Fn as isRequestBodyLimitError, Fr as resolveEffectiveAllowFromLists, G as logTypingFailure, Gr as listRealtimeTranscriptionProviders, H as resolveLineAccount, Hn as startFederationAutoConnect, Hr as normalizeRealtimeVoiceProviderId, I as createTypingCallbacks, In as readJsonBodyWithLimit, Jn as processLineMessage, Jr as DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, Kr as normalizeRealtimeTranscriptionProviderId, L as resolveMentionGating, Ln as readRequestBodyWithLimit, Lr as resolveControlCommandGate, Mn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Mr as readStoreAllowFromForDmPolicy, Nn as RequestBodyLimitError, Nr as resolveDmGroupAccessWithCommandGate, Or as chunkTextForOutbound, Pn as installRequestBodyLimitGuard, Pr as resolveDmGroupAccessWithLists, Q as clearHistoryEntries, Qn as createImageCard, Qr as downloadDashscopeGeneratedVideos, R as resolveMentionGatingWithBypass, Rn as requestBodyErrorToText, Rr as evaluateSenderGroupAccess, S as getPublicGatewayIdentity, Sn as registerAcpRuntimeBackend, Sr as resolveOutboundMediaUrls, T as ACPX_PUSH_TEST_METHOD, Tr as createScopedPairingAccess, U as logAckFailure, Ur as canonicalizeRealtimeTranscriptionProviderId, V as resolveDefaultLineAccountId, Vn as runFederationAutoConnectOnce, Vr as listRealtimeVoiceProviders, W as logInboundDrop, Wr as getRealtimeTranscriptionProvider, Xn as createReceiptCard, Xr as buildDashscopeVideoGenerationInput, Y as DEFAULT_GROUP_HISTORY_LIMIT, Yn as stripMarkdown, Yr as DEFAULT_VIDEO_RESOLUTION_TO_SIZE, Z as buildPendingHistoryContextFromMap, Zn as createActionCard, Zr as buildDashscopeVideoGenerationParameters, _ as getGatewayUpdateStatus, _r as buildHostnameAllowlistPolicyFromSuffixAllowlist, a as normalizeIMessageMessagingTarget, ai as BLUEBUBBLES_ACTIONS, ar as createPersistentDedupe, at as shouldAckReaction, b as getStatusSummary, br as createNormalizedOutboundDeliverer, ci as CHANNEL_MESSAGE_ACTION_NAMES, cn as stringEnum, cr as registerWebhookTarget, d as mergeAllowlist, dr as resolveSingleWebhookTargetAsync, ei as pollDashscopeVideoTaskUntilComplete, er as createListCard, et as evictOldHistoryKeys, fr as resolveWebhookTargets, g as buildCommandsListResult, gr as withTempDownloadPath, h as getAcpStatusSnapshot, hr as extractToolSend, i as looksLikeIMessageTargetId, ii as resolveAllowlistMatchSimple, ir as createLoggerBackedRuntime, it as removeAckReactionAfterReply, jn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, jr as DM_GROUP_ACCESS_REASON, kr as resolveChannelAccountConfigBasePath, lr as rejectNonPostWebhookRequest, m as pushHandlers, mr as resolveWebhookPath, n as collectBlueBubblesStatusIssues, ni as registerPluginHttpRoute, nt as recordPendingHistoryEntryIfEnabled, o as imessageOnboardingAdapter, oi as BLUEBUBBLES_ACTION_NAMES, or as createDedupeCache, ot as shouldAckReactionForWhatsApp, p as summarizeMapping, pr as normalizeWebhookPath, pt as formatInboundFromLabel, qn as hasMarkdownToConvert, qr as DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, r as signalOnboardingAdapter, ri as formatAllowlistMatchMeta, rr as waitForAbortSignal, rt as recordInboundSession, s as buildMediaPayload, si as BLUEBUBBLES_GROUP_ACTIONS, sn as optionalStringEnum, t as LineConfigSchema, ti as resolveVideoGenerationReferenceUrls, tt as recordPendingHistoryEntry, ur as resolveSingleWebhookTarget, v as buildModelCatalogStatus, vr as isHttpsUrlAllowedByHostnameSuffixAllowlist, w as executeAcpxPushTestRequest, wn as AcpRuntimeError, wr as buildOauthProviderAuthResult, x as isDangerousNameMatchingEnabled, xr as formatTextWithAttachmentLinks, y as loadGatewayModelCatalog, yr as normalizeHostnameSuffixAllowlist, z as listLineAccountIds, zr as canonicalizeRealtimeVoiceProviderId } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { Bt as resolveBlueBubblesGroupRequireMention, Gt as resolveGoogleChatGroupToolPolicy, Kt as resolveIMessageGroupRequireMention, Nn as getChatChannelMeta, Rt as looksLikeSignalTargetId, Vt as resolveBlueBubblesGroupToolPolicy, Wt as resolveGoogleChatGroupRequireMention, Xn as normalizePluginHttpPath, dn as resolveDefaultSignalAccountId, fn as resolveSignalAccount, hn as resolveIMessageAccount, mn as resolveDefaultIMessageAccountId, pn as listIMessageAccountIds, qt as resolveIMessageGroupToolPolicy, un as listSignalAccountIds, yn as resolveToolsBySender, zt as normalizeSignalMessagingTarget } from "./runtime-Dnzwux3G.js";
|
|
3
3
|
import { n as stripAnsi } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { g as registerLogTransport, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, Bt as formatDurationPrecise, Ct as buildProviderKeyboard, Dt as buildCommandsPaginationKeyboard, Et as parseModelCallbackData, G as logTypingFailure, Ht as enqueueSystemEvent, I as createTypingCallbacks, In as readJsonBodyWithLimit, Ir as resolveCommandAuthorizedFromAuthorizers, J as sleepWithAbort, K as buildPairingReply, Lr as resolveControlCommandGate, M as findModelInCatalog, N as loadModelCatalog, P as modelSupportsVision, R as resolveMentionGatingWithBypass, Rt as buildCommandsMessagePaginated, St as buildModelsKeyboard, Tt as getModelsPageSize, U as logAckFailure, Ut as resolveChannelConfigWrites, W as logInboundDrop, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, Zt as registerUnhandledRejectionHandler, _n as stripReasoningTagsFromText, at as shouldAckReaction, bt as buildModelsProviderData, dn as isAbortRequestText, dt as resolveInboundDebounceMs, fn as buildMentionRegexes, ft as formatInboundEnvelope, gn as formatReasoningMessage, it as removeAckReactionAfterReply, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nr as resolveTelegramInlineButtonsScope, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, pn as matchesMentionWithExplicit, q as computeBackoff, rr as waitForAbortSignal, rt as recordInboundSession, st as dispatchReplyWithBufferedBlockDispatcher, ut as createInboundDebouncer, vn as findCodeRegions, wt as calculateTotalPages, xt as formatModelsAvailableHeader, yn as isInsideCode, yt as resolveStoredModelOverride } from "./config-schema-
|
|
1
|
+
import { $ as clearHistoryEntriesIfEnabled, Bt as formatDurationPrecise, Ct as buildProviderKeyboard, Dt as buildCommandsPaginationKeyboard, Et as parseModelCallbackData, G as logTypingFailure, Ht as enqueueSystemEvent, I as createTypingCallbacks, In as readJsonBodyWithLimit, Ir as resolveCommandAuthorizedFromAuthorizers, J as sleepWithAbort, K as buildPairingReply, Lr as resolveControlCommandGate, M as findModelInCatalog, N as loadModelCatalog, P as modelSupportsVision, R as resolveMentionGatingWithBypass, Rt as buildCommandsMessagePaginated, St as buildModelsKeyboard, Tt as getModelsPageSize, U as logAckFailure, Ut as resolveChannelConfigWrites, W as logInboundDrop, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, Zt as registerUnhandledRejectionHandler, _n as stripReasoningTagsFromText, at as shouldAckReaction, bt as buildModelsProviderData, dn as isAbortRequestText, dt as resolveInboundDebounceMs, fn as buildMentionRegexes, ft as formatInboundEnvelope, gn as formatReasoningMessage, it as removeAckReactionAfterReply, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nr as resolveTelegramInlineButtonsScope, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, pn as matchesMentionWithExplicit, q as computeBackoff, rr as waitForAbortSignal, rt as recordInboundSession, st as dispatchReplyWithBufferedBlockDispatcher, ut as createInboundDebouncer, vn as findCodeRegions, wt as calculateTotalPages, xt as formatModelsAvailableHeader, yn as isInsideCode, yt as resolveStoredModelOverride } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { C as recordSessionMetaFromInbound, Gn as getPluginCommandSpecs, S as readSessionUpdatedAt, Wn as executePluginCommand, _n as resolveChannelGroupRequireMention, gn as resolveChannelGroupPolicy, in as resolveTelegramAccount, qn as matchPluginCommand, x as loadSessionStore } from "./runtime-Dnzwux3G.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";
|
|
@@ -64,7 +64,7 @@ import "./shared-clhhbWN3.js";
|
|
|
64
64
|
import "./retry-policy-C5N8JiHL.js";
|
|
65
65
|
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-DcsYRH2f.js";
|
|
66
66
|
import { t as makeProxyFetch } from "./proxy-7xs_rsnV.js";
|
|
67
|
-
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-
|
|
67
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-CrYayLff.js";
|
|
68
68
|
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-D4Tb_iS_.js";
|
|
69
69
|
import path from "node:path";
|
|
70
70
|
import os from "node:os";
|
|
@@ -2048,7 +2048,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2048
2048
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2049
2049
|
let preflightTranscript;
|
|
2050
2050
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2051
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2051
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BrVWUkoP.js");
|
|
2052
2052
|
preflightTranscript = await transcribeFirstAudio({
|
|
2053
2053
|
ctx: {
|
|
2054
2054
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, G as logTypingFailure, Gn as textToSpeech, Gt as createMediaAttachmentCache, Ht as enqueueSystemEvent, I as createTypingCallbacks, Ir as resolveCommandAuthorizedFromAuthorizers, K as buildPairingReply, Kn as parseTtsDirectives, Kt as normalizeMediaAttachments, Lr as resolveControlCommandGate, Mr as readStoreAllowFromForDmPolicy, Pr as resolveDmGroupAccessWithLists, R as resolveMentionGatingWithBypass, U as logAckFailure, Un as resolveAgentAvatar, Vt as formatDurationSeconds, W as logInboundDrop, Wn as resolveTtsConfig, Wt as buildProviderRegistry, Yt as runCapability, Z as buildPendingHistoryContextFromMap, _n as stripReasoningTagsFromText, _t as EmbeddedBlockChunker, at as shouldAckReaction, bt as buildModelsProviderData, c as addAllowlistUserEntriesFromConfigEntry, ct as dispatchReplyWithDispatcher, dt as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as buildMentionRegexes, ft as formatInboundEnvelope, gt as createReplyDispatcherWithTyping, ht as dispatchInboundMessage, j as agentCommand, l as buildAllowlistResolutionSummary, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, p as summarizeMapping, pn as matchesMentionWithExplicit, ri as formatAllowlistMatchMeta, rt as recordInboundSession, s as buildMediaPayload, st as dispatchReplyWithBufferedBlockDispatcher, u as canonicalizeAllowlistWithResolvedIds, ut as createInboundDebouncer, x as isDangerousNameMatchingEnabled, yt as resolveStoredModelOverride } from "./config-schema-
|
|
1
|
+
import { $ as clearHistoryEntriesIfEnabled, G as logTypingFailure, Gn as textToSpeech, Gt as createMediaAttachmentCache, Ht as enqueueSystemEvent, I as createTypingCallbacks, Ir as resolveCommandAuthorizedFromAuthorizers, K as buildPairingReply, Kn as parseTtsDirectives, Kt as normalizeMediaAttachments, Lr as resolveControlCommandGate, Mr as readStoreAllowFromForDmPolicy, Pr as resolveDmGroupAccessWithLists, R as resolveMentionGatingWithBypass, U as logAckFailure, Un as resolveAgentAvatar, Vt as formatDurationSeconds, W as logInboundDrop, Wn as resolveTtsConfig, Wt as buildProviderRegistry, Yt as runCapability, Z as buildPendingHistoryContextFromMap, _n as stripReasoningTagsFromText, _t as EmbeddedBlockChunker, at as shouldAckReaction, bt as buildModelsProviderData, c as addAllowlistUserEntriesFromConfigEntry, ct as dispatchReplyWithDispatcher, dt as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as buildMentionRegexes, ft as formatInboundEnvelope, gt as createReplyDispatcherWithTyping, ht as dispatchInboundMessage, j as agentCommand, l as buildAllowlistResolutionSummary, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, p as summarizeMapping, pn as matchesMentionWithExplicit, ri as formatAllowlistMatchMeta, rt as recordInboundSession, s as buildMediaPayload, st as dispatchReplyWithBufferedBlockDispatcher, u as canonicalizeAllowlistWithResolvedIds, ut as createInboundDebouncer, x as isDangerousNameMatchingEnabled, yt as resolveStoredModelOverride } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { Dn as normalizeMessageChannel, Dt as getChannelDock, Mn as GATEWAY_CLIENT_NAMES, S as readSessionUpdatedAt, jn as GATEWAY_CLIENT_MODES, x as loadSessionStore } from "./runtime-Dnzwux3G.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";
|
|
@@ -70,7 +70,7 @@ import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnS
|
|
|
70
70
|
import { a as setPresence, n as registerGateway, r as unregisterGateway } from "./gateway-registry-DFsoY6C0.js";
|
|
71
71
|
import { t as createReplyReferencePlanner } from "./reply-reference-BkbK_DWT.js";
|
|
72
72
|
import { i as createStatusReactionController, r as DEFAULT_TIMING, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-D4Tb_iS_.js";
|
|
73
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
73
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-BLRCltGL.js";
|
|
74
74
|
import { t as fetchDiscordApplicationId } from "./probe-Dlk0Jxpw.js";
|
|
75
75
|
import { t as DiscordUiContainer } from "./ui-e020ouhJ.js";
|
|
76
76
|
import "./guilds-BeT3iHHJ.js";
|
|
@@ -1401,7 +1401,7 @@ async function preflightDiscordMessage(params) {
|
|
|
1401
1401
|
let preflightTranscript;
|
|
1402
1402
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
1403
1403
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
1404
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
1404
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BrVWUkoP.js");
|
|
1405
1405
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
1406
1406
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
1407
1407
|
ctx: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as DEFAULT_INPUT_IMAGE_MIMES, A as resolveAssistantStreamDeltaText, An as writeDone, Dn as resolveSessionKey, En as resolveAgentIdForRequest, O as handleGatewayPostJsonEndpoint, On as sendJson, Qt as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tn as createDefaultDeps, an as resolveInputFileLimits, bn as emitAgentEvent, en as DEFAULT_INPUT_MAX_REDIRECTS, in as normalizeMimeList, j as agentCommand, k as buildAgentMessageFromConversationEntries, kn as setSseHeaders, nn as extractFileContentFromSource, rn as extractImageContentFromSource, tn as DEFAULT_INPUT_TIMEOUT_MS, xn as onAgentEvent } from "./config-schema-
|
|
1
|
+
import { $t as DEFAULT_INPUT_IMAGE_MIMES, A as resolveAssistantStreamDeltaText, An as writeDone, Dn as resolveSessionKey, En as resolveAgentIdForRequest, O as handleGatewayPostJsonEndpoint, On as sendJson, Qt as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tn as createDefaultDeps, an as resolveInputFileLimits, bn as emitAgentEvent, en as DEFAULT_INPUT_MAX_REDIRECTS, in as normalizeMimeList, j as agentCommand, k as buildAgentMessageFromConversationEntries, kn as setSseHeaders, nn as extractFileContentFromSource, rn as extractImageContentFromSource, tn as DEFAULT_INPUT_TIMEOUT_MS, xn as onAgentEvent } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import "./runtime-Dnzwux3G.js";
|
|
3
3
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, t as ChannelConfigSchema } from "./types.plugin-CvUiB3Kh.js";
|
|
2
|
-
import { v as FasedAgentPluginConfigSchema } from "./types-
|
|
2
|
+
import { v as FasedAgentPluginConfigSchema } from "./types-BJdDoTQF.js";
|
|
3
3
|
import { ZodTypeAny } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/config-schema.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig } from "./types.plugin-CvUiB3Kh.js";
|
|
2
|
-
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-
|
|
2
|
+
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-BJdDoTQF.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin-sdk/provider-web-search-config-contract.d.ts
|
|
5
5
|
type WebSearchCredentialResolutionSource = "config" | "env" | "none";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, Bt as WalletRuntimeKind, Ht as WalletToolAccessMode, It as WalletAuthMode, Lt as WalletChain, Rt as WalletExecutionMode, Vt as WalletRuntimeMode, _n as GatewayClientName, gn as GatewayClientMode, s as loadConfig, zt as WalletProviderId } from "./types.plugin-CvUiB3Kh.js";
|
|
2
|
-
import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-
|
|
3
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
2
|
+
import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-DlKIHIqA.js";
|
|
3
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-BrbXGSkl.js";
|
|
4
4
|
import { Api, Model } from "@mariozechner/pi-ai";
|
|
5
5
|
import { AuthStorage, ModelRegistry } from "@mariozechner/pi-coding-agent";
|
|
6
6
|
import * as _sinclair_typebox0 from "@sinclair/typebox";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, At as allowListMatches, F as issuePairingChallenge, Ft as resolveSlackUserAllowed, G as logTypingFailure, Ht as enqueueSystemEvent, I as createTypingCallbacks, Ir as resolveCommandAuthorizedFromAuthorizers, Lr as resolveControlCommandGate, Mr as readStoreAllowFromForDmPolicy, Mt as normalizeAllowListLower, Nt as normalizeSlackSlug, Pn as installRequestBodyLimitGuard, Pt as resolveSlackAllowListMatch, R as resolveMentionGatingWithBypass, U as logAckFailure, Ut as resolveChannelConfigWrites, W as logInboundDrop, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, at as shouldAckReaction, c as addAllowlistUserEntriesFromConfigEntry, d as mergeAllowlist, dt as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as buildMentionRegexes, ft as formatInboundEnvelope, gt as createReplyDispatcherWithTyping, ht as dispatchInboundMessage, it as removeAckReactionAfterReply, jt as normalizeAllowList, l as buildAllowlistResolutionSummary, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, p as summarizeMapping, pn as matchesMentionWithExplicit, ri as formatAllowlistMatchMeta, rt as recordInboundSession, sr as pruneMapToMaxSize, ut as createInboundDebouncer, x as isDangerousNameMatchingEnabled } from "./config-schema-
|
|
1
|
+
import { $ as clearHistoryEntriesIfEnabled, At as allowListMatches, F as issuePairingChallenge, Ft as resolveSlackUserAllowed, G as logTypingFailure, Ht as enqueueSystemEvent, I as createTypingCallbacks, Ir as resolveCommandAuthorizedFromAuthorizers, Lr as resolveControlCommandGate, Mr as readStoreAllowFromForDmPolicy, Mt as normalizeAllowListLower, Nt as normalizeSlackSlug, Pn as installRequestBodyLimitGuard, Pt as resolveSlackAllowListMatch, R as resolveMentionGatingWithBypass, U as logAckFailure, Ut as resolveChannelConfigWrites, W as logInboundDrop, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, at as shouldAckReaction, c as addAllowlistUserEntriesFromConfigEntry, d as mergeAllowlist, dt as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as buildMentionRegexes, ft as formatInboundEnvelope, gt as createReplyDispatcherWithTyping, ht as dispatchInboundMessage, it as removeAckReactionAfterReply, jt as normalizeAllowList, l as buildAllowlistResolutionSummary, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, p as summarizeMapping, pn as matchesMentionWithExplicit, ri as formatAllowlistMatchMeta, rt as recordInboundSession, sr as pruneMapToMaxSize, ut as createInboundDebouncer, x as isDangerousNameMatchingEnabled } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { K as resolveSessionKey, S as readSessionUpdatedAt, w as updateLastRoute } from "./runtime-Dnzwux3G.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";
|
|
@@ -65,7 +65,7 @@ import "./shared-clhhbWN3.js";
|
|
|
65
65
|
import { t as sendMessageSlack } from "./send-DGEgo_6f.js";
|
|
66
66
|
import { r as resolveSlackWebClientOptions } from "./client-D2N7hqVu.js";
|
|
67
67
|
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-7_zTh8zC.js";
|
|
68
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
68
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-BLRCltGL.js";
|
|
69
69
|
import { t as createDraftStreamLoop } from "./draft-stream-loop-CKyHn8IX.js";
|
|
70
70
|
import { t as resolveSlackChannelAllowlist } from "./resolve-channels-zEnvugag.js";
|
|
71
71
|
import { t as resolveSlackUserAllowlist } from "./resolve-users-BTvjQuui.js";
|
|
@@ -3244,7 +3244,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
3244
3244
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
3245
3245
|
import("./resolve-route-UO6XLYH3.js").then((n) => n.r),
|
|
3246
3246
|
import("./inbound-context-BFnIdcqI.js").then((n) => n.n),
|
|
3247
|
-
import("./config-schema-
|
|
3247
|
+
import("./config-schema-DV0zctd2.js").then((n) => n.lt)
|
|
3248
3248
|
]);
|
|
3249
3249
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
|
|
3250
3250
|
import("./conversation-label-BoVqak2R.js").then((n) => n.t),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { At as FasedAgentConfig, J as ChannelMessageActionAdapter, Y as ChannelMessageActionContext, ct as ChannelThreadingToolContext, lt as ChannelToolSend, n as ChannelPlugin, qt as SlackAccountConfig, r as ChannelOnboardingAdapter, st as ChannelThreadingContext, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
4
|
-
import { D as normalizeE164 } from "./types-
|
|
5
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BJdDoTQF.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-DlKIHIqA.js";
|
|
5
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D3WPVg_j.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, l as resolveSlackGroupRequireMention, u as resolveSlackGroupToolPolicy } from "./group-mentions-DLOOve8d.js";
|
|
7
7
|
import { o as SlackConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
|
|
8
8
|
import { AgentToolResult } from "@mariozechner/pi-agent-core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as findModelInCatalog, N as loadModelCatalog, P as modelSupportsVision, qt as resolveAutoImageModel } from "./config-schema-
|
|
1
|
+
import { M as findModelInCatalog, N as loadModelCatalog, P as modelSupportsVision, qt as resolveAutoImageModel } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { i as logVerbose } from "./globals-B_jjtAje.js";
|
|
3
3
|
import { t as STATE_DIR } from "./paths-BEmvSyOV.js";
|
|
4
4
|
import { Yt as resolveDefaultModelForAgent, cn as resolveApiKeyForProvider } from "./config-442EDe7Z.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("./config-schema-
|
|
150
|
+
const { describeImageWithModel } = await import("./config-schema-DV0zctd2.js").then((n) => n.on);
|
|
151
151
|
return (await describeImageWithModel({
|
|
152
152
|
buffer,
|
|
153
153
|
fileName: "sticker.webp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nr as resolveTelegramInlineButtonsScope, tr as resolveTelegramReactionLevel } from "./config-schema-
|
|
1
|
+
import { nr as resolveTelegramInlineButtonsScope, tr as resolveTelegramReactionLevel } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { an as resolveTelegramToken, en as createTelegramActionGate } from "./runtime-Dnzwux3G.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -62,7 +62,7 @@ import "./shared-clhhbWN3.js";
|
|
|
62
62
|
import "./retry-policy-C5N8JiHL.js";
|
|
63
63
|
import { a as reactMessageTelegram, i as editMessageTelegram, n as createForumTopicTelegram, o as sendMessageTelegram, r as deleteMessageTelegram, s as sendStickerTelegram } from "./send-DcsYRH2f.js";
|
|
64
64
|
import "./proxy-7xs_rsnV.js";
|
|
65
|
-
import { a as searchStickers, r as getCacheStats } from "./sticker-cache-
|
|
65
|
+
import { a as searchStickers, r as getCacheStats } from "./sticker-cache-CrYayLff.js";
|
|
66
66
|
|
|
67
67
|
//#region src/agents/tools/telegram-actions.ts
|
|
68
68
|
const TELEGRAM_BUTTON_STYLES = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { At as FasedAgentConfig, F as ChannelAccountSnapshot, Gt as TelegramAccountConfig, J as ChannelMessageActionAdapter, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Lt as TelegramProbe, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
4
|
-
import { D as normalizeE164 } from "./types-
|
|
5
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Lt as TelegramProbe, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BJdDoTQF.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-DlKIHIqA.js";
|
|
5
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D3WPVg_j.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, d as resolveTelegramGroupRequireMention, f as resolveTelegramGroupToolPolicy } from "./group-mentions-DLOOve8d.js";
|
|
7
7
|
import { s as TelegramConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, l as AgentDefaultsConfig } from "./types.plugin-CvUiB3Kh.js";
|
|
2
|
-
import { M as LookupFn, P as SsrFPolicy } from "./types-
|
|
2
|
+
import { M as LookupFn, P as SsrFPolicy } from "./types-DlKIHIqA.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/agent-scope.d.ts
|
|
5
5
|
type AgentEntry = NonNullable<NonNullable<FasedAgentConfig["agents"]>["list"]>[number];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as ChatType } from "./chat-type-CK5stkc4.js";
|
|
2
2
|
import { An as GetReplyOptions, At as FasedAgentConfig, B as ChannelCapabilities, Ct as RuntimeEnv, Dn as MarkdownTableMode, E as ChannelPairingAdapter, F as ChannelAccountSnapshot, G as ChannelId, J as ChannelMessageActionAdapter, Jt as SlackSlashCommandConfig, Kt as TelegramGroupConfig, L as ChannelAgentPromptAdapter, N as BaseProbeResult, Nt as ModelProviderConfig, On as ReplyToMode, Ot as sendMessageDiscord, P as BaseTokenResolution, R as ChannelAgentTool, St as sendMessageIMessage, Tn as HumanDelayConfig, V as ChannelDirectoryEntry, _t as sendPollWhatsApp, bn as GroupToolPolicyConfig, bt as sendMessageSlack, c as writeConfigFile, dn as chunkMarkdownTextWithMode, f as ChannelCommandAdapter, fn as chunkText, ft as FinalizedMsgContext, gt as sendMessageWhatsApp, h as ChannelElevatedAdapter, hn as resolveTextChunkLimit, ht as ShouldHandleTextCommandsParams, jn as ReplyPayload, kt as sendPollDiscord, ln as chunkByNewline, mn as resolveChunkMode, mt as CommandNormalizeOptions, n as ChannelPlugin, o as WizardPrompter, ot as ChannelThreadingAdapter, p as ChannelConfigAdapter, pn as chunkTextWithMode, pt as MsgContext, q as ChannelMentionAdapter, s as loadConfig, sn as TtsAutoMode, un as chunkMarkdownText, v as ChannelGroupAdapter, vn as PollInput, vt as sendMessageTelegram, wn as GroupPolicy, xt as sendMessageSignal, yn as GroupToolPolicyBySenderConfig, yt as sendPollTelegram } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { C as readWebSelfId, H as resolveStateDir, M as LookupFn, P as SsrFPolicy, S as logoutWeb, _ as PushTestParams, a as GatewayClient, b as getWebAuthAgeMs, c as GatewayRequestHandlerOptions, i as OperatorScope, j as LogLevel, l as GatewayRequestHandlers, m as ChatInjectParams, n as AuthProfileStore, o as GatewayRequestContext, r as OAuthCredential, s as GatewayRequestHandler, t as AuthProfileCredential, v as WebLoginStartParams, w as webAuthExists, x as logWebSelfId, y as WebLoginWaitParams } from "./types-
|
|
3
|
+
import { C as readWebSelfId, H as resolveStateDir, M as LookupFn, P as SsrFPolicy, S as logoutWeb, _ as PushTestParams, a as GatewayClient, b as getWebAuthAgeMs, c as GatewayRequestHandlerOptions, i as OperatorScope, j as LogLevel, l as GatewayRequestHandlers, m as ChatInjectParams, n as AuthProfileStore, o as GatewayRequestContext, r as OAuthCredential, s as GatewayRequestHandler, t as AuthProfileCredential, v as WebLoginStartParams, w as webAuthExists, x as logWebSelfId, y as WebLoginWaitParams } from "./types-DlKIHIqA.js";
|
|
4
4
|
import { WebClient } from "@slack/web-api";
|
|
5
5
|
import { Skill } from "@mariozechner/pi-coding-agent";
|
|
6
6
|
import { AgentMessage, AgentTool, AgentToolResult } from "@mariozechner/pi-agent-core";
|
|
@@ -168,13 +168,13 @@ declare const ConnectParamsSchema: _sinclair_typebox0.TObject<{
|
|
|
168
168
|
minProtocol: _sinclair_typebox0.TInteger;
|
|
169
169
|
maxProtocol: _sinclair_typebox0.TInteger;
|
|
170
170
|
client: _sinclair_typebox0.TObject<{
|
|
171
|
-
id: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"
|
|
171
|
+
id: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"webchat" | "cli" | "webchat-ui" | "fased-control-ui" | "gateway-client" | "fased-macos" | "fased-ios" | "fased-android" | "node-host" | "test" | "fingerprint" | "fased-probe">[]>;
|
|
172
172
|
displayName: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
173
173
|
version: _sinclair_typebox0.TString;
|
|
174
174
|
platform: _sinclair_typebox0.TString;
|
|
175
175
|
deviceFamily: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
176
176
|
modelIdentifier: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
177
|
-
mode: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"ui" | "
|
|
177
|
+
mode: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"ui" | "webchat" | "cli" | "backend" | "node" | "probe" | "test">[]>;
|
|
178
178
|
instanceId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
179
179
|
}>;
|
|
180
180
|
caps: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
@@ -1407,7 +1407,7 @@ declare class CronService {
|
|
|
1407
1407
|
} | {
|
|
1408
1408
|
readonly ok: true;
|
|
1409
1409
|
readonly ran: false;
|
|
1410
|
-
readonly reason: "
|
|
1410
|
+
readonly reason: "queued" | "running";
|
|
1411
1411
|
readonly runId: string;
|
|
1412
1412
|
readonly detail: string | undefined;
|
|
1413
1413
|
} | {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as formatDurationPrecise, Ht as enqueueSystemEvent, J as sleepWithAbort, K as buildPairingReply, L as resolveMentionGating, Mr as readStoreAllowFromForDmPolicy, Nr as resolveDmGroupAccessWithCommandGate, Ot as normalizeGroupActivation, Pr as resolveDmGroupAccessWithLists, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, Zt as registerUnhandledRejectionHandler, dt as resolveInboundDebounceMs, fn as buildMentionRegexes, ft as formatInboundEnvelope, kt as parseActivationCommand, ln as hasControlCommand, mn as normalizeMentionText, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, ot as shouldAckReactionForWhatsApp, q as computeBackoff, st as dispatchReplyWithBufferedBlockDispatcher, un as shouldComputeCommandAuthorized, ut as createInboundDebouncer, vt as getReplyFromConfig } from "./config-schema-
|
|
1
|
+
import { Bt as formatDurationPrecise, Ht as enqueueSystemEvent, J as sleepWithAbort, K as buildPairingReply, L as resolveMentionGating, Mr as readStoreAllowFromForDmPolicy, Nr as resolveDmGroupAccessWithCommandGate, Ot as normalizeGroupActivation, Pr as resolveDmGroupAccessWithLists, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, Zt as registerUnhandledRejectionHandler, dt as resolveInboundDebounceMs, fn as buildMentionRegexes, ft as formatInboundEnvelope, kt as parseActivationCommand, ln as hasControlCommand, mn as normalizeMentionText, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, ot as shouldAckReactionForWhatsApp, q as computeBackoff, st as dispatchReplyWithBufferedBlockDispatcher, un as shouldComputeCommandAuthorized, ut as createInboundDebouncer, vt as getReplyFromConfig } from "./config-schema-DV0zctd2.js";
|
|
2
2
|
import { C as recordSessionMetaFromInbound, S as readSessionUpdatedAt, _n as resolveChannelGroupRequireMention, bn as resolveGroupSessionKey, gn as resolveChannelGroupPolicy, w as updateLastRoute, x as loadSessionStore } from "./runtime-Dnzwux3G.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { At as FasedAgentConfig, Cn as DmPolicy, F as ChannelAccountSnapshot, J as ChannelMessageActionAdapter, Wt as WhatsAppAccountConfig, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta, wn as GroupPolicy } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
4
|
-
import { D as normalizeE164 } from "./types-
|
|
5
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BJdDoTQF.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-DlKIHIqA.js";
|
|
5
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-D3WPVg_j.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, m as resolveWhatsAppGroupToolPolicy, p as resolveWhatsAppGroupRequireMention } from "./group-mentions-DLOOve8d.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|