synurex 2026.2.29 → 2026.3.3-2

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.
Files changed (98) hide show
  1. package/dist/{acp-cli-C1jHGRAm.js → acp-cli-DG2rUnRu.js} +3 -3
  2. package/dist/{acp-cli-DE8cM2El.js → acp-cli-DgztFMxz.js} +3 -3
  3. package/dist/{agent-N2Qtra36.js → agent-DS48T6lR.js} +2 -2
  4. package/dist/{agent-COM-4PbL.js → agent-Dmx3qZPI.js} +2 -2
  5. package/dist/{audit-CM8pyctg.js → audit-D5Yus8BZ.js} +3 -3
  6. package/dist/{audit-DWZBSh2N.js → audit-yn_25WaA.js} +3 -3
  7. package/dist/{auth-3NYeRZYb.js → auth-CUgjFkvI.js} +1 -1
  8. package/dist/{auth-CVOB8Q9A.js → auth-CVGpCRur.js} +1 -1
  9. package/dist/{call-mnjMMyVJ.js → call-BrWU4m7x.js} +1 -1
  10. package/dist/{call-5aMaMdGl.js → call-CTxvJ5pZ.js} +1 -1
  11. package/dist/{channel-options-Bjh17Z08.js → channel-options-CCbTOytI.js} +1 -1
  12. package/dist/{channel-options-D-lP7aRV.js → channel-options-k4Undn6s.js} +1 -1
  13. package/dist/{channels-cli-BAZXZSuz.js → channels-cli-B-CYfHWP.js} +6 -6
  14. package/dist/{channels-cli-8HUWD1_p.js → channels-cli-CaKQ_wae.js} +5 -5
  15. package/dist/{chrome-BTQJDtEX.js → chrome-CXlGlG3I.js} +7 -7
  16. package/dist/{cli-BYL7Dz_4.js → cli-CO3WG4qC.js} +3 -3
  17. package/dist/{cli-C1ywLVhK.js → cli-DjJX0rq3.js} +3 -3
  18. package/dist/{client-atZzP6kK.js → client-B9j7V2ke.js} +2 -1
  19. package/dist/{command-options-C3aRsW7k.js → command-options-BviqkK5N.js} +1 -1
  20. package/dist/{completion-cli-a5JMEnJS.js → completion-cli-BALgQ2y1.js} +1 -1
  21. package/dist/{completion-cli-DK707Er8.js → completion-cli-C749vwOn.js} +19 -19
  22. package/dist/{config-guard-DKJoUOyT.js → config-guard-CMzxWE0A.js} +15 -15
  23. package/dist/{configure-D4ci8KU6.js → configure-CRoyTkU9.js} +4 -4
  24. package/dist/{configure-BpnOD65O.js → configure-CkkcUQpq.js} +4 -4
  25. package/dist/{cron-cli-DnMfj-JB.js → cron-cli-BPdH_4-b.js} +3 -3
  26. package/dist/{cron-cli-2W0wnKNI.js → cron-cli-CUwPIl1z.js} +3 -3
  27. package/dist/{daemon-cli-CuNBL-Hv.js → daemon-cli-CPgyDKEv.js} +5 -5
  28. package/dist/{daemon-cli-C4IIRXZr.js → daemon-cli-Cb9R6VC7.js} +5 -5
  29. package/dist/{deliver-C2TEJxeH.js → deliver-BUV-sfaF.js} +1 -1
  30. package/dist/{deps-DgFrcXzw.js → deps-CdKtBWOw.js} +1 -1
  31. package/dist/{deps-DHoBVhwZ.js → deps-DePusoG1.js} +1 -1
  32. package/dist/{devices-cli-CUYqlUBU.js → devices-cli-DwepJyRn.js} +2 -2
  33. package/dist/{devices-cli-DXulGFqa.js → devices-cli-Ea0Smn_b.js} +2 -2
  34. package/dist/{doctor-Cof9OUWJ.js → doctor-BRULcSTR.js} +6 -6
  35. package/dist/{doctor-DoeDz6o-.js → doctor-DdUSy2YI.js} +6 -6
  36. package/dist/entry.js +1 -1
  37. package/dist/{exec-approvals-cli-CfSTGR7F.js → exec-approvals-cli-B06y7Ua3.js} +4 -4
  38. package/dist/{exec-approvals-cli-D3lKd9XP.js → exec-approvals-cli-DJZVftuS.js} +4 -4
  39. package/dist/extensionAPI.js +11 -10
  40. package/dist/{gateway-cli-BEqjSEsO.js → gateway-cli-B6N3wj3P.js} +21 -20
  41. package/dist/{gateway-cli-BDVBUNwY.js → gateway-cli-f0ab5QnF.js} +22 -21
  42. package/dist/{gateway-rpc-CFkdcw9l.js → gateway-rpc-C7ZT9go5.js} +1 -1
  43. package/dist/{gateway-rpc-DqZGJ-5z.js → gateway-rpc-uFNlfdvz.js} +1 -1
  44. package/dist/{github-copilot-auth-DWFisj3D.js → github-copilot-auth-ByLv7D6a.js} +1 -1
  45. package/dist/{github-copilot-auth-Bog6I9WM.js → github-copilot-auth-Dv4zhEWb.js} +1 -1
  46. package/dist/{health-format-B3wTmrqY.js → health-format-BqYntyuZ.js} +2 -2
  47. package/dist/{health-format-CLSugjQl.js → health-format-CWhbEk2I.js} +2 -2
  48. package/dist/{hooks-cli-DXs2Jiyd.js → hooks-cli-BNgGmUi8.js} +4 -4
  49. package/dist/{hooks-cli-nGmjlGE7.js → hooks-cli-D_Jt25yP.js} +4 -4
  50. package/dist/{image-saBkWIDR.js → image-C6SHcuJM.js} +1 -1
  51. package/dist/index.js +20 -20
  52. package/dist/{loader-Ds66eH4-.js → loader-DfImT-V3.js} +2 -2
  53. package/dist/{logs-cli-D912P9Qo.js → logs-cli-BPJMLtTO.js} +3 -3
  54. package/dist/{logs-cli-BbRlZoUV.js → logs-cli-nC3f5CLF.js} +3 -3
  55. package/dist/{models-cli-_y06d7uQ.js → models-cli-C5c105HT.js} +4 -4
  56. package/dist/{models-cli-Vsoz5huP.js → models-cli-DkLpQUDt.js} +4 -4
  57. package/dist/{net-MZzhgr1g.js → net-BFQE3qvW.js} +2 -1
  58. package/dist/{node-cli-BzmAIGgs.js → node-cli-ChIQODE6.js} +2 -3
  59. package/dist/{node-cli-Uahurgv5.js → node-cli-LY3X1Vga.js} +2 -3
  60. package/dist/{nodes-cli-DbL_Z-Tf.js → nodes-cli--KUg3Fft.js} +3 -3
  61. package/dist/{nodes-cli-D-pPXmLu.js → nodes-cli-BMTyfteh.js} +3 -3
  62. package/dist/{onboard-channels-BuQPrqIE.js → onboard-channels-B8e17y6y.js} +1 -1
  63. package/dist/{onboard-channels-CyYMvXjh.js → onboard-channels-Be9reB9J.js} +1 -1
  64. package/dist/{onboard-skills-BPBFfhVp.js → onboard-skills-BZIkbD4M.js} +3 -3
  65. package/dist/{onboard-skills-BzZrWnt3.js → onboard-skills-CCW8YtdW.js} +3 -3
  66. package/dist/{onboarding-CaKb-_eZ.js → onboarding-CtQIwp-P.js} +9 -9
  67. package/dist/{pi-embedded-helpers-DKKB89sm.js → pi-embedded-helpers-dkrwwXev.js} +4 -4
  68. package/dist/plugin-sdk/index.js +2 -1
  69. package/dist/{plugins-cli-B9q0wqUI.js → plugins-cli-Cer9SGqS.js} +4 -4
  70. package/dist/{plugins-cli-s2-Xp26x.js → plugins-cli-EAWTwTwX.js} +4 -4
  71. package/dist/{program-DUm2Ko3G.js → program-Ba9hovgZ.js} +22 -22
  72. package/dist/{pw-ai-BKN0Jm4P.js → pw-ai-BUeSOvm-.js} +1 -1
  73. package/dist/{register.subclis-CxW2atUr.js → register.subclis-DRuH7f2k.js} +20 -20
  74. package/dist/{reply-8T1JOF0R.js → reply-CCs-Nvi2.js} +2 -2
  75. package/dist/{rpc-hF-BCzRo.js → rpc-BfAQ9OvQ.js} +1 -1
  76. package/dist/{rpc-DgcF4XNR.js → rpc-CVqnXiJX.js} +1 -1
  77. package/dist/{run-main-DWpvRRBI.js → run-main-BauYi3tE.js} +24 -24
  78. package/dist/{security-cli-CQ6iSAev.js → security-cli-3DojouTY.js} +4 -4
  79. package/dist/{security-cli-Ct93VQD5.js → security-cli-CdZHQp6q.js} +4 -4
  80. package/dist/{server-node-events-DPixVKRb.js → server-node-events-DyQCWI9_.js} +5 -5
  81. package/dist/{server-node-events-D_3bg9qE.js → server-node-events-KHDIroCq.js} +5 -5
  82. package/dist/{shared-Cpd7X2eE.js → shared-BapyXQjP.js} +1 -1
  83. package/dist/{shared-CDe5yKDd.js → shared-Dn5D714-.js} +1 -1
  84. package/dist/{status-MvIrUEv-.js → status-BDG9ZKR1.js} +9 -9
  85. package/dist/{status-Bstd0cot.js → status-BtRZByU9.js} +1 -1
  86. package/dist/{status-DyjCSdtm.js → status-DBqpuo35.js} +1 -1
  87. package/dist/{system-cli-BY3oOcLX.js → system-cli-CQ2uELHE.js} +3 -3
  88. package/dist/{system-cli-MPiQMTjv.js → system-cli-hFQv3fRj.js} +3 -3
  89. package/dist/{tui-Biuvuiog.js → tui-BYO6JShs.js} +79 -22
  90. package/dist/{tui-BPqDn4Jf.js → tui-NIkPzCXp.js} +79 -22
  91. package/dist/{tui-cli-AeeP52_J.js → tui-cli-CuzbvQkm.js} +3 -3
  92. package/dist/{tui-cli-ScD8BrCY.js → tui-cli-DWciEfZf.js} +3 -3
  93. package/dist/{update-cli-VEgtZCt5.js → update-cli-BnWnpqMq.js} +12 -12
  94. package/dist/{update-cli-BmJAMiaD.js → update-cli-mYRAUWB1.js} +11 -11
  95. package/dist/{update-runner-D-aCyLVU.js → update-runner-BscY5n-e.js} +3 -3
  96. package/dist/{update-runner-C8H9v6pQ.js → update-runner-D2oGDU6X.js} +3 -3
  97. package/docs/reference/templates/SOUL.md +24 -1
  98. package/package.json +1 -1
