@symerian/symi 3.5.6 → 3.5.8
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-scope-B1Ina6jV.js → agent-scope-DnJEvgMH.js} +2 -2
- package/dist/{auth-profiles-BSw0aQND.js → auth-profiles-DVc0P8H7.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +31 -31
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +30 -30
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-OTJg3QKn.js → chrome-Bu0sk8jc.js} +3 -3
- package/dist/{chunk-BkYIP_hB.js → chunk-DBVjqPm2.js} +1 -1
- package/dist/{commands-registry-BuOUfpmg.js → commands-registry-yWbIOOoD.js} +4 -4
- package/dist/{consolidate-Dyh_aESo.js → consolidate-JptFSFxz.js} +2 -2
- package/dist/control-ui/css/style.css +14 -0
- package/dist/control-ui/js/app.js +8 -0
- package/dist/control-ui/js/slash-autocomplete.js +195 -43
- package/dist/{deliver-BiWlR84Y.js → deliver-BZ-5d1Pv.js} +15 -15
- package/dist/{diagnostic-BALvP9wI.js → diagnostic-BlK1QQVx.js} +1 -1
- package/dist/{frontmatter-CJEX1BrH.js → frontmatter-Dm9ehpNF.js} +2 -2
- package/dist/llm-slug-generator.js +30 -30
- package/dist/{local-roots-C7fBKoOI.js → local-roots-Ab2ch8iw.js} +3 -3
- package/dist/{manager-CpBJ1BE6.js → manager-_ZfCrpDq.js} +8 -8
- package/dist/{manifest-registry-BGJu2aC-.js → manifest-registry-B1g2QOPw.js} +1 -1
- package/dist/{markdown-tables-CGqX2WvO.js → markdown-tables-CVcd6XRG.js} +1 -1
- package/dist/{model-selection-BqshlIZc.js → model-selection-C_XFh0kf.js} +1 -1
- package/dist/{pi-auth-json-DCGR3yfh.js → pi-auth-json-BxGRaPJK.js} +2 -2
- package/dist/{plugins-B06cTFHC.js → plugins-BcGFMr_d.js} +1 -1
- package/dist/{pw-ai-DY_6l11g.js → pw-ai-B5v5n5ol.js} +9 -9
- package/dist/{qmd-manager-Bc7yrt9d.js → qmd-manager-CM1Zb2vR.js} +5 -5
- package/dist/{registry-C-JddWwo.js → registry-9AaJQms1.js} +2 -2
- package/dist/{replies-D0FYSIJg.js → replies-Rf4NZFNR.js} +3 -3
- package/dist/{reply-prefix-D0NzzC4I.js → reply-prefix-kh8vLHcr.js} +1 -1
- package/dist/{resolve-route-CDsQda0z.js → resolve-route-Cah2oBoB.js} +3 -3
- package/dist/{send-C75uSv6p.js → send-BNMro1go.js} +7 -7
- package/dist/{shell-env-B1lDWz4t.js → shell-env-DUnzZNS9.js} +1 -1
- package/dist/{skill-commands-JIccKWkf.js → skill-commands-DG2orCQ1.js} +5 -5
- package/dist/{skills-Dm4gX4Tl.js → skills-BfqpCx1S.js} +6 -6
- package/dist/{sqlite-CmMv0ans.js → sqlite-B-yVqz_U.js} +1 -1
- package/dist/{ssrf-DNhyFMRW.js → ssrf-CD6rSfmA.js} +10 -10
- package/dist/{subsystem-DzRUKS9f.js → subsystem-DhOo2FZn.js} +1 -1
- package/dist/{synthesis-CmQvOHg6.js → synthesis-C8CALFUp.js} +30 -30
- package/dist/{thinking-h_Lv1OKF.js → thinking-Dc4USx6E.js} +2 -2
- package/dist/{tokens-D_vCJSzF.js → tokens-BHHkQK-k.js} +1 -1
- package/dist/{tool-loop-detection-DGaNCZG0.js → tool-loop-detection-B2hNHeN_.js} +2 -2
- package/dist/{unified-runner-Cu3lGa3A.js → unified-runner-DR-adeyL.js} +47 -47
- package/dist/{workspace-CsaDUuDn.js → workspace-OBnI5mKu.js} +2 -2
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { i as resolveGatewayPort, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-CE7eVGHg.js";
|
|
3
3
|
import { c as resolveAgentIdFromSessionKey, o as normalizeAgentId, p as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID } from "./session-key-BmQ2R1ev.js";
|
|
4
|
-
import { J as resolveConfigDir, K as normalizeE164, R as resolvePreferredSymiTmpDir, Y as resolveUserPath, c as getActivePluginRegistry, g as createInternalHookEvent, t as CHANNEL_IDS, tt as truncateUtf16Safe, y as triggerInternalHook } from "./registry-
|
|
5
|
-
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-
|
|
4
|
+
import { J as resolveConfigDir, K as normalizeE164, R as resolvePreferredSymiTmpDir, Y as resolveUserPath, c as getActivePluginRegistry, g as createInternalHookEvent, t as CHANNEL_IDS, tt as truncateUtf16Safe, y as triggerInternalHook } from "./registry-9AaJQms1.js";
|
|
5
|
+
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-DnJEvgMH.js";
|
|
6
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
7
|
+
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-OBnI5mKu.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-BrrHNE8r.js";
|
|
9
9
|
import { n as isPidAlive, t as resolveProcessScopedMap } from "./process-scoped-map-B-dHc_9I.js";
|
|
10
|
-
import { c as loadConfig, d as writeConfigFile, m as parseByteSize, p as parseDurationMs, s as createConfigIO, t as SsrFBlockedError } from "./ssrf-
|
|
10
|
+
import { c as loadConfig, d as writeConfigFile, m as parseByteSize, p as parseDurationMs, s as createConfigIO, t as SsrFBlockedError } from "./ssrf-CD6rSfmA.js";
|
|
11
11
|
import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
12
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
13
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
12
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-Bu0sk8jc.js";
|
|
13
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BfqpCx1S.js";
|
|
14
14
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-C89ppfp9.js";
|
|
15
|
-
import { b as SafeOpenError, d as extensionForMime, i as buildImageResizeSideGrid, l as resizeToJpeg, o as getImageMetadata, r as IMAGE_REDUCE_QUALITY_STEPS, t as getAgentScopedMediaLocalRoots, u as detectMime, x as openFileWithinRoot } from "./local-roots-
|
|
16
|
-
import { _ as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-
|
|
17
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, v as listDeliverableMessageChannels, y as normalizeMessageChannel } from "./chunk-
|
|
15
|
+
import { b as SafeOpenError, d as extensionForMime, i as buildImageResizeSideGrid, l as resizeToJpeg, o as getImageMetadata, r as IMAGE_REDUCE_QUALITY_STEPS, t as getAgentScopedMediaLocalRoots, u as detectMime, x as openFileWithinRoot } from "./local-roots-Ab2ch8iw.js";
|
|
16
|
+
import { _ as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-Dc4USx6E.js";
|
|
17
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, v as listDeliverableMessageChannels, y as normalizeMessageChannel } from "./chunk-DBVjqPm2.js";
|
|
18
18
|
import { t as normalizeChatType } from "./chat-type-CE6cJOyt.js";
|
|
19
19
|
import { n as resolveConversationLabel } from "./conversation-label-BVa8JTl2.js";
|
|
20
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
20
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BcGFMr_d.js";
|
|
21
21
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BsT3BvfH.js";
|
|
22
22
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-ChU6IQwp.js";
|
|
23
|
-
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-
|
|
23
|
+
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BHHkQK-k.js";
|
|
24
24
|
import path, { posix } from "node:path";
|
|
25
25
|
import fs, { existsSync, realpathSync } from "node:fs";
|
|
26
26
|
import os from "node:os";
|
|
@@ -939,7 +939,7 @@ function isModuleNotFoundError(err) {
|
|
|
939
939
|
}
|
|
940
940
|
async function loadPwAiModule(mode) {
|
|
941
941
|
try {
|
|
942
|
-
return await import("./pw-ai-
|
|
942
|
+
return await import("./pw-ai-B5v5n5ol.js");
|
|
943
943
|
} catch (err) {
|
|
944
944
|
if (mode === "soft") return null;
|
|
945
945
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3536,11 +3536,11 @@ function createProfileContext(opts, profile) {
|
|
|
3536
3536
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3537
3537
|
const profileState = getProfileState();
|
|
3538
3538
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3539
|
-
await (await import("./pw-ai-
|
|
3539
|
+
await (await import("./pw-ai-B5v5n5ol.js")).closePlaywrightBrowserConnection();
|
|
3540
3540
|
} catch {}
|
|
3541
3541
|
if (profileState.running) await stopRunningBrowser();
|
|
3542
3542
|
try {
|
|
3543
|
-
await (await import("./pw-ai-
|
|
3543
|
+
await (await import("./pw-ai-B5v5n5ol.js")).closePlaywrightBrowserConnection();
|
|
3544
3544
|
} catch {}
|
|
3545
3545
|
if (!fs.existsSync(userDataDir)) return {
|
|
3546
3546
|
moved: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
3
3
|
import { n as getDiagnosticSessionState } from "./diagnostic-session-state-BDfanaOY.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -2,7 +2,7 @@ import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
|
2
2
|
import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-B7Aqv95X.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import json5 from "json5";
|
|
6
6
|
import YAML from "yaml";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/config-eval.ts
|
|
@@ -210,7 +210,7 @@ function resolveSymiManifestBlock(params) {
|
|
|
210
210
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
211
211
|
if (!raw) return;
|
|
212
212
|
try {
|
|
213
|
-
const parsed =
|
|
213
|
+
const parsed = json5.parse(raw);
|
|
214
214
|
if (!parsed || typeof parsed !== "object") return;
|
|
215
215
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
216
216
|
for (const key of manifestKeys) {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import "./registry-
|
|
3
|
-
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
7
|
-
import "./auth-profiles-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import "./deliver-
|
|
10
|
-
import "./ssrf-
|
|
2
|
+
import "./registry-9AaJQms1.js";
|
|
3
|
+
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-DnJEvgMH.js";
|
|
4
|
+
import "./subsystem-DhOo2FZn.js";
|
|
5
|
+
import "./workspace-OBnI5mKu.js";
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-DR-adeyL.js";
|
|
7
|
+
import "./auth-profiles-DVc0P8H7.js";
|
|
8
|
+
import "./model-selection-C_XFh0kf.js";
|
|
9
|
+
import "./deliver-BZ-5d1Pv.js";
|
|
10
|
+
import "./ssrf-CD6rSfmA.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
|
-
import "./shell-env-
|
|
13
|
-
import "./manifest-registry-
|
|
14
|
-
import "./chrome-
|
|
15
|
-
import "./frontmatter-
|
|
16
|
-
import "./skills-
|
|
12
|
+
import "./shell-env-DUnzZNS9.js";
|
|
13
|
+
import "./manifest-registry-B1g2QOPw.js";
|
|
14
|
+
import "./chrome-Bu0sk8jc.js";
|
|
15
|
+
import "./frontmatter-Dm9ehpNF.js";
|
|
16
|
+
import "./skills-BfqpCx1S.js";
|
|
17
17
|
import "./redact-CSGZUFxa.js";
|
|
18
18
|
import "./errors-C89ppfp9.js";
|
|
19
|
-
import "./local-roots-
|
|
20
|
-
import "./thinking-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./plugins-
|
|
23
|
-
import "./send-
|
|
19
|
+
import "./local-roots-Ab2ch8iw.js";
|
|
20
|
+
import "./thinking-Dc4USx6E.js";
|
|
21
|
+
import "./chunk-DBVjqPm2.js";
|
|
22
|
+
import "./plugins-BcGFMr_d.js";
|
|
23
|
+
import "./send-BNMro1go.js";
|
|
24
24
|
import "./paths-BsT3BvfH.js";
|
|
25
|
-
import "./tokens-
|
|
26
|
-
import "./diagnostic-
|
|
25
|
+
import "./tokens-BHHkQK-k.js";
|
|
26
|
+
import "./diagnostic-BlK1QQVx.js";
|
|
27
27
|
import "./diagnostic-session-state-BDfanaOY.js";
|
|
28
|
-
import "./manager-
|
|
28
|
+
import "./manager-_ZfCrpDq.js";
|
|
29
29
|
import "./github-copilot-token-uhEBNQfj.js";
|
|
30
|
-
import "./pi-auth-json-
|
|
31
|
-
import "./reply-prefix-
|
|
32
|
-
import "./sqlite-
|
|
33
|
-
import "./markdown-tables-
|
|
34
|
-
import "./commands-registry-
|
|
35
|
-
import "./skill-commands-
|
|
30
|
+
import "./pi-auth-json-BxGRaPJK.js";
|
|
31
|
+
import "./reply-prefix-kh8vLHcr.js";
|
|
32
|
+
import "./sqlite-B-yVqz_U.js";
|
|
33
|
+
import "./markdown-tables-CVcd6XRG.js";
|
|
34
|
+
import "./commands-registry-yWbIOOoD.js";
|
|
35
|
+
import "./skill-commands-DG2orCQ1.js";
|
|
36
36
|
import "./pi-model-discovery-Rgm3jE5N.js";
|
|
37
|
-
import "./resolve-route-
|
|
38
|
-
import "./replies-
|
|
37
|
+
import "./resolve-route-Cah2oBoB.js";
|
|
38
|
+
import "./replies-Rf4NZFNR.js";
|
|
39
39
|
|
|
40
40
|
//#region src/hooks/llm-slug-generator.ts
|
|
41
41
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
2
|
-
import { R as resolvePreferredSymiTmpDir } from "./registry-
|
|
3
|
-
import { o as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { _ as runExec } from "./workspace-
|
|
2
|
+
import { R as resolvePreferredSymiTmpDir } from "./registry-9AaJQms1.js";
|
|
3
|
+
import { o as resolveAgentWorkspaceDir } from "./agent-scope-DnJEvgMH.js";
|
|
4
|
+
import { _ as runExec } from "./workspace-OBnI5mKu.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { constants } from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
3
|
-
import { $ as sleep, B as clampInt, V as clampNumber$1, Y as resolveUserPath, tt as truncateUtf16Safe } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { d as ensureAuthProfileStore, f as resolveAuthStorePathForDisplay, g as normalizeSecretInput, h as normalizeOptionalSecretInput, l as listProfilesForProvider, n as resolveAuthProfileOrder, s as resolveApiKeyForProfile } from "./auth-profiles-
|
|
3
|
+
import { $ as sleep, B as clampInt, V as clampNumber$1, Y as resolveUserPath, tt as truncateUtf16Safe } from "./registry-9AaJQms1.js";
|
|
4
|
+
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-DnJEvgMH.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
6
|
+
import { d as ensureAuthProfileStore, f as resolveAuthStorePathForDisplay, g as normalizeSecretInput, h as normalizeOptionalSecretInput, l as listProfilesForProvider, n as resolveAuthProfileOrder, s as resolveApiKeyForProfile } from "./auth-profiles-DVc0P8H7.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BrrHNE8r.js";
|
|
8
|
-
import { c as normalizeProviderId, h as getProviderAdapter } from "./model-selection-
|
|
9
|
-
import { s as isTruthyEnvValue, t as getShellEnvAppliedKeys } from "./shell-env-
|
|
8
|
+
import { c as normalizeProviderId, h as getProviderAdapter } from "./model-selection-C_XFh0kf.js";
|
|
9
|
+
import { s as isTruthyEnvValue, t as getShellEnvAppliedKeys } from "./shell-env-DUnzZNS9.js";
|
|
10
10
|
import { n as formatErrorMessage } from "./errors-C89ppfp9.js";
|
|
11
11
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BsT3BvfH.js";
|
|
12
12
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-ChU6IQwp.js";
|
|
13
13
|
import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-BYHsj5p6.js";
|
|
14
|
-
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
14
|
+
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-B-yVqz_U.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
@@ -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-
|
|
4452
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-JptFSFxz.js"), import("./synthesis-C8CALFUp.js")]);
|
|
4453
4453
|
const synthesize = createSynthesizer({
|
|
4454
4454
|
cfg: this.cfg,
|
|
4455
4455
|
agentId: this.agentId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as isRecord, J as resolveConfigDir, Y as resolveUserPath } from "./registry-
|
|
1
|
+
import { G as isRecord, J as resolveConfigDir, Y as resolveUserPath } from "./registry-9AaJQms1.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-B7Aqv95X.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as normalizeAccountId } from "./session-key-BmQ2R1ev.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BcGFMr_d.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { i as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-DnJEvgMH.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/defaults.ts
|
|
4
4
|
const DEFAULT_PROVIDER = "anthropic";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as ensureAuthProfileStore, h as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
3
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { d as ensureAuthProfileStore, h as normalizeOptionalSecretInput } from "./auth-profiles-DVc0P8H7.js";
|
|
3
|
+
import { c as normalizeProviderId } from "./model-selection-C_XFh0kf.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as DEFAULT_ACCOUNT_ID, f as normalizeAccountId } from "./session-key-BmQ2R1ev.js";
|
|
2
|
-
import { a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
2
|
+
import { a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-9AaJQms1.js";
|
|
3
3
|
import { t as normalizeChatType } from "./chat-type-CE6cJOyt.js";
|
|
4
4
|
|
|
5
5
|
//#region src/channels/plugins/account-helpers.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import { R as resolvePreferredSymiTmpDir } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
2
|
+
import { R as resolvePreferredSymiTmpDir } from "./registry-9AaJQms1.js";
|
|
3
|
+
import "./agent-scope-DnJEvgMH.js";
|
|
4
|
+
import "./subsystem-DhOo2FZn.js";
|
|
5
|
+
import "./workspace-OBnI5mKu.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BrrHNE8r.js";
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./ssrf-
|
|
7
|
+
import "./model-selection-C_XFh0kf.js";
|
|
8
|
+
import "./ssrf-CD6rSfmA.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
|
-
import "./shell-env-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
10
|
+
import "./shell-env-DUnzZNS9.js";
|
|
11
|
+
import "./manifest-registry-B1g2QOPw.js";
|
|
12
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-Bu0sk8jc.js";
|
|
13
13
|
import "./redact-CSGZUFxa.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-C89ppfp9.js";
|
|
15
15
|
import path from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
2
2
|
import { v as parseAgentSessionKey } from "./session-key-BmQ2R1ev.js";
|
|
3
|
-
import "./registry-
|
|
4
|
-
import { o as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import "./workspace-
|
|
3
|
+
import "./registry-9AaJQms1.js";
|
|
4
|
+
import { o as resolveAgentWorkspaceDir } from "./agent-scope-DnJEvgMH.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
6
|
+
import "./workspace-OBnI5mKu.js";
|
|
7
7
|
import "./redact-CSGZUFxa.js";
|
|
8
8
|
import "./paths-BsT3BvfH.js";
|
|
9
9
|
import { m as statRegularFile, p as isFileMissingError } from "./internal-BYHsj5p6.js";
|
|
10
|
-
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
10
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-B-yVqz_U.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
|
-
import
|
|
6
|
+
import json5 from "json5";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
|
|
9
9
|
//#region src/infra/plain-object.ts
|
|
@@ -221,7 +221,7 @@ function readLoggingConfig() {
|
|
|
221
221
|
try {
|
|
222
222
|
if (!fs.existsSync(configPath)) return;
|
|
223
223
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
224
|
-
const logging =
|
|
224
|
+
const logging = json5.parse(raw)?.logging;
|
|
225
225
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
226
226
|
return logging;
|
|
227
227
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-
|
|
2
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-DBVjqPm2.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-BNMro1go.js";
|
|
4
|
+
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BHHkQK-k.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-DnJEvgMH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as DEFAULT_ACCOUNT_ID, f as normalizeAccountId, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, o as normalizeAgentId, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as sanitizeAgentId } from "./session-key-BmQ2R1ev.js";
|
|
3
|
-
import { E as shouldLogVerbose } from "./registry-
|
|
4
|
-
import { s as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { y as logDebug } from "./workspace-
|
|
3
|
+
import { E as shouldLogVerbose } from "./registry-9AaJQms1.js";
|
|
4
|
+
import { s as resolveDefaultAgentId } from "./agent-scope-DnJEvgMH.js";
|
|
5
|
+
import { y as logDebug } from "./workspace-OBnI5mKu.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-CE6cJOyt.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/bindings.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { C as logVerbose, E as shouldLogVerbose, Y as resolveUserPath } from "./registry-
|
|
3
|
-
import { S as logWarn } from "./workspace-
|
|
4
|
-
import { a as resolvePinnedHostnameWithPolicy, c as loadConfig, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-
|
|
5
|
-
import { S as readLocalFileSafely, a as convertHeicToJpeg, b as SafeOpenError, c as optimizeImageToPng, d as extensionForMime, l as resizeToJpeg, n as getDefaultMediaLocalRoots, s as hasAlphaChannel, u as detectMime, v as maxBytesForKind, y as mediaKindFromMime } from "./local-roots-
|
|
6
|
-
import { a as chunkText, c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { i as resolveSlackAccount, s as resolveSlackBotToken } from "./plugins-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { C as logVerbose, E as shouldLogVerbose, Y as resolveUserPath } from "./registry-9AaJQms1.js";
|
|
3
|
+
import { S as logWarn } from "./workspace-OBnI5mKu.js";
|
|
4
|
+
import { a as resolvePinnedHostnameWithPolicy, c as loadConfig, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-CD6rSfmA.js";
|
|
5
|
+
import { S as readLocalFileSafely, a as convertHeicToJpeg, b as SafeOpenError, c as optimizeImageToPng, d as extensionForMime, l as resizeToJpeg, n as getDefaultMediaLocalRoots, s as hasAlphaChannel, u as detectMime, v as maxBytesForKind, y as mediaKindFromMime } from "./local-roots-Ab2ch8iw.js";
|
|
6
|
+
import { a as chunkText, c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DBVjqPm2.js";
|
|
7
|
+
import { i as resolveSlackAccount, s as resolveSlackBotToken } from "./plugins-BcGFMr_d.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CVcd6XRG.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
3
|
-
import { Y as resolveUserPath, z as CONFIG_DIR } from "./registry-
|
|
4
|
-
import { o as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { n as listChatCommands } from "./commands-registry-
|
|
3
|
+
import { Y as resolveUserPath, z as CONFIG_DIR } from "./registry-9AaJQms1.js";
|
|
4
|
+
import { o as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-DnJEvgMH.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-BfqpCx1S.js";
|
|
7
|
+
import { n as listChatCommands } from "./commands-registry-yWbIOOoD.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Y as resolveUserPath, z as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { d as normalizeSkillFilter } from "./agent-scope-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { h as resolveSymiPackageRootSync } from "./workspace-
|
|
5
|
-
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
6
|
-
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-
|
|
1
|
+
import { Y as resolveUserPath, z as CONFIG_DIR } from "./registry-9AaJQms1.js";
|
|
2
|
+
import { d as normalizeSkillFilter } from "./agent-scope-DnJEvgMH.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
4
|
+
import { h as resolveSymiPackageRootSync } from "./workspace-OBnI5mKu.js";
|
|
5
|
+
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-B1g2QOPw.js";
|
|
6
|
+
import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-Dm9ehpNF.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
2
2
|
import { t as redactSensitiveText } from "./redact-CSGZUFxa.js";
|
|
3
3
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BsT3BvfH.js";
|
|
4
4
|
import { a as hashText } from "./internal-BYHsj5p6.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CE7eVGHg.js";
|
|
2
2
|
import { o as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BmQ2R1ev.js";
|
|
3
|
-
import { G as isRecord, J as resolveConfigDir, Y as resolveUserPath, nt as isPlainObject$1, t as CHANNEL_IDS } from "./registry-
|
|
4
|
-
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { g as DEFAULT_CONTEXT_TOKENS, l as parseModelRef } from "./model-selection-
|
|
6
|
-
import { a as shouldDeferShellEnvFallback, i as resolveShellEnvFallbackTimeoutMs, o as shouldEnableShellEnvFallback, r as loadShellEnvFallback } from "./shell-env-
|
|
7
|
-
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, f as normalizeEnvVarKey, l as isPathInside, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
3
|
+
import { G as isRecord, J as resolveConfigDir, Y as resolveUserPath, nt as isPlainObject$1, t as CHANNEL_IDS } from "./registry-9AaJQms1.js";
|
|
4
|
+
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-DnJEvgMH.js";
|
|
5
|
+
import { g as DEFAULT_CONTEXT_TOKENS, l as parseModelRef } from "./model-selection-C_XFh0kf.js";
|
|
6
|
+
import { a as shouldDeferShellEnvFallback, i as resolveShellEnvFallbackTimeoutMs, o as shouldEnableShellEnvFallback, r as loadShellEnvFallback } from "./shell-env-DUnzZNS9.js";
|
|
7
|
+
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, f as normalizeEnvVarKey, l as isPathInside, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-B1g2QOPw.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import { isDeepStrictEqual } from "node:util";
|
|
13
|
-
import
|
|
13
|
+
import json5 from "json5";
|
|
14
14
|
import crypto from "node:crypto";
|
|
15
15
|
import dotenv from "dotenv";
|
|
16
16
|
import AjvPkg from "ajv";
|
|
@@ -883,7 +883,7 @@ function safeRealpath(target) {
|
|
|
883
883
|
}
|
|
884
884
|
const defaultResolver = {
|
|
885
885
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
886
|
-
parseJson: (raw) =>
|
|
886
|
+
parseJson: (raw) => json5.parse(raw)
|
|
887
887
|
};
|
|
888
888
|
/**
|
|
889
889
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -4654,7 +4654,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
4654
4654
|
function normalizeDeps(overrides = {}) {
|
|
4655
4655
|
return {
|
|
4656
4656
|
fs: overrides.fs ?? fs,
|
|
4657
|
-
json5: overrides.json5 ??
|
|
4657
|
+
json5: overrides.json5 ?? json5,
|
|
4658
4658
|
env: overrides.env ?? process.env,
|
|
4659
4659
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
4660
4660
|
configPath: overrides.configPath ?? "",
|
|
@@ -4665,11 +4665,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
4665
4665
|
if (env !== process.env) return;
|
|
4666
4666
|
loadDotEnv({ quiet: true });
|
|
4667
4667
|
}
|
|
4668
|
-
function parseConfigJson5(raw, json5 =
|
|
4668
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
4669
4669
|
try {
|
|
4670
4670
|
return {
|
|
4671
4671
|
ok: true,
|
|
4672
|
-
parsed: json5.parse(raw)
|
|
4672
|
+
parsed: json5$1.parse(raw)
|
|
4673
4673
|
};
|
|
4674
4674
|
} catch (err) {
|
|
4675
4675
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as levelToMinLevel, I as normalizeLogLevel, L as readLoggingConfig, N as isFileLogLevelEnabled, P as loggingState, S as isVerbose, j as getChildLogger, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
1
|
+
import { F as levelToMinLevel, I as normalizeLogLevel, L as readLoggingConfig, N as isFileLogLevelEnabled, P as loggingState, S as isVerbose, j as getChildLogger, n as CHAT_CHANNEL_ORDER } from "./registry-9AaJQms1.js";
|
|
2
2
|
import { Chalk } from "chalk";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal/progress-line.ts
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
7
|
-
import "./auth-profiles-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import "./deliver-
|
|
10
|
-
import "./ssrf-
|
|
2
|
+
import "./registry-9AaJQms1.js";
|
|
3
|
+
import "./agent-scope-DnJEvgMH.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
5
|
+
import "./workspace-OBnI5mKu.js";
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-DR-adeyL.js";
|
|
7
|
+
import "./auth-profiles-DVc0P8H7.js";
|
|
8
|
+
import "./model-selection-C_XFh0kf.js";
|
|
9
|
+
import "./deliver-BZ-5d1Pv.js";
|
|
10
|
+
import "./ssrf-CD6rSfmA.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
|
-
import "./shell-env-
|
|
13
|
-
import "./manifest-registry-
|
|
14
|
-
import "./chrome-
|
|
15
|
-
import "./frontmatter-
|
|
16
|
-
import "./skills-
|
|
12
|
+
import "./shell-env-DUnzZNS9.js";
|
|
13
|
+
import "./manifest-registry-B1g2QOPw.js";
|
|
14
|
+
import "./chrome-Bu0sk8jc.js";
|
|
15
|
+
import "./frontmatter-Dm9ehpNF.js";
|
|
16
|
+
import "./skills-BfqpCx1S.js";
|
|
17
17
|
import "./redact-CSGZUFxa.js";
|
|
18
18
|
import "./errors-C89ppfp9.js";
|
|
19
|
-
import "./local-roots-
|
|
20
|
-
import "./thinking-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./plugins-
|
|
23
|
-
import "./send-
|
|
19
|
+
import "./local-roots-Ab2ch8iw.js";
|
|
20
|
+
import "./thinking-Dc4USx6E.js";
|
|
21
|
+
import "./chunk-DBVjqPm2.js";
|
|
22
|
+
import "./plugins-BcGFMr_d.js";
|
|
23
|
+
import "./send-BNMro1go.js";
|
|
24
24
|
import "./paths-BsT3BvfH.js";
|
|
25
|
-
import "./tokens-
|
|
26
|
-
import "./diagnostic-
|
|
25
|
+
import "./tokens-BHHkQK-k.js";
|
|
26
|
+
import "./diagnostic-BlK1QQVx.js";
|
|
27
27
|
import "./diagnostic-session-state-BDfanaOY.js";
|
|
28
|
-
import "./manager-
|
|
28
|
+
import "./manager-_ZfCrpDq.js";
|
|
29
29
|
import "./github-copilot-token-uhEBNQfj.js";
|
|
30
|
-
import "./pi-auth-json-
|
|
31
|
-
import "./reply-prefix-
|
|
32
|
-
import "./sqlite-
|
|
33
|
-
import "./markdown-tables-
|
|
34
|
-
import "./commands-registry-
|
|
35
|
-
import "./skill-commands-
|
|
30
|
+
import "./pi-auth-json-BxGRaPJK.js";
|
|
31
|
+
import "./reply-prefix-kh8vLHcr.js";
|
|
32
|
+
import "./sqlite-B-yVqz_U.js";
|
|
33
|
+
import "./markdown-tables-CVcd6XRG.js";
|
|
34
|
+
import "./commands-registry-yWbIOOoD.js";
|
|
35
|
+
import "./skill-commands-DG2orCQ1.js";
|
|
36
36
|
import "./pi-model-discovery-Rgm3jE5N.js";
|
|
37
|
-
import "./resolve-route-
|
|
38
|
-
import "./replies-
|
|
37
|
+
import "./resolve-route-Cah2oBoB.js";
|
|
38
|
+
import "./replies-Rf4NZFNR.js";
|
|
39
39
|
|
|
40
40
|
//#region src/memory/synthesis.ts
|
|
41
41
|
const log = createSubsystemLogger("memory/synthesis");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as normalizeAccountId } from "./session-key-BmQ2R1ev.js";
|
|
2
|
-
import { i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { a as resolveSlackReplyToMode, i as resolveSlackAccount } from "./plugins-
|
|
2
|
+
import { i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-9AaJQms1.js";
|
|
3
|
+
import { a as resolveSlackReplyToMode, i as resolveSlackAccount } from "./plugins-BcGFMr_d.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/string-normalization.ts
|
|
6
6
|
function normalizeStringEntries(list) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import { nt as isPlainObject } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { nt as isPlainObject } from "./registry-9AaJQms1.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DhOo2FZn.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|