@symerian/symi 3.0.11 → 3.0.13
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-xbSFKxk1.js → agents-C1EHWbfj.js} +4 -4
- package/dist/{agents.config-Bs7UUe0R.js → agents.config-BzHsLIJT.js} +1 -1
- package/dist/{agents.config-tTbDCubC.js → agents.config-DUjv7eRL.js} +1 -1
- package/dist/{audio-preflight-DeOidVY9.js → audio-preflight-Cd4oBX_d.js} +4 -4
- package/dist/{auth-choice-B-sy9GJ3.js → auth-choice-CcbSp-5F.js} +1 -1
- package/dist/{auth-choice-Cr03ewiv.js → auth-choice-DlQFNChK.js} +1 -1
- package/dist/{banner-D1PQmpuP.js → banner-Dwc6cysD.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CR_Wk8eP.js → channel-options-Baxgs7Ac.js} +1 -1
- package/dist/{channel-options-DRtKFtZS.js → channel-options-cRW36Ig2.js} +1 -1
- package/dist/{channel-web-DQy6EOdz.js → channel-web-BXmHlcos.js} +1 -1
- package/dist/{channels-cli-maLqEQh7.js → channels-cli-BDVyJC_y.js} +6 -6
- package/dist/{channels-cli-CI_EDYQs.js → channels-cli-O7dsn4UZ.js} +6 -6
- package/dist/{chrome-cFjhP6kc.js → chrome-CqPheSG3.js} +7 -7
- package/dist/{cli-Cbe-5KnB.js → cli-BXOPJUyk.js} +3 -3
- package/dist/{cli-CwI9PVoY.js → cli-BZtnY7d6.js} +3 -3
- package/dist/{command-registry-CJjQMlj_.js → command-registry-C4fEo5jO.js} +10 -10
- package/dist/{completion-cli-CEknMySn.js → completion-cli-CTRhriVd.js} +1 -1
- package/dist/{completion-cli-vCFgly6i.js → completion-cli-D6k2XhFb.js} +2 -2
- package/dist/{config-cli-BUFk88DU.js → config-cli-CwufnTiJ.js} +1 -1
- package/dist/{config-cli-DLPWXbAt.js → config-cli-D-hgLpT3.js} +1 -1
- package/dist/{configure-BkoMFvEB.js → configure-C5t_r7sN.js} +3 -3
- package/dist/{configure-D80K613_.js → configure-DlSITc1U.js} +3 -3
- package/dist/control-ui/js/app.js +14 -1
- package/dist/{deliver-CgPAN0QZ.js → deliver-BVbveob8.js} +1 -1
- package/dist/{doctor-completion-BBDliPIB.js → doctor-completion-D31vWLKd.js} +1 -1
- package/dist/{doctor-completion-DVqUZPhO.js → doctor-completion-DLglYX3z.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-CIv75ODi.js → gateway-cli-BPpCax1I.js} +12 -12
- package/dist/{gateway-cli-DN9pqTkk.js → gateway-cli-D0b_yaeg.js} +12 -12
- package/dist/{glass-ui-ws-BBVOMP_3.js → glass-ui-ws-DIrqLWlg.js} +10 -10
- package/dist/{glass-ui-ws-DajvU2WU.js → glass-ui-ws-D_l8S-KZ.js} +10 -10
- package/dist/{health-DtWvvGSw.js → health-DxCLDRPA.js} +2 -2
- package/dist/{health-Dwt9mRYZ.js → health-dVQBgbn1.js} +2 -2
- package/dist/{heartbeat-visibility-o2h2sFYt.js → heartbeat-visibility-B2M69szZ.js} +1 -1
- package/dist/{heartbeat-visibility-Ot724yGm.js → heartbeat-visibility-B3jYfx_N.js} +1 -1
- package/dist/{hooks-cli-DgUKbUOY.js → hooks-cli-ClW2ErGr.js} +4 -4
- package/dist/{hooks-cli-COAJfD3O.js → hooks-cli-DkECWzYR.js} +4 -4
- package/dist/{image-DZQ_GyFY.js → image-CUTH9m-Y.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-B4ilZbUQ.js → manager-B8S9zNM5.js} +1 -1
- package/dist/{manager-CoO0CGga.js → manager-CHLCClaz.js} +1 -1
- package/dist/{manager-BkUG5C_1.js → manager-CSbEQqJL.js} +1 -1
- package/dist/{manager-BeNDdeqW.js → manager-wiJTQCIl.js} +1 -1
- package/dist/{memory-cli-Wh36KC0B.js → memory-cli-DYjxP-KO.js} +3 -3
- package/dist/{memory-cli-C6UdaC7T.js → memory-cli-xeFyVyjI.js} +3 -3
- package/dist/{models-Bq57ZYdQ.js → models-Dv2h1wDZ.js} +2 -2
- package/dist/{models-cli-BoKH3H5E.js → models-cli--aTN9HGH.js} +5 -5
- package/dist/{models-cli-CPooQm_v.js → models-cli-CqZ7dJ9_.js} +4 -4
- package/dist/{onboard-CzuWVQbi.js → onboard-ClVlvvio.js} +2 -2
- package/dist/{onboard-BSIQryd_.js → onboard-DTRtoJuX.js} +2 -2
- package/dist/{onboard-channels-DJji_VgU.js → onboard-channels-D36jVNHS.js} +1 -1
- package/dist/{onboard-channels-C95U6eDf.js → onboard-channels-uTnRY9Xc.js} +1 -1
- package/dist/{onboarding-B3ULVn2b.js → onboarding-DSzOCClw.js} +3 -3
- package/dist/{onboarding-Cr4UYEKi.js → onboarding-UknWo-xb.js} +3 -3
- package/dist/{onboarding.finalize-B7GJ-KWP.js → onboarding.finalize-DHXICh0E.js} +9 -9
- package/dist/{onboarding.finalize-PgZt3gN6.js → onboarding.finalize-rOrwkS0W.js} +8 -8
- package/dist/{pi-embedded-helpers-B3csacnv.js → pi-embedded-helpers-Bp4JFTbe.js} +4 -4
- package/dist/{pi-embedded-D89dyS-z.js → pi-embedded-wrv2rBWt.js} +10 -53
- package/dist/{plugin-registry-B6MlsL7T.js → plugin-registry-CE-bQL5d.js} +1 -1
- package/dist/{plugin-registry-yCMeMFu0.js → plugin-registry-CtkGVd3t.js} +1 -1
- package/dist/plugin-sdk/agents/system-prompt.d.ts +0 -8
- package/dist/plugin-sdk/{channel-web-3MFItfGM.js → channel-web-C18g6B0w.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{manager-3qq3BC5o.js → manager-Ynxj9D_4.js} +1 -1
- package/dist/plugin-sdk/{synthesis-CHIk9ebl.js → synthesis-CO2ZQFu6.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-CS3TLTr5.js → unified-runner-BUI9ninR.js} +10 -53
- package/dist/plugin-sdk/{web-C_btjy2v.js → web-C_rB_m-e.js} +3 -3
- package/dist/{plugins-cli-DBM0eqIl.js → plugins-cli-B3YG8VEg.js} +4 -4
- package/dist/{plugins-cli-DnQRhfaI.js → plugins-cli-Bn8-8_23.js} +4 -4
- package/dist/{program-Dx8ddxuC.js → program-QzRBcmP4.js} +9 -9
- package/dist/{program-context-Kqz-xUms.js → program-context-CjPUq-R7.js} +18 -18
- package/dist/{prompt-select-styled-C-U7yJky.js → prompt-select-styled-d10JLxa3.js} +6 -6
- package/dist/{prompt-select-styled-BEZWd-py.js → prompt-select-styled-dqy-Baz2.js} +6 -6
- package/dist/{provider-auth-helpers-CJ108Rsr.js → provider-auth-helpers-CJPijGRq.js} +1 -1
- package/dist/{provider-auth-helpers-Dc3ug5a6.js → provider-auth-helpers-GQogKjFE.js} +1 -1
- package/dist/{push-apns-DasrMMsn.js → push-apns-DfSe7sOB.js} +1 -1
- package/dist/{push-apns-DRR-HRKQ.js → push-apns-UoRptSMP.js} +1 -1
- package/dist/{pw-ai-C_ZQ5KA2.js → pw-ai-BLFBlLvS.js} +1 -1
- package/dist/{register.agent-DF0zbJsS.js → register.agent-B5HMEuxb.js} +7 -7
- package/dist/{register.agent-Drr5pvPp.js → register.agent-B921Y-Xq.js} +8 -8
- package/dist/{register.configure-B7PDd52g.js → register.configure-CkrM0qTb.js} +9 -9
- package/dist/{register.configure-C4dZYkuQ.js → register.configure-DZ8PDClo.js} +9 -9
- package/dist/{register.maintenance-8F8uINLC.js → register.maintenance-B9YU5-GH.js} +11 -11
- package/dist/{register.maintenance-DkmjPWtb.js → register.maintenance-DIcuZbGe.js} +10 -10
- package/dist/{register.message-B1PiyGQ2.js → register.message-Bdq8-X7N.js} +4 -4
- package/dist/{register.message-CzyYuc7t.js → register.message-BmZ3x-eK.js} +4 -4
- package/dist/{register.onboard-DdYnTEjn.js → register.onboard-C96aB4BV.js} +7 -7
- package/dist/{register.onboard-BOmdO2qG.js → register.onboard-VpvDadRB.js} +7 -7
- package/dist/{register.setup-CnsgKGcx.js → register.setup-Btpke2Rx.js} +7 -7
- package/dist/{register.setup-CcyYgmFt.js → register.setup-a37lwmwS.js} +7 -7
- package/dist/{register.status-health-sessions-B1LYyJ5d.js → register.status-health-sessions-C2Wa5UnZ.js} +6 -6
- package/dist/{register.status-health-sessions-Dd-Lq7-v.js → register.status-health-sessions-ITqLC3Rb.js} +6 -6
- package/dist/{register.subclis-BN_La0-g.js → register.subclis-XCByhkDw.js} +9 -9
- package/dist/{run-main-DTa68vHK.js → run-main-BpWSzwB6.js} +17 -17
- package/dist/{runner-UgKupJ1D.js → runner-WxoM5P3c.js} +1 -1
- package/dist/{server-methods-DIxCrgKY.js → server-methods-CdYIBXWp.js} +9 -9
- package/dist/{server-methods-Ma0EgQYj.js → server-methods-DtNHC0b_.js} +9 -9
- package/dist/{server-node-events-Cw0XpTQ7.js → server-node-events-Dq1ZMCf6.js} +4 -4
- package/dist/{server-node-events-BhaLgVwj.js → server-node-events-yTZOzVQs.js} +4 -4
- package/dist/{status-WL5HKxk5.js → status-BF1RMYPZ.js} +1 -1
- package/dist/{status-CwoFZ1SN.js → status-C0MQarC1.js} +3 -3
- package/dist/{status-DSIeCLqw.js → status-DoHU1AjC.js} +3 -3
- package/dist/{status-SBqKRlSB.js → status-LPAgOj7a.js} +1 -1
- package/dist/{subagent-registry-Ci5g29Mp.js → subagent-registry-U0ugNIM_.js} +9 -52
- package/dist/{synthesis-CR7CavII.js → synthesis-BY2LWYcE.js} +3 -3
- package/dist/{synthesis-BcXONbp0.js → synthesis-CKPctksF.js} +7 -7
- package/dist/{synthesis-BeVG2lGs.js → synthesis-DT9QrCN7.js} +3 -3
- package/dist/{synthesis-YxmVZaLu.js → synthesis-DyJ5S1RD.js} +2 -2
- package/dist/{unified-runner-D_5_J0nE.js → unified-runner-BZ9aCu-a.js} +24 -67
- package/dist/{unified-runner-BXwSSfqN.js → unified-runner-CBI-Swnu.js} +9 -52
- package/dist/{update-cli-DA8fm8Rl.js → update-cli-BiI3lh2-.js} +10 -10
- package/dist/{update-cli-CLeCba_r.js → update-cli-C2P8Rlb9.js} +11 -11
- package/dist/{update-runner-CBhotLBj.js → update-runner-8kzamnJ4.js} +1 -1
- package/dist/{update-runner-CojT7WjB.js → update-runner-B8HeQMh9.js} +1 -1
- package/dist/{web-7whaNwuf.js → web-Bc4Wpswl.js} +4 -4
- package/dist/{web-DJLqJtdE.js → web-BlFUXBMY.js} +7 -7
- package/dist/{web-Bajdq5Wa.js → web-CkR_yCA_.js} +2 -2
- package/dist/{web-DDJKA0cd.js → web-D4YLetRH.js} +5 -5
- package/package.json +1 -1
|
@@ -3972,7 +3972,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3972
3972
|
* to bypass the min-interval guard (CLI use).
|
|
3973
3973
|
*/
|
|
3974
3974
|
async runL3CycleIfDue(params) {
|
|
3975
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-tpfmfqvr.js"), import("./synthesis-
|
|
3975
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-tpfmfqvr.js"), import("./synthesis-CKPctksF.js")]);
|
|
3976
3976
|
const synthesize = createSynthesizer({
|
|
3977
3977
|
cfg: this.cfg,
|
|
3978
3978
|
agentId: this.agentId,
|
|
@@ -3972,7 +3972,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3972
3972
|
* to bypass the min-interval guard (CLI use).
|
|
3973
3973
|
*/
|
|
3974
3974
|
async runL3CycleIfDue(params) {
|
|
3975
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-2NaeqmAF.js"), import("./synthesis-
|
|
3975
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-2NaeqmAF.js"), import("./synthesis-DyJ5S1RD.js")]);
|
|
3976
3976
|
const synthesize = createSynthesizer({
|
|
3977
3977
|
cfg: this.cfg,
|
|
3978
3978
|
agentId: this.agentId,
|
|
@@ -3969,7 +3969,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3969
3969
|
* to bypass the min-interval guard (CLI use).
|
|
3970
3970
|
*/
|
|
3971
3971
|
async runL3CycleIfDue(params) {
|
|
3972
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CI_2B-ig.js"), import("./synthesis-
|
|
3972
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CI_2B-ig.js"), import("./synthesis-BY2LWYcE.js")]);
|
|
3973
3973
|
const synthesize = createSynthesizer({
|
|
3974
3974
|
cfg: this.cfg,
|
|
3975
3975
|
agentId: this.agentId,
|
|
@@ -3972,7 +3972,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3972
3972
|
* to bypass the min-interval guard (CLI use).
|
|
3973
3973
|
*/
|
|
3974
3974
|
async runL3CycleIfDue(params) {
|
|
3975
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-BjGO8rhH.js"), import("./synthesis-
|
|
3975
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-BjGO8rhH.js"), import("./synthesis-DT9QrCN7.js")]);
|
|
3976
3976
|
const synthesize = createSynthesizer({
|
|
3977
3977
|
cfg: this.cfg,
|
|
3978
3978
|
agentId: this.agentId,
|
|
@@ -6,7 +6,7 @@ import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readC
|
|
|
6
6
|
import { n as formatErrorMessage } from "./errors-Ba_ROWsq.js";
|
|
7
7
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
8
8
|
import { t as splitShellArgs } from "./shell-argv-DjSugwgF.js";
|
|
9
|
-
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
9
|
+
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-CSbEQqJL.js";
|
|
10
10
|
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-C2jxeHS9.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-CxyMXTsn.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-CI_KkT8q.js";
|
|
@@ -224,7 +224,7 @@ async function getMemorySearchManager(params) {
|
|
|
224
224
|
const wrapper = new FallbackMemoryManager({
|
|
225
225
|
primary,
|
|
226
226
|
fallbackFactory: async () => {
|
|
227
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
227
|
+
const { MemoryIndexManager } = await import("./manager-CSbEQqJL.js").then((n) => n.t);
|
|
228
228
|
return await MemoryIndexManager.get(params);
|
|
229
229
|
}
|
|
230
230
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -237,7 +237,7 @@ async function getMemorySearchManager(params) {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
try {
|
|
240
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
240
|
+
const { MemoryIndexManager } = await import("./manager-CSbEQqJL.js").then((n) => n.t);
|
|
241
241
|
return { manager: await MemoryIndexManager.get(params) };
|
|
242
242
|
} catch (err) {
|
|
243
243
|
return {
|
|
@@ -8,7 +8,7 @@ import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readC
|
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-CBVhQiQ9.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BtFfPm8h.js";
|
|
10
10
|
import { t as splitShellArgs } from "./shell-argv-CotdnqZ6.js";
|
|
11
|
-
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
11
|
+
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-wiJTQCIl.js";
|
|
12
12
|
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-7ow_5D0m.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-WYbQ3TWy.js";
|
|
14
14
|
import { r as withManager } from "./cli-utils-aSBNHQae.js";
|
|
@@ -226,7 +226,7 @@ async function getMemorySearchManager(params) {
|
|
|
226
226
|
const wrapper = new FallbackMemoryManager({
|
|
227
227
|
primary,
|
|
228
228
|
fallbackFactory: async () => {
|
|
229
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
229
|
+
const { MemoryIndexManager } = await import("./manager-wiJTQCIl.js").then((n) => n.t);
|
|
230
230
|
return await MemoryIndexManager.get(params);
|
|
231
231
|
}
|
|
232
232
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -239,7 +239,7 @@ async function getMemorySearchManager(params) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
try {
|
|
242
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
242
|
+
const { MemoryIndexManager } = await import("./manager-wiJTQCIl.js").then((n) => n.t);
|
|
243
243
|
return { manager: await MemoryIndexManager.get(params) };
|
|
244
244
|
} catch (err) {
|
|
245
245
|
return {
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-DTPW2KDo.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-3BI2zcHc.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { C as parseDurationMs, i as loadConfig } from "./config-DUkEbW2B.js";
|
|
10
|
-
import { St as describeFailoverError, X as runAgentTurn, _n as DEFAULT_OAUTH_WARN_MS, cn as formatUsageWindowSummary, gn as maskApiKey, ln as resolveUsageProviderId, on as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-
|
|
10
|
+
import { St as describeFailoverError, X as runAgentTurn, _n as DEFAULT_OAUTH_WARN_MS, cn as formatUsageWindowSummary, gn as maskApiKey, ln as resolveUsageProviderId, on as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-U0ugNIM_.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-rmCpMKFF.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-Ca2r6bCV.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-yQZNwAF2.js";
|
|
|
21
21
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-ChadEZ4F.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DAslWrae.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CJPijGRq.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-kDKyoL1-.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-U0ugNIM_.js";
|
|
18
18
|
import "./sessions-BTIQHLw1.js";
|
|
19
19
|
import "./tokens-BEvOiQ65.js";
|
|
20
20
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-rmCpMKFF.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-DYjxP-KO.js";
|
|
56
|
+
import "./manager-CSbEQqJL.js";
|
|
57
57
|
import "./gemini-auth-DJu92wJe.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -104,8 +104,8 @@ import "./table-Bka4fasy.js";
|
|
|
104
104
|
import "./shared-ChadEZ4F.js";
|
|
105
105
|
import "./auth-token-DAslWrae.js";
|
|
106
106
|
import "./logging-PVQxLC6I.js";
|
|
107
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
108
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
107
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-CJPijGRq.js";
|
|
108
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-Dv2h1wDZ.js";
|
|
109
109
|
|
|
110
110
|
//#region src/cli/models-cli.ts
|
|
111
111
|
function runModelsCommand(action) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import { $t as resolveUsageProviderId, Qt as formatUsageWindowSummary, Rr as describeFailoverError, Xt as loadProviderUsageSummary, cn as DEFAULT_OAUTH_WARN_MS, ln as buildAuthHealthSummary, sn as maskApiKey, t as runAgentTurn, un as formatRemainingShort } from "./unified-runner-
|
|
4
|
+
import { $t as resolveUsageProviderId, Qt as formatUsageWindowSummary, Rr as describeFailoverError, Xt as loadProviderUsageSummary, cn as DEFAULT_OAUTH_WARN_MS, ln as buildAuthHealthSummary, sn as maskApiKey, t as runAgentTurn, un as formatRemainingShort } from "./unified-runner-CBI-Swnu.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import { Ct as resolveEnvApiKey, Dt as getShellEnvAppliedKeys, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, L as normalizeProviderId, M as findNormalizedProviderValue, Mt as shouldEnableShellEnvFallback, R as parseModelRef, St as resolveAwsSdkEnvVarName, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _ as setAuthProfileOrder, b as ensureAuthProfileStore, h as listProfilesForProvider, j as buildModelAliasIndex, n as resolveAuthProfileOrder, s as resolveProfileUnusableUntilForDisplay, v as upsertAuthProfile, w as resolveAuthStorePathForDisplay, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-CrvwoJwJ.js";
|
|
@@ -56,8 +56,8 @@ import "./send-Bi3X5tzR.js";
|
|
|
56
56
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-BoA0I9Z3.js";
|
|
57
57
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CXXH7biP.js";
|
|
58
58
|
import "./reply-prefix-DnXliXio.js";
|
|
59
|
-
import "./memory-cli-
|
|
60
|
-
import "./manager-
|
|
59
|
+
import "./memory-cli-xeFyVyjI.js";
|
|
60
|
+
import "./manager-wiJTQCIl.js";
|
|
61
61
|
import "./gemini-auth-BqFJSb7o.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -111,7 +111,7 @@ import { n as redactSecrets } from "./format-DNqZrSx7.js";
|
|
|
111
111
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-BnAQJLUe.js";
|
|
112
112
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BkOnA6Rz.js";
|
|
113
113
|
import { n as logConfigUpdated } from "./logging-CZuxhCZR.js";
|
|
114
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
114
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-GQogKjFE.js";
|
|
115
115
|
import crypto from "node:crypto";
|
|
116
116
|
import path from "node:path";
|
|
117
117
|
import fs from "node:fs/promises";
|
|
@@ -11,8 +11,8 @@ import { t as createClackPrompter } from "./clack-prompter-Cd5Ohk77.js";
|
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-1___eZD6.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
+
import { r as healthCommand } from "./health-DxCLDRPA.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-UknWo-xb.js";
|
|
16
16
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-BkOnA6Rz.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-CZuxhCZR.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-C7jeLI7r.js";
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-BofkqBu7.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-dVQBgbn1.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-DSzOCClw.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DAslWrae.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-CBI-Swnu.js";
|
|
3
3
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-ClO_zVv-.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CyXZlazG.js";
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
4
4
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-xM36I1Em.js";
|
|
6
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-U0ugNIM_.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DTKQE9kt.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-CxyMXTsn.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-KcLvtTfa.js";
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-BY66DhbU.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DF6R_pgV.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-CgKZ9HY1.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-DlQFNChK.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-CVur44fi.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-DTKQE9kt.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-uTnRY9Xc.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DHXICh0E.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -225,7 +225,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
225
225
|
const { ensureAuthProfileStore } = await import("./auth-profiles-CrvwoJwJ.js").then((n) => n.t);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-PeQmwVpp.js").then((n) => n.t);
|
|
227
227
|
const { promptCustomApiConfig } = await import("./onboard-custom-CYn3SKqw.js").then((n) => n.r);
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CcbSp-5F.js").then((n) => n.t);
|
|
229
229
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BKd3AB-u.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -278,7 +278,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
280
|
const { listChannelPlugins } = await import("./plugins-BL5D1_sT.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-D36jVNHS.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-rOrwkS0W.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -15,7 +15,7 @@ import "./client-CJIMV1WD.js";
|
|
|
15
15
|
import "./call-kDKyoL1-.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import "./subagent-registry-
|
|
18
|
+
import "./subagent-registry-U0ugNIM_.js";
|
|
19
19
|
import "./sessions-BTIQHLw1.js";
|
|
20
20
|
import "./tokens-BEvOiQ65.js";
|
|
21
21
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -53,8 +53,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
53
53
|
import "./thinking-8sKPnzpp.js";
|
|
54
54
|
import "./models-config-rmCpMKFF.js";
|
|
55
55
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
56
|
-
import "./memory-cli-
|
|
57
|
-
import "./manager-
|
|
56
|
+
import "./memory-cli-DYjxP-KO.js";
|
|
57
|
+
import "./manager-CSbEQqJL.js";
|
|
58
58
|
import "./gemini-auth-DJu92wJe.js";
|
|
59
59
|
import "./retry-C4Q_VPOo.js";
|
|
60
60
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -99,20 +99,20 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
99
99
|
import "./prompt-style-BxVdnrLq.js";
|
|
100
100
|
import "./pairing-labels-dpL8GGa5.js";
|
|
101
101
|
import "./pi-tools.policy-CPzRWC47.js";
|
|
102
|
-
import "./heartbeat-visibility-
|
|
102
|
+
import "./heartbeat-visibility-B3jYfx_N.js";
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
|
-
import "./register.subclis-
|
|
105
|
-
import "./command-registry-
|
|
104
|
+
import "./register.subclis-XCByhkDw.js";
|
|
105
|
+
import "./command-registry-C4fEo5jO.js";
|
|
106
106
|
import "./program-context-DeZ44oQ9.js";
|
|
107
|
-
import { r as installCompletion } from "./completion-cli-
|
|
107
|
+
import { r as installCompletion } from "./completion-cli-D6k2XhFb.js";
|
|
108
108
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CPBdJhrm.js";
|
|
109
109
|
import "./runtime-guard-BofkqBu7.js";
|
|
110
110
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
111
111
|
import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
112
|
-
import { r as healthCommand } from "./health-
|
|
112
|
+
import { r as healthCommand } from "./health-dVQBgbn1.js";
|
|
113
113
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DKcwWWGv.js";
|
|
114
114
|
import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
|
|
115
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
115
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DLglYX3z.js";
|
|
116
116
|
import { t as runTui } from "./tui-CejwlgXv.js";
|
|
117
117
|
import os from "node:os";
|
|
118
118
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import "./unified-runner-
|
|
4
|
+
import "./unified-runner-CBI-Swnu.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { p as restoreTerminalState } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CrvwoJwJ.js";
|
|
@@ -56,8 +56,8 @@ import "./send-Bi3X5tzR.js";
|
|
|
56
56
|
import "./model-BoA0I9Z3.js";
|
|
57
57
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
58
58
|
import "./reply-prefix-DnXliXio.js";
|
|
59
|
-
import "./memory-cli-
|
|
60
|
-
import "./manager-
|
|
59
|
+
import "./memory-cli-xeFyVyjI.js";
|
|
60
|
+
import "./manager-wiJTQCIl.js";
|
|
61
61
|
import "./gemini-auth-BqFJSb7o.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -103,18 +103,18 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
|
|
|
103
103
|
import "./prompt-style-CSNJI4MG.js";
|
|
104
104
|
import "./pairing-labels-Bgr9UPYm.js";
|
|
105
105
|
import "./pi-tools.policy-jStbD7w8.js";
|
|
106
|
-
import "./heartbeat-visibility-
|
|
106
|
+
import "./heartbeat-visibility-B2M69szZ.js";
|
|
107
107
|
import "./runtime-guard-dBbuLE2m.js";
|
|
108
|
-
import "./program-context-
|
|
108
|
+
import "./program-context-CjPUq-R7.js";
|
|
109
109
|
import "./note-CYS1SoX6.js";
|
|
110
|
-
import { r as installCompletion } from "./completion-cli-
|
|
110
|
+
import { r as installCompletion } from "./completion-cli-CTRhriVd.js";
|
|
111
111
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-1___eZD6.js";
|
|
112
112
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
113
113
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
114
|
-
import { r as healthCommand } from "./health-
|
|
114
|
+
import { r as healthCommand } from "./health-DxCLDRPA.js";
|
|
115
115
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CtKVON4w.js";
|
|
116
116
|
import { t as formatHealthCheckFailure } from "./health-format-Ct4VWeSk.js";
|
|
117
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
117
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D31vWLKd.js";
|
|
118
118
|
import { t as runTui } from "./tui-flKcmkCW.js";
|
|
119
119
|
import os from "node:os";
|
|
120
120
|
import path from "node:path";
|
|
@@ -8,7 +8,7 @@ import { g as isPidAlive, h as resolveProcessScopedMap } from "./auth-profiles-k
|
|
|
8
8
|
import { n as formatCliCommand } from "./env-BDXYbTKj.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
10
10
|
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DHXmZSyF.js";
|
|
11
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
11
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CqPheSG3.js";
|
|
12
12
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-DjtoXuuJ.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-XIsvXeC-.js";
|
|
14
14
|
import { b as openFileWithinRoot, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, y as SafeOpenError } from "./image-ops-DFFGK0lW.js";
|
|
@@ -940,7 +940,7 @@ function isModuleNotFoundError(err) {
|
|
|
940
940
|
}
|
|
941
941
|
async function loadPwAiModule(mode) {
|
|
942
942
|
try {
|
|
943
|
-
return await import("./pw-ai-
|
|
943
|
+
return await import("./pw-ai-BLFBlLvS.js");
|
|
944
944
|
} catch (err) {
|
|
945
945
|
if (mode === "soft") return null;
|
|
946
946
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3480,11 +3480,11 @@ function createProfileContext(opts, profile) {
|
|
|
3480
3480
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3481
3481
|
const profileState = getProfileState();
|
|
3482
3482
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3483
|
-
await (await import("./pw-ai-
|
|
3483
|
+
await (await import("./pw-ai-BLFBlLvS.js")).closePlaywrightBrowserConnection();
|
|
3484
3484
|
} catch {}
|
|
3485
3485
|
if (profileState.running) await stopRunningBrowser();
|
|
3486
3486
|
try {
|
|
3487
|
-
await (await import("./pw-ai-
|
|
3487
|
+
await (await import("./pw-ai-BLFBlLvS.js")).closePlaywrightBrowserConnection();
|
|
3488
3488
|
} catch {}
|
|
3489
3489
|
if (!fs.existsSync(userDataDir)) return {
|
|
3490
3490
|
moved: false,
|
|
@@ -37,7 +37,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
37
37
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C8Tqw4td.js";
|
|
38
38
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-CdTyeTEN.js";
|
|
39
39
|
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-GcVW1pD-.js";
|
|
40
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
40
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-CHLCClaz.js";
|
|
41
41
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-479FB0St.js";
|
|
42
42
|
import { n as retryAsync } from "./retry-QGp0jvVi.js";
|
|
43
43
|
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-43lkDH_r.js";
|
|
@@ -3473,7 +3473,7 @@ async function getMemorySearchManager(params) {
|
|
|
3473
3473
|
const wrapper = new FallbackMemoryManager({
|
|
3474
3474
|
primary,
|
|
3475
3475
|
fallbackFactory: async () => {
|
|
3476
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3476
|
+
const { MemoryIndexManager } = await import("./manager-CHLCClaz.js").then((n) => n.t);
|
|
3477
3477
|
return await MemoryIndexManager.get(params);
|
|
3478
3478
|
}
|
|
3479
3479
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3486,7 +3486,7 @@ async function getMemorySearchManager(params) {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
try {
|
|
3489
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3489
|
+
const { MemoryIndexManager } = await import("./manager-CHLCClaz.js").then((n) => n.t);
|
|
3490
3490
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3491
3491
|
} catch (err) {
|
|
3492
3492
|
return {
|
|
@@ -22085,40 +22085,6 @@ function sanitizeForPromptLiteral(value) {
|
|
|
22085
22085
|
|
|
22086
22086
|
//#endregion
|
|
22087
22087
|
//#region src/agents/system-prompt.ts
|
|
22088
|
-
/**
|
|
22089
|
-
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
22090
|
-
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
22091
|
-
* for inlining into the system prompt — gives the agent the actual file
|
|
22092
|
-
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
22093
|
-
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
22094
|
-
*/
|
|
22095
|
-
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
22096
|
-
if (!workspaceDir) return [];
|
|
22097
|
-
const memoryDir = path.join(workspaceDir, "memory");
|
|
22098
|
-
let entries;
|
|
22099
|
-
try {
|
|
22100
|
-
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
22101
|
-
} catch {
|
|
22102
|
-
return [];
|
|
22103
|
-
}
|
|
22104
|
-
const files = [];
|
|
22105
|
-
for (const entry of entries) {
|
|
22106
|
-
if (!entry.isFile()) continue;
|
|
22107
|
-
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
22108
|
-
let mtimeMs = 0;
|
|
22109
|
-
try {
|
|
22110
|
-
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
22111
|
-
} catch {
|
|
22112
|
-
mtimeMs = 0;
|
|
22113
|
-
}
|
|
22114
|
-
files.push({
|
|
22115
|
-
name: entry.name,
|
|
22116
|
-
mtimeMs
|
|
22117
|
-
});
|
|
22118
|
-
}
|
|
22119
|
-
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
22120
|
-
return files.slice(0, limit).map((f) => f.name);
|
|
22121
|
-
}
|
|
22122
22088
|
function buildSkillsSection(params) {
|
|
22123
22089
|
if (params.isMinimal) return [];
|
|
22124
22090
|
if (params.dropCatalog) return [];
|
|
@@ -22142,21 +22108,13 @@ function buildMemorySection(params) {
|
|
|
22142
22108
|
"## Memory Recall",
|
|
22143
22109
|
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
|
|
22144
22110
|
"",
|
|
22145
|
-
"**Never speculate memory file paths.** Use memory_search to find content; do not construct paths like `memory/<date>.md` from training-data priors and call read on them — that produces ENOENT spam and trips the consecutive-tool-error breaker.",
|
|
22146
|
-
"",
|
|
22147
22111
|
"Memory is split into two layers you will see as files:",
|
|
22148
22112
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
22149
|
-
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation.
|
|
22150
|
-
"-
|
|
22113
|
+
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation to `memory/YYYY-MM-DD.md` — the cycle will reconcile them.",
|
|
22114
|
+
"- `memory/YYYY-MM-DD.md` — daily append-only observations. This is where new memories land.",
|
|
22115
|
+
"",
|
|
22116
|
+
"When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it."
|
|
22151
22117
|
];
|
|
22152
|
-
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
22153
|
-
if (memoryFiles.length > 0) {
|
|
22154
|
-
lines.push("");
|
|
22155
|
-
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
22156
|
-
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
22157
|
-
}
|
|
22158
|
-
lines.push("");
|
|
22159
|
-
lines.push("When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it.");
|
|
22160
22118
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
22161
22119
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
22162
22120
|
lines.push("");
|
|
@@ -22445,8 +22403,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
22445
22403
|
const memorySection = buildMemorySection({
|
|
22446
22404
|
isMinimal,
|
|
22447
22405
|
availableTools,
|
|
22448
|
-
citationsMode: params.memoryCitationsMode
|
|
22449
|
-
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
22406
|
+
citationsMode: params.memoryCitationsMode
|
|
22450
22407
|
});
|
|
22451
22408
|
const docsSection = buildDocsSection({
|
|
22452
22409
|
docsPath: params.docsPath,
|
|
@@ -61030,7 +60987,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
61030
60987
|
function createDefaultDeps() {
|
|
61031
60988
|
return {
|
|
61032
60989
|
sendMessageWhatsApp: async (...args) => {
|
|
61033
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
60990
|
+
const { sendMessageWhatsApp } = await import("./web-CkR_yCA_.js");
|
|
61034
60991
|
return await sendMessageWhatsApp(...args);
|
|
61035
60992
|
},
|
|
61036
60993
|
sendMessageTelegram: async (...args) => {
|
|
@@ -76310,7 +76267,7 @@ function loadWebLoginQr() {
|
|
|
76310
76267
|
return webLoginQrPromise;
|
|
76311
76268
|
}
|
|
76312
76269
|
function loadWebChannel() {
|
|
76313
|
-
webChannelPromise ??= import("./web-
|
|
76270
|
+
webChannelPromise ??= import("./web-CkR_yCA_.js");
|
|
76314
76271
|
return webChannelPromise;
|
|
76315
76272
|
}
|
|
76316
76273
|
function loadWhatsAppActions() {
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-xM36I1Em.js";
|
|
4
4
|
import { i as loadConfig } from "./config-DUkEbW2B.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-U0ugNIM_.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { s as loadSymiPlugins } from "./unified-runner-CBI-Swnu.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-ClO_zVv-.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BajBuriF.js";
|
|
@@ -2,14 +2,6 @@ import type { ReasoningLevel, ThinkLevel } from "../auto-reply/thinking.js";
|
|
|
2
2
|
import type { MemoryCitationsMode } from "../config/types.memory.js";
|
|
3
3
|
import type { ResolvedTimeFormat } from "./date-time.js";
|
|
4
4
|
import type { EmbeddedContextFile } from "./pi-embedded-helpers.js";
|
|
5
|
-
/**
|
|
6
|
-
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
7
|
-
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
8
|
-
* for inlining into the system prompt — gives the agent the actual file
|
|
9
|
-
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
10
|
-
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
11
|
-
*/
|
|
12
|
-
export declare function listWorkspaceMemoryFiles(workspaceDir: string, limit?: number): string[];
|
|
13
5
|
/**
|
|
14
6
|
* Controls which hardcoded sections are included in the system prompt.
|
|
15
7
|
* - "full": All sections (default, for main agent)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
-
import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-
|
|
3
|
+
import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-BUI9ninR.js";
|
|
4
4
|
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry-D0xTnUWt.js";
|
|
5
5
|
import { n as loadConfig } from "./config-sW6sHEjP.js";
|
|
6
6
|
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|