@@ -10,13 +10,13 @@ import "./env-DgIs6BZg.js";
10
10
  import { i as loadConfig, j as VERSION } from "./config-AFzxllYx.js";
11
11
  import "./manifest-registry-D8FEq9qs.js";
12
12
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DJEeCAZD.js";
13
- import { l as GatewayClient } from "./net-MZzhgr1g.js";
14
- import { t as buildGatewayConnectionDetails } from "./call-mnjMMyVJ.js";
13
+ import { l as GatewayClient } from "./net-BFQE3qvW.js";
14
+ import { t as buildGatewayConnectionDetails } from "./call-BrWU4m7x.js";
15
15
  import { t as formatDocsLink } from "./links-iCD68SwJ.js";
16
16
  import "./tailscale-CGhNcgVS.js";
17
17
  import { t as isMainModule } from "./is-main-B6kCyqsv.js";
18
18
  import { t as ensureSynurexCliOnPath } from "./path-env-Bc8ZqjfY.js";
19
- import { i as resolveGatewayAuth } from "./auth-CVOB8Q9A.js";
19
+ import { i as resolveGatewayAuth } from "./auth-CVGpCRur.js";
20
20
  import { fileURLToPath } from "node:url";
21
21
  import { spawn } from "node:child_process";
22
22
  import { randomUUID } from "node:crypto";
@@ -8,9 +8,9 @@ import { i as loadConfig, j as VERSION } from "./config-nvHm49RH.js";
8
8
  import "./manifest-registry-DjRSe72U.js";
9
9
  import { t as ensureSynurexCliOnPath } from "./path-env-DwZUJC_M.js";
10
10
  import "./tailscale-9MusRvOi.js";
11
- import { t as GatewayClient } from "./client-atZzP6kK.js";
12
- import { i as resolveGatewayAuth } from "./auth-3NYeRZYb.js";
13
- import { t as buildGatewayConnectionDetails } from "./call-5aMaMdGl.js";
11
+ import { t as GatewayClient } from "./client-B9j7V2ke.js";
12
+ import { i as resolveGatewayAuth } from "./auth-CUgjFkvI.js";
13
+ import { t as buildGatewayConnectionDetails } from "./call-CTxvJ5pZ.js";
14
14
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DcxF0eJh.js";
15
15
  import { t as isMainModule } from "./is-main-PYGa3tDA.js";
