@fased/fased 0.1.53 → 0.1.54
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/agents/current-model-catalog.js +27 -0
- package/dist/agents/model-catalog-source.js +4 -4
- package/dist/agents/model-forward-compat.js +19 -1
- package/dist/agents/model-metadata.js +13 -5
- package/dist/agents/pi-embedded-runner/agent-messages.js +15 -0
- package/dist/agents/pi-embedded-runner/compact.js +2 -1
- package/dist/agents/pi-embedded-runner/model.js +2 -7
- package/dist/agents/pi-embedded-runner/run/attempt.js +4 -5
- 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/program/register.agent.js +17 -0
- package/dist/commands/agents.commands.models.js +63 -0
- package/dist/commands/agents.js +1 -0
- package/dist/commands/models/list.registry.js +1 -1
- package/dist/commands/openai-codex-model-default.js +1 -1
- package/dist/config/defaults.js +1 -1
- package/dist/control-ui/assets/{app-WIDYwhr-.js → app-BKlu6OKz.js} +1792 -1760
- package/dist/control-ui/assets/chat-model-ref-B9sWop67.js +2 -0
- package/dist/control-ui/assets/{index-K3ysLeTN.js → index-nrFcGMv-.js} +3 -3
- package/dist/control-ui/assets/{providers-rQMhp1fb.js → providers-BQFrRqym.js} +2 -2
- package/dist/control-ui/index.html +1 -1
- package/dist/cron/isolated-agent/run.js +9 -3
- package/dist/cron/normalize.js +10 -0
- package/dist/gateway/protocol/schema/agents-models-skills.js +1 -0
- package/dist/gateway/protocol/schema/cron.js +7 -0
- package/dist/gateway/server-methods/models.js +1 -1
- package/dist/light-update-status.js +11 -11
- package/dist/plugin-sdk/{accounts-BZrfqJmO.js → accounts-DW9OS5Ll.js} +1 -1
- package/dist/plugin-sdk/{actions-7_zTh8zC.js → actions-DQUXohRr.js} +2 -2
- package/dist/plugin-sdk/{active-listener-D8NVRD8J.js → active-listener-BZQWZPF7.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BrVWUkoP.js → audio-preflight-t4mmHsI2.js} +26 -26
- package/dist/plugin-sdk/{audit-2iRlVyQF.js → audit-BZk_6Buw.js} +1 -1
- package/dist/plugin-sdk/{channel-access-BCf1rJsn.js → channel-access-CN5HiWdb.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-B-Z51Qsd.js → channel-access-configure-B7Kkvx9K.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/channel-plugin-common.js +4 -4
- package/dist/plugin-sdk/{chunk-BREC9ijl.js → chunk-B2ffJ-LR.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-BLRCltGL.js → chunk-items-jOdkyP53.js} +1 -1
- package/dist/plugin-sdk/command-status.js +26 -26
- package/dist/plugin-sdk/{commands-registry-D3-bFLsz.js → commands-registry-BWb4NcfW.js} +2 -2
- package/dist/plugin-sdk/{common-BlqMqEqn.js → common-C4XrB73N.js} +1 -1
- package/dist/plugin-sdk/{config-442EDe7Z.js → config-rySyVtKs.js} +48 -70
- package/dist/plugin-sdk/{config-schema-DV0zctd2.js → config-schema-BaybPPrJ.js} +96 -72
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +3 -3
- package/dist/plugin-sdk/discord.js +19 -19
- package/dist/plugin-sdk/{handle-action-pNaP87Dr.js → handle-action-CGF-Qnp0.js} +13 -13
- package/dist/plugin-sdk/{helpers-B994qqVW.js → helpers-DgRMfCnT.js} +1 -1
- package/dist/plugin-sdk/{image-ops-Doq8nZQw.js → image-ops-CcBfoMLW.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +4 -4
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/{login-CK2zTIJA.js → login-DpDQyM7r.js} +3 -3
- package/dist/plugin-sdk/{login-qr-u8Mn1mCp.js → login-qr-COaSAPY5.js} +3 -3
- package/dist/plugin-sdk/{manager-CeJNf2bH.js → manager-Cqz30lA3.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-DeZztrY6.js → markdown-tables-BOG5sSQQ.js} +1 -1
- package/dist/plugin-sdk/{media-CgUAEfhs.js → media-Bu-nJpPs.js} +2 -2
- package/dist/plugin-sdk/{monitor-D-APtCpn.js → monitor-DL6oEVo8.js} +31 -31
- package/dist/plugin-sdk/{monitor-CEtMJuFX.js → monitor-II_NIq3G.js} +30 -30
- package/dist/plugin-sdk/{openresponses-http-g1Iz0xB2.js → openresponses-http-vkHBBpGY.js} +26 -26
- package/dist/plugin-sdk/{optional-runtime-dependency-D0BdXz1C.js → optional-runtime-dependency-DEojVNfv.js} +1 -1
- package/dist/plugin-sdk/{outbound-attachment-oxhGO33g.js → outbound-attachment-ivAHpWnn.js} +2 -2
- package/dist/plugin-sdk/{outbound-DXGuFrdx.js → outbound-mf2y6KuY.js} +6 -6
- package/dist/plugin-sdk/{pairing-message-C29ixrvn.js → pairing-message-CqYG12t-.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-D3WPVg_j.d.ts → pairing-message-CvJ6Qa1Q.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-1kcsOWRs.js → pairing-store-D-21Sphe.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-l-xqaEd0.js → pi-model-discovery-B6gD1clF.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-CibV8F8G.js → pi-model-discovery-runtime-3yDxS3ro.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-9qEBW5-k.js → pw-ai-CMplwiwf.js} +3 -3
- package/dist/plugin-sdk/{replies-BX3L8fX7.js → replies-wiI4veI7.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-D0AK10E7.js → resolve-outbound-target-bm9RUK5q.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-UO6XLYH3.js → resolve-route-ekGNc6os.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-C5N8JiHL.js → retry-policy-BvlC2SPh.js} +1 -1
- package/dist/plugin-sdk/{runtime-Dnzwux3G.js → runtime-ClSakPxR.js} +3 -3
- package/dist/plugin-sdk/{runtime-dependency-BDDpVKBO.js → runtime-dependency-yAWxH4El.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +5 -5
- package/dist/plugin-sdk/{send-DcsYRH2f.js → send-C7x6gzSl.js} +7 -7
- package/dist/plugin-sdk/{send-bcKv8F5E.js → send-CgyS75Av.js} +8 -8
- package/dist/plugin-sdk/{send-DGEgo_6f.js → send-D264hFVb.js} +5 -5
- package/dist/plugin-sdk/{send-D5rgCP1r.js → send-D58yEeH4.js} +6 -6
- package/dist/plugin-sdk/{send-B4XLsTL0.js → send-DrAtUGLM.js} +6 -6
- package/dist/plugin-sdk/{session-BoGNOlwv.js → session-DyMtb5YQ.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-Be8s4TGQ.js → skill-commands-Q80wCyry.js} +2 -2
- package/dist/plugin-sdk/{slack-74qForpW.js → slack-C-I6q3NB.js} +38 -38
- package/dist/plugin-sdk/{slack-actions-TNnAXiUx.js → slack-actions-dGE_t_Un.js} +11 -11
- package/dist/plugin-sdk/slack.d.ts +3 -3
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-CrYayLff.js → sticker-cache-DCrDTYIi.js} +3 -3
- package/dist/plugin-sdk/{tables-Ch4js2qy.js → tables-0mhUOh5v.js} +1 -1
- package/dist/plugin-sdk/{targets-BGfRUJPE.js → targets-znKHngSk.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-BGy4AEvF.js → telegram-actions-GBYY8-x9.js} +29 -29
- package/dist/plugin-sdk/telegram.d.ts +3 -3
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-_uQ2EF17.js → thread-bindings.lifecycle-ClzPBK70.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-DUg0s_1X.js → thread-bindings.state-Ha01nmrq.js} +2 -2
- package/dist/plugin-sdk/{tmp-fased-dir-BrbXGSkl.d.ts → tmp-fased-dir-C_xfeEN9.d.ts} +1 -1
- package/dist/plugin-sdk/{types-DlKIHIqA.d.ts → types-BI2njxWJ.d.ts} +2 -1
- package/dist/plugin-sdk/{types-BJdDoTQF.d.ts → types-DV5TNhMK.d.ts} +1 -1
- package/dist/plugin-sdk/{wallet-status-M6aK3abH.js → wallet-status-CyovJojz.js} +26 -11
- package/dist/plugin-sdk/{web-r1KFR44s.js → web-CJMfhGFY.js} +31 -31
- package/dist/plugin-sdk/{whatsapp-actions-CID_tqAX.js → whatsapp-actions-0ZbGo5ZV.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-Bk-aZVMa.js → whatsapp-heartbeat-DGTsuvQ8.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +3 -3
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-C_STtED7.js → wsl-D5jDUlms.js} +3 -3
- package/dist/providers/huggingface-models.js +0 -30
- package/dist/providers/opencode-zen-shared.js +0 -1
- package/dist/providers/refresh.js +4 -7
- package/dist/providers/registry.js +17 -3
- package/dist/providers/vercel-ai-gateway-models.js +0 -35
- package/dist/shared/model-thinking.js +3 -0
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/control-ui/assets/chat-model-ref-NT82zapt.js +0 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { An as GATEWAY_CLIENT_IDS, B as INPUT_PROVENANCE_KIND_VALUES, Bn as CLI_DEFAULT_OPERATOR_SCOPES, Hn as resolveLeastPrivilegeOperatorScopesForMethod, Mn as GATEWAY_CLIENT_NAMES, jn as GATEWAY_CLIENT_MODES } from "./runtime-
|
|
1
|
+
import { An as GATEWAY_CLIENT_IDS, B as INPUT_PROVENANCE_KIND_VALUES, Bn as CLI_DEFAULT_OPERATOR_SCOPES, Hn as resolveLeastPrivilegeOperatorScopesForMethod, Mn as GATEWAY_CLIENT_NAMES, jn as GATEWAY_CLIENT_MODES } from "./runtime-ClSakPxR.js";
|
|
2
2
|
import { i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir } from "./paths-BEmvSyOV.js";
|
|
3
3
|
import { _ as shortenHomeInString, a as ensureDir$1, h as resolveUserPath, t as CONFIG_DIR } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import {
|
|
4
|
+
import { $n as isOpenAISignInRuntimeModelSupported, Jn as assertSecretInputResolved, Kn as isPrivateNetworkBaseUrl, Kt as normalizeProviderId$1, Nn as resolveFasedAgentAgentDir, fn as cloneCurrentModelProvider, fr as VERSION, lr as DEFAULT_CONTEXT_TOKENS, n as loadConfig } from "./config-rySyVtKs.js";
|
|
5
5
|
import { l as resolveAgentIdFromSessionKey } from "./session-key-HSJ2KQTc.js";
|
|
6
6
|
import { n as logError, t as logDebug } from "./logger-BbFvCoKk.js";
|
|
7
7
|
import { n as redactSensitiveText } from "./redact-Bm8vu_ju.js";
|
|
8
8
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-dPvnFFsK.js";
|
|
9
9
|
import { a as normalizeDeviceAuthRole, n as clearDevicePairing, o as normalizeDeviceAuthScopes } from "./device-pairing-D2Yq-_U6.js";
|
|
10
|
-
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-
|
|
10
|
+
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-B6gD1clF.js";
|
|
11
11
|
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-CocpWGhl.js";
|
|
12
12
|
import { createRequire } from "node:module";
|
|
13
13
|
import path from "node:path";
|
|
@@ -159,6 +159,19 @@ function cloneFirstTemplateModel(params) {
|
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
+
function resolveCurrentOpenAIModel(provider, modelId) {
|
|
163
|
+
const normalizedProvider = normalizeProviderId$1(provider);
|
|
164
|
+
if (normalizedProvider !== "openai" && normalizedProvider !== "openai-codex") return;
|
|
165
|
+
const trimmedModelId = modelId.trim();
|
|
166
|
+
const current = cloneCurrentModelProvider(normalizedProvider)?.models?.find((entry) => entry.id.toLowerCase() === trimmedModelId.toLowerCase());
|
|
167
|
+
if (!current) return;
|
|
168
|
+
return normalizeModelCompat({
|
|
169
|
+
...current,
|
|
170
|
+
id: trimmedModelId,
|
|
171
|
+
provider: normalizedProvider,
|
|
172
|
+
baseUrl: normalizedProvider === "openai-codex" ? "https://chatgpt.com/backend-api" : "https://api.openai.com/v1"
|
|
173
|
+
});
|
|
174
|
+
}
|
|
162
175
|
function buildOpenAIResponsesPatch(params) {
|
|
163
176
|
return {
|
|
164
177
|
api: "openai-responses",
|
|
@@ -453,7 +466,7 @@ function resolveZaiGlm5ForwardCompatModel(provider, modelId, modelRegistry) {
|
|
|
453
466
|
});
|
|
454
467
|
}
|
|
455
468
|
function resolveForwardCompatModel(provider, modelId, modelRegistry) {
|
|
456
|
-
return resolveOpenAIGptForwardCompatModel(provider, modelId, modelRegistry) ?? resolveOpenAICodexForwardCompatModel(provider, modelId, modelRegistry) ?? resolveAnthropicOpus46ForwardCompatModel(provider, modelId, modelRegistry) ?? resolveAnthropicSonnet46ForwardCompatModel(provider, modelId, modelRegistry) ?? resolveZaiGlm5ForwardCompatModel(provider, modelId, modelRegistry) ?? resolveGoogleGeminiCli31ForwardCompatModel(provider, modelId, modelRegistry);
|
|
469
|
+
return resolveCurrentOpenAIModel(provider, modelId) ?? resolveOpenAIGptForwardCompatModel(provider, modelId, modelRegistry) ?? resolveOpenAICodexForwardCompatModel(provider, modelId, modelRegistry) ?? resolveAnthropicOpus46ForwardCompatModel(provider, modelId, modelRegistry) ?? resolveAnthropicSonnet46ForwardCompatModel(provider, modelId, modelRegistry) ?? resolveZaiGlm5ForwardCompatModel(provider, modelId, modelRegistry) ?? resolveGoogleGeminiCli31ForwardCompatModel(provider, modelId, modelRegistry);
|
|
457
470
|
}
|
|
458
471
|
|
|
459
472
|
//#endregion
|
|
@@ -567,12 +580,6 @@ function attachModelProviderRequestTransport(model, request) {
|
|
|
567
580
|
//#endregion
|
|
568
581
|
//#region src/agents/pi-embedded-runner/model.ts
|
|
569
582
|
const OPENAI_CODEX_PROVIDER_ID = "openai-codex";
|
|
570
|
-
const OPENAI_CODEX_SUPPORTED_MODEL_IDS = new Set([
|
|
571
|
-
"gpt-5.5",
|
|
572
|
-
"gpt-5.4",
|
|
573
|
-
"gpt-5.4-mini",
|
|
574
|
-
"gpt-5.3-codex"
|
|
575
|
-
]);
|
|
576
583
|
function buildInlineProviderModels(providers) {
|
|
577
584
|
return Object.entries(providers).flatMap(([providerId, entry]) => {
|
|
578
585
|
const trimmed = providerId.trim();
|
|
@@ -611,7 +618,7 @@ function resolveModel(provider, modelId, agentDir, cfg) {
|
|
|
611
618
|
const modelRegistry = discoverModels(authStorage, resolvedAgentDir);
|
|
612
619
|
const normalizedProvider = normalizeProviderId$1(provider);
|
|
613
620
|
const runtimeModelId = modelId.trim();
|
|
614
|
-
if (normalizedProvider === OPENAI_CODEX_PROVIDER_ID && !
|
|
621
|
+
if (normalizedProvider === OPENAI_CODEX_PROVIDER_ID && !isOpenAISignInRuntimeModelSupported(runtimeModelId)) return {
|
|
615
622
|
error: `Unsupported OpenAI-Codex sign-in model: ${runtimeModelId}`,
|
|
616
623
|
authStorage,
|
|
617
624
|
modelRegistry
|
|
@@ -1176,6 +1183,7 @@ const AgentsFilesSetResultSchema = Type.Object({
|
|
|
1176
1183
|
}, { additionalProperties: false });
|
|
1177
1184
|
const ModelsListParamsSchema = Type.Object({
|
|
1178
1185
|
all: Type.Optional(Type.Boolean()),
|
|
1186
|
+
available: Type.Optional(Type.Boolean()),
|
|
1179
1187
|
provider: Type.Optional(NonEmptyString),
|
|
1180
1188
|
sessionKey: Type.Optional(NonEmptyString),
|
|
1181
1189
|
includeMetadata: Type.Optional(Type.Boolean())
|
|
@@ -2592,6 +2600,13 @@ const CronTaskExecutionPolicySchema = Type.Object({
|
|
|
2592
2600
|
Type.Literal("auto"),
|
|
2593
2601
|
Type.Literal("none")
|
|
2594
2602
|
])),
|
|
2603
|
+
role: Type.Optional(Type.Union([
|
|
2604
|
+
Type.Literal("cheapCheck"),
|
|
2605
|
+
Type.Literal("strong"),
|
|
2606
|
+
Type.Literal("escalation"),
|
|
2607
|
+
Type.Literal("coding"),
|
|
2608
|
+
Type.Literal("summarizer")
|
|
2609
|
+
])),
|
|
2595
2610
|
model: Type.Optional(NonEmptyString),
|
|
2596
2611
|
thinking: Type.Optional(NonEmptyString),
|
|
2597
2612
|
escalationModel: Type.Optional(NonEmptyString)
|
|
@@ -1,17 +1,17 @@
|
|
|
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-
|
|
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-
|
|
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-BaybPPrJ.js";
|
|
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-ClSakPxR.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";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
6
6
|
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-CYk9EKoq.js";
|
|
7
|
-
import {
|
|
7
|
+
import { Or as formatCliCommand, n as loadConfig } from "./config-rySyVtKs.js";
|
|
8
8
|
import "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-HSJ2KQTc.js";
|
|
10
10
|
import "./accounts-RHZyaB73.js";
|
|
11
11
|
import "./accounts-CuqIKU8X.js";
|
|
12
12
|
import "./logger-BbFvCoKk.js";
|
|
13
13
|
import "./exec-DQ8j4Fm3.js";
|
|
14
|
-
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, i as resolveWhatsAppAccount, o as WA_WEB_AUTH_DIR, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
14
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, i as resolveWhatsAppAccount, o as WA_WEB_AUTH_DIR, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-DW9OS5Ll.js";
|
|
15
15
|
import "./allow-list-BYeKk0Sy.js";
|
|
16
16
|
import "./redact-Bm8vu_ju.js";
|
|
17
17
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -21,11 +21,11 @@ import "./ip-C70a-YlD.js";
|
|
|
21
21
|
import "./ssrf-BZG8Ztod.js";
|
|
22
22
|
import "./fetch-guard-BuYrl6q2.js";
|
|
23
23
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-dPvnFFsK.js";
|
|
24
|
-
import "./send-
|
|
25
|
-
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-
|
|
26
|
-
import { D as formatLocationText, O as toLocationContext } from "./wsl-
|
|
27
|
-
import { a as upsertChannelPairingRequest } from "./pairing-store-
|
|
28
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
24
|
+
import "./send-D58yEeH4.js";
|
|
25
|
+
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-DgRMfCnT.js";
|
|
26
|
+
import { D as formatLocationText, O as toLocationContext } from "./wsl-D5jDUlms.js";
|
|
27
|
+
import { a as upsertChannelPairingRequest } from "./pairing-store-D-21Sphe.js";
|
|
28
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-B2ffJ-LR.js";
|
|
29
29
|
import "./tailscale-status-ClsquRGs.js";
|
|
30
30
|
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-Bqzm6DC1.js";
|
|
31
31
|
import "./tokens-BvtlOzVP.js";
|
|
@@ -34,40 +34,40 @@ import "./pairing-token-N_6Jbt1L.js";
|
|
|
34
34
|
import "./diagnostic-Dfn1iERm.js";
|
|
35
35
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
36
36
|
import { t as redactIdentifier } from "./redact-identifier-Q3tkvxhm.js";
|
|
37
|
-
import "./optional-runtime-dependency-
|
|
38
|
-
import "./image-ops-
|
|
39
|
-
import "./wallet-status-
|
|
40
|
-
import "./pi-model-discovery-
|
|
41
|
-
import "./runtime-dependency-
|
|
37
|
+
import "./optional-runtime-dependency-DEojVNfv.js";
|
|
38
|
+
import "./image-ops-CcBfoMLW.js";
|
|
39
|
+
import "./wallet-status-CyovJojz.js";
|
|
40
|
+
import "./pi-model-discovery-B6gD1clF.js";
|
|
41
|
+
import "./runtime-dependency-yAWxH4El.js";
|
|
42
42
|
import "./ws-CocpWGhl.js";
|
|
43
43
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
44
44
|
import "./fs-safe-BG-VzVkL.js";
|
|
45
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
46
|
-
import { n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-
|
|
47
|
-
import "./send-
|
|
48
|
-
import { a as saveMediaBuffer } from "./outbound-attachment-
|
|
45
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BOG5sSQQ.js";
|
|
46
|
+
import { n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-Bu-nJpPs.js";
|
|
47
|
+
import "./send-DrAtUGLM.js";
|
|
48
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-ivAHpWnn.js";
|
|
49
49
|
import "./fetch-Cu-ahkie.js";
|
|
50
|
-
import "./thread-bindings.state-
|
|
50
|
+
import "./thread-bindings.state-Ha01nmrq.js";
|
|
51
51
|
import "./memory-search-C3C0bD2H.js";
|
|
52
|
-
import "./manager-
|
|
52
|
+
import "./manager-Cqz30lA3.js";
|
|
53
53
|
import "./query-expansion-Zr9qQixm.js";
|
|
54
|
-
import "./common-
|
|
55
|
-
import "./commands-registry-
|
|
56
|
-
import "./skill-commands-
|
|
54
|
+
import "./common-C4XrB73N.js";
|
|
55
|
+
import "./commands-registry-BWb4NcfW.js";
|
|
56
|
+
import "./skill-commands-Q80wCyry.js";
|
|
57
57
|
import { t as finalizeInboundContext } from "./inbound-context-BFnIdcqI.js";
|
|
58
58
|
import "./directory-live-DatqU-eS.js";
|
|
59
|
-
import "./targets-
|
|
59
|
+
import "./targets-znKHngSk.js";
|
|
60
60
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
61
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-ekGNc6os.js";
|
|
62
62
|
import "./render-Bwu_WxwA.js";
|
|
63
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
63
|
+
import { t as convertMarkdownTables } from "./tables-0mhUOh5v.js";
|
|
64
64
|
import { n as recordChannelActivity } from "./channel-activity-Cg1xRoc2.js";
|
|
65
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
65
|
+
import { r as setActiveWebListener } from "./active-listener-BZQWZPF7.js";
|
|
66
66
|
import "./shared-clhhbWN3.js";
|
|
67
|
-
import "./whatsapp-heartbeat-
|
|
68
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
69
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
70
|
-
import { t as loginWeb } from "./login-
|
|
67
|
+
import "./whatsapp-heartbeat-DGTsuvQ8.js";
|
|
68
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-mf2y6KuY.js";
|
|
69
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DyMtb5YQ.js";
|
|
70
|
+
import { t as loginWeb } from "./login-DpDQyM7r.js";
|
|
71
71
|
import { randomUUID } from "node:crypto";
|
|
72
72
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
73
73
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./runtime-
|
|
1
|
+
import "./runtime-ClSakPxR.js";
|
|
2
2
|
import "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import "./globals-B_jjtAje.js";
|
|
4
4
|
import "./paths-BEmvSyOV.js";
|
|
5
5
|
import "./utils-CYk9EKoq.js";
|
|
6
|
-
import "./config-
|
|
6
|
+
import "./config-rySyVtKs.js";
|
|
7
7
|
import "./agent-scope-BbgPlhtw.js";
|
|
8
8
|
import "./accounts-RHZyaB73.js";
|
|
9
9
|
import "./accounts-CuqIKU8X.js";
|
|
10
10
|
import "./logger-BbFvCoKk.js";
|
|
11
11
|
import "./exec-DQ8j4Fm3.js";
|
|
12
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
12
|
+
import { i as resolveWhatsAppAccount } from "./accounts-DW9OS5Ll.js";
|
|
13
13
|
import "./redact-Bm8vu_ju.js";
|
|
14
14
|
import "./github-copilot-token-CUK__1s1.js";
|
|
15
15
|
import "./retry-DstNBhDW.js";
|
|
@@ -17,19 +17,19 @@ import "./paths-CTZ2RS_E.js";
|
|
|
17
17
|
import "./ip-C70a-YlD.js";
|
|
18
18
|
import "./ssrf-BZG8Ztod.js";
|
|
19
19
|
import "./fetch-guard-BuYrl6q2.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./optional-runtime-dependency-
|
|
22
|
-
import "./image-ops-
|
|
20
|
+
import "./chunk-B2ffJ-LR.js";
|
|
21
|
+
import "./optional-runtime-dependency-DEojVNfv.js";
|
|
22
|
+
import "./image-ops-CcBfoMLW.js";
|
|
23
23
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
24
24
|
import "./fs-safe-BG-VzVkL.js";
|
|
25
|
-
import "./markdown-tables-
|
|
26
|
-
import "./media-
|
|
27
|
-
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, t as ToolAuthorizationError } from "./common-
|
|
25
|
+
import "./markdown-tables-BOG5sSQQ.js";
|
|
26
|
+
import "./media-Bu-nJpPs.js";
|
|
27
|
+
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, t as ToolAuthorizationError } from "./common-C4XrB73N.js";
|
|
28
28
|
import "./render-Bwu_WxwA.js";
|
|
29
|
-
import "./tables-
|
|
30
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
31
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
32
|
-
import "./session-
|
|
29
|
+
import "./tables-0mhUOh5v.js";
|
|
30
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-bm9RUK5q.js";
|
|
31
|
+
import { r as sendReactionWhatsApp } from "./outbound-mf2y6KuY.js";
|
|
32
|
+
import "./session-DyMtb5YQ.js";
|
|
33
33
|
|
|
34
34
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
35
35
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { x as loadSessionStore } from "./runtime-
|
|
1
|
+
import { x as loadSessionStore } from "./runtime-ClSakPxR.js";
|
|
2
2
|
import { f as normalizeChatChannelId } from "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import { d as normalizeE164 } from "./utils-CYk9EKoq.js";
|
|
4
4
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-HSJ2KQTc.js";
|
|
5
5
|
import { l as resolveStorePath } from "./paths-CTZ2RS_E.js";
|
|
6
|
-
import { r as readChannelAllowFromStoreSync } from "./pairing-store-
|
|
6
|
+
import { r as readChannelAllowFromStoreSync } from "./pairing-store-D-21Sphe.js";
|
|
7
7
|
|
|
8
8
|
//#region src/channels/plugins/whatsapp-heartbeat.ts
|
|
9
9
|
function getSessionRecipients(cfg) {
|
|
@@ -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-DV5TNhMK.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-BI2njxWJ.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-CvJ6Qa1Q.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
|
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { $t as resolveWhatsAppGroupToolPolicy, At as resolveWhatsAppMentionStripPatterns, Mt as normalizeWhatsAppAllowFromEntries, Nn as getChatChannelMeta, Nt as normalizeWhatsAppMessagingTarget, Qt as resolveWhatsAppGroupRequireMention, _t as listWhatsAppDirectoryPeersFromConfig, dt as listDiscordDirectoryPeersFromConfig, ft as listSlackDirectoryGroupsFromConfig, gt as listWhatsAppDirectoryGroupsFromConfig, ht as listTelegramDirectoryPeersFromConfig, jt as looksLikeWhatsAppTargetId, kt as resolveWhatsAppGroupIntroHint, mt as listTelegramDirectoryGroupsFromConfig, pt as listSlackDirectoryPeersFromConfig, ut as listDiscordDirectoryGroupsFromConfig } from "./runtime-
|
|
1
|
+
import { $t as resolveWhatsAppGroupToolPolicy, At as resolveWhatsAppMentionStripPatterns, Mt as normalizeWhatsAppAllowFromEntries, Nn as getChatChannelMeta, Nt as normalizeWhatsAppMessagingTarget, Qt as resolveWhatsAppGroupRequireMention, _t as listWhatsAppDirectoryPeersFromConfig, dt as listDiscordDirectoryPeersFromConfig, ft as listSlackDirectoryGroupsFromConfig, gt as listWhatsAppDirectoryGroupsFromConfig, ht as listTelegramDirectoryPeersFromConfig, jt as looksLikeWhatsAppTargetId, kt as resolveWhatsAppGroupIntroHint, mt as listTelegramDirectoryGroupsFromConfig, pt as listSlackDirectoryPeersFromConfig, ut as listDiscordDirectoryGroupsFromConfig } from "./runtime-ClSakPxR.js";
|
|
2
2
|
import "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import "./globals-B_jjtAje.js";
|
|
4
4
|
import "./paths-BEmvSyOV.js";
|
|
5
5
|
import { c as isRecord, d as normalizeE164, f as pathExists } from "./utils-CYk9EKoq.js";
|
|
6
|
-
import {
|
|
6
|
+
import { Or as formatCliCommand, l as WhatsAppConfigSchema } from "./config-rySyVtKs.js";
|
|
7
7
|
import "./agent-scope-BbgPlhtw.js";
|
|
8
8
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
9
9
|
import "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
13
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-DW9OS5Ll.js";
|
|
14
14
|
import "./redact-Bm8vu_ju.js";
|
|
15
15
|
import "./github-copilot-token-CUK__1s1.js";
|
|
16
16
|
import "./retry-DstNBhDW.js";
|
|
17
17
|
import "./paths-CTZ2RS_E.js";
|
|
18
|
-
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-
|
|
19
|
-
import { A as resolveDefaultGroupPolicy, D as formatDocsLink, g as resolveOnboardingAccountId, h as resolveAccountIdForConfigure, i as normalizeAllowFromEntries, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, w as buildTokenChannelStatusSummary, x as splitOnboardingEntries } from "./helpers-
|
|
20
|
-
import "./pairing-store-
|
|
21
|
-
import "./optional-runtime-dependency-
|
|
22
|
-
import "./image-ops-
|
|
23
|
-
import { d as readStringParam, n as createActionGate } from "./common-
|
|
18
|
+
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-CqYG12t-.js";
|
|
19
|
+
import { A as resolveDefaultGroupPolicy, D as formatDocsLink, g as resolveOnboardingAccountId, h as resolveAccountIdForConfigure, i as normalizeAllowFromEntries, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, w as buildTokenChannelStatusSummary, x as splitOnboardingEntries } from "./helpers-DgRMfCnT.js";
|
|
20
|
+
import "./pairing-store-D-21Sphe.js";
|
|
21
|
+
import "./optional-runtime-dependency-DEojVNfv.js";
|
|
22
|
+
import "./image-ops-CcBfoMLW.js";
|
|
23
|
+
import { d as readStringParam, n as createActionGate } from "./common-C4XrB73N.js";
|
|
24
24
|
import { n as asString, r as collectIssuesForEnabledAccounts } from "./shared-clhhbWN3.js";
|
|
25
25
|
import "./channel-core-BOkyXXLa.js";
|
|
26
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
27
|
-
import { t as resolveWhatsAppHeartbeatRecipients } from "./whatsapp-heartbeat-
|
|
26
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-bm9RUK5q.js";
|
|
27
|
+
import { t as resolveWhatsAppHeartbeatRecipients } from "./whatsapp-heartbeat-DGTsuvQ8.js";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
|
|
30
30
|
//#region src/config/merge-config.ts
|
|
@@ -293,7 +293,7 @@ const whatsappOnboardingAdapter = {
|
|
|
293
293
|
message: linked ? "WhatsApp already linked. Re-link now?" : "Link WhatsApp now (QR)?",
|
|
294
294
|
initialValue: !linked
|
|
295
295
|
})) try {
|
|
296
|
-
const { loginWeb } = await import("./login-
|
|
296
|
+
const { loginWeb } = await import("./login-DpDQyM7r.js").then((n) => n.n);
|
|
297
297
|
await loginWeb(false, void 0, runtime, accountId);
|
|
298
298
|
} catch (err) {
|
|
299
299
|
runtime.error(`WhatsApp login failed: ${String(err)}`);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
2
2
|
import { c as expandHomePrefix } from "./paths-BEmvSyOV.js";
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import { Ft as resolveTelegramPreviewStreamMode } from "./config-
|
|
4
|
+
import { Ft as resolveTelegramPreviewStreamMode } from "./config-rySyVtKs.js";
|
|
5
5
|
import { p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
6
|
-
import { n as readChannelAllowFromStore } from "./pairing-store-
|
|
7
|
-
import { h as normalizeMimeType, u as getFileExtension } from "./image-ops-
|
|
6
|
+
import { n as readChannelAllowFromStore } from "./pairing-store-D-21Sphe.js";
|
|
7
|
+
import { h as normalizeMimeType, u as getFileExtension } from "./image-ops-CcBfoMLW.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs, { readFileSync } from "node:fs";
|
|
10
10
|
import JSON5 from "json5";
|
|
@@ -294,21 +294,6 @@ const HUGGINGFACE_MODEL_CATALOG = [
|
|
|
294
294
|
},
|
|
295
295
|
capabilities: HUGGINGFACE_TOOL_JSON_CAPABILITY
|
|
296
296
|
},
|
|
297
|
-
{
|
|
298
|
-
id: "Qwen/Qwen3-Coder-Next-FP8",
|
|
299
|
-
name: "Qwen3 Coder Next FP8",
|
|
300
|
-
reasoning: false,
|
|
301
|
-
input: ["text"],
|
|
302
|
-
contextWindow: 262144,
|
|
303
|
-
maxTokens: 8192,
|
|
304
|
-
cost: {
|
|
305
|
-
input: .5,
|
|
306
|
-
output: 1.2,
|
|
307
|
-
cacheRead: 0,
|
|
308
|
-
cacheWrite: 0
|
|
309
|
-
},
|
|
310
|
-
capabilities: HUGGINGFACE_TOOL_JSON_CAPABILITY
|
|
311
|
-
},
|
|
312
297
|
{
|
|
313
298
|
id: "google/gemma-3n-E4B-it",
|
|
314
299
|
name: "Gemma 3N E4B Instruct",
|
|
@@ -324,21 +309,6 @@ const HUGGINGFACE_MODEL_CATALOG = [
|
|
|
324
309
|
},
|
|
325
310
|
capabilities: HUGGINGFACE_JSON_ONLY_CAPABILITY
|
|
326
311
|
},
|
|
327
|
-
{
|
|
328
|
-
id: "EssentialAI/rnj-1-instruct",
|
|
329
|
-
name: "Rnj-1 Instruct",
|
|
330
|
-
reasoning: false,
|
|
331
|
-
input: ["text"],
|
|
332
|
-
contextWindow: 32768,
|
|
333
|
-
maxTokens: 8192,
|
|
334
|
-
cost: {
|
|
335
|
-
input: .15,
|
|
336
|
-
output: .15,
|
|
337
|
-
cacheRead: 0,
|
|
338
|
-
cacheWrite: 0
|
|
339
|
-
},
|
|
340
|
-
capabilities: HUGGINGFACE_TOOL_JSON_CAPABILITY
|
|
341
|
-
},
|
|
342
312
|
{
|
|
343
313
|
id: "inclusionAI/Ling-2.6-1T",
|
|
344
314
|
name: "Ling 2.6 1T",
|
|
@@ -45,11 +45,8 @@ const OLLAMA_DEFAULT_BASE_URL = "http://127.0.0.1:11434";
|
|
|
45
45
|
const LMSTUDIO_DEFAULT_BASE_URL = "http://127.0.0.1:1234/v1";
|
|
46
46
|
const LITELLM_DEFAULT_BASE_URL = LITELLM_BASE_URL;
|
|
47
47
|
const OPENAI_CURRENT_API_MODEL_RE = /^gpt-5\.(?:[4-9]|\d{2,})(?:-(?:mini|nano|terra|luna))?$/;
|
|
48
|
-
const OPENAI_CURRENT_SIGN_IN_MODEL_RE = /^gpt-(?:5\.(?:[4-9]|\d{2,})(?:-mini)?|5\.3-codex-spark)$/;
|
|
48
|
+
const OPENAI_CURRENT_SIGN_IN_MODEL_RE = /^gpt-(?:5\.6-(?:sol|terra|luna)|5\.(?:[4-9]|\d{2,})(?:-mini)?|5\.3-codex-spark)$/;
|
|
49
49
|
const CHUTES_CURRENT_NORMAL_UI_MODEL_RE = /^(?:google\/gemma-4-[^/]+-TEE|Qwen\/Qwen3(?:\.\d+)?-[^/]+-TEE|deepseek-ai\/DeepSeek-V3\.2-TEE|zai-org\/GLM-5(?:\.\d+)?-TEE|moonshotai\/Kimi-K2\.6-TEE)$/;
|
|
50
|
-
const OPENROUTER_CURRENT_NORMAL_UI_MODEL_RE = /^(?:openrouter\/owl-alpha|openai\/gpt-(?:5\.6-(?:sol|terra|luna)|5\.5|5\.4(?:-(?:mini|nano))?)|anthropic\/claude-(?:fable-5|opus-4\.8|sonnet-5|haiku-4\.5)|google\/gemini-(?:3\.5-flash|3\.1-(?:pro-preview|flash-lite)|3-flash-preview)|x-ai\/(?:grok-4\.5|grok-4\.3|grok-build-0\.1)|mistralai\/(?:mistral-medium-3-5|mistral-small-2603|mistral-large-2512|devstral-2512)|qwen\/qwen3\.(?:7-(?:max|plus)|6-flash)|z-ai\/glm-5\.2|deepseek\/deepseek-v4-(?:pro|flash)|minimax\/minimax-m2\.7|moonshotai\/kimi-k2\.6)$/;
|
|
51
|
-
const VERCEL_AI_GATEWAY_CURRENT_NORMAL_UI_MODEL_RE = /^(?:openai\/gpt-(?:5\.5|5\.4(?:-(?:mini|nano))?)|anthropic\/claude-(?:fable-5|opus-4\.8|sonnet-5|haiku-4\.5)|google\/gemini-(?:3\.5-flash|3\.1-(?:pro-preview|flash-lite)|3-flash-preview)|xai\/(?:grok-4\.3|grok-build-0\.1)|mistral\/(?:mistral-medium-3\.5|mistral-small-2603|mistral-large-2512|devstral-2512)|minimax\/minimax-m2\.7(?:-highspeed)?|moonshotai\/kimi-k2\.6)$/;
|
|
52
|
-
const OPENCODE_ZEN_CURRENT_NORMAL_UI_MODEL_RE = /^(?:gpt-5\.(?:5|4(?:-(?:mini|nano))?|3-codex-spark)|claude-(?:fable-5|opus-4-8|sonnet-5|haiku-4-5)|gemini-(?:3\.5-flash|3\.1-pro|3-flash)|qwen3\.7-plus|minimax-m2\.7|glm-5\.2|kimi-k2\.6)$/;
|
|
53
50
|
function normalizeModelIds(values, options = {}) {
|
|
54
51
|
const seen = new Set();
|
|
55
52
|
const result = [];
|
|
@@ -1170,13 +1167,13 @@ function selectLitellmModelsForNormalUi(modelIds) {
|
|
|
1170
1167
|
return discovered.length > 0 ? discovered : [...LITELLM_MODEL_IDS];
|
|
1171
1168
|
}
|
|
1172
1169
|
function selectOpenRouterModelsForNormalUi(modelIds) {
|
|
1173
|
-
return
|
|
1170
|
+
return selectManifestModelsForNormalUi(modelIds, OPENROUTER_MODEL_IDS);
|
|
1174
1171
|
}
|
|
1175
1172
|
function selectVercelAiGatewayModelsForNormalUi(modelIds) {
|
|
1176
|
-
return
|
|
1173
|
+
return selectManifestModelsForNormalUi(modelIds, VERCEL_AI_GATEWAY_MODEL_IDS);
|
|
1177
1174
|
}
|
|
1178
1175
|
function selectOpencodeZenModelsForNormalUi(modelIds) {
|
|
1179
|
-
return
|
|
1176
|
+
return selectManifestModelsForNormalUi(modelIds, OPENCODE_ZEN_MODEL_IDS);
|
|
1180
1177
|
}
|
|
1181
1178
|
function selectHuggingfaceModelsForNormalUi(modelIds) {
|
|
1182
1179
|
const allowed = new Set(HUGGINGFACE_MODEL_IDS);
|
|
@@ -112,7 +112,18 @@ const OPENAI_API_MODEL_IDS = [
|
|
|
112
112
|
"gpt-5.6-luna",
|
|
113
113
|
"gpt-5.5"
|
|
114
114
|
];
|
|
115
|
-
const OPENAI_SIGN_IN_MODEL_IDS = [
|
|
115
|
+
const OPENAI_SIGN_IN_MODEL_IDS = [
|
|
116
|
+
"gpt-5.6-sol",
|
|
117
|
+
"gpt-5.6-terra",
|
|
118
|
+
"gpt-5.6-luna",
|
|
119
|
+
"gpt-5.5"
|
|
120
|
+
];
|
|
121
|
+
const OPENAI_SIGN_IN_LEGACY_RUNTIME_MODEL_IDS = [
|
|
122
|
+
"gpt-5.3-codex",
|
|
123
|
+
"gpt-5.3-codex-spark",
|
|
124
|
+
"gpt-5.4",
|
|
125
|
+
"gpt-5.4-mini"
|
|
126
|
+
];
|
|
116
127
|
const OPENAI_API_MODEL_REFS = OPENAI_API_MODEL_IDS.map((id) => `${OPENAI_API_ROUTE_ID}/${id}`);
|
|
117
128
|
const OPENAI_SIGN_IN_MODEL_REFS = OPENAI_SIGN_IN_MODEL_IDS.map((id) => `${OPENAI_CODEX_ROUTE_ID}/${id}`);
|
|
118
129
|
const ANTHROPIC_MODEL_IDS = [
|
|
@@ -218,7 +229,6 @@ const BYTEPLUS_CODING_MODEL_IDS = [
|
|
|
218
229
|
];
|
|
219
230
|
const BYTEPLUS_CODING_MODEL_REFS = BYTEPLUS_CODING_MODEL_IDS.flatMap((id) => [`${BYTEPLUS_CODING_ROUTE_ID}/${id}`, `${BYTEPLUS_PLAN_ROUTE_ID}/${id}`]);
|
|
220
231
|
const OPENROUTER_MODEL_IDS = [
|
|
221
|
-
"openrouter/owl-alpha",
|
|
222
232
|
"openai/gpt-5.6-sol",
|
|
223
233
|
"openai/gpt-5.6-terra",
|
|
224
234
|
"openai/gpt-5.6-luna",
|
|
@@ -1515,6 +1525,7 @@ const PROVIDER_MANIFEST_BY_ROUTE = new Map(PROVIDER_REGISTRY.flatMap((entry) =>
|
|
|
1515
1525
|
const STANDARD_PROVIDER_MODEL_REFS = new Set(PROVIDER_REGISTRY.flatMap((entry) => entry.models.recommended.map((ref) => ref.toLowerCase())));
|
|
1516
1526
|
const PROVIDER_MODEL_CAPABILITY_BY_REF = new Map(PROVIDER_REGISTRY.flatMap((entry) => Object.entries(entry.modelCapabilities ?? {}).map(([ref, capability]) => [ref.toLowerCase(), capability])));
|
|
1517
1527
|
const OPENAI_SIGN_IN_MODEL_ID_SET = new Set(OPENAI_SIGN_IN_MODEL_IDS);
|
|
1528
|
+
const OPENAI_SIGN_IN_RUNTIME_MODEL_ID_SET = new Set([...OPENAI_SIGN_IN_MODEL_IDS, ...OPENAI_SIGN_IN_LEGACY_RUNTIME_MODEL_IDS]);
|
|
1518
1529
|
function listProviderBrandManifests() {
|
|
1519
1530
|
return [...PROVIDER_REGISTRY];
|
|
1520
1531
|
}
|
|
@@ -1535,6 +1546,9 @@ function isOpenAIProviderRoute(provider) {
|
|
|
1535
1546
|
return normalized === OPENAI_API_ROUTE_ID || normalized === OPENAI_CODEX_ROUTE_ID;
|
|
1536
1547
|
}
|
|
1537
1548
|
function isOpenAISignInRuntimeModelSupported(id) {
|
|
1549
|
+
return OPENAI_SIGN_IN_RUNTIME_MODEL_ID_SET.has(id.trim().toLowerCase());
|
|
1550
|
+
}
|
|
1551
|
+
function isOpenAISignInCatalogModel(id) {
|
|
1538
1552
|
return OPENAI_SIGN_IN_MODEL_ID_SET.has(id.trim().toLowerCase());
|
|
1539
1553
|
}
|
|
1540
1554
|
function lookupProviderManifestModelCapability(provider, model) {
|
|
@@ -1577,4 +1591,4 @@ function isStandardProviderCatalogEntry(entry) {
|
|
|
1577
1591
|
}
|
|
1578
1592
|
|
|
1579
1593
|
//#endregion
|
|
1580
|
-
export { ANTHROPIC_MODEL_IDS, ANTHROPIC_PROVIDER_BRAND_ID, ANTHROPIC_PROVIDER_MANIFEST, ANTHROPIC_ROUTE_ID, BYTEPLUS_CODING_MODEL_IDS, BYTEPLUS_CODING_MODEL_REFS, BYTEPLUS_CODING_ROUTE_ID, BYTEPLUS_MODEL_IDS, BYTEPLUS_MODEL_REFS, BYTEPLUS_PLAN_ROUTE_ID, BYTEPLUS_PROVIDER_BRAND_ID, BYTEPLUS_ROUTE_ID, CHUTES_MODEL_IDS, CHUTES_PROVIDER_BRAND_ID, CHUTES_ROUTE_ID, COPILOT_PROVIDER_BRAND_ID, COPILOT_PROXY_MODEL_IDS, COPILOT_PROXY_MODEL_REFS, COPILOT_PROXY_ROUTE_ID, CUSTOM_PROVIDER_BRAND_ID, CUSTOM_PROVIDER_ROUTE_ID, GITHUB_COPILOT_DEFAULT_MODEL_REF, GITHUB_COPILOT_MODEL_IDS, GITHUB_COPILOT_MODEL_REFS, GITHUB_COPILOT_ROUTE_ID, GOOGLE_API_MODEL_REFS, GOOGLE_API_ROUTE_ID, GOOGLE_GEMINI_CLI_MODEL_REFS, GOOGLE_GEMINI_CLI_ROUTE_ID, GOOGLE_GEMINI_MODEL_IDS, GOOGLE_PROVIDER_BRAND_ID, HUGGINGFACE_PROVIDER_BRAND_ID, HUGGINGFACE_ROUTE_ID, KIMI_CODING_MODEL_IDS, KIMI_CODING_ROUTE_ID, LITELLM_PROVIDER_BRAND_ID, LITELLM_ROUTE_ID, LMSTUDIO_PROVIDER_BRAND_ID, LMSTUDIO_ROUTE_ID, MINIMAX_API_ROUTE_ID, MINIMAX_CN_ROUTE_ID, MINIMAX_MODEL_IDS, MINIMAX_PORTAL_ROUTE_ID, MINIMAX_PROVIDER_BRAND_ID, MISTRAL_MODEL_IDS, MISTRAL_MODEL_REFS, MISTRAL_PROVIDER_BRAND_ID, MISTRAL_ROUTE_ID, MOONSHOT_MODEL_IDS, MOONSHOT_PROVIDER_BRAND_ID, MOONSHOT_ROUTE_ID, OLLAMA_PROVIDER_BRAND_ID, OLLAMA_ROUTE_ID, OPENAI_API_MODEL_IDS, OPENAI_API_MODEL_REFS, OPENAI_API_ROUTE_ID, OPENAI_CODEX_ROUTE_ID, OPENAI_PROVIDER_BRAND_ID, OPENAI_SIGN_IN_MODEL_IDS, OPENAI_SIGN_IN_MODEL_REFS, OPENCODE_ZEN_PROVIDER_BRAND_ID, OPENCODE_ZEN_ROUTE_ID, OPENROUTER_MODEL_IDS, OPENROUTER_MODEL_REFS, OPENROUTER_PROVIDER_BRAND_ID, OPENROUTER_ROUTE_ID, PROVIDER_BRAND_ORDER, QIANFAN_MODEL_IDS, QIANFAN_MODEL_REFS, QIANFAN_PROVIDER_BRAND_ID, QIANFAN_ROUTE_ID, QWEN_API_MODEL_IDS, QWEN_API_ROUTE_ID, QWEN_CODING_PLAN_MODEL_IDS, QWEN_CODING_PLAN_ROUTE_ID, QWEN_PROVIDER_BRAND_ID, SYNTHETIC_MODEL_REFS, SYNTHETIC_PROVIDER_BRAND_ID, SYNTHETIC_ROUTE_ID, TOGETHER_PROVIDER_BRAND_ID, TOGETHER_ROUTE_ID, VENICE_PROVIDER_BRAND_ID, VENICE_ROUTE_ID, VERCEL_AI_GATEWAY_PROVIDER_BRAND_ID, VERCEL_AI_GATEWAY_ROUTE_ID, VLLM_PROVIDER_BRAND_ID, VLLM_ROUTE_ID, VOLCENGINE_CODING_MODEL_IDS, VOLCENGINE_CODING_MODEL_REFS, VOLCENGINE_CODING_ROUTE_ID, VOLCENGINE_MODEL_IDS, VOLCENGINE_MODEL_REFS, VOLCENGINE_PLAN_ROUTE_ID, VOLCENGINE_PROVIDER_BRAND_ID, VOLCENGINE_ROUTE_ID, XAI_MODEL_IDS, XAI_MODEL_REFS, XAI_PROVIDER_BRAND_ID, XAI_ROUTE_ID, XIAOMI_MODEL_REFS, XIAOMI_PROVIDER_BRAND_ID, XIAOMI_ROUTE_ID, ZAI_MODEL_IDS, ZAI_MODEL_REFS, ZAI_PROVIDER_BRAND_ID, ZAI_ROUTE_ID, getProviderBrandManifestForRoute, isOpenAISignInRuntimeModelSupported, isStandardProviderCatalogEntry, isStandardProviderModelRef, listProviderBrandManifests, lookupProviderManifestModelCapability, resolveProviderRouteModelCapability };
|
|
1594
|
+
export { ANTHROPIC_MODEL_IDS, ANTHROPIC_PROVIDER_BRAND_ID, ANTHROPIC_PROVIDER_MANIFEST, ANTHROPIC_ROUTE_ID, BYTEPLUS_CODING_MODEL_IDS, BYTEPLUS_CODING_MODEL_REFS, BYTEPLUS_CODING_ROUTE_ID, BYTEPLUS_MODEL_IDS, BYTEPLUS_MODEL_REFS, BYTEPLUS_PLAN_ROUTE_ID, BYTEPLUS_PROVIDER_BRAND_ID, BYTEPLUS_ROUTE_ID, CHUTES_MODEL_IDS, CHUTES_PROVIDER_BRAND_ID, CHUTES_ROUTE_ID, COPILOT_PROVIDER_BRAND_ID, COPILOT_PROXY_MODEL_IDS, COPILOT_PROXY_MODEL_REFS, COPILOT_PROXY_ROUTE_ID, CUSTOM_PROVIDER_BRAND_ID, CUSTOM_PROVIDER_ROUTE_ID, GITHUB_COPILOT_DEFAULT_MODEL_REF, GITHUB_COPILOT_MODEL_IDS, GITHUB_COPILOT_MODEL_REFS, GITHUB_COPILOT_ROUTE_ID, GOOGLE_API_MODEL_REFS, GOOGLE_API_ROUTE_ID, GOOGLE_GEMINI_CLI_MODEL_REFS, GOOGLE_GEMINI_CLI_ROUTE_ID, GOOGLE_GEMINI_MODEL_IDS, GOOGLE_PROVIDER_BRAND_ID, HUGGINGFACE_PROVIDER_BRAND_ID, HUGGINGFACE_ROUTE_ID, KIMI_CODING_MODEL_IDS, KIMI_CODING_ROUTE_ID, LITELLM_PROVIDER_BRAND_ID, LITELLM_ROUTE_ID, LMSTUDIO_PROVIDER_BRAND_ID, LMSTUDIO_ROUTE_ID, MINIMAX_API_ROUTE_ID, MINIMAX_CN_ROUTE_ID, MINIMAX_MODEL_IDS, MINIMAX_PORTAL_ROUTE_ID, MINIMAX_PROVIDER_BRAND_ID, MISTRAL_MODEL_IDS, MISTRAL_MODEL_REFS, MISTRAL_PROVIDER_BRAND_ID, MISTRAL_ROUTE_ID, MOONSHOT_MODEL_IDS, MOONSHOT_PROVIDER_BRAND_ID, MOONSHOT_ROUTE_ID, OLLAMA_PROVIDER_BRAND_ID, OLLAMA_ROUTE_ID, OPENAI_API_MODEL_IDS, OPENAI_API_MODEL_REFS, OPENAI_API_ROUTE_ID, OPENAI_CODEX_ROUTE_ID, OPENAI_PROVIDER_BRAND_ID, OPENAI_SIGN_IN_MODEL_IDS, OPENAI_SIGN_IN_MODEL_REFS, OPENCODE_ZEN_PROVIDER_BRAND_ID, OPENCODE_ZEN_ROUTE_ID, OPENROUTER_MODEL_IDS, OPENROUTER_MODEL_REFS, OPENROUTER_PROVIDER_BRAND_ID, OPENROUTER_ROUTE_ID, PROVIDER_BRAND_ORDER, QIANFAN_MODEL_IDS, QIANFAN_MODEL_REFS, QIANFAN_PROVIDER_BRAND_ID, QIANFAN_ROUTE_ID, QWEN_API_MODEL_IDS, QWEN_API_ROUTE_ID, QWEN_CODING_PLAN_MODEL_IDS, QWEN_CODING_PLAN_ROUTE_ID, QWEN_PROVIDER_BRAND_ID, SYNTHETIC_MODEL_REFS, SYNTHETIC_PROVIDER_BRAND_ID, SYNTHETIC_ROUTE_ID, TOGETHER_PROVIDER_BRAND_ID, TOGETHER_ROUTE_ID, VENICE_PROVIDER_BRAND_ID, VENICE_ROUTE_ID, VERCEL_AI_GATEWAY_PROVIDER_BRAND_ID, VERCEL_AI_GATEWAY_ROUTE_ID, VLLM_PROVIDER_BRAND_ID, VLLM_ROUTE_ID, VOLCENGINE_CODING_MODEL_IDS, VOLCENGINE_CODING_MODEL_REFS, VOLCENGINE_CODING_ROUTE_ID, VOLCENGINE_MODEL_IDS, VOLCENGINE_MODEL_REFS, VOLCENGINE_PLAN_ROUTE_ID, VOLCENGINE_PROVIDER_BRAND_ID, VOLCENGINE_ROUTE_ID, XAI_MODEL_IDS, XAI_MODEL_REFS, XAI_PROVIDER_BRAND_ID, XAI_ROUTE_ID, XIAOMI_MODEL_REFS, XIAOMI_PROVIDER_BRAND_ID, XIAOMI_ROUTE_ID, ZAI_MODEL_IDS, ZAI_MODEL_REFS, ZAI_PROVIDER_BRAND_ID, ZAI_ROUTE_ID, getProviderBrandManifestForRoute, isOpenAISignInCatalogModel, isOpenAISignInRuntimeModelSupported, isStandardProviderCatalogEntry, isStandardProviderModelRef, listProviderBrandManifests, lookupProviderManifestModelCapability, resolveProviderRouteModelCapability };
|
|
@@ -131,19 +131,6 @@ const VERCEL_AI_GATEWAY_MODEL_CATALOG = [
|
|
|
131
131
|
"implicit-caching"
|
|
132
132
|
]
|
|
133
133
|
},
|
|
134
|
-
{
|
|
135
|
-
id: "google/gemini-3-flash-preview",
|
|
136
|
-
contextWindow: 1e6,
|
|
137
|
-
maxTokens: 65e3,
|
|
138
|
-
tags: [
|
|
139
|
-
"reasoning",
|
|
140
|
-
"tool-use",
|
|
141
|
-
"file-input",
|
|
142
|
-
"vision",
|
|
143
|
-
"web-search",
|
|
144
|
-
"implicit-caching"
|
|
145
|
-
]
|
|
146
|
-
},
|
|
147
134
|
{
|
|
148
135
|
id: "google/gemini-3.1-flash-lite",
|
|
149
136
|
contextWindow: 1e6,
|
|
@@ -186,28 +173,6 @@ const VERCEL_AI_GATEWAY_MODEL_CATALOG = [
|
|
|
186
173
|
"vision"
|
|
187
174
|
]
|
|
188
175
|
},
|
|
189
|
-
{
|
|
190
|
-
id: "mistral/mistral-small-2603",
|
|
191
|
-
contextWindow: 256e3,
|
|
192
|
-
maxTokens: 256e3,
|
|
193
|
-
tags: [
|
|
194
|
-
"reasoning",
|
|
195
|
-
"tool-use",
|
|
196
|
-
"vision"
|
|
197
|
-
]
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
id: "mistral/mistral-large-2512",
|
|
201
|
-
contextWindow: 256e3,
|
|
202
|
-
maxTokens: 256e3,
|
|
203
|
-
tags: ["vision"]
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
id: "mistral/devstral-2512",
|
|
207
|
-
contextWindow: 256e3,
|
|
208
|
-
maxTokens: 256e3,
|
|
209
|
-
tags: ["tool-use"]
|
|
210
|
-
},
|
|
211
176
|
{
|
|
212
177
|
id: "minimax/minimax-m2.7",
|
|
213
178
|
contextWindow: 204800,
|
|
@@ -15,6 +15,9 @@ const XHIGH_MODEL_REFS = [
|
|
|
15
15
|
"openai/gpt-5.4",
|
|
16
16
|
"openai/gpt-5.4-mini",
|
|
17
17
|
"openai/gpt-5.4-nano",
|
|
18
|
+
"openai-codex/gpt-5.6-sol",
|
|
19
|
+
"openai-codex/gpt-5.6-terra",
|
|
20
|
+
"openai-codex/gpt-5.6-luna",
|
|
18
21
|
"openai-codex/gpt-5.5",
|
|
19
22
|
"openai-codex/gpt-5.4",
|
|
20
23
|
"openai-codex/gpt-5.4-mini",
|