@symerian/symi 2.9.2 → 2.9.3
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/{agents-DTl30WoB.js → agents-D6V_7iZL.js} +4 -4
- package/dist/{agents.config-CZ3GFxPg.js → agents.config-B-NRTvyi.js} +1 -1
- package/dist/{agents.config-CO8F9mkD.js → agents.config-BeX0kxT3.js} +1 -1
- package/dist/{audio-preflight-DQR2Ivi-.js → audio-preflight-CbyJ_yDs.js} +4 -4
- package/dist/{auth-choice-BYDGn7lJ.js → auth-choice-4lzxjIcf.js} +1 -1
- package/dist/{auth-choice-BoOyy-ZT.js → auth-choice-BJQjxe_Y.js} +1 -1
- package/dist/{banner-D4MiyUnv.js → banner-Q3fjWWy3.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BiSSYYQC.js → channel-options-CQ0Q0xZr.js} +1 -1
- package/dist/{channel-options-B6qP-vR-.js → channel-options-D6U_Dpa2.js} +1 -1
- package/dist/{channel-web-DP97EUhx.js → channel-web-D6aolbVC.js} +1 -1
- package/dist/{channels-cli-CE_A3Hai.js → channels-cli-By4y_t51.js} +6 -6
- package/dist/{channels-cli-6LNvJQPb.js → channels-cli-CxuKeNkr.js} +6 -6
- package/dist/{chrome-BaMQiegP.js → chrome-CJHOBnUB.js} +7 -7
- package/dist/{cli-DwQ3mqhI.js → cli-41r_BAjv.js} +3 -3
- package/dist/{cli-D4j_JTug.js → cli-B1gtEojq.js} +3 -3
- package/dist/{command-registry-b62Qpsi2.js → command-registry-FJWuYmEn.js} +10 -10
- package/dist/{completion-cli-RQyC3L-t.js → completion-cli-C20c_vzO.js} +1 -1
- package/dist/{completion-cli-DUT2XYgK.js → completion-cli-DWVW4P54.js} +2 -2
- package/dist/{config-cli-Di8VOhbp.js → config-cli-CJQ-12f7.js} +1 -1
- package/dist/{config-cli-H52N8rp1.js → config-cli-CLXuCFJc.js} +1 -1
- package/dist/{configure-DQxuawe-.js → configure-DrIhqYYW.js} +3 -3
- package/dist/{configure-BF9crM5K.js → configure-I99ztt2Y.js} +3 -3
- package/dist/{deliver-Dx39g9ey.js → deliver-D5655IkX.js} +1 -1
- package/dist/{doctor-completion-BKXQ50ee.js → doctor-completion-B4pjrehH.js} +1 -1
- package/dist/{doctor-completion-BS2JEeZy.js → doctor-completion-C9A7E6Wb.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-Do9KUPqe.js → gateway-cli-BByLEck3.js} +11 -11
- package/dist/{gateway-cli-moPf-zP5.js → gateway-cli-cZpbavO4.js} +11 -11
- package/dist/{glass-ui-ws-D53pvIov.js → glass-ui-ws-09XXkYnX.js} +9 -9
- package/dist/{glass-ui-ws-Dfro-3R8.js → glass-ui-ws-DUHaC6lE.js} +9 -9
- package/dist/{health-CV741PBg.js → health-Bvo3NXZK.js} +1 -1
- package/dist/{health-BQGRC0xh.js → health-CYHbTw04.js} +1 -1
- package/dist/{hooks-cli-CWXGIL9L.js → hooks-cli-BwFW4lKC.js} +4 -4
- package/dist/{hooks-cli-CG-PDY2U.js → hooks-cli-CiFs-0g0.js} +4 -4
- package/dist/{image-C-JvPPpM.js → image-BqpivNGG.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-CLPHK-qG.js → manager-Bj8GFlcZ.js} +1 -1
- package/dist/{manager-yrUe0KOT.js → manager-BsfrsBPw.js} +1 -1
- package/dist/{manager-B_2KzUSI.js → manager-CB20PmUH.js} +1 -1
- package/dist/{manager-Bc-MeMho.js → manager-CMB15ft8.js} +1 -1
- package/dist/{memory-cli-BKNnDIdx.js → memory-cli-CoTkaEhh.js} +3 -3
- package/dist/{memory-cli-3RSIw4no.js → memory-cli-Cuhhh4qN.js} +3 -3
- package/dist/{models-D_C2JFPw.js → models-CdIe1IJX.js} +2 -2
- package/dist/{models-cli-DQE60EtL.js → models-cli-CZcMWBL0.js} +5 -5
- package/dist/{models-cli-j2O4e1Lu.js → models-cli-o07a-fh5.js} +4 -4
- package/dist/{onboard-Ckw89oRF.js → onboard-44op-88v.js} +2 -2
- package/dist/{onboard-DUIZfWqa.js → onboard-Cjlal6-V.js} +2 -2
- package/dist/{onboard-channels-B8Ouc5sR.js → onboard-channels-BseAErC9.js} +1 -1
- package/dist/{onboard-channels-Oa9IlsGt.js → onboard-channels-Lt1TlRrb.js} +1 -1
- package/dist/{onboarding-JFWHlqAb.js → onboarding-DODsq7cg.js} +3 -3
- package/dist/{onboarding-Cjh-Y8ha.js → onboarding-DYJYybkl.js} +3 -3
- package/dist/{onboarding.finalize-CkGLgiEA.js → onboarding.finalize-BX-xeFu7.js} +7 -7
- package/dist/{onboarding.finalize-spzEoVkm.js → onboarding.finalize-DhhWr8GR.js} +8 -8
- package/dist/{pi-embedded-D6Zi01El.js → pi-embedded-UMBd-Mrj.js} +69 -54
- package/dist/{pi-embedded-helpers-B1P8lkqj.js → pi-embedded-helpers-CU-kYRrF.js} +4 -4
- package/dist/{plugin-registry-zGF6HUkQ.js → plugin-registry-Di_isjUm.js} +1 -1
- package/dist/{plugin-registry-CYglC746.js → plugin-registry-HrZC-Iww.js} +1 -1
- package/dist/plugin-sdk/agents/pi-embedded-runner/system-prompt.d.ts +9 -0
- package/dist/plugin-sdk/agents/system-prompt.d.ts +17 -0
- package/dist/plugin-sdk/{channel-web-eeGSjU9N.js → channel-web-CzZZsS3O.js} +1 -1
- package/dist/plugin-sdk/config/types.symi.d.ts +7 -0
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{manager-DZ5-lr4s.js → manager-BiRYpsW7.js} +1 -1
- package/dist/plugin-sdk/{reply-BRGoceel.js → reply-DYEklKOc.js} +69 -54
- package/dist/plugin-sdk/{synthesis-DVsG2Tbp.js → synthesis-CaDiVumM.js} +2 -2
- package/dist/plugin-sdk/{web-7u3fdT2S.js → web-DU4xaLZf.js} +3 -3
- package/dist/{plugins-cli-CLb_0vH6.js → plugins-cli-BlBz4J4q.js} +4 -4
- package/dist/{plugins-cli-ndIGvW38.js → plugins-cli-CMz1ww6G.js} +4 -4
- package/dist/{program-context-mFSRQPMm.js → program-context-ByWsh-2T.js} +18 -18
- package/dist/{program-BovNsUAh.js → program-dFZ5CYgD.js} +9 -9
- package/dist/{prompt-select-styled-DlKhnnDV.js → prompt-select-styled-BkwnTGjt.js} +6 -6
- package/dist/{prompt-select-styled-vhI0kQYd.js → prompt-select-styled-nywEyQoQ.js} +6 -6
- package/dist/{provider-auth-helpers-DXlKD0hY.js → provider-auth-helpers-CQ604vQz.js} +1 -1
- package/dist/{provider-auth-helpers-U0t5YhCn.js → provider-auth-helpers-CgJE4rvP.js} +1 -1
- package/dist/{push-apns-rDsc17-c.js → push-apns-CQlSAman.js} +1 -1
- package/dist/{push-apns-hN0N3Wcu.js → push-apns-CbjqnCIn.js} +1 -1
- package/dist/{pw-ai-BlWK9Tr3.js → pw-ai-BjfsUmjw.js} +1 -1
- package/dist/{register.agent-Cyij2g-g.js → register.agent-BaLgPcGg.js} +7 -7
- package/dist/{register.agent-B1liWWB3.js → register.agent-Hw7FS0tf.js} +8 -8
- package/dist/{register.configure-CoYKlH75.js → register.configure-BC-jW4EY.js} +8 -8
- package/dist/{register.configure-keWh1w1p.js → register.configure-D6bKnyeR.js} +8 -8
- package/dist/{register.maintenance-CsA9QQRE.js → register.maintenance-7LeID6wA.js} +10 -10
- package/dist/{register.maintenance-CvY-Yar9.js → register.maintenance-DQ73gAH0.js} +9 -9
- package/dist/{register.message-DltuBwIg.js → register.message-D2Ubr7KY.js} +4 -4
- package/dist/{register.message-D7815_7Y.js → register.message-odamuJP5.js} +4 -4
- package/dist/{register.onboard-CY50To_-.js → register.onboard-Bv3BjuIZ.js} +6 -6
- package/dist/{register.onboard-FcZymlrx.js → register.onboard-DwYvxoBx.js} +6 -6
- package/dist/{register.setup-X011Evir.js → register.setup-B6ylBd_s.js} +6 -6
- package/dist/{register.setup-8dkIizGs.js → register.setup-BvNMj7Tn.js} +6 -6
- package/dist/{register.status-health-sessions-u9ZbWWea.js → register.status-health-sessions-Bx0oTY_P.js} +5 -5
- package/dist/{register.status-health-sessions-DRkIaw1q.js → register.status-health-sessions-Cr65vOYW.js} +5 -5
- package/dist/{register.subclis-vTS3UwIU.js → register.subclis-BzbNYOC6.js} +9 -9
- package/dist/{reply-Dx9DWIO2.js → reply-Bymjl4wV.js} +68 -53
- package/dist/{run-main-BQKf71Kt.js → run-main-BAaL6QjO.js} +17 -17
- package/dist/{runner-C4opGXAA.js → runner-DzNo-GCz.js} +1 -1
- package/dist/{server-methods-1TzYth88.js → server-methods-C4j7W_qQ.js} +8 -8
- package/dist/{server-methods-DeIwhdBv.js → server-methods-Ds4i0Q2F.js} +8 -8
- package/dist/{server-node-events-DF_ks0oa.js → server-node-events-D0gNq3h6.js} +4 -4
- package/dist/{server-node-events-CFMtnBFU.js → server-node-events-tbjGwgHF.js} +4 -4
- package/dist/{status-CvElSWg2.js → status-BdkVcIDX.js} +1 -1
- package/dist/{status-vO4-v0vI.js → status-BfNSBvnp.js} +3 -3
- package/dist/{status-CwZgLSfx.js → status-CGabcN-L.js} +3 -3
- package/dist/{status-DEQAH4oA.js → status-DpVc9DSG.js} +1 -1
- package/dist/{subagent-registry-K1lQH7iR.js → subagent-registry-0D_yjdW5.js} +68 -53
- package/dist/{synthesis-DazoL-DI.js → synthesis-1f-yGtS7.js} +3 -3
- package/dist/{synthesis-AYqn8_O8.js → synthesis-A2SfvBRN.js} +3 -3
- package/dist/{synthesis-DhxkkJq7.js → synthesis-Bf2XnlvP.js} +2 -2
- package/dist/{synthesis-CZhOC8n4.js → synthesis-DFQ_rjEF.js} +7 -7
- package/dist/{unified-runner-CavADnkK.js → unified-runner-j_Vn4K8X.js} +83 -68
- package/dist/{update-cli-DmxFKAmJ.js → update-cli-B3t4yUU6.js} +9 -9
- package/dist/{update-cli-DPf2vrJK.js → update-cli-CWMGbbPM.js} +10 -10
- package/dist/{update-runner-D4UIv_1p.js → update-runner-CfzHxbsu.js} +1 -1
- package/dist/{update-runner-XU-jPEg_.js → update-runner-UfVHKth_.js} +1 -1
- package/dist/{web-BJIv_6uQ.js → web-BSf9H0_w.js} +7 -7
- package/dist/{web-BBbVbRTg.js → web-DCTvbYTy.js} +3 -3
- package/dist/{web-C-E-O8iP.js → web-DIDhNbES.js} +4 -4
- package/dist/{web-CIj8erCe.js → web-DaChMSyM.js} +2 -2
- package/docs/capabilities.md +153 -0
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/skills/channel-routing/SKILL.md +42 -0
- package/skills/document-generation/SKILL.md +64 -0
- package/skills/reactions-extensive/SKILL.md +30 -0
- package/skills/reactions-minimal/SKILL.md +31 -0
- package/skills/safe-edit/SKILL.md +51 -0
- package/skills/tool-narration/SKILL.md +40 -0
- package/skills/verify-output/SKILL.md +47 -0
|
@@ -10,10 +10,10 @@ import { $ as resolveAuthProfileDisplayLabel, B as resolveApiKeyForProvider, C a
|
|
|
10
10
|
import { n as formatCliCommand, r as resolveCliName, t as isTruthyEnvValue } from "./env-BDXYbTKj.js";
|
|
11
11
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-cCYzSU9h.js";
|
|
12
12
|
import { t as parseBooleanValue$1 } from "./boolean-CE7i9tBR.js";
|
|
13
|
-
import { $ as normalizeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, G as updateLastRoute, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as isCacheEnabled, Jt as ensureSessionHeader, K as updateSessionStore, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as mergeDeliveryContext, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as deliveryContextFromSession, Xt as resolveBootstrapTotalMaxChars, Y as resolveCacheTtlMs$1, Yt as resolveBootstrapMaxChars, Z as deliveryContextKey, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as resolveFreshSessionTotalTokens, a as isMessagingToolDuplicateNormalized, at as extractToolCallNames, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as hasInterSessionUserProvenance, d as isAntigravityClaude, dt as evaluateSessionFreshness, et as normalizeSessionDeliveryFields, f as isGoogleModelApi, ft as resolveChannelResetConfig, g as formatBillingErrorMessage, gt as DEFAULT_RESET_TRIGGERS, h as formatAssistantErrorText, ht as resolveThreadFlag, it as countToolResults, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as normalizeInputProvenance, m as classifyFailoverReason, mt as resolveSessionResetType, n as validateGeminiTurns, nt as archiveSessionTranscripts, o as normalizeTextForComparison, ot as INPUT_PROVENANCE_KIND_VALUES, p as BILLING_ERROR_USER_MESSAGE, pt as resolveSessionResetPolicy, q as updateSessionStoreEntry, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as capArrayByJsonBytes, s as sanitizeSessionMessagesImages, st as applyInputProvenanceToUserMessage, t as validateAnthropicTurns, tt as normalizeAccountId$3, u as downgradeOpenAIReasoningBlocks, ut as resolveSessionKey, v as getApiErrorPayloadFingerprint, vt as canonicalizeMainSessionAlias, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-
|
|
13
|
+
import { $ as normalizeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, G as updateLastRoute, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as isCacheEnabled, Jt as ensureSessionHeader, K as updateSessionStore, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as mergeDeliveryContext, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as deliveryContextFromSession, Xt as resolveBootstrapTotalMaxChars, Y as resolveCacheTtlMs$1, Yt as resolveBootstrapMaxChars, Z as deliveryContextKey, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as resolveFreshSessionTotalTokens, a as isMessagingToolDuplicateNormalized, at as extractToolCallNames, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as hasInterSessionUserProvenance, d as isAntigravityClaude, dt as evaluateSessionFreshness, et as normalizeSessionDeliveryFields, f as isGoogleModelApi, ft as resolveChannelResetConfig, g as formatBillingErrorMessage, gt as DEFAULT_RESET_TRIGGERS, h as formatAssistantErrorText, ht as resolveThreadFlag, it as countToolResults, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as normalizeInputProvenance, m as classifyFailoverReason, mt as resolveSessionResetType, n as validateGeminiTurns, nt as archiveSessionTranscripts, o as normalizeTextForComparison, ot as INPUT_PROVENANCE_KIND_VALUES, p as BILLING_ERROR_USER_MESSAGE, pt as resolveSessionResetPolicy, q as updateSessionStoreEntry, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as capArrayByJsonBytes, s as sanitizeSessionMessagesImages, st as applyInputProvenanceToUserMessage, t as validateAnthropicTurns, tt as normalizeAccountId$3, u as downgradeOpenAIReasoningBlocks, ut as resolveSessionKey, v as getApiErrorPayloadFingerprint, vt as canonicalizeMainSessionAlias, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-CU-kYRrF.js";
|
|
14
14
|
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-Do4JxgLI.js";
|
|
15
15
|
import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, i as safeStatSync, n as discoverSymiPlugins, o as normalizePluginsConfig, r as isPathInside, s as resolveEnableState, t as loadPluginManifestRegistry, u as isPathInsideWithRealpath } from "./manifest-registry-CBCGTsIb.js";
|
|
16
|
-
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
16
|
+
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-CJHOBnUB.js";
|
|
17
17
|
import { l as parseFrontmatterBlock } from "./frontmatter-CTR5f_Ez.js";
|
|
18
18
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CXxrn_e2.js";
|
|
19
19
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-XIsvXeC-.js";
|
|
@@ -32,16 +32,16 @@ import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i
|
|
|
32
32
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-9ktd0CBZ.js";
|
|
33
33
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BBh3Gsrx.js";
|
|
34
34
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-SqqWIT22.js";
|
|
35
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
35
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-D5655IkX.js";
|
|
36
36
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-BUcR3Meg.js";
|
|
37
37
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Zw87xFym.js";
|
|
38
|
-
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
38
|
+
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-BqpivNGG.js";
|
|
39
39
|
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-RXOlh8ar.js";
|
|
40
40
|
import { a as isSilentReplyText, i as isSilentReplyPrefixText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-W0JzCJJM.js";
|
|
41
41
|
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-90t8KM2a.js";
|
|
42
42
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CuZX_Q4t.js";
|
|
43
43
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CvEIl6_d.js";
|
|
44
|
-
import { a as resolveMemorySearchConfig, i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels, t as MemoryIndexManager } from "./manager-
|
|
44
|
+
import { a as resolveMemorySearchConfig, i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels, t as MemoryIndexManager } from "./manager-CMB15ft8.js";
|
|
45
45
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-DjnxpF_K.js";
|
|
46
46
|
import { n as retryAsync } from "./retry-B-y5suGA.js";
|
|
47
47
|
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-DeJTztcq.js";
|
|
@@ -51,7 +51,7 @@ import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CVCB
|
|
|
51
51
|
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-ClipCZ9s.js";
|
|
52
52
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-7tMVY7D_.js";
|
|
53
53
|
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-DxbSTLNQ.js";
|
|
54
|
-
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as registerUnhandledRejectionHandler } from "./runner-
|
|
54
|
+
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as registerUnhandledRejectionHandler } from "./runner-DzNo-GCz.js";
|
|
55
55
|
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DG2lcozb.js";
|
|
56
56
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DZQU0r3y.js";
|
|
57
57
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-ClslA6GS.js";
|
|
@@ -82,7 +82,7 @@ import AjvPkg from "ajv";
|
|
|
82
82
|
import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, SettingsManager, codingTools, createAgentSession, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary, readTool } from "@mariozechner/pi-coding-agent";
|
|
83
83
|
import { createServer } from "node:http";
|
|
84
84
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
85
|
-
import WebSocket, { WebSocket
|
|
85
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
86
86
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
87
87
|
import { EdgeTTS } from "node-edge-tts";
|
|
88
88
|
import { createJiti } from "jiti";
|
|
@@ -4336,7 +4336,7 @@ async function getMemorySearchManager(params) {
|
|
|
4336
4336
|
const wrapper = new FallbackMemoryManager({
|
|
4337
4337
|
primary,
|
|
4338
4338
|
fallbackFactory: async () => {
|
|
4339
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
4339
|
+
const { MemoryIndexManager } = await import("./manager-CMB15ft8.js").then((n) => n.n);
|
|
4340
4340
|
return await MemoryIndexManager.get(params);
|
|
4341
4341
|
}
|
|
4342
4342
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -4349,7 +4349,7 @@ async function getMemorySearchManager(params) {
|
|
|
4349
4349
|
}
|
|
4350
4350
|
}
|
|
4351
4351
|
try {
|
|
4352
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
4352
|
+
const { MemoryIndexManager } = await import("./manager-CMB15ft8.js").then((n) => n.n);
|
|
4353
4353
|
return { manager: await MemoryIndexManager.get(params) };
|
|
4354
4354
|
} catch (err) {
|
|
4355
4355
|
return {
|
|
@@ -6817,6 +6817,7 @@ function buildSkillsJitBlocks(opts) {
|
|
|
6817
6817
|
//#region src/agents/system-prompt.ts
|
|
6818
6818
|
function buildSkillsSection(params) {
|
|
6819
6819
|
if (params.isMinimal) return [];
|
|
6820
|
+
if (params.dropCatalog) return [];
|
|
6820
6821
|
const trimmed = params.skillsPrompt?.trim();
|
|
6821
6822
|
if (!trimmed) return [];
|
|
6822
6823
|
return [
|
|
@@ -6921,7 +6922,7 @@ function buildVoiceSection(params) {
|
|
|
6921
6922
|
];
|
|
6922
6923
|
}
|
|
6923
6924
|
function buildVerifyYourWorkSection(params) {
|
|
6924
|
-
if (params.isMinimal) return [];
|
|
6925
|
+
if (params.isMinimal || params.compactMode) return [];
|
|
6925
6926
|
const exec = params.execToolName;
|
|
6926
6927
|
const read = params.readToolName;
|
|
6927
6928
|
return [
|
|
@@ -7110,6 +7111,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
7110
7111
|
const promptMode = params.promptMode ?? "full";
|
|
7111
7112
|
const isMinimal = promptMode === "minimal" || promptMode === "none";
|
|
7112
7113
|
const isCoding = promptMode === "coding";
|
|
7114
|
+
const compactMode = params.compactMode === true;
|
|
7113
7115
|
const sandboxContainerWorkspace = params.sandboxInfo?.containerWorkspaceDir?.trim();
|
|
7114
7116
|
const sanitizedWorkspaceDir = sanitizeForPromptLiteral(params.workspaceDir);
|
|
7115
7117
|
const sanitizedSandboxContainerWorkspace = sandboxContainerWorkspace ? sanitizeForPromptLiteral(sandboxContainerWorkspace) : "";
|
|
@@ -7125,7 +7127,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
7125
7127
|
const skillsSection = buildSkillsSection({
|
|
7126
7128
|
skillsPrompt,
|
|
7127
7129
|
isMinimal,
|
|
7128
|
-
readToolName
|
|
7130
|
+
readToolName,
|
|
7131
|
+
dropCatalog: compactMode && (params.skillsDiscoveryMode === "jit" || params.skillsDiscoveryMode === "hybrid")
|
|
7129
7132
|
});
|
|
7130
7133
|
const memorySection = buildMemorySection({
|
|
7131
7134
|
isMinimal,
|
|
@@ -7168,39 +7171,43 @@ function buildAgentSystemPrompt(params) {
|
|
|
7168
7171
|
"If a task is more complex or takes longer, spawn a sub-agent. Completion is push-based: it will auto-announce when done.",
|
|
7169
7172
|
"Do not poll `subagents list` / `sessions_list` in a loop; only check status on-demand (for intervention, debugging, or when explicitly asked).",
|
|
7170
7173
|
"",
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7174
|
+
...compactMode ? [] : [
|
|
7175
|
+
"## Tool Call Style",
|
|
7176
|
+
"Default: do not narrate routine, low-risk tool calls (just call the tool).",
|
|
7177
|
+
"Narrate only when it helps: multi-step work, complex/challenging problems, sensitive actions (e.g., deletions), or when the user explicitly asks.",
|
|
7178
|
+
"Keep narration brief and value-dense; avoid repeating obvious steps.",
|
|
7179
|
+
"Use plain human language for narration unless in a technical context.",
|
|
7180
|
+
"",
|
|
7181
|
+
"## Edit Tool Best Practices",
|
|
7182
|
+
"When using the edit tool, the oldText must match the file EXACTLY (whitespace, indentation, and all).",
|
|
7183
|
+
"To avoid match failures:",
|
|
7184
|
+
"- Use the SHORTEST unique snippet that identifies the edit location (1-3 lines). Do NOT paste large blocks.",
|
|
7185
|
+
"- ALWAYS read the file first, then copy the exact text from the read output for oldText.",
|
|
7186
|
+
"- If an edit fails with 'Could not find the exact text', re-read the file and retry with the exact text from the fresh read. Do NOT move on or fix a different issue.",
|
|
7187
|
+
"- Prefer lines with distinctive content (function names, unique strings) over generic code (braces, blank lines).",
|
|
7188
|
+
""
|
|
7189
|
+
],
|
|
7185
7190
|
...safetySection,
|
|
7186
|
-
"
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7191
|
+
...compactMode ? ["For Symi CLI commands, ask the user to run `symi help` and paste the output.", ""] : [
|
|
7192
|
+
"## Symi CLI Quick Reference",
|
|
7193
|
+
"Symi is controlled via subcommands. Do not invent commands.",
|
|
7194
|
+
"To manage the Gateway daemon service (start/stop/restart):",
|
|
7195
|
+
"- symi gateway status",
|
|
7196
|
+
"- symi gateway start",
|
|
7197
|
+
"- symi gateway stop",
|
|
7198
|
+
"- symi gateway restart",
|
|
7199
|
+
"If unsure, ask the user to run `symi help` (or `symi gateway --help`) and paste the output.",
|
|
7200
|
+
""
|
|
7201
|
+
],
|
|
7195
7202
|
...skillsSection,
|
|
7196
7203
|
...memorySection,
|
|
7197
|
-
hasGateway && !isMinimal && !isCoding ? "## Symi Self-Update" : "",
|
|
7198
|
-
hasGateway && !isMinimal && !isCoding ? [
|
|
7204
|
+
hasGateway && !isMinimal && !isCoding && !compactMode ? "## Symi Self-Update" : "",
|
|
7205
|
+
hasGateway && !isMinimal && !isCoding && !compactMode ? [
|
|
7199
7206
|
"Get Updates (self-update) is ONLY allowed when the user explicitly asks for it.",
|
|
7200
7207
|
"Do not run config.apply or update.run unless the user explicitly requests an update or config change; if it's not explicit, ask first.",
|
|
7201
7208
|
"Actions: config.get, config.schema, config.apply (validate + write full config, then restart), update.run (update deps or git, then restart).",
|
|
7202
7209
|
"After restart, Symi pings the last active session automatically."
|
|
7203
|
-
].join("\n") : "",
|
|
7210
|
+
].join("\n") : hasGateway && !isMinimal && !isCoding && compactMode ? "Gateway destructive actions (config.apply, config.patch, update.run) require explicit user authorization via userRequestAcknowledgment — never invoke speculatively." : "",
|
|
7204
7211
|
hasGateway && !isMinimal && !isCoding ? "" : "",
|
|
7205
7212
|
"",
|
|
7206
7213
|
params.modelAliasLines && params.modelAliasLines.length > 0 && !isMinimal && !isCoding ? "## Model Aliases" : "",
|
|
@@ -7217,7 +7224,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
7217
7224
|
...buildVerifyYourWorkSection({
|
|
7218
7225
|
isMinimal,
|
|
7219
7226
|
execToolName,
|
|
7220
|
-
readToolName
|
|
7227
|
+
readToolName,
|
|
7228
|
+
compactMode
|
|
7221
7229
|
}),
|
|
7222
7230
|
params.sandboxInfo?.enabled ? "## Sandbox" : "",
|
|
7223
7231
|
params.sandboxInfo?.enabled ? [
|
|
@@ -7263,23 +7271,26 @@ function buildAgentSystemPrompt(params) {
|
|
|
7263
7271
|
}
|
|
7264
7272
|
if (params.reactionGuidance) {
|
|
7265
7273
|
const { level, channel } = params.reactionGuidance;
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
"
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7274
|
+
if (compactMode) lines.push("## Reactions", `Reactions for ${channel} are in ${level.toUpperCase()} mode — see the reactions-${level} skill (auto-loaded).`, "");
|
|
7275
|
+
else {
|
|
7276
|
+
const guidanceText = level === "minimal" ? [
|
|
7277
|
+
`Reactions are enabled for ${channel} in MINIMAL mode.`,
|
|
7278
|
+
"React ONLY when truly relevant:",
|
|
7279
|
+
"- Acknowledge important user requests or confirmations",
|
|
7280
|
+
"- Express genuine sentiment (humor, appreciation) sparingly",
|
|
7281
|
+
"- Avoid reacting to routine messages or your own replies",
|
|
7282
|
+
"Guideline: at most 1 reaction per 5-10 exchanges."
|
|
7283
|
+
].join("\n") : [
|
|
7284
|
+
`Reactions are enabled for ${channel} in EXTENSIVE mode.`,
|
|
7285
|
+
"Feel free to react liberally:",
|
|
7286
|
+
"- Acknowledge messages with appropriate emojis",
|
|
7287
|
+
"- Express sentiment and personality through reactions",
|
|
7288
|
+
"- React to interesting content, humor, or notable events",
|
|
7289
|
+
"- Use reactions to confirm understanding or agreement",
|
|
7290
|
+
"Guideline: react whenever it feels natural."
|
|
7291
|
+
].join("\n");
|
|
7292
|
+
lines.push("## Reactions", guidanceText, "");
|
|
7293
|
+
}
|
|
7283
7294
|
}
|
|
7284
7295
|
if (reasoningHint) lines.push("## Reasoning Format", reasoningHint, "");
|
|
7285
7296
|
const validContextFiles = (params.contextFiles ?? []).filter((file) => typeof file.path === "string" && file.path.trim().length > 0);
|
|
@@ -7355,7 +7366,9 @@ function buildEmbeddedSystemPrompt(params) {
|
|
|
7355
7366
|
userTime: params.userTime,
|
|
7356
7367
|
userTimeFormat: params.userTimeFormat,
|
|
7357
7368
|
contextFiles: params.contextFiles,
|
|
7358
|
-
memoryCitationsMode: params.memoryCitationsMode
|
|
7369
|
+
memoryCitationsMode: params.memoryCitationsMode,
|
|
7370
|
+
compactMode: params.compactMode,
|
|
7371
|
+
skillsDiscoveryMode: params.skillsDiscoveryMode
|
|
7359
7372
|
});
|
|
7360
7373
|
const promptMode = params.promptMode ?? "full";
|
|
7361
7374
|
const isMinimal = promptMode === "minimal" || promptMode === "none";
|
|
@@ -9334,7 +9347,7 @@ var GatewayClient = class {
|
|
|
9334
9347
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
9335
9348
|
});
|
|
9336
9349
|
}
|
|
9337
|
-
this.ws = new WebSocket
|
|
9350
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
9338
9351
|
this.ws.on("open", () => {
|
|
9339
9352
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
9340
9353
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -9553,7 +9566,7 @@ var GatewayClient = class {
|
|
|
9553
9566
|
return null;
|
|
9554
9567
|
}
|
|
9555
9568
|
async request(method, params, opts) {
|
|
9556
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
9569
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
9557
9570
|
const id = randomUUID();
|
|
9558
9571
|
const frame = {
|
|
9559
9572
|
type: "req",
|
|
@@ -10822,7 +10835,7 @@ async function routeReply(params) {
|
|
|
10822
10835
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
10823
10836
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
10824
10837
|
try {
|
|
10825
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10838
|
+
const { deliverOutboundPayloads } = await import("./deliver-D5655IkX.js").then((n) => n.n);
|
|
10826
10839
|
return {
|
|
10827
10840
|
ok: true,
|
|
10828
10841
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -44616,7 +44629,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
44616
44629
|
return;
|
|
44617
44630
|
}
|
|
44618
44631
|
try {
|
|
44619
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
44632
|
+
const { deliverOutboundPayloads } = await import("./deliver-D5655IkX.js").then((n) => n.n);
|
|
44620
44633
|
await deliverOutboundPayloads({
|
|
44621
44634
|
cfg: params.cfg,
|
|
44622
44635
|
channel,
|
|
@@ -48062,7 +48075,7 @@ async function describeStickerImage(params) {
|
|
|
48062
48075
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
48063
48076
|
try {
|
|
48064
48077
|
const buffer = await fs$1.readFile(imagePath);
|
|
48065
|
-
const { describeImageWithModel } = await import("./image-
|
|
48078
|
+
const { describeImageWithModel } = await import("./image-BqpivNGG.js").then((n) => n.n);
|
|
48066
48079
|
return (await describeImageWithModel({
|
|
48067
48080
|
buffer,
|
|
48068
48081
|
fileName: "sticker.webp",
|
|
@@ -50811,7 +50824,7 @@ async function preflightDiscordMessage(params) {
|
|
|
50811
50824
|
let preflightTranscript;
|
|
50812
50825
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
50813
50826
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
50814
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
50827
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CbyJ_yDs.js");
|
|
50815
50828
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
50816
50829
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
50817
50830
|
ctx: {
|
|
@@ -54817,7 +54830,7 @@ function isVoiceChannelType(type) {
|
|
|
54817
54830
|
function createDefaultDeps() {
|
|
54818
54831
|
return {
|
|
54819
54832
|
sendMessageWhatsApp: async (...args) => {
|
|
54820
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
54833
|
+
const { sendMessageWhatsApp } = await import("./web-BSf9H0_w.js");
|
|
54821
54834
|
return await sendMessageWhatsApp(...args);
|
|
54822
54835
|
},
|
|
54823
54836
|
sendMessageTelegram: async (...args) => {
|
|
@@ -57722,7 +57735,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
57722
57735
|
super(options);
|
|
57723
57736
|
}
|
|
57724
57737
|
createWebSocket(url) {
|
|
57725
|
-
return new WebSocket(url, { agent });
|
|
57738
|
+
return new WebSocket$1(url, { agent });
|
|
57726
57739
|
}
|
|
57727
57740
|
}
|
|
57728
57741
|
return new ProxyGatewayPlugin();
|
|
@@ -67940,7 +67953,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
67940
67953
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
67941
67954
|
let preflightTranscript;
|
|
67942
67955
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
67943
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
67956
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CbyJ_yDs.js");
|
|
67944
67957
|
preflightTranscript = await transcribeFirstAudio({
|
|
67945
67958
|
ctx: {
|
|
67946
67959
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -70097,7 +70110,7 @@ function loadWebLoginQr() {
|
|
|
70097
70110
|
return webLoginQrPromise;
|
|
70098
70111
|
}
|
|
70099
70112
|
function loadWebChannel() {
|
|
70100
|
-
webChannelPromise ??= import("./web-
|
|
70113
|
+
webChannelPromise ??= import("./web-BSf9H0_w.js");
|
|
70101
70114
|
return webChannelPromise;
|
|
70102
70115
|
}
|
|
70103
70116
|
function loadWhatsAppActions() {
|
|
@@ -74107,7 +74120,8 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
74107
74120
|
autoLoadInlineSkills: params.config?.skills?.autoLoadInline,
|
|
74108
74121
|
skillsDiscoveryMode: params.config?.skills?.discoveryMode,
|
|
74109
74122
|
skillsAnchorList: params.config?.skills?.anchorList,
|
|
74110
|
-
currentUserMessage: void 0
|
|
74123
|
+
currentUserMessage: void 0,
|
|
74124
|
+
compactMode: params.config?.prompt?.compactMode
|
|
74111
74125
|
}));
|
|
74112
74126
|
const sessionLock = await acquireSessionWriteLock({
|
|
74113
74127
|
sessionFile: params.sessionFile,
|
|
@@ -78301,7 +78315,8 @@ async function runEmbeddedAttempt(params) {
|
|
|
78301
78315
|
autoLoadInlineSkills: params.config?.skills?.autoLoadInline,
|
|
78302
78316
|
skillsDiscoveryMode: params.config?.skills?.discoveryMode,
|
|
78303
78317
|
skillsAnchorList: params.config?.skills?.anchorList,
|
|
78304
|
-
currentUserMessage: params.prompt
|
|
78318
|
+
currentUserMessage: params.prompt,
|
|
78319
|
+
compactMode: params.config?.prompt?.compactMode
|
|
78305
78320
|
});
|
|
78306
78321
|
const systemPromptReport = buildSystemPromptReport({
|
|
78307
78322
|
source: "run",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, h as pathExists } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { H as trimLogTail } from "./reply-
|
|
4
|
+
import { H as trimLogTail } from "./reply-Bymjl4wV.js";
|
|
5
5
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -62,8 +62,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
62
62
|
import "./send-aXMPprv9.js";
|
|
63
63
|
import "./model-ECsJuJew.js";
|
|
64
64
|
import "./reply-prefix-CE2YmmsD.js";
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
65
|
+
import "./memory-cli-CoTkaEhh.js";
|
|
66
|
+
import "./manager-CB20PmUH.js";
|
|
67
67
|
import "./retry-BoS4e4X_.js";
|
|
68
68
|
import "./sqlite-D55gRQbH.js";
|
|
69
69
|
import "./target-errors-C9e6dMU_.js";
|
|
@@ -107,7 +107,7 @@ import "./stagger-CZ1Rrj7O.js";
|
|
|
107
107
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-DF8wPn-_.js";
|
|
108
108
|
import "./channel-selection-9fIQGtZy.js";
|
|
109
109
|
import { r as parseSemver } from "./runtime-guard-BKFbNplo.js";
|
|
110
|
-
import "./program-context-
|
|
110
|
+
import "./program-context-ByWsh-2T.js";
|
|
111
111
|
import "./catalog-KW3oyt3k.js";
|
|
112
112
|
import "./skills-status-D1IW8MhS.js";
|
|
113
113
|
import { n as inheritOptionFromParent } from "./command-options-DOOvAdsg.js";
|
|
@@ -118,7 +118,7 @@ import "./npm-registry-spec-B98RgVZF.js";
|
|
|
118
118
|
import "./skill-scanner-BTgjeQBf.js";
|
|
119
119
|
import "./installs-BPZKRjsO.js";
|
|
120
120
|
import "./channels-status-issues-BVpj6wWd.js";
|
|
121
|
-
import { r as installCompletion } from "./completion-cli-
|
|
121
|
+
import { r as installCompletion } from "./completion-cli-C20c_vzO.js";
|
|
122
122
|
import "./daemon-runtime-C-Mwepv_.js";
|
|
123
123
|
import "./systemd-Xs16roN5.js";
|
|
124
124
|
import { t as resolveGatewayService } from "./service-DzLem5vL.js";
|
|
@@ -127,19 +127,19 @@ import "./systemd-hints-CfnF9j3s.js";
|
|
|
127
127
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-BNZu5unw.js";
|
|
128
128
|
import "./diagnostics-1uBuB9IE.js";
|
|
129
129
|
import { t as renderTable } from "./table-BWuvjnmY.js";
|
|
130
|
-
import "./health-
|
|
130
|
+
import "./health-CYHbTw04.js";
|
|
131
131
|
import "./control-ui-assets-BrP31IQR.js";
|
|
132
132
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-Bbvpax6u.js";
|
|
133
133
|
import "./dm-policy-shared-KlzpDeT_.js";
|
|
134
134
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-BSaVYFQv.js";
|
|
135
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
135
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-UfVHKth_.js";
|
|
136
136
|
import "./logging-CZuxhCZR.js";
|
|
137
137
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-D4uLu0dv.js";
|
|
138
138
|
import "./doctor-config-flow-BFHsvL2k.js";
|
|
139
139
|
import "./systemd-linger-0C265XKH.js";
|
|
140
140
|
import "./health-format-Ct4VWeSk.js";
|
|
141
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
142
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
141
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BkwnTGjt.js";
|
|
142
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-B4pjrehH.js";
|
|
143
143
|
import os from "node:os";
|
|
144
144
|
import path from "node:path";
|
|
145
145
|
import fs from "node:fs/promises";
|
|
@@ -17,7 +17,7 @@ import "./client-CJIMV1WD.js";
|
|
|
17
17
|
import "./call-BCTAmPye.js";
|
|
18
18
|
import "./message-channel-C9dERklz.js";
|
|
19
19
|
import "./pairing-token-Byh6drgn.js";
|
|
20
|
-
import { wt as trimLogTail } from "./subagent-registry-
|
|
20
|
+
import { wt as trimLogTail } from "./subagent-registry-0D_yjdW5.js";
|
|
21
21
|
import "./sessions-CpDbQNFu.js";
|
|
22
22
|
import "./tokens-Csntmwwn.js";
|
|
23
23
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -55,8 +55,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
55
55
|
import "./thinking-8sKPnzpp.js";
|
|
56
56
|
import "./models-config-frWb8fDT.js";
|
|
57
57
|
import "./reply-prefix-BUN71nd5.js";
|
|
58
|
-
import "./memory-cli-
|
|
59
|
-
import "./manager-
|
|
58
|
+
import "./memory-cli-Cuhhh4qN.js";
|
|
59
|
+
import "./manager-BsfrsBPw.js";
|
|
60
60
|
import "./gemini-auth-DEakvf-D.js";
|
|
61
61
|
import "./retry-C4Q_VPOo.js";
|
|
62
62
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -112,10 +112,10 @@ import "./npm-registry-spec-PuS2I1Em.js";
|
|
|
112
112
|
import "./skill-scanner-BV3QHmsf.js";
|
|
113
113
|
import "./installs-B4sNNRaW.js";
|
|
114
114
|
import "./channels-status-issues-B-ssmZ8E.js";
|
|
115
|
-
import "./register.subclis-
|
|
116
|
-
import "./command-registry-
|
|
115
|
+
import "./register.subclis-BzbNYOC6.js";
|
|
116
|
+
import "./command-registry-FJWuYmEn.js";
|
|
117
117
|
import "./program-context-DeZ44oQ9.js";
|
|
118
|
-
import { r as installCompletion } from "./completion-cli-
|
|
118
|
+
import { r as installCompletion } from "./completion-cli-DWVW4P54.js";
|
|
119
119
|
import "./daemon-runtime-C86WnKU5.js";
|
|
120
120
|
import { r as parseSemver } from "./runtime-guard-BofkqBu7.js";
|
|
121
121
|
import "./systemd-CJ5L2ee4.js";
|
|
@@ -125,19 +125,19 @@ import "./systemd-hints-BbqPFaZ2.js";
|
|
|
125
125
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-BiBjGGfw.js";
|
|
126
126
|
import "./diagnostics-C6xPE2ln.js";
|
|
127
127
|
import { t as renderTable } from "./table-Bka4fasy.js";
|
|
128
|
-
import "./health-
|
|
128
|
+
import "./health-Bvo3NXZK.js";
|
|
129
129
|
import "./control-ui-assets-Clf7H-Sm.js";
|
|
130
130
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-BNjupSIM.js";
|
|
131
131
|
import "./dm-policy-shared-JiSNSaKz.js";
|
|
132
132
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DoXJrRh6.js";
|
|
133
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
133
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-CfzHxbsu.js";
|
|
134
134
|
import "./logging-PVQxLC6I.js";
|
|
135
135
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DticqU4-.js";
|
|
136
136
|
import "./doctor-config-flow-l2aPNzHP.js";
|
|
137
137
|
import "./systemd-linger-ipoPa7o0.js";
|
|
138
138
|
import "./health-format-DkjSgkDx.js";
|
|
139
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
140
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
139
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-nywEyQoQ.js";
|
|
140
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-C9A7E6Wb.js";
|
|
141
141
|
import { spawn, spawnSync } from "node:child_process";
|
|
142
142
|
import os from "node:os";
|
|
143
143
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CBKBIMpA.js";
|
|
3
|
-
import { wt as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { wt as trimLogTail } from "./subagent-registry-0D_yjdW5.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Clf7H-Sm.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-BNjupSIM.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { H as trimLogTail } from "./reply-
|
|
2
|
+
import { H as trimLogTail } from "./reply-Bymjl4wV.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BrP31IQR.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-Bbvpax6u.js";
|
|
@@ -4,16 +4,16 @@ import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H a
|
|
|
4
4
|
import "./agent-scope-CpEJ0B88.js";
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
|
|
6
6
|
import "./workspace-DscDraUb.js";
|
|
7
|
-
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./unified-runner-
|
|
7
|
+
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./unified-runner-j_Vn4K8X.js";
|
|
8
8
|
import { s as resolveStorePath } from "./paths-CbQV9WEg.js";
|
|
9
9
|
import "./auth-profiles-C2vj6htZ.js";
|
|
10
10
|
import { n as formatCliCommand } from "./env-BDXYbTKj.js";
|
|
11
11
|
import "./github-copilot-token-cCYzSU9h.js";
|
|
12
12
|
import "./boolean-CE7i9tBR.js";
|
|
13
|
-
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
13
|
+
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-CU-kYRrF.js";
|
|
14
14
|
import { n as loadConfig } from "./config-Do4JxgLI.js";
|
|
15
15
|
import "./manifest-registry-CBCGTsIb.js";
|
|
16
|
-
import "./chrome-
|
|
16
|
+
import "./chrome-CJHOBnUB.js";
|
|
17
17
|
import "./frontmatter-CTR5f_Ez.js";
|
|
18
18
|
import "./skills-CXxrn_e2.js";
|
|
19
19
|
import "./redact-BDMXB06K.js";
|
|
@@ -31,16 +31,16 @@ import "./bindings-BsHoBLIE.js";
|
|
|
31
31
|
import "./send-B7kMNQ-T.js";
|
|
32
32
|
import "./send-9ktd0CBZ.js";
|
|
33
33
|
import "./tool-images-SqqWIT22.js";
|
|
34
|
-
import "./deliver-
|
|
34
|
+
import "./deliver-D5655IkX.js";
|
|
35
35
|
import "./diagnostic-BUcR3Meg.js";
|
|
36
36
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
37
|
-
import "./image-
|
|
37
|
+
import "./image-BqpivNGG.js";
|
|
38
38
|
import "./pi-auth-json-RXOlh8ar.js";
|
|
39
39
|
import "./tokens-W0JzCJJM.js";
|
|
40
40
|
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-90t8KM2a.js";
|
|
41
41
|
import "./pi-model-discovery-CuZX_Q4t.js";
|
|
42
42
|
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-CvEIl6_d.js";
|
|
43
|
-
import "./manager-
|
|
43
|
+
import "./manager-CMB15ft8.js";
|
|
44
44
|
import "./gemini-auth-BefM10YB.js";
|
|
45
45
|
import "./retry-B-y5suGA.js";
|
|
46
46
|
import "./sqlite-BN_hIcmu.js";
|
|
@@ -51,7 +51,7 @@ import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ClipCZ9s.js";
|
|
|
51
51
|
import { a as loadWebMedia } from "./ir-7tMVY7D_.js";
|
|
52
52
|
import "./render-D1xvLuGo.js";
|
|
53
53
|
import "./commands-registry-DxbSTLNQ.js";
|
|
54
|
-
import { y as registerUnhandledRejectionHandler } from "./runner-
|
|
54
|
+
import { y as registerUnhandledRejectionHandler } from "./runner-DzNo-GCz.js";
|
|
55
55
|
import "./skill-commands-DG2lcozb.js";
|
|
56
56
|
import { t as finalizeInboundContext } from "./inbound-context-DZQU0r3y.js";
|
|
57
57
|
import "./fetch-ClslA6GS.js";
|
|
@@ -16,7 +16,7 @@ import "./client-CJIMV1WD.js";
|
|
|
16
16
|
import "./call-BCTAmPye.js";
|
|
17
17
|
import "./message-channel-C9dERklz.js";
|
|
18
18
|
import "./pairing-token-Byh6drgn.js";
|
|
19
|
-
import { Bn as formatInboundEnvelope, F as buildHistoryContextFromEntries, I as recordPendingHistoryEntryIfEnabled, Jn as normalizeMentionText, L as shouldAckReactionForWhatsApp, M as buildPairingReply, N as resolveMentionGating, P as DEFAULT_GROUP_HISTORY_LIMIT, R as dispatchReplyWithBufferedBlockDispatcher, Rn as createInboundDebouncer, U as createDedupeCache, Un as hasControlCommand, Vn as resolveEnvelopeFormatOptions, W as getReplyFromConfig, Wn as shouldComputeCommandAuthorized, b as sleepWithAbort, nn as normalizeGroupActivation, qn as buildMentionRegexes, rn as parseActivationCommand, wn as enqueueSystemEvent, y as computeBackoff, zn as resolveInboundDebounceMs } from "./subagent-registry-
|
|
19
|
+
import { Bn as formatInboundEnvelope, F as buildHistoryContextFromEntries, I as recordPendingHistoryEntryIfEnabled, Jn as normalizeMentionText, L as shouldAckReactionForWhatsApp, M as buildPairingReply, N as resolveMentionGating, P as DEFAULT_GROUP_HISTORY_LIMIT, R as dispatchReplyWithBufferedBlockDispatcher, Rn as createInboundDebouncer, U as createDedupeCache, Un as hasControlCommand, Vn as resolveEnvelopeFormatOptions, W as getReplyFromConfig, Wn as shouldComputeCommandAuthorized, b as sleepWithAbort, nn as normalizeGroupActivation, qn as buildMentionRegexes, rn as parseActivationCommand, wn as enqueueSystemEvent, y as computeBackoff, zn as resolveInboundDebounceMs } from "./subagent-registry-0D_yjdW5.js";
|
|
20
20
|
import { B as resolveGroupSessionKey, c as recordSessionMetaFromInbound, o as loadSessionStore, s as readSessionUpdatedAt, u as updateLastRoute } from "./sessions-CpDbQNFu.js";
|
|
21
21
|
import "./tokens-Csntmwwn.js";
|
|
22
22
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -54,8 +54,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
54
54
|
import "./thinking-8sKPnzpp.js";
|
|
55
55
|
import "./models-config-frWb8fDT.js";
|
|
56
56
|
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-BUN71nd5.js";
|
|
57
|
-
import "./memory-cli-
|
|
58
|
-
import "./manager-
|
|
57
|
+
import "./memory-cli-Cuhhh4qN.js";
|
|
58
|
+
import "./manager-BsfrsBPw.js";
|
|
59
59
|
import "./gemini-auth-DEakvf-D.js";
|
|
60
60
|
import "./retry-C4Q_VPOo.js";
|
|
61
61
|
import "./sqlite-BP8tiuca.js";
|