@symerian/symi 3.5.37 → 3.5.38
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/{agent-CDO1qw1v.js → agent-BTGl36fO.js} +1 -1
- package/dist/{agent-DzA2WwRp.js → agent-D-r1jDDr.js} +1 -1
- package/dist/{agents-DQjhvX1j.js → agents-qlUHy5Br.js} +2 -2
- package/dist/{auth-choice-COhQLofQ.js → auth-choice-B8hl2zQ_.js} +1 -1
- package/dist/{auth-choice-HSjAtQjK.js → auth-choice-DmQV3qVD.js} +1 -1
- package/dist/{banner-DX6NfQFm.js → banner-B_FIPskF.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Qp19SWyp.js → channel-options-B3FrqAbY.js} +1 -1
- package/dist/{channel-options-D9Rpx5rg.js → channel-options-CXChz2Gl.js} +1 -1
- package/dist/{channels-cli-CmXNxU4q.js → channels-cli-BqTjGrnV.js} +7 -7
- package/dist/{channels-cli-D9VaH6xu.js → channels-cli-DJruxsCI.js} +7 -7
- package/dist/{chrome-CmQwGAuL.js → chrome-OTJg3QKn.js} +7 -7
- package/dist/{cli-Cn3SPe9j.js → cli-n3Th69Yr.js} +4 -4
- package/dist/{cli-Bzqwe7pe.js → cli-oKtyaG-m.js} +4 -4
- package/dist/{command-registry-DrE1jnSD.js → command-registry-CL9Kg-yN.js} +10 -10
- package/dist/{completion-cli-BBPRS_8d.js → completion-cli-CNVJwiv2.js} +2 -2
- package/dist/{completion-cli-aT_WQ3JR.js → completion-cli-CRZLUn7D.js} +1 -1
- package/dist/{config-cli-CD6ciGup.js → config-cli-DGd8g_Ct.js} +1 -1
- package/dist/{config-cli-DeDb4W-l.js → config-cli-DfRMdVFn.js} +1 -1
- package/dist/{configure-CYjlPBqc.js → configure-CCwkHVZQ.js} +2 -2
- package/dist/{configure-FUZaNK86.js → configure-DsebNj9T.js} +2 -2
- package/dist/control-ui/css/style.css +74 -0
- package/dist/control-ui/js/symframe.js +68 -0
- package/dist/{deliver-B04yNX82.js → deliver-BiWlR84Y.js} +4 -4
- package/dist/{doctor-completion-CAlfPXUW.js → doctor-completion-D4zwYnEN.js} +1 -1
- package/dist/{doctor-completion-d7GlA1cP.js → doctor-completion-DEqpjKDZ.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-vsadfWee.js → gateway-cli-BJ6xAu7G.js} +10 -10
- package/dist/{gateway-cli-1VbI-_Bq.js → gateway-cli-DyftuEOb.js} +10 -10
- package/dist/{glass-ui-ws-5qfhLxPm.js → glass-ui-ws-BLTXXspr.js} +8 -8
- package/dist/{glass-ui-ws-BbO6e3iI.js → glass-ui-ws-Bn9B5Ac_.js} +8 -8
- package/dist/{hooks-cli-gBkwYJqr.js → hooks-cli-B2V8uacu.js} +5 -5
- package/dist/{hooks-cli-C43d1R3q.js → hooks-cli-DfCuxn1F.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{manager-DGh2Z3k1.js → manager-BXM8F9zI.js} +1 -1
- package/dist/{manager-vRs88zs_.js → manager-CDkFM3pi.js} +1 -1
- package/dist/{manager-Dq705UbH.js → manager-DjgKz80p.js} +1 -1
- package/dist/{manager-B5P5EgIP.js → manager-IHsU3dHx.js} +1 -1
- package/dist/{memory-CH-8Z7r7.js → memory-BLluF2i6.js} +2 -2
- package/dist/{memory-DkAg5sbK.js → memory-DgS1AC6J.js} +2 -2
- package/dist/{memory-cli-M6FiqgSK.js → memory-cli-DQTznta7.js} +2 -2
- package/dist/{memory-cli-CUQGhpc5.js → memory-cli-jmPQDz2s.js} +2 -2
- package/dist/{models-6DjS559Z.js → models-BVDQwjWd.js} +2 -2
- package/dist/{models-cli-5BfF_sFl.js → models-cli-B1rXMGPT.js} +6 -6
- package/dist/{models-cli-D7cfClDO.js → models-cli-DAwcBLHF.js} +5 -5
- package/dist/{onboard-BhXq2EXc.js → onboard-BIPhgfaW.js} +1 -1
- package/dist/{onboard-we3yileo.js → onboard-C9k0zmHq.js} +1 -1
- package/dist/{onboard-channels-BaMPymWt.js → onboard-channels-BEi6XlDW.js} +1 -1
- package/dist/{onboard-channels-BlAPAiqf.js → onboard-channels-BkmP8-BZ.js} +1 -1
- package/dist/{onboarding-CT9WoHsY.js → onboarding-B1NNMstX.js} +3 -3
- package/dist/{onboarding-CWb8cdrF.js → onboarding-B2Km9GAJ.js} +3 -3
- package/dist/{onboarding.finalize-DuDe6mVl.js → onboarding.finalize-DJghG2o6.js} +3 -3
- package/dist/{onboarding.finalize-Dx44S_JZ.js → onboarding.finalize-xL4ImbkA.js} +4 -4
- package/dist/{pi-embedded-B0PVRhQL.js → pi-embedded-LB2aszfv.js} +40 -3
- package/dist/{plugin-registry-Dz2TX8GW.js → plugin-registry-C2TXQh4N.js} +1 -1
- package/dist/{plugin-registry-BU848TRC.js → plugin-registry-CPEFf3Lg.js} +1 -1
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-CSg1c7CW.js → plugins-cli-Df8zFZuP.js} +5 -5
- package/dist/{plugins-cli-gbeibwVM.js → plugins-cli-DiB98WvI.js} +5 -5
- package/dist/{program-j2ijuc_q.js → program-BUv-qGcY.js} +10 -10
- package/dist/{program-context-CfkRVEf1.js → program-context-B2L7Zll7.js} +18 -18
- package/dist/{prompt-select-styled-DQPC6tIG.js → prompt-select-styled-BMyhMWqW.js} +4 -4
- package/dist/{prompt-select-styled-T3xNCD3A.js → prompt-select-styled-DCTSxBvr.js} +4 -4
- package/dist/{provider-auth-helpers-BVsLvcTN.js → provider-auth-helpers-4CHkGgIn.js} +1 -1
- package/dist/{provider-auth-helpers--vDzHS5a.js → provider-auth-helpers-FDwi4Yzt.js} +1 -1
- package/dist/{push-apns-MzhuZXok.js → push-apns-BzR8krCb.js} +1 -1
- package/dist/{push-apns-CgOg6uMk.js → push-apns-MTIWc9yH.js} +1 -1
- package/dist/{pw-ai-DLsdzdgc.js → pw-ai-DY_6l11g.js} +1 -1
- package/dist/{register.agent-Dx35KGyf.js → register.agent-CIA-0mpo.js} +8 -8
- package/dist/{register.agent-CuN2ad51.js → register.agent-COTicWGL.js} +9 -9
- package/dist/{register.configure-BG1-5fPo.js → register.configure-BV_zrg1a.js} +8 -8
- package/dist/{register.configure-Du8LMA8y.js → register.configure-RZHIHn4g.js} +8 -8
- package/dist/{register.maintenance-CkQe6RmA.js → register.maintenance-B7OkvZK3.js} +8 -8
- package/dist/{register.maintenance-BhzxiuPp.js → register.maintenance-Bgr2ezP7.js} +9 -9
- package/dist/{register.message-DpbzBOu0.js → register.message-B87VSL0P.js} +5 -5
- package/dist/{register.message-tM5npWX-.js → register.message-MnKGR-CU.js} +5 -5
- package/dist/{register.onboard-BsWQiEyl.js → register.onboard-B-mQpES-.js} +2 -2
- package/dist/{register.onboard-HYjNN28o.js → register.onboard-uE1fuOoP.js} +2 -2
- package/dist/{register.setup-oIXgNxYx.js → register.setup-DvW7pEmV.js} +2 -2
- package/dist/{register.setup-BcoMdo3D.js → register.setup-fD86QH-Z.js} +2 -2
- package/dist/{register.status-health-sessions--sQTwXrv.js → register.status-health-sessions-CZlmKKRr.js} +3 -3
- package/dist/{register.status-health-sessions-BRCKvxKZ.js → register.status-health-sessions-DnJHSkWN.js} +3 -3
- package/dist/{register.subclis-Coz5gyMy.js → register.subclis-B_zXq-OG.js} +9 -9
- package/dist/{run-main-BP0tSdvm.js → run-main-BwejEUC8.js} +17 -17
- package/dist/{server-methods-JJSJ-f4L.js → server-methods-DF_vhByu.js} +7 -7
- package/dist/{server-methods-DqMh81yf.js → server-methods-fT02jJUv.js} +7 -7
- package/dist/{server-node-events-U29PUJ3C.js → server-node-events-B0Ah5xv3.js} +6 -6
- package/dist/{server-node-events-DtE36b7p.js → server-node-events-C-SSj_J4.js} +6 -6
- package/dist/{status-CjTgAUf9.js → status-9_SJZT-n.js} +1 -1
- package/dist/{status-Ep2Jr3PX.js → status-BJK_HWiE.js} +1 -1
- package/dist/{status-B4t6u9nZ.js → status-C43mMdxl.js} +1 -1
- package/dist/{status-CE9aMOLz.js → status-DYN36pJ0.js} +1 -1
- package/dist/{subagent-registry-BV3-ydad.js → subagent-registry-odA9HOvg.js} +40 -3
- package/dist/{synthesis-BoUPCqBp.js → synthesis-BI3Vsi69.js} +4 -4
- package/dist/{synthesis-B0bH-fke.js → synthesis-BxLob78U.js} +4 -4
- package/dist/{synthesis-DKanvEYA.js → synthesis-ByIDCuPD.js} +4 -4
- package/dist/{synthesis-CL1PiA4s.js → synthesis-CVmwfUvx.js} +2 -2
- package/dist/{unified-runner-BwcHrhjo.js → unified-runner-C8BedLLT.js} +40 -3
- package/dist/{unified-runner-CdSyDq5s.js → unified-runner-DJTndfeW.js} +47 -10
- package/dist/{update-cli-Dw3aFNp8.js → update-cli-BP1MAHhV.js} +8 -8
- package/dist/{update-cli-D1wsCp79.js → update-cli-Ce4anXY7.js} +9 -9
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/package.json +1 -1
|
@@ -3,15 +3,15 @@ import "./registry-C-JddWwo.js";
|
|
|
3
3
|
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-B1Ina6jV.js";
|
|
4
4
|
import "./subsystem-DzRUKS9f.js";
|
|
5
5
|
import "./workspace-CsaDUuDn.js";
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-DJTndfeW.js";
|
|
7
7
|
import "./auth-profiles-BSw0aQND.js";
|
|
8
8
|
import "./model-selection-BqshlIZc.js";
|
|
9
|
-
import "./deliver-
|
|
9
|
+
import "./deliver-BiWlR84Y.js";
|
|
10
10
|
import "./ssrf-DNhyFMRW.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
12
|
import "./shell-env-B1lDWz4t.js";
|
|
13
13
|
import "./manifest-registry-BGJu2aC-.js";
|
|
14
|
-
import "./chrome-
|
|
14
|
+
import "./chrome-OTJg3QKn.js";
|
|
15
15
|
import "./frontmatter-CJEX1BrH.js";
|
|
16
16
|
import "./skills-Dm4gX4Tl.js";
|
|
17
17
|
import "./redact-CSGZUFxa.js";
|
|
@@ -25,7 +25,7 @@ import "./paths-BsT3BvfH.js";
|
|
|
25
25
|
import "./tokens-D_vCJSzF.js";
|
|
26
26
|
import "./diagnostic-BALvP9wI.js";
|
|
27
27
|
import "./diagnostic-session-state-BDfanaOY.js";
|
|
28
|
-
import "./manager-
|
|
28
|
+
import "./manager-IHsU3dHx.js";
|
|
29
29
|
import "./github-copilot-token-uhEBNQfj.js";
|
|
30
30
|
import "./pi-auth-json-DCGR3yfh.js";
|
|
31
31
|
import "./reply-prefix-D0NzzC4I.js";
|
|
@@ -4449,7 +4449,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4449
4449
|
* to bypass the min-interval guard (CLI use).
|
|
4450
4450
|
*/
|
|
4451
4451
|
async runL3CycleIfDue(params) {
|
|
4452
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CwJCvaOH.js"), import("./synthesis-
|
|
4452
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CwJCvaOH.js"), import("./synthesis-CVmwfUvx.js")]);
|
|
4453
4453
|
const synthesize = createSynthesizer({
|
|
4454
4454
|
cfg: this.cfg,
|
|
4455
4455
|
agentId: this.agentId,
|
|
@@ -4219,7 +4219,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4219
4219
|
* to bypass the min-interval guard (CLI use).
|
|
4220
4220
|
*/
|
|
4221
4221
|
async runL3CycleIfDue(params) {
|
|
4222
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-BNTNdxdL.js"), import("./synthesis-
|
|
4222
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-BNTNdxdL.js"), import("./synthesis-BI3Vsi69.js")]);
|
|
4223
4223
|
const synthesize = createSynthesizer({
|
|
4224
4224
|
cfg: this.cfg,
|
|
4225
4225
|
agentId: this.agentId,
|
|
@@ -4222,7 +4222,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4222
4222
|
* to bypass the min-interval guard (CLI use).
|
|
4223
4223
|
*/
|
|
4224
4224
|
async runL3CycleIfDue(params) {
|
|
4225
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DymnvvYm.js"), import("./synthesis-
|
|
4225
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DymnvvYm.js"), import("./synthesis-BxLob78U.js")]);
|
|
4226
4226
|
const synthesize = createSynthesizer({
|
|
4227
4227
|
cfg: this.cfg,
|
|
4228
4228
|
agentId: this.agentId,
|
|
@@ -4449,7 +4449,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4449
4449
|
* to bypass the min-interval guard (CLI use).
|
|
4450
4450
|
*/
|
|
4451
4451
|
async runL3CycleIfDue(params) {
|
|
4452
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-Dyh_aESo.js"), import("./synthesis-
|
|
4452
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-Dyh_aESo.js"), import("./synthesis-ByIDCuPD.js")]);
|
|
4453
4453
|
const synthesize = createSynthesizer({
|
|
4454
4454
|
cfg: this.cfg,
|
|
4455
4455
|
agentId: this.agentId,
|
|
@@ -212,7 +212,7 @@ async function getMemorySearchManager(params) {
|
|
|
212
212
|
const wrapper = new FallbackMemoryManager({
|
|
213
213
|
primary,
|
|
214
214
|
fallbackFactory: async () => {
|
|
215
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
215
|
+
const { MemoryIndexManager } = await import("./manager-DjgKz80p.js").then((n) => n.t);
|
|
216
216
|
return await MemoryIndexManager.get(params);
|
|
217
217
|
}
|
|
218
218
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -225,7 +225,7 @@ async function getMemorySearchManager(params) {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
try {
|
|
228
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
228
|
+
const { MemoryIndexManager } = await import("./manager-DjgKz80p.js").then((n) => n.t);
|
|
229
229
|
return { manager: await MemoryIndexManager.get(params) };
|
|
230
230
|
} catch (err) {
|
|
231
231
|
return {
|
|
@@ -211,7 +211,7 @@ async function getMemorySearchManager(params) {
|
|
|
211
211
|
const wrapper = new FallbackMemoryManager({
|
|
212
212
|
primary,
|
|
213
213
|
fallbackFactory: async () => {
|
|
214
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
214
|
+
const { MemoryIndexManager } = await import("./manager-CDkFM3pi.js").then((n) => n.t);
|
|
215
215
|
return await MemoryIndexManager.get(params);
|
|
216
216
|
}
|
|
217
217
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -224,7 +224,7 @@ async function getMemorySearchManager(params) {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
try {
|
|
227
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
227
|
+
const { MemoryIndexManager } = await import("./manager-CDkFM3pi.js").then((n) => n.t);
|
|
228
228
|
return { manager: await MemoryIndexManager.get(params) };
|
|
229
229
|
} catch (err) {
|
|
230
230
|
return {
|
|
@@ -8,8 +8,8 @@ import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } fr
|
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-bI7Tdx75.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
10
10
|
import { i as resolveApiKeyForProvider } from "./model-auth-1EAQvYRv.js";
|
|
11
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
12
|
-
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-
|
|
11
|
+
import { t as getMemorySearchManager } from "./memory-BLluF2i6.js";
|
|
12
|
+
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-DjgKz80p.js";
|
|
13
13
|
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-DVCddhhN.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
15
15
|
import { r as withManager } from "./cli-utils-CuyGL3rq.js";
|
|
@@ -5,8 +5,8 @@ import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } fr
|
|
|
5
5
|
import { n as formatErrorMessage } from "./errors-BmdGLmRC.js";
|
|
6
6
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DtiEyjsC.js";
|
|
7
7
|
import { i as resolveApiKeyForProvider } from "./model-auth-Byr7Gic_.js";
|
|
8
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
9
|
-
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-
|
|
8
|
+
import { t as getMemorySearchManager } from "./memory-DgS1AC6J.js";
|
|
9
|
+
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-CDkFM3pi.js";
|
|
10
10
|
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-D3mEiuyB.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-DXfA5936.js";
|
|
@@ -10,7 +10,7 @@ import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT
|
|
|
10
10
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-EgBaDO8n.js";
|
|
11
11
|
import { f as parseDurationMs, i as loadConfig } from "./config-D7TcU4qN.js";
|
|
12
12
|
import { o as shouldEnableShellEnvFallback, t as getShellEnvAppliedKeys } from "./shell-env-CTYaxUs_.js";
|
|
13
|
-
import { Bt as formatRemainingShort, Lt as maskApiKey, Rt as DEFAULT_OAUTH_WARN_MS, T as runAgentTurn, Z as describeFailoverError, zt as buildAuthHealthSummary } from "./subagent-registry-
|
|
13
|
+
import { Bt as formatRemainingShort, Lt as maskApiKey, Rt as DEFAULT_OAUTH_WARN_MS, T as runAgentTurn, Z as describeFailoverError, zt as buildAuthHealthSummary } from "./subagent-registry-odA9HOvg.js";
|
|
14
14
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DtiEyjsC.js";
|
|
15
15
|
import { a as resolveAwsSdkEnvVarName, i as resolveApiKeyForProvider, n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-Byr7Gic_.js";
|
|
16
16
|
import { t as ensureSymiModelsJson } from "./models-config-CiR_RUxw.js";
|
|
@@ -26,7 +26,7 @@ import { n as redactSecrets } from "./format-BcXs5iuf.js";
|
|
|
26
26
|
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-DHJR5_SP.js";
|
|
27
27
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-YTHu2ftn.js";
|
|
28
28
|
import { n as logConfigUpdated } from "./logging-Ev3fNJEG.js";
|
|
29
|
-
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
|
|
29
|
+
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-FDwi4Yzt.js";
|
|
30
30
|
import path from "node:path";
|
|
31
31
|
import fs from "node:fs/promises";
|
|
32
32
|
import crypto from "node:crypto";
|
|
@@ -17,7 +17,7 @@ import "./client-BOd5o3Kp.js";
|
|
|
17
17
|
import "./call-DTshgdlW.js";
|
|
18
18
|
import "./message-channel-DXToSaWK.js";
|
|
19
19
|
import "./pairing-token-B-OTYROz.js";
|
|
20
|
-
import "./subagent-registry-
|
|
20
|
+
import "./subagent-registry-odA9HOvg.js";
|
|
21
21
|
import "./sessions-Dn6VXn4p.js";
|
|
22
22
|
import "./plugins-BsEhWvLn.js";
|
|
23
23
|
import "./send-Dq252-bi.js";
|
|
@@ -47,8 +47,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
47
47
|
import "./github-copilot-token-B5y4__YM.js";
|
|
48
48
|
import "./models-config-CiR_RUxw.js";
|
|
49
49
|
import "./reply-prefix-DV3KhOhL.js";
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
50
|
+
import "./memory-DgS1AC6J.js";
|
|
51
|
+
import "./manager-CDkFM3pi.js";
|
|
52
52
|
import "./sqlite-9jF_eajd.js";
|
|
53
53
|
import "./chunk-B2lBXhR0.js";
|
|
54
54
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -79,7 +79,7 @@ import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
|
79
79
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-DXfA5936.js";
|
|
80
80
|
import "./help-format-Dbp8yEhl.js";
|
|
81
81
|
import "./progress-CI19Xh3z.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-jmPQDz2s.js";
|
|
83
83
|
import "./logging-UO6tk8Em.js";
|
|
84
84
|
import "./replies-CLREUzzB.js";
|
|
85
85
|
import "./pi-tools.policy-06k__URR.js";
|
|
@@ -91,8 +91,8 @@ import "./table-D0JXlEhQ.js";
|
|
|
91
91
|
import "./shared-DHJR5_SP.js";
|
|
92
92
|
import "./auth-token-YTHu2ftn.js";
|
|
93
93
|
import "./logging-Ev3fNJEG.js";
|
|
94
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers
|
|
95
|
-
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-
|
|
94
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-FDwi4Yzt.js";
|
|
95
|
+
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-BVDQwjWd.js";
|
|
96
96
|
|
|
97
97
|
//#region src/cli/models-cli.ts
|
|
98
98
|
function runModelsCommand(action) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as DEFAULT_OAUTH_WARN_MS, gt as maskApiKey, kn as describeFailoverError, t as runAgentTurn, vt as buildAuthHealthSummary, yt as formatRemainingShort } from "./unified-runner-
|
|
1
|
+
import { _t as DEFAULT_OAUTH_WARN_MS, gt as maskApiKey, kn as describeFailoverError, t as runAgentTurn, vt as buildAuthHealthSummary, yt as formatRemainingShort } from "./unified-runner-C8BedLLT.js";
|
|
2
2
|
import { A as isRich$1, j as theme, k as colorize } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { v as shortenHomePath } from "./utils-CTPsqyE_.js";
|
|
@@ -51,8 +51,8 @@ import "./session-cost-usage-D3mgssM_.js";
|
|
|
51
51
|
import { _ as loadProviderUsageSummary, b as resolveUsageProviderId, y as formatUsageWindowSummary } from "./session-utils-Cs1jlD-q.js";
|
|
52
52
|
import "./with-timeout-DPR4A2dx.js";
|
|
53
53
|
import "./reply-prefix-BFNeXT65.js";
|
|
54
|
-
import "./memory-
|
|
55
|
-
import "./manager-
|
|
54
|
+
import "./memory-BLluF2i6.js";
|
|
55
|
+
import "./manager-DjgKz80p.js";
|
|
56
56
|
import "./sqlite-Cod7C5ba.js";
|
|
57
57
|
import "./chunk-BxfKjCUx.js";
|
|
58
58
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
@@ -83,7 +83,7 @@ import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
|
83
83
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-CuyGL3rq.js";
|
|
84
84
|
import "./help-format-7hFcsqss.js";
|
|
85
85
|
import { r as withProgressTotals } from "./progress-swt2y17x.js";
|
|
86
|
-
import "./memory-cli-
|
|
86
|
+
import "./memory-cli-DQTznta7.js";
|
|
87
87
|
import "./logging-BWknayJl.js";
|
|
88
88
|
import "./replies-CbXXjn9X.js";
|
|
89
89
|
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
@@ -98,7 +98,7 @@ import { n as redactSecrets } from "./format-CZeGyu83.js";
|
|
|
98
98
|
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-COtpr3Ad.js";
|
|
99
99
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Cr28IDKY.js";
|
|
100
100
|
import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
101
|
-
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-
|
|
101
|
+
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-4CHkGgIn.js";
|
|
102
102
|
import crypto from "node:crypto";
|
|
103
103
|
import path from "node:path";
|
|
104
104
|
import fs from "node:fs/promises";
|
|
@@ -13,7 +13,7 @@ import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as han
|
|
|
13
13
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CNnW7Chw.js";
|
|
14
14
|
import { t as resolveGatewayService } from "./service-DYpU1ajf.js";
|
|
15
15
|
import { r as healthCommand } from "./health-Dkwuq8ta.js";
|
|
16
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
16
|
+
import { t as runOnboardingWizard } from "./onboarding-B2Km9GAJ.js";
|
|
17
17
|
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-YTHu2ftn.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-Ev3fNJEG.js";
|
|
19
19
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-D9d98wkI.js";
|
|
@@ -15,7 +15,7 @@ import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as han
|
|
|
15
15
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CUIM0n5P.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-e6MzlLCd.js";
|
|
17
17
|
import { r as healthCommand } from "./health-7UqIGG8U.js";
|
|
18
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
18
|
+
import { t as runOnboardingWizard } from "./onboarding-B1NNMstX.js";
|
|
19
19
|
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-Cr28IDKY.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
21
21
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-CsL_9IlL.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-C8BedLLT.js";
|
|
3
3
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-Sbac4a4z.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B3nkKRhC.js";
|
|
4
4
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CFxFgYxM.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-C-Jte08L.js";
|
|
6
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-odA9HOvg.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BQgWCFTH.js";
|
|
@@ -225,7 +225,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
225
225
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Ce7R_25e.js").then((n) => n.t);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BAFfYZeR.js").then((n) => n.t);
|
|
227
227
|
const { promptCustomApiConfig } = await import("./onboard-custom-BcRYreNG.js").then((n) => n.r);
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-DmQV3qVD.js").then((n) => n.t);
|
|
229
229
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-Cf6UgQEh.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-CF5skkHh.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-BEi6XlDW.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-DJghG2o6.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-D11Xw15i.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-D6A5uuj3.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-CfKvdcJ5.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-B8hl2zQ_.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-DvP8ViSf.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-BsEhWvLn.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-BkmP8-BZ.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-xL4ImbkA.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -44,10 +44,10 @@ import "./tool-display-DFOL6UQ9.js";
|
|
|
44
44
|
import "./bindings-DIhsYGa_.js";
|
|
45
45
|
import "./progress-swt2y17x.js";
|
|
46
46
|
import "./runtime-guard-CWA00ZXa.js";
|
|
47
|
-
import "./program-context-
|
|
47
|
+
import "./program-context-B2L7Zll7.js";
|
|
48
48
|
import "./prompt-style-olk5zI5k.js";
|
|
49
49
|
import "./note-D9FXI2qW.js";
|
|
50
|
-
import { r as installCompletion } from "./completion-cli-
|
|
50
|
+
import { r as installCompletion } from "./completion-cli-CRZLUn7D.js";
|
|
51
51
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DlQla_dA.js";
|
|
52
52
|
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-7IGQ8nAM.js";
|
|
53
53
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CUIM0n5P.js";
|
|
@@ -55,7 +55,7 @@ import { t as resolveGatewayService } from "./service-e6MzlLCd.js";
|
|
|
55
55
|
import { r as healthCommand } from "./health-7UqIGG8U.js";
|
|
56
56
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CJQ97d4u.js";
|
|
57
57
|
import { t as formatHealthCheckFailure } from "./health-format-Bxg84_f4.js";
|
|
58
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
58
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DEqpjKDZ.js";
|
|
59
59
|
import { t as runTui } from "./tui-B2MY6Mj2.js";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import os from "node:os";
|
|
@@ -40,10 +40,10 @@ import "./bindings-BRZBH7eX.js";
|
|
|
40
40
|
import "./progress-CI19Xh3z.js";
|
|
41
41
|
import "./prompt-style-CZGg35Py.js";
|
|
42
42
|
import "./note-BIAQpZxi.js";
|
|
43
|
-
import "./register.subclis-
|
|
44
|
-
import "./command-registry-
|
|
43
|
+
import "./register.subclis-B_zXq-OG.js";
|
|
44
|
+
import "./command-registry-CL9Kg-yN.js";
|
|
45
45
|
import "./program-context-B_0V80zV.js";
|
|
46
|
-
import { r as installCompletion } from "./completion-cli-
|
|
46
|
+
import { r as installCompletion } from "./completion-cli-CNVJwiv2.js";
|
|
47
47
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-AkgOtHR6.js";
|
|
48
48
|
import "./runtime-guard-LRRZ73eX.js";
|
|
49
49
|
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-t7tI9KSA.js";
|
|
@@ -52,7 +52,7 @@ import { t as resolveGatewayService } from "./service-DYpU1ajf.js";
|
|
|
52
52
|
import { r as healthCommand } from "./health-Dkwuq8ta.js";
|
|
53
53
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Dnz69KRU.js";
|
|
54
54
|
import { t as formatHealthCheckFailure } from "./health-format-6tfMqkNX.js";
|
|
55
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
55
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D4zwYnEN.js";
|
|
56
56
|
import { t as runTui } from "./tui-h57L-YTX.js";
|
|
57
57
|
import os from "node:os";
|
|
58
58
|
import path from "node:path";
|
|
@@ -29,7 +29,7 @@ import { n as resolveConversationLabel } from "./conversation-label-DTTqF8gH.js"
|
|
|
29
29
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BsT3BvfH.js";
|
|
30
30
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-ChU6IQwp.js";
|
|
31
31
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-B7D44OOV.js";
|
|
32
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, d as requireApiKey, f as resolveApiKeyForProvider, h as resolveModelAuthMode, i as resolveOllamaBaseUrl, l as getApiKeyForModel, m as resolveEnvApiKey, n as retryAsync, o as collectProviderApiKeysForExecution, p as resolveAwsSdkEnvVarName, r as probeOllamaEmbeddingModels, s as executeWithApiKeyRotation, u as getCustomProviderApiKey } from "./manager-
|
|
32
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, d as requireApiKey, f as resolveApiKeyForProvider, h as resolveModelAuthMode, i as resolveOllamaBaseUrl, l as getApiKeyForModel, m as resolveEnvApiKey, n as retryAsync, o as collectProviderApiKeysForExecution, p as resolveAwsSdkEnvVarName, r as probeOllamaEmbeddingModels, s as executeWithApiKeyRotation, u as getCustomProviderApiKey } from "./manager-BXM8F9zI.js";
|
|
33
33
|
import { r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-dYUr1mDQ.js";
|
|
34
34
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-Ce-sg7EN.js";
|
|
35
35
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-jQzXAsf3.js";
|
|
@@ -3390,7 +3390,7 @@ async function getMemorySearchManager(params) {
|
|
|
3390
3390
|
const wrapper = new FallbackMemoryManager({
|
|
3391
3391
|
primary,
|
|
3392
3392
|
fallbackFactory: async () => {
|
|
3393
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3393
|
+
const { MemoryIndexManager } = await import("./manager-BXM8F9zI.js").then((n) => n.t);
|
|
3394
3394
|
return await MemoryIndexManager.get(params);
|
|
3395
3395
|
}
|
|
3396
3396
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3403,7 +3403,7 @@ async function getMemorySearchManager(params) {
|
|
|
3403
3403
|
}
|
|
3404
3404
|
}
|
|
3405
3405
|
try {
|
|
3406
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3406
|
+
const { MemoryIndexManager } = await import("./manager-BXM8F9zI.js").then((n) => n.t);
|
|
3407
3407
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3408
3408
|
} catch (err) {
|
|
3409
3409
|
return {
|
|
@@ -45656,6 +45656,21 @@ function handleAgentEnd(ctx) {
|
|
|
45656
45656
|
data: { phase: "end" }
|
|
45657
45657
|
});
|
|
45658
45658
|
}
|
|
45659
|
+
{
|
|
45660
|
+
const totals = ctx.getUsageTotals();
|
|
45661
|
+
if (totals) emitSymframePush({
|
|
45662
|
+
action: "update",
|
|
45663
|
+
id: "context-meter",
|
|
45664
|
+
card: {
|
|
45665
|
+
contextInput: totals.input ?? 0,
|
|
45666
|
+
contextOutput: totals.output ?? 0,
|
|
45667
|
+
contextCacheRead: totals.cacheRead ?? 0,
|
|
45668
|
+
contextCacheWrite: totals.cacheWrite ?? 0,
|
|
45669
|
+
contextTotal: totals.total ?? (totals.input ?? 0) + (totals.output ?? 0) + (totals.cacheRead ?? 0) + (totals.cacheWrite ?? 0),
|
|
45670
|
+
contextPhase: isError ? "error" : "settled"
|
|
45671
|
+
}
|
|
45672
|
+
});
|
|
45673
|
+
}
|
|
45659
45674
|
ctx.flushBlockReplyBuffer();
|
|
45660
45675
|
ctx.state.blockState.thinking = false;
|
|
45661
45676
|
ctx.state.blockState.final = false;
|
|
@@ -45840,6 +45855,28 @@ function handleMessageEnd(ctx, evt) {
|
|
|
45840
45855
|
ctx.noteLastAssistant(assistantMessage);
|
|
45841
45856
|
ctx.recordAssistantUsage(assistantMessage.usage);
|
|
45842
45857
|
promoteThinkingTagsToBlocks(assistantMessage);
|
|
45858
|
+
{
|
|
45859
|
+
const totals = ctx.getUsageTotals();
|
|
45860
|
+
const modelInfo = assistantMessage;
|
|
45861
|
+
emitSymframePush({
|
|
45862
|
+
action: "add",
|
|
45863
|
+
id: "context-meter",
|
|
45864
|
+
card: {
|
|
45865
|
+
id: "context-meter",
|
|
45866
|
+
type: "context",
|
|
45867
|
+
intent: "holding",
|
|
45868
|
+
title: "context",
|
|
45869
|
+
contextModel: typeof modelInfo.model === "string" && modelInfo.model ? modelInfo.model : typeof modelInfo.provider === "string" ? modelInfo.provider : "model",
|
|
45870
|
+
contextInput: totals?.input ?? 0,
|
|
45871
|
+
contextOutput: totals?.output ?? 0,
|
|
45872
|
+
contextCacheRead: totals?.cacheRead ?? 0,
|
|
45873
|
+
contextCacheWrite: totals?.cacheWrite ?? 0,
|
|
45874
|
+
contextTotal: totals?.total ?? (totals?.input ?? 0) + (totals?.output ?? 0) + (totals?.cacheRead ?? 0) + (totals?.cacheWrite ?? 0),
|
|
45875
|
+
contextPhase: "running",
|
|
45876
|
+
dismissable: true
|
|
45877
|
+
}
|
|
45878
|
+
});
|
|
45879
|
+
}
|
|
45843
45880
|
const rawText = extractAssistantText$1(assistantMessage);
|
|
45844
45881
|
appendRawStream({
|
|
45845
45882
|
ts: Date.now(),
|
|
@@ -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-C-Jte08L.js";
|
|
4
4
|
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-odA9HOvg.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-C8BedLLT.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-Sbac4a4z.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import path from "node:path";
|
|
|
4
4
|
import fs, { constants, readFileSync } from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
|
-
import
|
|
7
|
+
import json5 from "json5";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
import fs$1, { mkdtemp, rm } from "node:fs/promises";
|
|
10
10
|
import { z } from "zod";
|
|
@@ -294,7 +294,7 @@ function readLoggingConfig() {
|
|
|
294
294
|
try {
|
|
295
295
|
if (!fs.existsSync(configPath)) return;
|
|
296
296
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
297
|
-
const logging =
|
|
297
|
+
const logging = json5.parse(raw)?.logging;
|
|
298
298
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
299
299
|
return logging;
|
|
300
300
|
} catch {
|
|
@@ -7392,7 +7392,7 @@ function safeRealpath(target) {
|
|
|
7392
7392
|
}
|
|
7393
7393
|
const defaultResolver = {
|
|
7394
7394
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
7395
|
-
parseJson: (raw) =>
|
|
7395
|
+
parseJson: (raw) => json5.parse(raw)
|
|
7396
7396
|
};
|
|
7397
7397
|
/**
|
|
7398
7398
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -10623,7 +10623,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
10623
10623
|
function normalizeDeps(overrides = {}) {
|
|
10624
10624
|
return {
|
|
10625
10625
|
fs: overrides.fs ?? fs,
|
|
10626
|
-
json5: overrides.json5 ??
|
|
10626
|
+
json5: overrides.json5 ?? json5,
|
|
10627
10627
|
env: overrides.env ?? process.env,
|
|
10628
10628
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
10629
10629
|
configPath: overrides.configPath ?? "",
|
|
@@ -10634,11 +10634,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
10634
10634
|
if (env !== process.env) return;
|
|
10635
10635
|
loadDotEnv({ quiet: true });
|
|
10636
10636
|
}
|
|
10637
|
-
function parseConfigJson5(raw, json5 =
|
|
10637
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
10638
10638
|
try {
|
|
10639
10639
|
return {
|
|
10640
10640
|
ok: true,
|
|
10641
|
-
parsed: json5.parse(raw)
|
|
10641
|
+
parsed: json5$1.parse(raw)
|
|
10642
10642
|
};
|
|
10643
10643
|
} catch (err) {
|
|
10644
10644
|
return {
|
|
@@ -17,7 +17,7 @@ import "./client-BOd5o3Kp.js";
|
|
|
17
17
|
import "./call-DTshgdlW.js";
|
|
18
18
|
import "./message-channel-DXToSaWK.js";
|
|
19
19
|
import "./pairing-token-B-OTYROz.js";
|
|
20
|
-
import "./subagent-registry-
|
|
20
|
+
import "./subagent-registry-odA9HOvg.js";
|
|
21
21
|
import "./sessions-Dn6VXn4p.js";
|
|
22
22
|
import "./plugins-BsEhWvLn.js";
|
|
23
23
|
import "./send-Dq252-bi.js";
|
|
@@ -47,8 +47,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
47
47
|
import "./github-copilot-token-B5y4__YM.js";
|
|
48
48
|
import "./models-config-CiR_RUxw.js";
|
|
49
49
|
import "./reply-prefix-DV3KhOhL.js";
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
50
|
+
import "./memory-DgS1AC6J.js";
|
|
51
|
+
import "./manager-CDkFM3pi.js";
|
|
52
52
|
import "./sqlite-9jF_eajd.js";
|
|
53
53
|
import "./chunk-B2lBXhR0.js";
|
|
54
54
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -79,7 +79,7 @@ import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
|
79
79
|
import "./cli-utils-DXfA5936.js";
|
|
80
80
|
import "./help-format-Dbp8yEhl.js";
|
|
81
81
|
import "./progress-CI19Xh3z.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-jmPQDz2s.js";
|
|
83
83
|
import "./logging-UO6tk8Em.js";
|
|
84
84
|
import "./replies-CLREUzzB.js";
|
|
85
85
|
import "./pi-tools.policy-06k__URR.js";
|
|
@@ -88,7 +88,7 @@ import "./npm-registry-spec-BPgK9EL7.js";
|
|
|
88
88
|
import "./skill-scanner-BC3PyNso.js";
|
|
89
89
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-Dunp9UFl.js";
|
|
90
90
|
import { t as renderTable } from "./table-D0JXlEhQ.js";
|
|
91
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
91
|
+
import { t as buildPluginStatusReport } from "./status-DYN36pJ0.js";
|
|
92
92
|
import { n as updateNpmInstalledPlugins } from "./update-B7qKOIqP.js";
|
|
93
93
|
import os from "node:os";
|
|
94
94
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-C8BedLLT.js";
|
|
2
2
|
import { j as theme } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { _ as shortenHomeInString, h as resolveUserPath, p as resolveConfigDir, v as shortenHomePath } from "./utils-CTPsqyE_.js";
|
|
@@ -50,8 +50,8 @@ import "./session-cost-usage-D3mgssM_.js";
|
|
|
50
50
|
import "./session-utils-Cs1jlD-q.js";
|
|
51
51
|
import "./with-timeout-DPR4A2dx.js";
|
|
52
52
|
import "./reply-prefix-BFNeXT65.js";
|
|
53
|
-
import "./memory-
|
|
54
|
-
import "./manager-
|
|
53
|
+
import "./memory-BLluF2i6.js";
|
|
54
|
+
import "./manager-DjgKz80p.js";
|
|
55
55
|
import "./sqlite-Cod7C5ba.js";
|
|
56
56
|
import "./chunk-BxfKjCUx.js";
|
|
57
57
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
@@ -82,7 +82,7 @@ import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
|
82
82
|
import "./cli-utils-CuyGL3rq.js";
|
|
83
83
|
import "./help-format-7hFcsqss.js";
|
|
84
84
|
import "./progress-swt2y17x.js";
|
|
85
|
-
import "./memory-cli-
|
|
85
|
+
import "./memory-cli-DQTznta7.js";
|
|
86
86
|
import "./logging-BWknayJl.js";
|
|
87
87
|
import "./replies-CbXXjn9X.js";
|
|
88
88
|
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
@@ -92,7 +92,7 @@ import "./npm-registry-spec-DTqn-NXZ.js";
|
|
|
92
92
|
import "./skill-scanner-BCgVcIwi.js";
|
|
93
93
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-D890uIIW.js";
|
|
94
94
|
import { t as renderTable } from "./table-0A3xKJVC.js";
|
|
95
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
95
|
+
import { t as buildPluginStatusReport } from "./status-9_SJZT-n.js";
|
|
96
96
|
import { n as updateNpmInstalledPlugins } from "./update-yYduAjKd.js";
|
|
97
97
|
import path from "node:path";
|
|
98
98
|
import fs from "node:fs";
|