skykoi 2026.3.251 → 2026.3.253
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/{archive-BalvtV7n.js → archive-CDJmGzeL.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DHLjjz4C.js → channel-options-_19EE9b4.js} +1 -1
- package/dist/{channels-cli-BMmrMnyK.js → channels-cli-DtC_VsO5.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DoEMsZyv.js → cli-Dtqtl8Hj.js} +1 -1
- package/dist/{completion-cli-CTVcP0FE.js → completion-cli-B7tFGhHB.js} +1 -1
- package/dist/{config-guard-4_-Lcm-n.js → config-guard-7d5TcN9t.js} +13 -13
- package/dist/{configure-U_8jrwyE.js → configure-R9ISEbHW.js} +4 -4
- package/dist/{daemon-cli-k8OPpDVn.js → daemon-cli-f5i6R63O.js} +2 -2
- package/dist/{deps-CBuOPzmZ.js → deps-DVskPvgD.js} +1 -1
- package/dist/{doctor-j8VArGN_.js → doctor-CAv0cBlm.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-RH_JnyNO.js → gateway-cli-Byb4ahB-.js} +15 -15
- package/dist/{github-copilot-auth-DCIwmcwH.js → github-copilot-auth-Dye9bh84.js} +1 -1
- package/dist/{health-format-CdPqFC3y.js → health-format-B4sg83Kh.js} +1 -1
- package/dist/{hooks-cli-BLi_5D6B.js → hooks-cli-CAwlKjNP.js} +3 -3
- package/dist/index.js +19 -19
- package/dist/{installs-BRL6BHT1.js → installs-Vlsgerje.js} +1 -1
- package/dist/{koi-CFdJ5UZN.js → koi-9hiy5SRT.js} +2 -2
- package/dist/{models-cli-B2-wKBUS.js → models-cli-Cpu9pYi7.js} +2 -2
- package/dist/{onboard-channels-ClC2kb3J.js → onboard-channels-NmD1qdb3.js} +2 -2
- package/dist/{onboard-skills-BxV_pjk1.js → onboard-skills-Dbh1cm95.js} +3 -3
- package/dist/{onboarding-DN1UjD0P.js → onboarding-C99xw9ly.js} +6 -6
- package/dist/{plugin-registry-Cr6NKZlG.js → plugin-registry-D3qNuiO2.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/{plugins-cli-ClT7Jkqc.js → plugins-cli-BV4N6_Ww.js} +5 -5
- package/dist/{program-tnOQcaV7.js → program-Dky6FORb.js} +4 -4
- package/dist/{register.subclis-OWZZbzEg.js → register.subclis-Cu26Q7u1.js} +10 -10
- package/dist/{reply-rGYxKc7c.js → reply-izb3lJtZ.js} +9 -0
- package/dist/{run-main-Cak_D6q6.js → run-main-DG8NImXz.js} +20 -20
- package/dist/{server-node-events-BU6f46kZ.js → server-node-events-CD3cq9WQ.js} +3 -3
- package/dist/{status-B_UNxmC7.js → status-C42EfCDO.js} +1 -1
- package/dist/{update-v69tULVi.js → update-CEnpQzsW.js} +1 -1
- package/dist/{update-cli-DKhL29ew.js → update-cli-CN12IWjt.js} +11 -11
- package/dist/{update-runner-DJgrzqov.js → update-runner--DbGnmt2.js} +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { Ct as require_inherits } from "./reply-
|
|
2
|
+
import { Ct as require_inherits } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import * as tar from "tar";
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4c05c1e9c283f0928f8d1e281dea9a9f373dd4cceb0e0fad3999954499aed405
|
|
@@ -2,7 +2,7 @@ import { M as CHAT_CHANNEL_ORDER } from "./subsystem-RXphV8Xh.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BA3nu3t6.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-D6P_BD0C.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-PL5unXxJ.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D3qNuiO2.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { Cn as fetchChannelPermissionsDiscord, In as createSlackWebClient, Sn as parseDiscordTarget, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-
|
|
2
|
+
import { Cn as fetchChannelPermissionsDiscord, In as createSlackWebClient, Sn as parseDiscordTarget, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { N as DEFAULT_CHAT_CHANNEL, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, p as danger, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -63,14 +63,14 @@ import "./event-log-CRTHQkp5.js";
|
|
|
63
63
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BNuSQH6i.js";
|
|
64
64
|
import "./note-CrS1Szhk.js";
|
|
65
65
|
import { t as createClackPrompter } from "./clack-prompter-D65FuQH4.js";
|
|
66
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
66
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-NmD1qdb3.js";
|
|
67
67
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-PL5unXxJ.js";
|
|
68
|
-
import "./archive-
|
|
68
|
+
import "./archive-CDJmGzeL.js";
|
|
69
69
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
70
|
-
import "./installs-
|
|
70
|
+
import "./installs-Vlsgerje.js";
|
|
71
71
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-C88xoNq1.js";
|
|
72
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
73
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
72
|
+
import { n as hasExplicitOptions } from "./plugin-registry-D3qNuiO2.js";
|
|
73
|
+
import { t as formatCliChannelOptions } from "./channel-options-_19EE9b4.js";
|
|
74
74
|
import { t as buildChannelAccountSnapshot } from "./status-jB5_YcY1.js";
|
|
75
75
|
import { t as parseLogLine } from "./parse-log-line-D-aKdxYt.js";
|
|
76
76
|
import fs from "node:fs/promises";
|
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-f5i6R63O.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { _t as loadSKYKOIPlugins } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -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-Cu26Q7u1.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as formatControlUiSshHint, Et as applyWizardMetadata, Ft as openUrl, Ht as waitForGatewayReachable, Mt as handleReset, Nt as moveToTrash, Ot as detectBrowserOpenSupport, P as runMessageAction, Rt as randomToken, Tt as DEFAULT_WORKSPACE, U as CHANNEL_MESSAGE_ACTION_NAMES, V as formatTargetDisplay, an as registerMemoryCli, ft as CHANNEL_TARGETS_DESCRIPTION, kt as ensureWorkspaceAndSessions, on as runMemoryStatus, pt as CHANNEL_TARGET_DESCRIPTION, vr as lookupContextTokens, zt as resolveControlUiLinks } from "./reply-
|
|
1
|
+
import { At as formatControlUiSshHint, Et as applyWizardMetadata, Ft as openUrl, Ht as waitForGatewayReachable, Mt as handleReset, Nt as moveToTrash, Ot as detectBrowserOpenSupport, P as runMessageAction, Rt as randomToken, Tt as DEFAULT_WORKSPACE, U as CHANNEL_MESSAGE_ACTION_NAMES, V as formatTargetDisplay, an as registerMemoryCli, ft as CHANNEL_TARGETS_DESCRIPTION, kt as ensureWorkspaceAndSessions, on as runMemoryStatus, pt as CHANNEL_TARGET_DESCRIPTION, vr as lookupContextTokens, zt as resolveControlUiLinks } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { B as normalizeChatChannelId, C as colorize, I as getChatChannelMeta, N as DEFAULT_CHAT_CHANNEL, T as theme, c as defaultRuntime, l as restoreTerminalState, m as info, p as danger, w as isRich, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { g as resolveStateDir, i as isNixMode, m as resolveOAuthDir, o as resolveConfigPath, r as STATE_DIR, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { l as normalizeKoiId, n as DEFAULT_KOI_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -19,29 +19,29 @@ import { t as formatDocsLink } from "./links-BraPfmsh.js";
|
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-c9SIZezA.js";
|
|
20
20
|
import { n as withProgress } from "./progress-n072C1nN.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BioBnB_X.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-DVskPvgD.js";
|
|
23
23
|
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-s4bEPaLr.js";
|
|
24
24
|
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-
|
|
29
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
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-
|
|
31
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
32
|
-
import { l as healthCommand } from "./health-format-
|
|
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-C99xw9ly.js";
|
|
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
|
+
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
|
+
import { n as setupChannels } from "./onboard-channels-NmD1qdb3.js";
|
|
32
|
+
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-Cu26Q7u1.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
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
40
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
39
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-9hiy5SRT.js";
|
|
40
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-D3qNuiO2.js";
|
|
41
41
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-DUclfUl-.js";
|
|
42
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
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-CAv0cBlm.js";
|
|
45
45
|
import { fileURLToPath } from "node:url";
|
|
46
46
|
import fs from "node:fs";
|
|
47
47
|
import path from "node:path";
|
|
@@ -2792,7 +2792,7 @@ async function loadValidConfig() {
|
|
|
2792
2792
|
}
|
|
2793
2793
|
function registerConfigCli(program) {
|
|
2794
2794
|
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) => {
|
|
2795
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2795
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-R9ISEbHW.js").then((n) => n.t);
|
|
2796
2796
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2797
2797
|
if (sections.length === 0) {
|
|
2798
2798
|
await configureCommand(defaultRuntime);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { Et as applyWizardMetadata, Ht as waitForGatewayReachable, It as printWizardHeader, Lt as probeGatewayReachable, Pt as normalizeGatewayTokenInput, Rt as randomToken, Tt as DEFAULT_WORKSPACE, Vt as summarizeExistingConfig, jt as guardCancel, kt as ensureWorkspaceAndSessions, zt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { Et as applyWizardMetadata, Ht as waitForGatewayReachable, It as printWizardHeader, Lt as probeGatewayReachable, Pt as normalizeGatewayTokenInput, Rt as randomToken, Tt as DEFAULT_WORKSPACE, Vt as summarizeExistingConfig, jt as guardCancel, kt as ensureWorkspaceAndSessions, zt as resolveControlUiLinks } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { h as resolveUserPath, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-D_xKFcV1.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-CrS1Szhk.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-CL2SstQz.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-D65FuQH4.js";
|
|
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-
|
|
19
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
20
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
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-Dbh1cm95.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-NmD1qdb3.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-B4sg83Kh.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-bz-Q1pz8.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BjfFUdaX.js";
|
|
23
23
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { zt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { zt as resolveControlUiLinks } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { C as colorize, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, w as isRich } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -14,7 +14,7 @@ import { n as callGateway } from "./call-B0XDsG3E.js";
|
|
|
14
14
|
import { t as formatDocsLink } from "./links-BraPfmsh.js";
|
|
15
15
|
import { n as withProgress } from "./progress-n072C1nN.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-BgaL_XFJ.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-DVskPvgD.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-s4bEPaLr.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-bz-Q1pz8.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-WeDhEsPI.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fn as sendMessageSlack, Nn as sendMessageWhatsApp, bn as sendMessageDiscord, wt as sendMessageIMessage, yn as sendMessageTelegram } from "./reply-
|
|
1
|
+
import { Fn as sendMessageSlack, Nn as sendMessageWhatsApp, bn as sendMessageDiscord, wt as sendMessageIMessage, yn as sendMessageTelegram } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-CxXihUsx.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Er as loadModelCatalog, Et as applyWizardMetadata, It as printWizardHeader, Rt as randomToken, _t as loadSKYKOIPlugins, jt as guardCancel } from "./reply-
|
|
1
|
+
import { Er as loadModelCatalog, Et as applyWizardMetadata, It as printWizardHeader, Rt as randomToken, _t as loadSKYKOIPlugins, jt as guardCancel } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { O as getResolvedLoggerSettings, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { a as buildKoiMainSessionKey, l as normalizeKoiId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -26,8 +26,8 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BNuSQH6i.js";
|
|
|
26
26
|
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
|
-
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
30
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner
|
|
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--DbGnmt2.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-DG8NImXz.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
|
});
|
package/dist/extension-api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { Vr as resolveKoiTimeoutMs, c as runEmbeddedPiKoi, zn as resolveKoiIdentity } from "./reply-
|
|
2
|
+
import { Vr as resolveKoiTimeoutMs, c as runEmbeddedPiKoi, zn as resolveKoiIdentity } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { B as normalizeElevatedLevel, H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, U as normalizeUsageDisplay, V as normalizeReasoningLevel, W as normalizeVerboseLevel } from "./pi-embedded-helpers-BFOvHIvC.js";
|
|
3
|
-
import { $ as formatRestartSentinelMessage, $n as resolveTtsAutoMode, $t as getSkillsSnapshotVersion, A as readSessionMessages, An as findSubkoiRunByRunId, Ar as DEFAULT_INPUT_IMAGE_MAX_BYTES, B as resolveSessionDeliveryTarget, Bn as formatUserTime, C as listSessionsFromStore, Cr as enqueueSystemEvent, D as resolveSessionModelRef, Dn as isAbortTrigger, Dr as DEFAULT_INPUT_FILE_MAX_BYTES, E as resolveGatewaySessionStoreTarget, En as formatZonedTimestamp, Er as loadModelCatalog, F as ensureOutboundSessionEntry, Fr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, Gn as registerInternalHook, Gt as normalizeControlUiBasePath, H as resetDirectoryCache, Hn as resolveUserTimezone, I as resolveOutboundSessionRoute, Ir as DEFAULT_INPUT_TIMEOUT_MS, J as isGatewaySigusr1RestartExternallyAllowed, Jn as OPENAI_TTS_VOICES, Jt as primeRemoteSkillsCache, K as authorizeGatewaySigusr1Restart, Kn as triggerInternalHook, Kt as resolveAssistantAvatarUrl, Lr as extractFileContentFromSource, M as resolveSessionTranscriptCandidates, Mr as DEFAULT_INPUT_MAX_REDIRECTS, Mt as handleReset, N as stripEnvelopeFromMessages, Nr as DEFAULT_INPUT_PDF_MAX_PAGES, O as archiveFileOnDisk, On as stopSubkoisForRequester, Or as DEFAULT_INPUT_FILE_MAX_CHARS, Pn as normalizePollInput, Pr as DEFAULT_INPUT_PDF_MAX_PIXELS, Q as formatDoctorNonInteractiveHint, Qn as resolveTtsApiKey, Qt as setSkillsRemoteRegistry, Rr as extractImageContentFromSource, S as listKoisForGateway, Sr as parseVerboseOverride, St as handleSlackHttpRequest, T as loadSessionEntry, Tn as createReplyDispatcher, Un as clearInternalHooks, Ut as CONTROL_UI_AVATAR_PREFIX, Vn as resolveUserTimeFormat, Vr as resolveKoiTimeoutMs, W as runWithModelFallback, Wn as createInternalHookEvent, Wt as buildControlUiAvatarUrl, X as setGatewaySigusr1RestartPolicy, Xn as isTtsEnabled, Xt as refreshRemoteBinsForConnectedNodes, Y as scheduleGatewaySigusr1Restart, Yn as getTtsProvider, Yt as recordRemoteNodeInfo, Z as consumeRestartSentinel, Zn as isTtsProviderConfigured, Zt as refreshRemoteNodeBins, _ as getCanvasResource, _n as onHeartbeatEvent, _r as stripHeartbeatToken, _t as loadSKYKOIPlugins, a as normalizeSendPolicy, ar as textToSpeech, at as normalizeCronJobPatch, b as replaceCanvasResource, br as applyModelOverrideToSessionEntry, c as runEmbeddedPiKoi, cn as createReplyPrefixOptions, cr as setCommandLaneConcurrency, ct as normalizeOptionalText, d as waitForEmbeddedPiRunEnd, dn as registerUnhandledRejectionHandler, dr as stopDiagnosticHeartbeat, dt as migrateLegacyCronPayload, en as registerSkillsChangeListener, er as resolveTtsConfig, fr as isDiagnosticsEnabled, g as canvasUri, gn as getLastHeartbeatEvent, gt as getPluginToolMeta, h as createSKYKOITools, i as runCliKoi, in as isExternalHookSession, ir as setTtsProvider, it as normalizeCronJobCreate, j as readSessionPreviewItemsFromTranscript, jn as initSubkoiRegistry, jr as DEFAULT_INPUT_IMAGE_MIMES, k as capArrayByJsonBytes, kn as findSubkoiRunByChildSessionKey, kr as DEFAULT_INPUT_FILE_MIMES, l as abortEmbeddedPiRun, ln as normalizeGroupActivation, lr as CommandLane, lt as normalizePayloadToSystemText, m as initRuntimeContext, mn as resolveHeartbeatVisibility, mt as requestHeartbeatNow, n as getCliSessionId, nn as detectSuspiciousPatterns, nr as resolveTtsProviderOrder, o as resolveSendPolicy, ot as inferLegacyName, pn as buildHistoryContextFromEntries, pr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, q as consumeGatewaySigusr1RestartAuthorization, qn as OPENAI_TTS_MODELS, qt as getRemoteSkillEligibility, r as setCliSessionId, rn as getHookType, rr as setTtsEnabled, rt as writeRestartSentinel, s as clearSessionQueues, st as normalizeOptionalKoiId, tn as buildSafeExternalPrompt, tr as resolveTtsPrefsPath, tt as summarizeRestartSentinel, ur as startDiagnosticHeartbeat, ut as normalizeRequiredName, v as listCanvasUris, vr as lookupContextTokens, vt as loadProviderUsageSummary, w as loadCombinedSessionStoreForGateway, wn as dispatchInboundMessage, wr as isSystemEventContextChanged, x as resolveAnnounceTargetFromKey, xn as getChannelActivity, xr as applyVerboseOverride, y as onCanvasChange, z as resolveOutboundTarget, zn as resolveKoiIdentity, zr as normalizeMimeList } from "./reply-
|
|
3
|
+
import { $ as formatRestartSentinelMessage, $n as resolveTtsAutoMode, $t as getSkillsSnapshotVersion, A as readSessionMessages, An as findSubkoiRunByRunId, Ar as DEFAULT_INPUT_IMAGE_MAX_BYTES, B as resolveSessionDeliveryTarget, Bn as formatUserTime, C as listSessionsFromStore, Cr as enqueueSystemEvent, D as resolveSessionModelRef, Dn as isAbortTrigger, Dr as DEFAULT_INPUT_FILE_MAX_BYTES, E as resolveGatewaySessionStoreTarget, En as formatZonedTimestamp, Er as loadModelCatalog, F as ensureOutboundSessionEntry, Fr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, Gn as registerInternalHook, Gt as normalizeControlUiBasePath, H as resetDirectoryCache, Hn as resolveUserTimezone, I as resolveOutboundSessionRoute, Ir as DEFAULT_INPUT_TIMEOUT_MS, J as isGatewaySigusr1RestartExternallyAllowed, Jn as OPENAI_TTS_VOICES, Jt as primeRemoteSkillsCache, K as authorizeGatewaySigusr1Restart, Kn as triggerInternalHook, Kt as resolveAssistantAvatarUrl, Lr as extractFileContentFromSource, M as resolveSessionTranscriptCandidates, Mr as DEFAULT_INPUT_MAX_REDIRECTS, Mt as handleReset, N as stripEnvelopeFromMessages, Nr as DEFAULT_INPUT_PDF_MAX_PAGES, O as archiveFileOnDisk, On as stopSubkoisForRequester, Or as DEFAULT_INPUT_FILE_MAX_CHARS, Pn as normalizePollInput, Pr as DEFAULT_INPUT_PDF_MAX_PIXELS, Q as formatDoctorNonInteractiveHint, Qn as resolveTtsApiKey, Qt as setSkillsRemoteRegistry, Rr as extractImageContentFromSource, S as listKoisForGateway, Sr as parseVerboseOverride, St as handleSlackHttpRequest, T as loadSessionEntry, Tn as createReplyDispatcher, Un as clearInternalHooks, Ut as CONTROL_UI_AVATAR_PREFIX, Vn as resolveUserTimeFormat, Vr as resolveKoiTimeoutMs, W as runWithModelFallback, Wn as createInternalHookEvent, Wt as buildControlUiAvatarUrl, X as setGatewaySigusr1RestartPolicy, Xn as isTtsEnabled, Xt as refreshRemoteBinsForConnectedNodes, Y as scheduleGatewaySigusr1Restart, Yn as getTtsProvider, Yt as recordRemoteNodeInfo, Z as consumeRestartSentinel, Zn as isTtsProviderConfigured, Zt as refreshRemoteNodeBins, _ as getCanvasResource, _n as onHeartbeatEvent, _r as stripHeartbeatToken, _t as loadSKYKOIPlugins, a as normalizeSendPolicy, ar as textToSpeech, at as normalizeCronJobPatch, b as replaceCanvasResource, br as applyModelOverrideToSessionEntry, c as runEmbeddedPiKoi, cn as createReplyPrefixOptions, cr as setCommandLaneConcurrency, ct as normalizeOptionalText, d as waitForEmbeddedPiRunEnd, dn as registerUnhandledRejectionHandler, dr as stopDiagnosticHeartbeat, dt as migrateLegacyCronPayload, en as registerSkillsChangeListener, er as resolveTtsConfig, fr as isDiagnosticsEnabled, g as canvasUri, gn as getLastHeartbeatEvent, gt as getPluginToolMeta, h as createSKYKOITools, i as runCliKoi, in as isExternalHookSession, ir as setTtsProvider, it as normalizeCronJobCreate, j as readSessionPreviewItemsFromTranscript, jn as initSubkoiRegistry, jr as DEFAULT_INPUT_IMAGE_MIMES, k as capArrayByJsonBytes, kn as findSubkoiRunByChildSessionKey, kr as DEFAULT_INPUT_FILE_MIMES, l as abortEmbeddedPiRun, ln as normalizeGroupActivation, lr as CommandLane, lt as normalizePayloadToSystemText, m as initRuntimeContext, mn as resolveHeartbeatVisibility, mt as requestHeartbeatNow, n as getCliSessionId, nn as detectSuspiciousPatterns, nr as resolveTtsProviderOrder, o as resolveSendPolicy, ot as inferLegacyName, pn as buildHistoryContextFromEntries, pr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, q as consumeGatewaySigusr1RestartAuthorization, qn as OPENAI_TTS_MODELS, qt as getRemoteSkillEligibility, r as setCliSessionId, rn as getHookType, rr as setTtsEnabled, rt as writeRestartSentinel, s as clearSessionQueues, st as normalizeOptionalKoiId, tn as buildSafeExternalPrompt, tr as resolveTtsPrefsPath, tt as summarizeRestartSentinel, ur as startDiagnosticHeartbeat, ut as normalizeRequiredName, v as listCanvasUris, vr as lookupContextTokens, vt as loadProviderUsageSummary, w as loadCombinedSessionStoreForGateway, wn as dispatchInboundMessage, wr as isSystemEventContextChanged, x as resolveAnnounceTargetFromKey, xn as getChannelActivity, xr as applyVerboseOverride, y as onCanvasChange, z as resolveOutboundTarget, zn as resolveKoiIdentity, zr as normalizeMimeList } from "./reply-izb3lJtZ.js";
|
|
4
4
|
import { C as colorize, D as getLogger, E as getChildLogger, N as DEFAULT_CHAT_CHANNEL, O as getResolvedLoggerSettings, T as theme, V as getActivePluginRegistry, a as setConsoleTimestampPrefix, c as defaultRuntime, i as setConsoleSubsystemFilter, j as CHANNEL_IDS, n as runtimeForLogger, t as createSubsystemLogger, w as isRich, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
5
5
|
import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
6
6
|
import { _ as isSubkoiSessionKey, a as buildKoiMainSessionKey, d as resolveKoiIdFromSessionKey, l as normalizeKoiId, m as toKoiRequestSessionKey, n as DEFAULT_KOI_ID, t as DEFAULT_ACCOUNT_ID, u as normalizeMainKey, v as parseKoiSessionKey } from "./session-key-DvA8Pdt6.js";
|
|
@@ -67,7 +67,7 @@ import { n as createBrowserControlContext, r as startBrowserControlServiceFromCo
|
|
|
67
67
|
import { t as parseAbsoluteTimeMs } from "./parse-TGKW2P5S.js";
|
|
68
68
|
import { n as resolveMessageChannelSelection } from "./channel-selection-jyGnnq0E.js";
|
|
69
69
|
import { n as hydrateSession, r as readEventsSince, t as appendEvent } from "./event-log-CRTHQkp5.js";
|
|
70
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
70
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DVskPvgD.js";
|
|
71
71
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-BVFil2zN.js";
|
|
72
72
|
import { t as ensureSKYKOICliOnPath } from "./path-env-D7MDOz2j.js";
|
|
73
73
|
import "./daemon-runtime-s4bEPaLr.js";
|
|
@@ -76,16 +76,16 @@ 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-
|
|
80
|
-
import { n as installSkill } from "./onboard-skills-
|
|
81
|
-
import "./github-copilot-auth-
|
|
82
|
-
import "./onboard-channels-
|
|
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-C99xw9ly.js";
|
|
80
|
+
import { n as installSkill } from "./onboard-skills-Dbh1cm95.js";
|
|
81
|
+
import "./github-copilot-auth-Dye9bh84.js";
|
|
82
|
+
import "./onboard-channels-NmD1qdb3.js";
|
|
83
83
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-PL5unXxJ.js";
|
|
84
|
-
import "./archive-
|
|
84
|
+
import "./archive-CDJmGzeL.js";
|
|
85
85
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
86
|
-
import "./installs-
|
|
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-
|
|
88
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner
|
|
86
|
+
import "./installs-Vlsgerje.js";
|
|
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--DbGnmt2.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,16 +95,16 @@ 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-
|
|
99
|
-
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-
|
|
98
|
+
import "./register.subclis-Cu26Q7u1.js";
|
|
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-B7tFGhHB.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";
|
|
106
106
|
import "./shared-lkFihiKy.js";
|
|
107
|
-
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
107
|
+
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-f5i6R63O.js";
|
|
108
108
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CaREiIvb.js";
|
|
109
109
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeKoiEventForWsLog, t as formatForLog } from "./ws-log-DeKwTnzt.js";
|
|
110
110
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-7tO-yO-H.js";
|
|
@@ -11129,7 +11129,7 @@ const nodeHandlers = {
|
|
|
11129
11129
|
const p = params;
|
|
11130
11130
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11131
11131
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11132
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11132
|
+
const { handleNodeEvent } = await import("./server-node-events-CD3cq9WQ.js");
|
|
11133
11133
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11134
11134
|
await handleNodeEvent({
|
|
11135
11135
|
deps: context.deps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { l as normalizeKoiId } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { b as sleep } from "./utils-rBzA-VDv.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Hn as resolveUserTimezone, L as resolveHeartbeatDeliveryTarget, R as resolveHeartbeatSenderContext, Rn as resolveEffectiveMessagesConfig, Tr as peekSystemEvents, _r as stripHeartbeatToken, gr as resolveHeartbeatPrompt$1, hn as emitHeartbeatEvent, hr as isHeartbeatContentEffectivelyEmpty, ht as setHeartbeatWakeHandler, lr as CommandLane, mn as resolveHeartbeatVisibility, mr as DEFAULT_HEARTBEAT_EVERY, mt as requestHeartbeatNow, or as enqueueCommandInLane, pr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sr as getQueueSize, t as getReplyFromConfig, u as isEmbeddedPiRunActive, vn as resolveIndicatorType } from "./reply-
|
|
1
|
+
import { Hn as resolveUserTimezone, L as resolveHeartbeatDeliveryTarget, R as resolveHeartbeatSenderContext, Rn as resolveEffectiveMessagesConfig, Tr as peekSystemEvents, _r as stripHeartbeatToken, gr as resolveHeartbeatPrompt$1, hn as emitHeartbeatEvent, hr as isHeartbeatContentEffectivelyEmpty, ht as setHeartbeatWakeHandler, lr as CommandLane, mn as resolveHeartbeatVisibility, mr as DEFAULT_HEARTBEAT_EVERY, mt as requestHeartbeatNow, or as enqueueCommandInLane, pr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sr as getQueueSize, t as getReplyFromConfig, u as isEmbeddedPiRunActive, vn as resolveIndicatorType } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { C as colorize, T as theme, c as defaultRuntime, m as info, t as createSubsystemLogger, w as isRich } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { d as resolveKoiIdFromSessionKey, h as toKoiStoreSessionKey, l as normalizeKoiId } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-izb3lJtZ.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { h as resolveUserPath, t as CONFIG_DIR, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -58,10 +58,10 @@ import "./session-cost-usage-C3Scd8s_.js";
|
|
|
58
58
|
import "./control-service-D2mGSObN.js";
|
|
59
59
|
import "./channel-selection-jyGnnq0E.js";
|
|
60
60
|
import "./event-log-CRTHQkp5.js";
|
|
61
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
61
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-CDJmGzeL.js";
|
|
62
62
|
import { t as renderTable } from "./table-6UNPpVEx.js";
|
|
63
63
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-BYUTsP4m.js";
|
|
64
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
64
|
+
import { t as buildPluginStatusReport } from "./status-C42EfCDO.js";
|
|
65
65
|
import fs from "node:fs";
|
|
66
66
|
import path from "node:path";
|
|
67
67
|
import os from "node:os";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
3
|
-
import { Br as applyTemplate, fn as waitForever, sn as monitorWebChannel, t as getReplyFromConfig, un as installUnhandledRejectionHandler } from "./reply-
|
|
3
|
+
import { Br as applyTemplate, fn as waitForever, sn as monitorWebChannel, t as getReplyFromConfig, un as installUnhandledRejectionHandler } from "./reply-izb3lJtZ.js";
|
|
4
4
|
import { r as enableConsoleCapture } from "./subsystem-RXphV8Xh.js";
|
|
5
5
|
import "./paths-VdmjGGyc.js";
|
|
6
6
|
import { S as toWhatsappJid, d as normalizeE164, n as assertWebChannel } from "./utils-rBzA-VDv.js";
|
|
@@ -58,27 +58,27 @@ import "./session-cost-usage-C3Scd8s_.js";
|
|
|
58
58
|
import "./control-service-D2mGSObN.js";
|
|
59
59
|
import "./channel-selection-jyGnnq0E.js";
|
|
60
60
|
import "./event-log-CRTHQkp5.js";
|
|
61
|
-
import { t as createDefaultDeps } from "./deps-
|
|
61
|
+
import { t as createDefaultDeps } from "./deps-DVskPvgD.js";
|
|
62
62
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-BVFil2zN.js";
|
|
63
63
|
import { t as loadDotEnv } from "./dotenv-BhXDZTJk.js";
|
|
64
64
|
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-7d5TcN9t.js";
|
|
69
69
|
import "./logging-D_xKFcV1.js";
|
|
70
70
|
import "./note-CrS1Szhk.js";
|
|
71
71
|
import "./clack-prompter-D65FuQH4.js";
|
|
72
|
-
import "./onboarding-
|
|
73
|
-
import "./onboard-skills-
|
|
74
|
-
import "./github-copilot-auth-
|
|
75
|
-
import "./onboard-channels-
|
|
72
|
+
import "./onboarding-C99xw9ly.js";
|
|
73
|
+
import "./onboard-skills-Dbh1cm95.js";
|
|
74
|
+
import "./github-copilot-auth-Dye9bh84.js";
|
|
75
|
+
import "./onboard-channels-NmD1qdb3.js";
|
|
76
76
|
import "./plugin-auto-enable-PL5unXxJ.js";
|
|
77
|
-
import "./archive-
|
|
77
|
+
import "./archive-CDJmGzeL.js";
|
|
78
78
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
79
|
-
import "./installs-
|
|
80
|
-
import "./health-format-
|
|
81
|
-
import "./update-runner
|
|
79
|
+
import "./installs-Vlsgerje.js";
|
|
80
|
+
import "./health-format-B4sg83Kh.js";
|
|
81
|
+
import "./update-runner--DbGnmt2.js";
|
|
82
82
|
import "./auth-DcUFkxj-.js";
|
|
83
83
|
import "./audit-B_Ye62_8.js";
|
|
84
84
|
import "./table-6UNPpVEx.js";
|
|
@@ -88,22 +88,22 @@ 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-Cu26Q7u1.js";
|
|
92
92
|
import "./gateway-rpc-B5KSW1jh.js";
|
|
93
93
|
import "./help-format-BN200Sfc.js";
|
|
94
|
-
import "./koi-
|
|
95
|
-
import "./plugin-registry-
|
|
96
|
-
import "./configure-
|
|
94
|
+
import "./koi-9hiy5SRT.js";
|
|
95
|
+
import "./plugin-registry-D3qNuiO2.js";
|
|
96
|
+
import "./configure-R9ISEbHW.js";
|
|
97
97
|
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-CAv0cBlm.js";
|
|
102
|
+
import "./completion-cli-B7tFGhHB.js";
|
|
103
103
|
import "./hooks-status-BYUTsP4m.js";
|
|
104
104
|
import "./tui-DhoP2zn2.js";
|
|
105
|
-
import "./channel-options-
|
|
106
|
-
import { n as buildProgram } from "./program-
|
|
105
|
+
import "./channel-options-_19EE9b4.js";
|
|
106
|
+
import { n as buildProgram } from "./program-Dky6FORb.js";
|
|
107
107
|
import process from "node:process";
|
|
108
108
|
import { fileURLToPath } from "node:url";
|
|
109
109
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-rBzA-VDv.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-BfJkwq3e.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-CDJmGzeL.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-C1Y-vAfe.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { $t as getSkillsSnapshotVersion, B as resolveSessionDeliveryTarget, Er as loadModelCatalog, Mn as KOI_LANE_NESTED, Vr as resolveKoiTimeoutMs, W as runWithModelFallback, br as applyModelOverrideToSessionEntry, c as runEmbeddedPiKoi, i as runCliKoi, n as getCliSessionId, o as resolveSendPolicy, p as compactEmbeddedPiSession, qt as getRemoteSkillEligibility, r as setCliSessionId, vr as lookupContextTokens, xr as applyVerboseOverride, yr as clearSessionAuthProfileOverride, z as resolveOutboundTarget } from "./reply-
|
|
2
|
+
import { $t as getSkillsSnapshotVersion, B as resolveSessionDeliveryTarget, Er as loadModelCatalog, Mn as KOI_LANE_NESTED, Vr as resolveKoiTimeoutMs, W as runWithModelFallback, br as applyModelOverrideToSessionEntry, c as runEmbeddedPiKoi, i as runCliKoi, n as getCliSessionId, o as resolveSendPolicy, p as compactEmbeddedPiSession, qt as getRemoteSkillEligibility, r as setCliSessionId, vr as lookupContextTokens, xr as applyVerboseOverride, yr as clearSessionAuthProfileOverride, z as resolveOutboundTarget } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { N as DEFAULT_CHAT_CHANNEL, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { d as resolveKoiIdFromSessionKey, l as normalizeKoiId, u as normalizeMainKey } from "./session-key-DvA8Pdt6.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-B7BaYiK4.js";
|
|
@@ -13,7 +13,7 @@ import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-g0XV
|
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CxXihUsx.js";
|
|
14
14
|
import { n as emitKoiEvent, o as registerKoiRunContext, t as clearKoiRunContext } from "./koi-events-BaxaD02c.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-C3Scd8s_.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-DVskPvgD.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { Er as loadModelCatalog, Ft as openUrl, G as describeFailoverError, bt as formatUsageWindowSummary, c as runEmbeddedPiKoi, vt as loadProviderUsageSummary, xt as resolveUsageProviderId } from "./reply-
|
|
2
|
+
import { Er as loadModelCatalog, Ft as openUrl, G as describeFailoverError, bt as formatUsageWindowSummary, c as runEmbeddedPiKoi, vt as loadProviderUsageSummary, xt as resolveUsageProviderId } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { C as colorize, T as theme, c as defaultRuntime, w as isRich$1 } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { t as CONFIG_PATH } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -62,7 +62,7 @@ import "./event-log-CRTHQkp5.js";
|
|
|
62
62
|
import { n as logConfigUpdated } from "./logging-D_xKFcV1.js";
|
|
63
63
|
import "./note-CrS1Szhk.js";
|
|
64
64
|
import { t as createClackPrompter } from "./clack-prompter-D65FuQH4.js";
|
|
65
|
-
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-
|
|
65
|
+
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-Dye9bh84.js";
|
|
66
66
|
import { t as renderTable } from "./table-6UNPpVEx.js";
|
|
67
67
|
import { i as redactSecrets } from "./format-C8RwgLWp.js";
|
|
68
68
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-Bg2n10b5.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { F as formatChannelSelectionLine, L as listChatChannels, P as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-B7BaYiK4.js";
|
|
@@ -7,7 +7,7 @@ import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-D6P_BD
|
|
|
7
7
|
import { t as formatDocsLink } from "./links-BraPfmsh.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BNuSQH6i.js";
|
|
9
9
|
import { i as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-PL5unXxJ.js";
|
|
10
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
10
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-Vlsgerje.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as resolveNodeManagerOptions, Dt as detectBinary, Er as loadModelCatalog, Ft as openUrl } from "./reply-
|
|
1
|
+
import { Bt as resolveNodeManagerOptions, Dt as detectBinary, Er as loadModelCatalog, Ft as openUrl } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { f as resolveConfigDir, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-rBzA-VDv.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
4
4
|
import { T as resolveDefaultKoiWorkspaceDir, a as resolveKoiDir, l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId, s as resolveKoiModelPrimary } from "./koi-scope-B7BaYiK4.js";
|
|
@@ -8,8 +8,8 @@ import { t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
|
8
8
|
import { _ as resolveSkillKey, d as hasBinary, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-BVetMWFp.js";
|
|
9
9
|
import { Y as fetchWithSsrFGuard } from "./deliver-CxXihUsx.js";
|
|
10
10
|
import { t as resolveBrewExecutable } from "./brew-DYTrysTv.js";
|
|
11
|
-
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-
|
|
12
|
-
import { a as enablePluginInConfig } from "./onboard-channels-
|
|
11
|
+
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-Dye9bh84.js";
|
|
12
|
+
import { a as enablePluginInConfig } from "./onboard-channels-NmD1qdb3.js";
|
|
13
13
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-C1Y-vAfe.js";
|
|
14
14
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bk-6M9tR.js";
|
|
15
15
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-D8atdlDH.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as formatControlUiSshHint, Et as applyWizardMetadata, Ft as openUrl, Gt as normalizeControlUiBasePath, Ht as waitForGatewayReachable, It as printWizardHeader, Ln as getMemorySearchManager, Lt as probeGatewayReachable, Mt as handleReset, Ot as detectBrowserOpenSupport, Pt as normalizeGatewayTokenInput, Rt as randomToken, S as listKoisForGateway, Tr as peekSystemEvents, Tt as DEFAULT_WORKSPACE, Vt as summarizeExistingConfig, et as readRestartSentinel, f as sha256HexPrefix, kt as ensureWorkspaceAndSessions, qt as getRemoteSkillEligibility, tt as summarizeRestartSentinel, vr as lookupContextTokens, vt as loadProviderUsageSummary, yt as formatUsageReportLines, zt as resolveControlUiLinks } from "./reply-
|
|
1
|
+
import { At as formatControlUiSshHint, Et as applyWizardMetadata, Ft as openUrl, Gt as normalizeControlUiBasePath, Ht as waitForGatewayReachable, It as printWizardHeader, Ln as getMemorySearchManager, Lt as probeGatewayReachable, Mt as handleReset, Ot as detectBrowserOpenSupport, Pt as normalizeGatewayTokenInput, Rt as randomToken, S as listKoisForGateway, Tr as peekSystemEvents, Tt as DEFAULT_WORKSPACE, Vt as summarizeExistingConfig, et as readRestartSentinel, f as sha256HexPrefix, kt as ensureWorkspaceAndSessions, qt as getRemoteSkillEligibility, tt as summarizeRestartSentinel, vr as lookupContextTokens, vt as loadProviderUsageSummary, yt as formatUsageReportLines, zt as resolveControlUiLinks } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { T as theme, c as defaultRuntime, l as restoreTerminalState, m as info, w as isRich } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { l as normalizeKoiId, v as parseKoiSessionKey } from "./session-key-DvA8Pdt6.js";
|
|
@@ -21,10 +21,10 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWA
|
|
|
21
21
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BNuSQH6i.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-D_xKFcV1.js";
|
|
23
23
|
import { t as WizardCancelledError } from "./prompts-CL2SstQz.js";
|
|
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-
|
|
25
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
26
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForKoi } from "./health-format-
|
|
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
|
|
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
|
+
import { n as setupChannels } from "./onboard-channels-NmD1qdb3.js";
|
|
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--DbGnmt2.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-B7tFGhHB.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-B7BaYiK4.js";
|
|
4
4
|
import { o as loadConfig } from "./config-DUlVD6_Y.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -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
|
|
36
|
+
import EventEmitter, { EventEmitter as EventEmitter$1, 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";
|
|
@@ -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();
|
|
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$1 {
|
|
232008
232008
|
constructor(url, config) {
|
|
232009
232009
|
super();
|
|
232010
232010
|
this.url = url;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-izb3lJtZ.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { h as resolveUserPath, v as shortenHomeInString, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -57,12 +57,12 @@ import "./session-cost-usage-C3Scd8s_.js";
|
|
|
57
57
|
import "./control-service-D2mGSObN.js";
|
|
58
58
|
import "./channel-selection-jyGnnq0E.js";
|
|
59
59
|
import "./event-log-CRTHQkp5.js";
|
|
60
|
-
import { i as resolveArchiveKind } from "./archive-
|
|
60
|
+
import { i as resolveArchiveKind } from "./archive-CDJmGzeL.js";
|
|
61
61
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
62
|
-
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-
|
|
62
|
+
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-Vlsgerje.js";
|
|
63
63
|
import { t as renderTable } from "./table-6UNPpVEx.js";
|
|
64
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
65
|
-
import { n as updateNpmInstalledPlugins } from "./update-
|
|
64
|
+
import { t as buildPluginStatusReport } from "./status-C42EfCDO.js";
|
|
65
|
+
import { n as updateNpmInstalledPlugins } from "./update-CEnpQzsW.js";
|
|
66
66
|
import fs from "node:fs";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
|
|
@@ -4,11 +4,11 @@ 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-
|
|
9
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
7
|
+
import { r as registerProgramCommands, t as ensureConfigReady } from "./config-guard-7d5TcN9t.js";
|
|
8
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-Cu26Q7u1.js";
|
|
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
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
11
|
+
import { n as resolveCliChannelOptions } from "./channel-options-_19EE9b4.js";
|
|
12
12
|
import { Command } from "commander";
|
|
13
13
|
|
|
14
14
|
//#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-Byb4ahB-.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-f5i6R63O.js").then((n) => n.t)).registerDaemonCli(program);
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
@@ -152,7 +152,7 @@ const entries = [
|
|
|
152
152
|
name: "models",
|
|
153
153
|
description: "Model configuration",
|
|
154
154
|
register: async (program) => {
|
|
155
|
-
(await import("./models-cli-
|
|
155
|
+
(await import("./models-cli-Cpu9pYi7.js")).registerModelsCli(program);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
@@ -222,7 +222,7 @@ const entries = [
|
|
|
222
222
|
name: "hooks",
|
|
223
223
|
description: "Hooks tooling",
|
|
224
224
|
register: async (program) => {
|
|
225
|
-
(await import("./hooks-cli-
|
|
225
|
+
(await import("./hooks-cli-CAwlKjNP.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-Dtqtl8Hj.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-H5ynv_Bo.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-BV4N6_Ww.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-Dtqtl8Hj.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-DtC_VsO5.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-CN12IWjt.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-B7tFGhHB.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -148566,6 +148566,15 @@ function stripThreadSuffixFromSessionKey(sessionKey) {
|
|
|
148566
148566
|
function inferDeliveryFromSessionKey(koiSessionKey) {
|
|
148567
148567
|
const rawSessionKey = koiSessionKey?.trim();
|
|
148568
148568
|
if (!rawSessionKey) return null;
|
|
148569
|
+
const innerParsed = parseKoiSessionKey(rawSessionKey);
|
|
148570
|
+
if (innerParsed && innerParsed.rest) {
|
|
148571
|
+
const innerHead = innerParsed.rest.split(":").filter(Boolean)[0]?.trim().toLowerCase();
|
|
148572
|
+
if (innerHead === "main" || innerHead === "subkoi" || innerHead === "acp") return {
|
|
148573
|
+
mode: "announce",
|
|
148574
|
+
channel: "webchat",
|
|
148575
|
+
to: rawSessionKey
|
|
148576
|
+
};
|
|
148577
|
+
}
|
|
148569
148578
|
const parsed = parseKoiSessionKey(stripThreadSuffixFromSessionKey(rawSessionKey));
|
|
148570
148579
|
if (!parsed || !parsed.rest) return null;
|
|
148571
148580
|
const parts = parsed.rest.split(":").filter(Boolean);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { un as installUnhandledRejectionHandler } from "./reply-
|
|
2
|
+
import { un as installUnhandledRejectionHandler } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { c as defaultRuntime, r as enableConsoleCapture } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -57,25 +57,25 @@ import "./session-cost-usage-C3Scd8s_.js";
|
|
|
57
57
|
import "./control-service-D2mGSObN.js";
|
|
58
58
|
import "./channel-selection-jyGnnq0E.js";
|
|
59
59
|
import "./event-log-CRTHQkp5.js";
|
|
60
|
-
import "./deps-
|
|
60
|
+
import "./deps-DVskPvgD.js";
|
|
61
61
|
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-7d5TcN9t.js";
|
|
66
66
|
import "./logging-D_xKFcV1.js";
|
|
67
67
|
import "./note-CrS1Szhk.js";
|
|
68
68
|
import "./clack-prompter-D65FuQH4.js";
|
|
69
|
-
import "./onboarding-
|
|
70
|
-
import "./onboard-skills-
|
|
71
|
-
import "./github-copilot-auth-
|
|
72
|
-
import "./onboard-channels-
|
|
69
|
+
import "./onboarding-C99xw9ly.js";
|
|
70
|
+
import "./onboard-skills-Dbh1cm95.js";
|
|
71
|
+
import "./github-copilot-auth-Dye9bh84.js";
|
|
72
|
+
import "./onboard-channels-NmD1qdb3.js";
|
|
73
73
|
import "./plugin-auto-enable-PL5unXxJ.js";
|
|
74
|
-
import "./archive-
|
|
74
|
+
import "./archive-CDJmGzeL.js";
|
|
75
75
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
76
|
-
import "./installs-
|
|
77
|
-
import "./health-format-
|
|
78
|
-
import "./update-runner
|
|
76
|
+
import "./installs-Vlsgerje.js";
|
|
77
|
+
import "./health-format-B4sg83Kh.js";
|
|
78
|
+
import "./update-runner--DbGnmt2.js";
|
|
79
79
|
import "./auth-DcUFkxj-.js";
|
|
80
80
|
import "./audit-B_Ye62_8.js";
|
|
81
81
|
import "./table-6UNPpVEx.js";
|
|
@@ -85,18 +85,18 @@ 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-Cu26Q7u1.js";
|
|
89
89
|
import "./gateway-rpc-B5KSW1jh.js";
|
|
90
90
|
import "./help-format-BN200Sfc.js";
|
|
91
|
-
import "./koi-
|
|
92
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
93
|
-
import "./configure-
|
|
91
|
+
import "./koi-9hiy5SRT.js";
|
|
92
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D3qNuiO2.js";
|
|
93
|
+
import "./configure-R9ISEbHW.js";
|
|
94
94
|
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-CAv0cBlm.js";
|
|
99
|
+
import "./completion-cli-B7tFGhHB.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-Dky6FORb.js").then((n) => n.t);
|
|
156
156
|
const program = buildProgram();
|
|
157
157
|
installUnhandledRejectionHandler();
|
|
158
158
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -162,11 +162,11 @@ 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-Cu26Q7u1.js").then((n) => n.i);
|
|
166
166
|
await registerSubCliByName(program, primary);
|
|
167
167
|
}
|
|
168
168
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
169
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
169
|
+
const { registerPluginCliCommands } = await import("./cli-Dtqtl8Hj.js");
|
|
170
170
|
const { loadConfig } = await import("./config-DUlVD6_Y.js").then((n) => n.t);
|
|
171
171
|
registerPluginCliCommands(program, loadConfig());
|
|
172
172
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { Cr as enqueueSystemEvent, T as loadSessionEntry, mt as requestHeartbeatNow } from "./reply-
|
|
2
|
+
import { Cr as enqueueSystemEvent, T as loadSessionEntry, mt as requestHeartbeatNow } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { u as normalizeMainKey } from "./session-key-DvA8Pdt6.js";
|
|
@@ -58,8 +58,8 @@ import "./session-cost-usage-C3Scd8s_.js";
|
|
|
58
58
|
import "./control-service-D2mGSObN.js";
|
|
59
59
|
import "./channel-selection-jyGnnq0E.js";
|
|
60
60
|
import "./event-log-CRTHQkp5.js";
|
|
61
|
-
import "./deps-
|
|
62
|
-
import { t as koiCommand } from "./koi-
|
|
61
|
+
import "./deps-DVskPvgD.js";
|
|
62
|
+
import { t as koiCommand } from "./koi-9hiy5SRT.js";
|
|
63
63
|
import { t as formatForLog } from "./ws-log-DeKwTnzt.js";
|
|
64
64
|
import { randomUUID } from "node:crypto";
|
|
65
65
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { T as resolveDefaultKoiWorkspaceDir, l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-B7BaYiK4.js";
|
|
4
4
|
import { o as loadConfig } from "./config-DUlVD6_Y.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-rBzA-VDv.js";
|
|
2
2
|
import { n as discoverSKYKOIPlugins, r as loadPluginManifest } from "./manifest-registry-BfJkwq3e.js";
|
|
3
|
-
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
3
|
+
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-Vlsgerje.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/update.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BFOvHIvC.js";
|
|
2
|
-
import { nt as trimLogTail } from "./reply-
|
|
2
|
+
import { nt as trimLogTail } from "./reply-izb3lJtZ.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -59,17 +59,17 @@ import "./session-cost-usage-C3Scd8s_.js";
|
|
|
59
59
|
import "./control-service-D2mGSObN.js";
|
|
60
60
|
import "./channel-selection-jyGnnq0E.js";
|
|
61
61
|
import "./event-log-CRTHQkp5.js";
|
|
62
|
-
import "./deps-
|
|
62
|
+
import "./deps-DVskPvgD.js";
|
|
63
63
|
import "./tailscale-BVFil2zN.js";
|
|
64
64
|
import { _ as parseSemver } from "./daemon-runtime-s4bEPaLr.js";
|
|
65
65
|
import "./logging-D_xKFcV1.js";
|
|
66
66
|
import "./note-CrS1Szhk.js";
|
|
67
67
|
import "./plugin-auto-enable-PL5unXxJ.js";
|
|
68
|
-
import "./archive-
|
|
68
|
+
import "./archive-CDJmGzeL.js";
|
|
69
69
|
import "./skill-scanner-C1Y-vAfe.js";
|
|
70
|
-
import "./installs-
|
|
71
|
-
import "./health-format-
|
|
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
|
|
70
|
+
import "./installs-Vlsgerje.js";
|
|
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--DbGnmt2.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,15 +77,15 @@ 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-Cu26Q7u1.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-CAv0cBlm.js";
|
|
85
|
+
import { r as installCompletion } from "./completion-cli-B7tFGhHB.js";
|
|
86
86
|
import "./shared-lkFihiKy.js";
|
|
87
|
-
import { r as runDaemonRestart } from "./daemon-cli-
|
|
88
|
-
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-
|
|
87
|
+
import { r as runDaemonRestart } from "./daemon-cli-f5i6R63O.js";
|
|
88
|
+
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-CEnpQzsW.js";
|
|
89
89
|
import path from "node:path";
|
|
90
90
|
import os from "node:os";
|
|
91
91
|
import fs from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { nt as trimLogTail } from "./reply-
|
|
1
|
+
import { nt as trimLogTail } from "./reply-izb3lJtZ.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
3
3
|
import { t as resolveSKYKOIPackageRoot } from "./skykoi-root-BcOj1-eE.js";
|
|
4
4
|
import { r as resolveCliName, t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
5
5
|
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
|
-
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-
|
|
9
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
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-B7tFGhHB.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import fs from "node:fs/promises";
|