@symerian/symi 3.5.31 → 3.5.33
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-TRt_SsAW.js → agent-Bt6Mg6tN.js} +1 -1
- package/dist/{agent-BsRYHa15.js → agent-_8O2q22a.js} +1 -1
- package/dist/{agents-7qMp2MWu.js → agents-Vp-Z9p7d.js} +2 -2
- package/dist/{auth-choice-C8lwYiEQ.js → auth-choice-CGoOl1W1.js} +1 -1
- package/dist/{auth-choice-DcB72YWZ.js → auth-choice-DKYz4IVA.js} +1 -1
- package/dist/{banner-B5Hv4rlk.js → banner-CRWXer7O.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-ZkruGuHl.js → channel-options-CJybMNab.js} +1 -1
- package/dist/{channel-options-DOzFci6h.js → channel-options-DCTxFF6Q.js} +1 -1
- package/dist/{channels-cli-CEz9LILV.js → channels-cli-DZt1Cvdz.js} +7 -7
- package/dist/{channels-cli-DMShhX0d.js → channels-cli-om139RPU.js} +7 -7
- package/dist/{chrome-OTJg3QKn.js → chrome-CmQwGAuL.js} +7 -7
- package/dist/{cli-MDHkESMC.js → cli-Bv1nUo9u.js} +4 -4
- package/dist/{cli-Byovb_j5.js → cli-C2-eHINP.js} +4 -4
- package/dist/{command-registry-Dzj-Uz5N.js → command-registry-dhtbmE5H.js} +10 -10
- package/dist/{completion-cli-vAwL_uEK.js → completion-cli-COi7vEYW.js} +2 -2
- package/dist/{completion-cli-CsJ2f_fk.js → completion-cli-Db4l70VM.js} +1 -1
- package/dist/{config-cli-cmea_Z-A.js → config-cli-EA720djS.js} +1 -1
- package/dist/{config-cli-CqqCDyf0.js → config-cli-KZLy9MiQ.js} +1 -1
- package/dist/{configure-DymrZd1n.js → configure-DPlT_UCY.js} +2 -2
- package/dist/{configure-BEPKQuJj.js → configure-iuJmiuup.js} +2 -2
- package/dist/control-ui/css/style.css +417 -364
- package/dist/control-ui/js/symframe.js +97 -0
- package/dist/{deliver-BiWlR84Y.js → deliver-B04yNX82.js} +4 -4
- package/dist/{doctor-completion-BY72G6-l.js → doctor-completion-CewCMEl2.js} +1 -1
- package/dist/{doctor-completion--phnyAqO.js → doctor-completion-DGqRy0Cz.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-Bo80TSkq.js → gateway-cli-CKfsJdhp.js} +10 -10
- package/dist/{gateway-cli-BVpyqk_H.js → gateway-cli-DrGrF6Bs.js} +10 -10
- package/dist/{glass-ui-ws-BK5qk7-_.js → glass-ui-ws-DdeGPN_x.js} +8 -8
- package/dist/{glass-ui-ws-CrmnRYxe.js → glass-ui-ws-pIUgjT7J.js} +8 -8
- package/dist/{hooks-cli-CqmTdxT6.js → hooks-cli-CQI6K5RQ.js} +5 -5
- package/dist/{hooks-cli-CjklMDuK.js → hooks-cli-N0huwTDb.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{manager-CL767Sv9.js → manager-C1nI_dqb.js} +1 -1
- package/dist/{manager-XfNxjaX5.js → manager-Cv0Qqs-i.js} +1 -1
- package/dist/{manager-NDn8AFhr.js → manager-DiD9uXmC.js} +1 -1
- package/dist/{manager-fgUC_sHR.js → manager-xUNV-43S.js} +1 -1
- package/dist/{memory-DOl2l2AS.js → memory-BPVD3vxj.js} +2 -2
- package/dist/{memory-CTf9MdBg.js → memory-D0mvqRoH.js} +2 -2
- package/dist/{memory-cli-CA5PbH9y.js → memory-cli-0d49vHrN.js} +2 -2
- package/dist/{memory-cli-B9_Vfaow.js → memory-cli-CHqD-NnN.js} +2 -2
- package/dist/{models-DgiBOeVH.js → models-DV9S_FIE.js} +2 -2
- package/dist/{models-cli-B7gTrlgn.js → models-cli-BKvgQEeX.js} +5 -5
- package/dist/{models-cli-BHN3bt0f.js → models-cli-DMqrIAd-.js} +6 -6
- package/dist/{onboard-BNdKimpG.js → onboard--gW_iFPC.js} +1 -1
- package/dist/{onboard-DGp6mHJD.js → onboard-CHlG7cRV.js} +1 -1
- package/dist/{onboard-channels-DSBWRjSp.js → onboard-channels-C2S5txWG.js} +1 -1
- package/dist/{onboard-channels-Dhb-28-_.js → onboard-channels-f5axd972.js} +1 -1
- package/dist/{onboarding-MPSU9pXd.js → onboarding-BnEiVW9s.js} +3 -3
- package/dist/{onboarding-BG23DuS1.js → onboarding-CMZaGD0x.js} +3 -3
- package/dist/{onboarding.finalize-Cv20GyNt.js → onboarding.finalize-BKADBjqn.js} +3 -3
- package/dist/{onboarding.finalize-B-mxzJ08.js → onboarding.finalize-Br7a9LAG.js} +4 -4
- package/dist/{pi-embedded-V-5MAZNb.js → pi-embedded-B9Dhow_H.js} +29 -3
- package/dist/{plugin-registry-c3Skr0q9.js → plugin-registry-0UStQ7W0.js} +1 -1
- package/dist/{plugin-registry-CBV_Y6Dj.js → plugin-registry-DS4ST-Y2.js} +1 -1
- package/dist/{plugins-cli-Dl7-FSCq.js → plugins-cli-DVTehGDF.js} +5 -5
- package/dist/{plugins-cli-8Jo1X8SU.js → plugins-cli-er9ogmCp.js} +5 -5
- package/dist/{program-D-LYHEvk.js → program-D-0WYYlC.js} +10 -10
- package/dist/{program-context-BpeLcVUB.js → program-context-DdmFH7Cp.js} +18 -18
- package/dist/{prompt-select-styled-Ceih9wkY.js → prompt-select-styled-BM9wWyI-.js} +4 -4
- package/dist/{prompt-select-styled-ZWxB2Odf.js → prompt-select-styled-vGccUKhR.js} +4 -4
- package/dist/{provider-auth-helpers-BCejcf5o.js → provider-auth-helpers-BL9b1FfT.js} +1 -1
- package/dist/{provider-auth-helpers-BdvW7eau.js → provider-auth-helpers-Cqbaelri.js} +1 -1
- package/dist/{push-apns-D4iLNyBo.js → push-apns-BFn57H8S.js} +1 -1
- package/dist/{push-apns-HQd5hCpM.js → push-apns-DOFxmS8_.js} +1 -1
- package/dist/{pw-ai-DY_6l11g.js → pw-ai-DLsdzdgc.js} +1 -1
- package/dist/{register.agent-DoUbqZIu.js → register.agent-B2IHb1wt.js} +9 -9
- package/dist/{register.agent-zwVEiCHs.js → register.agent-CyoF3uiI.js} +8 -8
- package/dist/{register.configure-CSe8Rlda.js → register.configure-Bmj3lkgi.js} +8 -8
- package/dist/{register.configure-jBKvvOnk.js → register.configure-CyjtBFqz.js} +8 -8
- package/dist/{register.maintenance-royLmVA2.js → register.maintenance-BdJMnGR5.js} +8 -8
- package/dist/{register.maintenance-BdikNAV1.js → register.maintenance-D0crO8FC.js} +9 -9
- package/dist/{register.message-C_0uLdYn.js → register.message-BSie6t4a.js} +5 -5
- package/dist/{register.message-C1H5Vcnb.js → register.message-DHZmSrnW.js} +5 -5
- package/dist/{register.onboard-DnMRUtnl.js → register.onboard-CCZI7O-C.js} +2 -2
- package/dist/{register.onboard-DTLtb0SN.js → register.onboard-CH-qxgyo.js} +2 -2
- package/dist/{register.setup-B9sjRH7l.js → register.setup-CJhL35sR.js} +2 -2
- package/dist/{register.setup-KA8Cs3HJ.js → register.setup-CoxrZJWQ.js} +2 -2
- package/dist/{register.status-health-sessions-BwiKHLEj.js → register.status-health-sessions-DM5hIwtm.js} +3 -3
- package/dist/{register.status-health-sessions-B_jcsH3c.js → register.status-health-sessions-DwbUXRBk.js} +3 -3
- package/dist/{register.subclis-B_V8vNI0.js → register.subclis-VsMMpQQN.js} +9 -9
- package/dist/{run-main-DhgQtxI0.js → run-main-DUWpRI1w.js} +17 -17
- package/dist/{server-methods-Bdz-OwQ4.js → server-methods-Bb9tFpUg.js} +7 -7
- package/dist/{server-methods-6-10RyMD.js → server-methods-Ks6EkY9L.js} +7 -7
- package/dist/{server-node-events-B3Yey3h9.js → server-node-events-CMww2xmX.js} +6 -6
- package/dist/{server-node-events-C4giIb7q.js → server-node-events-CSbKHyjJ.js} +6 -6
- package/dist/{status-CCAO6ZHm.js → status-9ot0bcuW.js} +1 -1
- package/dist/{status-D_0593yR.js → status-BD_s-wIt.js} +1 -1
- package/dist/{status-BRUIJsUm.js → status-BJ3X3PxD.js} +1 -1
- package/dist/{status-B_CQpjQ9.js → status-BUGRo8kk.js} +1 -1
- package/dist/{subagent-registry-D8BIWG9Q.js → subagent-registry-BDj_vbwB.js} +29 -3
- package/dist/{synthesis-qvteT0Ti.js → synthesis-B1T3Vj63.js} +4 -4
- package/dist/{synthesis-D6pnRAxI.js → synthesis-CnAORBtf.js} +4 -4
- package/dist/{synthesis-CV94EuT_.js → synthesis-DffSaiSK.js} +4 -4
- package/dist/{synthesis-BfVWACNx.js → synthesis-dXo-gmWS.js} +2 -2
- package/dist/{unified-runner-CtSJoaGS.js → unified-runner-Bcapans4.js} +29 -3
- package/dist/{unified-runner-H3Qh_NZO.js → unified-runner-Cz7iBOgg.js} +36 -10
- package/dist/{update-cli-BrryYmFA.js → update-cli-CMqYGsDK.js} +8 -8
- package/dist/{update-cli-CUos9qgT.js → update-cli-CppPa_Bz.js} +9 -9
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -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
|
@@ -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-B1T3Vj63.js")]);
|
|
4223
4223
|
const synthesize = createSynthesizer({
|
|
4224
4224
|
cfg: this.cfg,
|
|
4225
4225
|
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-CwJCvaOH.js"), import("./synthesis-
|
|
4452
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CwJCvaOH.js"), import("./synthesis-dXo-gmWS.js")]);
|
|
4453
4453
|
const synthesize = createSynthesizer({
|
|
4454
4454
|
cfg: this.cfg,
|
|
4455
4455
|
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-CnAORBtf.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-C1nI_dqb.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-C1nI_dqb.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-Cv0Qqs-i.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-Cv0Qqs-i.js").then((n) => n.t);
|
|
228
228
|
return { manager: await MemoryIndexManager.get(params) };
|
|
229
229
|
} catch (err) {
|
|
230
230
|
return {
|
|
@@ -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-D0mvqRoH.js";
|
|
9
|
+
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-Cv0Qqs-i.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";
|
|
@@ -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-BPVD3vxj.js";
|
|
12
|
+
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-C1nI_dqb.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";
|
|
@@ -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-BDj_vbwB.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-Cqbaelri.js";
|
|
30
30
|
import path from "node:path";
|
|
31
31
|
import fs from "node:fs/promises";
|
|
32
32
|
import crypto from "node:crypto";
|
|
@@ -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-Bcapans4.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-BPVD3vxj.js";
|
|
55
|
+
import "./manager-C1nI_dqb.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-CHqD-NnN.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-BL9b1FfT.js";
|
|
102
102
|
import crypto from "node:crypto";
|
|
103
103
|
import path from "node:path";
|
|
104
104
|
import fs from "node:fs/promises";
|
|
@@ -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-BDj_vbwB.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-D0mvqRoH.js";
|
|
51
|
+
import "./manager-Cv0Qqs-i.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-0d49vHrN.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-Cqbaelri.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-DV9S_FIE.js";
|
|
96
96
|
|
|
97
97
|
//#region src/cli/models-cli.ts
|
|
98
98
|
function runModelsCommand(action) {
|
|
@@ -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-CMZaGD0x.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";
|
|
@@ -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-BnEiVW9s.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";
|
|
@@ -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-BDj_vbwB.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";
|
|
@@ -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-Bcapans4.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";
|
|
@@ -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-CGoOl1W1.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-C2S5txWG.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-Br7a9LAG.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-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-DKYz4IVA.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-f5axd972.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-BKADBjqn.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
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-DdmFH7Cp.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-Db4l70VM.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-CewCMEl2.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-VsMMpQQN.js";
|
|
44
|
+
import "./command-registry-dhtbmE5H.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-COi7vEYW.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-DGqRy0Cz.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-DiD9uXmC.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-DiD9uXmC.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-DiD9uXmC.js").then((n) => n.t);
|
|
3407
3407
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3408
3408
|
} catch (err) {
|
|
3409
3409
|
return {
|
|
@@ -46395,6 +46395,19 @@ async function handleToolExecutionStart(ctx, evt) {
|
|
|
46395
46395
|
toolCallId
|
|
46396
46396
|
}
|
|
46397
46397
|
});
|
|
46398
|
+
if (toolName !== "display_artifact") emitSymframePush({
|
|
46399
|
+
action: "add",
|
|
46400
|
+
id: `tool-${toolCallId}`,
|
|
46401
|
+
card: {
|
|
46402
|
+
id: `tool-${toolCallId}`,
|
|
46403
|
+
type: "tool",
|
|
46404
|
+
intent: "drafted",
|
|
46405
|
+
title: toolName,
|
|
46406
|
+
toolMeta: meta,
|
|
46407
|
+
toolStatus: "firing",
|
|
46408
|
+
toolStartedAt: Date.now()
|
|
46409
|
+
}
|
|
46410
|
+
});
|
|
46398
46411
|
if (ctx.params.onToolResult && shouldEmitToolEvents && !ctx.state.toolSummaryById.has(toolCallId)) {
|
|
46399
46412
|
ctx.state.toolSummaryById.add(toolCallId);
|
|
46400
46413
|
ctx.emitToolSummary(toolName, meta);
|
|
@@ -46523,6 +46536,19 @@ async function handleToolExecutionEnd(ctx, evt) {
|
|
|
46523
46536
|
isError: isToolError
|
|
46524
46537
|
}
|
|
46525
46538
|
});
|
|
46539
|
+
if (toolName !== "display_artifact") {
|
|
46540
|
+
const durationMs = startData?.startTime != null ? Date.now() - startData.startTime : void 0;
|
|
46541
|
+
emitSymframePush({
|
|
46542
|
+
action: "update",
|
|
46543
|
+
id: `tool-${toolCallId}`,
|
|
46544
|
+
card: {
|
|
46545
|
+
toolStatus: isToolError ? "error" : "done",
|
|
46546
|
+
toolMeta: meta,
|
|
46547
|
+
toolDurationMs: durationMs,
|
|
46548
|
+
releaseAfterMs: 3e3
|
|
46549
|
+
}
|
|
46550
|
+
});
|
|
46551
|
+
}
|
|
46526
46552
|
ctx.log.debug(`embedded run tool end: runId=${ctx.params.runId} tool=${toolName} toolCallId=${toolCallId}`);
|
|
46527
46553
|
if (ctx.params.onToolResult && ctx.shouldEmitToolOutput()) {
|
|
46528
46554
|
const outputText = extractToolResultText$1(sanitizedResult);
|
|
@@ -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-BDj_vbwB.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-Bcapans4.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-Bcapans4.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-BPVD3vxj.js";
|
|
54
|
+
import "./manager-C1nI_dqb.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-CHqD-NnN.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-BJ3X3PxD.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";
|
|
@@ -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-BDj_vbwB.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-D0mvqRoH.js";
|
|
51
|
+
import "./manager-Cv0Qqs-i.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-0d49vHrN.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-BUGRo8kk.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";
|
|
@@ -18,7 +18,7 @@ import "./client-BOd5o3Kp.js";
|
|
|
18
18
|
import "./call-DTshgdlW.js";
|
|
19
19
|
import "./message-channel-DXToSaWK.js";
|
|
20
20
|
import "./pairing-token-B-OTYROz.js";
|
|
21
|
-
import "./subagent-registry-
|
|
21
|
+
import "./subagent-registry-BDj_vbwB.js";
|
|
22
22
|
import "./sessions-Dn6VXn4p.js";
|
|
23
23
|
import "./plugins-BsEhWvLn.js";
|
|
24
24
|
import "./send-Dq252-bi.js";
|
|
@@ -48,8 +48,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
48
48
|
import "./github-copilot-token-B5y4__YM.js";
|
|
49
49
|
import "./models-config-CiR_RUxw.js";
|
|
50
50
|
import "./reply-prefix-DV3KhOhL.js";
|
|
51
|
-
import "./memory-
|
|
52
|
-
import "./manager-
|
|
51
|
+
import "./memory-D0mvqRoH.js";
|
|
52
|
+
import "./manager-Cv0Qqs-i.js";
|
|
53
53
|
import "./sqlite-9jF_eajd.js";
|
|
54
54
|
import "./chunk-B2lBXhR0.js";
|
|
55
55
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -80,18 +80,18 @@ import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
|
80
80
|
import "./cli-utils-DXfA5936.js";
|
|
81
81
|
import "./help-format-Dbp8yEhl.js";
|
|
82
82
|
import "./progress-CI19Xh3z.js";
|
|
83
|
-
import "./memory-cli-
|
|
83
|
+
import "./memory-cli-0d49vHrN.js";
|
|
84
84
|
import "./logging-UO6tk8Em.js";
|
|
85
85
|
import "./replies-CLREUzzB.js";
|
|
86
86
|
import "./pi-tools.policy-06k__URR.js";
|
|
87
87
|
import "./catalog-BQgWCFTH.js";
|
|
88
|
-
import "./plugin-registry-
|
|
89
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
90
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
91
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
88
|
+
import "./plugin-registry-0UStQ7W0.js";
|
|
89
|
+
import { n as resolveCliChannelOptions } from "./channel-options-CJybMNab.js";
|
|
90
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-VsMMpQQN.js";
|
|
91
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-dhtbmE5H.js";
|
|
92
92
|
import { r as setProgramContext } from "./program-context-B_0V80zV.js";
|
|
93
93
|
import { t as forceFreePort } from "./ports-gFlaMWtN.js";
|
|
94
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
94
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-CRWXer7O.js";
|
|
95
95
|
import { Command } from "commander";
|
|
96
96
|
|
|
97
97
|
//#region src/cli/program/context.ts
|
|
@@ -199,7 +199,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
199
199
|
commandPath
|
|
200
200
|
});
|
|
201
201
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
202
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
202
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-0UStQ7W0.js").then((n) => n.n);
|
|
203
203
|
ensurePluginRegistryLoaded();
|
|
204
204
|
}
|
|
205
205
|
});
|