@symerian/symi 3.3.2 → 3.3.4
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-BED0HDsS.js → agent-9zPi5Bip.js} +1 -1
- package/dist/{agent-pDOR_idq.js → agent-M9EC02CI.js} +1 -1
- package/dist/{agents-mZX2a3hp.js → agents-CW9uf_n0.js} +2 -2
- package/dist/{auth-choice-BgCnInKE.js → auth-choice-Bio1-QUP.js} +1 -1
- package/dist/{auth-choice-nKtOJ3wF.js → auth-choice-DS5oaUTz.js} +1 -1
- package/dist/{banner-C2jUZyMq.js → banner-0vT1O9w2.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DBKd8H2k.js → channel-options-CcGtiy0Q.js} +1 -1
- package/dist/{channel-options-DRzIcaL1.js → channel-options-DZ17japQ.js} +1 -1
- package/dist/{channels-cli-CxUB3oX1.js → channels-cli-BSvEpjOV.js} +7 -7
- package/dist/{channels-cli-CdfROBlW.js → channels-cli-DxSXTCCh.js} +7 -7
- package/dist/{chrome-CejiigNy.js → chrome-C9mX2mtt.js} +7 -7
- package/dist/{chrome-b556dOQ6.js → chrome-CQnRgvJz.js} +7 -7
- package/dist/{cli-CzEP9cIM.js → cli-CHk4wR-F.js} +4 -4
- package/dist/{cli-DWcoPSRG.js → cli-Dn9ylBb2.js} +4 -4
- package/dist/{command-registry-5O5dCHsD.js → command-registry-UxY6jjeo.js} +10 -10
- package/dist/{completion-cli-D4wYjxBG.js → completion-cli-DebZ6nSb.js} +1 -1
- package/dist/{completion-cli-DqrFJhG4.js → completion-cli-m9L2Gv9t.js} +2 -2
- package/dist/{config-cli-BE2vvf40.js → config-cli-D4_gO3Pd.js} +1 -1
- package/dist/{config-cli-CfA5xnD-.js → config-cli-D9YdRiN2.js} +1 -1
- package/dist/{configure-CPY4n9mx.js → configure-BXjJQG1p.js} +2 -2
- package/dist/{configure-DYDsHAWF.js → configure-D9NeIMjP.js} +2 -2
- package/dist/control-ui/css/style.css +0 -100
- package/dist/control-ui/index.html +0 -13
- package/dist/control-ui/js/app.js +7 -104
- package/dist/control-ui/js/render.js +0 -5
- package/dist/{deliver-i5knkyHl.js → deliver-DSMNXd9k.js} +4 -4
- package/dist/{deliver-BY0HHHHB.js → deliver-DSv-Z24A.js} +4 -4
- package/dist/{doctor-completion-DkwAZ_yS.js → doctor-completion--AgLv0kV.js} +1 -1
- package/dist/{doctor-completion-C6M7eRb_.js → doctor-completion-D1ImH_eM.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +4 -4
- package/dist/{gateway-cli-Dm5RZoKM.js → gateway-cli-5KVJJGFm.js} +10 -10
- package/dist/{gateway-cli-K_XVNWQc.js → gateway-cli-BjGvnfU3.js} +10 -10
- package/dist/{glass-ui-ws-BbsrTxei.js → glass-ui-ws-CwJdwqn6.js} +8 -8
- package/dist/{glass-ui-ws-B_7JgOGU.js → glass-ui-ws-f_OPXcN2.js} +8 -8
- package/dist/{hooks-cli-D5S_h70_.js → hooks-cli-BfVq5C1p.js} +5 -5
- package/dist/{hooks-cli-DyiztpNG.js → hooks-cli-CQ6rF_LQ.js} +5 -5
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{manager-TrK63P2M.js → manager-BI8o6AGu.js} +1 -1
- package/dist/{manager-BTtaJXdu.js → manager-BQ5Wl5r-.js} +1 -1
- package/dist/{manager-ue49bRVP.js → manager-BUS2wGkQ.js} +1 -1
- package/dist/{manager-BT2SbOdg.js → manager-D_AVoLu8.js} +1 -1
- package/dist/{memory-Czxk_hJw.js → memory-2OKjMT7V.js} +2 -2
- package/dist/{memory-DJN1Q1jq.js → memory-CMKSFx1T.js} +2 -2
- package/dist/{memory-cli-B-nQp5HP.js → memory-cli-CmPcKzGZ.js} +2 -2
- package/dist/{memory-cli-C9ZqpaaB.js → memory-cli-rdfaJrCS.js} +2 -2
- package/dist/{models-oqT-RVMM.js → models-DRtgYyTB.js} +2 -2
- package/dist/{models-cli-D8rsqzuW.js → models-cli-183sPHZO.js} +5 -5
- package/dist/{models-cli-CuHQFbs7.js → models-cli-DN2zTFw9.js} +6 -6
- package/dist/{onboard-BICXrIV1.js → onboard-CPHA8CdV.js} +1 -1
- package/dist/{onboard-D-xPcbdk.js → onboard-bTgNnEHK.js} +1 -1
- package/dist/{onboard-channels-CiLPgwMl.js → onboard-channels-B_iyN1qL.js} +1 -1
- package/dist/{onboard-channels-IZ52XV8A.js → onboard-channels-D5ugcgBE.js} +1 -1
- package/dist/{onboarding-BmB9v20h.js → onboarding-D2SLzcWH.js} +3 -3
- package/dist/{onboarding-B-jxZvC2.js → onboarding-ii3ok0Ih.js} +3 -3
- package/dist/{onboarding.finalize-BejpUEVe.js → onboarding.finalize-DOHv_Xe8.js} +3 -3
- package/dist/{onboarding.finalize-DufFKTf4.js → onboarding.finalize-g-_d-wVY.js} +4 -4
- package/dist/{pi-embedded-DoWU3tbW.js → pi-embedded-CvGL6bij.js} +36 -36
- package/dist/{plugin-registry-BybhOEu2.js → plugin-registry-DSG-0min.js} +1 -1
- package/dist/{plugin-registry-CFRFz2CF.js → plugin-registry-Dl3HqI5J.js} +1 -1
- package/dist/plugin-sdk/agents/{symipulse-timeout.d.ts → idle-timeout.d.ts} +3 -3
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-D9jv4SGt.js → plugins-cli-CEj-qNus.js} +5 -5
- package/dist/{plugins-cli-Dw_F4XTt.js → plugins-cli-CUTyMzoz.js} +5 -5
- package/dist/{program-BijlJds3.js → program-CjZ65fN4.js} +10 -10
- package/dist/{program-context-f_krhr6H.js → program-context-GaV454D6.js} +18 -18
- package/dist/{prompt-select-styled-D4Dl6PAx.js → prompt-select-styled-BkowcFQR.js} +4 -4
- package/dist/{prompt-select-styled-wUs9hOXT.js → prompt-select-styled-CwXc8EFB.js} +4 -4
- package/dist/{provider-auth-helpers-Dqg9CSy6.js → provider-auth-helpers-Bo1_RSEb.js} +1 -1
- package/dist/{provider-auth-helpers-B0LgxUJm.js → provider-auth-helpers-CRobCJR_.js} +1 -1
- package/dist/{push-apns-DBG95KxK.js → push-apns-BBym2pAw.js} +1 -1
- package/dist/{push-apns-C8U43QIp.js → push-apns-Bv16DYOL.js} +1 -1
- package/dist/{pw-ai-BFZrohva.js → pw-ai-B3qisJP1.js} +1 -1
- package/dist/{pw-ai-BHSw4eGG.js → pw-ai-GICi0s74.js} +1 -1
- package/dist/{register.agent-BQa36aBT.js → register.agent-QXqsCc-q.js} +9 -9
- package/dist/{register.agent-B0UZREcL.js → register.agent-z4GJgPr-.js} +8 -8
- package/dist/{register.configure-DXxKMVFv.js → register.configure-CYXErdjF.js} +8 -8
- package/dist/{register.configure-C2da871z.js → register.configure-DaMmDTaj.js} +8 -8
- package/dist/{register.maintenance-DUuHNER1.js → register.maintenance-CBGhJ5R9.js} +9 -9
- package/dist/{register.maintenance-CU2sJOVr.js → register.maintenance-CcWTycM4.js} +8 -8
- package/dist/{register.message-DIDXm7JJ.js → register.message-Bcvdcd3v.js} +5 -5
- package/dist/{register.message-zAQ9mzwS.js → register.message-EMkIi8Ga.js} +5 -5
- package/dist/{register.onboard-BQrBlJMk.js → register.onboard-CtcLKgR4.js} +2 -2
- package/dist/{register.onboard-xApCQkav.js → register.onboard-lmLaYYZl.js} +2 -2
- package/dist/{register.setup-CfJlyVIU.js → register.setup-Cu8R_HaH.js} +2 -2
- package/dist/{register.setup-C3DgnQee.js → register.setup-D47FYXH2.js} +2 -2
- package/dist/{register.status-health-sessions-D7eQHV4A.js → register.status-health-sessions--q6ddHX9.js} +3 -3
- package/dist/{register.status-health-sessions-CZKtQH3R.js → register.status-health-sessions-B9CINBWm.js} +3 -3
- package/dist/{register.subclis-DBKLQ-vk.js → register.subclis-CHTY5PYx.js} +9 -9
- package/dist/{run-main-C_9MD69x.js → run-main-Bzub4qvZ.js} +17 -17
- package/dist/{server-methods-B4kcazJq.js → server-methods-C2UnIkWU.js} +6 -6
- package/dist/{server-methods-BLH71I9g.js → server-methods-THO5vDXZ.js} +6 -6
- package/dist/{server-node-events-DO4ug_A0.js → server-node-events-j4AWHS1m.js} +6 -6
- package/dist/{server-node-events-BercSdmp.js → server-node-events-mBi614x_.js} +6 -6
- package/dist/{status-uVc7h7PN.js → status-BtAHzMLu.js} +1 -1
- package/dist/{status-DA_sl7Yp.js → status-BuHx0FXI.js} +1 -1
- package/dist/{status-BdrH4P1l.js → status-FKqnkO3K.js} +1 -1
- package/dist/{status-3CIcz22o.js → status-MkJRgsTJ.js} +1 -1
- package/dist/{subagent-registry-CgZDo35C.js → subagent-registry-B1RgR3-0.js} +29 -29
- package/dist/{synthesis-DmdaBp-J.js → synthesis-BEaISjwW.js} +4 -4
- package/dist/{synthesis-DwfzSD3_.js → synthesis-BSUjIY0v.js} +4 -4
- package/dist/{synthesis-w1oM0_-6.js → synthesis-BtlmxJ7w.js} +4 -4
- package/dist/{synthesis-B_K7BSX3.js → synthesis-DsYfiC2s.js} +4 -4
- package/dist/{unified-runner-BPgxfuKU.js → unified-runner-BPyxPZv9.js} +36 -36
- package/dist/{unified-runner-DzycRpag.js → unified-runner-Bn9vq7Zy.js} +29 -29
- package/dist/{update-cli-C4I2k2u9.js → update-cli-BXtHo0ox.js} +9 -9
- package/dist/{update-cli-DYYKfrbM.js → update-cli-DLx7LNVB.js} +8 -8
- package/package.json +1 -1
- package/dist/control-ui/js/symipulse.js +0 -154
|
@@ -10,13 +10,13 @@ import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-Bbs
|
|
|
10
10
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
11
11
|
import { i as resolveSlackAccount, n as listChannelPlugins, o as resolveSlackAppToken, r as normalizeChannelId$1, s as resolveSlackBotToken, t as getChannelPlugin } from "./plugins-Cp39v6b_.js";
|
|
12
12
|
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-BeK3uuQ8.js";
|
|
13
|
-
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-
|
|
13
|
+
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-DSMNXd9k.js";
|
|
14
14
|
import { a as logMessageProcessed, i as logLaneEnqueue, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag } from "./diagnostic-BvZmqxYI.js";
|
|
15
15
|
import { n as getDiagnosticSessionState } from "./diagnostic-session-state-CWtaDOiK.js";
|
|
16
16
|
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-BjnT3w_x.js";
|
|
17
17
|
import { C as unsetConfigValueAtPath, S as setConfigValueAtPath, T as VERSION, _ as resetConfigOverrides, b as getConfigValueAtPath, c as loadConfig, d as writeConfigFile, f as validateConfigObjectWithPlugins, g as getConfigOverrides, h as validateJsonSchemaValue, i as isBlockedHostnameOrIp, l as readConfigFileSnapshot, m as parseDurationMs, o as normalizeHostname, t as SsrFBlockedError, u as resolveConfigSnapshotHash, v as setConfigOverride, w as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, x as parseConfigPath, y as unsetConfigOverride } from "./ssrf-BJZIZ4yo.js";
|
|
18
18
|
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-BV_2TbGz.js";
|
|
19
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
19
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-CQnRgvJz.js";
|
|
20
20
|
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-xmXjOnAV.js";
|
|
21
21
|
import { n as redactToolDetail } from "./redact-ojHFHOAb.js";
|
|
22
22
|
import { n as formatErrorMessage } from "./errors-C6sHIFo_.js";
|
|
@@ -25,7 +25,7 @@ import { _ as normalizeHyphenSlug, a as normalizeReasoningLevel, c as normalizeV
|
|
|
25
25
|
import { n as resolveConversationLabel } from "./conversation-label-CPUfoQmh.js";
|
|
26
26
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-N698mtPE.js";
|
|
27
27
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-fUhPZcB5.js";
|
|
28
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, i as resolveOllamaBaseUrl, n as retryAsync, o as collectProviderApiKeysForExecution, r as probeOllamaEmbeddingModels, s as executeWithApiKeyRotation } from "./manager-
|
|
28
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, i as resolveOllamaBaseUrl, n as retryAsync, o as collectProviderApiKeysForExecution, r as probeOllamaEmbeddingModels, s as executeWithApiKeyRotation } from "./manager-BUS2wGkQ.js";
|
|
29
29
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-DWs9CjHs.js";
|
|
30
30
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-BtWlyyt1.js";
|
|
31
31
|
import { a as shouldHandleTextCommands, c as resolveNativeCommandsEnabled, i as normalizeCommandBody, l as resolveNativeSkillsEnabled, n as listChatCommands, o as isCommandFlagEnabled, r as listChatCommandsForConfig, s as isRestartEnabled } from "./commands-registry-BO62ZyK2.js";
|
|
@@ -49,7 +49,7 @@ import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUI
|
|
|
49
49
|
import { complete, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
|
|
50
50
|
import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, SettingsManager, codingTools, createAgentSession, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary, readTool } from "@mariozechner/pi-coding-agent";
|
|
51
51
|
import AjvPkg from "ajv";
|
|
52
|
-
import { WebSocket } from "ws";
|
|
52
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
53
53
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
54
54
|
import { createJiti } from "jiti";
|
|
55
55
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1028,7 +1028,7 @@ async function getMemorySearchManager(params) {
|
|
|
1028
1028
|
const wrapper = new FallbackMemoryManager({
|
|
1029
1029
|
primary,
|
|
1030
1030
|
fallbackFactory: async () => {
|
|
1031
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
1031
|
+
const { MemoryIndexManager } = await import("./manager-BUS2wGkQ.js").then((n) => n.t);
|
|
1032
1032
|
return await MemoryIndexManager.get(params);
|
|
1033
1033
|
}
|
|
1034
1034
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -1041,7 +1041,7 @@ async function getMemorySearchManager(params) {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
try {
|
|
1044
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
1044
|
+
const { MemoryIndexManager } = await import("./manager-BUS2wGkQ.js").then((n) => n.t);
|
|
1045
1045
|
return { manager: await MemoryIndexManager.get(params) };
|
|
1046
1046
|
} catch (err) {
|
|
1047
1047
|
return {
|
|
@@ -3557,7 +3557,7 @@ var GatewayClient = class {
|
|
|
3557
3557
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
3558
3558
|
});
|
|
3559
3559
|
}
|
|
3560
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
3560
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
3561
3561
|
this.ws.on("open", () => {
|
|
3562
3562
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
3563
3563
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -3776,7 +3776,7 @@ var GatewayClient = class {
|
|
|
3776
3776
|
return null;
|
|
3777
3777
|
}
|
|
3778
3778
|
async request(method, params, opts) {
|
|
3779
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
3779
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
3780
3780
|
const id = randomUUID();
|
|
3781
3781
|
const frame = {
|
|
3782
3782
|
type: "req",
|
|
@@ -4724,7 +4724,7 @@ async function routeReply(params) {
|
|
|
4724
4724
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
4725
4725
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
4726
4726
|
try {
|
|
4727
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
4727
|
+
const { deliverOutboundPayloads } = await import("./deliver-DSMNXd9k.js").then((n) => n.n);
|
|
4728
4728
|
return {
|
|
4729
4729
|
ok: true,
|
|
4730
4730
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -38796,7 +38796,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
38796
38796
|
return;
|
|
38797
38797
|
}
|
|
38798
38798
|
try {
|
|
38799
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
38799
|
+
const { deliverOutboundPayloads } = await import("./deliver-DSMNXd9k.js").then((n) => n.n);
|
|
38800
38800
|
await deliverOutboundPayloads({
|
|
38801
38801
|
cfg: params.cfg,
|
|
38802
38802
|
channel,
|
|
@@ -40983,6 +40983,31 @@ function createCacheTrace(params) {
|
|
|
40983
40983
|
};
|
|
40984
40984
|
}
|
|
40985
40985
|
|
|
40986
|
+
//#endregion
|
|
40987
|
+
//#region src/agents/idle-timeout.ts
|
|
40988
|
+
/**
|
|
40989
|
+
* Per-run idle timeout resolution.
|
|
40990
|
+
*
|
|
40991
|
+
* The idle timer resets on every model/tool activity signal (streaming
|
|
40992
|
+
* chunk, tool execution, compaction, etc.). It fires only when the run is
|
|
40993
|
+
* truly idle — distinguishing "model working slowly on large context" from
|
|
40994
|
+
* "model stuck / connection lost".
|
|
40995
|
+
*/
|
|
40996
|
+
const DEFAULT_IDLE_RATIO = .5;
|
|
40997
|
+
const MIN_IDLE_MS = 12e4;
|
|
40998
|
+
const MAX_IDLE_MS = 9e5;
|
|
40999
|
+
const ABSOLUTE_MIN_IDLE_MS = 3e4;
|
|
41000
|
+
const normalizeNumber = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
41001
|
+
function resolveIdleTimeoutMs(opts) {
|
|
41002
|
+
const cap = Math.max(ABSOLUTE_MIN_IDLE_MS, opts.runTimeoutMs - 1e3);
|
|
41003
|
+
const modelMs = normalizeNumber(opts.modelSeconds != null ? opts.modelSeconds * 1e3 : void 0);
|
|
41004
|
+
if (modelMs !== void 0 && modelMs > 0) return Math.min(Math.max(modelMs, ABSOLUTE_MIN_IDLE_MS), cap);
|
|
41005
|
+
const configMs = normalizeNumber(opts.configSeconds != null ? opts.configSeconds * 1e3 : void 0);
|
|
41006
|
+
if (configMs !== void 0 && configMs > 0) return Math.min(Math.max(configMs, ABSOLUTE_MIN_IDLE_MS), cap);
|
|
41007
|
+
const computed = Math.floor(opts.runTimeoutMs * DEFAULT_IDLE_RATIO);
|
|
41008
|
+
return Math.min(Math.max(computed, MIN_IDLE_MS), Math.min(MAX_IDLE_MS, cap));
|
|
41009
|
+
}
|
|
41010
|
+
|
|
40986
41011
|
//#endregion
|
|
40987
41012
|
//#region src/agents/model-token-filter.ts
|
|
40988
41013
|
/**
|
|
@@ -45139,31 +45164,6 @@ function hasRepetition(text, minBlockSize) {
|
|
|
45139
45164
|
return text.indexOf(sample, searchStart) >= 0;
|
|
45140
45165
|
}
|
|
45141
45166
|
|
|
45142
|
-
//#endregion
|
|
45143
|
-
//#region src/agents/symipulse-timeout.ts
|
|
45144
|
-
/**
|
|
45145
|
-
* Symipulse inactivity timeout resolution.
|
|
45146
|
-
*
|
|
45147
|
-
* The symipulse timer resets on every model/tool activity signal (streaming
|
|
45148
|
-
* chunk, tool execution, compaction, etc.). It fires only when the run is
|
|
45149
|
-
* truly idle — distinguishing "model working slowly on large context" from
|
|
45150
|
-
* "model stuck / connection lost".
|
|
45151
|
-
*/
|
|
45152
|
-
const DEFAULT_SYMIPULSE_RATIO = .5;
|
|
45153
|
-
const MIN_SYMIPULSE_MS = 12e4;
|
|
45154
|
-
const MAX_SYMIPULSE_MS = 9e5;
|
|
45155
|
-
const SYMIPULSE_MIN_TIMEOUT_MS = 3e4;
|
|
45156
|
-
const normalizeNumber = (value) => typeof value === "number" && Number.isFinite(value) ? Math.floor(value) : void 0;
|
|
45157
|
-
function resolveSymipulseMs(opts) {
|
|
45158
|
-
const cap = Math.max(SYMIPULSE_MIN_TIMEOUT_MS, opts.runTimeoutMs - 1e3);
|
|
45159
|
-
const modelMs = normalizeNumber(opts.modelSeconds != null ? opts.modelSeconds * 1e3 : void 0);
|
|
45160
|
-
if (modelMs !== void 0 && modelMs > 0) return Math.min(Math.max(modelMs, SYMIPULSE_MIN_TIMEOUT_MS), cap);
|
|
45161
|
-
const configMs = normalizeNumber(opts.configSeconds != null ? opts.configSeconds * 1e3 : void 0);
|
|
45162
|
-
if (configMs !== void 0 && configMs > 0) return Math.min(Math.max(configMs, SYMIPULSE_MIN_TIMEOUT_MS), cap);
|
|
45163
|
-
const computed = Math.floor(opts.runTimeoutMs * DEFAULT_SYMIPULSE_RATIO);
|
|
45164
|
-
return Math.min(Math.max(computed, MIN_SYMIPULSE_MS), Math.min(MAX_SYMIPULSE_MS, cap));
|
|
45165
|
-
}
|
|
45166
|
-
|
|
45167
45167
|
//#endregion
|
|
45168
45168
|
//#region src/agents/transcript-policy.ts
|
|
45169
45169
|
const GEMMA_MODEL_HINTS = ["gemma", "redsand/"];
|
|
@@ -48513,7 +48513,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
48513
48513
|
if (!key) return null;
|
|
48514
48514
|
return (params.config?.agents?.defaults?.models)?.[key]?.symipulseSeconds ?? null;
|
|
48515
48515
|
};
|
|
48516
|
-
const symipulseMs = params.symipulseMs ??
|
|
48516
|
+
const symipulseMs = params.symipulseMs ?? resolveIdleTimeoutMs({
|
|
48517
48517
|
runTimeoutMs: params.timeoutMs,
|
|
48518
48518
|
configSeconds: params.config?.agents?.defaults?.symipulseSeconds,
|
|
48519
48519
|
modelSeconds: resolveModelSymipulseSeconds()
|
|
@@ -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-Bn9vq7Zy.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-DKJLAPDB.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-B_oqIiaD.js";
|
|
@@ -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-8LjCKvga.js";
|
|
4
4
|
import { i as loadConfig } from "./config-B91360jE.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-B1RgR3-0.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Per-run idle timeout resolution.
|
|
3
3
|
*
|
|
4
|
-
* The
|
|
4
|
+
* The idle timer resets on every model/tool activity signal (streaming
|
|
5
5
|
* chunk, tool execution, compaction, etc.). It fires only when the run is
|
|
6
6
|
* truly idle — distinguishing "model working slowly on large context" from
|
|
7
7
|
* "model stuck / connection lost".
|
|
8
8
|
*/
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function resolveIdleTimeoutMs(opts: {
|
|
10
10
|
runTimeoutMs: number;
|
|
11
11
|
configSeconds?: number | null;
|
|
12
12
|
modelSeconds?: number | null;
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import fs, { constants, readFileSync } 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
|
import fs$1, { mkdtemp, rm } from "node:fs/promises";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -473,7 +473,7 @@ function readLoggingConfig() {
|
|
|
473
473
|
try {
|
|
474
474
|
if (!fs.existsSync(configPath)) return;
|
|
475
475
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
476
|
-
const logging =
|
|
476
|
+
const logging = json5.parse(raw)?.logging;
|
|
477
477
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
478
478
|
return logging;
|
|
479
479
|
} catch {
|
|
@@ -7409,7 +7409,7 @@ function safeRealpath(target) {
|
|
|
7409
7409
|
}
|
|
7410
7410
|
const defaultResolver = {
|
|
7411
7411
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
7412
|
-
parseJson: (raw) =>
|
|
7412
|
+
parseJson: (raw) => json5.parse(raw)
|
|
7413
7413
|
};
|
|
7414
7414
|
/**
|
|
7415
7415
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -10661,7 +10661,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
10661
10661
|
function normalizeDeps(overrides = {}) {
|
|
10662
10662
|
return {
|
|
10663
10663
|
fs: overrides.fs ?? fs,
|
|
10664
|
-
json5: overrides.json5 ??
|
|
10664
|
+
json5: overrides.json5 ?? json5,
|
|
10665
10665
|
env: overrides.env ?? process.env,
|
|
10666
10666
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
10667
10667
|
configPath: overrides.configPath ?? "",
|
|
@@ -10672,11 +10672,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
10672
10672
|
if (env !== process.env) return;
|
|
10673
10673
|
loadDotEnv({ quiet: true });
|
|
10674
10674
|
}
|
|
10675
|
-
function parseConfigJson5(raw, json5 =
|
|
10675
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
10676
10676
|
try {
|
|
10677
10677
|
return {
|
|
10678
10678
|
ok: true,
|
|
10679
|
-
parsed: json5.parse(raw)
|
|
10679
|
+
parsed: json5$1.parse(raw)
|
|
10680
10680
|
};
|
|
10681
10681
|
} catch (err) {
|
|
10682
10682
|
return {
|
|
@@ -14,7 +14,7 @@ import "./client-CAz5aPpp.js";
|
|
|
14
14
|
import "./call-BocrIanP.js";
|
|
15
15
|
import "./message-channel-CNPAq1Tl.js";
|
|
16
16
|
import "./pairing-token-Bnr7QjVF.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-B1RgR3-0.js";
|
|
18
18
|
import "./sessions-7jk0D1BI.js";
|
|
19
19
|
import "./plugins-Bq-Msc8Z.js";
|
|
20
20
|
import "./send-CLJ2KPVT.js";
|
|
@@ -42,8 +42,8 @@ import "./paths-CNexk5_o.js";
|
|
|
42
42
|
import "./thinking-BDh5LPh-.js";
|
|
43
43
|
import "./models-config-BfmuswQ_.js";
|
|
44
44
|
import "./reply-prefix-CRdCnS44.js";
|
|
45
|
-
import "./memory-
|
|
46
|
-
import "./manager-
|
|
45
|
+
import "./memory-CMKSFx1T.js";
|
|
46
|
+
import "./manager-BI8o6AGu.js";
|
|
47
47
|
import "./sqlite-l3CZYU6t.js";
|
|
48
48
|
import "./chunk-BySyfaEr.js";
|
|
49
49
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -73,7 +73,7 @@ import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
|
73
73
|
import "./cli-utils-BqMwAlgf.js";
|
|
74
74
|
import "./help-format-DbbIlOje.js";
|
|
75
75
|
import "./progress-C4ck6JXh.js";
|
|
76
|
-
import "./memory-cli-
|
|
76
|
+
import "./memory-cli-rdfaJrCS.js";
|
|
77
77
|
import "./logging-D0L9TWhE.js";
|
|
78
78
|
import "./replies-BOy28KVL.js";
|
|
79
79
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
@@ -82,7 +82,7 @@ import "./npm-registry-spec-NLo2PCol.js";
|
|
|
82
82
|
import "./skill-scanner-DkITukAS.js";
|
|
83
83
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-D0_bsQwa.js";
|
|
84
84
|
import { t as renderTable } from "./table-CSEp22Mk.js";
|
|
85
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
85
|
+
import { t as buildPluginStatusReport } from "./status-BtAHzMLu.js";
|
|
86
86
|
import { n as updateNpmInstalledPlugins } from "./update-JtKX2Yl3.js";
|
|
87
87
|
import os from "node:os";
|
|
88
88
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import { j as theme } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { _ as shortenHomeInString, h as resolveUserPath, p as resolveConfigDir, v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
@@ -45,8 +45,8 @@ import "./session-cost-usage-DYcv40ss.js";
|
|
|
45
45
|
import "./session-utils-0F9pB5d6.js";
|
|
46
46
|
import "./with-timeout-C0UtpXBj.js";
|
|
47
47
|
import "./reply-prefix-xaWqfM9m.js";
|
|
48
|
-
import "./memory-
|
|
49
|
-
import "./manager-
|
|
48
|
+
import "./memory-2OKjMT7V.js";
|
|
49
|
+
import "./manager-BQ5Wl5r-.js";
|
|
50
50
|
import "./sqlite-DBEvS-Ne.js";
|
|
51
51
|
import "./chunk-DQGU0F8t.js";
|
|
52
52
|
import "./markdown-tables-GTLvbzuR.js";
|
|
@@ -76,7 +76,7 @@ import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
|
76
76
|
import "./cli-utils-CX1oQ81G.js";
|
|
77
77
|
import "./help-format-BI_G2p1e.js";
|
|
78
78
|
import "./progress-CyPyGCDn.js";
|
|
79
|
-
import "./memory-cli-
|
|
79
|
+
import "./memory-cli-CmPcKzGZ.js";
|
|
80
80
|
import "./logging-B5YNzZB9.js";
|
|
81
81
|
import "./replies-P7jbK6Bo.js";
|
|
82
82
|
import "./pi-tools.policy-BBHbN8Nh.js";
|
|
@@ -86,7 +86,7 @@ import "./npm-registry-spec-BXw_6vF6.js";
|
|
|
86
86
|
import "./skill-scanner-qMQf6-FN.js";
|
|
87
87
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-CLp95gcX.js";
|
|
88
88
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
89
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
89
|
+
import { t as buildPluginStatusReport } from "./status-MkJRgsTJ.js";
|
|
90
90
|
import { n as updateNpmInstalledPlugins } from "./update-BvDXKE6K.js";
|
|
91
91
|
import path from "node:path";
|
|
92
92
|
import fs from "node:fs";
|
|
@@ -15,7 +15,7 @@ import "./client-CAz5aPpp.js";
|
|
|
15
15
|
import "./call-BocrIanP.js";
|
|
16
16
|
import "./message-channel-CNPAq1Tl.js";
|
|
17
17
|
import "./pairing-token-Bnr7QjVF.js";
|
|
18
|
-
import "./subagent-registry-
|
|
18
|
+
import "./subagent-registry-B1RgR3-0.js";
|
|
19
19
|
import "./sessions-7jk0D1BI.js";
|
|
20
20
|
import "./plugins-Bq-Msc8Z.js";
|
|
21
21
|
import "./send-CLJ2KPVT.js";
|
|
@@ -43,8 +43,8 @@ import "./paths-CNexk5_o.js";
|
|
|
43
43
|
import "./thinking-BDh5LPh-.js";
|
|
44
44
|
import "./models-config-BfmuswQ_.js";
|
|
45
45
|
import "./reply-prefix-CRdCnS44.js";
|
|
46
|
-
import "./memory-
|
|
47
|
-
import "./manager-
|
|
46
|
+
import "./memory-CMKSFx1T.js";
|
|
47
|
+
import "./manager-BI8o6AGu.js";
|
|
48
48
|
import "./sqlite-l3CZYU6t.js";
|
|
49
49
|
import "./chunk-BySyfaEr.js";
|
|
50
50
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -74,18 +74,18 @@ import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
|
74
74
|
import "./cli-utils-BqMwAlgf.js";
|
|
75
75
|
import "./help-format-DbbIlOje.js";
|
|
76
76
|
import "./progress-C4ck6JXh.js";
|
|
77
|
-
import "./memory-cli-
|
|
77
|
+
import "./memory-cli-rdfaJrCS.js";
|
|
78
78
|
import "./logging-D0L9TWhE.js";
|
|
79
79
|
import "./replies-BOy28KVL.js";
|
|
80
80
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
81
81
|
import "./catalog-D2QxJOn1.js";
|
|
82
|
-
import "./plugin-registry-
|
|
83
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
84
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
85
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
82
|
+
import "./plugin-registry-Dl3HqI5J.js";
|
|
83
|
+
import { n as resolveCliChannelOptions } from "./channel-options-DZ17japQ.js";
|
|
84
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CHTY5PYx.js";
|
|
85
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-UxY6jjeo.js";
|
|
86
86
|
import { r as setProgramContext } from "./program-context-BFKw4l9I.js";
|
|
87
87
|
import { t as forceFreePort } from "./ports-BAzQoIw0.js";
|
|
88
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
88
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-0vT1O9w2.js";
|
|
89
89
|
import { Command } from "commander";
|
|
90
90
|
|
|
91
91
|
//#region src/cli/program/context.ts
|
|
@@ -193,7 +193,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
193
193
|
commandPath
|
|
194
194
|
});
|
|
195
195
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
196
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
196
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-Dl3HqI5J.js").then((n) => n.n);
|
|
197
197
|
ensurePluginRegistryLoaded();
|
|
198
198
|
}
|
|
199
199
|
});
|
|
@@ -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-5KVJJGFm.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-183sPHZO.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-BfVq5C1p.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-Dn9ylBb2.js");
|
|
175
175
|
registerPluginCliCommands(program, await loadConfig());
|
|
176
176
|
(await import("./pairing-cli-DdtW6Nu-.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-CUTyMzoz.js")).registerPluginsCli(program);
|
|
185
|
+
const { registerPluginCliCommands } = await import("./cli-Dn9ylBb2.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-DxSXTCCh.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-DLx7LNVB.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-DebZ6nSb.js").then((n) => n.n)).registerCompletionCli(program);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
];
|
|
@@ -294,7 +294,7 @@ const coreEntries = [
|
|
|
294
294
|
hasSubcommands: false
|
|
295
295
|
}],
|
|
296
296
|
register: async ({ program }) => {
|
|
297
|
-
(await import("./register.setup-
|
|
297
|
+
(await import("./register.setup-D47FYXH2.js")).registerSetupCommand(program);
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
@@ -304,7 +304,7 @@ const coreEntries = [
|
|
|
304
304
|
hasSubcommands: false
|
|
305
305
|
}],
|
|
306
306
|
register: async ({ program }) => {
|
|
307
|
-
(await import("./register.onboard-
|
|
307
|
+
(await import("./register.onboard-CtcLKgR4.js")).registerOnboardCommand(program);
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
310
|
{
|
|
@@ -314,7 +314,7 @@ const coreEntries = [
|
|
|
314
314
|
hasSubcommands: false
|
|
315
315
|
}],
|
|
316
316
|
register: async ({ program }) => {
|
|
317
|
-
(await import("./register.configure-
|
|
317
|
+
(await import("./register.configure-DaMmDTaj.js")).registerConfigureCommand(program);
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
320
|
{
|
|
@@ -324,7 +324,7 @@ const coreEntries = [
|
|
|
324
324
|
hasSubcommands: true
|
|
325
325
|
}],
|
|
326
326
|
register: async ({ program }) => {
|
|
327
|
-
(await import("./config-cli-
|
|
327
|
+
(await import("./config-cli-D4_gO3Pd.js")).registerConfigCli(program);
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
330
|
{
|
|
@@ -351,7 +351,7 @@ const coreEntries = [
|
|
|
351
351
|
}
|
|
352
352
|
],
|
|
353
353
|
register: async ({ program }) => {
|
|
354
|
-
(await import("./register.maintenance-
|
|
354
|
+
(await import("./register.maintenance-CcWTycM4.js")).registerMaintenanceCommands(program);
|
|
355
355
|
}
|
|
356
356
|
},
|
|
357
357
|
{
|
|
@@ -361,7 +361,7 @@ const coreEntries = [
|
|
|
361
361
|
hasSubcommands: true
|
|
362
362
|
}],
|
|
363
363
|
register: async ({ program, ctx }) => {
|
|
364
|
-
(await import("./register.message-
|
|
364
|
+
(await import("./register.message-Bcvdcd3v.js")).registerMessageCommands(program, ctx);
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
367
|
{
|
|
@@ -371,7 +371,7 @@ const coreEntries = [
|
|
|
371
371
|
hasSubcommands: true
|
|
372
372
|
}],
|
|
373
373
|
register: async ({ program }) => {
|
|
374
|
-
(await import("./memory-cli-
|
|
374
|
+
(await import("./memory-cli-CmPcKzGZ.js").then((n) => n.t)).registerMemoryCli(program);
|
|
375
375
|
}
|
|
376
376
|
},
|
|
377
377
|
{
|
|
@@ -385,7 +385,7 @@ const coreEntries = [
|
|
|
385
385
|
hasSubcommands: true
|
|
386
386
|
}],
|
|
387
387
|
register: async ({ program, ctx }) => {
|
|
388
|
-
(await import("./register.agent-
|
|
388
|
+
(await import("./register.agent-z4GJgPr-.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -407,7 +407,7 @@ const coreEntries = [
|
|
|
407
407
|
}
|
|
408
408
|
],
|
|
409
409
|
register: async ({ program }) => {
|
|
410
|
-
(await import("./register.status-health-sessions-
|
|
410
|
+
(await import("./register.status-health-sessions-B9CINBWm.js")).registerStatusHealthSessionsCommands(program);
|
|
411
411
|
}
|
|
412
412
|
},
|
|
413
413
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as formatRemainingShort } from "./unified-runner-
|
|
1
|
+
import { _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as formatRemainingShort } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import { P as getResolvedLoggerSettings } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath, y as sleep } from "./utils-BU8jVQFM.js";
|
|
@@ -17,8 +17,8 @@ import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-DqxP-
|
|
|
17
17
|
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-DQMaURzb.js";
|
|
18
18
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
19
19
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
20
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
21
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
20
|
+
import { n as resolveMemoryBackendConfig } from "./memory-2OKjMT7V.js";
|
|
21
|
+
import { c as resolveMemorySearchConfig } from "./manager-BQ5Wl5r-.js";
|
|
22
22
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Du4CT1Hp.js";
|
|
23
23
|
import { n as loadModelCatalog } from "./model-catalog-DKBhNiWm.js";
|
|
24
24
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-DsZw7bas.js";
|
|
@@ -44,7 +44,7 @@ import { n as logConfigUpdated } from "./logging-B96FQvnn.js";
|
|
|
44
44
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-4UT3396o.js";
|
|
45
45
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-PqG8iGCt.js";
|
|
46
46
|
import { t as formatHealthCheckFailure } from "./health-format-39e76m9p.js";
|
|
47
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
47
|
+
import { n as doctorShellCompletion } from "./doctor-completion-D1ImH_eM.js";
|
|
48
48
|
import path from "node:path";
|
|
49
49
|
import fs from "node:fs";
|
|
50
50
|
import os from "node:os";
|
|
@@ -8,15 +8,15 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-CaEDEfYZ.js";
|
|
|
8
8
|
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-B91360jE.js";
|
|
9
9
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BocrIanP.js";
|
|
10
10
|
import { l as resolveGatewayBindHost, n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
11
|
-
import { Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, m as loadSymiPlugins, zt as formatRemainingShort } from "./subagent-registry-
|
|
11
|
+
import { Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, m as loadSymiPlugins, zt as formatRemainingShort } from "./subagent-registry-B1RgR3-0.js";
|
|
12
12
|
import { F as resolveMainSessionKey, H as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-7jk0D1BI.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-Bq-Msc8Z.js";
|
|
14
14
|
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-DzRvFxeE.js";
|
|
15
15
|
import { a as resolveGatewayAuth } from "./auth-DIdzV4_r.js";
|
|
16
16
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-Cv4kt1bT.js";
|
|
17
17
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.js";
|
|
18
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
19
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
18
|
+
import { n as resolveMemoryBackendConfig } from "./memory-CMKSFx1T.js";
|
|
19
|
+
import { c as resolveMemorySearchConfig } from "./manager-BI8o6AGu.js";
|
|
20
20
|
import { n as loadModelCatalog } from "./model-catalog-zuX3pwF5.js";
|
|
21
21
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-C0e51aio.js";
|
|
22
22
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Z2ZizQap.js";
|
|
@@ -40,7 +40,7 @@ import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
|
40
40
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DlX_L8Y-.js";
|
|
41
41
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BM4qvprK.js";
|
|
42
42
|
import { t as formatHealthCheckFailure } from "./health-format-DaP03FBk.js";
|
|
43
|
-
import { n as doctorShellCompletion } from "./doctor-completion
|
|
43
|
+
import { n as doctorShellCompletion } from "./doctor-completion--AgLv0kV.js";
|
|
44
44
|
import { execFile } from "node:child_process";
|
|
45
45
|
import os from "node:os";
|
|
46
46
|
import path from "node:path";
|
|
@@ -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-Bn9vq7Zy.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
3
|
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-CPlXilKu.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-Cad0BDRS.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-CKIq0T1s.js";
|
|
3
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
3
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-B1RgR3-0.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-Z2ZizQap.js";
|
|
5
5
|
import { n as isWSLEnv } from "./wsl-DehumVkT.js";
|
|
6
6
|
import { f as updateConfig } from "./shared-BIUt7Xoj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as estimateBase64DecodedBytes, i as sniffMimeFromBase64 } from "./unified-runner-
|
|
1
|
+
import { At as estimateBase64DecodedBytes, i as sniffMimeFromBase64 } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import { S as isVerbose } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { U as isVerbose, f as shouldLogSubsystemToConsole, o as createSubsystemLogger, vt as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { x as parseAgentSessionKey } from "./session-key-BfskPVEs.js";
|
|
3
3
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Bnr7QjVF.js";
|
|
4
|
-
import { $t as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-
|
|
4
|
+
import { $t as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-B1RgR3-0.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-KvsGzUFH.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import chalk from "chalk";
|