@symerian/symi 3.5.32 → 3.5.34
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-BsRYHa15.js → agent-DkwJ_C7T.js} +1 -1
- package/dist/{agent-TRt_SsAW.js → agent-Dyqpglpp.js} +1 -1
- package/dist/{agents-7qMp2MWu.js → agents-CuwUmffQ.js} +2 -2
- package/dist/{auth-choice-DcB72YWZ.js → auth-choice-CbNJI71b.js} +1 -1
- package/dist/{auth-choice-C8lwYiEQ.js → auth-choice-Di2NnC96.js} +1 -1
- package/dist/{banner-B5Hv4rlk.js → banner-F6EJmEcS.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DOzFci6h.js → channel-options-CLEZcALj.js} +1 -1
- package/dist/{channel-options-ZkruGuHl.js → channel-options-IVQWWWuc.js} +1 -1
- package/dist/{channels-cli-CEz9LILV.js → channels-cli-Bl17If5e.js} +7 -7
- package/dist/{channels-cli-DMShhX0d.js → channels-cli-D8d9ok3b.js} +7 -7
- package/dist/{chrome-DNssqQJs.js → chrome-3jl2ulOE.js} +7 -7
- package/dist/{cli-MDHkESMC.js → cli-BIoLyk88.js} +4 -4
- package/dist/{cli-Byovb_j5.js → cli-CbAnYkYs.js} +4 -4
- package/dist/{command-registry-Dzj-Uz5N.js → command-registry-C5LOUwKq.js} +10 -10
- package/dist/{completion-cli-vAwL_uEK.js → completion-cli-Dcc5-bYY.js} +2 -2
- package/dist/{completion-cli-CsJ2f_fk.js → completion-cli-DewJuifK.js} +1 -1
- package/dist/{config-cli-cmea_Z-A.js → config-cli-CMsbPGB3.js} +1 -1
- package/dist/{config-cli-CqqCDyf0.js → config-cli-DemkhbXj.js} +1 -1
- package/dist/{configure-DymrZd1n.js → configure-CW75YbiI.js} +2 -2
- package/dist/{configure-BEPKQuJj.js → configure-Dc5xcSyf.js} +2 -2
- package/dist/control-ui/css/style.css +162 -0
- package/dist/control-ui/js/symframe.js +135 -0
- package/dist/{deliver-q23ar_Pm.js → deliver-f3cIWxXT.js} +4 -4
- package/dist/{doctor-completion--phnyAqO.js → doctor-completion-BpVYwGK0.js} +1 -1
- package/dist/{doctor-completion-BY72G6-l.js → doctor-completion-DQmw1ojx.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +4 -4
- package/dist/{gateway-cli-Bo80TSkq.js → gateway-cli-Dx6ulSWd.js} +10 -10
- package/dist/{gateway-cli-BVpyqk_H.js → gateway-cli-TdnIAl4W.js} +10 -10
- package/dist/{glass-ui-ws-CrmnRYxe.js → glass-ui-ws-BF5GGXNz.js} +8 -8
- package/dist/{glass-ui-ws-BK5qk7-_.js → glass-ui-ws-CZkskC04.js} +8 -8
- package/dist/{hooks-cli-CjklMDuK.js → hooks-cli-DFMpZI4k.js} +5 -5
- package/dist/{hooks-cli-CqmTdxT6.js → hooks-cli-Djw7WFoS.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-DM2oPS8M.js → manager-BVgukgOu.js} +1 -1
- package/dist/{manager-NDn8AFhr.js → manager-CAdF4u2G.js} +1 -1
- package/dist/{manager-XfNxjaX5.js → manager-DSXvXUZQ.js} +1 -1
- package/dist/{manager-CL767Sv9.js → manager-Dw6j9KTZ.js} +1 -1
- package/dist/{memory-CTf9MdBg.js → memory-7DZfwFEz.js} +2 -2
- package/dist/{memory-DOl2l2AS.js → memory-CuBkKhKM.js} +2 -2
- package/dist/{memory-cli-B9_Vfaow.js → memory-cli-C8h9g8yO.js} +2 -2
- package/dist/{memory-cli-CA5PbH9y.js → memory-cli-CGqqpDlw.js} +2 -2
- package/dist/{models-DgiBOeVH.js → models-CLJSIS8A.js} +2 -2
- package/dist/{models-cli-B7gTrlgn.js → models-cli-CbG4PAoP.js} +5 -5
- package/dist/{models-cli-BHN3bt0f.js → models-cli-D9bmuwoB.js} +6 -6
- package/dist/{onboard-DGp6mHJD.js → onboard-BY-QnWdl.js} +1 -1
- package/dist/{onboard-BNdKimpG.js → onboard-BdPqyQmJ.js} +1 -1
- package/dist/{onboard-channels-Dhb-28-_.js → onboard-channels-Bzi2ck6V.js} +1 -1
- package/dist/{onboard-channels-DSBWRjSp.js → onboard-channels-C8bsROUq.js} +1 -1
- package/dist/{onboarding-BG23DuS1.js → onboarding-Ccnav61g.js} +3 -3
- package/dist/{onboarding-MPSU9pXd.js → onboarding-Hbt4RoTz.js} +3 -3
- package/dist/{onboarding.finalize-Cv20GyNt.js → onboarding.finalize--xJkztAR.js} +3 -3
- package/dist/{onboarding.finalize-B-mxzJ08.js → onboarding.finalize-OpyyTxY1.js} +4 -4
- package/dist/{pi-embedded-V-5MAZNb.js → pi-embedded-RgjY3r6K.js} +92 -10
- package/dist/{plugin-registry-c3Skr0q9.js → plugin-registry-B_NJFVHQ.js} +1 -1
- package/dist/{plugin-registry-CBV_Y6Dj.js → plugin-registry-X13tkCTS.js} +1 -1
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-8Jo1X8SU.js → plugins-cli-C4bJxBRh.js} +5 -5
- package/dist/{plugins-cli-Dl7-FSCq.js → plugins-cli-DtdwfV-d.js} +5 -5
- package/dist/{program-context-BpeLcVUB.js → program-context-YblB1bz7.js} +18 -18
- package/dist/{program-D-LYHEvk.js → program-qzq3Lh15.js} +10 -10
- package/dist/{prompt-select-styled-ZWxB2Odf.js → prompt-select-styled-B_ial7p9.js} +4 -4
- package/dist/{prompt-select-styled-Ceih9wkY.js → prompt-select-styled-CQDea8e4.js} +4 -4
- package/dist/{provider-auth-helpers-BdvW7eau.js → provider-auth-helpers-BcP3qXzm.js} +1 -1
- package/dist/{provider-auth-helpers-BCejcf5o.js → provider-auth-helpers-BjVtTJHF.js} +1 -1
- package/dist/{push-apns-D4iLNyBo.js → push-apns-BWhqnXlG.js} +1 -1
- package/dist/{push-apns-HQd5hCpM.js → push-apns-D5FHZT1S.js} +1 -1
- package/dist/{pw-ai-v__CyAlM.js → pw-ai-DOAsQ5NX.js} +1 -1
- package/dist/{register.agent-DoUbqZIu.js → register.agent-BDw4ZFQo.js} +9 -9
- package/dist/{register.agent-zwVEiCHs.js → register.agent-DBb8ssU_.js} +8 -8
- package/dist/{register.configure-jBKvvOnk.js → register.configure-ClTC_gFo.js} +8 -8
- package/dist/{register.configure-CSe8Rlda.js → register.configure-DwN6_ucd.js} +8 -8
- package/dist/{register.maintenance-BdikNAV1.js → register.maintenance-C4EBdIW-.js} +9 -9
- package/dist/{register.maintenance-royLmVA2.js → register.maintenance-J8-7UEyc.js} +8 -8
- package/dist/{register.message-C_0uLdYn.js → register.message-CBkdglWp.js} +5 -5
- package/dist/{register.message-C1H5Vcnb.js → register.message-DkhnvbOo.js} +5 -5
- package/dist/{register.onboard-DTLtb0SN.js → register.onboard-B62sO2YM.js} +2 -2
- package/dist/{register.onboard-DnMRUtnl.js → register.onboard-BTM1uWDL.js} +2 -2
- package/dist/{register.setup-KA8Cs3HJ.js → register.setup-C7ai_6EG.js} +2 -2
- package/dist/{register.setup-B9sjRH7l.js → register.setup-X1z8nL1f.js} +2 -2
- package/dist/{register.status-health-sessions-BwiKHLEj.js → register.status-health-sessions-PBqHdGtS.js} +3 -3
- package/dist/{register.status-health-sessions-B_jcsH3c.js → register.status-health-sessions-oi4VY1yI.js} +3 -3
- package/dist/{register.subclis-B_V8vNI0.js → register.subclis-C1nbYmb-.js} +9 -9
- package/dist/{run-main-DhgQtxI0.js → run-main-Dcnq5F34.js} +17 -17
- package/dist/{server-methods-Bdz-OwQ4.js → server-methods-B8BrOzmI.js} +7 -7
- package/dist/{server-methods-6-10RyMD.js → server-methods-Cb-Z7rAJ.js} +7 -7
- package/dist/{server-node-events-C4giIb7q.js → server-node-events-BHcTrVe6.js} +6 -6
- package/dist/{server-node-events-B3Yey3h9.js → server-node-events-DnbQWd7e.js} +6 -6
- package/dist/{status-BRUIJsUm.js → status-CMnu_ZM8.js} +1 -1
- package/dist/{status-D_0593yR.js → status-DtfiqHU9.js} +1 -1
- package/dist/{status-B_CQpjQ9.js → status-KQBTdecN.js} +1 -1
- package/dist/{status-CCAO6ZHm.js → status-qu-13pDh.js} +1 -1
- package/dist/{subagent-registry-D8BIWG9Q.js → subagent-registry-BagjubTG.js} +85 -3
- package/dist/{synthesis-qvteT0Ti.js → synthesis-BFginQes.js} +4 -4
- package/dist/{synthesis-BfVWACNx.js → synthesis-CNxkpSl0.js} +4 -4
- package/dist/{synthesis-CV94EuT_.js → synthesis-CjbRZN2u.js} +4 -4
- package/dist/{synthesis-Bfhs-a4F.js → synthesis-CzEJh0zD.js} +2 -2
- package/dist/{unified-runner-C7BRCFJF.js → unified-runner-B2uJpfUK.js} +85 -3
- package/dist/{unified-runner-CtSJoaGS.js → unified-runner-BoNa4zCp.js} +85 -3
- package/dist/{update-cli-CUos9qgT.js → update-cli-D6uHO0yM.js} +9 -9
- package/dist/{update-cli-BrryYmFA.js → update-cli-Dj7wVif6.js} +8 -8
- 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
|
@@ -9,7 +9,7 @@ import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as reso
|
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-Acj2OK2p.js";
|
|
10
10
|
import { i as resolveSlackAccount, n as listChannelPlugins, o as resolveSlackAppToken, r as normalizeChannelId$1, s as resolveSlackBotToken, t as getChannelPlugin } from "./plugins-CZ_mYwXq.js";
|
|
11
11
|
import { S as resolveSlackChannelId, _ as resolveSlackWebClientOptions, a as sendMessageSlack, b as buildSlackBlocksFallbackText, c as getDefaultLocalRoots, d as fetchRemoteMedia, f as readResponseWithLimit, g as createSlackWebClient, h as fetchWithTimeout, i as resolveSlackThreadTs, l as loadWebMedia, m as bindAbortRelay, n as deliverReplies, o as renderMarkdownWithMarkers, p as fetchWithSsrFGuard, s as markdownToIRWithMeta, t as createSlackReplyDeliveryPlan, u as MediaFetchError, v as parseSlackBlocksInput, x as parseSlackTarget, y as validateSlackBlocksArray } from "./replies-0nzkXt6o.js";
|
|
12
|
-
import { $ as loadSessionStore, $t as resolveToolProfilePolicy, A as formatRawAssistantErrorForUi, At as resolveMainSessionKey, B as isRateLimitAssistantError, Bt as saveMediaBuffer, C as downgradeOpenAIReasoningBlocks, Ct as resolveChannelResetConfig, D as classifyFailoverReason, Dt as DEFAULT_RESET_TRIGGERS, E as BILLING_ERROR_USER_MESSAGE, Et as resolveThreadFlag, F as isCompactionFailureError, Ft as createBrowserRouteContext, G as parseImageSizeError, Gt as resolveBrowserControlAuth, H as isTimeoutErrorMessage, Ht as resolveExistingPathsWithinRoot, I as isContextOverflowError, It as registerBrowserRoutes, J as resolveSandboxContext, Jt as collectExplicitAllowlist, K as sanitizeUserFacingText, Kt as applyOwnerOnlyToolPolicy, L as isFailoverAssistantError, Lt as resolveBrowserConfig, M as isAuthAssistantError, Mt as resolveGroupSessionKey, N as isBillingAssistantError, Nt as acquireSessionWriteLock, O as formatAssistantErrorText, Ot as resolveFreshSessionTotalTokens, P as isCloudCodeAssistFormatError, Pt as resolveSessionLockMaxHoldFromTimeout, Q as resolveAndPersistSessionFile, Qt as normalizeToolName$1, R as isFailoverErrorMessage, Rt as resolveProfile, S as extractToolResultId, St as evaluateSessionFreshness, T as isGoogleModelApi, Tt as resolveSessionResetType, U as isTransientHttpError, Ut as getBridgeAuthForPort, V as isRawApiErrorPayload, Vt as DEFAULT_UPLOAD_DIR, W as parseImageDimensionError, Wt as ensureBrowserControlAuth, X as extractDeliveryInfo, Xt as expandToolGroups, Y as resolveSandboxRuntimeStatus, Yt as expandPolicyWithPluginGroups, Z as appendAssistantMessageToSessionTranscript, Zt as mergeAlsoAllowPolicy, _ as sanitizeSessionMessagesImages, _t as INPUT_PROVENANCE_KIND_VALUES, a as normalizeChannelTargetInput, an as resolveBootstrapMaxChars, at as updateSessionStoreEntry, b as resolveImageSanitizationLimits, bt as normalizeInputProvenance, c as parseReplyDirectives, cn as getGlobalHookRunner, ct as deliveryContextFromSession, d as parseInlineDirectives$1, dt as normalizeDeliveryContext, en as stripPluginOnlyAllowlist, et as readSessionUpdatedAt, f as validateAnthropicTurns, ft as normalizeSessionDeliveryFields, g as normalizeTextForComparison, gt as extractToolCallNames, h as isMessagingToolDuplicateNormalized, ht as countToolResults, i as buildTargetResolverSignature, in as ensureSessionHeader, it as updateSessionStore, j as getApiErrorPayloadFingerprint, jt as deriveSessionMetaPatch, k as formatBillingErrorMessage, kt as canonicalizeMainSessionAlias, l as MEDIA_TOKEN_RE, ln as initializeGlobalHookRunner, lt as deliveryContextKey, m as pickFallbackThinkingLevel, mt as capArrayByJsonBytes, nn as matchesAnyGlobPattern, o as normalizeTargetForProvider, on as resolveBootstrapTotalMaxChars, ot as isCacheEnabled, p as validateGeminiTurns, pt as archiveSessionTranscripts, q as ensureSandboxWorkspaceForSession, qt as buildPluginToolGroups, r as normalizeReplyPayloadsForDelivery, rn as buildBootstrapContextFiles, rt as updateLastRoute, s as throwIfAborted, sn as sanitizeGoogleTurnOrdering, st as resolveCacheTtlMs$1, t as deliverOutboundPayloads, tn as compileGlobPatterns, tt as recordSessionMetaFromInbound, u as splitMediaFromOutput, ut as mergeDeliveryContext, v as sanitizeImageBlocks, vt as applyInputProvenanceToUserMessage, w as isAntigravityClaude, wt as resolveSessionResetPolicy, x as extractToolCallsFromAssistant, xt as resolveSessionKey, y as sanitizeToolResultImages, yt as hasInterSessionUserProvenance, z as isLikelyContextOverflowError, zt as getMediaDir } from "./deliver-
|
|
12
|
+
import { $ as loadSessionStore, $t as resolveToolProfilePolicy, A as formatRawAssistantErrorForUi, At as resolveMainSessionKey, B as isRateLimitAssistantError, Bt as saveMediaBuffer, C as downgradeOpenAIReasoningBlocks, Ct as resolveChannelResetConfig, D as classifyFailoverReason, Dt as DEFAULT_RESET_TRIGGERS, E as BILLING_ERROR_USER_MESSAGE, Et as resolveThreadFlag, F as isCompactionFailureError, Ft as createBrowserRouteContext, G as parseImageSizeError, Gt as resolveBrowserControlAuth, H as isTimeoutErrorMessage, Ht as resolveExistingPathsWithinRoot, I as isContextOverflowError, It as registerBrowserRoutes, J as resolveSandboxContext, Jt as collectExplicitAllowlist, K as sanitizeUserFacingText, Kt as applyOwnerOnlyToolPolicy, L as isFailoverAssistantError, Lt as resolveBrowserConfig, M as isAuthAssistantError, Mt as resolveGroupSessionKey, N as isBillingAssistantError, Nt as acquireSessionWriteLock, O as formatAssistantErrorText, Ot as resolveFreshSessionTotalTokens, P as isCloudCodeAssistFormatError, Pt as resolveSessionLockMaxHoldFromTimeout, Q as resolveAndPersistSessionFile, Qt as normalizeToolName$1, R as isFailoverErrorMessage, Rt as resolveProfile, S as extractToolResultId, St as evaluateSessionFreshness, T as isGoogleModelApi, Tt as resolveSessionResetType, U as isTransientHttpError, Ut as getBridgeAuthForPort, V as isRawApiErrorPayload, Vt as DEFAULT_UPLOAD_DIR, W as parseImageDimensionError, Wt as ensureBrowserControlAuth, X as extractDeliveryInfo, Xt as expandToolGroups, Y as resolveSandboxRuntimeStatus, Yt as expandPolicyWithPluginGroups, Z as appendAssistantMessageToSessionTranscript, Zt as mergeAlsoAllowPolicy, _ as sanitizeSessionMessagesImages, _t as INPUT_PROVENANCE_KIND_VALUES, a as normalizeChannelTargetInput, an as resolveBootstrapMaxChars, at as updateSessionStoreEntry, b as resolveImageSanitizationLimits, bt as normalizeInputProvenance, c as parseReplyDirectives, cn as getGlobalHookRunner, ct as deliveryContextFromSession, d as parseInlineDirectives$1, dt as normalizeDeliveryContext, en as stripPluginOnlyAllowlist, et as readSessionUpdatedAt, f as validateAnthropicTurns, ft as normalizeSessionDeliveryFields, g as normalizeTextForComparison, gt as extractToolCallNames, h as isMessagingToolDuplicateNormalized, ht as countToolResults, i as buildTargetResolverSignature, in as ensureSessionHeader, it as updateSessionStore, j as getApiErrorPayloadFingerprint, jt as deriveSessionMetaPatch, k as formatBillingErrorMessage, kt as canonicalizeMainSessionAlias, l as MEDIA_TOKEN_RE, ln as initializeGlobalHookRunner, lt as deliveryContextKey, m as pickFallbackThinkingLevel, mt as capArrayByJsonBytes, nn as matchesAnyGlobPattern, o as normalizeTargetForProvider, on as resolveBootstrapTotalMaxChars, ot as isCacheEnabled, p as validateGeminiTurns, pt as archiveSessionTranscripts, q as ensureSandboxWorkspaceForSession, qt as buildPluginToolGroups, r as normalizeReplyPayloadsForDelivery, rn as buildBootstrapContextFiles, rt as updateLastRoute, s as throwIfAborted, sn as sanitizeGoogleTurnOrdering, st as resolveCacheTtlMs$1, t as deliverOutboundPayloads, tn as compileGlobPatterns, tt as recordSessionMetaFromInbound, u as splitMediaFromOutput, ut as mergeDeliveryContext, v as sanitizeImageBlocks, vt as applyInputProvenanceToUserMessage, w as isAntigravityClaude, wt as resolveSessionResetPolicy, x as extractToolCallsFromAssistant, xt as resolveSessionKey, y as sanitizeToolResultImages, yt as hasInterSessionUserProvenance, z as isLikelyContextOverflowError, zt as getMediaDir } from "./deliver-f3cIWxXT.js";
|
|
13
13
|
import { a as logMessageProcessed, i as logLaneEnqueue, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag } from "./diagnostic-BdRnGknC.js";
|
|
14
14
|
import { n as getDiagnosticSessionState } from "./diagnostic-session-state-DpxCUzoM.js";
|
|
15
15
|
import { S as GATEWAY_CLIENT_NAMES, _ as listDeliverableMessageChannels, a as chunkText, b as GATEWAY_CLIENT_IDS, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, g as isMarkdownCapableMessageChannel, h as isInternalMessageChannel, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, m as isDeliverableMessageChannel, o as chunkTextWithMode, p as INTERNAL_MESSAGE_CHANNEL, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt, v as normalizeMessageChannel, x as GATEWAY_CLIENT_MODES, y as resolveGatewayMessageChannel } from "./chunk-CAZujdOi.js";
|
|
@@ -18,7 +18,7 @@ import { C as unsetConfigValueAtPath, S as setConfigValueAtPath, T as VERSION, _
|
|
|
18
18
|
import { t as parseBooleanValue } from "./boolean-BW6OTjPi.js";
|
|
19
19
|
import { i as resolveShellEnvFallbackTimeoutMs, n as getShellPathFromLoginShell, s as isTruthyEnvValue } from "./shell-env-DgjeObDZ.js";
|
|
20
20
|
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-CAWGTwb5.js";
|
|
21
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
21
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-3jl2ulOE.js";
|
|
22
22
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-DPd9RN2g.js";
|
|
23
23
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-DO7WNsVJ.js";
|
|
24
24
|
import { n as redactToolDetail } from "./redact-DSOAcWMe.js";
|
|
@@ -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-CAdF4u2G.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";
|
|
@@ -53,7 +53,7 @@ import { fileURLToPath } from "node:url";
|
|
|
53
53
|
import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, SettingsManager, codingTools, createAgentSession, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary, readTool } from "@mariozechner/pi-coding-agent";
|
|
54
54
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
55
55
|
import AjvPkg from "ajv";
|
|
56
|
-
import { WebSocket } from "ws";
|
|
56
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
57
57
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
58
58
|
import { complete, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
|
|
59
59
|
import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock";
|
|
@@ -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-CAdF4u2G.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-CAdF4u2G.js").then((n) => n.t);
|
|
3407
3407
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3408
3408
|
} catch (err) {
|
|
3409
3409
|
return {
|
|
@@ -5968,7 +5968,7 @@ var GatewayClient = class {
|
|
|
5968
5968
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
5969
5969
|
});
|
|
5970
5970
|
}
|
|
5971
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
5971
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
5972
5972
|
this.ws.on("open", () => {
|
|
5973
5973
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
5974
5974
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -6187,7 +6187,7 @@ var GatewayClient = class {
|
|
|
6187
6187
|
return null;
|
|
6188
6188
|
}
|
|
6189
6189
|
async request(method, params, opts) {
|
|
6190
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
6190
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
6191
6191
|
const id = randomUUID();
|
|
6192
6192
|
const frame = {
|
|
6193
6193
|
type: "req",
|
|
@@ -7137,7 +7137,7 @@ async function routeReply(params) {
|
|
|
7137
7137
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7138
7138
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7139
7139
|
try {
|
|
7140
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7140
|
+
const { deliverOutboundPayloads } = await import("./deliver-f3cIWxXT.js").then((n) => n.n);
|
|
7141
7141
|
return {
|
|
7142
7142
|
ok: true,
|
|
7143
7143
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -42334,7 +42334,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
42334
42334
|
return;
|
|
42335
42335
|
}
|
|
42336
42336
|
try {
|
|
42337
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
42337
|
+
const { deliverOutboundPayloads } = await import("./deliver-f3cIWxXT.js").then((n) => n.n);
|
|
42338
42338
|
await deliverOutboundPayloads({
|
|
42339
42339
|
cfg: params.cfg,
|
|
42340
42340
|
channel,
|
|
@@ -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);
|
|
@@ -51536,6 +51562,44 @@ function injectHistoryImagesIntoMessages(messages, historyImagesByIndex) {
|
|
|
51536
51562
|
}
|
|
51537
51563
|
return didMutate;
|
|
51538
51564
|
}
|
|
51565
|
+
function parseMemorySnippet(path, snippet) {
|
|
51566
|
+
const baseName = (path.split(/[/\\]/).pop() ?? path).replace(/\.md$/i, "");
|
|
51567
|
+
const typeFromPrefix = (() => {
|
|
51568
|
+
const prefix = baseName.split("_")[0]?.toLowerCase() ?? "";
|
|
51569
|
+
if ([
|
|
51570
|
+
"user",
|
|
51571
|
+
"feedback",
|
|
51572
|
+
"project",
|
|
51573
|
+
"reference"
|
|
51574
|
+
].includes(prefix)) return prefix;
|
|
51575
|
+
return "memory";
|
|
51576
|
+
})();
|
|
51577
|
+
let title = baseName;
|
|
51578
|
+
let type = typeFromPrefix;
|
|
51579
|
+
let description = "";
|
|
51580
|
+
const lines = snippet.split(/\r?\n/);
|
|
51581
|
+
for (const raw of lines) {
|
|
51582
|
+
const line = raw.trim();
|
|
51583
|
+
if (!line || line === "---") continue;
|
|
51584
|
+
const m = line.match(/^([a-z][a-z0-9_-]*)\s*:\s*(.+)$/i);
|
|
51585
|
+
if (!m) {
|
|
51586
|
+
if (!description && line.length > 0 && !line.startsWith("#")) description = line;
|
|
51587
|
+
continue;
|
|
51588
|
+
}
|
|
51589
|
+
const key = m[1].toLowerCase();
|
|
51590
|
+
const value = m[2].trim();
|
|
51591
|
+
if (key === "name" && !title.includes(" ")) title = value;
|
|
51592
|
+
else if (key === "name") title = value;
|
|
51593
|
+
else if (key === "description") description = value;
|
|
51594
|
+
else if (key === "type") type = value.toLowerCase();
|
|
51595
|
+
}
|
|
51596
|
+
if (description.length > 160) description = `${description.slice(0, 157)}…`;
|
|
51597
|
+
return {
|
|
51598
|
+
title,
|
|
51599
|
+
type,
|
|
51600
|
+
description
|
|
51601
|
+
};
|
|
51602
|
+
}
|
|
51539
51603
|
function summarizeMessagePayload(msg) {
|
|
51540
51604
|
const content = msg.content;
|
|
51541
51605
|
if (typeof content === "string") return {
|
|
@@ -52238,6 +52302,24 @@ async function runEmbeddedAttempt(params) {
|
|
|
52238
52302
|
const recallBlock = `<memory_context>\nThe following memory snippets were automatically retrieved as relevant context:\n\n${recallResults.map((r) => `[${r.path}#L${r.startLine}-L${r.endLine}]\n${r.snippet}`).join("\n---\n")}\n</memory_context>`;
|
|
52239
52303
|
effectivePrompt = `${recallBlock}\n\n${effectivePrompt}`;
|
|
52240
52304
|
log$5.debug(`auto-recall: injected ${recallResults.length} snippets (${recallBlock.length} chars)`);
|
|
52305
|
+
for (const r of recallResults) {
|
|
52306
|
+
const parsed = parseMemorySnippet(r.path, r.snippet);
|
|
52307
|
+
emitSymframePush({
|
|
52308
|
+
action: "add",
|
|
52309
|
+
id: `memory-${r.path}#L${r.startLine}`,
|
|
52310
|
+
card: {
|
|
52311
|
+
id: `memory-${r.path}#L${r.startLine}`,
|
|
52312
|
+
type: "memory",
|
|
52313
|
+
intent: "holding",
|
|
52314
|
+
title: parsed.title,
|
|
52315
|
+
memoryType: parsed.type,
|
|
52316
|
+
memoryDescription: parsed.description,
|
|
52317
|
+
memoryPath: r.path,
|
|
52318
|
+
memoryScore: r.score,
|
|
52319
|
+
releaseAfterMs: 6e4
|
|
52320
|
+
}
|
|
52321
|
+
});
|
|
52322
|
+
}
|
|
52241
52323
|
}
|
|
52242
52324
|
}
|
|
52243
52325
|
} catch (recallErr) {
|
|
@@ -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-BagjubTG.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-BoNa4zCp.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-BagjubTG.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-7DZfwFEz.js";
|
|
51
|
+
import "./manager-DSXvXUZQ.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-CGqqpDlw.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-KQBTdecN.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-BoNa4zCp.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-CuBkKhKM.js";
|
|
54
|
+
import "./manager-Dw6j9KTZ.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-C8h9g8yO.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-CMnu_ZM8.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";
|
|
@@ -35,7 +35,7 @@ const entries = [
|
|
|
35
35
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
36
36
|
hasSubcommands: true,
|
|
37
37
|
register: async (program) => {
|
|
38
|
-
(await import("./gateway-cli-
|
|
38
|
+
(await import("./gateway-cli-TdnIAl4W.js")).registerGatewayCli(program);
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -67,7 +67,7 @@ const entries = [
|
|
|
67
67
|
description: "Discover, scan, and configure models",
|
|
68
68
|
hasSubcommands: true,
|
|
69
69
|
register: async (program) => {
|
|
70
|
-
(await import("./models-cli-
|
|
70
|
+
(await import("./models-cli-CbG4PAoP.js")).registerModelsCli(program);
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
{
|
|
@@ -147,7 +147,7 @@ const entries = [
|
|
|
147
147
|
description: "Manage internal agent hooks",
|
|
148
148
|
hasSubcommands: true,
|
|
149
149
|
register: async (program) => {
|
|
150
|
-
(await import("./hooks-cli-
|
|
150
|
+
(await import("./hooks-cli-DFMpZI4k.js")).registerHooksCli(program);
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
@@ -171,7 +171,7 @@ const entries = [
|
|
|
171
171
|
description: "Secure DM pairing (approve inbound requests)",
|
|
172
172
|
hasSubcommands: true,
|
|
173
173
|
register: async (program) => {
|
|
174
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
174
|
+
const { registerPluginCliCommands } = await import("./cli-CbAnYkYs.js");
|
|
175
175
|
registerPluginCliCommands(program, await loadConfig());
|
|
176
176
|
(await import("./pairing-cli-Rsae0KnN.js")).registerPairingCli(program);
|
|
177
177
|
}
|
|
@@ -181,8 +181,8 @@ const entries = [
|
|
|
181
181
|
description: "Manage Symi plugins and extensions",
|
|
182
182
|
hasSubcommands: true,
|
|
183
183
|
register: async (program) => {
|
|
184
|
-
(await import("./plugins-cli-
|
|
185
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
184
|
+
(await import("./plugins-cli-DtdwfV-d.js")).registerPluginsCli(program);
|
|
185
|
+
const { registerPluginCliCommands } = await import("./cli-CbAnYkYs.js");
|
|
186
186
|
registerPluginCliCommands(program, await loadConfig());
|
|
187
187
|
}
|
|
188
188
|
},
|
|
@@ -191,7 +191,7 @@ const entries = [
|
|
|
191
191
|
description: "Manage connected chat channels (Telegram, Slack, etc.)",
|
|
192
192
|
hasSubcommands: true,
|
|
193
193
|
register: async (program) => {
|
|
194
|
-
(await import("./channels-cli-
|
|
194
|
+
(await import("./channels-cli-D8d9ok3b.js")).registerChannelsCli(program);
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
{
|
|
@@ -223,7 +223,7 @@ const entries = [
|
|
|
223
223
|
description: "Update Symi and inspect update channel status",
|
|
224
224
|
hasSubcommands: true,
|
|
225
225
|
register: async (program) => {
|
|
226
|
-
(await import("./update-cli-
|
|
226
|
+
(await import("./update-cli-Dj7wVif6.js")).registerUpdateCli(program);
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
{
|
|
@@ -231,7 +231,7 @@ const entries = [
|
|
|
231
231
|
description: "Generate shell completion script",
|
|
232
232
|
hasSubcommands: false,
|
|
233
233
|
register: async (program) => {
|
|
234
|
-
(await import("./completion-cli-
|
|
234
|
+
(await import("./completion-cli-DewJuifK.js").then((n) => n.n)).registerCompletionCli(program);
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
{
|
|
@@ -310,7 +310,7 @@ const coreEntries = [
|
|
|
310
310
|
hasSubcommands: false
|
|
311
311
|
}],
|
|
312
312
|
register: async ({ program }) => {
|
|
313
|
-
(await import("./register.setup-
|
|
313
|
+
(await import("./register.setup-C7ai_6EG.js")).registerSetupCommand(program);
|
|
314
314
|
}
|
|
315
315
|
},
|
|
316
316
|
{
|
|
@@ -320,7 +320,7 @@ const coreEntries = [
|
|
|
320
320
|
hasSubcommands: false
|
|
321
321
|
}],
|
|
322
322
|
register: async ({ program }) => {
|
|
323
|
-
(await import("./register.onboard-
|
|
323
|
+
(await import("./register.onboard-B62sO2YM.js")).registerOnboardCommand(program);
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
326
|
{
|
|
@@ -330,7 +330,7 @@ const coreEntries = [
|
|
|
330
330
|
hasSubcommands: false
|
|
331
331
|
}],
|
|
332
332
|
register: async ({ program }) => {
|
|
333
|
-
(await import("./register.configure-
|
|
333
|
+
(await import("./register.configure-DwN6_ucd.js")).registerConfigureCommand(program);
|
|
334
334
|
}
|
|
335
335
|
},
|
|
336
336
|
{
|
|
@@ -340,7 +340,7 @@ const coreEntries = [
|
|
|
340
340
|
hasSubcommands: true
|
|
341
341
|
}],
|
|
342
342
|
register: async ({ program }) => {
|
|
343
|
-
(await import("./config-cli-
|
|
343
|
+
(await import("./config-cli-CMsbPGB3.js")).registerConfigCli(program);
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
{
|
|
@@ -367,7 +367,7 @@ const coreEntries = [
|
|
|
367
367
|
}
|
|
368
368
|
],
|
|
369
369
|
register: async ({ program }) => {
|
|
370
|
-
(await import("./register.maintenance-
|
|
370
|
+
(await import("./register.maintenance-J8-7UEyc.js")).registerMaintenanceCommands(program);
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
373
|
{
|
|
@@ -377,7 +377,7 @@ const coreEntries = [
|
|
|
377
377
|
hasSubcommands: true
|
|
378
378
|
}],
|
|
379
379
|
register: async ({ program, ctx }) => {
|
|
380
|
-
(await import("./register.message-
|
|
380
|
+
(await import("./register.message-CBkdglWp.js")).registerMessageCommands(program, ctx);
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
383
|
{
|
|
@@ -387,7 +387,7 @@ const coreEntries = [
|
|
|
387
387
|
hasSubcommands: true
|
|
388
388
|
}],
|
|
389
389
|
register: async ({ program }) => {
|
|
390
|
-
(await import("./memory-cli-
|
|
390
|
+
(await import("./memory-cli-C8h9g8yO.js").then((n) => n.t)).registerMemoryCli(program);
|
|
391
391
|
}
|
|
392
392
|
},
|
|
393
393
|
{
|
|
@@ -401,7 +401,7 @@ const coreEntries = [
|
|
|
401
401
|
hasSubcommands: true
|
|
402
402
|
}],
|
|
403
403
|
register: async ({ program, ctx }) => {
|
|
404
|
-
(await import("./register.agent-
|
|
404
|
+
(await import("./register.agent-DBb8ssU_.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
405
405
|
}
|
|
406
406
|
},
|
|
407
407
|
{
|
|
@@ -423,7 +423,7 @@ const coreEntries = [
|
|
|
423
423
|
}
|
|
424
424
|
],
|
|
425
425
|
register: async ({ program }) => {
|
|
426
|
-
(await import("./register.status-health-sessions-
|
|
426
|
+
(await import("./register.status-health-sessions-oi4VY1yI.js")).registerStatusHealthSessionsCommands(program);
|
|
427
427
|
}
|
|
428
428
|
},
|
|
429
429
|
{
|
|
@@ -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-BagjubTG.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-7DZfwFEz.js";
|
|
52
|
+
import "./manager-DSXvXUZQ.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-CGqqpDlw.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-B_NJFVHQ.js";
|
|
89
|
+
import { n as resolveCliChannelOptions } from "./channel-options-IVQWWWuc.js";
|
|
90
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-C1nbYmb-.js";
|
|
91
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-C5LOUwKq.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-F6EJmEcS.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-B_NJFVHQ.js").then((n) => n.n);
|
|
203
203
|
ensurePluginRegistryLoaded();
|
|
204
204
|
}
|
|
205
205
|
});
|
|
@@ -9,7 +9,7 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-g3ssrjuX.js";
|
|
|
9
9
|
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-D7TcU4qN.js";
|
|
10
10
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DTshgdlW.js";
|
|
11
11
|
import { l as resolveGatewayBindHost, n as isLoopbackHost } from "./net-TZUXtwGR.js";
|
|
12
|
-
import { Bt as formatRemainingShort, Rt as DEFAULT_OAUTH_WARN_MS, m as loadSymiPlugins, zt as buildAuthHealthSummary } from "./subagent-registry-
|
|
12
|
+
import { Bt as formatRemainingShort, Rt as DEFAULT_OAUTH_WARN_MS, m as loadSymiPlugins, zt as buildAuthHealthSummary } from "./subagent-registry-BagjubTG.js";
|
|
13
13
|
import { F as resolveMainSessionKey, H as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-Dn6VXn4p.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
15
15
|
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-DjKcZavm.js";
|
|
@@ -17,8 +17,8 @@ import { a as resolveGatewayAuth } from "./auth-pHRwjgkx.js";
|
|
|
17
17
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-uA7P2qIK.js";
|
|
18
18
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DtiEyjsC.js";
|
|
19
19
|
import { i as resolveApiKeyForProvider } from "./model-auth-Byr7Gic_.js";
|
|
20
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
21
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
20
|
+
import { n as resolveMemoryBackendConfig } from "./memory-7DZfwFEz.js";
|
|
21
|
+
import { c as resolveMemorySearchConfig } from "./manager-DSXvXUZQ.js";
|
|
22
22
|
import { n as loadModelCatalog } from "./model-catalog-CzKsiNZA.js";
|
|
23
23
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-BP_JoSwO.js";
|
|
24
24
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CZGg35Py.js";
|
|
@@ -42,7 +42,7 @@ import { n as logConfigUpdated } from "./logging-Ev3fNJEG.js";
|
|
|
42
42
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BIBJeoRl.js";
|
|
43
43
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CctFkWNE.js";
|
|
44
44
|
import { t as formatHealthCheckFailure } from "./health-format-6tfMqkNX.js";
|
|
45
|
-
import { n as doctorShellCompletion } from "./doctor-completion
|
|
45
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BpVYwGK0.js";
|
|
46
46
|
import { execFile } from "node:child_process";
|
|
47
47
|
import os from "node:os";
|
|
48
48
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as buildAuthHealthSummary, yt as formatRemainingShort } from "./unified-runner-
|
|
1
|
+
import { _t as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as buildAuthHealthSummary, yt as formatRemainingShort } from "./unified-runner-BoNa4zCp.js";
|
|
2
2
|
import { P as getResolvedLoggerSettings } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir, b as resolveRequiredHomeDir, d as resolveIsNixMode, h as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath, y as sleep } from "./utils-CTPsqyE_.js";
|
|
@@ -19,8 +19,8 @@ import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionS
|
|
|
19
19
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
20
20
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
21
21
|
import { i as resolveApiKeyForProvider } from "./model-auth-1EAQvYRv.js";
|
|
22
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
23
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
22
|
+
import { n as resolveMemoryBackendConfig } from "./memory-CuBkKhKM.js";
|
|
23
|
+
import { c as resolveMemorySearchConfig } from "./manager-Dw6j9KTZ.js";
|
|
24
24
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-AZ9vNhST.js";
|
|
25
25
|
import { n as loadModelCatalog } from "./model-catalog-IWi6-nY9.js";
|
|
26
26
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-BLIhifCJ.js";
|
|
@@ -46,7 +46,7 @@ import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
|
46
46
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-C52W1uUK.js";
|
|
47
47
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BzYk7A6M.js";
|
|
48
48
|
import { t as formatHealthCheckFailure } from "./health-format-Bxg84_f4.js";
|
|
49
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
49
|
+
import { n as doctorShellCompletion } from "./doctor-completion-DQmw1ojx.js";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-D11Xw15i.js";
|
|
3
3
|
import { u as normalizeProviderId } from "./model-selection-CMx1evaF.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-BagjubTG.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-CZGg35Py.js";
|
|
6
6
|
import { n as isWSLEnv } from "./wsl-DMA0sTvh.js";
|
|
7
7
|
import { f as updateConfig } from "./shared-DHJR5_SP.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-BoNa4zCp.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
3
3
|
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-Ce7R_25e.js";
|
|
4
4
|
import { u as normalizeProviderId } from "./model-selection-7wdmO-Iw.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { U as isVerbose, f as shouldLogSubsystemToConsole, o as createSubsystemLogger, yt as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { x as parseAgentSessionKey } from "./session-key-CFxFgYxM.js";
|
|
3
3
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-B-OTYROz.js";
|
|
4
|
-
import { d as sniffMimeFromBase64, en as estimateBase64DecodedBytes } from "./subagent-registry-
|
|
4
|
+
import { d as sniffMimeFromBase64, en as estimateBase64DecodedBytes } from "./subagent-registry-BagjubTG.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-Dj3r1_tS.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import chalk from "chalk";
|