16
16
  import { t as formatDocsLink } from "./links-B79LZSNJ.js";
@@ -1,5 +1,5 @@
1
1
  import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-N_L31uhW.js";
2
- import { An as emitAgentEvent, Er as loadModelCatalog, I as runWithModelFallback, M as resolveSessionDeliveryTarget, Nn as registerAgentRunContext, On as AGENT_LANE_NESTED, Rt as getRemoteSkillEligibility, Vr as resolveAgentTimeoutMs, Zt as getSkillsSnapshotVersion, br as applyModelOverrideToSessionEntry, c as runEmbeddedPiAgent, i as runCliAgent, j as resolveOutboundTarget, kn as clearAgentRunContext, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, vr as lookupContextTokens, xr as applyVerboseOverride, yr as clearSessionAuthProfileOverride } from "./reply-8T1JOF0R.js";
2
+ import { An as emitAgentEvent, Er as loadModelCatalog, I as runWithModelFallback, M as resolveSessionDeliveryTarget, Nn as registerAgentRunContext, On as AGENT_LANE_NESTED, Rt as getRemoteSkillEligibility, Vr as resolveAgentTimeoutMs, Zt as getSkillsSnapshotVersion, br as applyModelOverrideToSessionEntry, c as runEmbeddedPiAgent, i as runCliAgent, j as resolveOutboundTarget, kn as clearAgentRunContext, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, vr as lookupContextTokens, xr as applyVerboseOverride, yr as clearSessionAuthProfileOverride } from "./reply-CCs-Nvi2.js";
3
3
  import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DrNCyvP1.js";
4
4
  import { c as defaultRuntime, h as DEFAULT_CHAT_CHANNEL } from "./subsystem-DPYBJG7C.js";
5
5
  import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-CRRhJ7Hf.js";
@@ -13,7 +13,7 @@ import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatew
13
13
  import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-mzsdSoO2.js";
14
14
  import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-B0C5m0kU.js";
15
15
  import { l as hasNonzeroUsage } from "./session-cost-usage-CPvtWzot.js";
16
- import { t as createDefaultDeps } from "./deps-DgFrcXzw.js";
16
+ import { t as createDefaultDeps } from "./deps-CdKtBWOw.js";
17
17
  import crypto from "node:crypto";
18
18
 
19
19
  //#region src/cli/outbound-send-deps.ts
@@ -6,14 +6,14 @@ import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride,
6
6
  import { i as loadConfig } from "./config-nvHm49RH.js";
7
7
  import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DcxF0eJh.js";
8
8
  import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C1mc_xWv.js";
9
- import { Bt as clearAgentRunContext, Dt as runEmbeddedPiAgent, H as getCliSessionId, Jt as applyModelOverrideToSessionEntry, K as resolveSendPolicy, Kt as AGENT_LANE_NESTED, Tn as runWithModelFallback, U as setCliSessionId, Vt as emitAgentEvent, W as runCliAgent, Wt as registerAgentRunContext, bn as resolveOutboundTarget, ct as clearSessionAuthProfileOverride, dn as lookupContextTokens, lt as applyVerboseOverride, ot as getSkillsSnapshotVersion, q as getRemoteSkillEligibility, qt as loadModelCatalog, xn as resolveSessionDeliveryTarget, zt as resolveAgentTimeoutMs } from "./loader-Ds66eH4-.js";
9
+ import { Bt as clearAgentRunContext, Dt as runEmbeddedPiAgent, H as getCliSessionId, Jt as applyModelOverrideToSessionEntry, K as resolveSendPolicy, Kt as AGENT_LANE_NESTED, Tn as runWithModelFallback, U as setCliSessionId, Vt as emitAgentEvent, W as runCliAgent, Wt as registerAgentRunContext, bn as resolveOutboundTarget, ct as clearSessionAuthProfileOverride, dn as lookupContextTokens, lt as applyVerboseOverride, ot as getSkillsSnapshotVersion, q as getRemoteSkillEligibility, qt as loadModelCatalog, xn as resolveSessionDeliveryTarget, zt as resolveAgentTimeoutMs } from "./loader-DfImT-V3.js";
10
10
  import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-Cn5vXlEi.js";
11
11
  import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-DyfPH1I_.js";
12
12
  import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-C4xT__Jw.js";
13
13
  import { A as resolveSessionResetType, D as evaluateSessionFreshness, E as resolveSessionKey, F as resolveExplicitAgentSessionKey, O as resolveChannelResetConfig, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, k as resolveSessionResetPolicy } from "./sandbox-DBpsZtIS.js";
14
14
  import { r as buildWorkspaceSkillSnapshot } from "./skills-B60zX2bC.js";
15
15
  import { l as hasNonzeroUsage } from "./session-cost-usage-lYVH5MAy.js";
16
- import { t as createDefaultDeps } from "./deps-DHoBVhwZ.js";
16
+ import { t as createDefaultDeps } from "./deps-DePusoG1.js";
17
17
  import crypto from "node:crypto";
18
18
 
19
19
  //#region src/cli/outbound-send-deps.ts
@@ -10,13 +10,13 @@ import { $ as resolveSandboxToolPolicyForAgent, Z as resolveSandboxConfigForAgen
10
10
  import { i as loadWorkspaceSkillEntries } from "./skills-CrYcs9jK.js";
11
11
  import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-BuV65eg5.js";
12
12
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DJEeCAZD.js";
13
- import { l as GatewayClient } from "./net-MZzhgr1g.js";
14
- import { t as buildGatewayConnectionDetails } from "./call-mnjMMyVJ.js";
13
+ import { l as GatewayClient } from "./net-BFQE3qvW.js";
14
+ import { t as buildGatewayConnectionDetails } from "./call-BrWU4m7x.js";
15
15
  import { i as readChannelAllowFromStore } from "./pairing-store-pdzxfI5n.js";
16
16
  import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-m0G0As1p.js";
17
17
  import { t as resolveChannelDefaultAccountId } from "./helpers-yjIEMzi8.js";
18
18
  import { t as scanDirectoryWithSummary } from "./skill-scanner-BoGjHXUZ.js";
19
- import { i as resolveGatewayAuth } from "./auth-CVOB8Q9A.js";
19
+ import { i as resolveGatewayAuth } from "./auth-CVGpCRur.js";
20
20
  import os from "node:os";
21
21
  import path from "node:path";
22
22
  import JSON5 from "json5";
@@ -6,9 +6,9 @@ import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./age
6
6
  import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, r as createConfigIO } from "./config-nvHm49RH.js";
