@symerian/symi 2.3.0 → 2.3.1
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-B0pTMEwy.js → agents-DzuttgJU.js} +4 -4
- package/dist/{agents.config-_b7ghdyb.js → agents.config-2HlZJsR3.js} +1 -1
- package/dist/{agents.config-CdNbu8M5.js → agents.config-CSucty2T.js} +1 -1
- package/dist/{audio-preflight-BkIfnmpi.js → audio-preflight-BsfqyC31.js} +4 -4
- package/dist/{audio-preflight-CPBOQV4I.js → audio-preflight-C40mKAp7.js} +4 -4
- package/dist/{auth-choice-Bx2Ly3cQ.js → auth-choice-ChrEc3cZ.js} +1 -1
- package/dist/{auth-choice-EFFQA4ii.js → auth-choice-Cve09z1a.js} +1 -1
- package/dist/{banner-B3eic4uq.js → banner-BoLflN_R.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CiowWU_F.js → channel-options-Dkd1WQZx.js} +1 -1
- package/dist/{channel-options-75aPoFR-.js → channel-options-DqgeO1f6.js} +1 -1
- package/dist/{channel-web-B3e8z6ws.js → channel-web-CJvDQ5Ea.js} +1 -1
- package/dist/{channels-cli-DZM3aIdY.js → channels-cli-D0jjOLRb.js} +4 -4
- package/dist/{channels-cli-BDAVsmSm.js → channels-cli-DtqwJZWy.js} +4 -4
- package/dist/{chrome-D2SKJnR7.js → chrome-CDJYxX5a.js} +7 -7
- package/dist/{chrome-CxSAp8x3.js → chrome-w3SLcQJF.js} +7 -7
- package/dist/{cli-BRwovkQi.js → cli-CEtg8kql.js} +1 -1
- package/dist/{cli-D9SQsNnH.js → cli-CHOmeum9.js} +1 -1
- package/dist/{command-registry-BOI6nYdi.js → command-registry-Ba2z3dYq.js} +9 -9
- package/dist/{completion-cli-NNzoK79d.js → completion-cli-BgX3MWVU.js} +1 -1
- package/dist/{completion-cli-83vpWmfU.js → completion-cli-CD-306wt.js} +2 -2
- package/dist/{config-cli-DEAh6EN8.js → config-cli-Cz87-TYh.js} +1 -1
- package/dist/{config-cli-MLtPektI.js → config-cli-DAbXVRUL.js} +1 -1
- package/dist/{configure-BdfU-OWp.js → configure-0nrthdSf.js} +3 -3
- package/dist/{configure-vl7Z4vWj.js → configure-D45ne4lm.js} +3 -3
- package/dist/{deliver-C-37cZUe.js → deliver-BH0l3UKW.js} +1 -1
- package/dist/{deliver-BA7ZN3iM.js → deliver-BmPK91JP.js} +1 -1
- package/dist/{doctor-completion-Ds-_m1_I.js → doctor-completion-CcDVOtZ5.js} +1 -1
- package/dist/{doctor-completion-OyrrKhcY.js → doctor-completion-CmGtqUHQ.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-Coue82yW.js → gateway-cli-BVN31fwu.js} +9 -9
- package/dist/{gateway-cli-DfFSqETj.js → gateway-cli-DajX3Pye.js} +9 -9
- package/dist/{glass-ui-ws-D0Y3Ftjr.js → glass-ui-ws-CQG6acJl.js} +7 -7
- package/dist/{glass-ui-ws-Dkh8KQKx.js → glass-ui-ws-Z1IOT6Vc.js} +7 -7
- package/dist/{health-BL_zFcJ8.js → health-D9eQW7fJ.js} +1 -1
- package/dist/{health-B1LT2TG3.js → health-f056vLGT.js} +1 -1
- package/dist/{hooks-cli-CI7p--JB.js → hooks-cli-CW-IRS72.js} +2 -2
- package/dist/{hooks-cli-BoE1T7F1.js → hooks-cli-hJ4euq2R.js} +2 -2
- package/dist/{image-DcpMiprB.js → image-CHzdaNJ4.js} +1 -1
- package/dist/{image-BGmVDkkw.js → image-rZ4x9VS9.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{models-cli-B-mDqwNv.js → models-cli-B2ticsCM.js} +2 -2
- package/dist/{models-cli-Dm_3bpun.js → models-cli-D9bG44Ao.js} +3 -3
- package/dist/{models-DSx-ohwA.js → models-nO_t1uzp.js} +2 -2
- package/dist/{onboard-CPRPPhos.js → onboard-BDbpfrZj.js} +2 -2
- package/dist/{onboard-u4HyeN9s.js → onboard-BtZ9WqhJ.js} +2 -2
- package/dist/{onboard-channels-BUz8JSpV.js → onboard-channels-CHE8nfNA.js} +1 -1
- package/dist/{onboard-channels-CixaQo6p.js → onboard-channels-HubyUVjT.js} +1 -1
- package/dist/{onboarding-DVnX6G65.js → onboarding-DtP0sps0.js} +3 -3
- package/dist/{onboarding-HeYKKCUg.js → onboarding-eVb5gvwo.js} +3 -3
- package/dist/{onboarding.finalize-CyfJOd_0.js → onboarding.finalize-CetxPTxL.js} +5 -5
- package/dist/{onboarding.finalize-BJD7ST55.js → onboarding.finalize-D8035U2E.js} +6 -6
- package/dist/{pi-embedded-Du1crlEA.js → pi-embedded-BY-dBus2.js} +216 -171
- package/dist/{pi-embedded-Dbwt0RDE.js → pi-embedded-Dc3muKtS.js} +216 -171
- package/dist/{pi-embedded-helpers-DEEaCvEp.js → pi-embedded-helpers-B2z46qeM.js} +4 -4
- package/dist/{pi-embedded-helpers-B8kqLWns.js → pi-embedded-helpers-lgx_U5KS.js} +4 -4
- package/dist/{plugin-registry-B3_VvP9Z.js → plugin-registry-CuoX8mar.js} +1 -1
- package/dist/{plugin-registry-BHTWmVtf.js → plugin-registry-fxcvycGr.js} +1 -1
- package/dist/plugin-sdk/{channel-web-pXiGDTMm.js → channel-web-CV1KLtZh.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-ClH0tnJf.js → reply-C4mijdMZ.js} +202 -157
- package/dist/plugin-sdk/{web-D-2D6z4H.js → web-B17UUsjm.js} +2 -2
- package/dist/{plugins-cli-CiJ3j55S.js → plugins-cli-4OqSGHp-.js} +2 -2
- package/dist/{plugins-cli-Dm1uy7by.js → plugins-cli-BbE_Qnlk.js} +2 -2
- package/dist/{program-CH2ZAXFK.js → program-DkXOdfM2.js} +7 -7
- package/dist/{program-context-BHdXKRCG.js → program-context-0bDxGpMx.js} +17 -17
- package/dist/{prompt-select-styled-D8-TYiCU.js → prompt-select-styled-DJkRn30j.js} +4 -4
- package/dist/{prompt-select-styled-YbkZmrxn.js → prompt-select-styled-_6KbTFXs.js} +4 -4
- package/dist/{provider-auth-helpers-BvwbMhtC.js → provider-auth-helpers-Bnkj4QXS.js} +1 -1
- package/dist/{provider-auth-helpers-BXnJRRuA.js → provider-auth-helpers-BpVAdwK_.js} +1 -1
- package/dist/{push-apns-CtNHq-T0.js → push-apns-C0wMP1XU.js} +1 -1
- package/dist/{push-apns-BKDV4tcx.js → push-apns-EKnCwrqK.js} +1 -1
- package/dist/{pw-ai-1htA-NnS.js → pw-ai-De-KR9_s.js} +1 -1
- package/dist/{pw-ai-DhwRiS06.js → pw-ai-PiQUncix.js} +1 -1
- package/dist/{register.agent-BUq96Y9v.js → register.agent-B0S1CJEx.js} +5 -5
- package/dist/{register.agent-BKI5-fHH.js → register.agent-B48Vf_DK.js} +6 -6
- package/dist/{register.configure-D5lE614j.js → register.configure-Drr3E9OG.js} +6 -6
- package/dist/{register.configure-wxLUAVNm.js → register.configure-Wyv7vb24.js} +6 -6
- package/dist/{register.maintenance-C7McOGSl.js → register.maintenance-Cmf17EW0.js} +7 -7
- package/dist/{register.maintenance-CBkeGPZ5.js → register.maintenance-TgjAQ4E0.js} +8 -8
- package/dist/{register.message-COdTYFse.js → register.message-BcsPnPvW.js} +2 -2
- package/dist/{register.message-CI-7hMop.js → register.message-Dwv2puIB.js} +2 -2
- package/dist/{register.onboard-BB0BR6ER.js → register.onboard-BDGaSyq2.js} +4 -4
- package/dist/{register.onboard-Cvq4D9PO.js → register.onboard-C8w7_w93.js} +4 -4
- package/dist/{register.setup-BFsDqWth.js → register.setup-CMGSNKXS.js} +4 -4
- package/dist/{register.setup-BYdcj7kG.js → register.setup-CiEuZOlI.js} +4 -4
- package/dist/{register.status-health-sessions-Z5xGFCb6.js → register.status-health-sessions-C8p0uINc.js} +3 -3
- package/dist/{register.status-health-sessions-CLTBPceP.js → register.status-health-sessions-zKjmZyOs.js} +3 -3
- package/dist/{register.subclis-DbjFcioS.js → register.subclis-CofZE_pt.js} +9 -9
- package/dist/{reply-Dlka9TPn.js → reply-SBi_U7P7.js} +202 -157
- package/dist/{run-main-CZKS1Km-.js → run-main-BJaDO3WW.js} +14 -14
- package/dist/{runner-B_KP4voe.js → runner-CCSMfQee.js} +1 -1
- package/dist/{runner-BcQ0sF9T.js → runner-DUBExAb5.js} +1 -1
- package/dist/{server-methods-Dl2xnUeP.js → server-methods-Cm6W01ne.js} +7 -7
- package/dist/{server-methods-060ibtki.js → server-methods-CyFB3XQf.js} +7 -7
- package/dist/{server-node-events-BaVEbs-L.js → server-node-events-Bhgt3xLw.js} +2 -2
- package/dist/{server-node-events-CxdmKBmm.js → server-node-events-CX1plxJz.js} +2 -2
- package/dist/{status-B161_hoB.js → status-BBpD_1pG.js} +2 -2
- package/dist/{status-DFFFYwyN.js → status-BdmYV3_x.js} +1 -1
- package/dist/{status-DqWKFOGN.js → status-CwXg8OO1.js} +2 -2
- package/dist/{status-V0eZ4bzN.js → status-U_1mE-yc.js} +1 -1
- package/dist/{subagent-registry-DLH72QgE.js → subagent-registry-Du9P0G2U.js} +202 -157
- package/dist/{update-cli-BHNHad5c.js → update-cli-DJzF_9UX.js} +7 -7
- package/dist/{update-cli-t1GIk6uw.js → update-cli-_45TJ3hZ.js} +8 -8
- package/dist/{update-runner-Ciq1c0YL.js → update-runner-8Ac4bJ1w.js} +1 -1
- package/dist/{update-runner-CDG0-jLB.js → update-runner-BSQFv9b6.js} +1 -1
- package/dist/{web-CWhHll12.js → web-BZSI7b07.js} +2 -2
- package/dist/{web-B_JQgMeX.js → web-BqRsq6mP.js} +6 -6
- package/dist/{web-BkvYOXO1.js → web-C1Zn8_qW.js} +6 -6
- package/dist/{web-FaXjM6fP.js → web-w-vV1rCZ.js} +1 -1
- package/package.json +1 -1
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-D9zGZU5t.js";
|
|
3
|
-
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-
|
|
3
|
+
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-C4mijdMZ.js";
|
|
4
4
|
import "./paths-DR2yt_mP.js";
|
|
5
5
|
import "./github-copilot-token-D9X2phUj.js";
|
|
6
6
|
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-BbAvhC25.js";
|
|
@@ -47,7 +47,7 @@ import "./paths-A0xdf3yk.js";
|
|
|
47
47
|
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-mFf4i4G9.js";
|
|
48
48
|
import { n as extractOriginalFilename } from "./store-Do3t33-c.js";
|
|
49
49
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BkCUbYGV.js";
|
|
50
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CV1KLtZh.js";
|
|
51
51
|
import "./image-BOYy0Ump.js";
|
|
52
52
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
53
53
|
import "./api-key-rotation-CVBMpnPc.js";
|
|
@@ -27119,7 +27119,7 @@ async function runWithImageModelFallback(params) {
|
|
|
27119
27119
|
function createDefaultDeps() {
|
|
27120
27120
|
return {
|
|
27121
27121
|
sendMessageWhatsApp: async (...args) => {
|
|
27122
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
27122
|
+
const { sendMessageWhatsApp } = await import("./web-B17UUsjm.js");
|
|
27123
27123
|
return await sendMessageWhatsApp(...args);
|
|
27124
27124
|
},
|
|
27125
27125
|
sendMessageTelegram: async (...args) => {
|
|
@@ -44745,7 +44745,7 @@ function loadWebLoginQr() {
|
|
|
44745
44745
|
return webLoginQrPromise;
|
|
44746
44746
|
}
|
|
44747
44747
|
function loadWebChannel() {
|
|
44748
|
-
webChannelPromise ??= import("./web-
|
|
44748
|
+
webChannelPromise ??= import("./web-B17UUsjm.js");
|
|
44749
44749
|
return webChannelPromise;
|
|
44750
44750
|
}
|
|
44751
44751
|
function loadWhatsAppActions() {
|
|
@@ -64197,6 +64197,162 @@ async function compactEmbeddedPiSession(params) {
|
|
|
64197
64197
|
return enqueueCommandInLane(sessionLane, () => enqueueGlobal(async () => compactEmbeddedPiSessionDirect(params)));
|
|
64198
64198
|
}
|
|
64199
64199
|
|
|
64200
|
+
//#endregion
|
|
64201
|
+
//#region src/config/model-profiles-builtin.ts
|
|
64202
|
+
/**
|
|
64203
|
+
* Built-in model profiles. Ordered from most-specific to least-specific so
|
|
64204
|
+
* that `resolveModelProfile` can return the first match.
|
|
64205
|
+
*
|
|
64206
|
+
* Order matters: "ollama/" must precede "gemma" because model IDs like
|
|
64207
|
+
* "ollama/gemma4:31b-128k" contain both substrings.
|
|
64208
|
+
*/
|
|
64209
|
+
const BUILTIN_PROFILES = [
|
|
64210
|
+
{
|
|
64211
|
+
match: ["ollama/"],
|
|
64212
|
+
label: "Ollama Local",
|
|
64213
|
+
params: {
|
|
64214
|
+
temperature: 1,
|
|
64215
|
+
top_p: .95,
|
|
64216
|
+
top_k: 64,
|
|
64217
|
+
max_tokens: 4096,
|
|
64218
|
+
stop: ["<end_of_turn>", "<eos>"]
|
|
64219
|
+
},
|
|
64220
|
+
streaming: {
|
|
64221
|
+
deltaThrottleMs: 50,
|
|
64222
|
+
flushOnFinal: true,
|
|
64223
|
+
chunkPattern: "burst"
|
|
64224
|
+
},
|
|
64225
|
+
filters: {
|
|
64226
|
+
stripPatterns: [
|
|
64227
|
+
"<\\|channel>\\w*",
|
|
64228
|
+
"<channel\\|>",
|
|
64229
|
+
"<start_of_turn>(?:model|user)?",
|
|
64230
|
+
"<end_of_turn>"
|
|
64231
|
+
],
|
|
64232
|
+
suppressMonologue: true,
|
|
64233
|
+
hasStructuredThinking: false
|
|
64234
|
+
},
|
|
64235
|
+
promptAdditions: ["You are running locally via Ollama. Do not output raw control tokens or internal monologue. Send brief progress updates on long tasks."],
|
|
64236
|
+
ui: {
|
|
64237
|
+
badge: "Local",
|
|
64238
|
+
watchdogMs: 9e5,
|
|
64239
|
+
armWatchdogOnSend: true
|
|
64240
|
+
}
|
|
64241
|
+
},
|
|
64242
|
+
{
|
|
64243
|
+
match: ["anthropic/", "claude-"],
|
|
64244
|
+
label: "Claude",
|
|
64245
|
+
params: {
|
|
64246
|
+
temperature: 1,
|
|
64247
|
+
top_p: 1,
|
|
64248
|
+
max_tokens: 8192
|
|
64249
|
+
},
|
|
64250
|
+
streaming: {
|
|
64251
|
+
deltaThrottleMs: 150,
|
|
64252
|
+
flushOnFinal: false,
|
|
64253
|
+
chunkPattern: "token"
|
|
64254
|
+
},
|
|
64255
|
+
filters: {
|
|
64256
|
+
stripPatterns: [],
|
|
64257
|
+
suppressMonologue: false,
|
|
64258
|
+
hasStructuredThinking: true
|
|
64259
|
+
},
|
|
64260
|
+
promptAdditions: [],
|
|
64261
|
+
ui: {
|
|
64262
|
+
badge: "API",
|
|
64263
|
+
watchdogMs: 3e5,
|
|
64264
|
+
armWatchdogOnSend: false
|
|
64265
|
+
}
|
|
64266
|
+
},
|
|
64267
|
+
{
|
|
64268
|
+
match: ["gemma", "redsand/"],
|
|
64269
|
+
label: "Gemma 4",
|
|
64270
|
+
params: {
|
|
64271
|
+
temperature: 1,
|
|
64272
|
+
top_p: .95,
|
|
64273
|
+
top_k: 64,
|
|
64274
|
+
max_tokens: 4096,
|
|
64275
|
+
stop: ["<end_of_turn>", "<eos>"]
|
|
64276
|
+
},
|
|
64277
|
+
streaming: {
|
|
64278
|
+
deltaThrottleMs: 50,
|
|
64279
|
+
flushOnFinal: true,
|
|
64280
|
+
chunkPattern: "burst"
|
|
64281
|
+
},
|
|
64282
|
+
filters: {
|
|
64283
|
+
stripPatterns: [
|
|
64284
|
+
"<\\|channel>\\w*",
|
|
64285
|
+
"<channel\\|>",
|
|
64286
|
+
"<start_of_turn>(?:model|user)?",
|
|
64287
|
+
"<end_of_turn>",
|
|
64288
|
+
"<\\|(?:fim_prefix|fim_suffix|fim_middle)\\|>",
|
|
64289
|
+
"^\\s*<bos>\\s*"
|
|
64290
|
+
],
|
|
64291
|
+
suppressMonologue: true,
|
|
64292
|
+
hasStructuredThinking: false
|
|
64293
|
+
},
|
|
64294
|
+
promptAdditions: [
|
|
64295
|
+
"You are running as Gemma 4 via vLLM. Important behavioral rules:",
|
|
64296
|
+
"- Never output raw control tokens, channel tags, or turn markers in your responses.",
|
|
64297
|
+
"- Never display internal status checks, plans, or self-assessments. Your visible output should only be conversational responses and final results.",
|
|
64298
|
+
"- When working on multi-step tasks, send a brief one-line status update every 30-60 seconds so the user knows you are active.",
|
|
64299
|
+
"- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
|
|
64300
|
+
"- Do not use <|channel>thought or similar syntax. If you need to reason, do so silently."
|
|
64301
|
+
],
|
|
64302
|
+
ui: {
|
|
64303
|
+
badge: "CoreWeave",
|
|
64304
|
+
watchdogMs: 6e5,
|
|
64305
|
+
armWatchdogOnSend: true
|
|
64306
|
+
}
|
|
64307
|
+
}
|
|
64308
|
+
];
|
|
64309
|
+
|
|
64310
|
+
//#endregion
|
|
64311
|
+
//#region src/config/resolve-model-profile.ts
|
|
64312
|
+
/** Default profile returned when no match is found. */
|
|
64313
|
+
const FALLBACK_PROFILE = {
|
|
64314
|
+
match: "*",
|
|
64315
|
+
label: "Generic",
|
|
64316
|
+
params: {
|
|
64317
|
+
temperature: 1,
|
|
64318
|
+
max_tokens: 4096
|
|
64319
|
+
},
|
|
64320
|
+
streaming: {
|
|
64321
|
+
deltaThrottleMs: 150,
|
|
64322
|
+
flushOnFinal: true,
|
|
64323
|
+
chunkPattern: "burst"
|
|
64324
|
+
},
|
|
64325
|
+
filters: {
|
|
64326
|
+
stripPatterns: [],
|
|
64327
|
+
suppressMonologue: false,
|
|
64328
|
+
hasStructuredThinking: false
|
|
64329
|
+
},
|
|
64330
|
+
promptAdditions: [],
|
|
64331
|
+
ui: {
|
|
64332
|
+
watchdogMs: 3e5,
|
|
64333
|
+
armWatchdogOnSend: true
|
|
64334
|
+
}
|
|
64335
|
+
};
|
|
64336
|
+
/**
|
|
64337
|
+
* Resolve the active model profile for a given model ID.
|
|
64338
|
+
*
|
|
64339
|
+
* Resolution order:
|
|
64340
|
+
* 1. User-defined profiles (from `models.profiles` in symi.json)
|
|
64341
|
+
* 2. Built-in profiles ({@link BUILTIN_PROFILES})
|
|
64342
|
+
* 3. Fallback "Generic" profile
|
|
64343
|
+
*
|
|
64344
|
+
* Matching is case-insensitive prefix/substring against the model ID.
|
|
64345
|
+
*/
|
|
64346
|
+
function resolveModelProfile(modelId, userProfiles) {
|
|
64347
|
+
const id = modelId.toLowerCase();
|
|
64348
|
+
const allProfiles = [...userProfiles ?? [], ...BUILTIN_PROFILES];
|
|
64349
|
+
for (const profile of allProfiles) {
|
|
64350
|
+
const patterns = Array.isArray(profile.match) ? profile.match : [profile.match];
|
|
64351
|
+
for (const pattern of patterns) if (id.startsWith(pattern.toLowerCase()) || id.includes(pattern.toLowerCase())) return profile;
|
|
64352
|
+
}
|
|
64353
|
+
return FALLBACK_PROFILE;
|
|
64354
|
+
}
|
|
64355
|
+
|
|
64200
64356
|
//#endregion
|
|
64201
64357
|
//#region src/agents/pi-embedded-runner/extra-params.ts
|
|
64202
64358
|
const OPENROUTER_APP_HEADERS = {
|
|
@@ -64216,7 +64372,9 @@ const OPENAI_RESPONSES_PROVIDERS = new Set(["openai"]);
|
|
|
64216
64372
|
function resolveExtraParams(params) {
|
|
64217
64373
|
const modelKey = `${params.provider}/${params.modelId}`;
|
|
64218
64374
|
const modelConfig = params.cfg?.agents?.defaults?.models?.[modelKey];
|
|
64219
|
-
|
|
64375
|
+
if (modelConfig?.params) return { ...modelConfig.params };
|
|
64376
|
+
const profile = resolveModelProfile(modelKey, params.cfg?.models?.profiles);
|
|
64377
|
+
if (profile.params && Object.keys(profile.params).length > 0) return { ...profile.params };
|
|
64220
64378
|
}
|
|
64221
64379
|
/**
|
|
64222
64380
|
* Resolve cacheRetention from extraParams, supporting both new `cacheRetention`
|
|
@@ -64246,6 +64404,7 @@ function createStreamFnWithExtraParams(baseStreamFn, extraParams, provider) {
|
|
|
64246
64404
|
if (typeof extraParams.top_p === "number") streamParams.top_p = extraParams.top_p;
|
|
64247
64405
|
if (typeof extraParams.top_k === "number") streamParams.top_k = extraParams.top_k;
|
|
64248
64406
|
if (typeof extraParams.repeat_penalty === "number") streamParams.repeat_penalty = extraParams.repeat_penalty;
|
|
64407
|
+
if (Array.isArray(extraParams.stop) && extraParams.stop.length > 0) streamParams.stop = extraParams.stop;
|
|
64249
64408
|
if (extraParams.chat_template_kwargs && typeof extraParams.chat_template_kwargs === "object") streamParams.chat_template_kwargs = extraParams.chat_template_kwargs;
|
|
64250
64409
|
const cacheRetention = resolveCacheRetention(extraParams, provider);
|
|
64251
64410
|
if (cacheRetention) streamParams.cacheRetention = cacheRetention;
|
|
@@ -64374,6 +64533,42 @@ function createZaiToolStreamWrapper(baseStreamFn, enabled) {
|
|
|
64374
64533
|
});
|
|
64375
64534
|
};
|
|
64376
64535
|
}
|
|
64536
|
+
const GEMMA_STOP_SEQUENCES = ["<end_of_turn>", "<eos>"];
|
|
64537
|
+
const VLLM_GEMMA_HINTS = ["gemma", "redsand"];
|
|
64538
|
+
function isVllmOrGemmaProvider(provider, modelId, cfg) {
|
|
64539
|
+
const lower = `${provider}/${modelId}`.toLowerCase();
|
|
64540
|
+
if (VLLM_GEMMA_HINTS.some((h) => lower.includes(h))) return true;
|
|
64541
|
+
const baseUrl = ((cfg?.models?.providers?.[provider])?.baseUrl ?? "").toLowerCase();
|
|
64542
|
+
return baseUrl.includes("coreweave") || baseUrl.includes("vllm");
|
|
64543
|
+
}
|
|
64544
|
+
/**
|
|
64545
|
+
* Wrap the stream function to fix vLLM/Gemma compat issues via onPayload:
|
|
64546
|
+
* 1. Replace `max_completion_tokens` with `max_tokens` (vLLM ignores the former)
|
|
64547
|
+
* 2. Inject Gemma stop sequences if none are set
|
|
64548
|
+
* 3. Remove unsupported fields (store, stream_options.include_usage on older vLLM)
|
|
64549
|
+
*/
|
|
64550
|
+
function createVllmCompatWrapper(baseStreamFn, extraParams) {
|
|
64551
|
+
const underlying = baseStreamFn ?? streamSimple;
|
|
64552
|
+
const configuredStop = Array.isArray(extraParams.stop) ? extraParams.stop : GEMMA_STOP_SEQUENCES;
|
|
64553
|
+
return (model, context, options) => {
|
|
64554
|
+
const originalOnPayload = options?.onPayload;
|
|
64555
|
+
return underlying(model, context, {
|
|
64556
|
+
...options,
|
|
64557
|
+
onPayload: (payload) => {
|
|
64558
|
+
if (payload && typeof payload === "object") {
|
|
64559
|
+
const p = payload;
|
|
64560
|
+
if (p.max_completion_tokens && !p.max_tokens) {
|
|
64561
|
+
p.max_tokens = p.max_completion_tokens;
|
|
64562
|
+
delete p.max_completion_tokens;
|
|
64563
|
+
}
|
|
64564
|
+
if (!p.stop && configuredStop.length > 0) p.stop = configuredStop;
|
|
64565
|
+
delete p.store;
|
|
64566
|
+
}
|
|
64567
|
+
originalOnPayload?.(payload);
|
|
64568
|
+
}
|
|
64569
|
+
});
|
|
64570
|
+
};
|
|
64571
|
+
}
|
|
64377
64572
|
/**
|
|
64378
64573
|
* Apply extra params (like temperature) to an agent's streamFn.
|
|
64379
64574
|
* Also adds OpenRouter app attribution headers when using the OpenRouter provider.
|
|
@@ -64408,161 +64603,11 @@ function applyExtraParamsToAgent(agent, cfg, provider, modelId, extraParamsOverr
|
|
|
64408
64603
|
agent.streamFn = createZaiToolStreamWrapper(agent.streamFn, true);
|
|
64409
64604
|
}
|
|
64410
64605
|
}
|
|
64411
|
-
|
|
64412
|
-
}
|
|
64413
|
-
|
|
64414
|
-
//#endregion
|
|
64415
|
-
//#region src/config/model-profiles-builtin.ts
|
|
64416
|
-
/**
|
|
64417
|
-
* Built-in model profiles. Ordered from most-specific to least-specific so
|
|
64418
|
-
* that `resolveModelProfile` can return the first match.
|
|
64419
|
-
*
|
|
64420
|
-
* Order matters: "ollama/" must precede "gemma" because model IDs like
|
|
64421
|
-
* "ollama/gemma4:31b-128k" contain both substrings.
|
|
64422
|
-
*/
|
|
64423
|
-
const BUILTIN_PROFILES = [
|
|
64424
|
-
{
|
|
64425
|
-
match: ["ollama/"],
|
|
64426
|
-
label: "Ollama Local",
|
|
64427
|
-
params: {
|
|
64428
|
-
temperature: 1,
|
|
64429
|
-
top_p: .95,
|
|
64430
|
-
top_k: 64,
|
|
64431
|
-
max_tokens: 4096
|
|
64432
|
-
},
|
|
64433
|
-
streaming: {
|
|
64434
|
-
deltaThrottleMs: 50,
|
|
64435
|
-
flushOnFinal: true,
|
|
64436
|
-
chunkPattern: "burst"
|
|
64437
|
-
},
|
|
64438
|
-
filters: {
|
|
64439
|
-
stripPatterns: [
|
|
64440
|
-
"<\\|channel>\\w*",
|
|
64441
|
-
"<channel\\|>",
|
|
64442
|
-
"<start_of_turn>(?:model|user)?",
|
|
64443
|
-
"<end_of_turn>"
|
|
64444
|
-
],
|
|
64445
|
-
suppressMonologue: true,
|
|
64446
|
-
hasStructuredThinking: false
|
|
64447
|
-
},
|
|
64448
|
-
promptAdditions: ["You are running locally via Ollama. Do not output raw control tokens or internal monologue. Send brief progress updates on long tasks."],
|
|
64449
|
-
ui: {
|
|
64450
|
-
badge: "Local",
|
|
64451
|
-
watchdogMs: 9e5,
|
|
64452
|
-
armWatchdogOnSend: true
|
|
64453
|
-
}
|
|
64454
|
-
},
|
|
64455
|
-
{
|
|
64456
|
-
match: ["anthropic/", "claude-"],
|
|
64457
|
-
label: "Claude",
|
|
64458
|
-
params: {
|
|
64459
|
-
temperature: 1,
|
|
64460
|
-
top_p: 1,
|
|
64461
|
-
max_tokens: 8192
|
|
64462
|
-
},
|
|
64463
|
-
streaming: {
|
|
64464
|
-
deltaThrottleMs: 150,
|
|
64465
|
-
flushOnFinal: false,
|
|
64466
|
-
chunkPattern: "token"
|
|
64467
|
-
},
|
|
64468
|
-
filters: {
|
|
64469
|
-
stripPatterns: [],
|
|
64470
|
-
suppressMonologue: false,
|
|
64471
|
-
hasStructuredThinking: true
|
|
64472
|
-
},
|
|
64473
|
-
promptAdditions: [],
|
|
64474
|
-
ui: {
|
|
64475
|
-
badge: "API",
|
|
64476
|
-
watchdogMs: 3e5,
|
|
64477
|
-
armWatchdogOnSend: false
|
|
64478
|
-
}
|
|
64479
|
-
},
|
|
64480
|
-
{
|
|
64481
|
-
match: ["gemma", "redsand/"],
|
|
64482
|
-
label: "Gemma 4",
|
|
64483
|
-
params: {
|
|
64484
|
-
temperature: 1,
|
|
64485
|
-
top_p: .95,
|
|
64486
|
-
top_k: 64,
|
|
64487
|
-
max_tokens: 8192
|
|
64488
|
-
},
|
|
64489
|
-
streaming: {
|
|
64490
|
-
deltaThrottleMs: 50,
|
|
64491
|
-
flushOnFinal: true,
|
|
64492
|
-
chunkPattern: "burst"
|
|
64493
|
-
},
|
|
64494
|
-
filters: {
|
|
64495
|
-
stripPatterns: [
|
|
64496
|
-
"<\\|channel>\\w*",
|
|
64497
|
-
"<channel\\|>",
|
|
64498
|
-
"<start_of_turn>(?:model|user)?",
|
|
64499
|
-
"<end_of_turn>",
|
|
64500
|
-
"<\\|(?:fim_prefix|fim_suffix|fim_middle)\\|>",
|
|
64501
|
-
"^\\s*<bos>\\s*"
|
|
64502
|
-
],
|
|
64503
|
-
suppressMonologue: true,
|
|
64504
|
-
hasStructuredThinking: false
|
|
64505
|
-
},
|
|
64506
|
-
promptAdditions: [
|
|
64507
|
-
"You are running as Gemma 4 via vLLM. Important behavioral rules:",
|
|
64508
|
-
"- Never output raw control tokens, channel tags, or turn markers in your responses.",
|
|
64509
|
-
"- Never display internal status checks, plans, or self-assessments. Your visible output should only be conversational responses and final results.",
|
|
64510
|
-
"- When working on multi-step tasks, send a brief one-line status update every 30-60 seconds so the user knows you are active.",
|
|
64511
|
-
"- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
|
|
64512
|
-
"- Do not use <|channel>thought or similar syntax. If you need to reason, do so silently."
|
|
64513
|
-
],
|
|
64514
|
-
ui: {
|
|
64515
|
-
badge: "CoreWeave",
|
|
64516
|
-
watchdogMs: 6e5,
|
|
64517
|
-
armWatchdogOnSend: true
|
|
64518
|
-
}
|
|
64519
|
-
}
|
|
64520
|
-
];
|
|
64521
|
-
|
|
64522
|
-
//#endregion
|
|
64523
|
-
//#region src/config/resolve-model-profile.ts
|
|
64524
|
-
/** Default profile returned when no match is found. */
|
|
64525
|
-
const FALLBACK_PROFILE = {
|
|
64526
|
-
match: "*",
|
|
64527
|
-
label: "Generic",
|
|
64528
|
-
params: {
|
|
64529
|
-
temperature: 1,
|
|
64530
|
-
max_tokens: 4096
|
|
64531
|
-
},
|
|
64532
|
-
streaming: {
|
|
64533
|
-
deltaThrottleMs: 150,
|
|
64534
|
-
flushOnFinal: true,
|
|
64535
|
-
chunkPattern: "burst"
|
|
64536
|
-
},
|
|
64537
|
-
filters: {
|
|
64538
|
-
stripPatterns: [],
|
|
64539
|
-
suppressMonologue: false,
|
|
64540
|
-
hasStructuredThinking: false
|
|
64541
|
-
},
|
|
64542
|
-
promptAdditions: [],
|
|
64543
|
-
ui: {
|
|
64544
|
-
watchdogMs: 3e5,
|
|
64545
|
-
armWatchdogOnSend: true
|
|
64606
|
+
if (isVllmOrGemmaProvider(provider, modelId, cfg)) {
|
|
64607
|
+
log$2.debug(`applying vLLM/Gemma compat wrapper for ${provider}/${modelId}`);
|
|
64608
|
+
agent.streamFn = createVllmCompatWrapper(agent.streamFn, merged);
|
|
64546
64609
|
}
|
|
64547
|
-
|
|
64548
|
-
/**
|
|
64549
|
-
* Resolve the active model profile for a given model ID.
|
|
64550
|
-
*
|
|
64551
|
-
* Resolution order:
|
|
64552
|
-
* 1. User-defined profiles (from `models.profiles` in symi.json)
|
|
64553
|
-
* 2. Built-in profiles ({@link BUILTIN_PROFILES})
|
|
64554
|
-
* 3. Fallback "Generic" profile
|
|
64555
|
-
*
|
|
64556
|
-
* Matching is case-insensitive prefix/substring against the model ID.
|
|
64557
|
-
*/
|
|
64558
|
-
function resolveModelProfile(modelId, userProfiles) {
|
|
64559
|
-
const id = modelId.toLowerCase();
|
|
64560
|
-
const allProfiles = [...userProfiles ?? [], ...BUILTIN_PROFILES];
|
|
64561
|
-
for (const profile of allProfiles) {
|
|
64562
|
-
const patterns = Array.isArray(profile.match) ? profile.match : [profile.match];
|
|
64563
|
-
for (const pattern of patterns) if (id.startsWith(pattern.toLowerCase()) || id.includes(pattern.toLowerCase())) return profile;
|
|
64564
|
-
}
|
|
64565
|
-
return FALLBACK_PROFILE;
|
|
64610
|
+
agent.streamFn = createOpenAIResponsesStoreWrapper(agent.streamFn);
|
|
64566
64611
|
}
|
|
64567
64612
|
|
|
64568
64613
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-D9zGZU5t.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-C4mijdMZ.js";
|
|
3
3
|
import "./paths-DR2yt_mP.js";
|
|
4
4
|
import "./github-copilot-token-D9X2phUj.js";
|
|
5
5
|
import "./plugins-BbAvhC25.js";
|
|
@@ -45,7 +45,7 @@ import "./pi-embedded-helpers-BveUP4hk.js";
|
|
|
45
45
|
import "./paths-A0xdf3yk.js";
|
|
46
46
|
import "./diagnostic-mFf4i4G9.js";
|
|
47
47
|
import "./store-Do3t33-c.js";
|
|
48
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-CV1KLtZh.js";
|
|
49
49
|
import "./image-BOYy0Ump.js";
|
|
50
50
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
51
|
import "./api-key-rotation-CVBMpnPc.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-SBi_U7P7.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -106,7 +106,7 @@ import "./npm-registry-spec-C2JDdSZS.js";
|
|
|
106
106
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
107
107
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-C1Cebk97.js";
|
|
108
108
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
109
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
109
|
+
import { t as buildPluginStatusReport } from "./status-U_1mE-yc.js";
|
|
110
110
|
import { n as updateNpmInstalledPlugins } from "./update-rw7wJwHd.js";
|
|
111
111
|
import fs from "node:fs";
|
|
112
112
|
import os from "node:os";
|
|
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
|
|
|
13
13
|
import "./call-BcE47FtD.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-Du9P0G2U.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -102,7 +102,7 @@ import "./npm-registry-spec-DkaZNHAW.js";
|
|
|
102
102
|
import "./skill-scanner-BGWOBqLY.js";
|
|
103
103
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-CgQpVncj.js";
|
|
104
104
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
105
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
105
|
+
import { t as buildPluginStatusReport } from "./status-BdmYV3_x.js";
|
|
106
106
|
import { n as updateNpmInstalledPlugins } from "./update-DEMKx4eC.js";
|
|
107
107
|
import os from "node:os";
|
|
108
108
|
import path from "node:path";
|
|
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-Du9P0G2U.js";
|
|
18
18
|
import "./sessions-CJXnZVjR.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -99,13 +99,13 @@ import "./prompt-style-DwCXob2h.js";
|
|
|
99
99
|
import "./pairing-labels-D1HDboV2.js";
|
|
100
100
|
import "./pi-tools.policy-De00gPXt.js";
|
|
101
101
|
import "./catalog-DLQFKucJ.js";
|
|
102
|
-
import "./plugin-registry-
|
|
103
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
104
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
105
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
102
|
+
import "./plugin-registry-CuoX8mar.js";
|
|
103
|
+
import { n as resolveCliChannelOptions } from "./channel-options-DqgeO1f6.js";
|
|
104
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CofZE_pt.js";
|
|
105
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-Ba2z3dYq.js";
|
|
106
106
|
import { r as setProgramContext } from "./program-context-CqzR_m-7.js";
|
|
107
107
|
import { t as forceFreePort } from "./ports-Dn122MUd.js";
|
|
108
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
108
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-BoLflN_R.js";
|
|
109
109
|
import { Command } from "commander";
|
|
110
110
|
|
|
111
111
|
//#region src/cli/program/context.ts
|
|
@@ -213,7 +213,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
213
213
|
commandPath
|
|
214
214
|
});
|
|
215
215
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
216
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
216
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-CuoX8mar.js").then((n) => n.n);
|
|
217
217
|
ensurePluginRegistryLoaded();
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -43,7 +43,7 @@ const entries = [
|
|
|
43
43
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
44
44
|
hasSubcommands: true,
|
|
45
45
|
register: async (program) => {
|
|
46
|
-
(await import("./gateway-cli-
|
|
46
|
+
(await import("./gateway-cli-DajX3Pye.js")).registerGatewayCli(program);
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -75,7 +75,7 @@ const entries = [
|
|
|
75
75
|
description: "Discover, scan, and configure models",
|
|
76
76
|
hasSubcommands: true,
|
|
77
77
|
register: async (program) => {
|
|
78
|
-
(await import("./models-cli-
|
|
78
|
+
(await import("./models-cli-B2ticsCM.js")).registerModelsCli(program);
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
{
|
|
@@ -155,7 +155,7 @@ const entries = [
|
|
|
155
155
|
description: "Manage internal agent hooks",
|
|
156
156
|
hasSubcommands: true,
|
|
157
157
|
register: async (program) => {
|
|
158
|
-
(await import("./hooks-cli-
|
|
158
|
+
(await import("./hooks-cli-hJ4euq2R.js")).registerHooksCli(program);
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -179,7 +179,7 @@ const entries = [
|
|
|
179
179
|
description: "Secure DM pairing (approve inbound requests)",
|
|
180
180
|
hasSubcommands: true,
|
|
181
181
|
register: async (program) => {
|
|
182
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
182
|
+
const { registerPluginCliCommands } = await import("./cli-CHOmeum9.js");
|
|
183
183
|
registerPluginCliCommands(program, await loadConfig());
|
|
184
184
|
(await import("./pairing-cli-CBLfGvqW.js")).registerPairingCli(program);
|
|
185
185
|
}
|
|
@@ -189,8 +189,8 @@ const entries = [
|
|
|
189
189
|
description: "Manage Symi plugins and extensions",
|
|
190
190
|
hasSubcommands: true,
|
|
191
191
|
register: async (program) => {
|
|
192
|
-
(await import("./plugins-cli-
|
|
193
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
192
|
+
(await import("./plugins-cli-4OqSGHp-.js")).registerPluginsCli(program);
|
|
193
|
+
const { registerPluginCliCommands } = await import("./cli-CHOmeum9.js");
|
|
194
194
|
registerPluginCliCommands(program, await loadConfig());
|
|
195
195
|
}
|
|
196
196
|
},
|
|
@@ -199,7 +199,7 @@ const entries = [
|
|
|
199
199
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
200
200
|
hasSubcommands: true,
|
|
201
201
|
register: async (program) => {
|
|
202
|
-
(await import("./channels-cli-
|
|
202
|
+
(await import("./channels-cli-D0jjOLRb.js")).registerChannelsCli(program);
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
@@ -231,7 +231,7 @@ const entries = [
|
|
|
231
231
|
description: "Update Symi and inspect update channel status",
|
|
232
232
|
hasSubcommands: true,
|
|
233
233
|
register: async (program) => {
|
|
234
|
-
(await import("./update-cli-
|
|
234
|
+
(await import("./update-cli-DJzF_9UX.js")).registerUpdateCli(program);
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
{
|
|
@@ -239,7 +239,7 @@ const entries = [
|
|
|
239
239
|
description: "Generate shell completion script",
|
|
240
240
|
hasSubcommands: false,
|
|
241
241
|
register: async (program) => {
|
|
242
|
-
(await import("./completion-cli-
|
|
242
|
+
(await import("./completion-cli-BgX3MWVU.js").then((n) => n.n)).registerCompletionCli(program);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
];
|
|
@@ -302,7 +302,7 @@ const coreEntries = [
|
|
|
302
302
|
hasSubcommands: false
|
|
303
303
|
}],
|
|
304
304
|
register: async ({ program }) => {
|
|
305
|
-
(await import("./register.setup-
|
|
305
|
+
(await import("./register.setup-CiEuZOlI.js")).registerSetupCommand(program);
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
308
|
{
|
|
@@ -312,7 +312,7 @@ const coreEntries = [
|
|
|
312
312
|
hasSubcommands: false
|
|
313
313
|
}],
|
|
314
314
|
register: async ({ program }) => {
|
|
315
|
-
(await import("./register.onboard-
|
|
315
|
+
(await import("./register.onboard-BDGaSyq2.js")).registerOnboardCommand(program);
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
{
|
|
@@ -322,7 +322,7 @@ const coreEntries = [
|
|
|
322
322
|
hasSubcommands: false
|
|
323
323
|
}],
|
|
324
324
|
register: async ({ program }) => {
|
|
325
|
-
(await import("./register.configure-
|
|
325
|
+
(await import("./register.configure-Drr3E9OG.js")).registerConfigureCommand(program);
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
{
|
|
@@ -332,7 +332,7 @@ const coreEntries = [
|
|
|
332
332
|
hasSubcommands: true
|
|
333
333
|
}],
|
|
334
334
|
register: async ({ program }) => {
|
|
335
|
-
(await import("./config-cli-
|
|
335
|
+
(await import("./config-cli-Cz87-TYh.js")).registerConfigCli(program);
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
{
|
|
@@ -359,7 +359,7 @@ const coreEntries = [
|
|
|
359
359
|
}
|
|
360
360
|
],
|
|
361
361
|
register: async ({ program }) => {
|
|
362
|
-
(await import("./register.maintenance-
|
|
362
|
+
(await import("./register.maintenance-Cmf17EW0.js")).registerMaintenanceCommands(program);
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
{
|
|
@@ -369,7 +369,7 @@ const coreEntries = [
|
|
|
369
369
|
hasSubcommands: true
|
|
370
370
|
}],
|
|
371
371
|
register: async ({ program, ctx }) => {
|
|
372
|
-
(await import("./register.message-
|
|
372
|
+
(await import("./register.message-BcsPnPvW.js")).registerMessageCommands(program, ctx);
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
{
|
|
@@ -393,7 +393,7 @@ const coreEntries = [
|
|
|
393
393
|
hasSubcommands: true
|
|
394
394
|
}],
|
|
395
395
|
register: async ({ program, ctx }) => {
|
|
396
|
-
(await import("./register.agent-
|
|
396
|
+
(await import("./register.agent-B0S1CJEx.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
399
|
{
|
|
@@ -415,7 +415,7 @@ const coreEntries = [
|
|
|
415
415
|
}
|
|
416
416
|
],
|
|
417
417
|
register: async ({ program }) => {
|
|
418
|
-
(await import("./register.status-health-sessions-
|
|
418
|
+
(await import("./register.status-health-sessions-C8p0uINc.js")).registerStatusHealthSessionsCommands(program);
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
421
|
{
|