skykoi 2026.3.331 → 2026.3.332
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/{admin-unlock-CQOg2Vub.js → admin-unlock-CLWvWdKM.js} +1 -1
- package/dist/{archive-HObtzULx.js → archive-C08F4Wb5.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DHCxqaUS.js → channel-options-CDJ5CDRM.js} +1 -1
- package/dist/{channels-cli-DJH_Q6fm.js → channels-cli-DBhMJMdG.js} +9 -9
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BmVzhz7x.js → cli-wJIzZEbO.js} +1 -1
- package/dist/{completion-cli-Ct7r26aE.js → completion-cli-B0UUwvfE.js} +1 -1
- package/dist/{config-guard-CI8BUtkF.js → config-guard-B27OqERJ.js} +18 -18
- package/dist/{configure-BR4-y9wN.js → configure-TRe86kqT.js} +4 -4
- package/dist/{daemon-cli-CkEEKXwT.js → daemon-cli-BGui5bJk.js} +5 -5
- package/dist/{deps-2m5USHxz.js → deps-CSXtoJbv.js} +1 -1
- package/dist/{diagnostics-CBJs_eaH.js → diagnostics-Dttptyw7.js} +1 -1
- package/dist/{doctor-DaWXIYsb.js → doctor-DksNrjwD.js} +6 -6
- package/dist/{doctor-completion-Caj2jdm9.js → doctor-completion-ZsvXf-in.js} +1 -1
- package/dist/{ensure-local-gateway-C0w2QZKQ.js → ensure-local-gateway-Cnmpl0Hl.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BUEtz24p.js → exec-approvals-cli-sNAqB3MX.js} +2 -2
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-CUHqkDkz.js → gateway-cli-Dy66Ij5H.js} +33 -23
- package/dist/{github-copilot-auth-BFkrzRdJ.js → github-copilot-auth-O8q6Tzc2.js} +1 -1
- package/dist/{health-format-Dk2bjrto.js → health-format-CYWQ09j2.js} +1 -1
- package/dist/{hooks-cli-BWuttmsB.js → hooks-cli-B1pVma0T.js} +3 -3
- package/dist/index.js +27 -27
- package/dist/{installs-DBs6jN3U.js → installs-DuX6T1D9.js} +1 -1
- package/dist/{koi-DfcU57_Z.js → koi-BnqYdj-G.js} +2 -2
- package/dist/{login-CeuNNf3r.js → login-BI40_AE6.js} +5 -1
- package/dist/{models-cli-BKVriUx6.js → models-cli-IVR920xr.js} +2 -2
- package/dist/{node-cli-r1Vx_ThU.js → node-cli-CEPSBe6d.js} +3 -3
- package/dist/{node-service-CnU49y0d.js → node-service-jOcYNww7.js} +1 -1
- package/dist/{onboard-channels-DHCJInN8.js → onboard-channels-C3mQEHKo.js} +2 -2
- package/dist/{onboard-skills-ChxI_iEW.js → onboard-skills-BZxz4pel.js} +3 -3
- package/dist/{onboarding-CvpP9F5R.js → onboarding-C7DvjlYE.js} +10 -10
- package/dist/{plugin-registry-C3CWtE6C.js → plugin-registry-CRtu281p.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/{plugins-cli-1D0yLDNl.js → plugins-cli-HSRy33tR.js} +5 -5
- package/dist/{program-BTz-C7hw.js → program-B5mPpV8y.js} +5 -5
- package/dist/{register.subclis-dKeKhf0E.js → register.subclis-BqAY69Mw.js} +13 -13
- package/dist/{reply-BOrQK8w_.js → reply-BwxJW2E1.js} +1 -0
- package/dist/{run-main-CjYE4GgM.js → run-main-6eAsx2LM.js} +30 -30
- package/dist/{server-node-events-DrvtPnhj.js → server-node-events-CItbv2Vy.js} +3 -3
- package/dist/{service-CgbWVYSz.js → service-C39M-g_I.js} +3 -0
- package/dist/{service-audit-C7Wq0dp9.js → service-audit-B0wTydvm.js} +1 -1
- package/dist/{shared-BSR1syBP.js → shared-BjxVCJAJ.js} +1 -1
- package/dist/{shared-CsHmFsvZ.js → shared-C4Oo-GQQ.js} +1 -1
- package/dist/{status-CHa9_ku7.js → status-BCvh8ZAj.js} +1 -1
- package/dist/{tui-BLENcW7_.js → tui-DfpQYar2.js} +40 -0
- package/dist/{tui-cli-BNu0Iorr.js → tui-cli-D_acYEjr.js} +8 -1
- package/dist/{update-cli-BInmc5gC.js → update-cli-tPWAuE4x.js} +15 -15
- package/dist/{update-BfXbl2p0.js → update-mmV_ASqn.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-D019Z2NU.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-XH65-wH1.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-DEGu_o5t.js";
|
|
4
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
4
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-C08F4Wb5.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BCGU84pB.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-wHze4-BZ.js";
|
|
2
|
-
import { At as getRemoteSkillEligibility, B as resolveOutboundTarget, It as getSkillsSnapshotVersion, V as resolveSessionDeliveryTarget, c as runEmbeddedPiKoi, hn as KOI_LANE_NESTED, i as runCliKoi, ir as applyVerboseOverride, lr as loadModelCatalog, n as getCliSessionId, nr as clearSessionAuthProfileOverride, nt as runWithModelFallback, o as resolveSendPolicy, p as compactEmbeddedPiSession, r as setCliSessionId, rr as applyModelOverrideToSessionEntry, tr as lookupContextTokens, wr as resolveKoiTimeoutMs } from "./reply-
|
|
2
|
+
import { At as getRemoteSkillEligibility, B as resolveOutboundTarget, It as getSkillsSnapshotVersion, V as resolveSessionDeliveryTarget, c as runEmbeddedPiKoi, hn as KOI_LANE_NESTED, i as runCliKoi, ir as applyVerboseOverride, lr as loadModelCatalog, n as getCliSessionId, nr as clearSessionAuthProfileOverride, nt as runWithModelFallback, o as resolveSendPolicy, p as compactEmbeddedPiSession, r as setCliSessionId, rr as applyModelOverrideToSessionEntry, tr as lookupContextTokens, wr as resolveKoiTimeoutMs } from "./reply-BwxJW2E1.js";
|
|
3
3
|
import { k as DEFAULT_CHAT_CHANNEL, s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
4
4
|
import { d as resolveKoiIdFromSessionKey, l as normalizeKoiId, u as normalizeMainKey } from "./session-key-B2OXLVi_.js";
|
|
5
5
|
import { S as ensureKoiWorkspace, a as resolveKoiDir, c as resolveKoiSkillsFilter, l as resolveKoiWorkspaceDir, n as listKoiIds, o as resolveKoiModelFallbacksOverride, s as resolveKoiModelPrimary } from "./koi-scope-je0O-Kk9.js";
|
|
@@ -13,7 +13,7 @@ import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-DLKQ
|
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CyCC5657.js";
|
|
14
14
|
import { n as emitKoiEvent, o as registerKoiRunContext, t as clearKoiRunContext } from "./koi-events-DhwDeG-q.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-BNV86lI0.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-CSXtoJbv.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -8,7 +8,7 @@ import { o as loadConfig, u as writeConfigFile } from "./config-ZjEd8561.js";
|
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CaDAAMe0.js";
|
|
9
9
|
import { r as loadOrCreateDeviceIdentity } from "./device-identity-CpMBJtRJ.js";
|
|
10
10
|
import { Ot as PROTOCOL_VERSION, n as GatewayClient } from "./client-BM6xyPUD.js";
|
|
11
|
-
import { t as ensureLocalGatewayRunning } from "./ensure-local-gateway-
|
|
11
|
+
import { t as ensureLocalGatewayRunning } from "./ensure-local-gateway-Cnmpl0Hl.js";
|
|
12
12
|
import { existsSync } from "node:fs";
|
|
13
13
|
import path, { join } from "node:path";
|
|
14
14
|
import os, { homedir, hostname, release } from "node:os";
|
|
@@ -445,6 +445,10 @@ async function claimDeviceToKoi(platformUrl, token) {
|
|
|
445
445
|
token: gatewayToken
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
|
+
commands: {
|
|
449
|
+
...cfg.commands,
|
|
450
|
+
restart: true
|
|
451
|
+
},
|
|
448
452
|
models: {
|
|
449
453
|
...cfg.models,
|
|
450
454
|
providers: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-wHze4-BZ.js";
|
|
2
|
-
import { Ct as loadProviderUsageSummary, Et as resolveUsageProviderId, Tt as formatUsageWindowSummary, c as runEmbeddedPiKoi, lr as loadModelCatalog, rt as describeFailoverError } from "./reply-
|
|
2
|
+
import { Ct as loadProviderUsageSummary, Et as resolveUsageProviderId, Tt as formatUsageWindowSummary, c as runEmbeddedPiKoi, lr as loadModelCatalog, rt as describeFailoverError } from "./reply-BwxJW2E1.js";
|
|
3
3
|
import { s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
4
4
|
import { t as CONFIG_PATH } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { n as isRich$1, r as theme, t as colorize } from "./theme-C5EwWDWE.js";
|
|
@@ -71,7 +71,7 @@ import "./event-log-CL2tmo5v.js";
|
|
|
71
71
|
import { n as logConfigUpdated } from "./logging-CSvbGeqF.js";
|
|
72
72
|
import "./note-DdyFyHLV.js";
|
|
73
73
|
import { t as createClackPrompter } from "./clack-prompter-CCgKKgnN.js";
|
|
74
|
-
import { a as normalizeAlias, c as updateConfig, d as resolvePluginProviders, i as formatTokenK, l as createVpsAwareOAuthHandlers, n as ensureFlagCompatibility, o as resolveKnownKoiId, pt as validateAnthropicSetupToken, r as formatMs, s as resolveModelTarget, t as githubCopilotLoginCommand, u as isRemoteEnvironment, v as applyAuthProfileConfig } from "./github-copilot-auth-
|
|
74
|
+
import { a as normalizeAlias, c as updateConfig, d as resolvePluginProviders, i as formatTokenK, l as createVpsAwareOAuthHandlers, n as ensureFlagCompatibility, o as resolveKnownKoiId, pt as validateAnthropicSetupToken, r as formatMs, s as resolveModelTarget, t as githubCopilotLoginCommand, u as isRemoteEnvironment, v as applyAuthProfileConfig } from "./github-copilot-auth-O8q6Tzc2.js";
|
|
75
75
|
import { t as renderTable } from "./table-C-_kZeNX.js";
|
|
76
76
|
import { i as redactSecrets } from "./format-gY12iuBU.js";
|
|
77
77
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-BQXG_lTS.js";
|
|
@@ -33,12 +33,12 @@ import { t as isWSL } from "./wsl-HoIhaCSz.js";
|
|
|
33
33
|
import "./control-service-CA_ju030.js";
|
|
34
34
|
import { c as formatNodeServiceDescription, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, m as resolveNodeLaunchAgentLabel } from "./constants-FTouVoUS.js";
|
|
35
35
|
import "./path-env-DLiKMTfX.js";
|
|
36
|
-
import { o as resolveGatewayLogPaths } from "./service-
|
|
36
|
+
import { o as resolveGatewayLogPaths } from "./service-C39M-g_I.js";
|
|
37
37
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CKUsCXqF.js";
|
|
38
|
-
import { t as resolveNodeService } from "./node-service-
|
|
38
|
+
import { t as resolveNodeService } from "./node-service-jOcYNww7.js";
|
|
39
39
|
import { d as renderSystemNodeWarning, f as resolvePreferredNodePath, h as resolveNodeProgramArguments, o as resolveGatewayDevMode, p as resolveSystemNodeInfo, r as isGatewayDaemonRuntime, s as buildNodeServiceEnvironment, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CyWCBhlo.js";
|
|
40
40
|
import { n as renderSystemdUnavailableHints } from "./systemd-hints-vhH0G2VV.js";
|
|
41
|
-
import { d as createNullWriter, f as emitDaemonActionJson, i as parsePort, n as formatRuntimeStatus, u as buildDaemonServiceSnapshot } from "./shared-
|
|
41
|
+
import { d as createNullWriter, f as emitDaemonActionJson, i as parsePort, n as formatRuntimeStatus, u as buildDaemonServiceSnapshot } from "./shared-C4Oo-GQQ.js";
|
|
42
42
|
import { n as loadNodeHostConfig, t as runNodeHost } from "./runner-CxSOzhvl.js";
|
|
43
43
|
|
|
44
44
|
//#region src/commands/node-daemon-install-helpers.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as NODE_SERVICE_MARKER, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, o as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-FTouVoUS.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-C39M-g_I.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { St as loadSKYKOIPlugins } from "./reply-BwxJW2E1.js";
|
|
2
2
|
import { A as formatChannelPrimerLine, N as listChatChannels, j as formatChannelSelectionLine, t as createSubsystemLogger } from "./subsystem-hATE68va.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-B2OXLVi_.js";
|
|
4
4
|
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-je0O-Kk9.js";
|
|
@@ -7,7 +7,7 @@ import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Ct7Mnq
|
|
|
7
7
|
import { t as formatDocsLink } from "./links-BupJpVpQ.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Cg7M1qEA.js";
|
|
9
9
|
import { i as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-WPZfV7Dp.js";
|
|
10
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
10
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-DuX6T1D9.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { lr as loadModelCatalog } from "./reply-
|
|
1
|
+
import { lr as loadModelCatalog } from "./reply-BwxJW2E1.js";
|
|
2
2
|
import { f as resolveConfigDir, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-D019Z2NU.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-XH65-wH1.js";
|
|
4
4
|
import { T as resolveDefaultKoiWorkspaceDir, a as resolveKoiDir, l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId, s as resolveKoiModelPrimary } from "./koi-scope-je0O-Kk9.js";
|
|
@@ -9,8 +9,8 @@ import { _ as resolveSkillKey, d as hasBinary, i as loadWorkspaceSkillEntries, t
|
|
|
9
9
|
import { Y as fetchWithSsrFGuard } from "./deliver-CyCC5657.js";
|
|
10
10
|
import { d as openUrl, g as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-FO60qqTG.js";
|
|
11
11
|
import { t as resolveBrewExecutable } from "./brew-COH7amz_.js";
|
|
12
|
-
import { $ as setOpenrouterApiKey, A as applyQianfanProviderConfig, B as applyXiaomiProviderConfig, C as applyMoonshotConfig, D as applyOpenrouterConfig, E as applyMoonshotProviderConfigCn, F as applyVercelAiGatewayConfig, G as ZAI_DEFAULT_MODEL_REF, H as OPENROUTER_DEFAULT_MODEL_REF, I as applyVercelAiGatewayProviderConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, M as applySyntheticProviderConfig, N as applyVeniceConfig, O as applyOpenrouterProviderConfig, P as applyVeniceProviderConfig, Q as setOpencodeZenApiKey, R as applyXaiProviderConfig, S as applyKimiCodeProviderConfig, T as applyMoonshotProviderConfig, U as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, V as applyZaiConfig, W as XIAOMI_DEFAULT_MODEL_REF, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, _ as applyMinimaxProviderConfig, at as setXiaomiApiKey, b as applyCloudflareAiGatewayProviderConfig, ct as KIMI_CODING_MODEL_REF, d as resolvePluginProviders, dt as XAI_DEFAULT_MODEL_REF, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, h as applyMinimaxApiProviderConfig, i as formatTokenK, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, l as createVpsAwareOAuthHandlers, lt as MOONSHOT_DEFAULT_MODEL_REF, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, p as applyOpencodeZenProviderConfig, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, st as writeOAuthCredentials, t as githubCopilotLoginCommand, tt as setSyntheticApiKey, u as isRemoteEnvironment, ut as QIANFAN_DEFAULT_MODEL_REF, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-
|
|
13
|
-
import { a as enablePluginInConfig } from "./onboard-channels-
|
|
12
|
+
import { $ as setOpenrouterApiKey, A as applyQianfanProviderConfig, B as applyXiaomiProviderConfig, C as applyMoonshotConfig, D as applyOpenrouterConfig, E as applyMoonshotProviderConfigCn, F as applyVercelAiGatewayConfig, G as ZAI_DEFAULT_MODEL_REF, H as OPENROUTER_DEFAULT_MODEL_REF, I as applyVercelAiGatewayProviderConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, M as applySyntheticProviderConfig, N as applyVeniceConfig, O as applyOpenrouterProviderConfig, P as applyVeniceProviderConfig, Q as setOpencodeZenApiKey, R as applyXaiProviderConfig, S as applyKimiCodeProviderConfig, T as applyMoonshotProviderConfig, U as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, V as applyZaiConfig, W as XIAOMI_DEFAULT_MODEL_REF, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, _ as applyMinimaxProviderConfig, at as setXiaomiApiKey, b as applyCloudflareAiGatewayProviderConfig, ct as KIMI_CODING_MODEL_REF, d as resolvePluginProviders, dt as XAI_DEFAULT_MODEL_REF, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, h as applyMinimaxApiProviderConfig, i as formatTokenK, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, l as createVpsAwareOAuthHandlers, lt as MOONSHOT_DEFAULT_MODEL_REF, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, p as applyOpencodeZenProviderConfig, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, st as writeOAuthCredentials, t as githubCopilotLoginCommand, tt as setSyntheticApiKey, u as isRemoteEnvironment, ut as QIANFAN_DEFAULT_MODEL_REF, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-O8q6Tzc2.js";
|
|
13
|
+
import { a as enablePluginInConfig } from "./onboard-channels-C3mQEHKo.js";
|
|
14
14
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BCGU84pB.js";
|
|
15
15
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-B0uJbSLd.js";
|
|
16
16
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-BVskGRhX.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as getRemoteSkillEligibility, Ct as loadProviderUsageSummary, S as listKoisForGateway, bn as getMemorySearchManager, cr as peekSystemEvents, f as sha256HexPrefix, tr as lookupContextTokens, wt as formatUsageReportLines } from "./reply-
|
|
1
|
+
import { At as getRemoteSkillEligibility, Ct as loadProviderUsageSummary, S as listKoisForGateway, bn as getMemorySearchManager, cr as peekSystemEvents, f as sha256HexPrefix, tr as lookupContextTokens, wt as formatUsageReportLines } from "./reply-BwxJW2E1.js";
|
|
2
2
|
import { c as restoreTerminalState, p as info, s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
3
3
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { n as isRich, r as theme } from "./theme-C5EwWDWE.js";
|
|
@@ -24,25 +24,25 @@ import { a as findTailscaleBinary, o as getTailnetHostname, s as readTailscaleSt
|
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Cg7M1qEA.js";
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-CSvbGeqF.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-B1n8UQzX.js";
|
|
27
|
-
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-
|
|
28
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
29
|
-
import { a as resolveHeartbeatSummaryForKoi, i as healthCommand, n as formatHealthChannelLines, t as formatHealthCheckFailure } from "./health-format-
|
|
27
|
+
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-BZxz4pel.js";
|
|
28
|
+
import { n as setupChannels } from "./onboard-channels-C3mQEHKo.js";
|
|
29
|
+
import { a as resolveHeartbeatSummaryForKoi, i as healthCommand, n as formatHealthChannelLines, t as formatHealthCheckFailure } from "./health-format-CYWQ09j2.js";
|
|
30
30
|
import { _ as resolveEffectiveUpdateChannel, c as compareSemverStrings, g as normalizeUpdateChannel, h as formatUpdateChannelLabel, s as checkUpdateStatus } from "./update-runner-BF2ZUZuV.js";
|
|
31
31
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-DV5HL3bN.js";
|
|
32
32
|
import { t as renderTable } from "./table-C-_kZeNX.js";
|
|
33
33
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-B0uJbSLd.js";
|
|
34
|
-
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
34
|
+
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-C39M-g_I.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CKUsCXqF.js";
|
|
36
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
37
|
-
import { t as resolveNodeService } from "./node-service-
|
|
36
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-Dttptyw7.js";
|
|
37
|
+
import { t as resolveNodeService } from "./node-service-jOcYNww7.js";
|
|
38
38
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-D_rjAibL.js";
|
|
39
39
|
import { i as redactSecrets, n as formatDuration$1, r as formatGatewayAuthUsed, t as formatAge$1 } from "./format-gY12iuBU.js";
|
|
40
|
-
import { a as formatUpdateOneLiner, i as formatUpdateAvailableHint, o as getUpdateCheckResult, r as ensureCompletionCacheExists, s as resolveUpdateAvailability, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
40
|
+
import { a as formatUpdateOneLiner, i as formatUpdateAvailableHint, o as getUpdateCheckResult, r as ensureCompletionCacheExists, s as resolveUpdateAvailability, t as checkShellCompletionStatus } from "./doctor-completion-ZsvXf-in.js";
|
|
41
41
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-C6cSlkkc.js";
|
|
42
42
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CyWCBhlo.js";
|
|
43
|
-
import { r as installCompletion } from "./completion-cli-
|
|
43
|
+
import { r as installCompletion } from "./completion-cli-B0UUwvfE.js";
|
|
44
44
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-CxWUG7p9.js";
|
|
45
|
-
import { t as runTui } from "./tui-
|
|
45
|
+
import { t as runTui } from "./tui-DfpQYar2.js";
|
|
46
46
|
import fs from "node:fs";
|
|
47
47
|
import path from "node:path";
|
|
48
48
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { St as loadSKYKOIPlugins } from "./reply-BwxJW2E1.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-hATE68va.js";
|
|
3
3
|
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-je0O-Kk9.js";
|
|
4
4
|
import { o as loadConfig } from "./config-ZjEd8561.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import { exec as exec$1 } 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";
|
|
@@ -228310,7 +228310,7 @@ const BUFFERABLE_EVENT_SET = new Set([
|
|
|
228310
228310
|
* making the data processing more efficient.
|
|
228311
228311
|
*/
|
|
228312
228312
|
const makeEventBuffer = (logger) => {
|
|
228313
|
-
const ev = new EventEmitter();
|
|
228313
|
+
const ev = new EventEmitter$1();
|
|
228314
228314
|
const historyCache = /* @__PURE__ */ new Set();
|
|
228315
228315
|
let data = makeBufferData();
|
|
228316
228316
|
let isBuffering = false;
|
|
@@ -233880,7 +233880,7 @@ var BinaryInfo = class {
|
|
|
233880
233880
|
|
|
233881
233881
|
//#endregion
|
|
233882
233882
|
//#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
|
|
233883
|
-
var AbstractSocketClient = class extends EventEmitter
|
|
233883
|
+
var AbstractSocketClient = class extends EventEmitter {
|
|
233884
233884
|
constructor(url, config) {
|
|
233885
233885
|
super();
|
|
233886
233886
|
this.url = url;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-wHze4-BZ.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BwxJW2E1.js";
|
|
3
3
|
import { s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { r as theme } from "./theme-C5EwWDWE.js";
|
|
@@ -66,12 +66,12 @@ import "./control-service-CA_ju030.js";
|
|
|
66
66
|
import "./restart-sentinel-BqQzvk3k.js";
|
|
67
67
|
import "./channel-selection-DhBJOelv.js";
|
|
68
68
|
import "./event-log-CL2tmo5v.js";
|
|
69
|
-
import { i as resolveArchiveKind } from "./archive-
|
|
69
|
+
import { i as resolveArchiveKind } from "./archive-C08F4Wb5.js";
|
|
70
70
|
import "./skill-scanner-BCGU84pB.js";
|
|
71
|
-
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-
|
|
71
|
+
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-DuX6T1D9.js";
|
|
72
72
|
import { t as renderTable } from "./table-C-_kZeNX.js";
|
|
73
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
74
|
-
import { n as updateNpmInstalledPlugins } from "./update-
|
|
73
|
+
import { t as buildPluginStatusReport } from "./status-BCvh8ZAj.js";
|
|
74
|
+
import { n as updateNpmInstalledPlugins } from "./update-mmV_ASqn.js";
|
|
75
75
|
import fs from "node:fs";
|
|
76
76
|
import path from "node:path";
|
|
77
77
|
|
|
@@ -5,11 +5,11 @@ import { n as replaceCliName, r as resolveCliName } from "./command-format-DOYW_
|
|
|
5
5
|
import { t as isTruthyEnvValue } from "./env-ChCKTuXK.js";
|
|
6
6
|
import { t as VERSION } from "./version-BKRSzdyx.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-BupJpVpQ.js";
|
|
8
|
-
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-
|
|
9
|
-
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-
|
|
10
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
11
|
-
import { a as hasEmittedCliBanner, i as formatCliBannerLine, r as emitCliBanner } from "./tui-
|
|
12
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
8
|
+
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-B27OqERJ.js";
|
|
9
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-BqAY69Mw.js";
|
|
10
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CRtu281p.js";
|
|
11
|
+
import { a as hasEmittedCliBanner, i as formatCliBannerLine, r as emitCliBanner } from "./tui-DfpQYar2.js";
|
|
12
|
+
import { n as resolveCliChannelOptions } from "./channel-options-CDJ5CDRM.js";
|
|
13
13
|
import { Command } from "commander";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/program/context.ts
|
|
@@ -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-Dy66Ij5H.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-BGui5bJk.js").then((n) => n.t)).registerDaemonCli(program);
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -152,14 +152,14 @@ 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-IVR920xr.js")).registerModelsCli(program);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
name: "approvals",
|
|
160
160
|
description: "Exec approvals",
|
|
161
161
|
register: async (program) => {
|
|
162
|
-
(await import("./exec-approvals-cli-
|
|
162
|
+
(await import("./exec-approvals-cli-sNAqB3MX.js")).registerExecApprovalsCli(program);
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
{
|
|
@@ -180,7 +180,7 @@ const entries = [
|
|
|
180
180
|
name: "node",
|
|
181
181
|
description: "Node control",
|
|
182
182
|
register: async (program) => {
|
|
183
|
-
(await import("./node-cli-
|
|
183
|
+
(await import("./node-cli-CEPSBe6d.js")).registerNodeCli(program);
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
{
|
|
@@ -194,7 +194,7 @@ const entries = [
|
|
|
194
194
|
name: "tui",
|
|
195
195
|
description: "Terminal UI",
|
|
196
196
|
register: async (program) => {
|
|
197
|
-
(await import("./tui-cli-
|
|
197
|
+
(await import("./tui-cli-D_acYEjr.js")).registerTuiCli(program);
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
{
|
|
@@ -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-B1pVma0T.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-wJIzZEbO.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-BOzaLTzZ.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-HSRy33tR.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-wJIzZEbO.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-DBhMJMdG.js")).registerChannelsCli(program);
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
{
|
|
@@ -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-tPWAuE4x.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-B0UUwvfE.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -139892,6 +139892,7 @@ function buildKoiSystemPrompt(params) {
|
|
|
139892
139892
|
"Actions: config.get, config.schema, config.apply (validate + write full config, then restart), update.run (update deps or git, then restart).",
|
|
139893
139893
|
"After restart, SKYKOI pings the last active session automatically."
|
|
139894
139894
|
].join("\n") : "",
|
|
139895
|
+
hasGateway && !isMinimal ? ["If you ever need to restart yourself (your gateway is wedged, you applied a change, you want a clean slate), ALWAYS use the gateway tool's `restart` action. It restarts you in-process and you come back automatically — the chat reconnects on its own within a couple of seconds, and if a restart hiccups it keeps retrying until you're back, so you never end up dead.", "NEVER restart yourself by running shell commands (killing the node process, launchctl/systemctl/schtasks, pkill, or any exec/process call). Those kill the very process you're running in and can leave you offline — the gateway `restart` action is the only safe way to come back to life."].join("\n") : "",
|
|
139895
139896
|
hasGateway && !isMinimal ? "" : "",
|
|
139896
139897
|
"",
|
|
139897
139898
|
params.modelAliasLines && params.modelAliasLines.length > 0 && !isMinimal ? "## Model Aliases" : "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-wHze4-BZ.js";
|
|
2
|
-
import { et as loadDotEnv, qt as installUnhandledRejectionHandler } from "./reply-
|
|
2
|
+
import { et as loadDotEnv, qt as installUnhandledRejectionHandler } from "./reply-BwxJW2E1.js";
|
|
3
3
|
import { r as enableConsoleCapture, s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./theme-C5EwWDWE.js";
|
|
@@ -66,54 +66,54 @@ import "./control-service-CA_ju030.js";
|
|
|
66
66
|
import "./restart-sentinel-BqQzvk3k.js";
|
|
67
67
|
import "./channel-selection-DhBJOelv.js";
|
|
68
68
|
import "./event-log-CL2tmo5v.js";
|
|
69
|
-
import "./deps-
|
|
69
|
+
import "./deps-CSXtoJbv.js";
|
|
70
70
|
import "./tailscale-CDBmRrBH.js";
|
|
71
71
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DLiKMTfX.js";
|
|
72
72
|
import { t as assertSupportedRuntime } from "./runtime-guard-Btp4Sks0.js";
|
|
73
|
-
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-
|
|
73
|
+
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-B27OqERJ.js";
|
|
74
74
|
import "./logging-CSvbGeqF.js";
|
|
75
75
|
import "./note-DdyFyHLV.js";
|
|
76
76
|
import "./clack-prompter-CCgKKgnN.js";
|
|
77
|
-
import "./onboarding-
|
|
78
|
-
import "./onboard-skills-
|
|
79
|
-
import "./github-copilot-auth-
|
|
80
|
-
import "./onboard-channels-
|
|
77
|
+
import "./onboarding-C7DvjlYE.js";
|
|
78
|
+
import "./onboard-skills-BZxz4pel.js";
|
|
79
|
+
import "./github-copilot-auth-O8q6Tzc2.js";
|
|
80
|
+
import "./onboard-channels-C3mQEHKo.js";
|
|
81
81
|
import "./plugin-auto-enable-WPZfV7Dp.js";
|
|
82
|
-
import "./archive-
|
|
82
|
+
import "./archive-C08F4Wb5.js";
|
|
83
83
|
import "./skill-scanner-BCGU84pB.js";
|
|
84
|
-
import "./installs-
|
|
85
|
-
import "./health-format-
|
|
84
|
+
import "./installs-DuX6T1D9.js";
|
|
85
|
+
import "./health-format-CYWQ09j2.js";
|
|
86
86
|
import "./update-runner-BF2ZUZuV.js";
|
|
87
87
|
import "./auth-CeZ-Kq3Y.js";
|
|
88
88
|
import "./audit-DV5HL3bN.js";
|
|
89
89
|
import "./table-C-_kZeNX.js";
|
|
90
90
|
import "./skills-status-B0uJbSLd.js";
|
|
91
|
-
import "./service-
|
|
91
|
+
import "./service-C39M-g_I.js";
|
|
92
92
|
import "./systemd-CKUsCXqF.js";
|
|
93
|
-
import "./diagnostics-
|
|
94
|
-
import "./node-service-
|
|
93
|
+
import "./diagnostics-Dttptyw7.js";
|
|
94
|
+
import "./node-service-jOcYNww7.js";
|
|
95
95
|
import "./channels-status-issues-D_rjAibL.js";
|
|
96
|
-
import "./doctor-completion-
|
|
97
|
-
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-
|
|
96
|
+
import "./doctor-completion-ZsvXf-in.js";
|
|
97
|
+
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-BqAY69Mw.js";
|
|
98
98
|
import "./gateway-rpc-BLmNrKaj.js";
|
|
99
99
|
import "./help-format-BgbvAVIq.js";
|
|
100
|
-
import "./admin-unlock-
|
|
101
|
-
import "./koi-
|
|
102
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
100
|
+
import "./admin-unlock-CLWvWdKM.js";
|
|
101
|
+
import "./koi-BnqYdj-G.js";
|
|
102
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CRtu281p.js";
|
|
103
103
|
import "./control-ui-assets-C6cSlkkc.js";
|
|
104
|
-
import "./configure-
|
|
104
|
+
import "./configure-TRe86kqT.js";
|
|
105
105
|
import "./daemon-runtime-CyWCBhlo.js";
|
|
106
106
|
import "./systemd-linger-Cu8buxAR.js";
|
|
107
107
|
import "./widearea-dns-BVskGRhX.js";
|
|
108
108
|
import "./bonjour-discovery-DjvriZpZ.js";
|
|
109
|
-
import "./ensure-local-gateway-
|
|
110
|
-
import "./login-
|
|
109
|
+
import "./ensure-local-gateway-Cnmpl0Hl.js";
|
|
110
|
+
import "./login-BI40_AE6.js";
|
|
111
111
|
import "./auth-health-BQXG_lTS.js";
|
|
112
|
-
import "./doctor-
|
|
113
|
-
import "./completion-cli-
|
|
114
|
-
import "./service-audit-
|
|
112
|
+
import "./doctor-DksNrjwD.js";
|
|
113
|
+
import "./completion-cli-B0UUwvfE.js";
|
|
114
|
+
import "./service-audit-B0wTydvm.js";
|
|
115
115
|
import "./hooks-status-CxWUG7p9.js";
|
|
116
|
-
import { r as emitCliBanner } from "./tui-
|
|
116
|
+
import { r as emitCliBanner } from "./tui-DfpQYar2.js";
|
|
117
117
|
import process$1 from "node:process";
|
|
118
118
|
import { fileURLToPath } from "node:url";
|
|
119
119
|
import fs from "node:fs";
|
|
@@ -167,7 +167,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
167
167
|
assertSupportedRuntime();
|
|
168
168
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
169
169
|
enableConsoleCapture();
|
|
170
|
-
const { buildProgram } = await import("./program-
|
|
170
|
+
const { buildProgram } = await import("./program-B5mPpV8y.js").then((n) => n.t);
|
|
171
171
|
const program = buildProgram();
|
|
172
172
|
installUnhandledRejectionHandler();
|
|
173
173
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -180,7 +180,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
180
180
|
if (!hasAnyArg && !wantsHelpOrVersion) {
|
|
181
181
|
let isLoggedIn = false;
|
|
182
182
|
try {
|
|
183
|
-
const { readAuthFile } = await import("./login-
|
|
183
|
+
const { readAuthFile } = await import("./login-BI40_AE6.js").then((n) => n.n);
|
|
184
184
|
isLoggedIn = !!(await readAuthFile())?.token;
|
|
185
185
|
} catch {}
|
|
186
186
|
let defaultCommand = "tui";
|
|
@@ -190,7 +190,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
190
190
|
const choice = await runFirstRunWelcome();
|
|
191
191
|
if (choice === null) return;
|
|
192
192
|
if (choice === "admin") {
|
|
193
|
-
const { adminUnlockCommand } = await import("./admin-unlock-
|
|
193
|
+
const { adminUnlockCommand } = await import("./admin-unlock-CLWvWdKM.js").then((n) => n.n);
|
|
194
194
|
if (!await adminUnlockCommand({})) return;
|
|
195
195
|
defaultCommand = "tui";
|
|
196
196
|
} else defaultCommand = choice;
|
|
@@ -200,11 +200,11 @@ async function runCli(argv = process$1.argv) {
|
|
|
200
200
|
}
|
|
201
201
|
const primary = getPrimaryCommand(parseArgv);
|
|
202
202
|
if (primary) {
|
|
203
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
203
|
+
const { registerSubCliByName } = await import("./register.subclis-BqAY69Mw.js").then((n) => n.i);
|
|
204
204
|
await registerSubCliByName(program, primary);
|
|
205
205
|
}
|
|
206
206
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
207
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
207
|
+
const { registerPluginCliCommands } = await import("./cli-wJIzZEbO.js");
|
|
208
208
|
const { loadConfig } = await import("./config-ZjEd8561.js").then((n) => n.t);
|
|
209
209
|
registerPluginCliCommands(program, loadConfig());
|
|
210
210
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-wHze4-BZ.js";
|
|
2
|
-
import { T as loadSessionEntry, or as enqueueSystemEvent, yt as requestHeartbeatNow } from "./reply-
|
|
2
|
+
import { T as loadSessionEntry, or as enqueueSystemEvent, yt as requestHeartbeatNow } from "./reply-BwxJW2E1.js";
|
|
3
3
|
import { s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./theme-C5EwWDWE.js";
|
|
@@ -67,8 +67,8 @@ import "./control-service-CA_ju030.js";
|
|
|
67
67
|
import "./restart-sentinel-BqQzvk3k.js";
|
|
68
68
|
import "./channel-selection-DhBJOelv.js";
|
|
69
69
|
import "./event-log-CL2tmo5v.js";
|
|
70
|
-
import "./deps-
|
|
71
|
-
import { t as koiCommand } from "./koi-
|
|
70
|
+
import "./deps-CSXtoJbv.js";
|
|
71
|
+
import { t as koiCommand } from "./koi-BnqYdj-G.js";
|
|
72
72
|
import { t as formatForLog } from "./ws-log-D428yCp4.js";
|
|
73
73
|
import { randomUUID } from "node:crypto";
|
|
74
74
|
|
|
@@ -422,7 +422,10 @@ function buildTaskScript({ description, programArguments, workingDirectory, envi
|
|
|
422
422
|
lines.push(`set ${key}=${value}`);
|
|
423
423
|
}
|
|
424
424
|
const command = programArguments.map(quoteCmdArg).join(" ");
|
|
425
|
+
lines.push(":skykoi_gateway_loop");
|
|
425
426
|
lines.push(command);
|
|
427
|
+
lines.push("timeout /t 5 /nobreak >nul 2>&1");
|
|
428
|
+
lines.push("goto skykoi_gateway_loop");
|
|
426
429
|
return `${lines.join("\r\n")}\r\n`;
|
|
427
430
|
}
|
|
428
431
|
async function execSchtasks(args) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-FTouVoUS.js";
|
|
2
|
-
import { s as resolveLaunchAgentPlistPath } from "./service-
|
|
2
|
+
import { s as resolveLaunchAgentPlistPath } from "./service-C39M-g_I.js";
|
|
3
3
|
import { o as resolveSystemdUserUnitPath } from "./systemd-CKUsCXqF.js";
|
|
4
4
|
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-CyWCBhlo.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DOYW_19_.js";
|
|
3
3
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-FTouVoUS.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-C39M-g_I.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
function parsePort(raw) {
|
|
@@ -2,7 +2,7 @@ import { s as defaultRuntime, w as getResolvedLoggerSettings } from "./subsystem
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DOYW_19_.js";
|
|
3
3
|
import { a as pickPrimaryLanIPv4 } from "./net-CfmVEZqQ.js";
|
|
4
4
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-FTouVoUS.js";
|
|
5
|
-
import { o as resolveGatewayLogPaths } from "./service-
|
|
5
|
+
import { o as resolveGatewayLogPaths } from "./service-C39M-g_I.js";
|
|
6
6
|
import { Writable } from "node:stream";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/daemon-cli/response.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { St as loadSKYKOIPlugins } from "./reply-BwxJW2E1.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-hATE68va.js";
|
|
3
3
|
import { T as resolveDefaultKoiWorkspaceDir, l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-je0O-Kk9.js";
|
|
4
4
|
import { o as loadConfig } from "./config-ZjEd8561.js";
|