skykoi 2026.3.59 → 2026.3.60
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-y5Dmt3du.js → acp-cli-D8m5TYSL.js} +2 -2
- package/dist/{agent-qRlQdK-5.js → agent-MMuUQLwR.js} +7 -7
- package/dist/{audit-C_2w3kzh.js → audit-CZPFi-N4.js} +7 -7
- package/dist/build-info.json +3 -3
- package/dist/{call-CYyLWCNX.js → call-Bo5JGA-u.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BykFscmg.js → channel-options-C0NJ3eIM.js} +1 -1
- package/dist/{channel-summary-C7orFpeN.js → channel-summary-RJFb6NiI.js} +3 -3
- package/dist/{channels-cli-D9JGuo1K.js → channels-cli-C19kWKLb.js} +17 -17
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DzZc44lQ.js → cli-CF96WiNo.js} +14 -14
- package/dist/{command-options-CU64MoD-.js → command-options-Bmuk9jNL.js} +2 -2
- package/dist/{commands-CcXBN5uI.js → commands-DfX7PkL7.js} +1 -1
- package/dist/{completion-cli-CJITAipw.js → completion-cli-BjAtHVXB.js} +2 -2
- package/dist/{completion-cli-BIhlUf3T.js → completion-cli-DvGk4WqH.js} +1 -1
- package/dist/{config-DxY4DsNc.js → config-B-VZRass.js} +5 -5
- package/dist/{config-guard-DNyEvBUL.js → config-guard-DKDKamf4.js} +22 -22
- package/dist/{configure-Cy_NN0K4.js → configure-Cc58KDtl.js} +1 -1
- package/dist/{configure-BIYLjJ8_.js → configure-JeV4wpcD.js} +6 -6
- package/dist/{control-service-DgQpJnpc.js → control-service-DaK2JD5x.js} +1 -1
- package/dist/{cron-cli-XWBK7w_f.js → cron-cli-ClXaYB9l.js} +3 -3
- package/dist/{daemon-cli-CR-veSyT.js → daemon-cli-C4LXHtp6.js} +7 -7
- package/dist/{daemon-runtime-BsRxn9rl.js → daemon-runtime-BYgQHm7p.js} +1 -1
- package/dist/{deliver-CQz_7vCw.js → deliver-C2ovvoHO.js} +4 -4
- package/dist/{deps-BG9jj0-_.js → deps-DHlsxM8B.js} +2 -2
- package/dist/{devices-cli-4QylBX68.js → devices-cli-DDgrtil-.js} +2 -2
- package/dist/{directory-cli-LzDXyAdD.js → directory-cli-CiyXVxvL.js} +1 -1
- package/dist/{dns-cli-Co-agZrS.js → dns-cli-CBvaEWUh.js} +1 -1
- package/dist/{docs-cli-Dn66I0RD.js → docs-cli-DadTmSgG.js} +1 -1
- package/dist/{doctor-DWhDBIAr.js → doctor-Bxwdu7ZM.js} +12 -12
- package/dist/{doctor-C_xPY9T2.js → doctor-vXV_KW-w.js} +2 -2
- package/dist/entry.js +3 -3
- package/dist/{exec-approvals-cli-CbTrf5Kb.js → exec-approvals-cli-BmIWz0IR.js} +6 -6
- package/dist/{gateway-cli-D0_MBPwh.js → gateway-cli-DAtopg6T.js} +4 -4
- package/dist/{gateway-cli-FKZHZ0xy.js → gateway-cli-QRr-rGYf.js} +37 -37
- package/dist/{gateway-rpc-ByIZZHKY.js → gateway-rpc-D6HEDG_w.js} +1 -1
- package/dist/{github-copilot-auth-DYhtQk6l.js → github-copilot-auth-CMKV2EUM.js} +3 -3
- package/dist/{gmail-setup-utils-CaFQh3Yk.js → gmail-setup-utils-B8Zj5i-8.js} +1 -1
- package/dist/{health-format-BOSTwf99.js → health-format-DlMzKrC_.js} +140 -1
- package/dist/{health-format-BvMHKJb9.js → health-format-eMwX_dUZ.js} +145 -6
- package/dist/{hooks-cli-D5dYZgSF.js → hooks-cli-B2SDBTt0.js} +16 -16
- package/dist/{hooks-status-B81fw5Y1.js → hooks-status-CmtX17C3.js} +3 -3
- package/dist/{image-CcxTVu75.js → image-Bt6emHRW.js} +2 -2
- package/dist/index.js +7 -7
- package/dist/{loader-BHgXse7P.js → loader-B_cNG9UL.js} +16 -16
- package/dist/{login-qr-yBDOf_k4.js → login-qr-Q9pbgwkl.js} +1 -1
- package/dist/{logs-cli-6LHBary9.js → logs-cli-cvzV5Pv3.js} +3 -3
- package/dist/{models-cli-BCJKACqK.js → models-cli-BlVsvkHh.js} +15 -15
- package/dist/{node-cli-Caq33P9I.js → node-cli-Ctsb84EC.js} +6 -6
- package/dist/{nodes-cli-AsLFYjpv.js → nodes-cli-DXUenKKP.js} +3 -3
- package/dist/{onboard-channels-ilhltsp0.js → onboard-channels-DTtQBrWt.js} +1 -1
- package/dist/{onboard-skills-D0s9mynq.js → onboard-skills-nS3wZP-L.js} +6 -6
- package/dist/{onboarding-CHicLQ2z.js → onboarding-DUHFKxu9.js} +3 -3
- package/dist/{pairing-cli-BSHeixoE.js → pairing-cli-DlZ7zmuP.js} +1 -1
- package/dist/{pi-embedded-helpers-xeQ6lg8a.js → pi-embedded-helpers-DwBc9IX_.js} +2 -2
- package/dist/plugin-sdk/index.js +7 -7
- package/dist/plugin-sdk/infra/heartbeat-auditor.d.ts +51 -0
- package/dist/{plugins-cli-CqkwbEHW.js → plugins-cli-DWGAtAj9.js} +15 -15
- package/dist/{program-NAX0p7xr.js → program-C7CUDmvV.js} +36 -36
- package/dist/{register.subclis-CBQe7Vud.js → register.subclis-DbqV5-2i.js} +28 -28
- package/dist/{routes-B8GSuxLb.js → routes-Cfi-pLYp.js} +1 -1
- package/dist/{rpc-Cvgh6ITn.js → rpc-BUPBjGO-.js} +1 -1
- package/dist/{run-main-BNYqDBGK.js → run-main-DAODVKUd.js} +39 -39
- package/dist/{runner-DxxAwpKK.js → runner-52MUvw8B.js} +4 -4
- package/dist/{sandbox-BCRVl8Wp.js → sandbox-I-jglVXT.js} +5 -5
- package/dist/{sandbox-cli-BhnGsIDU.js → sandbox-cli-D-5mL_rX.js} +4 -4
- package/dist/{security-cli-Lk_C5XWk.js → security-cli-Bjo8KBqO.js} +9 -9
- package/dist/{server-node-events-A7NcR3Tf.js → server-node-events-BvWiHa0Z.js} +16 -16
- package/dist/{service-audit-DS3GoLAy.js → service-audit-D_ecQyem.js} +1 -1
- package/dist/{skills-yf5L-oT-.js → skills-DIp0ATIM.js} +2 -2
- package/dist/{skills-cli-Dbz_6zAc.js → skills-cli-7u7ulsp3.js} +3 -3
- package/dist/{skills-status-BJbOSCGS.js → skills-status-B4391eic.js} +1 -1
- package/dist/{status-DNq4xaho.js → status-LNzQye9J.js} +2 -2
- package/dist/{status-ji4NG6r9.js → status-ekjJthFw.js} +16 -16
- package/dist/{system-cli-BTxb1NK5.js → system-cli-BdE8ED4V.js} +3 -3
- package/dist/{tui-cli-BLT9Vfwd.js → tui-cli-B6PcUvJ-.js} +8 -8
- package/dist/{tui-BX3T9lPa.js → tui-tu0r_pOd.js} +4 -4
- package/dist/{update-cli-DEf7AWqW.js → update-cli-BRVSN4wB.js} +4 -4
- package/dist/{update-cli-CuvZOnJf.js → update-cli-CDzM800f.js} +24 -24
- package/dist/{update-runner-ClFNwzEw.js → update-runner-CAksrOrM.js} +5 -5
- package/dist/{update-runner-CBf_5lwm.js → update-runner-otLk4ktQ.js} +2 -2
- package/dist/{webhooks-cli-D1NT4kcg.js → webhooks-cli-DwbBZGdM.js} +3 -3
- package/dist/{wsl-CEFz5HHg.js → wsl-DKfeklpq.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-B-VZRass.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-Bo5JGA-u.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";
|
|
@@ -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-B-VZRass.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-B_cNG9UL.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-DwBc9IX_.js";
|
|
12
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-C2ovvoHO.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-I-jglVXT.js";
|
|
14
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-DIp0ATIM.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-DHlsxM8B.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-B-VZRass.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-Bo5JGA-u.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-I-jglVXT.js";
|
|
17
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-DIp0ATIM.js";
|
|
18
|
+
import { a as isToolAllowedByPolicies, n as resolveNativeCommandsEnabled, r as resolveNativeSkillsEnabled } from "./commands-DfX7PkL7.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-B-VZRass.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
|
+
a80d3a2abe5d41aeb097a9ec458f8c2b741ca7a7d18d319842158a190d335ecc
|
|
@@ -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-Bmuk9jNL.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-B-VZRass.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-DwBc9IX_.js";
|
|
7
|
+
import { it as listChannelDocks } from "./sandbox-I-jglVXT.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";
|
|
@@ -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-B-VZRass.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-DaK2JD5x.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-Bo5JGA-u.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-B_cNG9UL.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-DTtQBrWt.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-Cfi-pLYp.js";
|
|
38
|
+
import "./pi-embedded-helpers-DwBc9IX_.js";
|
|
39
|
+
import "./deliver-C2ovvoHO.js";
|
|
40
|
+
import "./sandbox-I-jglVXT.js";
|
|
41
|
+
import { n as formatAge } from "./channel-summary-RJFb6NiI.js";
|
|
42
|
+
import "./wsl-DKfeklpq.js";
|
|
43
|
+
import "./skills-DIp0ATIM.js";
|
|
44
|
+
import "./image-Bt6emHRW.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-DfX7PkL7.js";
|
|
50
50
|
import "./node-pairing-BB9na6LK.js";
|
|
51
51
|
import "./pairing-store-CoaE8PFW.js";
|
|
52
|
-
import "./login-qr-
|
|
52
|
+
import "./login-qr-Q9pbgwkl.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-Bmuk9jNL.js";
|
|
59
|
+
import { t as formatCliChannelOptions } from "./channel-options-C0NJ3eIM.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-C4LXHtp6.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-B-VZRass.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-DaK2JD5x.js";
|
|
13
13
|
import "./client-CxDMBnkt.js";
|
|
14
14
|
import "./device-identity-CjPpt7_C.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-Bo5JGA-u.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-B_cNG9UL.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-Cfi-pLYp.js";
|
|
28
|
+
import "./pi-embedded-helpers-DwBc9IX_.js";
|
|
29
|
+
import "./deliver-C2ovvoHO.js";
|
|
30
|
+
import "./sandbox-I-jglVXT.js";
|
|
31
|
+
import "./channel-summary-RJFb6NiI.js";
|
|
32
|
+
import "./wsl-DKfeklpq.js";
|
|
33
|
+
import "./skills-DIp0ATIM.js";
|
|
34
|
+
import "./image-Bt6emHRW.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-DfX7PkL7.js";
|
|
40
40
|
import "./node-pairing-BB9na6LK.js";
|
|
41
41
|
import "./pairing-store-CoaE8PFW.js";
|
|
42
|
-
import "./login-qr-
|
|
42
|
+
import "./login-qr-Q9pbgwkl.js";
|
|
43
43
|
import "./pairing-labels-l_yQhJCb.js";
|
|
44
44
|
|
|
45
45
|
//#region src/plugins/cli.ts
|
|
@@ -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-B-VZRass.js";
|
|
4
|
+
import { t as loadSKYKOIPlugins } from "./loader-B_cNG9UL.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-I-jglVXT.js";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-tools.policy.ts
|
|
8
8
|
function compilePattern(pattern) {
|
|
@@ -124,7 +124,7 @@ 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-DAtopg6T.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -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-BRVSN4wB.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-DbqV5-2i.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$1 = json5) {
|
|
4577
4577
|
try {
|
|
4578
4578
|
return {
|
|
4579
4579
|
ok: true,
|
|
4580
|
-
parsed: json5.parse(raw)
|
|
4580
|
+
parsed: json5$1.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-B-VZRass.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-Bo5JGA-u.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-B_cNG9UL.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-DTtQBrWt.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-I-jglVXT.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-Bmuk9jNL.js";
|
|
25
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-DbqV5-2i.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-D6HEDG_w.js";
|
|
28
|
+
import { t as createDefaultDeps } from "./deps-DHlsxM8B.js";
|
|
29
|
+
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYgQHm7p.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-eMwX_dUZ.js";
|
|
34
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-nS3wZP-L.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-CMKV2EUM.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-ekjJthFw.js";
|
|
38
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-MMuUQLwR.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-JeV4wpcD.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-Bxwdu7ZM.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-JeV4wpcD.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
|
|
@@ -17,7 +17,7 @@ import { t as WizardCancelledError } from "./prompts-CMFALzCp.js";
|
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-CvZV8n1a.js";
|
|
18
18
|
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-Cl2oDnNw.js";
|
|
19
19
|
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-BjbdREnN.js";
|
|
20
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-DlMzKrC_.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-DJtimNo9.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B2VX9wFG.js";
|
|
23
23
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -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-B-VZRass.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-B_cNG9UL.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-DTtQBrWt.js";
|
|
16
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYgQHm7p.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-eMwX_dUZ.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-nS3wZP-L.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-B-VZRass.js";
|
|
4
4
|
import { a as resolveBrowserConfig, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-Bdeie10d.js";
|
|
5
5
|
import { S as ensureChromeExtensionRelayServer } from "./errors-B_oMOHSO.js";
|
|
6
6
|
|
|
@@ -5,11 +5,11 @@ import "./utils-BMYqLzNy.js";
|
|
|
5
5
|
import "./exec-CUWUdKmp.js";
|
|
6
6
|
import "./agent-scope-C-oITVZT.js";
|
|
7
7
|
import "./github-copilot-token-D3BDUkS_.js";
|
|
8
|
-
import "./config-
|
|
8
|
+
import "./config-B-VZRass.js";
|
|
9
9
|
import "./manifest-registry-BwckFakx.js";
|
|
10
10
|
import "./client-CxDMBnkt.js";
|
|
11
11
|
import "./device-identity-CjPpt7_C.js";
|
|
12
|
-
import "./call-
|
|
12
|
+
import "./call-Bo5JGA-u.js";
|
|
13
13
|
import "./message-channel-BTYAPS0_.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-ugC2z7Gf.js";
|
|
15
15
|
import { n as listChannelPlugins } from "./plugins-D19UULPd.js";
|
|
@@ -18,7 +18,7 @@ import "./accounts-DDKawBD7.js";
|
|
|
18
18
|
import "./progress-B4Q15jim.js";
|
|
19
19
|
import { t as parseAbsoluteTimeMs } from "./parse-DbwfoyR_.js";
|
|
20
20
|
import { n as parsePositiveIntOrUndefined } from "./helpers-Dxt7LNJM.js";
|
|
21
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
21
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-D6HEDG_w.js";
|
|
22
22
|
|
|
23
23
|
//#region src/cli/cron-cli/shared.ts
|
|
24
24
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -2,24 +2,24 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { B as resolveConfigPath, D as colorize, G as resolveIsNixMode, M as getResolvedLoggerSettings, O as isRich, W as resolveGatewayPort, X as resolveStateDir, k as theme, p as defaultRuntime } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B5jjY9oQ.js";
|
|
4
4
|
import { g as shortenHomePath } from "./utils-BMYqLzNy.js";
|
|
5
|
-
import { i as loadConfig, r as createConfigIO } from "./config-
|
|
5
|
+
import { i as loadConfig, r as createConfigIO } from "./config-B-VZRass.js";
|
|
6
6
|
import { f as inspectPortUsage, m as formatPortDiagnostics } from "./errors-B_oMOHSO.js";
|
|
7
7
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DdlcUdSm.js";
|
|
8
8
|
import { Rt as resolveGatewayBindHost } from "./client-CxDMBnkt.js";
|
|
9
|
-
import { n as callGateway } from "./call-
|
|
9
|
+
import { n as callGateway } from "./call-Bo5JGA-u.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BTYAPS0_.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-ugC2z7Gf.js";
|
|
12
|
-
import { v as resolveControlUiLinks } from "./loader-
|
|
12
|
+
import { v as resolveControlUiLinks } from "./loader-B_cNG9UL.js";
|
|
13
13
|
import { n as withProgress } from "./progress-B4Q15jim.js";
|
|
14
|
-
import { n as isWSLEnv, t as isWSL } from "./wsl-
|
|
14
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-DKfeklpq.js";
|
|
15
15
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-0ANik1B8.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-DHlsxM8B.js";
|
|
17
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BYgQHm7p.js";
|
|
18
18
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CMzdj9UU.js";
|
|
19
19
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BmRFpiA7.js";
|
|
20
20
|
import { a as parsePortFromArgs, c as renderRuntimeHints, d as createNullWriter, f as emitDaemonActionJson, i as parsePort, l as safeDaemonEnv, n as formatRuntimeStatus, o as pickProbeHostForBind, r as normalizeListenerAddress, s as renderGatewayServiceStartHints, t as filterDaemonEnv, u as buildDaemonServiceSnapshot } from "./shared-BNUSatAI.js";
|
|
21
21
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-BxQABy-f.js";
|
|
22
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine } from "./service-audit-
|
|
22
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine } from "./service-audit-D_ecQyem.js";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/daemon-cli/install.ts
|
|
25
25
|
async function runDaemonInstall(opts) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as defaultRuntime } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B5jjY9oQ.js";
|
|
3
|
-
import { O as collectConfigEnvVars, j as VERSION } from "./config-
|
|
3
|
+
import { O as collectConfigEnvVars, j as VERSION } from "./config-B-VZRass.js";
|
|
4
4
|
import { a as NODE_SERVICE_MARKER, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-0ANik1B8.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
@@ -2,12 +2,12 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { st as getActivePluginRegistry, w as shouldLogVerbose, x as logVerbose } from "./entry.js";
|
|
3
3
|
import { c as normalizeAccountId$1 } from "./session-key-BmNnF5dG.js";
|
|
4
4
|
import { m as resolveUserPath } from "./utils-BMYqLzNy.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { i as loadConfig } from "./config-B-VZRass.js";
|
|
6
6
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BTYAPS0_.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D19UULPd.js";
|
|
8
|
-
import { C as mediaKindFromMime, S as maxBytesForKind, a as closeDispatcher, c as resolvePinnedHostnameWithPolicy, d as hasAlphaChannel, f as optimizeImageToPng, h as extensionForMime, l as convertHeicToJpeg, m as detectMime, o as createPinnedDispatcher, p as resizeToJpeg, r as saveMediaBuffer, s as resolvePinnedHostname } from "./routes-
|
|
9
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
10
|
-
import { l as appendAssistantMessageToSessionTranscript, lt as resolveSignalAccount, rt as getChannelDock, u as resolveMirroredTranscriptText } from "./sandbox-
|
|
8
|
+
import { C as mediaKindFromMime, S as maxBytesForKind, a as closeDispatcher, c as resolvePinnedHostnameWithPolicy, d as hasAlphaChannel, f as optimizeImageToPng, h as extensionForMime, l as convertHeicToJpeg, m as detectMime, o as createPinnedDispatcher, p as resizeToJpeg, r as saveMediaBuffer, s as resolvePinnedHostname } from "./routes-Cfi-pLYp.js";
|
|
9
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-DwBc9IX_.js";
|
|
10
|
+
import { l as appendAssistantMessageToSessionTranscript, lt as resolveSignalAccount, rt as getChannelDock, u as resolveMirroredTranscriptText } from "./sandbox-I-jglVXT.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import { fileURLToPath } from "node:url";
|