skykoi 2026.3.253 → 2026.3.255
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/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{completion-cli-B7tFGhHB.js → completion-cli-CF2k-SPF.js} +1 -1
- package/dist/{config-guard-7d5TcN9t.js → config-guard-DycY8Kte.js} +3 -3
- package/dist/{doctor-CAv0cBlm.js → doctor-B4GxTNw-.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-Byb4ahB-.js → gateway-cli-C1Be8G4f.js} +27 -4
- package/dist/index.js +7 -7
- package/dist/{onboarding-C99xw9ly.js → onboarding-CX49G1ht.js} +2 -2
- package/dist/plugin-sdk/index.js +10 -10
- package/dist/{program-Dky6FORb.js → program-_BWYrvQ5.js} +2 -2
- package/dist/{register.subclis-Cu26Q7u1.js → register.subclis-BhgKJMMz.js} +3 -3
- package/dist/{run-main-DG8NImXz.js → run-main-BG7QlHyh.js} +8 -8
- package/dist/{update-cli-CN12IWjt.js → update-cli-CBSFL70G.js} +4 -4
- package/dist/{update-runner--DbGnmt2.js → update-runner-CwZko8MN.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
01ef47306787e5e6552d5ab98d70eac77a2e363e7cbc5d18d6f711b083e06d8a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-VdmjGGyc.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-BhgKJMMz.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -25,7 +25,7 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BNuSQH6i.js";
|
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-D_xKFcV1.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-CL2SstQz.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-D65FuQH4.js";
|
|
28
|
-
import { a as buildKoiSummaries, c as loadKoiIdentity, f as parseIdentityMarkdown, i as applyKoiConfig, l as pruneKoiConfig, n as statusCommand, o as findKoiEntryIndex, s as listKoiEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-
|
|
28
|
+
import { a as buildKoiSummaries, c as loadKoiIdentity, f as parseIdentityMarkdown, i as applyKoiConfig, l as pruneKoiConfig, n as statusCommand, o as findKoiEntryIndex, s as listKoiEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-CX49G1ht.js";
|
|
29
29
|
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-Dbh1cm95.js";
|
|
30
30
|
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-Dye9bh84.js";
|
|
31
31
|
import { n as setupChannels } from "./onboard-channels-NmD1qdb3.js";
|
|
@@ -33,7 +33,7 @@ import { l as healthCommand } from "./health-format-B4sg83Kh.js";
|
|
|
33
33
|
import { t as renderTable } from "./table-6UNPpVEx.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-bz-Q1pz8.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-WeDhEsPI.js";
|
|
36
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
36
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-BhgKJMMz.js";
|
|
37
37
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-B5KSW1jh.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-BN200Sfc.js";
|
|
39
39
|
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-9hiy5SRT.js";
|
|
@@ -41,7 +41,7 @@ import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plug
|
|
|
41
41
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-DUclfUl-.js";
|
|
42
42
|
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-R9ISEbHW.js";
|
|
43
43
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BjfFUdaX.js";
|
|
44
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
44
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-B4GxTNw-.js";
|
|
45
45
|
import { fileURLToPath } from "node:url";
|
|
46
46
|
import fs from "node:fs";
|
|
47
47
|
import path from "node:path";
|
|
@@ -27,7 +27,7 @@ import { n as logConfigUpdated } from "./logging-D_xKFcV1.js";
|
|
|
27
27
|
import { t as note$1 } from "./note-CrS1Szhk.js";
|
|
28
28
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-PL5unXxJ.js";
|
|
29
29
|
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-B4sg83Kh.js";
|
|
30
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner
|
|
30
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-CwZko8MN.js";
|
|
31
31
|
import { i as resolveGatewayAuth } from "./auth-DcUFkxj-.js";
|
|
32
32
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bk-6M9tR.js";
|
|
33
33
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-bz-Q1pz8.js";
|
package/dist/entry.js
CHANGED
|
@@ -244,7 +244,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
244
244
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
245
245
|
process$1.argv = parsed.argv;
|
|
246
246
|
}
|
|
247
|
-
import("./run-main-
|
|
247
|
+
import("./run-main-BG7QlHyh.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
248
248
|
console.error("[SKYKOI] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
249
249
|
process$1.exitCode = 1;
|
|
250
250
|
});
|
|
@@ -76,7 +76,7 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BNuSQH6i.js";
|
|
|
76
76
|
import "./logging-D_xKFcV1.js";
|
|
77
77
|
import "./note-CrS1Szhk.js";
|
|
78
78
|
import { t as WizardCancelledError } from "./prompts-CL2SstQz.js";
|
|
79
|
-
import { c as loadKoiIdentity, d as loadKoiIdentityFromWorkspace, i as applyKoiConfig, l as pruneKoiConfig, o as findKoiEntryIndex, r as getStatusSummary, s as listKoiEntries, t as runOnboardingWizard } from "./onboarding-
|
|
79
|
+
import { c as loadKoiIdentity, d as loadKoiIdentityFromWorkspace, i as applyKoiConfig, l as pruneKoiConfig, o as findKoiEntryIndex, r as getStatusSummary, s as listKoiEntries, t as runOnboardingWizard } from "./onboarding-CX49G1ht.js";
|
|
80
80
|
import { n as installSkill } from "./onboard-skills-Dbh1cm95.js";
|
|
81
81
|
import "./github-copilot-auth-Dye9bh84.js";
|
|
82
82
|
import "./onboard-channels-NmD1qdb3.js";
|
|
@@ -85,7 +85,7 @@ import "./archive-CDJmGzeL.js";
|
|
|
85
85
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
86
86
|
import "./installs-Vlsgerje.js";
|
|
87
87
|
import { a as resolveControlUiRootOverrideSync, c as getHealthSnapshot, d as runHeartbeatOnce, f as setHeartbeatsEnabled, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync, p as startHeartbeatRunner, s as formatHealthChannelLines } from "./health-format-B4sg83Kh.js";
|
|
88
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner
|
|
88
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CwZko8MN.js";
|
|
89
89
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-DcUFkxj-.js";
|
|
90
90
|
import { i as probeGateway } from "./audit-B_Ye62_8.js";
|
|
91
91
|
import "./table-6UNPpVEx.js";
|
|
@@ -95,11 +95,11 @@ import { p as resolveGatewayStateDir } from "./systemd-WeDhEsPI.js";
|
|
|
95
95
|
import "./service-audit-D5_xcF75.js";
|
|
96
96
|
import "./node-service-DoNL0Ruu.js";
|
|
97
97
|
import "./channels-status-issues-C88xoNq1.js";
|
|
98
|
-
import "./register.subclis-
|
|
98
|
+
import "./register.subclis-BhgKJMMz.js";
|
|
99
99
|
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-9hiy5SRT.js";
|
|
100
100
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-D8atdlDH.js";
|
|
101
101
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-DTM_9zJu.js";
|
|
102
|
-
import "./completion-cli-
|
|
102
|
+
import "./completion-cli-CF2k-SPF.js";
|
|
103
103
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-BYUTsP4m.js";
|
|
104
104
|
import "./tui-DhoP2zn2.js";
|
|
105
105
|
import { t as buildChannelAccountSnapshot } from "./status-jB5_YcY1.js";
|
|
@@ -5453,6 +5453,7 @@ const getHandshakeTimeoutMs = () => {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
return DEFAULT_HANDSHAKE_TIMEOUT_MS;
|
|
5455
5455
|
};
|
|
5456
|
+
const WS_HEARTBEAT_INTERVAL_MS = 25e3;
|
|
5456
5457
|
const TICK_INTERVAL_MS = 3e4;
|
|
5457
5458
|
const HEALTH_REFRESH_INTERVAL_MS = 6e4;
|
|
5458
5459
|
const DEDUPE_TTL_MS = 5 * 6e4;
|
|
@@ -19515,6 +19516,27 @@ function attachGatewayWsConnectionHandler(params) {
|
|
|
19515
19516
|
lastFrameId = meta.id ?? lastFrameId;
|
|
19516
19517
|
}
|
|
19517
19518
|
};
|
|
19519
|
+
let isAlive = true;
|
|
19520
|
+
socket.on("pong", () => {
|
|
19521
|
+
isAlive = true;
|
|
19522
|
+
});
|
|
19523
|
+
socket.on("message", () => {
|
|
19524
|
+
isAlive = true;
|
|
19525
|
+
});
|
|
19526
|
+
const heartbeatTimer = setInterval(() => {
|
|
19527
|
+
if (closed) return;
|
|
19528
|
+
if (!isAlive) {
|
|
19529
|
+
setCloseCause("heartbeat-timeout");
|
|
19530
|
+
try {
|
|
19531
|
+
socket.terminate();
|
|
19532
|
+
} catch {}
|
|
19533
|
+
return;
|
|
19534
|
+
}
|
|
19535
|
+
isAlive = false;
|
|
19536
|
+
try {
|
|
19537
|
+
socket.ping();
|
|
19538
|
+
} catch {}
|
|
19539
|
+
}, WS_HEARTBEAT_INTERVAL_MS);
|
|
19518
19540
|
const send = (obj) => {
|
|
19519
19541
|
try {
|
|
19520
19542
|
socket.send(JSON.stringify(obj));
|
|
@@ -19544,6 +19566,7 @@ function attachGatewayWsConnectionHandler(params) {
|
|
|
19544
19566
|
});
|
|
19545
19567
|
const isNoisySwiftPmHelperClose = (userAgent, remote) => Boolean(userAgent?.toLowerCase().includes("swiftpm-testing-helper") && isLoopbackAddress(remote));
|
|
19546
19568
|
socket.once("close", (code, reason) => {
|
|
19569
|
+
clearInterval(heartbeatTimer);
|
|
19547
19570
|
const durationMs = Date.now() - openedAt;
|
|
19548
19571
|
const closeContext = {
|
|
19549
19572
|
cause: closeCause,
|
package/dist/index.js
CHANGED
|
@@ -65,11 +65,11 @@ import { t as isMainModule } from "./is-main-CFOIyUwL.js";
|
|
|
65
65
|
import { t as ensureSKYKOICliOnPath } from "./path-env-D7MDOz2j.js";
|
|
66
66
|
import { g as assertSupportedRuntime } from "./daemon-runtime-s4bEPaLr.js";
|
|
67
67
|
import "./ports-D80unNIa.js";
|
|
68
|
-
import "./config-guard-
|
|
68
|
+
import "./config-guard-DycY8Kte.js";
|
|
69
69
|
import "./logging-D_xKFcV1.js";
|
|
70
70
|
import "./note-CrS1Szhk.js";
|
|
71
71
|
import "./clack-prompter-D65FuQH4.js";
|
|
72
|
-
import "./onboarding-
|
|
72
|
+
import "./onboarding-CX49G1ht.js";
|
|
73
73
|
import "./onboard-skills-Dbh1cm95.js";
|
|
74
74
|
import "./github-copilot-auth-Dye9bh84.js";
|
|
75
75
|
import "./onboard-channels-NmD1qdb3.js";
|
|
@@ -78,7 +78,7 @@ import "./archive-CDJmGzeL.js";
|
|
|
78
78
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
79
79
|
import "./installs-Vlsgerje.js";
|
|
80
80
|
import "./health-format-B4sg83Kh.js";
|
|
81
|
-
import "./update-runner
|
|
81
|
+
import "./update-runner-CwZko8MN.js";
|
|
82
82
|
import "./auth-DcUFkxj-.js";
|
|
83
83
|
import "./audit-B_Ye62_8.js";
|
|
84
84
|
import "./table-6UNPpVEx.js";
|
|
@@ -88,7 +88,7 @@ import "./systemd-WeDhEsPI.js";
|
|
|
88
88
|
import "./service-audit-D5_xcF75.js";
|
|
89
89
|
import "./node-service-DoNL0Ruu.js";
|
|
90
90
|
import "./channels-status-issues-C88xoNq1.js";
|
|
91
|
-
import "./register.subclis-
|
|
91
|
+
import "./register.subclis-BhgKJMMz.js";
|
|
92
92
|
import "./gateway-rpc-B5KSW1jh.js";
|
|
93
93
|
import "./help-format-BN200Sfc.js";
|
|
94
94
|
import "./koi-9hiy5SRT.js";
|
|
@@ -98,12 +98,12 @@ import "./systemd-linger-BjfFUdaX.js";
|
|
|
98
98
|
import "./widearea-dns-D8atdlDH.js";
|
|
99
99
|
import "./bonjour-discovery-DTM_9zJu.js";
|
|
100
100
|
import "./auth-health-Bg2n10b5.js";
|
|
101
|
-
import "./doctor-
|
|
102
|
-
import "./completion-cli-
|
|
101
|
+
import "./doctor-B4GxTNw-.js";
|
|
102
|
+
import "./completion-cli-CF2k-SPF.js";
|
|
103
103
|
import "./hooks-status-BYUTsP4m.js";
|
|
104
104
|
import "./tui-DhoP2zn2.js";
|
|
105
105
|
import "./channel-options-_19EE9b4.js";
|
|
106
|
-
import { n as buildProgram } from "./program-
|
|
106
|
+
import { n as buildProgram } from "./program-_BWYrvQ5.js";
|
|
107
107
|
import process from "node:process";
|
|
108
108
|
import { fileURLToPath } from "node:url";
|
|
109
109
|
|
|
@@ -24,7 +24,7 @@ import { t as WizardCancelledError } from "./prompts-CL2SstQz.js";
|
|
|
24
24
|
import { d as applyAuthChoice, h as promptAuthChoiceGrouped, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills, u as warnIfModelConfigLooksOff } from "./onboard-skills-Dbh1cm95.js";
|
|
25
25
|
import { n as setupChannels } from "./onboard-channels-NmD1qdb3.js";
|
|
26
26
|
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForKoi } from "./health-format-B4sg83Kh.js";
|
|
27
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner
|
|
27
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-CwZko8MN.js";
|
|
28
28
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-B_Ye62_8.js";
|
|
29
29
|
import { t as renderTable } from "./table-6UNPpVEx.js";
|
|
30
30
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bk-6M9tR.js";
|
|
@@ -34,7 +34,7 @@ import { o as readLastGatewayErrorLine } from "./service-audit-D5_xcF75.js";
|
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-DoNL0Ruu.js";
|
|
35
35
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-C88xoNq1.js";
|
|
36
36
|
import { i as redactSecrets, n as formatDuration$1, r as formatGatewayAuthUsed, t as formatAge$1 } from "./format-C8RwgLWp.js";
|
|
37
|
-
import { r as installCompletion } from "./completion-cli-
|
|
37
|
+
import { r as installCompletion } from "./completion-cli-CF2k-SPF.js";
|
|
38
38
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-BYUTsP4m.js";
|
|
39
39
|
import { t as runTui } from "./tui-DhoP2zn2.js";
|
|
40
40
|
import fs from "node:fs";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
21
21
|
import fs, { constants, createWriteStream, existsSync, promises, statSync } from "node:fs";
|
|
22
22
|
import path, { join } from "node:path";
|
|
23
23
|
import { Logger } from "tslog";
|
|
24
|
-
import
|
|
24
|
+
import JSON5 from "json5";
|
|
25
25
|
import os, { homedir, tmpdir } from "node:os";
|
|
26
26
|
import { promisify } from "node:util";
|
|
27
27
|
import fs$1 from "node:fs/promises";
|
|
@@ -33,7 +33,7 @@ import { exec } from "child_process";
|
|
|
33
33
|
import { createReadStream as createReadStream$1, createWriteStream as createWriteStream$1, promises as promises$1 } from "fs";
|
|
34
34
|
import { Readable, Transform } from "stream";
|
|
35
35
|
import { platform, release, tmpdir as tmpdir$1 } from "os";
|
|
36
|
-
import EventEmitter, { EventEmitter
|
|
36
|
+
import EventEmitter$1, { EventEmitter, once } from "events";
|
|
37
37
|
import { promisify as promisify$1 } from "util";
|
|
38
38
|
import { join as join$1 } from "path";
|
|
39
39
|
import * as Crypto from "crypto";
|
|
@@ -2262,7 +2262,7 @@ function readLoggingConfig() {
|
|
|
2262
2262
|
try {
|
|
2263
2263
|
if (!fs.existsSync(configPath)) return;
|
|
2264
2264
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
2265
|
-
const logging =
|
|
2265
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
2266
2266
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
2267
2267
|
return logging;
|
|
2268
2268
|
} catch {
|
|
@@ -19010,7 +19010,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
19010
19010
|
};
|
|
19011
19011
|
const defaultResolver = {
|
|
19012
19012
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
19013
|
-
parseJson: (raw) =>
|
|
19013
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
19014
19014
|
};
|
|
19015
19015
|
/**
|
|
19016
19016
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -21685,18 +21685,18 @@ function resolveConfigPathForDeps(deps) {
|
|
|
21685
21685
|
function normalizeDeps(overrides = {}) {
|
|
21686
21686
|
return {
|
|
21687
21687
|
fs: overrides.fs ?? fs,
|
|
21688
|
-
json5: overrides.json5 ??
|
|
21688
|
+
json5: overrides.json5 ?? JSON5,
|
|
21689
21689
|
env: overrides.env ?? process.env,
|
|
21690
21690
|
homedir: overrides.homedir ?? os.homedir,
|
|
21691
21691
|
configPath: overrides.configPath ?? "",
|
|
21692
21692
|
logger: overrides.logger ?? console
|
|
21693
21693
|
};
|
|
21694
21694
|
}
|
|
21695
|
-
function parseConfigJson5(raw, json5
|
|
21695
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
21696
21696
|
try {
|
|
21697
21697
|
return {
|
|
21698
21698
|
ok: true,
|
|
21699
|
-
parsed: json5
|
|
21699
|
+
parsed: json5.parse(raw)
|
|
21700
21700
|
};
|
|
21701
21701
|
} catch (err) {
|
|
21702
21702
|
return {
|
|
@@ -22210,7 +22210,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
22210
22210
|
let mtimeMs = getFileMtimeMs(storePath);
|
|
22211
22211
|
try {
|
|
22212
22212
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
22213
|
-
const parsed =
|
|
22213
|
+
const parsed = JSON5.parse(raw);
|
|
22214
22214
|
if (isSessionStoreRecord(parsed)) store = parsed;
|
|
22215
22215
|
mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
|
|
22216
22216
|
} catch {}
|
|
@@ -226434,7 +226434,7 @@ const BUFFERABLE_EVENT_SET = new Set([
|
|
|
226434
226434
|
* making the data processing more efficient.
|
|
226435
226435
|
*/
|
|
226436
226436
|
const makeEventBuffer = (logger) => {
|
|
226437
|
-
const ev = new EventEmitter();
|
|
226437
|
+
const ev = new EventEmitter$1();
|
|
226438
226438
|
const historyCache = /* @__PURE__ */ new Set();
|
|
226439
226439
|
let data = makeBufferData();
|
|
226440
226440
|
let isBuffering = false;
|
|
@@ -232004,7 +232004,7 @@ var BinaryInfo = class {
|
|
|
232004
232004
|
|
|
232005
232005
|
//#endregion
|
|
232006
232006
|
//#region node_modules/.pnpm/@whiskeysockets+baileys@7.0.0-rc.9_audio-decode@2.2.3_sharp@0.34.5/node_modules/@whiskeysockets/baileys/lib/Socket/Client/types.js
|
|
232007
|
-
var AbstractSocketClient = class extends EventEmitter
|
|
232007
|
+
var AbstractSocketClient = class extends EventEmitter {
|
|
232008
232008
|
constructor(url, config) {
|
|
232009
232009
|
super();
|
|
232010
232010
|
this.url = url;
|
|
@@ -4,8 +4,8 @@ import { n as replaceCliName, r as resolveCliName } from "./command-format-DQtyH
|
|
|
4
4
|
import { t as isTruthyEnvValue } from "./env-BA3nu3t6.js";
|
|
5
5
|
import { N as VERSION } from "./config-DUlVD6_Y.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-BraPfmsh.js";
|
|
7
|
-
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-
|
|
8
|
-
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-
|
|
7
|
+
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-DycY8Kte.js";
|
|
8
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-BhgKJMMz.js";
|
|
9
9
|
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D3qNuiO2.js";
|
|
10
10
|
import { i as hasEmittedCliBanner, n as emitCliBanner, r as formatCliBannerLine } from "./tui-DhoP2zn2.js";
|
|
11
11
|
import { n as resolveCliChannelOptions } from "./channel-options-_19EE9b4.js";
|
|
@@ -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-C1Be8G4f.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
@@ -282,14 +282,14 @@ 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-CBSFL70G.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
289
|
name: "completion",
|
|
290
290
|
description: "Generate shell completion script",
|
|
291
291
|
register: async (program) => {
|
|
292
|
-
(await import("./completion-cli-
|
|
292
|
+
(await import("./completion-cli-CF2k-SPF.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -62,11 +62,11 @@ import "./tailscale-BVFil2zN.js";
|
|
|
62
62
|
import { t as loadDotEnv } from "./dotenv-BhXDZTJk.js";
|
|
63
63
|
import { t as ensureSKYKOICliOnPath } from "./path-env-D7MDOz2j.js";
|
|
64
64
|
import { g as assertSupportedRuntime } from "./daemon-runtime-s4bEPaLr.js";
|
|
65
|
-
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-
|
|
65
|
+
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-DycY8Kte.js";
|
|
66
66
|
import "./logging-D_xKFcV1.js";
|
|
67
67
|
import "./note-CrS1Szhk.js";
|
|
68
68
|
import "./clack-prompter-D65FuQH4.js";
|
|
69
|
-
import "./onboarding-
|
|
69
|
+
import "./onboarding-CX49G1ht.js";
|
|
70
70
|
import "./onboard-skills-Dbh1cm95.js";
|
|
71
71
|
import "./github-copilot-auth-Dye9bh84.js";
|
|
72
72
|
import "./onboard-channels-NmD1qdb3.js";
|
|
@@ -75,7 +75,7 @@ import "./archive-CDJmGzeL.js";
|
|
|
75
75
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
76
76
|
import "./installs-Vlsgerje.js";
|
|
77
77
|
import "./health-format-B4sg83Kh.js";
|
|
78
|
-
import "./update-runner
|
|
78
|
+
import "./update-runner-CwZko8MN.js";
|
|
79
79
|
import "./auth-DcUFkxj-.js";
|
|
80
80
|
import "./audit-B_Ye62_8.js";
|
|
81
81
|
import "./table-6UNPpVEx.js";
|
|
@@ -85,7 +85,7 @@ import "./systemd-WeDhEsPI.js";
|
|
|
85
85
|
import "./service-audit-D5_xcF75.js";
|
|
86
86
|
import "./node-service-DoNL0Ruu.js";
|
|
87
87
|
import "./channels-status-issues-C88xoNq1.js";
|
|
88
|
-
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-
|
|
88
|
+
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-BhgKJMMz.js";
|
|
89
89
|
import "./gateway-rpc-B5KSW1jh.js";
|
|
90
90
|
import "./help-format-BN200Sfc.js";
|
|
91
91
|
import "./koi-9hiy5SRT.js";
|
|
@@ -95,8 +95,8 @@ import "./systemd-linger-BjfFUdaX.js";
|
|
|
95
95
|
import "./widearea-dns-D8atdlDH.js";
|
|
96
96
|
import "./bonjour-discovery-DTM_9zJu.js";
|
|
97
97
|
import "./auth-health-Bg2n10b5.js";
|
|
98
|
-
import "./doctor-
|
|
99
|
-
import "./completion-cli-
|
|
98
|
+
import "./doctor-B4GxTNw-.js";
|
|
99
|
+
import "./completion-cli-CF2k-SPF.js";
|
|
100
100
|
import "./hooks-status-BYUTsP4m.js";
|
|
101
101
|
import { n as emitCliBanner } from "./tui-DhoP2zn2.js";
|
|
102
102
|
import process$1 from "node:process";
|
|
@@ -152,7 +152,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
152
152
|
assertSupportedRuntime();
|
|
153
153
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
154
154
|
enableConsoleCapture();
|
|
155
|
-
const { buildProgram } = await import("./program-
|
|
155
|
+
const { buildProgram } = await import("./program-_BWYrvQ5.js").then((n) => n.t);
|
|
156
156
|
const program = buildProgram();
|
|
157
157
|
installUnhandledRejectionHandler();
|
|
158
158
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -162,7 +162,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
162
162
|
const parseArgv = rewriteUpdateFlagArgv(normalizedArgv);
|
|
163
163
|
const primary = getPrimaryCommand(parseArgv);
|
|
164
164
|
if (primary) {
|
|
165
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
165
|
+
const { registerSubCliByName } = await import("./register.subclis-BhgKJMMz.js").then((n) => n.i);
|
|
166
166
|
await registerSubCliByName(program, primary);
|
|
167
167
|
}
|
|
168
168
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
@@ -69,7 +69,7 @@ import "./archive-CDJmGzeL.js";
|
|
|
69
69
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
70
70
|
import "./installs-Vlsgerje.js";
|
|
71
71
|
import "./health-format-B4sg83Kh.js";
|
|
72
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, d as formatUpdateOneLiner, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, l as ensureCompletionCacheExists, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as resolveUpdateAvailability, r as detectGlobalInstallManagerByPresence, s as checkShellCompletionStatus, t as runGatewayUpdate, u as formatUpdateAvailableHint, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner
|
|
72
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, _ as resolveNpmChannelTag, a as globalInstallArgs, b as channelToNpmTag, d as formatUpdateOneLiner, g as fetchNpmTagVersion, h as compareSemverStrings, i as detectGlobalInstallManagerForRoot, l as ensureCompletionCacheExists, m as checkUpdateStatus, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, p as resolveUpdateAvailability, r as detectGlobalInstallManagerByPresence, s as checkShellCompletionStatus, t as runGatewayUpdate, u as formatUpdateAvailableHint, v as DEFAULT_GIT_CHANNEL, x as formatUpdateChannelLabel, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CwZko8MN.js";
|
|
73
73
|
import "./auth-DcUFkxj-.js";
|
|
74
74
|
import { t as renderTable } from "./table-6UNPpVEx.js";
|
|
75
75
|
import "./skills-status-Bk-6M9tR.js";
|
|
@@ -77,12 +77,12 @@ import "./service-bz-Q1pz8.js";
|
|
|
77
77
|
import "./systemd-WeDhEsPI.js";
|
|
78
78
|
import "./service-audit-D5_xcF75.js";
|
|
79
79
|
import "./channels-status-issues-C88xoNq1.js";
|
|
80
|
-
import "./register.subclis-
|
|
80
|
+
import "./register.subclis-BhgKJMMz.js";
|
|
81
81
|
import { t as formatHelpExamples } from "./help-format-BN200Sfc.js";
|
|
82
82
|
import "./systemd-linger-BjfFUdaX.js";
|
|
83
83
|
import "./auth-health-Bg2n10b5.js";
|
|
84
|
-
import { t as doctorCommand } from "./doctor-
|
|
85
|
-
import { r as installCompletion } from "./completion-cli-
|
|
84
|
+
import { t as doctorCommand } from "./doctor-B4GxTNw-.js";
|
|
85
|
+
import { r as installCompletion } from "./completion-cli-CF2k-SPF.js";
|
|
86
86
|
import "./shared-lkFihiKy.js";
|
|
87
87
|
import { r as runDaemonRestart } from "./daemon-cli-f5i6R63O.js";
|
|
88
88
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-CEnpQzsW.js";
|
|
@@ -6,7 +6,7 @@ import { N as VERSION } from "./config-DUlVD6_Y.js";
|
|
|
6
6
|
import { _ as parseSemver } from "./daemon-runtime-s4bEPaLr.js";
|
|
7
7
|
import { t as note } from "./note-CrS1Szhk.js";
|
|
8
8
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-B4sg83Kh.js";
|
|
9
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
9
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CF2k-SPF.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import fs from "node:fs/promises";
|