7
7
  import { a as MANIFEST_KEY } from "./manifest-registry-DjRSe72U.js";
8
8
  import { a as resolveBrowserConfig, o as resolveProfile } from "./server-context-CFielb4y.js";
9
- import { t as GatewayClient } from "./client-atZzP6kK.js";
10
- import { i as resolveGatewayAuth } from "./auth-3NYeRZYb.js";
11
- import { t as buildGatewayConnectionDetails } from "./call-5aMaMdGl.js";
9
+ import { t as GatewayClient } from "./client-B9j7V2ke.js";
10
+ import { i as resolveGatewayAuth } from "./auth-CUgjFkvI.js";
11
+ import { t as buildGatewayConnectionDetails } from "./call-CTxvJ5pZ.js";
12
12
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DcxF0eJh.js";
13
13
  import { n as listChannelPlugins } from "./plugins-C1mc_xWv.js";
14
14
  import { t as resolveChannelDefaultAccountId } from "./helpers-DMlRCrD6.js";
@@ -1,5 +1,5 @@
1
1
  import { c as readTailscaleWhoisIdentity } from "./tailscale-9MusRvOi.js";
2
- import { Bt as parseForwardedForClientIp, Ut as resolveGatewayClientIp, zt as isTrustedProxyAddress } from "./client-atZzP6kK.js";
2
+ import { Bt as parseForwardedForClientIp, Ut as resolveGatewayClientIp, zt as isTrustedProxyAddress } from "./client-B9j7V2ke.js";
3
3
  import { timingSafeEqual } from "node:crypto";
4
4
 
5
5
  //#region src/gateway/auth.ts
@@ -1,4 +1,4 @@
1
- import { i as parseForwardedForClientIp, r as isTrustedProxyAddress, s as resolveGatewayClientIp } from "./net-MZzhgr1g.js";
1
+ import { i as parseForwardedForClientIp, r as isTrustedProxyAddress, s as resolveGatewayClientIp } from "./net-BFQE3qvW.js";
2
2
  import { c as readTailscaleWhoisIdentity } from "./tailscale-CGhNcgVS.js";
3
3
  import { timingSafeEqual } from "node:crypto";
4
4
 
