skykoi 2026.3.288 → 2026.3.290
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-DnJjS7ea.js → archive-BknbufkD.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BWGZFOCv.js → channel-options-BPQx7AoK.js} +1 -1
- package/dist/{channels-cli-BwHztoCP.js → channels-cli-DDkDJgc4.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Dq2K6GIH.js → cli-B6J_1g6i.js} +1 -1
- package/dist/{completion-cli-BorqMV4g.js → completion-cli-BkY8liRB.js} +1 -1
- package/dist/{config-guard-Bz1yAFK5.js → config-guard-BPRt2yCN.js} +13 -13
- package/dist/{configure-BXyb3sJS.js → configure-D1-_GDmt.js} +4 -4
- package/dist/{daemon-cli-C5o3sL7A.js → daemon-cli-CI3Yu8tw.js} +2 -2
- package/dist/{deps-C5EAnWDg.js → deps-B-RkULZC.js} +1 -1
- package/dist/{doctor-BxcXzfT2.js → doctor-D4OT5uXU.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-BGy4G0ob.js → gateway-cli-BarIAAK-.js} +15 -15
- package/dist/{github-copilot-auth-DT9vDtEF.js → github-copilot-auth-C75CC5Ch.js} +1 -1
- package/dist/{health-format-CmNsQKra.js → health-format-DZf7Kq2V.js} +1 -1
- package/dist/{hooks-cli-BUaLRKXx.js → hooks-cli-DQvtkexY.js} +3 -3
- package/dist/index.js +19 -19
- package/dist/{installs-kQPMYOBl.js → installs-DdhvfIdP.js} +1 -1
- package/dist/{koi-BHZhjpSm.js → koi-Dsv_K2B4.js} +2 -2
- package/dist/{models-cli-D-lByM5h.js → models-cli-DyO_Xm2s.js} +2 -2
- package/dist/{onboard-channels-eqYZMHfs.js → onboard-channels--fClhWXp.js} +2 -2
- package/dist/{onboard-skills-OGx8JJUZ.js → onboard-skills-CZv6cssM.js} +3 -3
- package/dist/{onboarding-mBsXczH-.js → onboarding-CJwou1V5.js} +6 -6
- package/dist/{plugin-registry-vNWYw7Qq.js → plugin-registry-Aq11aBtk.js} +1 -1
- package/dist/plugin-sdk/index.js +7 -7
- package/dist/{plugins-cli-Bu6xdg2I.js → plugins-cli-o267t2nK.js} +5 -5
- package/dist/{program-CTcozFUD.js → program-PscGsh8Q.js} +4 -4
- package/dist/{register.subclis-BIn60SX8.js → register.subclis-xHgxEnjY.js} +10 -10
- package/dist/{reply-tNTj9dq5.js → reply-C-jHFwiM.js} +8 -4
- package/dist/{run-main-GdoTy_Mk.js → run-main-D1moYZ_6.js} +20 -20
- package/dist/{server-node-events-BBNqO5Iq.js → server-node-events-_bXYfXAS.js} +3 -3
- package/dist/{status-BeYKd2ms.js → status-C9YbDluU.js} +1 -1
- package/dist/{update-CKcuHD-L.js → update-BCyseRSX.js} +1 -1
- package/dist/{update-cli-D9TBbR41.js → update-cli-DZt6g_8d.js} +11 -11
- package/dist/{update-runner-CaQuv5L9.js → update-runner-CbPO3uKT.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-C-jHFwiM.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
|
+
2c2b1e1bf996092c8292abbe213888eba8d1ea6a5164c2705ab90489ae7bed79
|
|
@@ -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-DjrB_CSV.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Aq11aBtk.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-rPCtglex.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-C-jHFwiM.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";
|
|
@@ -66,14 +66,14 @@ import "./event-log-C9xX85hz.js";
|
|
|
66
66
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
67
67
|
import "./note-CSp5eHqT.js";
|
|
68
68
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.js";
|
|
69
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels
|
|
69
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels--fClhWXp.js";
|
|
70
70
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-DjrB_CSV.js";
|
|
71
|
-
import "./archive-
|
|
71
|
+
import "./archive-BknbufkD.js";
|
|
72
72
|
import "./skill-scanner-XSqJHIlH.js";
|
|
73
|
-
import "./installs-
|
|
73
|
+
import "./installs-DdhvfIdP.js";
|
|
74
74
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DpPqStch.js";
|
|
75
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
76
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
75
|
+
import { n as hasExplicitOptions } from "./plugin-registry-Aq11aBtk.js";
|
|
76
|
+
import { t as formatCliChannelOptions } from "./channel-options-BPQx7AoK.js";
|
|
77
77
|
import { t as buildChannelAccountSnapshot } from "./status-B1DCoVQ3.js";
|
|
78
78
|
import { t as parseLogLine } from "./parse-log-line-CVYzLRZv.js";
|
|
79
79
|
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-CI3Yu8tw.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-rPCtglex.js";
|
|
2
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { _t as loadSKYKOIPlugins } from "./reply-C-jHFwiM.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-xHgxEnjY.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-C-jHFwiM.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, t as CONFIG_PATH, 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,30 +19,30 @@ import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-BjM5oE0K.js";
|
|
20
20
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CVuim3sP.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-B-RkULZC.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-CxOO1xon.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BWWKm3m3.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-0EnaVIOe.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.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-CJwou1V5.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-CZv6cssM.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-C75CC5Ch.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels--fClhWXp.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-DZf7Kq2V.js";
|
|
33
33
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DvZErSyI.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-xHgxEnjY.js";
|
|
37
37
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BTSSK45T.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-D_sjxIrE.js";
|
|
39
39
|
import { r as readAuthFile, t as loginCommand } from "./login-CLGP4l3Z.js";
|
|
40
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
41
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
40
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-Dsv_K2B4.js";
|
|
41
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-Aq11aBtk.js";
|
|
42
42
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-btYENKQf.js";
|
|
43
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
43
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-D1-_GDmt.js";
|
|
44
44
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-blVsJyEr.js";
|
|
45
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
45
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-D4OT5uXU.js";
|
|
46
46
|
import { fileURLToPath } from "node:url";
|
|
47
47
|
import fs from "node:fs";
|
|
48
48
|
import path from "node:path";
|
|
@@ -2794,7 +2794,7 @@ async function loadValidConfig() {
|
|
|
2794
2794
|
}
|
|
2795
2795
|
function registerConfigCli(program) {
|
|
2796
2796
|
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) => {
|
|
2797
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2797
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-D1-_GDmt.js").then((n) => n.t);
|
|
2798
2798
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2799
2799
|
if (sections.length === 0) {
|
|
2800
2800
|
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-C-jHFwiM.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-BWWKm3m3.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-CSp5eHqT.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-0EnaVIOe.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.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-CZv6cssM.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels--fClhWXp.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-DZf7Kq2V.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-blVsJyEr.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-C-jHFwiM.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-B9vSbpQS.js";
|
|
|
14
14
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
15
15
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-BhdMO-tw.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-B-RkULZC.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CxOO1xon.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DvZErSyI.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-C-jHFwiM.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-CwTvWZN-.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-C-jHFwiM.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-Bd67GvKn.js";
|
|
|
26
26
|
import { n as logConfigUpdated } from "./logging-BWWKm3m3.js";
|
|
27
27
|
import { t as note$1 } from "./note-CSp5eHqT.js";
|
|
28
28
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-DjrB_CSV.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-DZf7Kq2V.js";
|
|
30
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-CbPO3uKT.js";
|
|
31
31
|
import { i as resolveGatewayAuth } from "./auth-BzM5UpTJ.js";
|
|
32
32
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bwvp-df6.js";
|
|
33
33
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-CsKcTbqE.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-D1moYZ_6.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-rPCtglex.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-C-jHFwiM.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 normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, R as normalizeElevatedLevel, V as normalizeUsageDisplay, W as supportsXHighThinking, z as normalizeReasoningLevel } from "./pi-embedded-helpers-rPCtglex.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-C-jHFwiM.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";
|
|
@@ -71,7 +71,7 @@ import { n as createBrowserControlContext, r as startBrowserControlServiceFromCo
|
|
|
71
71
|
import { t as parseAbsoluteTimeMs } from "./parse-B5EluDjJ.js";
|
|
72
72
|
import { n as resolveMessageChannelSelection } from "./channel-selection-eBPq7mbP.js";
|
|
73
73
|
import { n as hydrateSession, r as readEventsSince, t as appendEvent } from "./event-log-C9xX85hz.js";
|
|
74
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
74
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-B-RkULZC.js";
|
|
75
75
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-CsF9n21t.js";
|
|
76
76
|
import { t as ensureSKYKOICliOnPath } from "./path-env-BvfjafwG.js";
|
|
77
77
|
import "./daemon-runtime-CxOO1xon.js";
|
|
@@ -80,16 +80,16 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
|
80
80
|
import "./logging-BWWKm3m3.js";
|
|
81
81
|
import "./note-CSp5eHqT.js";
|
|
82
82
|
import { t as WizardCancelledError } from "./prompts-0EnaVIOe.js";
|
|
83
|
-
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-
|
|
84
|
-
import { n as installSkill } from "./onboard-skills-
|
|
85
|
-
import "./github-copilot-auth-
|
|
86
|
-
import "./onboard-channels
|
|
83
|
+
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-CJwou1V5.js";
|
|
84
|
+
import { n as installSkill } from "./onboard-skills-CZv6cssM.js";
|
|
85
|
+
import "./github-copilot-auth-C75CC5Ch.js";
|
|
86
|
+
import "./onboard-channels--fClhWXp.js";
|
|
87
87
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-DjrB_CSV.js";
|
|
88
|
-
import "./archive-
|
|
88
|
+
import "./archive-BknbufkD.js";
|
|
89
89
|
import "./skill-scanner-XSqJHIlH.js";
|
|
90
|
-
import "./installs-
|
|
91
|
-
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-
|
|
92
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
90
|
+
import "./installs-DdhvfIdP.js";
|
|
91
|
+
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-DZf7Kq2V.js";
|
|
92
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-CbPO3uKT.js";
|
|
93
93
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-BzM5UpTJ.js";
|
|
94
94
|
import { i as probeGateway } from "./audit-BiMEH7ZM.js";
|
|
95
95
|
import "./table-BcCXbKbR.js";
|
|
@@ -99,16 +99,16 @@ import { p as resolveGatewayStateDir } from "./systemd-DvZErSyI.js";
|
|
|
99
99
|
import "./service-audit-CutD6HKR.js";
|
|
100
100
|
import "./node-service-BUUkrXHj.js";
|
|
101
101
|
import "./channels-status-issues-DpPqStch.js";
|
|
102
|
-
import "./register.subclis-
|
|
103
|
-
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-
|
|
102
|
+
import "./register.subclis-xHgxEnjY.js";
|
|
103
|
+
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-Dsv_K2B4.js";
|
|
104
104
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-B62LOarH.js";
|
|
105
105
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-cnMfrXln.js";
|
|
106
|
-
import "./completion-cli-
|
|
106
|
+
import "./completion-cli-BkY8liRB.js";
|
|
107
107
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-DiDxOOU3.js";
|
|
108
108
|
import "./tui-DNMypIZk.js";
|
|
109
109
|
import { t as buildChannelAccountSnapshot } from "./status-B1DCoVQ3.js";
|
|
110
110
|
import "./shared-ih2ZCRlQ.js";
|
|
111
|
-
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
111
|
+
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-CI3Yu8tw.js";
|
|
112
112
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DZZpBtc0.js";
|
|
113
113
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeKoiEventForWsLog, t as formatForLog } from "./ws-log-DMyJV-8f.js";
|
|
114
114
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-B8Z7N__E.js";
|
|
@@ -11142,7 +11142,7 @@ const nodeHandlers = {
|
|
|
11142
11142
|
const p = params;
|
|
11143
11143
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11144
11144
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11145
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11145
|
+
const { handleNodeEvent } = await import("./server-node-events-_bXYfXAS.js");
|
|
11146
11146
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11147
11147
|
await handleNodeEvent({
|
|
11148
11148
|
deps: context.deps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-C-jHFwiM.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-C-jHFwiM.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-rPCtglex.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-C-jHFwiM.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";
|
|
@@ -61,10 +61,10 @@ import "./session-cost-usage-CmW298Fs.js";
|
|
|
61
61
|
import "./control-service-Ck37ECNh.js";
|
|
62
62
|
import "./channel-selection-eBPq7mbP.js";
|
|
63
63
|
import "./event-log-C9xX85hz.js";
|
|
64
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
64
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-BknbufkD.js";
|
|
65
65
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
66
66
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-DiDxOOU3.js";
|
|
67
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
67
|
+
import { t as buildPluginStatusReport } from "./status-C9YbDluU.js";
|
|
68
68
|
import fs from "node:fs";
|
|
69
69
|
import path from "node:path";
|
|
70
70
|
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-rPCtglex.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-C-jHFwiM.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";
|
|
@@ -61,27 +61,27 @@ import "./session-cost-usage-CmW298Fs.js";
|
|
|
61
61
|
import "./control-service-Ck37ECNh.js";
|
|
62
62
|
import "./channel-selection-eBPq7mbP.js";
|
|
63
63
|
import "./event-log-C9xX85hz.js";
|
|
64
|
-
import { t as createDefaultDeps } from "./deps-
|
|
64
|
+
import { t as createDefaultDeps } from "./deps-B-RkULZC.js";
|
|
65
65
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-CsF9n21t.js";
|
|
66
66
|
import { t as loadDotEnv } from "./dotenv-CuARfiZR.js";
|
|
67
67
|
import { t as isMainModule } from "./is-main-C-HPYgby.js";
|
|
68
68
|
import { t as ensureSKYKOICliOnPath } from "./path-env-BvfjafwG.js";
|
|
69
69
|
import { g as assertSupportedRuntime } from "./daemon-runtime-CxOO1xon.js";
|
|
70
70
|
import "./ports-D-ffYdXl.js";
|
|
71
|
-
import "./config-guard-
|
|
71
|
+
import "./config-guard-BPRt2yCN.js";
|
|
72
72
|
import "./logging-BWWKm3m3.js";
|
|
73
73
|
import "./note-CSp5eHqT.js";
|
|
74
74
|
import "./clack-prompter-9RonoVi0.js";
|
|
75
|
-
import "./onboarding-
|
|
76
|
-
import "./onboard-skills-
|
|
77
|
-
import "./github-copilot-auth-
|
|
78
|
-
import "./onboard-channels
|
|
75
|
+
import "./onboarding-CJwou1V5.js";
|
|
76
|
+
import "./onboard-skills-CZv6cssM.js";
|
|
77
|
+
import "./github-copilot-auth-C75CC5Ch.js";
|
|
78
|
+
import "./onboard-channels--fClhWXp.js";
|
|
79
79
|
import "./plugin-auto-enable-DjrB_CSV.js";
|
|
80
|
-
import "./archive-
|
|
80
|
+
import "./archive-BknbufkD.js";
|
|
81
81
|
import "./skill-scanner-XSqJHIlH.js";
|
|
82
|
-
import "./installs-
|
|
83
|
-
import "./health-format-
|
|
84
|
-
import "./update-runner-
|
|
82
|
+
import "./installs-DdhvfIdP.js";
|
|
83
|
+
import "./health-format-DZf7Kq2V.js";
|
|
84
|
+
import "./update-runner-CbPO3uKT.js";
|
|
85
85
|
import "./auth-BzM5UpTJ.js";
|
|
86
86
|
import "./audit-BiMEH7ZM.js";
|
|
87
87
|
import "./table-BcCXbKbR.js";
|
|
@@ -91,22 +91,22 @@ import "./systemd-DvZErSyI.js";
|
|
|
91
91
|
import "./service-audit-CutD6HKR.js";
|
|
92
92
|
import "./node-service-BUUkrXHj.js";
|
|
93
93
|
import "./channels-status-issues-DpPqStch.js";
|
|
94
|
-
import "./register.subclis-
|
|
94
|
+
import "./register.subclis-xHgxEnjY.js";
|
|
95
95
|
import "./gateway-rpc-BTSSK45T.js";
|
|
96
96
|
import "./help-format-D_sjxIrE.js";
|
|
97
|
-
import "./koi-
|
|
98
|
-
import "./plugin-registry-
|
|
99
|
-
import "./configure-
|
|
97
|
+
import "./koi-Dsv_K2B4.js";
|
|
98
|
+
import "./plugin-registry-Aq11aBtk.js";
|
|
99
|
+
import "./configure-D1-_GDmt.js";
|
|
100
100
|
import "./systemd-linger-blVsJyEr.js";
|
|
101
101
|
import "./widearea-dns-B62LOarH.js";
|
|
102
102
|
import "./bonjour-discovery-cnMfrXln.js";
|
|
103
103
|
import "./auth-health--rhysFOz.js";
|
|
104
|
-
import "./doctor-
|
|
105
|
-
import "./completion-cli-
|
|
104
|
+
import "./doctor-D4OT5uXU.js";
|
|
105
|
+
import "./completion-cli-BkY8liRB.js";
|
|
106
106
|
import "./hooks-status-DiDxOOU3.js";
|
|
107
107
|
import "./tui-DNMypIZk.js";
|
|
108
|
-
import "./channel-options-
|
|
109
|
-
import { n as buildProgram } from "./program-
|
|
108
|
+
import "./channel-options-BPQx7AoK.js";
|
|
109
|
+
import { n as buildProgram } from "./program-PscGsh8Q.js";
|
|
110
110
|
import process from "node:process";
|
|
111
111
|
import { fileURLToPath } from "node:url";
|
|
112
112
|
|
|
@@ -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-BknbufkD.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-XSqJHIlH.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-rPCtglex.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-C-jHFwiM.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-D_A4
|
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CwTvWZN-.js";
|
|
14
14
|
import { n as emitKoiEvent, o as registerKoiRunContext, t as clearKoiRunContext } from "./koi-events-resOGhIY.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-CmW298Fs.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-B-RkULZC.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-rPCtglex.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-C-jHFwiM.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";
|
|
@@ -65,7 +65,7 @@ import "./event-log-C9xX85hz.js";
|
|
|
65
65
|
import { n as logConfigUpdated } from "./logging-BWWKm3m3.js";
|
|
66
66
|
import "./note-CSp5eHqT.js";
|
|
67
67
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.js";
|
|
68
|
-
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-
|
|
68
|
+
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-C75CC5Ch.js";
|
|
69
69
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
70
70
|
import { i as redactSecrets } from "./format-DfUL8x8A.js";
|
|
71
71
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health--rhysFOz.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-C-jHFwiM.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-D-ozFGY4.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
9
9
|
import { i as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-DjrB_CSV.js";
|
|
10
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
10
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-DdhvfIdP.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-C-jHFwiM.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-yG3KCZvy.js";
|
|
9
9
|
import { Y as fetchWithSsrFGuard } from "./deliver-CwTvWZN-.js";
|
|
10
10
|
import { t as resolveBrewExecutable } from "./brew-DRxkJd80.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-C75CC5Ch.js";
|
|
12
|
+
import { a as enablePluginInConfig } from "./onboard-channels--fClhWXp.js";
|
|
13
13
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-XSqJHIlH.js";
|
|
14
14
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bwvp-df6.js";
|
|
15
15
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-B62LOarH.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-C-jHFwiM.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-Bd67GvKn.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-BWWKm3m3.js";
|
|
23
23
|
import { t as WizardCancelledError } from "./prompts-0EnaVIOe.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-CZv6cssM.js";
|
|
25
|
+
import { n as setupChannels } from "./onboard-channels--fClhWXp.js";
|
|
26
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForKoi } from "./health-format-DZf7Kq2V.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-CbPO3uKT.js";
|
|
28
28
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-BiMEH7ZM.js";
|
|
29
29
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
30
30
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bwvp-df6.js";
|
|
@@ -34,7 +34,7 @@ import { o as readLastGatewayErrorLine } from "./service-audit-CutD6HKR.js";
|
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-BUUkrXHj.js";
|
|
35
35
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DpPqStch.js";
|
|
36
36
|
import { i as redactSecrets, n as formatDuration$1, r as formatGatewayAuthUsed, t as formatAge$1 } from "./format-DfUL8x8A.js";
|
|
37
|
-
import { r as installCompletion } from "./completion-cli-
|
|
37
|
+
import { r as installCompletion } from "./completion-cli-BkY8liRB.js";
|
|
38
38
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DiDxOOU3.js";
|
|
39
39
|
import { t as runTui } from "./tui-DNMypIZk.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-C-jHFwiM.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-D9d0NmBK.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
21
21
|
import fs, { constants, createWriteStream, existsSync, promises, statSync } from "node:fs";
|
|
22
22
|
import path, { join } from "node:path";
|
|
23
23
|
import { Logger } from "tslog";
|
|
24
|
-
import
|
|
24
|
+
import json5 from "json5";
|
|
25
25
|
import os, { homedir, tmpdir } from "node:os";
|
|
26
26
|
import { promisify } from "node:util";
|
|
27
27
|
import fs$1 from "node:fs/promises";
|
|
@@ -2262,7 +2262,7 @@ function readLoggingConfig() {
|
|
|
2262
2262
|
try {
|
|
2263
2263
|
if (!fs.existsSync(configPath)) return;
|
|
2264
2264
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
2265
|
-
const logging =
|
|
2265
|
+
const logging = json5.parse(raw)?.logging;
|
|
2266
2266
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
2267
2267
|
return logging;
|
|
2268
2268
|
} catch {
|
|
@@ -19025,7 +19025,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
19025
19025
|
};
|
|
19026
19026
|
const defaultResolver = {
|
|
19027
19027
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
19028
|
-
parseJson: (raw) =>
|
|
19028
|
+
parseJson: (raw) => json5.parse(raw)
|
|
19029
19029
|
};
|
|
19030
19030
|
/**
|
|
19031
19031
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -21722,18 +21722,18 @@ function resolveConfigPathForDeps(deps) {
|
|
|
21722
21722
|
function normalizeDeps(overrides = {}) {
|
|
21723
21723
|
return {
|
|
21724
21724
|
fs: overrides.fs ?? fs,
|
|
21725
|
-
json5: overrides.json5 ??
|
|
21725
|
+
json5: overrides.json5 ?? json5,
|
|
21726
21726
|
env: overrides.env ?? process.env,
|
|
21727
21727
|
homedir: overrides.homedir ?? os.homedir,
|
|
21728
21728
|
configPath: overrides.configPath ?? "",
|
|
21729
21729
|
logger: overrides.logger ?? console
|
|
21730
21730
|
};
|
|
21731
21731
|
}
|
|
21732
|
-
function parseConfigJson5(raw, json5 =
|
|
21732
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
21733
21733
|
try {
|
|
21734
21734
|
return {
|
|
21735
21735
|
ok: true,
|
|
21736
|
-
parsed: json5.parse(raw)
|
|
21736
|
+
parsed: json5$1.parse(raw)
|
|
21737
21737
|
};
|
|
21738
21738
|
} catch (err) {
|
|
21739
21739
|
return {
|
|
@@ -22247,7 +22247,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
22247
22247
|
let mtimeMs = getFileMtimeMs(storePath);
|
|
22248
22248
|
try {
|
|
22249
22249
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
22250
|
-
const parsed =
|
|
22250
|
+
const parsed = json5.parse(raw);
|
|
22251
22251
|
if (isSessionStoreRecord(parsed)) store = parsed;
|
|
22252
22252
|
mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
|
|
22253
22253
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-rPCtglex.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-C-jHFwiM.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";
|
|
@@ -60,12 +60,12 @@ import "./session-cost-usage-CmW298Fs.js";
|
|
|
60
60
|
import "./control-service-Ck37ECNh.js";
|
|
61
61
|
import "./channel-selection-eBPq7mbP.js";
|
|
62
62
|
import "./event-log-C9xX85hz.js";
|
|
63
|
-
import { i as resolveArchiveKind } from "./archive-
|
|
63
|
+
import { i as resolveArchiveKind } from "./archive-BknbufkD.js";
|
|
64
64
|
import "./skill-scanner-XSqJHIlH.js";
|
|
65
|
-
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-
|
|
65
|
+
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-DdhvfIdP.js";
|
|
66
66
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
67
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
68
|
-
import { n as updateNpmInstalledPlugins } from "./update-
|
|
67
|
+
import { t as buildPluginStatusReport } from "./status-C9YbDluU.js";
|
|
68
|
+
import { n as updateNpmInstalledPlugins } from "./update-BCyseRSX.js";
|
|
69
69
|
import fs from "node:fs";
|
|
70
70
|
import path from "node:path";
|
|
71
71
|
|
|
@@ -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-D9d0NmBK.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-D-ozFGY4.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-BPRt2yCN.js";
|
|
8
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-xHgxEnjY.js";
|
|
9
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Aq11aBtk.js";
|
|
10
10
|
import { i as hasEmittedCliBanner, n as emitCliBanner, r as formatCliBannerLine } from "./tui-DNMypIZk.js";
|
|
11
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
11
|
+
import { n as resolveCliChannelOptions } from "./channel-options-BPQx7AoK.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-BarIAAK-.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-CI3Yu8tw.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-DyO_Xm2s.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-DQvtkexY.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-B6J_1g6i.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-CWa0bc-t.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-o267t2nK.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-B6J_1g6i.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-DDkDJgc4.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-DZt6g_8d.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-BkY8liRB.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -99601,15 +99601,19 @@ async function monitorWebInbox(options) {
|
|
|
99601
99601
|
const handleMessagesUpsert = async (upsert) => {
|
|
99602
99602
|
if (upsert.type !== "notify" && upsert.type !== "append") return;
|
|
99603
99603
|
for (const msg of upsert.messages ?? []) {
|
|
99604
|
+
const id = msg.key?.id ?? void 0;
|
|
99605
|
+
const remoteJid = msg.key?.remoteJid;
|
|
99606
|
+
if (!remoteJid) continue;
|
|
99607
|
+
if (remoteJid.endsWith("@status") || remoteJid.endsWith("@broadcast")) continue;
|
|
99608
|
+
if (msg.key?.fromMe === true) {
|
|
99609
|
+
if (shouldLogVerbose()) logVerbose(`Skipping self-authored WhatsApp message ${id ?? "unknown"} for ${remoteJid}`);
|
|
99610
|
+
continue;
|
|
99611
|
+
}
|
|
99604
99612
|
recordChannelActivity({
|
|
99605
99613
|
channel: "whatsapp",
|
|
99606
99614
|
accountId: options.accountId,
|
|
99607
99615
|
direction: "inbound"
|
|
99608
99616
|
});
|
|
99609
|
-
const id = msg.key?.id ?? void 0;
|
|
99610
|
-
const remoteJid = msg.key?.remoteJid;
|
|
99611
|
-
if (!remoteJid) continue;
|
|
99612
|
-
if (remoteJid.endsWith("@status") || remoteJid.endsWith("@broadcast")) continue;
|
|
99613
99617
|
const group = isJidGroup(remoteJid) === true;
|
|
99614
99618
|
if (id) {
|
|
99615
99619
|
if (isRecentInboundMessage(`${options.accountId}:${remoteJid}:${id}`)) continue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-rPCtglex.js";
|
|
2
|
-
import { un as installUnhandledRejectionHandler } from "./reply-
|
|
2
|
+
import { un as installUnhandledRejectionHandler } from "./reply-C-jHFwiM.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";
|
|
@@ -60,25 +60,25 @@ import "./session-cost-usage-CmW298Fs.js";
|
|
|
60
60
|
import "./control-service-Ck37ECNh.js";
|
|
61
61
|
import "./channel-selection-eBPq7mbP.js";
|
|
62
62
|
import "./event-log-C9xX85hz.js";
|
|
63
|
-
import "./deps-
|
|
63
|
+
import "./deps-B-RkULZC.js";
|
|
64
64
|
import "./tailscale-CsF9n21t.js";
|
|
65
65
|
import { t as loadDotEnv } from "./dotenv-CuARfiZR.js";
|
|
66
66
|
import { t as ensureSKYKOICliOnPath } from "./path-env-BvfjafwG.js";
|
|
67
67
|
import { g as assertSupportedRuntime } from "./daemon-runtime-CxOO1xon.js";
|
|
68
|
-
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-
|
|
68
|
+
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-BPRt2yCN.js";
|
|
69
69
|
import "./logging-BWWKm3m3.js";
|
|
70
70
|
import "./note-CSp5eHqT.js";
|
|
71
71
|
import "./clack-prompter-9RonoVi0.js";
|
|
72
|
-
import "./onboarding-
|
|
73
|
-
import "./onboard-skills-
|
|
74
|
-
import "./github-copilot-auth-
|
|
75
|
-
import "./onboard-channels
|
|
72
|
+
import "./onboarding-CJwou1V5.js";
|
|
73
|
+
import "./onboard-skills-CZv6cssM.js";
|
|
74
|
+
import "./github-copilot-auth-C75CC5Ch.js";
|
|
75
|
+
import "./onboard-channels--fClhWXp.js";
|
|
76
76
|
import "./plugin-auto-enable-DjrB_CSV.js";
|
|
77
|
-
import "./archive-
|
|
77
|
+
import "./archive-BknbufkD.js";
|
|
78
78
|
import "./skill-scanner-XSqJHIlH.js";
|
|
79
|
-
import "./installs-
|
|
80
|
-
import "./health-format-
|
|
81
|
-
import "./update-runner-
|
|
79
|
+
import "./installs-DdhvfIdP.js";
|
|
80
|
+
import "./health-format-DZf7Kq2V.js";
|
|
81
|
+
import "./update-runner-CbPO3uKT.js";
|
|
82
82
|
import "./auth-BzM5UpTJ.js";
|
|
83
83
|
import "./audit-BiMEH7ZM.js";
|
|
84
84
|
import "./table-BcCXbKbR.js";
|
|
@@ -88,18 +88,18 @@ import "./systemd-DvZErSyI.js";
|
|
|
88
88
|
import "./service-audit-CutD6HKR.js";
|
|
89
89
|
import "./node-service-BUUkrXHj.js";
|
|
90
90
|
import "./channels-status-issues-DpPqStch.js";
|
|
91
|
-
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-
|
|
91
|
+
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-xHgxEnjY.js";
|
|
92
92
|
import "./gateway-rpc-BTSSK45T.js";
|
|
93
93
|
import "./help-format-D_sjxIrE.js";
|
|
94
|
-
import "./koi-
|
|
95
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
96
|
-
import "./configure-
|
|
94
|
+
import "./koi-Dsv_K2B4.js";
|
|
95
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-Aq11aBtk.js";
|
|
96
|
+
import "./configure-D1-_GDmt.js";
|
|
97
97
|
import "./systemd-linger-blVsJyEr.js";
|
|
98
98
|
import "./widearea-dns-B62LOarH.js";
|
|
99
99
|
import "./bonjour-discovery-cnMfrXln.js";
|
|
100
100
|
import "./auth-health--rhysFOz.js";
|
|
101
|
-
import "./doctor-
|
|
102
|
-
import "./completion-cli-
|
|
101
|
+
import "./doctor-D4OT5uXU.js";
|
|
102
|
+
import "./completion-cli-BkY8liRB.js";
|
|
103
103
|
import "./hooks-status-DiDxOOU3.js";
|
|
104
104
|
import { n as emitCliBanner } from "./tui-DNMypIZk.js";
|
|
105
105
|
import process$1 from "node:process";
|
|
@@ -155,7 +155,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
155
155
|
assertSupportedRuntime();
|
|
156
156
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
157
157
|
enableConsoleCapture();
|
|
158
|
-
const { buildProgram } = await import("./program-
|
|
158
|
+
const { buildProgram } = await import("./program-PscGsh8Q.js").then((n) => n.t);
|
|
159
159
|
const program = buildProgram();
|
|
160
160
|
installUnhandledRejectionHandler();
|
|
161
161
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -175,11 +175,11 @@ async function runCli(argv = process$1.argv) {
|
|
|
175
175
|
}
|
|
176
176
|
const primary = getPrimaryCommand(parseArgv);
|
|
177
177
|
if (primary) {
|
|
178
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
178
|
+
const { registerSubCliByName } = await import("./register.subclis-xHgxEnjY.js").then((n) => n.i);
|
|
179
179
|
await registerSubCliByName(program, primary);
|
|
180
180
|
}
|
|
181
181
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
182
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
182
|
+
const { registerPluginCliCommands } = await import("./cli-B6J_1g6i.js");
|
|
183
183
|
const { loadConfig } = await import("./config-D9d0NmBK.js").then((n) => n.t);
|
|
184
184
|
registerPluginCliCommands(program, loadConfig());
|
|
185
185
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-rPCtglex.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-C-jHFwiM.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";
|
|
@@ -61,8 +61,8 @@ import "./session-cost-usage-CmW298Fs.js";
|
|
|
61
61
|
import "./control-service-Ck37ECNh.js";
|
|
62
62
|
import "./channel-selection-eBPq7mbP.js";
|
|
63
63
|
import "./event-log-C9xX85hz.js";
|
|
64
|
-
import "./deps-
|
|
65
|
-
import { t as koiCommand } from "./koi-
|
|
64
|
+
import "./deps-B-RkULZC.js";
|
|
65
|
+
import { t as koiCommand } from "./koi-Dsv_K2B4.js";
|
|
66
66
|
import { t as formatForLog } from "./ws-log-DMyJV-8f.js";
|
|
67
67
|
import { randomUUID } from "node:crypto";
|
|
68
68
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { _t as loadSKYKOIPlugins } from "./reply-C-jHFwiM.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-D9d0NmBK.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-DdhvfIdP.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-rPCtglex.js";
|
|
2
|
-
import { nt as trimLogTail } from "./reply-
|
|
2
|
+
import { nt as trimLogTail } from "./reply-C-jHFwiM.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";
|
|
@@ -62,17 +62,17 @@ import "./session-cost-usage-CmW298Fs.js";
|
|
|
62
62
|
import "./control-service-Ck37ECNh.js";
|
|
63
63
|
import "./channel-selection-eBPq7mbP.js";
|
|
64
64
|
import "./event-log-C9xX85hz.js";
|
|
65
|
-
import "./deps-
|
|
65
|
+
import "./deps-B-RkULZC.js";
|
|
66
66
|
import "./tailscale-CsF9n21t.js";
|
|
67
67
|
import { _ as parseSemver } from "./daemon-runtime-CxOO1xon.js";
|
|
68
68
|
import "./logging-BWWKm3m3.js";
|
|
69
69
|
import "./note-CSp5eHqT.js";
|
|
70
70
|
import "./plugin-auto-enable-DjrB_CSV.js";
|
|
71
|
-
import "./archive-
|
|
71
|
+
import "./archive-BknbufkD.js";
|
|
72
72
|
import "./skill-scanner-XSqJHIlH.js";
|
|
73
|
-
import "./installs-
|
|
74
|
-
import "./health-format-
|
|
75
|
-
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-
|
|
73
|
+
import "./installs-DdhvfIdP.js";
|
|
74
|
+
import "./health-format-DZf7Kq2V.js";
|
|
75
|
+
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-CbPO3uKT.js";
|
|
76
76
|
import "./auth-BzM5UpTJ.js";
|
|
77
77
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
78
78
|
import "./skills-status-Bwvp-df6.js";
|
|
@@ -80,15 +80,15 @@ import "./service-CsKcTbqE.js";
|
|
|
80
80
|
import "./systemd-DvZErSyI.js";
|
|
81
81
|
import "./service-audit-CutD6HKR.js";
|
|
82
82
|
import "./channels-status-issues-DpPqStch.js";
|
|
83
|
-
import "./register.subclis-
|
|
83
|
+
import "./register.subclis-xHgxEnjY.js";
|
|
84
84
|
import { t as formatHelpExamples } from "./help-format-D_sjxIrE.js";
|
|
85
85
|
import "./systemd-linger-blVsJyEr.js";
|
|
86
86
|
import "./auth-health--rhysFOz.js";
|
|
87
|
-
import { t as doctorCommand } from "./doctor-
|
|
88
|
-
import { r as installCompletion } from "./completion-cli-
|
|
87
|
+
import { t as doctorCommand } from "./doctor-D4OT5uXU.js";
|
|
88
|
+
import { r as installCompletion } from "./completion-cli-BkY8liRB.js";
|
|
89
89
|
import "./shared-ih2ZCRlQ.js";
|
|
90
|
-
import { r as runDaemonRestart } from "./daemon-cli-
|
|
91
|
-
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-
|
|
90
|
+
import { r as runDaemonRestart } from "./daemon-cli-CI3Yu8tw.js";
|
|
91
|
+
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-BCyseRSX.js";
|
|
92
92
|
import path from "node:path";
|
|
93
93
|
import os from "node:os";
|
|
94
94
|
import fs from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { nt as trimLogTail } from "./reply-
|
|
1
|
+
import { nt as trimLogTail } from "./reply-C-jHFwiM.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-D9d0NmBK.js";
|
|
6
6
|
import { _ as parseSemver } from "./daemon-runtime-CxOO1xon.js";
|
|
7
7
|
import { t as note } from "./note-CSp5eHqT.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-DZf7Kq2V.js";
|
|
9
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BkY8liRB.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import fs from "node:fs/promises";
|