skykoi 2026.3.60 → 2026.3.62
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/{acp-cli-D8m5TYSL.js → acp-cli-y5Dmt3du.js} +2 -2
- package/dist/{agent-B7At2GGP.js → agent-BTzyv9sK.js} +2 -2
- package/dist/{agent-MMuUQLwR.js → agent-BibGmFn5.js} +7 -7
- package/dist/{audit-CZPFi-N4.js → audit-C_2w3kzh.js} +7 -7
- package/dist/build-info.json +3 -3
- package/dist/{call-Bo5JGA-u.js → call-CYyLWCNX.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C8lfNWWN.js → channel-options-8_X-cZYy.js} +1 -1
- package/dist/{channel-options-C0NJ3eIM.js → channel-options-DU-4g2NC.js} +1 -1
- package/dist/{channel-summary-RJFb6NiI.js → channel-summary-C7orFpeN.js} +3 -3
- package/dist/{channels-cli-qqen5fqZ.js → channels-cli-B9tqmVkC.js} +3 -3
- package/dist/{channels-cli-C19kWKLb.js → channels-cli-DFKRFwik.js} +17 -17
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CF96WiNo.js → cli-CIaMTqR8.js} +14 -14
- package/dist/{cli-Dx_khAoA.js → cli-dCIqbc3h.js} +1 -1
- package/dist/{command-options-Bmuk9jNL.js → command-options-BvMDRIUn.js} +2 -2
- package/dist/{commands-DfX7PkL7.js → commands-CcXBN5uI.js} +1 -1
- package/dist/{completion-cli-BjAtHVXB.js → completion-cli-CpAyAUTk.js} +9 -9
- package/dist/{completion-cli-DvGk4WqH.js → completion-cli-DfvGpMnw.js} +1 -1
- package/dist/{config-B-VZRass.js → config-DxY4DsNc.js} +5 -5
- package/dist/{config-guard-DKDKamf4.js → config-guard-BgOcg1Kw.js} +22 -22
- package/dist/{configure-JeV4wpcD.js → configure-BBKKMcAo.js} +6 -6
- package/dist/{configure-Cc58KDtl.js → configure-D3sJjli8.js} +4 -4
- package/dist/{control-service-DaK2JD5x.js → control-service-DgQpJnpc.js} +1 -1
- package/dist/{cron-cli-ClXaYB9l.js → cron-cli-XWBK7w_f.js} +3 -3
- package/dist/{daemon-cli-C4LXHtp6.js → daemon-cli-CV3CAQcA.js} +7 -7
- package/dist/{daemon-cli-Cr3nUMt5.js → daemon-cli-Cl6FVskL.js} +2 -2
- package/dist/{daemon-runtime-BYgQHm7p.js → daemon-runtime-BsRxn9rl.js} +1 -1
- package/dist/{deliver-C2ovvoHO.js → deliver-CQz_7vCw.js} +4 -4
- package/dist/{deps-DSM3_cI1.js → deps-CsqH5CSy.js} +1 -1
- package/dist/{deps-DHlsxM8B.js → deps-jcvSoVg8.js} +2 -2
- package/dist/{devices-cli-DDgrtil-.js → devices-cli-4QylBX68.js} +2 -2
- package/dist/{directory-cli-CiyXVxvL.js → directory-cli-LzDXyAdD.js} +1 -1
- package/dist/{dns-cli-CBvaEWUh.js → dns-cli-Co-agZrS.js} +1 -1
- package/dist/{docs-cli-DadTmSgG.js → docs-cli-Dn66I0RD.js} +1 -1
- package/dist/{doctor-Bxwdu7ZM.js → doctor-C6DASvTy.js} +12 -12
- package/dist/{doctor-vXV_KW-w.js → doctor-Df9hkdbc.js} +3 -3
- package/dist/entry.js +3 -3
- package/dist/{exec-approvals-cli-BmIWz0IR.js → exec-approvals-cli-CbTrf5Kb.js} +6 -6
- package/dist/extensionAPI.js +12 -2
- package/dist/{gateway-cli-DAtopg6T.js → gateway-cli-CvEU8L_f.js} +12 -12
- package/dist/{gateway-cli-QRr-rGYf.js → gateway-cli-DyjkxkBQ.js} +37 -37
- package/dist/{gateway-rpc-D6HEDG_w.js → gateway-rpc-ByIZZHKY.js} +1 -1
- package/dist/{github-copilot-auth-Cyk8MtG6.js → github-copilot-auth-B78-GSHr.js} +1 -1
- package/dist/{github-copilot-auth-CMKV2EUM.js → github-copilot-auth-DtQbgwf9.js} +3 -3
- package/dist/{gmail-setup-utils-B8Zj5i-8.js → gmail-setup-utils-CaFQh3Yk.js} +1 -1
- package/dist/{health-format-eMwX_dUZ.js → health-format-5gPDynY8.js} +75 -29
- package/dist/{health-format-DlMzKrC_.js → health-format-DF8fRqX1.js} +71 -25
- package/dist/{hooks-cli-B2SDBTt0.js → hooks-cli-B9wrtk46.js} +16 -16
- package/dist/{hooks-cli-DTFGzYas.js → hooks-cli-BmtRiZSd.js} +2 -2
- package/dist/{hooks-status-CmtX17C3.js → hooks-status-B81fw5Y1.js} +3 -3
- package/dist/{image-Bt6emHRW.js → image-CcxTVu75.js} +2 -2
- package/dist/index.js +14 -14
- package/dist/{loader-B_cNG9UL.js → loader-PPquQura.js} +28 -18
- package/dist/{login-qr-Q9pbgwkl.js → login-qr-yBDOf_k4.js} +1 -1
- package/dist/{logs-cli-cvzV5Pv3.js → logs-cli-6LHBary9.js} +3 -3
- package/dist/{models-cli-BlVsvkHh.js → models-cli-ByNJ24Gt.js} +15 -15
- package/dist/{models-cli-BNQ30ins.js → models-cli-C5VONtH1.js} +2 -2
- package/dist/{node-cli-Ctsb84EC.js → node-cli-Caq33P9I.js} +6 -6
- package/dist/{nodes-cli-DXUenKKP.js → nodes-cli-AsLFYjpv.js} +3 -3
- package/dist/{onboard-channels-DTtQBrWt.js → onboard-channels-C0dhmXvw.js} +1 -1
- package/dist/{onboard-channels-BjbdREnN.js → onboard-channels-D06p1zim.js} +1 -1
- package/dist/{onboard-skills-nS3wZP-L.js → onboard-skills-B_rRe81e.js} +6 -6
- package/dist/{onboard-skills-Cl2oDnNw.js → onboard-skills-D22PNNlq.js} +3 -3
- package/dist/{onboarding-DUHFKxu9.js → onboarding-CkS16MjW.js} +6 -6
- package/dist/{pairing-cli-DlZ7zmuP.js → pairing-cli-BSHeixoE.js} +1 -1
- package/dist/{pi-embedded-helpers-DwBc9IX_.js → pi-embedded-helpers-xeQ6lg8a.js} +2 -2
- package/dist/plugin-sdk/auto-reply/types.d.ts +2 -0
- package/dist/plugin-sdk/infra/heartbeat-auditor.d.ts +2 -0
- package/dist/{plugins-cli-DWGAtAj9.js → plugins-cli-BdFmfaQM.js} +15 -15
- package/dist/{plugins-cli-BoU4gF4s.js → plugins-cli-dBmmWIKv.js} +2 -2
- package/dist/{program-C7CUDmvV.js → program-C-S-tben.js} +36 -36
- package/dist/{register.subclis-DbqV5-2i.js → register.subclis-CBe5kIeK.js} +28 -28
- package/dist/{reply-BCJ-RPGm.js → reply-C1WLIwL0.js} +12 -2
- package/dist/{routes-Cfi-pLYp.js → routes-B8GSuxLb.js} +1 -1
- package/dist/{rpc-BUPBjGO-.js → rpc-Cvgh6ITn.js} +1 -1
- package/dist/{run-main-DAODVKUd.js → run-main-CzOHVUuU.js} +39 -39
- package/dist/{runner-52MUvw8B.js → runner-DxxAwpKK.js} +4 -4
- package/dist/{sandbox-I-jglVXT.js → sandbox-BCRVl8Wp.js} +5 -5
- package/dist/{sandbox-cli-D-5mL_rX.js → sandbox-cli-BhnGsIDU.js} +4 -4
- package/dist/{security-cli-Bjo8KBqO.js → security-cli-Lk_C5XWk.js} +9 -9
- package/dist/{server-node-events-BvWiHa0Z.js → server-node-events-B2mzWFnK.js} +16 -16
- package/dist/{server-node-events-Bw2MScXZ.js → server-node-events-CwlIwARb.js} +3 -3
- package/dist/{service-audit-D_ecQyem.js → service-audit-DS3GoLAy.js} +1 -1
- package/dist/{skills-cli-7u7ulsp3.js → skills-cli-Dbz_6zAc.js} +3 -3
- package/dist/{skills-status-B4391eic.js → skills-status-BJbOSCGS.js} +1 -1
- package/dist/{skills-DIp0ATIM.js → skills-yf5L-oT-.js} +2 -2
- package/dist/{status-ekjJthFw.js → status-BZSyGHPY.js} +16 -16
- package/dist/{status-LNzQye9J.js → status-BblrT95z.js} +2 -2
- package/dist/{status-lnD-P1Di.js → status-f8sb_IIi.js} +1 -1
- package/dist/{system-cli-BdE8ED4V.js → system-cli-BTxb1NK5.js} +3 -3
- package/dist/{tui-tu0r_pOd.js → tui-BX3T9lPa.js} +4 -4
- package/dist/{tui-cli-B6PcUvJ-.js → tui-cli-BLT9Vfwd.js} +8 -8
- package/dist/{update-cli-CDzM800f.js → update-cli-BpSuoWRh.js} +24 -24
- package/dist/{update-cli-BRVSN4wB.js → update-cli-DoYVGS_X.js} +7 -7
- package/dist/{update-runner-CAksrOrM.js → update-runner-BJ1rZSuc.js} +5 -5
- package/dist/{update-runner-otLk4ktQ.js → update-runner-CeJlQHkT.js} +3 -3
- package/dist/{webhooks-cli-DwbBZGdM.js → webhooks-cli-D1NT4kcg.js} +3 -3
- package/dist/{wsl-DKfeklpq.js → wsl-CEFz5HHg.js} +1 -1
- package/package.json +1 -1
|
@@ -4,14 +4,14 @@ import "./utils-BMYqLzNy.js";
|
|
|
4
4
|
import "./exec-CUWUdKmp.js";
|
|
5
5
|
import "./agent-scope-C-oITVZT.js";
|
|
6
6
|
import "./github-copilot-token-D3BDUkS_.js";
|
|
7
|
-
import { i as loadConfig, j as VERSION } from "./config-
|
|
7
|
+
import { i as loadConfig, j as VERSION } from "./config-DxY4DsNc.js";
|
|
8
8
|
import "./manifest-registry-BwckFakx.js";
|
|
9
9
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DKuROk9X.js";
|
|
10
10
|
import "./tailscale-DPwNB3iM.js";
|
|
11
11
|
import { t as GatewayClient } from "./client-CxDMBnkt.js";
|
|
12
12
|
import { i as resolveGatewayAuth } from "./auth-DuDAlilP.js";
|
|
13
13
|
import "./device-identity-CjPpt7_C.js";
|
|
14
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-CYyLWCNX.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BTYAPS0_.js";
|
|
16
16
|
import { t as isMainModule } from "./is-main-DrJg4t1R.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-ugC2z7Gf.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-Cd5Ah8vM.js";
|
|
2
|
-
import { Cn as emitAgentEvent, En as registerAgentRunContext, I as runWithModelFallback, M as resolveSessionDeliveryTarget, Pr as resolveAgentTimeoutMs, Rt as getRemoteSkillEligibility, Sn as clearAgentRunContext, Wt as getSkillsSnapshotVersion, c as runEmbeddedPiAgent, dr as lookupContextTokens, fr as clearSessionAuthProfileOverride, i as runCliAgent, j as resolveOutboundTarget, mr as applyVerboseOverride, n as getCliSessionId, o as resolveSendPolicy, pr as applyModelOverrideToSessionEntry, r as setCliSessionId, xn as AGENT_LANE_NESTED, yr as loadModelCatalog } from "./reply-
|
|
2
|
+
import { Cn as emitAgentEvent, En as registerAgentRunContext, I as runWithModelFallback, M as resolveSessionDeliveryTarget, Pr as resolveAgentTimeoutMs, Rt as getRemoteSkillEligibility, Sn as clearAgentRunContext, Wt as getSkillsSnapshotVersion, c as runEmbeddedPiAgent, dr as lookupContextTokens, fr as clearSessionAuthProfileOverride, i as runCliAgent, j as resolveOutboundTarget, mr as applyVerboseOverride, n as getCliSessionId, o as resolveSendPolicy, pr as applyModelOverrideToSessionEntry, r as setCliSessionId, xn as AGENT_LANE_NESTED, yr as loadModelCatalog } from "./reply-C1WLIwL0.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-B6KC_eUM.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-DgrFnRZg.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-BRP11_63.js";
|
|
14
14
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CTpGKe_z.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-TxTFhKfY.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-CsqH5CSy.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -3,17 +3,17 @@ import { C as buildAllowedModelSet, D as isCliProvider, L as resolveThinkingDefa
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B5jjY9oQ.js";
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-BmNnF5dG.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-C-oITVZT.js";
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import { i as loadConfig } from "./config-DxY4DsNc.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-BTYAPS0_.js";
|
|
8
8
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D19UULPd.js";
|
|
9
|
-
import { $ as getSkillsSnapshotVersion, Bt as loadModelCatalog, H as getCliSessionId, K as resolveSendPolicy, Lt as registerAgentRunContext, Mt as resolveAgentTimeoutMs, Nt as clearAgentRunContext, Pt as emitAgentEvent, U as setCliSessionId, Vt as applyModelOverrideToSessionEntry, W as runCliAgent, bt as runEmbeddedPiAgent, in as lookupContextTokens, mn as resolveSessionDeliveryTarget, nt as applyVerboseOverride, pn as resolveOutboundTarget, q as getRemoteSkillEligibility, tt as clearSessionAuthProfileOverride, vn as runWithModelFallback, zt as AGENT_LANE_NESTED } from "./loader-
|
|
9
|
+
import { $ as getSkillsSnapshotVersion, Bt as loadModelCatalog, H as getCliSessionId, K as resolveSendPolicy, Lt as registerAgentRunContext, Mt as resolveAgentTimeoutMs, Nt as clearAgentRunContext, Pt as emitAgentEvent, U as setCliSessionId, Vt as applyModelOverrideToSessionEntry, W as runCliAgent, bt as runEmbeddedPiAgent, in as lookupContextTokens, mn as resolveSessionDeliveryTarget, nt as applyVerboseOverride, pn as resolveOutboundTarget, q as getRemoteSkillEligibility, tt as clearSessionAuthProfileOverride, vn as runWithModelFallback, zt as AGENT_LANE_NESTED } from "./loader-PPquQura.js";
|
|
10
10
|
import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-BMJ0CdKT.js";
|
|
11
|
-
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-
|
|
12
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
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-
|
|
14
|
-
import { r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
11
|
+
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-xeQ6lg8a.js";
|
|
12
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CQz_7vCw.js";
|
|
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-BCRVl8Wp.js";
|
|
14
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-yf5L-oT-.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-CMWBBU12.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-jcvSoVg8.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -3,23 +3,23 @@ import { t as formatCliCommand } from "./command-format-B5jjY9oQ.js";
|
|
|
3
3
|
import { l as normalizeAgentId } from "./session-key-BmNnF5dG.js";
|
|
4
4
|
import { n as runExec } from "./exec-CUWUdKmp.js";
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-C-oITVZT.js";
|
|
6
|
-
import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, r as createConfigIO } from "./config-
|
|
6
|
+
import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, r as createConfigIO } from "./config-DxY4DsNc.js";
|
|
7
7
|
import { a as MANIFEST_KEY } from "./manifest-registry-BwckFakx.js";
|
|
8
8
|
import { a as resolveBrowserConfig, o as resolveProfile } from "./server-context-Bdeie10d.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-CxDMBnkt.js";
|
|
10
10
|
import { i as resolveGatewayAuth } from "./auth-DuDAlilP.js";
|
|
11
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { t as buildGatewayConnectionDetails } from "./call-CYyLWCNX.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BTYAPS0_.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-D19UULPd.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-gJw39fKA.js";
|
|
15
15
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-t7TZCbWa.js";
|
|
16
|
-
import { G as resolveSandboxToolPolicyForAgent, Q as resolveToolProfilePolicy, U as resolveSandboxConfigForAgent } from "./sandbox-
|
|
17
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
18
|
-
import { a as isToolAllowedByPolicies, n as resolveNativeCommandsEnabled, r as resolveNativeSkillsEnabled } from "./commands-
|
|
16
|
+
import { G as resolveSandboxToolPolicyForAgent, Q as resolveToolProfilePolicy, U as resolveSandboxConfigForAgent } from "./sandbox-BCRVl8Wp.js";
|
|
17
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-yf5L-oT-.js";
|
|
18
|
+
import { a as isToolAllowedByPolicies, n as resolveNativeCommandsEnabled, r as resolveNativeSkillsEnabled } from "./commands-CcXBN5uI.js";
|
|
19
19
|
import { i as readChannelAllowFromStore } from "./pairing-store-CoaE8PFW.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import os from "node:os";
|
|
22
|
-
import
|
|
22
|
+
import JSON5 from "json5";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
|
|
@@ -819,7 +819,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
819
819
|
if (!rawText) continue;
|
|
820
820
|
const nestedParsed = (() => {
|
|
821
821
|
try {
|
|
822
|
-
return
|
|
822
|
+
return JSON5.parse(rawText);
|
|
823
823
|
} catch {
|
|
824
824
|
return null;
|
|
825
825
|
}
|
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as resolveConfigPath, W as resolveGatewayPort, X as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { h as shortenHomeInString, m as resolveUserPath, o as ensureDir, t as CONFIG_DIR } from "./utils-BMYqLzNy.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-DxY4DsNc.js";
|
|
4
4
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DdlcUdSm.js";
|
|
5
5
|
import { Et as PROTOCOL_VERSION, Lt as pickPrimaryLanIPv4, Mt as normalizeFingerprint, t as GatewayClient } from "./client-CxDMBnkt.js";
|
|
6
6
|
import { r as loadOrCreateDeviceIdentity } from "./device-identity-CjPpt7_C.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0bf664d4300e8bc7356e8cb33cee4b353471d6ab0d5f26de5e75b8126691cc7b
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { lt as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { lt as loadSKYKOIPlugins } from "./reply-C1WLIwL0.js";
|
|
2
2
|
import { m as CHAT_CHANNEL_ORDER, t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DgrFnRZg.js";
|
|
4
4
|
import { t as isTruthyEnvValue } from "./env-CuKWe8kv.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-DO-iNzli.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-D19UULPd.js";
|
|
4
|
-
import { n as ensurePluginRegistryLoaded } from "./command-options-
|
|
4
|
+
import { n as ensurePluginRegistryLoaded } from "./command-options-BvMDRIUn.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { k as theme, st as getActivePluginRegistry } from "./entry.js";
|
|
2
2
|
import { N as resolveConfiguredModelRef, bt as DEFAULT_PROVIDER, yt as DEFAULT_MODEL } from "./auth-profiles-BJV-XXxt.js";
|
|
3
3
|
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-BmNnF5dG.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
4
|
+
import { i as loadConfig } from "./config-DxY4DsNc.js";
|
|
5
5
|
import { n as listChannelPlugins } from "./plugins-D19UULPd.js";
|
|
6
|
-
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
7
|
-
import { it as listChannelDocks } from "./sandbox-
|
|
6
|
+
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-xeQ6lg8a.js";
|
|
7
|
+
import { it as listChannelDocks } from "./sandbox-BCRVl8Wp.js";
|
|
8
8
|
import { n as formatTokenCount } from "./usage-format-Ca9K30TH.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-Cd5Ah8vM.js";
|
|
2
|
-
import { An as createSlackWebClient, dt as formatUsageReportLines, mn as fetchChannelPermissionsDiscord, pn as parseDiscordTarget, ut as loadProviderUsageSummary } from "./reply-
|
|
2
|
+
import { An as createSlackWebClient, dt as formatUsageReportLines, mn as fetchChannelPermissionsDiscord, pn as parseDiscordTarget, ut as loadProviderUsageSummary } from "./reply-C1WLIwL0.js";
|
|
3
3
|
import "./paths-BP5k1v-m.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-B6KC_eUM.js";
|
|
@@ -50,13 +50,13 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-BjnE3af
|
|
|
50
50
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CjYCYsvj.js";
|
|
51
51
|
import "./note-BiR7ZT6x.js";
|
|
52
52
|
import { t as createClackPrompter } from "./clack-prompter-CvZV8n1a.js";
|
|
53
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
53
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-D06p1zim.js";
|
|
54
54
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-CIwYHNRh.js";
|
|
55
55
|
import "./archive-CCWYT_Aq.js";
|
|
56
56
|
import "./skill-scanner-BSMluzCy.js";
|
|
57
57
|
import "./installs-CDUvMyzC.js";
|
|
58
58
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BsBUUGRV.js";
|
|
59
|
-
import { i as hasExplicitOptions, t as formatCliChannelOptions } from "./channel-options-
|
|
59
|
+
import { i as hasExplicitOptions, t as formatCliChannelOptions } from "./channel-options-8_X-cZYy.js";
|
|
60
60
|
import { t as buildChannelAccountSnapshot } from "./status-L5HIUcax.js";
|
|
61
61
|
import { t as parseLogLine } from "./parse-log-line-Cn0eGgJl.js";
|
|
62
62
|
import fs from "node:fs/promises";
|
|
@@ -7,56 +7,56 @@ import "./exec-CUWUdKmp.js";
|
|
|
7
7
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-C-oITVZT.js";
|
|
8
8
|
import "./github-copilot-token-D3BDUkS_.js";
|
|
9
9
|
import "./pi-model-discovery-DQcDii4Q.js";
|
|
10
|
-
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-
|
|
10
|
+
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-DxY4DsNc.js";
|
|
11
11
|
import "./manifest-registry-BwckFakx.js";
|
|
12
12
|
import "./server-context-Bdeie10d.js";
|
|
13
13
|
import "./errors-B_oMOHSO.js";
|
|
14
|
-
import "./control-service-
|
|
14
|
+
import "./control-service-DgQpJnpc.js";
|
|
15
15
|
import "./client-CxDMBnkt.js";
|
|
16
16
|
import "./device-identity-CjPpt7_C.js";
|
|
17
|
-
import { n as callGateway } from "./call-
|
|
17
|
+
import { n as callGateway } from "./call-CYyLWCNX.js";
|
|
18
18
|
import "./message-channel-BTYAPS0_.js";
|
|
19
19
|
import { t as formatDocsLink } from "./links-ugC2z7Gf.js";
|
|
20
20
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-DO-iNzli.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D19UULPd.js";
|
|
22
22
|
import "./logging-BQKv640H.js";
|
|
23
23
|
import "./accounts-DDKawBD7.js";
|
|
24
|
-
import { Ht as loadProviderUsageSummary, R as fetchChannelPermissionsDiscord, Ut as formatUsageReportLines, un as parseDiscordTarget, wr as createSlackWebClient } from "./loader-
|
|
24
|
+
import { Ht as loadProviderUsageSummary, R as fetchChannelPermissionsDiscord, Ut as formatUsageReportLines, un as parseDiscordTarget, wr as createSlackWebClient } from "./loader-PPquQura.js";
|
|
25
25
|
import { n as withProgress } from "./progress-B4Q15jim.js";
|
|
26
26
|
import "./prompt-style-DBqXNOfQ.js";
|
|
27
27
|
import "./note-Fyg0YSv6.js";
|
|
28
28
|
import { t as createClackPrompter } from "./clack-prompter-BkPSNPAB.js";
|
|
29
29
|
import { t as resolveChannelDefaultAccountId } from "./helpers-gJw39fKA.js";
|
|
30
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
30
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-C0dhmXvw.js";
|
|
31
31
|
import "./archive-CWrnG1CH.js";
|
|
32
32
|
import "./skill-scanner-t7TZCbWa.js";
|
|
33
33
|
import "./installs-DnaodmPY.js";
|
|
34
34
|
import "./manager-CiNli-oF.js";
|
|
35
35
|
import "./paths-BMJ0CdKT.js";
|
|
36
36
|
import "./sqlite-pG4vdu9t.js";
|
|
37
|
-
import "./routes-
|
|
38
|
-
import "./pi-embedded-helpers-
|
|
39
|
-
import "./deliver-
|
|
40
|
-
import "./sandbox-
|
|
41
|
-
import { n as formatAge } from "./channel-summary-
|
|
42
|
-
import "./wsl-
|
|
43
|
-
import "./skills-
|
|
44
|
-
import "./image-
|
|
37
|
+
import "./routes-B8GSuxLb.js";
|
|
38
|
+
import "./pi-embedded-helpers-xeQ6lg8a.js";
|
|
39
|
+
import "./deliver-CQz_7vCw.js";
|
|
40
|
+
import "./sandbox-BCRVl8Wp.js";
|
|
41
|
+
import { n as formatAge } from "./channel-summary-C7orFpeN.js";
|
|
42
|
+
import "./wsl-CEFz5HHg.js";
|
|
43
|
+
import "./skills-yf5L-oT-.js";
|
|
44
|
+
import "./image-CcxTVu75.js";
|
|
45
45
|
import "./redact-hnHuWzNz.js";
|
|
46
46
|
import "./tool-display-BfHQPt8E.js";
|
|
47
47
|
import { n as resolveMessageChannelSelection } from "./channel-selection-CIiT1WXa.js";
|
|
48
48
|
import "./session-cost-usage-CMWBBU12.js";
|
|
49
|
-
import "./commands-
|
|
49
|
+
import "./commands-CcXBN5uI.js";
|
|
50
50
|
import "./node-pairing-BB9na6LK.js";
|
|
51
51
|
import "./pairing-store-CoaE8PFW.js";
|
|
52
|
-
import "./login-qr-
|
|
52
|
+
import "./login-qr-yBDOf_k4.js";
|
|
53
53
|
import { r as runCommandWithRuntime } from "./cli-utils-BYr6tBfx.js";
|
|
54
54
|
import "./pairing-labels-l_yQhJCb.js";
|
|
55
55
|
import { t as buildChannelAccountSnapshot } from "./status-BF8IVV7c.js";
|
|
56
56
|
import { t as parseLogLine } from "./parse-log-line-DSvJi17i.js";
|
|
57
57
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DDE1xtDz.js";
|
|
58
|
-
import { t as hasExplicitOptions } from "./command-options-
|
|
59
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
58
|
+
import { t as hasExplicitOptions } from "./command-options-BvMDRIUn.js";
|
|
59
|
+
import { t as formatCliChannelOptions } from "./channel-options-DU-4g2NC.js";
|
|
60
60
|
import fs from "node:fs/promises";
|
|
61
61
|
|
|
62
62
|
//#region src/commands/channels/add-mutators.ts
|
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
export { registerDaemonCli, runDaemonInstall, runDaemonRestart, runDaemonStart, runDaemonStatus, runDaemonStop, runDaemonUninstall } from "../daemon-cli-
|
|
2
|
+
export { registerDaemonCli, runDaemonInstall, runDaemonRestart, runDaemonStart, runDaemonStatus, runDaemonStop, runDaemonUninstall } from "../daemon-cli-CV3CAQcA.js";
|
|
@@ -5,41 +5,41 @@ import "./exec-CUWUdKmp.js";
|
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-C-oITVZT.js";
|
|
6
6
|
import "./github-copilot-token-D3BDUkS_.js";
|
|
7
7
|
import "./pi-model-discovery-DQcDii4Q.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-DxY4DsNc.js";
|
|
9
9
|
import "./manifest-registry-BwckFakx.js";
|
|
10
10
|
import "./server-context-Bdeie10d.js";
|
|
11
11
|
import "./errors-B_oMOHSO.js";
|
|
12
|
-
import "./control-service-
|
|
12
|
+
import "./control-service-DgQpJnpc.js";
|
|
13
13
|
import "./client-CxDMBnkt.js";
|
|
14
14
|
import "./device-identity-CjPpt7_C.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-CYyLWCNX.js";
|
|
16
16
|
import "./message-channel-BTYAPS0_.js";
|
|
17
17
|
import "./links-ugC2z7Gf.js";
|
|
18
18
|
import "./plugins-D19UULPd.js";
|
|
19
19
|
import "./logging-BQKv640H.js";
|
|
20
20
|
import "./accounts-DDKawBD7.js";
|
|
21
|
-
import { t as loadSKYKOIPlugins } from "./loader-
|
|
21
|
+
import { t as loadSKYKOIPlugins } from "./loader-PPquQura.js";
|
|
22
22
|
import "./progress-B4Q15jim.js";
|
|
23
23
|
import "./prompt-style-DBqXNOfQ.js";
|
|
24
24
|
import "./manager-CiNli-oF.js";
|
|
25
25
|
import "./paths-BMJ0CdKT.js";
|
|
26
26
|
import "./sqlite-pG4vdu9t.js";
|
|
27
|
-
import "./routes-
|
|
28
|
-
import "./pi-embedded-helpers-
|
|
29
|
-
import "./deliver-
|
|
30
|
-
import "./sandbox-
|
|
31
|
-
import "./channel-summary-
|
|
32
|
-
import "./wsl-
|
|
33
|
-
import "./skills-
|
|
34
|
-
import "./image-
|
|
27
|
+
import "./routes-B8GSuxLb.js";
|
|
28
|
+
import "./pi-embedded-helpers-xeQ6lg8a.js";
|
|
29
|
+
import "./deliver-CQz_7vCw.js";
|
|
30
|
+
import "./sandbox-BCRVl8Wp.js";
|
|
31
|
+
import "./channel-summary-C7orFpeN.js";
|
|
32
|
+
import "./wsl-CEFz5HHg.js";
|
|
33
|
+
import "./skills-yf5L-oT-.js";
|
|
34
|
+
import "./image-CcxTVu75.js";
|
|
35
35
|
import "./redact-hnHuWzNz.js";
|
|
36
36
|
import "./tool-display-BfHQPt8E.js";
|
|
37
37
|
import "./channel-selection-CIiT1WXa.js";
|
|
38
38
|
import "./session-cost-usage-CMWBBU12.js";
|
|
39
|
-
import "./commands-
|
|
39
|
+
import "./commands-CcXBN5uI.js";
|
|
40
40
|
import "./node-pairing-BB9na6LK.js";
|
|
41
41
|
import "./pairing-store-CoaE8PFW.js";
|
|
42
|
-
import "./login-qr-
|
|
42
|
+
import "./login-qr-yBDOf_k4.js";
|
|
43
43
|
import "./pairing-labels-l_yQhJCb.js";
|
|
44
44
|
|
|
45
45
|
//#region src/plugins/cli.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-Cd5Ah8vM.js";
|
|
2
|
-
import { lt as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { lt as loadSKYKOIPlugins } from "./reply-C1WLIwL0.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import "./utils-CV3CeN0V.js";
|
|
@@ -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-C-oITVZT.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { t as loadSKYKOIPlugins } from "./loader-
|
|
3
|
+
import { i as loadConfig } from "./config-DxY4DsNc.js";
|
|
4
|
+
import { t as loadSKYKOIPlugins } from "./loader-PPquQura.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/plugin-registry.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -2,7 +2,7 @@ import { d as resolveAgentIdFromSessionKey, y as resolveThreadParentSessionKey }
|
|
|
2
2
|
import { n as resolveAgentConfig } from "./agent-scope-C-oITVZT.js";
|
|
3
3
|
import { l as normalizeMessageChannel } from "./message-channel-BTYAPS0_.js";
|
|
4
4
|
import { r as normalizeChannelId } from "./plugins-D19UULPd.js";
|
|
5
|
-
import { X as expandToolGroups, Z as normalizeToolName, rt as getChannelDock, st as resolveChannelGroupToolsPolicy } from "./sandbox-
|
|
5
|
+
import { X as expandToolGroups, Z as normalizeToolName, rt as getChannelDock, st as resolveChannelGroupToolsPolicy } from "./sandbox-BCRVl8Wp.js";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-tools.policy.ts
|
|
8
8
|
function compilePattern(pattern) {
|
|
@@ -124,14 +124,14 @@ const entries = [
|
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-CvEU8L_f.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-
|
|
134
|
+
(await import("./daemon-cli-Cl6FVskL.js").then((n) => n.t)).registerDaemonCli(program);
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -152,7 +152,7 @@ const entries = [
|
|
|
152
152
|
name: "models",
|
|
153
153
|
description: "Model configuration",
|
|
154
154
|
register: async (program) => {
|
|
155
|
-
(await import("./models-cli-
|
|
155
|
+
(await import("./models-cli-C5VONtH1.js")).registerModelsCli(program);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
@@ -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-
|
|
225
|
+
(await import("./hooks-cli-BmtRiZSd.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-
|
|
239
|
+
const { registerPluginCliCommands } = await import("./cli-dCIqbc3h.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-DMonp4Kz.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-
|
|
249
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
248
|
+
(await import("./plugins-cli-dBmmWIKv.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-dCIqbc3h.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-
|
|
257
|
+
(await import("./channels-cli-B9tqmVkC.js")).registerChannelsCli(program);
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
{
|
|
@@ -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-
|
|
285
|
+
(await import("./update-cli-DoYVGS_X.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { X as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-CBe5kIeK.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -9,7 +9,7 @@ import { createRequire } from "node:module";
|
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import fs from "node:fs";
|
|
12
|
-
import
|
|
12
|
+
import JSON5 from "json5";
|
|
13
13
|
import crypto from "node:crypto";
|
|
14
14
|
import AjvPkg from "ajv";
|
|
15
15
|
import { z } from "zod";
|
|
@@ -702,7 +702,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
702
702
|
};
|
|
703
703
|
const defaultResolver = {
|
|
704
704
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
705
|
-
parseJson: (raw) =>
|
|
705
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
706
706
|
};
|
|
707
707
|
/**
|
|
708
708
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -4566,18 +4566,18 @@ function resolveConfigPathForDeps(deps) {
|
|
|
4566
4566
|
function normalizeDeps(overrides = {}) {
|
|
4567
4567
|
return {
|
|
4568
4568
|
fs: overrides.fs ?? fs,
|
|
4569
|
-
json5: overrides.json5 ??
|
|
4569
|
+
json5: overrides.json5 ?? JSON5,
|
|
4570
4570
|
env: overrides.env ?? process.env,
|
|
4571
4571
|
homedir: overrides.homedir ?? os.homedir,
|
|
4572
4572
|
configPath: overrides.configPath ?? "",
|
|
4573
4573
|
logger: overrides.logger ?? console
|
|
4574
4574
|
};
|
|
4575
4575
|
}
|
|
4576
|
-
function parseConfigJson5(raw, json5
|
|
4576
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
4577
4577
|
try {
|
|
4578
4578
|
return {
|
|
4579
4579
|
ok: true,
|
|
4580
|
-
parsed: json5
|
|
4580
|
+
parsed: json5.parse(raw)
|
|
4581
4581
|
};
|
|
4582
4582
|
} catch (err) {
|
|
4583
4583
|
return {
|
|
@@ -5,44 +5,44 @@ import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID }
|
|
|
5
5
|
import { f as resolveHomeDir, g as shortenHomePath, h as shortenHomeInString, m as resolveUserPath } from "./utils-BMYqLzNy.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-CUWUdKmp.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-C-oITVZT.js";
|
|
8
|
-
import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
8
|
+
import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-DxY4DsNc.js";
|
|
9
9
|
import { n as movePathToTrash } from "./server-context-Bdeie10d.js";
|
|
10
|
-
import { i as randomIdempotencyKey, n as callGateway } from "./call-
|
|
10
|
+
import { i as randomIdempotencyKey, n as callGateway } from "./call-CYyLWCNX.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-BTYAPS0_.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-ugC2z7Gf.js";
|
|
13
13
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D19UULPd.js";
|
|
14
|
-
import { Bn as CHANNEL_TARGETS_DESCRIPTION, D as runMemoryStatus, E as registerMemoryCli, Vn as CHANNEL_TARGET_DESCRIPTION, _ as randomToken, _n as CHANNEL_MESSAGE_ACTION_NAMES, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, f as moveToTrash, hn as formatTargetDisplay, i as DEFAULT_WORKSPACE, in as lookupContextTokens, l as formatControlUiSshHint, m as openUrl, s as detectBrowserOpenSupport, sn as runMessageAction, v as resolveControlUiLinks, x as waitForGatewayReachable } from "./loader-
|
|
14
|
+
import { Bn as CHANNEL_TARGETS_DESCRIPTION, D as runMemoryStatus, E as registerMemoryCli, Vn as CHANNEL_TARGET_DESCRIPTION, _ as randomToken, _n as CHANNEL_MESSAGE_ACTION_NAMES, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, f as moveToTrash, hn as formatTargetDisplay, i as DEFAULT_WORKSPACE, in as lookupContextTokens, l as formatControlUiSshHint, m as openUrl, s as detectBrowserOpenSupport, sn as runMessageAction, v as resolveControlUiLinks, x as waitForGatewayReachable } from "./loader-PPquQura.js";
|
|
15
15
|
import { n as withProgress } from "./progress-B4Q15jim.js";
|
|
16
16
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DBqXNOfQ.js";
|
|
17
17
|
import { t as WizardCancelledError } from "./prompts-Btgcc7vw.js";
|
|
18
18
|
import { t as createClackPrompter } from "./clack-prompter-BkPSNPAB.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-gJw39fKA.js";
|
|
20
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
20
|
+
import { n as setupChannels } from "./onboard-channels-C0dhmXvw.js";
|
|
21
21
|
import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-BMJ0CdKT.js";
|
|
22
|
-
import { d as loadSessionStore } from "./sandbox-
|
|
22
|
+
import { d as loadSessionStore } from "./sandbox-BCRVl8Wp.js";
|
|
23
23
|
import { r as runCommandWithRuntime } from "./cli-utils-BYr6tBfx.js";
|
|
24
|
-
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-
|
|
25
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
24
|
+
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-BvMDRIUn.js";
|
|
25
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-CBe5kIeK.js";
|
|
26
26
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-Dxt7LNJM.js";
|
|
27
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
28
|
-
import { t as createDefaultDeps } from "./deps-
|
|
29
|
-
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
27
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-ByIZZHKY.js";
|
|
28
|
+
import { t as createDefaultDeps } from "./deps-jcvSoVg8.js";
|
|
29
|
+
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BsRxn9rl.js";
|
|
30
30
|
import { t as resolveGatewayService } from "./service-CMzdj9UU.js";
|
|
31
31
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BmRFpiA7.js";
|
|
32
32
|
import { t as renderTable } from "./table-DsJZmFDW.js";
|
|
33
|
-
import { l as healthCommand } from "./health-format-
|
|
34
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
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-
|
|
33
|
+
import { l as healthCommand } from "./health-format-5gPDynY8.js";
|
|
34
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-B_rRe81e.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-DtQbgwf9.js";
|
|
36
36
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CSJhFVVT.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-
|
|
38
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
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-BZSyGHPY.js";
|
|
38
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-BibGmFn5.js";
|
|
39
39
|
import { t as formatHelpExamples } from "./help-format-XFKDLMh9.js";
|
|
40
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
40
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-BBKKMcAo.js";
|
|
41
41
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BYEuFNdl.js";
|
|
42
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
42
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-C6DASvTy.js";
|
|
43
43
|
import path from "node:path";
|
|
44
44
|
import fs from "node:fs";
|
|
45
|
-
import
|
|
45
|
+
import JSON5 from "json5";
|
|
46
46
|
import fs$1 from "node:fs/promises";
|
|
47
47
|
import { fileURLToPath } from "node:url";
|
|
48
48
|
import { cancel, confirm, isCancel, multiselect, select } from "@clack/prompts";
|
|
@@ -2689,12 +2689,12 @@ function parsePath(raw) {
|
|
|
2689
2689
|
function parseValue(raw, opts) {
|
|
2690
2690
|
const trimmed = raw.trim();
|
|
2691
2691
|
if (opts.json) try {
|
|
2692
|
-
return
|
|
2692
|
+
return JSON5.parse(trimmed);
|
|
2693
2693
|
} catch (err) {
|
|
2694
2694
|
throw new Error(`Failed to parse JSON5 value: ${String(err)}`, { cause: err });
|
|
2695
2695
|
}
|
|
2696
2696
|
try {
|
|
2697
|
-
return
|
|
2697
|
+
return JSON5.parse(trimmed);
|
|
2698
2698
|
} catch {
|
|
2699
2699
|
return raw;
|
|
2700
2700
|
}
|
|
@@ -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.skykoi.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-
|
|
2793
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-BBKKMcAo.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);
|
|
@@ -5127,7 +5127,7 @@ function registerOnboardCommand(program) {
|
|
|
5127
5127
|
async function readConfigFileRaw(configPath) {
|
|
5128
5128
|
try {
|
|
5129
5129
|
const raw = await fs$1.readFile(configPath, "utf-8");
|
|
5130
|
-
const parsed =
|
|
5130
|
+
const parsed = JSON5.parse(raw);
|
|
5131
5131
|
if (parsed && typeof parsed === "object") return {
|
|
5132
5132
|
exists: true,
|
|
5133
5133
|
parsed
|
|
@@ -3,20 +3,20 @@ import { F as CONFIG_PATH, W as resolveGatewayPort, p as defaultRuntime } from "
|
|
|
3
3
|
import { _ as ensureAuthProfileStore } from "./auth-profiles-BJV-XXxt.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-B5jjY9oQ.js";
|
|
5
5
|
import { g as shortenHomePath, m as resolveUserPath } from "./utils-BMYqLzNy.js";
|
|
6
|
-
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-
|
|
6
|
+
import { c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-DxY4DsNc.js";
|
|
7
7
|
import { a as findTailscaleBinary } from "./tailscale-DPwNB3iM.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-D19UULPd.js";
|
|
9
|
-
import { _ as randomToken, a as applyWizardMetadata, b as summarizeExistingConfig, c as ensureWorkspaceAndSessions, g as probeGatewayReachable, h as printWizardHeader, i as DEFAULT_WORKSPACE, p as normalizeGatewayTokenInput, u as guardCancel, v as resolveControlUiLinks, x as waitForGatewayReachable } from "./loader-
|
|
9
|
+
import { _ as randomToken, a as applyWizardMetadata, b as summarizeExistingConfig, c as ensureWorkspaceAndSessions, g as probeGatewayReachable, h as printWizardHeader, i as DEFAULT_WORKSPACE, p as normalizeGatewayTokenInput, u as guardCancel, v as resolveControlUiLinks, x as waitForGatewayReachable } from "./loader-PPquQura.js";
|
|
10
10
|
import { n as withProgress } from "./progress-B4Q15jim.js";
|
|
11
11
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DBqXNOfQ.js";
|
|
12
12
|
import { t as note$1 } from "./note-Fyg0YSv6.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-Btgcc7vw.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-BkPSNPAB.js";
|
|
15
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
15
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-C0dhmXvw.js";
|
|
16
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BsRxn9rl.js";
|
|
17
17
|
import { t as resolveGatewayService } from "./service-CMzdj9UU.js";
|
|
18
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
19
|
-
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-
|
|
18
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-5gPDynY8.js";
|
|
19
|
+
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-B_rRe81e.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-CSJhFVVT.js";
|
|
21
21
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BYEuFNdl.js";
|
|
22
22
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|