@@ -2,7 +2,7 @@ import { g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort }
2
2
  import { g as shortenHomeInString, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-C7NsUvD1.js";
3
3
  import { i as loadConfig } from "./config-AFzxllYx.js";
4
4
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DJEeCAZD.js";
5
- import { Bt as normalizeFingerprint, Ht as loadOrCreateDeviceIdentity, Pt as PROTOCOL_VERSION, a as pickPrimaryLanIPv4, l as GatewayClient } from "./net-MZzhgr1g.js";
5
+ import { Bt as normalizeFingerprint, Ht as loadOrCreateDeviceIdentity, Pt as PROTOCOL_VERSION, a as pickPrimaryLanIPv4, l as GatewayClient } from "./net-BFQE3qvW.js";
6
6
  import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DLDGNuH2.js";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs/promises";
@@ -2,7 +2,7 @@ import { B as resolveConfigPath, W as resolveGatewayPort, X as resolveStateDir }
2
2
  import { h as shortenHomeInString, m as resolveUserPath, o as ensureDir, t as CONFIG_DIR } from "./utils-DBu98aoz.js";
3
3
  import { i as loadConfig } from "./config-nvHm49RH.js";
4
4
  import { t as pickPrimaryTailnetIPv4 } from "./tailnet-Byp3obcc.js";
5
- import { Et as PROTOCOL_VERSION, Mt as normalizeFingerprint, Pt as loadOrCreateDeviceIdentity, Vt as pickPrimaryLanIPv4, t as GatewayClient } from "./client-atZzP6kK.js";
5
+ import { Et as PROTOCOL_VERSION, Mt as normalizeFingerprint, Pt as loadOrCreateDeviceIdentity, Vt as pickPrimaryLanIPv4, t as GatewayClient } from "./client-B9j7V2ke.js";
6
6
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DcxF0eJh.js";
7
7
  import { execFile } from "node:child_process";
8
8
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { lt as loadSynurexPlugins } from "./reply-8T1JOF0R.js";
1
+ import { lt as loadSynurexPlugins } from "./reply-CCs-Nvi2.js";
2
2
  import { m as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-DPYBJG7C.js";
3
3
  import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CRRhJ7Hf.js";
4
4
  import { t as isTruthyEnvValue } from "./env-DgIs6BZg.js";
@@ -1,7 +1,7 @@
1
1
  import { Q as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
2
2
  import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-Bu3hK0U6.js";
3
3
  import { n as listChannelPlugins } from "./plugins-C1mc_xWv.js";
4
- import { n as ensurePluginRegistryLoaded } from "./command-options-C3aRsW7k.js";
4
+ import { n as ensurePluginRegistryLoaded } from "./command-options-BviqkK5N.js";
5
5
 
6
6
  //#region src/cli/channel-options.ts
7
7
  function dedupe(values) {
@@ -12,21 +12,21 @@ import "./manifest-registry-DjRSe72U.js";
12
12
  import "./server-context-CFielb4y.js";
13
13
  import "./errors-C8t2PjW_.js";
14
14
  import "./control-service-Cgrsb6v8.js";
15
- import "./client-atZzP6kK.js";
16
- import { n as callGateway } from "./call-5aMaMdGl.js";
15
+ import "./client-B9j7V2ke.js";
16
+ import { n as callGateway } from "./call-CTxvJ5pZ.js";
17
17
  import "./message-channel-DcxF0eJh.js";
18
18
  import { t as formatDocsLink } from "./links-B79LZSNJ.js";
19
19
  import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-Bu3hK0U6.js";
20
20
  import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C1mc_xWv.js";
21
21
  import "./logging-pqyrk15z.js";
22
22
  import "./accounts-B6AkTILW.js";
23
- import { R as fetchChannelPermissionsDiscord, Xt as formatUsageReportLines, Yt as loadProviderUsageSummary, _n as parseDiscordTarget, jr as createSlackWebClient } from "./loader-Ds66eH4-.js";
23
+ import { R as fetchChannelPermissionsDiscord, Xt as formatUsageReportLines, Yt as loadProviderUsageSummary, _n as parseDiscordTarget, jr as createSlackWebClient } from "./loader-DfImT-V3.js";
24
24
  import { n as withProgress } from "./progress-Bcjniu7m.js";
25
25
  import "./prompt-style-CFsleyxV.js";
26
26
  import "./note-_C44YfAQ.js";
27
27
  import { t as createClackPrompter } from "./clack-prompter-B9yLhyOm.js";
28
28
  import { t as resolveChannelDefaultAccountId } from "./helpers-DMlRCrD6.js";
29
- import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-BuQPrqIE.js";
29
+ import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-B8e17y6y.js";
30
30
  import "./archive-ccN9aDgq.js";
31
31
  import "./skill-scanner-COatt01v.js";
32
32
  import "./installs-Snp4gUlG.js";
@@ -53,8 +53,8 @@ import "./pairing-labels-CrJtLbMY.js";
53
53
  import { t as buildChannelAccountSnapshot } from "./status-CWDof7Cn.js";
54
54
  import { t as parseLogLine } from "./parse-log-line-BnB7770k.js";
55
55
  import { t as collectChannelStatusIssues } from "./channels-status-issues-CgVNTMMz.js";
56
- import { t as hasExplicitOptions } from "./command-options-C3aRsW7k.js";
57
- import { t as formatCliChannelOptions } from "./channel-options-D-lP7aRV.js";
56
+ import { t as hasExplicitOptions } from "./command-options-BviqkK5N.js";
57
+ import { t as formatCliChannelOptions } from "./channel-options-k4Undn6s.js";
58
58
  import fs from "node:fs/promises";
59
59
 
60
60
  //#region src/commands/channels/add-mutators.ts
@@ -1,5 +1,5 @@
1
1
  import "./pi-embedded-helpers-N_L31uhW.js";
2
- import { Ln as createSlackWebClient, bn as parseDiscordTarget, dt as formatUsageReportLines, ut as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-8T1JOF0R.js";
2
+ import { Ln as createSlackWebClient, bn as parseDiscordTarget, dt as formatUsageReportLines, ut as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-CCs-Nvi2.js";
3
3
  import "./paths-Drx5WZ13.js";
4
4
  import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DrNCyvP1.js";
5
5
  import { E as danger, M as setVerbose, R as theme, V as getResolvedLoggerSettings, c as defaultRuntime, h as DEFAULT_CHAT_CHANNEL } from "./subsystem-DPYBJG7C.js";
@@ -32,8 +32,8 @@ import "./dispatcher-BLeixzBZ.js";
32
32
  import "./manager-MLoKmXjg.js";
33
33
  import "./sqlite-CbZh0dx1.js";
34
34
  import { n as formatAge } from "./channel-summary-D7joKboS.js";
35
- import "./net-MZzhgr1g.js";
36
- import { n as callGateway } from "./call-mnjMMyVJ.js";
35
+ import "./net-BFQE3qvW.js";
36
+ import { n as callGateway } from "./call-BrWU4m7x.js";
37
37
  import "./login-qr-D823w1Qv.js";
38
38
  import "./pairing-store-pdzxfI5n.js";
39
39
  import { t as formatDocsLink } from "./links-iCD68SwJ.js";
@@ -48,13 +48,13 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-i-6yBKA
48
48
  import { t as resolveChannelDefaultAccountId } from "./helpers-yjIEMzi8.js";
49
49
  import "./note-rStT8AJi.js";
50
50
  import { t as createClackPrompter } from "./clack-prompter-C7J7X7j7.js";
51
- import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-CyYMvXjh.js";
51
+ import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-Be9reB9J.js";
52
52
  import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-Ca3Ou67i.js";
53
53
  import "./archive-Dy3Ezb-5.js";
54
54
  import "./skill-scanner-BoGjHXUZ.js";
55
55
  import "./installs-BvY-yqDY.js";
56
56
  import { t as collectChannelStatusIssues } from "./channels-status-issues-CT6Q1t1h.js";
57
- import { i as hasExplicitOptions, t as formatCliChannelOptions } from "./channel-options-Bjh17Z08.js";
57
+ import { i as hasExplicitOptions, t as formatCliChannelOptions } from "./channel-options-CCbTOytI.js";
58
58
  import { t as buildChannelAccountSnapshot } from "./status-BF8IVV7c.js";
59
59
  import { t as parseLogLine } from "./parse-log-line-DSvJi17i.js";
60
60
  import fs from "node:fs/promises";
@@ -7,7 +7,7 @@ import fs$1 from "node:fs/promises";
7
7
  import { execFileSync, spawn } from "node:child_process";
8
8
  import { randomBytes } from "node:crypto";
9
9
  import { createServer } from "node:http";
10
- import WebSocket, { WebSocketServer } from "ws";
10
+ import WebSocket$1, { WebSocketServer } from "ws";
11
11
  import { Buffer as Buffer$1 } from "node:buffer";
12
12
  import net from "node:net";
13
13
 
@@ -135,7 +135,7 @@ async function ensureChromeExtensionRelayServer(opts) {
135
135
  let nextExtensionId = 1;
136
136
  const sendToExtension = async (payload) => {
137
137
  const ws = extensionWs;
138
- if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
138
+ if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
139
139
  ws.send(JSON.stringify(payload));
140
140
  return await new Promise((resolve, reject) => {
141
141
  const timer = setTimeout(() => {
@@ -152,12 +152,12 @@ async function ensureChromeExtensionRelayServer(opts) {
152
152
  const broadcastToCdpClients = (evt) => {
153
153
  const msg = JSON.stringify(evt);
154
154
  for (const ws of cdpClients) {
155
- if (ws.readyState !== WebSocket.OPEN) continue;
155
+ if (ws.readyState !== WebSocket$1.OPEN) continue;
156
156
  ws.send(msg);
157
157
  }
158
158
  };
159
159
  const sendResponseToCdp = (ws, res) => {
160
- if (ws.readyState !== WebSocket.OPEN) return;
160
+ if (ws.readyState !== WebSocket$1.OPEN) return;
161
161
  ws.send(JSON.stringify(res));
162
162
  };
163
163
  const ensureTargetEventsForClient = (ws, mode) => {
@@ -377,7 +377,7 @@ async function ensureChromeExtensionRelayServer(opts) {
377
377
  wssExtension.on("connection", (ws) => {
378
378
  extensionWs = ws;
379
379
  const ping = setInterval(() => {
380
- if (ws.readyState !== WebSocket.OPEN) return;
380
+ if (ws.readyState !== WebSocket$1.OPEN) return;
381
381
  ws.send(JSON.stringify({ method: "ping" }));
382
382
  }, 5e3);
383
383
  ws.on("message", (data) => {
@@ -674,7 +674,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
674
674
  }
675
675
  async function withCdpSocket(wsUrl, fn, opts) {
676
676
  const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
677
- const ws = new WebSocket(wsUrl, {
677
+ const ws = new WebSocket$1(wsUrl, {
678
678
  handshakeTimeout: 5e3,
679
679
  ...Object.keys(headers).length ? { headers } : {}
680
680
  });
@@ -1808,7 +1808,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
1808
1808
  async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
1809
1809
  return await new Promise((resolve) => {
1810
1810
  const headers = getHeadersWithAuth(wsUrl);
1811
- const ws = new WebSocket(wsUrl, {
1811
+ const ws = new WebSocket$1(wsUrl, {
1812
1812
  handshakeTimeout: timeoutMs,
1813
1813
  ...Object.keys(headers).length ? { headers } : {}
1814
1814
  });
@@ -1,5 +1,5 @@
1
1
  import "./pi-embedded-helpers-N_L31uhW.js";
2
- import { lt as loadSynurexPlugins } from "./reply-8T1JOF0R.js";
2
+ import { lt as loadSynurexPlugins } from "./reply-CCs-Nvi2.js";
3
3
  import "./paths-Drx5WZ13.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-DPYBJG7C.js";
5
5
  import "./utils-C7NsUvD1.js";
@@ -30,8 +30,8 @@ import "./dispatcher-BLeixzBZ.js";
30
30
  import "./manager-MLoKmXjg.js";
31
31
  import "./sqlite-CbZh0dx1.js";
32
32
  import "./channel-summary-D7joKboS.js";
33
- import "./net-MZzhgr1g.js";
34
- import "./call-mnjMMyVJ.js";
33
+ import "./net-BFQE3qvW.js";
34
+ import "./call-BrWU4m7x.js";
35
35
  import "./login-qr-D823w1Qv.js";
36
36
  import "./pairing-store-pdzxfI5n.js";
37
37
  import "./links-iCD68SwJ.js";
@@ -10,14 +10,14 @@ import "./manifest-registry-DjRSe72U.js";
10
10
  import "./server-context-CFielb4y.js";
11
11
  import "./errors-C8t2PjW_.js";
12
12
  import "./control-service-Cgrsb6v8.js";
13
- import "./client-atZzP6kK.js";
14
- import "./call-5aMaMdGl.js";
13
+ import "./client-B9j7V2ke.js";
14
+ import "./call-CTxvJ5pZ.js";
15
15
  import "./message-channel-DcxF0eJh.js";
16
16
  import "./links-B79LZSNJ.js";
17
17
  import "./plugins-C1mc_xWv.js";
18
18
  import "./logging-pqyrk15z.js";
19
19
  import "./accounts-B6AkTILW.js";
20
- import { t as loadSynurexPlugins } from "./loader-Ds66eH4-.js";
20
+ import { t as loadSynurexPlugins } from "./loader-DfImT-V3.js";
21
21
  import "./progress-Bcjniu7m.js";
22
22
  import "./prompt-style-CFsleyxV.js";
23
23
  import "./manager-e20ne1Ai.js";
@@ -1203,7 +1203,8 @@ const ChatAbortParamsSchema = Type.Object({
1203
1203
  const ChatInjectParamsSchema = Type.Object({
1204
1204
  sessionKey: NonEmptyString,
1205
1205
  message: NonEmptyString,
1206
- label: Type.Optional(Type.String({ maxLength: 100 }))
1206
+ label: Type.Optional(Type.String({ maxLength: 100 })),
1207
+ role: Type.Optional(Type.Union([Type.Literal("user"), Type.Literal("assistant")]))
1207
1208
  }, { additionalProperties: false });
1208
1209
  const ChatEventSchema = Type.Object({
1209
1210
  runId: NonEmptyString,
@@ -1,7 +1,7 @@
1
1
  import { o as createSubsystemLogger } from "./entry.js";
2
2
  import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DNmzkYn4.js";
3
3
  import { i as loadConfig } from "./config-nvHm49RH.js";
4
- import { t as loadSynurexPlugins } from "./loader-Ds66eH4-.js";
4
+ import { t as loadSynurexPlugins } from "./loader-DfImT-V3.js";
5
5
 
6
6
  //#region src/cli/plugin-registry.ts
7
7
  const log = createSubsystemLogger("plugins");
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { X as resolveStateDir } from "./entry.js";
3
- import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-CxW2atUr.js";
3
+ import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-DRuH7f2k.js";
4
4
  import path from "node:path";
5
5
  import os from "node:os";
6
6
  import fs from "node:fs/promises";
@@ -117,70 +117,70 @@ const entries = [
117
117
  name: "acp",
118
118
  description: "Agent Control Protocol tools",
119
119
  register: async (program) => {
120
- (await import("./acp-cli-C1jHGRAm.js")).registerAcpCli(program);
120
+ (await import("./acp-cli-DG2rUnRu.js")).registerAcpCli(program);
121
121
  }
122
122
  },
123
123
  {
124
124
  name: "gateway",
125
125
  description: "Gateway control",
126
126
  register: async (program) => {
127
- (await import("./gateway-cli-BEqjSEsO.js")).registerGatewayCli(program);
127
+ (await import("./gateway-cli-B6N3wj3P.js")).registerGatewayCli(program);
128
128
  }
129
129
  },
130
130
  {
131
131
  name: "daemon",
132
132
  description: "Gateway service (legacy alias)",
133
133
  register: async (program) => {
134
- (await import("./daemon-cli-C4IIRXZr.js").then((n) => n.t)).registerDaemonCli(program);
134
+ (await import("./daemon-cli-Cb9R6VC7.js").then((n) => n.t)).registerDaemonCli(program);
135
135
  }
136
136
  },
137
137
  {
138
138
  name: "logs",
139
139
  description: "Gateway logs",
140
140
  register: async (program) => {
141
- (await import("./logs-cli-D912P9Qo.js")).registerLogsCli(program);
141
+ (await import("./logs-cli-BPJMLtTO.js")).registerLogsCli(program);
142
142
  }
143
143
  },
144
144
  {
145
145
  name: "system",
146
146
  description: "System events, heartbeat, and presence",
147
147
  register: async (program) => {
148
- (await import("./system-cli-BY3oOcLX.js")).registerSystemCli(program);
148
+ (await import("./system-cli-CQ2uELHE.js")).registerSystemCli(program);
149
149
  }
150
150
  },
151
151
  {
152
152
  name: "models",
153
153
  description: "Model configuration",
154
154
  register: async (program) => {
155
- (await import("./models-cli-_y06d7uQ.js")).registerModelsCli(program);
155
+ (await import("./models-cli-C5c105HT.js")).registerModelsCli(program);
156
156
  }
157
157
  },
158
158
  {
159
159
  name: "approvals",
160
160
  description: "Exec approvals",
161
161
  register: async (program) => {
162
- (await import("./exec-approvals-cli-CfSTGR7F.js")).registerExecApprovalsCli(program);
162
+ (await import("./exec-approvals-cli-B06y7Ua3.js")).registerExecApprovalsCli(program);
163
163
  }
164
164
  },
165
165
  {
166
166
  name: "nodes",
167
167
  description: "Node commands",
168
168
  register: async (program) => {
169
- (await import("./nodes-cli-D-pPXmLu.js")).registerNodesCli(program);
169
+ (await import("./nodes-cli-BMTyfteh.js")).registerNodesCli(program);
170
170
  }
171
171
  },
172
172
  {
173
173
  name: "devices",
174
174
  description: "Device pairing + token management",
175
175
  register: async (program) => {
176
- (await import("./devices-cli-CUYqlUBU.js")).registerDevicesCli(program);
176
+ (await import("./devices-cli-DwepJyRn.js")).registerDevicesCli(program);
177
177
  }
178
178
  },
179
179
  {
180
180
  name: "node",
181
181
  description: "Node control",
182
182
  register: async (program) => {
183
- (await import("./node-cli-BzmAIGgs.js")).registerNodeCli(program);
183
+ (await import("./node-cli-ChIQODE6.js")).registerNodeCli(program);
184
184
  }
185
185
  },
186
186
  {
@@ -194,14 +194,14 @@ const entries = [
194
194
  name: "tui",
195
195
  description: "Terminal UI",
196
196
  register: async (program) => {
197
- (await import("./tui-cli-AeeP52_J.js")).registerTuiCli(program);
197
+ (await import("./tui-cli-CuzbvQkm.js")).registerTuiCli(program);
198
198
  }
199
199
  },
200
200
  {
201
201
  name: "cron",
202
202
  description: "Cron scheduler",
203
203
  register: async (program) => {
204
- (await import("./cron-cli-2W0wnKNI.js")).registerCronCli(program);
204
+ (await import("./cron-cli-CUwPIl1z.js")).registerCronCli(program);
205
205
  }
206
206
  },
207
207
  {
@@ -222,7 +222,7 @@ const entries = [
222
222
  name: "hooks",
223
223
  description: "Hooks tooling",
224
224
  register: async (program) => {
225
- (await import("./hooks-cli-DXs2Jiyd.js")).registerHooksCli(program);
225
+ (await import("./hooks-cli-BNgGmUi8.js")).registerHooksCli(program);
226
226
  }
227
227
  },
228
228
  {
@@ -236,7 +236,7 @@ const entries = [
236
236
  name: "pairing",
237
237
  description: "Pairing helpers",
238
238
  register: async (program) => {
239
- const { registerPluginCliCommands } = await import("./cli-BYL7Dz_4.js");
239
+ const { registerPluginCliCommands } = await import("./cli-CO3WG4qC.js");
240
240
  registerPluginCliCommands(program, await loadConfig());
241
241
  (await import("./pairing-cli-CN183i69.js")).registerPairingCli(program);
242
242
  }
@@ -245,8 +245,8 @@ const entries = [
245
245
  name: "plugins",
246
246
  description: "Plugin management",
247
247
  register: async (program) => {
248
- (await import("./plugins-cli-B9q0wqUI.js")).registerPluginsCli(program);
249
- const { registerPluginCliCommands } = await import("./cli-BYL7Dz_4.js");
248
+ (await import("./plugins-cli-Cer9SGqS.js")).registerPluginsCli(program);
249
+ const { registerPluginCliCommands } = await import("./cli-CO3WG4qC.js");
250
250
  registerPluginCliCommands(program, await loadConfig());
251
251
  }
252
252
  },
@@ -254,7 +254,7 @@ const entries = [
254
254
  name: "channels",
255
255
  description: "Channel management",
256
256
  register: async (program) => {
257
- (await import("./channels-cli-8HUWD1_p.js")).registerChannelsCli(program);
257
+ (await import("./channels-cli-CaKQ_wae.js")).registerChannelsCli(program);
258
258
  }
259
259
  },
260
260
  {
@@ -268,7 +268,7 @@ const entries = [
268
268
  name: "security",
269
269
  description: "Security helpers",
270
270
  register: async (program) => {
271
- (await import("./security-cli-CQ6iSAev.js")).registerSecurityCli(program);
271
+ (await import("./security-cli-3DojouTY.js")).registerSecurityCli(program);
272
272
  }
273
273
  },
274
274
  {
@@ -282,7 +282,7 @@ const entries = [
282
282
  name: "update",
283
283
  description: "CLI update helpers",
284
284
  register: async (program) => {
285
- (await import("./update-cli-BmJAMiaD.js")).registerUpdateCli(program);
285
+ (await import("./update-cli-mYRAUWB1.js")).registerUpdateCli(program);
286
286
  }
287
287
  },
288
288
  {
@@ -7,39 +7,39 @@ import { t as runCommandWithTimeout } from "./exec-B8JKbXKW.js";
7
7
  import { c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, w as resolveDefaultAgentWorkspaceDir, x as ensureAgentWorkspace } from "./agent-scope-DNmzkYn4.js";
8
8
  import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-nvHm49RH.js";
9
9
  import { n as movePathToTrash } from "./server-context-CFielb4y.js";
10
- import { i as randomIdempotencyKey, n as callGateway } from "./call-5aMaMdGl.js";
10
+ import { i as randomIdempotencyKey, n as callGateway } from "./call-CTxvJ5pZ.js";
11
11
  import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-DcxF0eJh.js";
12
12
  import { t as formatDocsLink } from "./links-B79LZSNJ.js";
13
13
  import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-C1mc_xWv.js";
14
- import { D as runMemoryStatus, E as registerMemoryCli, Jn as CHANNEL_TARGET_DESCRIPTION, Sn as formatTargetDisplay, _ as randomToken, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, dn as lookupContextTokens, f as moveToTrash, i as DEFAULT_WORKSPACE, l as formatControlUiSshHint, m as openUrl, mn as runMessageAction, qn as CHANNEL_TARGETS_DESCRIPTION, s as detectBrowserOpenSupport, v as resolveControlUiLinks, wn as CHANNEL_MESSAGE_ACTION_NAMES, x as waitForGatewayReachable } from "./loader-Ds66eH4-.js";
14
+ import { D as runMemoryStatus, E as registerMemoryCli, Jn as CHANNEL_TARGET_DESCRIPTION, Sn as formatTargetDisplay, _ as randomToken, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, dn as lookupContextTokens, f as moveToTrash, i as DEFAULT_WORKSPACE, l as formatControlUiSshHint, m as openUrl, mn as runMessageAction, qn as CHANNEL_TARGETS_DESCRIPTION, s as detectBrowserOpenSupport, v as resolveControlUiLinks, wn as CHANNEL_MESSAGE_ACTION_NAMES, x as waitForGatewayReachable } from "./loader-DfImT-V3.js";
15
15
  import { n as withProgress } from "./progress-Bcjniu7m.js";
16
16
  import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CFsleyxV.js";
17
17
  import { t as WizardCancelledError } from "./prompts-CudpZgTI.js";
18
18
  import { t as createClackPrompter } from "./clack-prompter-B9yLhyOm.js";
19
19
  import { t as resolveChannelDefaultAccountId } from "./helpers-DMlRCrD6.js";
20
- import { n as setupChannels } from "./onboard-channels-BuQPrqIE.js";
20
+ import { n as setupChannels } from "./onboard-channels-B8e17y6y.js";
21
21
  import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-Cn5vXlEi.js";
22
22
  import { d as loadSessionStore } from "./sandbox-DBpsZtIS.js";
23
23
  import { r as runCommandWithRuntime } from "./cli-utils-DzrdzskQ.js";
24
- import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-C3aRsW7k.js";
25
- import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-CxW2atUr.js";
24
+ import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-BviqkK5N.js";
25
+ import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-DRuH7f2k.js";
26
26
  import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-azbX_hrI.js";
27
- import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DqZGJ-5z.js";
28
- import { t as createDefaultDeps } from "./deps-DHoBVhwZ.js";
27
+ import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-uFNlfdvz.js";
28
+ import { t as createDefaultDeps } from "./deps-DePusoG1.js";
29
29
  import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-sBNXpVgk.js";
30
30
  import { t as resolveGatewayService } from "./service-sZqtAG53.js";
31
31
  import { r as isSystemdUserServiceAvailable } from "./systemd-Gt0riLnX.js";
32
32
  import { t as renderTable } from "./table-BzJyfJCd.js";
33
- import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-BPBFfhVp.js";
34
- import { l as healthCommand } from "./health-format-B3wTmrqY.js";
35
- import { $ as setOpenrouterApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVercelAiGatewayConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, N as applyVeniceConfig, Q as setOpencodeZenApiKey, V as applyZaiConfig, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, at as setXiaomiApiKey, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, tt as setSyntheticApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-DWFisj3D.js";
33
+ import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-BZIkbD4M.js";
34
+ import { l as healthCommand } from "./health-format-BqYntyuZ.js";
35
+ import { $ as setOpenrouterApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVercelAiGatewayConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, N as applyVeniceConfig, Q as setOpencodeZenApiKey, V as applyZaiConfig, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, at as setXiaomiApiKey, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, tt as setSyntheticApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-ByLv7D6a.js";
36
36
  import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CzN9OPmT.js";
37
- import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-MvIrUEv-.js";
38
- import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-COM-4PbL.js";
37
+ import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-BDG9ZKR1.js";
38
+ import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-Dmx3qZPI.js";
39
39
  import { t as formatHelpExamples } from "./help-format-DuMTLWZ-.js";
40
- import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-BpnOD65O.js";
40
+ import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-CkkcUQpq.js";
41
41
  import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-DS0IcHsk.js";
42
- import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-Cof9OUWJ.js";
42
+ import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-BRULcSTR.js";
43
43
  import path from "node:path";
44
44
  import fs from "node:fs";
45
45
  import JSON5 from "json5";
@@ -2790,7 +2790,7 @@ async function loadValidConfig() {
2790
2790
  }
2791
2791
  function registerConfigCli(program) {
2792
2792
  const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.synurex.com/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
2793
- const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-BpnOD65O.js").then((n) => n.t);
2793
+ const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-CkkcUQpq.js").then((n) => n.t);
2794
2794
  const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
2795
2795
  if (sections.length === 0) {
2796
2796
  await configureCommand(defaultRuntime);
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { At as resolveControlUiLinks, Dt as printWizardHeader, Mt as summarizeExistingConfig, Nt as waitForGatewayReachable, Ot as probeGatewayReachable, St as guardCancel, Tt as normalizeGatewayTokenInput, _t as applyWizardMetadata, bt as ensureWorkspaceAndSessions, gt as DEFAULT_WORKSPACE, kt as randomToken } from "./reply-8T1JOF0R.js";
2
+ import { At as resolveControlUiLinks, Dt as printWizardHeader, Mt as summarizeExistingConfig, Nt as waitForGatewayReachable, Ot as probeGatewayReachable, St as guardCancel, Tt as normalizeGatewayTokenInput, _t as applyWizardMetadata, bt as ensureWorkspaceAndSessions, gt as DEFAULT_WORKSPACE, kt as randomToken } from "./reply-CCs-Nvi2.js";
3
3
  import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-Drx5WZ13.js";
4
4
  import { c as defaultRuntime } from "./subsystem-DPYBJG7C.js";
5
5
  import { _ as shortenHomePath, h as resolveUserPath } from "./utils-C7NsUvD1.js";
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-awp_aUN6.js";
15
15
  import { t as note$1 } from "./note-rStT8AJi.js";
16
16
  import { t as WizardCancelledError } from "./prompts-FbZThK8w.js";
17
17
  import { t as createClackPrompter } from "./clack-prompter-C7J7X7j7.js";
18
- import { a as applyModelAllowlist, c as promptDefaultModel, f as applyAuthChoice, g as promptAuthChoiceGrouped, l as promptModelAllowlist, o as applyModelFallbacksFromSelection, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-BzZrWnt3.js";
19
- import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-CyYMvXjh.js";
20
- import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-CLSugjQl.js";
18
+ import { a as applyModelAllowlist, c as promptDefaultModel, f as applyAuthChoice, g as promptAuthChoiceGrouped, l as promptModelAllowlist, o as applyModelFallbacksFromSelection, r as promptRemoteGatewayConfig, s as applyPrimaryModel, t as setupSkills, u as resolvePreferredProviderForAuthChoice } from "./onboard-skills-CCW8YtdW.js";
19
+ import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-Be9reB9J.js";
20
+ import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-CWhbEk2I.js";
21
21
  import { t as resolveGatewayService } from "./service-CZFM7dlu.js";
22
22
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CRL7Xf4C.js";
23
23
  import { confirm, intro, outro, select, text } from "@clack/prompts";