skykoi 2026.3.96 → 2026.3.98
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/{agent-D2KjaDHw.js → agent-DD1HPoPt.js} +2 -2
- package/dist/{archive-ZOfNU3bl.js → archive-uEGQQXM2.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-lG9ZUllJ.js → channel-options-BhgEMY5y.js} +1 -1
- package/dist/{channels-cli-BKQetjUr.js → channels-cli-DUA9nTpq.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Bj4kKprp.js → cli-Dl5EFYnR.js} +1 -1
- package/dist/{completion-cli-CAEzBWDt.js → completion-cli-Cj2Zagd-.js} +1 -1
- package/dist/{config-guard-ixneaiDS.js → config-guard-DNb-MwBL.js} +13 -13
- package/dist/{configure-GZpvalC_.js → configure-DmLhBfmX.js} +4 -4
- package/dist/{daemon-cli-D_Zr3CTO.js → daemon-cli-CZTo_n_Y.js} +2 -2
- package/dist/{deps-BO74qdZ3.js → deps-DNfBogmf.js} +1 -1
- package/dist/{doctor-Dms5mQAz.js → doctor-BxpXH-ti.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-DZ-MIUV9.js → gateway-cli-D4upz9Vf.js} +15 -15
- package/dist/{github-copilot-auth-CyXO-3md.js → github-copilot-auth-BsEE7uZI.js} +1 -1
- package/dist/{health-format-DgHtbqON.js → health-format-QOlVyjem.js} +1 -1
- package/dist/{hooks-cli-CH6FaAK5.js → hooks-cli-CATHc3D2.js} +3 -3
- package/dist/index.js +19 -19
- package/dist/{installs-bOFX03-X.js → installs-DvzSjVit.js} +1 -1
- package/dist/{models-cli-Ct2-L3o2.js → models-cli-CxKkCvbD.js} +2 -2
- package/dist/{onboard-channels-C4-yvylZ.js → onboard-channels-Bfx79fiF.js} +2 -2
- package/dist/{onboard-skills-BrVSjd3F.js → onboard-skills-CkyF6gcn.js} +3 -3
- package/dist/{onboarding-DGXNVitH.js → onboarding-BEkjswyF.js} +6 -6
- package/dist/{plugin-registry-7WpGvBYt.js → plugin-registry-PjqvWYU8.js} +1 -1
- package/dist/{plugins-cli-BxLuun0X.js → plugins-cli-CvSnSveh.js} +5 -5
- package/dist/{program-isNo_nym.js → program-C89uUpYH.js} +4 -4
- package/dist/{register.subclis-B44xcxF9.js → register.subclis-BBEWH7Xx.js} +10 -10
- package/dist/{reply-D6M7l5Ar.js → reply-BvZEIbC9.js} +44 -2
- package/dist/{run-main-p1m97DDB.js → run-main-CIj-6bH4.js} +20 -20
- package/dist/{server-node-events-BSf86DPH.js → server-node-events-BuxAAnB0.js} +3 -3
- package/dist/{status-li1XXxN8.js → status-DHhn-ubA.js} +1 -1
- package/dist/{update-X-2LWPDK.js → update-BD21sA-Y.js} +1 -1
- package/dist/{update-cli-Fpk0qWW7.js → update-cli-DGnsXJFs.js} +11 -11
- package/dist/{update-runner-DM7-kbHp.js → update-runner-DD1l4ieG.js} +3 -3
- package/package.json +1 -1
|
@@ -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-BvJ6gVf1.js";
|
|
2
|
-
import { Bt as getRemoteSkillEligibility, Cn as AGENT_LANE_NESTED, Kt as getSkillsSnapshotVersion, L as runWithModelFallback, Lr as resolveAgentTimeoutMs, M as resolveOutboundTarget, N as resolveSessionDeliveryTarget, On as registerAgentRunContext, Sr as loadModelCatalog, Tn as emitAgentEvent, _r as applyVerboseOverride, c as runEmbeddedPiAgent, gr as applyModelOverrideToSessionEntry, hr as clearSessionAuthProfileOverride, i as runCliAgent, mr as lookupContextTokens, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, wn as clearAgentRunContext } from "./reply-
|
|
2
|
+
import { Bt as getRemoteSkillEligibility, Cn as AGENT_LANE_NESTED, Kt as getSkillsSnapshotVersion, L as runWithModelFallback, Lr as resolveAgentTimeoutMs, M as resolveOutboundTarget, N as resolveSessionDeliveryTarget, On as registerAgentRunContext, Sr as loadModelCatalog, Tn as emitAgentEvent, _r as applyVerboseOverride, c as runEmbeddedPiAgent, gr as applyModelOverrideToSessionEntry, hr as clearSessionAuthProfileOverride, i as runCliAgent, mr as lookupContextTokens, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, wn as clearAgentRunContext } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { N as DEFAULT_CHAT_CHANNEL, c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-hGS8_hRJ.js";
|
|
5
5
|
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-DrL2uTp9.js";
|
|
@@ -13,7 +13,7 @@ import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatew
|
|
|
13
13
|
import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-CAvRsPIf.js";
|
|
14
14
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-BFUBtaTW.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-BCDbst6m.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-DNfBogmf.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 { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { gt as require_inherits } from "./reply-
|
|
2
|
+
import { gt as require_inherits } from "./reply-BvZEIbC9.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
|
+
61e42094f31ea3f84a76a93d29f00708e34eab2cf8c9871cc8cf8185107ea2f5
|
|
@@ -2,7 +2,7 @@ import { M as CHAT_CHANNEL_ORDER } from "./subsystem-Dl1sS5S-.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-EjmWoVFM.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-CvpPbUcD.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-ClD8Hu9T.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-PjqvWYU8.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-BvJ6gVf1.js";
|
|
2
|
-
import { Mn as createSlackWebClient, dt as loadProviderUsageSummary, ft as formatUsageReportLines, gn as fetchChannelPermissionsDiscord, hn as parseDiscordTarget } from "./reply-
|
|
2
|
+
import { Mn as createSlackWebClient, dt as loadProviderUsageSummary, ft as formatUsageReportLines, gn as fetchChannelPermissionsDiscord, hn as parseDiscordTarget } from "./reply-BvZEIbC9.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-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
@@ -60,14 +60,14 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-BZvCBj3
|
|
|
60
60
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
61
61
|
import "./note-ty8fydmp.js";
|
|
62
62
|
import { t as createClackPrompter } from "./clack-prompter-D03d7Olp.js";
|
|
63
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
63
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-Bfx79fiF.js";
|
|
64
64
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-ClD8Hu9T.js";
|
|
65
|
-
import "./archive-
|
|
65
|
+
import "./archive-uEGQQXM2.js";
|
|
66
66
|
import "./skill-scanner-BapBkMb3.js";
|
|
67
|
-
import "./installs-
|
|
67
|
+
import "./installs-DvzSjVit.js";
|
|
68
68
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BaXwaWXv.js";
|
|
69
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
70
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
69
|
+
import { n as hasExplicitOptions } from "./plugin-registry-PjqvWYU8.js";
|
|
70
|
+
import { t as formatCliChannelOptions } from "./channel-options-BhgEMY5y.js";
|
|
71
71
|
import { t as buildChannelAccountSnapshot } from "./status-DqH1H1Pt.js";
|
|
72
72
|
import { t as parseLogLine } from "./parse-log-line-BjmXZSHU.js";
|
|
73
73
|
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-CZTo_n_Y.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BvJ6gVf1.js";
|
|
2
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import "./utils-DIctjiBL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-DcA9-j8b.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-BBEWH7Xx.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 { $t as runMemoryStatus, Ct as formatControlUiSshHint, D as runMessageAction, Et as moveToTrash, Ft as waitForGatewayReachable, I as CHANNEL_MESSAGE_ACTION_NAMES, Mt as resolveControlUiLinks, Ot as openUrl, P as formatTargetDisplay, Qt as registerMemoryCli, St as ensureWorkspaceAndSessions, Tt as handleReset, at as CHANNEL_TARGETS_DESCRIPTION, jt as randomToken, mr as lookupContextTokens, ot as CHANNEL_TARGET_DESCRIPTION, vt as DEFAULT_WORKSPACE, xt as detectBrowserOpenSupport, yt as applyWizardMetadata } from "./reply-
|
|
1
|
+
import { $t as runMemoryStatus, Ct as formatControlUiSshHint, D as runMessageAction, Et as moveToTrash, Ft as waitForGatewayReachable, I as CHANNEL_MESSAGE_ACTION_NAMES, Mt as resolveControlUiLinks, Ot as openUrl, P as formatTargetDisplay, Qt as registerMemoryCli, St as ensureWorkspaceAndSessions, Tt as handleReset, at as CHANNEL_TARGETS_DESCRIPTION, jt as randomToken, mr as lookupContextTokens, ot as CHANNEL_TARGET_DESCRIPTION, vt as DEFAULT_WORKSPACE, xt as detectBrowserOpenSupport, yt as applyWizardMetadata } from "./reply-BvZEIbC9.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-Dl1sS5S-.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-DcA9-j8b.js";
|
|
4
4
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
@@ -19,29 +19,29 @@ import { t as formatDocsLink } from "./links-yjT27ApF.js";
|
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-CodyYLHe.js";
|
|
20
20
|
import { n as withProgress } from "./progress-C_FQJYVr.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DjEIdF58.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-DNfBogmf.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-Cbr6U6xn.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-B818ac7o.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-CDHXxTNu.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-D03d7Olp.js";
|
|
28
|
-
import { a as buildAgentSummaries, c as loadAgentIdentity, f as parseIdentityMarkdown, i as applyAgentConfig, l as pruneAgentConfig, n as statusCommand, o as findAgentEntryIndex, s as listAgentEntries, 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 buildAgentSummaries, c as loadAgentIdentity, f as parseIdentityMarkdown, i as applyAgentConfig, l as pruneAgentConfig, n as statusCommand, o as findAgentEntryIndex, s as listAgentEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-BEkjswyF.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-CkyF6gcn.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-BsEE7uZI.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels-Bfx79fiF.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-QOlVyjem.js";
|
|
33
33
|
import { t as renderTable } from "./table-BuHjFIeu.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-Fxlow9XO.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BTcdURXT.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-BBEWH7Xx.js";
|
|
37
37
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CugYCGfI.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-rUxU9jE_.js";
|
|
39
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
40
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
39
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-DD1HPoPt.js";
|
|
40
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-PjqvWYU8.js";
|
|
41
41
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-xCg96Vkw.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-DmLhBfmX.js";
|
|
43
43
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BSA8MnYc.js";
|
|
44
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
44
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-BxpXH-ti.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-DmLhBfmX.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 { At as probeGatewayReachable, Dt as normalizeGatewayTokenInput, Ft as waitForGatewayReachable, Mt as resolveControlUiLinks, Pt as summarizeExistingConfig, St as ensureWorkspaceAndSessions, jt as randomToken, kt as printWizardHeader, vt as DEFAULT_WORKSPACE, wt as guardCancel, yt as applyWizardMetadata } from "./reply-
|
|
2
|
+
import { At as probeGatewayReachable, Dt as normalizeGatewayTokenInput, Ft as waitForGatewayReachable, Mt as resolveControlUiLinks, Pt as summarizeExistingConfig, St as ensureWorkspaceAndSessions, jt as randomToken, kt as printWizardHeader, vt as DEFAULT_WORKSPACE, wt as guardCancel, yt as applyWizardMetadata } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-DcA9-j8b.js";
|
|
5
5
|
import { h as resolveUserPath, y as shortenHomePath } from "./utils-DIctjiBL.js";
|
|
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-B818ac7o.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-ty8fydmp.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-CDHXxTNu.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-D03d7Olp.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-CkyF6gcn.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-Bfx79fiF.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-QOlVyjem.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-Fxlow9XO.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BSA8MnYc.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 { Mt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { Mt as resolveControlUiLinks } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { C as colorize, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, w as isRich } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-DcA9-j8b.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-DIctjiBL.js";
|
|
@@ -14,7 +14,7 @@ import { n as callGateway } from "./call-CpKBoq89.js";
|
|
|
14
14
|
import { t as formatDocsLink } from "./links-yjT27ApF.js";
|
|
15
15
|
import { n as withProgress } from "./progress-C_FQJYVr.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-CXZus5hc.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-DNfBogmf.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Cbr6U6xn.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Fxlow9XO.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BTcdURXT.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as sendMessageIMessage, fn as sendMessageTelegram, jn as sendMessageSlack, kn as sendMessageWhatsApp, pn as sendMessageDiscord } from "./reply-
|
|
1
|
+
import { _t as sendMessageIMessage, fn as sendMessageTelegram, jn as sendMessageSlack, kn as sendMessageWhatsApp, pn as sendMessageDiscord } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-BFUBtaTW.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Sr as loadModelCatalog, jt as randomToken, kt as printWizardHeader, ut as loadSKYKOIPlugins, wt as guardCancel, yt as applyWizardMetadata } from "./reply-
|
|
1
|
+
import { Sr as loadModelCatalog, jt as randomToken, kt as printWizardHeader, ut as loadSKYKOIPlugins, wt as guardCancel, yt as applyWizardMetadata } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { O as getResolvedLoggerSettings, c as defaultRuntime } from "./subsystem-Dl1sS5S-.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-DcA9-j8b.js";
|
|
4
4
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
@@ -25,8 +25,8 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-B818ac7o.js";
|
|
26
26
|
import { t as note$1 } from "./note-ty8fydmp.js";
|
|
27
27
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-ClD8Hu9T.js";
|
|
28
|
-
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
29
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
28
|
+
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-QOlVyjem.js";
|
|
29
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-DD1l4ieG.js";
|
|
30
30
|
import { i as resolveGatewayAuth } from "./auth-CMhFyIcG.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BSS2etLw.js";
|
|
32
32
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-Fxlow9XO.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-CIj-6bH4.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-BvJ6gVf1.js";
|
|
2
|
-
import { Lr as resolveAgentTimeoutMs, Pn as resolveAgentIdentity, c as runEmbeddedPiAgent } from "./reply-
|
|
2
|
+
import { Lr as resolveAgentTimeoutMs, Pn as resolveAgentIdentity, c as runEmbeddedPiAgent } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import "./utils-DIctjiBL.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-BvJ6gVf1.js";
|
|
3
|
-
import { $ as inferLegacyName, $n as setTtsEnabled, An as normalizePollInput, Ar as DEFAULT_INPUT_PDF_MAX_PIXELS, B as consumeGatewaySigusr1RestartAuthorization, Bn as createInternalHookEvent, Bt as getRemoteSkillEligibility, C as readSessionMessages, Cr as DEFAULT_INPUT_FILE_MAX_BYTES, Dn as onAgentEvent, Dr as DEFAULT_INPUT_IMAGE_MIMES, E as stripEnvelopeFromMessages, En as getAgentRunContext, Er as DEFAULT_INPUT_IMAGE_MAX_BYTES, F as resetDirectoryCache, Fr as normalizeMimeList, G as formatDoctorNonInteractiveHint, Gn as getTtsProvider, Gt as setSkillsRemoteRegistry, H as scheduleGatewaySigusr1Restart, Hn as triggerInternalHook, Ht as recordRemoteNodeInfo, In as formatUserTime, It as CONTROL_UI_AVATAR_PREFIX, J as summarizeRestartSentinel, Jn as resolveTtsApiKey, Jt as buildSafeExternalPrompt, K as formatRestartSentinelMessage, Kn as isTtsEnabled, Kt as getSkillsSnapshotVersion, L as runWithModelFallback, Ln as resolveUserTimeFormat, Lr as resolveAgentTimeoutMs, Lt as buildControlUiAvatarUrl, M as resolveOutboundTarget, Mr as DEFAULT_INPUT_TIMEOUT_MS, N as resolveSessionDeliveryTarget, Nr as extractFileContentFromSource, O as ensureOutboundSessionEntry, On as registerAgentRunContext, Or as DEFAULT_INPUT_MAX_REDIRECTS, Pn as resolveAgentIdentity, Pr as extractImageContentFromSource, Q as normalizeCronJobPatch, Qn as resolveTtsProviderOrder, Rn as resolveUserTimezone, Rt as normalizeControlUiBasePath, S as capArrayByJsonBytes, Sn as initSubagentRegistry, Sr as loadModelCatalog, T as resolveSessionTranscriptCandidates, Tn as emitAgentEvent, Tr as DEFAULT_INPUT_FILE_MIMES, Tt as handleReset, U as setGatewaySigusr1RestartPolicy, Un as OPENAI_TTS_MODELS, Ut as refreshRemoteBinsForConnectedNodes, V as isGatewaySigusr1RestartExternallyAllowed, Vn as registerInternalHook, Vt as primeRemoteSkillsCache, W as consumeRestartSentinel, Wn as OPENAI_TTS_VOICES, Wt as refreshRemoteNodeBins, X as writeRestartSentinel, Xn as resolveTtsConfig, Xt as getHookType, Yn as resolveTtsAutoMode, Yt as detectSuspiciousPatterns, Z as normalizeCronJobCreate, Zn as resolveTtsPrefsPath, Zt as isExternalHookSession, _ as loadCombinedSessionStoreForGateway, _n as dispatchInboundMessage, _r as applyVerboseOverride, a as normalizeSendPolicy, ar as CommandLane, b as resolveSessionModelRef, bn as isAbortTrigger, br as isSystemEventContextChanged, c as runEmbeddedPiAgent, cr as isDiagnosticsEnabled, d as waitForEmbeddedPiRunEnd, dt as loadProviderUsageSummary, er as setTtsProvider, et as normalizeOptionalAgentId, g as listSessionsFromStore, gr as applyModelOverrideToSessionEntry, h as listAgentsForGateway, ht as handleSlackHttpRequest, i as runCliAgent, in as registerUnhandledRejectionHandler, ir as setCommandLaneConcurrency, it as migrateLegacyCronPayload, jr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, k as resolveOutboundSessionRoute, kr as DEFAULT_INPUT_PDF_MAX_PAGES, l as abortEmbeddedPiRun, ln as getLastHeartbeatEvent, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, lt as getPluginToolMeta, m as resolveAnnounceTargetFromKey, mn as getChannelActivity, mr as lookupContextTokens, n as getCliSessionId, nn as normalizeGroupActivation, nt as normalizePayloadToSystemText, o as resolveSendPolicy, on as buildHistoryContextFromEntries, or as startDiagnosticHeartbeat, p as createSKYKOITools, pr as stripHeartbeatToken, qn as isTtsProviderConfigured, qt as registerSkillsChangeListener, r as setCliSessionId, rt as normalizeRequiredName, s as clearSessionQueues, sn as resolveHeartbeatVisibility, sr as stopDiagnosticHeartbeat, st as requestHeartbeatNow, tn as createReplyPrefixOptions, tr as textToSpeech, tt as normalizeOptionalText, un as onHeartbeatEvent, ut as loadSKYKOIPlugins, v as loadSessionEntry, vn as createReplyDispatcher, vr as parseVerboseOverride, w as readSessionPreviewItemsFromTranscript, wn as clearAgentRunContext, wr as DEFAULT_INPUT_FILE_MAX_CHARS, x as archiveFileOnDisk, xn as stopSubagentsForRequester, y as resolveGatewaySessionStoreTarget, yn as formatZonedTimestamp, yr as enqueueSystemEvent, z as authorizeGatewaySigusr1Restart, zn as clearInternalHooks, zt as resolveAssistantAvatarUrl } from "./reply-
|
|
3
|
+
import { $ as inferLegacyName, $n as setTtsEnabled, An as normalizePollInput, Ar as DEFAULT_INPUT_PDF_MAX_PIXELS, B as consumeGatewaySigusr1RestartAuthorization, Bn as createInternalHookEvent, Bt as getRemoteSkillEligibility, C as readSessionMessages, Cr as DEFAULT_INPUT_FILE_MAX_BYTES, Dn as onAgentEvent, Dr as DEFAULT_INPUT_IMAGE_MIMES, E as stripEnvelopeFromMessages, En as getAgentRunContext, Er as DEFAULT_INPUT_IMAGE_MAX_BYTES, F as resetDirectoryCache, Fr as normalizeMimeList, G as formatDoctorNonInteractiveHint, Gn as getTtsProvider, Gt as setSkillsRemoteRegistry, H as scheduleGatewaySigusr1Restart, Hn as triggerInternalHook, Ht as recordRemoteNodeInfo, In as formatUserTime, It as CONTROL_UI_AVATAR_PREFIX, J as summarizeRestartSentinel, Jn as resolveTtsApiKey, Jt as buildSafeExternalPrompt, K as formatRestartSentinelMessage, Kn as isTtsEnabled, Kt as getSkillsSnapshotVersion, L as runWithModelFallback, Ln as resolveUserTimeFormat, Lr as resolveAgentTimeoutMs, Lt as buildControlUiAvatarUrl, M as resolveOutboundTarget, Mr as DEFAULT_INPUT_TIMEOUT_MS, N as resolveSessionDeliveryTarget, Nr as extractFileContentFromSource, O as ensureOutboundSessionEntry, On as registerAgentRunContext, Or as DEFAULT_INPUT_MAX_REDIRECTS, Pn as resolveAgentIdentity, Pr as extractImageContentFromSource, Q as normalizeCronJobPatch, Qn as resolveTtsProviderOrder, Rn as resolveUserTimezone, Rt as normalizeControlUiBasePath, S as capArrayByJsonBytes, Sn as initSubagentRegistry, Sr as loadModelCatalog, T as resolveSessionTranscriptCandidates, Tn as emitAgentEvent, Tr as DEFAULT_INPUT_FILE_MIMES, Tt as handleReset, U as setGatewaySigusr1RestartPolicy, Un as OPENAI_TTS_MODELS, Ut as refreshRemoteBinsForConnectedNodes, V as isGatewaySigusr1RestartExternallyAllowed, Vn as registerInternalHook, Vt as primeRemoteSkillsCache, W as consumeRestartSentinel, Wn as OPENAI_TTS_VOICES, Wt as refreshRemoteNodeBins, X as writeRestartSentinel, Xn as resolveTtsConfig, Xt as getHookType, Yn as resolveTtsAutoMode, Yt as detectSuspiciousPatterns, Z as normalizeCronJobCreate, Zn as resolveTtsPrefsPath, Zt as isExternalHookSession, _ as loadCombinedSessionStoreForGateway, _n as dispatchInboundMessage, _r as applyVerboseOverride, a as normalizeSendPolicy, ar as CommandLane, b as resolveSessionModelRef, bn as isAbortTrigger, br as isSystemEventContextChanged, c as runEmbeddedPiAgent, cr as isDiagnosticsEnabled, d as waitForEmbeddedPiRunEnd, dt as loadProviderUsageSummary, er as setTtsProvider, et as normalizeOptionalAgentId, g as listSessionsFromStore, gr as applyModelOverrideToSessionEntry, h as listAgentsForGateway, ht as handleSlackHttpRequest, i as runCliAgent, in as registerUnhandledRejectionHandler, ir as setCommandLaneConcurrency, it as migrateLegacyCronPayload, jr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, k as resolveOutboundSessionRoute, kr as DEFAULT_INPUT_PDF_MAX_PAGES, l as abortEmbeddedPiRun, ln as getLastHeartbeatEvent, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, lt as getPluginToolMeta, m as resolveAnnounceTargetFromKey, mn as getChannelActivity, mr as lookupContextTokens, n as getCliSessionId, nn as normalizeGroupActivation, nt as normalizePayloadToSystemText, o as resolveSendPolicy, on as buildHistoryContextFromEntries, or as startDiagnosticHeartbeat, p as createSKYKOITools, pr as stripHeartbeatToken, qn as isTtsProviderConfigured, qt as registerSkillsChangeListener, r as setCliSessionId, rt as normalizeRequiredName, s as clearSessionQueues, sn as resolveHeartbeatVisibility, sr as stopDiagnosticHeartbeat, st as requestHeartbeatNow, tn as createReplyPrefixOptions, tr as textToSpeech, tt as normalizeOptionalText, un as onHeartbeatEvent, ut as loadSKYKOIPlugins, v as loadSessionEntry, vn as createReplyDispatcher, vr as parseVerboseOverride, w as readSessionPreviewItemsFromTranscript, wn as clearAgentRunContext, wr as DEFAULT_INPUT_FILE_MAX_CHARS, x as archiveFileOnDisk, xn as stopSubagentsForRequester, y as resolveGatewaySessionStoreTarget, yn as formatZonedTimestamp, yr as enqueueSystemEvent, z as authorizeGatewaySigusr1Restart, zn as clearInternalHooks, zt as resolveAssistantAvatarUrl } from "./reply-BvZEIbC9.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-Dl1sS5S-.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-DcA9-j8b.js";
|
|
6
6
|
import { _ as isSubagentSessionKey, d as resolveAgentIdFromSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, m as toAgentRequestSessionKey, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID, u as normalizeMainKey, v as parseAgentSessionKey } from "./session-key-hGS8_hRJ.js";
|
|
@@ -64,7 +64,7 @@ import { i as readExecApprovalsSnapshot, o as resolveExecApprovalsSocketPath, r
|
|
|
64
64
|
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-BKhfvt2O.js";
|
|
65
65
|
import { t as parseAbsoluteTimeMs } from "./parse-CQc2Wki1.js";
|
|
66
66
|
import { n as resolveMessageChannelSelection } from "./channel-selection-BZvCBj33.js";
|
|
67
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
67
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DNfBogmf.js";
|
|
68
68
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-CW2aNYJ9.js";
|
|
69
69
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DsAko5OY.js";
|
|
70
70
|
import "./daemon-runtime-Cbr6U6xn.js";
|
|
@@ -73,16 +73,16 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
|
73
73
|
import "./logging-B818ac7o.js";
|
|
74
74
|
import "./note-ty8fydmp.js";
|
|
75
75
|
import { t as WizardCancelledError } from "./prompts-CDHXxTNu.js";
|
|
76
|
-
import { c as loadAgentIdentity, d as loadAgentIdentityFromWorkspace, i as applyAgentConfig, l as pruneAgentConfig, o as findAgentEntryIndex, r as getStatusSummary, s as listAgentEntries, t as runOnboardingWizard } from "./onboarding-
|
|
77
|
-
import { n as installSkill } from "./onboard-skills-
|
|
78
|
-
import "./github-copilot-auth-
|
|
79
|
-
import "./onboard-channels-
|
|
76
|
+
import { c as loadAgentIdentity, d as loadAgentIdentityFromWorkspace, i as applyAgentConfig, l as pruneAgentConfig, o as findAgentEntryIndex, r as getStatusSummary, s as listAgentEntries, t as runOnboardingWizard } from "./onboarding-BEkjswyF.js";
|
|
77
|
+
import { n as installSkill } from "./onboard-skills-CkyF6gcn.js";
|
|
78
|
+
import "./github-copilot-auth-BsEE7uZI.js";
|
|
79
|
+
import "./onboard-channels-Bfx79fiF.js";
|
|
80
80
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-ClD8Hu9T.js";
|
|
81
|
-
import "./archive-
|
|
81
|
+
import "./archive-uEGQQXM2.js";
|
|
82
82
|
import "./skill-scanner-BapBkMb3.js";
|
|
83
|
-
import "./installs-
|
|
84
|
-
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-
|
|
85
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
83
|
+
import "./installs-DvzSjVit.js";
|
|
84
|
+
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-QOlVyjem.js";
|
|
85
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-DD1l4ieG.js";
|
|
86
86
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-CMhFyIcG.js";
|
|
87
87
|
import { i as probeGateway } from "./audit-CZd_di7T.js";
|
|
88
88
|
import "./table-BuHjFIeu.js";
|
|
@@ -92,16 +92,16 @@ import { p as resolveGatewayStateDir } from "./systemd-BTcdURXT.js";
|
|
|
92
92
|
import "./service-audit-DZFKLzeZ.js";
|
|
93
93
|
import "./node-service-CdjRxBgz.js";
|
|
94
94
|
import "./channels-status-issues-BaXwaWXv.js";
|
|
95
|
-
import "./register.subclis-
|
|
96
|
-
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
95
|
+
import "./register.subclis-BBEWH7Xx.js";
|
|
96
|
+
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-DD1HPoPt.js";
|
|
97
97
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-C09wbKzV.js";
|
|
98
98
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-DF5ll51G.js";
|
|
99
|
-
import "./completion-cli-
|
|
99
|
+
import "./completion-cli-Cj2Zagd-.js";
|
|
100
100
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-Bk7yFv90.js";
|
|
101
101
|
import "./tui-CKp6K-nL.js";
|
|
102
102
|
import { t as buildChannelAccountSnapshot } from "./status-DqH1H1Pt.js";
|
|
103
103
|
import "./shared-BzZOYgS0.js";
|
|
104
|
-
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
104
|
+
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-CZTo_n_Y.js";
|
|
105
105
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-vW-rMMy7.js";
|
|
106
106
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeAgentEventForWsLog, t as formatForLog } from "./ws-log-NQGsvlnZ.js";
|
|
107
107
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Ja2q39R7.js";
|
|
@@ -10574,7 +10574,7 @@ const nodeHandlers = {
|
|
|
10574
10574
|
const p = params;
|
|
10575
10575
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
10576
10576
|
await respondUnavailableOnThrow(respond, async () => {
|
|
10577
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
10577
|
+
const { handleNodeEvent } = await import("./server-node-events-BuxAAnB0.js");
|
|
10578
10578
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
10579
10579
|
await handleNodeEvent({
|
|
10580
10580
|
deps: context.deps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
3
3
|
import { l as normalizeAgentId } from "./session-key-hGS8_hRJ.js";
|
|
4
4
|
import { b as sleep } from "./utils-DIctjiBL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as resolveHeartbeatDeliveryTarget, Fn as resolveEffectiveMessagesConfig, Rn as resolveUserTimezone, ar as CommandLane, cn as emitHeartbeatEvent, ct as setHeartbeatWakeHandler, dn as resolveIndicatorType, dr as isHeartbeatContentEffectivelyEmpty, fr as resolveHeartbeatPrompt$1, j as resolveHeartbeatSenderContext, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, nr as enqueueCommandInLane, pr as stripHeartbeatToken, rr as getQueueSize, sn as resolveHeartbeatVisibility, st as requestHeartbeatNow, t as getReplyFromConfig, u as isEmbeddedPiRunActive, ur as DEFAULT_HEARTBEAT_EVERY, xr as peekSystemEvents } from "./reply-
|
|
1
|
+
import { A as resolveHeartbeatDeliveryTarget, Fn as resolveEffectiveMessagesConfig, Rn as resolveUserTimezone, ar as CommandLane, cn as emitHeartbeatEvent, ct as setHeartbeatWakeHandler, dn as resolveIndicatorType, dr as isHeartbeatContentEffectivelyEmpty, fr as resolveHeartbeatPrompt$1, j as resolveHeartbeatSenderContext, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, nr as enqueueCommandInLane, pr as stripHeartbeatToken, rr as getQueueSize, sn as resolveHeartbeatVisibility, st as requestHeartbeatNow, t as getReplyFromConfig, u as isEmbeddedPiRunActive, ur as DEFAULT_HEARTBEAT_EVERY, xr as peekSystemEvents } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { C as colorize, T as theme, c as defaultRuntime, m as info, t as createSubsystemLogger, w as isRich } from "./subsystem-Dl1sS5S-.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, h as toAgentStoreSessionKey, l as normalizeAgentId } from "./session-key-hGS8_hRJ.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-CToLomNk.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BvJ6gVf1.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BvZEIbC9.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import { h as resolveUserPath, t as CONFIG_DIR, y as shortenHomePath } from "./utils-DIctjiBL.js";
|
|
@@ -55,10 +55,10 @@ import "./satisfies-Ch9z1ETk.js";
|
|
|
55
55
|
import "./session-cost-usage-BCDbst6m.js";
|
|
56
56
|
import "./control-service-BKhfvt2O.js";
|
|
57
57
|
import "./channel-selection-BZvCBj33.js";
|
|
58
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
58
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-uEGQQXM2.js";
|
|
59
59
|
import { t as renderTable } from "./table-BuHjFIeu.js";
|
|
60
60
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-Bk7yFv90.js";
|
|
61
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
61
|
+
import { t as buildPluginStatusReport } from "./status-DHhn-ubA.js";
|
|
62
62
|
import fs from "node:fs";
|
|
63
63
|
import path from "node:path";
|
|
64
64
|
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-BvJ6gVf1.js";
|
|
3
|
-
import { Ir as applyTemplate, an as waitForever, en as monitorWebChannel, rn as installUnhandledRejectionHandler, t as getReplyFromConfig } from "./reply-
|
|
3
|
+
import { Ir as applyTemplate, an as waitForever, en as monitorWebChannel, rn as installUnhandledRejectionHandler, t as getReplyFromConfig } from "./reply-BvZEIbC9.js";
|
|
4
4
|
import { r as enableConsoleCapture } from "./subsystem-Dl1sS5S-.js";
|
|
5
5
|
import "./paths-DcA9-j8b.js";
|
|
6
6
|
import { S as toWhatsappJid, d as normalizeE164, n as assertWebChannel } from "./utils-DIctjiBL.js";
|
|
@@ -55,27 +55,27 @@ import "./satisfies-Ch9z1ETk.js";
|
|
|
55
55
|
import "./session-cost-usage-BCDbst6m.js";
|
|
56
56
|
import "./control-service-BKhfvt2O.js";
|
|
57
57
|
import "./channel-selection-BZvCBj33.js";
|
|
58
|
-
import { t as createDefaultDeps } from "./deps-
|
|
58
|
+
import { t as createDefaultDeps } from "./deps-DNfBogmf.js";
|
|
59
59
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-CW2aNYJ9.js";
|
|
60
60
|
import { t as loadDotEnv } from "./dotenv-DlZCd7a6.js";
|
|
61
61
|
import { t as isMainModule } from "./is-main-DY9Hjhai.js";
|
|
62
62
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DsAko5OY.js";
|
|
63
63
|
import { g as assertSupportedRuntime } from "./daemon-runtime-Cbr6U6xn.js";
|
|
64
64
|
import "./ports-CCPpWmHD.js";
|
|
65
|
-
import "./config-guard-
|
|
65
|
+
import "./config-guard-DNb-MwBL.js";
|
|
66
66
|
import "./logging-B818ac7o.js";
|
|
67
67
|
import "./note-ty8fydmp.js";
|
|
68
68
|
import "./clack-prompter-D03d7Olp.js";
|
|
69
|
-
import "./onboarding-
|
|
70
|
-
import "./onboard-skills-
|
|
71
|
-
import "./github-copilot-auth-
|
|
72
|
-
import "./onboard-channels-
|
|
69
|
+
import "./onboarding-BEkjswyF.js";
|
|
70
|
+
import "./onboard-skills-CkyF6gcn.js";
|
|
71
|
+
import "./github-copilot-auth-BsEE7uZI.js";
|
|
72
|
+
import "./onboard-channels-Bfx79fiF.js";
|
|
73
73
|
import "./plugin-auto-enable-ClD8Hu9T.js";
|
|
74
|
-
import "./archive-
|
|
74
|
+
import "./archive-uEGQQXM2.js";
|
|
75
75
|
import "./skill-scanner-BapBkMb3.js";
|
|
76
|
-
import "./installs-
|
|
77
|
-
import "./health-format-
|
|
78
|
-
import "./update-runner-
|
|
76
|
+
import "./installs-DvzSjVit.js";
|
|
77
|
+
import "./health-format-QOlVyjem.js";
|
|
78
|
+
import "./update-runner-DD1l4ieG.js";
|
|
79
79
|
import "./auth-CMhFyIcG.js";
|
|
80
80
|
import "./audit-CZd_di7T.js";
|
|
81
81
|
import "./table-BuHjFIeu.js";
|
|
@@ -85,22 +85,22 @@ import "./systemd-BTcdURXT.js";
|
|
|
85
85
|
import "./service-audit-DZFKLzeZ.js";
|
|
86
86
|
import "./node-service-CdjRxBgz.js";
|
|
87
87
|
import "./channels-status-issues-BaXwaWXv.js";
|
|
88
|
-
import "./register.subclis-
|
|
88
|
+
import "./register.subclis-BBEWH7Xx.js";
|
|
89
89
|
import "./gateway-rpc-CugYCGfI.js";
|
|
90
90
|
import "./help-format-rUxU9jE_.js";
|
|
91
|
-
import "./agent-
|
|
92
|
-
import "./plugin-registry-
|
|
93
|
-
import "./configure-
|
|
91
|
+
import "./agent-DD1HPoPt.js";
|
|
92
|
+
import "./plugin-registry-PjqvWYU8.js";
|
|
93
|
+
import "./configure-DmLhBfmX.js";
|
|
94
94
|
import "./systemd-linger-BSA8MnYc.js";
|
|
95
95
|
import "./widearea-dns-C09wbKzV.js";
|
|
96
96
|
import "./bonjour-discovery-DF5ll51G.js";
|
|
97
97
|
import "./auth-health-Cg7cWRH-.js";
|
|
98
|
-
import "./doctor-
|
|
99
|
-
import "./completion-cli-
|
|
98
|
+
import "./doctor-BxpXH-ti.js";
|
|
99
|
+
import "./completion-cli-Cj2Zagd-.js";
|
|
100
100
|
import "./hooks-status-Bk7yFv90.js";
|
|
101
101
|
import "./tui-CKp6K-nL.js";
|
|
102
|
-
import "./channel-options-
|
|
103
|
-
import { n as buildProgram } from "./program-
|
|
102
|
+
import "./channel-options-BhgEMY5y.js";
|
|
103
|
+
import { n as buildProgram } from "./program-C89uUpYH.js";
|
|
104
104
|
import process from "node:process";
|
|
105
105
|
import { fileURLToPath } from "node:url";
|
|
106
106
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-DIctjiBL.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CToLomNk.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-5tS0nRed.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-uEGQQXM2.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BapBkMb3.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BvJ6gVf1.js";
|
|
2
|
-
import { Ot as openUrl, R as describeFailoverError, Sr as loadModelCatalog, c as runEmbeddedPiAgent, dt as loadProviderUsageSummary, mt as resolveUsageProviderId, pt as formatUsageWindowSummary } from "./reply-
|
|
2
|
+
import { Ot as openUrl, R as describeFailoverError, Sr as loadModelCatalog, c as runEmbeddedPiAgent, dt as loadProviderUsageSummary, mt as resolveUsageProviderId, pt as formatUsageWindowSummary } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { C as colorize, T as theme, c as defaultRuntime, w as isRich$1 } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import { t as CONFIG_PATH } from "./paths-DcA9-j8b.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-DIctjiBL.js";
|
|
@@ -59,7 +59,7 @@ import "./channel-selection-BZvCBj33.js";
|
|
|
59
59
|
import { n as logConfigUpdated } from "./logging-B818ac7o.js";
|
|
60
60
|
import "./note-ty8fydmp.js";
|
|
61
61
|
import { t as createClackPrompter } from "./clack-prompter-D03d7Olp.js";
|
|
62
|
-
import { a as normalizeAlias, c as updateConfig, d as resolvePluginProviders, i as formatTokenK, l as createVpsAwareOAuthHandlers, n as ensureFlagCompatibility, o as resolveKnownAgentId, pt as validateAnthropicSetupToken, r as formatMs, s as resolveModelTarget, t as githubCopilotLoginCommand, u as isRemoteEnvironment, v as applyAuthProfileConfig } from "./github-copilot-auth-
|
|
62
|
+
import { a as normalizeAlias, c as updateConfig, d as resolvePluginProviders, i as formatTokenK, l as createVpsAwareOAuthHandlers, n as ensureFlagCompatibility, o as resolveKnownAgentId, pt as validateAnthropicSetupToken, r as formatMs, s as resolveModelTarget, t as githubCopilotLoginCommand, u as isRemoteEnvironment, v as applyAuthProfileConfig } from "./github-copilot-auth-BsEE7uZI.js";
|
|
63
63
|
import { t as renderTable } from "./table-BuHjFIeu.js";
|
|
64
64
|
import { i as redactSecrets } from "./format-APMZSEkl.js";
|
|
65
65
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-Cg7cWRH-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { F as formatChannelSelectionLine, L as listChatChannels, P as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DrL2uTp9.js";
|
|
@@ -7,7 +7,7 @@ import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CvpPbU
|
|
|
7
7
|
import { t as formatDocsLink } from "./links-yjT27ApF.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
9
9
|
import { i as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-ClD8Hu9T.js";
|
|
10
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
10
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-DvzSjVit.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nt as resolveNodeManagerOptions, Ot as openUrl, Sr as loadModelCatalog, bt as detectBinary } from "./reply-
|
|
1
|
+
import { Nt as resolveNodeManagerOptions, Ot as openUrl, Sr as loadModelCatalog, bt as detectBinary } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { f as resolveConfigDir, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-DIctjiBL.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CToLomNk.js";
|
|
4
4
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-DrL2uTp9.js";
|
|
@@ -8,8 +8,8 @@ import { t as formatCliCommand } from "./command-format-BxjVkF35.js";
|
|
|
8
8
|
import { _ as resolveSkillKey, d as hasBinary, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-Bfqz-DdS.js";
|
|
9
9
|
import { Y as fetchWithSsrFGuard } from "./deliver-BFUBtaTW.js";
|
|
10
10
|
import { t as resolveBrewExecutable } from "./brew-C3EWd0g3.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-BsEE7uZI.js";
|
|
12
|
+
import { a as enablePluginInConfig } from "./onboard-channels-Bfx79fiF.js";
|
|
13
13
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BapBkMb3.js";
|
|
14
14
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BSS2etLw.js";
|
|
15
15
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-C09wbKzV.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as probeGatewayReachable, Bt as getRemoteSkillEligibility, Ct as formatControlUiSshHint, Dt as normalizeGatewayTokenInput, Ft as waitForGatewayReachable, J as summarizeRestartSentinel, Mt as resolveControlUiLinks, Nn as getMemorySearchManager, Ot as openUrl, Pt as summarizeExistingConfig, Rt as normalizeControlUiBasePath, St as ensureWorkspaceAndSessions, Tt as handleReset, dt as loadProviderUsageSummary, f as sha256HexPrefix, ft as formatUsageReportLines, h as listAgentsForGateway, jt as randomToken, kt as printWizardHeader, mr as lookupContextTokens, q as readRestartSentinel, vt as DEFAULT_WORKSPACE, xr as peekSystemEvents, xt as detectBrowserOpenSupport, yt as applyWizardMetadata } from "./reply-
|
|
1
|
+
import { At as probeGatewayReachable, Bt as getRemoteSkillEligibility, Ct as formatControlUiSshHint, Dt as normalizeGatewayTokenInput, Ft as waitForGatewayReachable, J as summarizeRestartSentinel, Mt as resolveControlUiLinks, Nn as getMemorySearchManager, Ot as openUrl, Pt as summarizeExistingConfig, Rt as normalizeControlUiBasePath, St as ensureWorkspaceAndSessions, Tt as handleReset, dt as loadProviderUsageSummary, f as sha256HexPrefix, ft as formatUsageReportLines, h as listAgentsForGateway, jt as randomToken, kt as printWizardHeader, mr as lookupContextTokens, q as readRestartSentinel, vt as DEFAULT_WORKSPACE, xr as peekSystemEvents, xt as detectBrowserOpenSupport, yt as applyWizardMetadata } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { T as theme, c as defaultRuntime, l as restoreTerminalState, m as info, w as isRich } from "./subsystem-Dl1sS5S-.js";
|
|
3
3
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-DcA9-j8b.js";
|
|
4
4
|
import { l as normalizeAgentId, v as parseAgentSessionKey } from "./session-key-hGS8_hRJ.js";
|
|
@@ -21,10 +21,10 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWA
|
|
|
21
21
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-B818ac7o.js";
|
|
23
23
|
import { t as WizardCancelledError } from "./prompts-CDHXxTNu.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 resolveHeartbeatSummaryForAgent } 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-CkyF6gcn.js";
|
|
25
|
+
import { n as setupChannels } from "./onboard-channels-Bfx79fiF.js";
|
|
26
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-QOlVyjem.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-DD1l4ieG.js";
|
|
28
28
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-CZd_di7T.js";
|
|
29
29
|
import { t as renderTable } from "./table-BuHjFIeu.js";
|
|
30
30
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BSS2etLw.js";
|
|
@@ -34,7 +34,7 @@ import { o as readLastGatewayErrorLine } from "./service-audit-DZFKLzeZ.js";
|
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-CdjRxBgz.js";
|
|
35
35
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BaXwaWXv.js";
|
|
36
36
|
import { i as redactSecrets, n as formatDuration$1, r as formatGatewayAuthUsed, t as formatAge$1 } from "./format-APMZSEkl.js";
|
|
37
|
-
import { r as installCompletion } from "./completion-cli-
|
|
37
|
+
import { r as installCompletion } from "./completion-cli-Cj2Zagd-.js";
|
|
38
38
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-Bk7yFv90.js";
|
|
39
39
|
import { t as runTui } from "./tui-CKp6K-nL.js";
|
|
40
40
|
import fs from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DrL2uTp9.js";
|
|
4
4
|
import { o as loadConfig } from "./config-DEZJw4n-.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BvJ6gVf1.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BvZEIbC9.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import { h as resolveUserPath, v as shortenHomeInString, y as shortenHomePath } from "./utils-DIctjiBL.js";
|
|
@@ -54,12 +54,12 @@ import "./satisfies-Ch9z1ETk.js";
|
|
|
54
54
|
import "./session-cost-usage-BCDbst6m.js";
|
|
55
55
|
import "./control-service-BKhfvt2O.js";
|
|
56
56
|
import "./channel-selection-BZvCBj33.js";
|
|
57
|
-
import { i as resolveArchiveKind } from "./archive-
|
|
57
|
+
import { i as resolveArchiveKind } from "./archive-uEGQQXM2.js";
|
|
58
58
|
import "./skill-scanner-BapBkMb3.js";
|
|
59
|
-
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-
|
|
59
|
+
import { n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-DvzSjVit.js";
|
|
60
60
|
import { t as renderTable } from "./table-BuHjFIeu.js";
|
|
61
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
62
|
-
import { n as updateNpmInstalledPlugins } from "./update-
|
|
61
|
+
import { t as buildPluginStatusReport } from "./status-DHhn-ubA.js";
|
|
62
|
+
import { n as updateNpmInstalledPlugins } from "./update-BD21sA-Y.js";
|
|
63
63
|
import fs from "node:fs";
|
|
64
64
|
import path from "node:path";
|
|
65
65
|
|
|
@@ -4,11 +4,11 @@ import { n as replaceCliName, r as resolveCliName } from "./command-format-BxjVk
|
|
|
4
4
|
import { t as isTruthyEnvValue } from "./env-EjmWoVFM.js";
|
|
5
5
|
import { N as VERSION } from "./config-DEZJw4n-.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-yjT27ApF.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-DNb-MwBL.js";
|
|
8
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-BBEWH7Xx.js";
|
|
9
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-PjqvWYU8.js";
|
|
10
10
|
import { i as hasEmittedCliBanner, n as emitCliBanner, r as formatCliBannerLine } from "./tui-CKp6K-nL.js";
|
|
11
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
11
|
+
import { n as resolveCliChannelOptions } from "./channel-options-BhgEMY5y.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-D4upz9Vf.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-CZTo_n_Y.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-CxKkCvbD.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-CATHc3D2.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-Dl5EFYnR.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-DgoILid6.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-CvSnSveh.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-Dl5EFYnR.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-DUA9nTpq.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-DGnsXJFs.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-Cj2Zagd-.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -138433,7 +138433,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
138433
138433
|
}
|
|
138434
138434
|
if (!isMinimal) {
|
|
138435
138435
|
lines.push("## Credential Requests & Account Access", "", "### Requesting Credentials", "When you need login credentials, API keys, or verification codes, output a hidden marker:", "`<!-- CREDENTIAL_REQUEST:{\"service\":\"github\",\"fields\":[\"email\",\"password\"],\"message\":\"I need your GitHub credentials to log in.\"} -->`", "", "The frontend renders a secure inline form with options:", "- **Continue with Google/GitHub/etc.** — OAuth one-click sign-in (best UX)", "- **Use saved** — auto-fill from vault (if credentials were saved before)", "- **Manual entry** — user types email/password", "", "After submission, you receive a [System] event with the credentials. Use them immediately. Do NOT echo credentials, do NOT ask to re-enter.", "", "**IMPORTANT**: Always request BOTH email AND password together. Use field names: email, password, username, code, otp, 2fa, phone, api_key, token.", "For 2FA codes, use `type: \"2fa_request\"` and `fields: [\"code\"]`.", "", "### OAuth Authentication", "When you receive `[System] User authenticated with {provider} via OAuth`, the user already signed in via one-click OAuth. You have their:", "- Email address and name (in the system event)", "- OAuth access token stored in the credential vault", "DO NOT ask for credentials again. DO NOT explain API setup. Just confirm the account is connected and proceed with whatever task prompted the login.", "Example response: \"Your Google account (user@gmail.com) is now connected! What would you like me to do with it?\"", "", "### Contextual Understanding (CRITICAL)", "When the user sends a short message like 'send', 'send it', 'show me', or 'do it', infer from context what they mean. Examples:", "- User: \"show me screenshot of desktop\" → You: take screenshot → User: \"send\" → SEND THE SCREENSHOT. Do NOT ask \"send what?\"", "- User: \"write me an email\" → You: draft email → User: \"send\" → SEND THE EMAIL. Do NOT ask \"send to whom?\"", "- If you just produced content (screenshot, file, text), 'send' means deliver that content to the user in this chat.", "- Never ask clarifying questions about something you JUST discussed. Use conversation context.", "- When delivering files/images, include them inline in your response (use the upload server or message tool with media). Do not just mention the file path.", "", "### Browser-Based Access", "You have a full Playwright-capable browser. For ANY website or service:", "1. Navigate to the site with the browser tool", "2. If login is needed, request credentials via the CREDENTIAL_REQUEST marker", "3. After receiving credentials, type them into the login form using browser actions (click, type, press)", "4. Handle 2FA if prompted (request code via 2fa_request marker)", "5. Once logged in, the browser session persists — you can interact with the site fully", "", "You can access ANY website the user needs. Gmail, GitHub, AWS Console, social media, banking dashboards — anything with a web interface. The browser runs on your server with full Playwright support (navigate, click, type, screenshot, evaluate JS).", "");
|
|
138436
|
-
lines.push("## Plan Mode (MANDATORY for substantial asks)", "", "For any substantial ask — multi-step project, design change, migration, research-backed work, anything where the answer isn't a one-shot tool call — you MUST emit a `plan` tool call FIRST, before any other work.", "", "### Research is required, not optional", "The plan tool rejects shallow plans at the tool level. Before calling `plan`:", "- Run web searches AND web fetches to gather vendor docs, blog posts, prior implementations, comparable work. Minimum 3 sources with a one-sentence `takeaway` each.", "- Read project files relevant to the task. Minimum 2 files with a `finding` explaining what you learned. Only applies when working inside a project.", "- More is better. Substantial asks deserve 5-10+ web sources and a half-dozen file reads.", "", "### Plans have PHASES, each with its
|
|
138436
|
+
lines.push("## Plan Mode (MANDATORY for substantial asks)", "", "For any substantial ask — multi-step project, design change, migration, research-backed work, anything where the answer isn't a one-shot tool call — you MUST emit a `plan` tool call FIRST, before any other work.", "", "### Research is required, not optional", "The plan tool rejects shallow plans at the tool level. Before calling `plan`:", "- Run web searches AND web fetches to gather vendor docs, blog posts, prior implementations, comparable work. Minimum 3 sources with a one-sentence `takeaway` each.", "- Read project files relevant to the task. Minimum 2 files with a `finding` explaining what you learned. Only applies when working inside a project.", "- More is better. Substantial asks deserve 5-10+ web sources and a half-dozen file reads.", "", "### Plans have PHASES, each with its OWN separate checklist", "- A plan decomposes the work into 1-5 phases. Each phase has its own `checklist` of concrete actionable items.", "- Simple work = 1 phase with a checklist.", "- Larger work = 2-5 phases. E.g. 'Prep & Instrument' → 'Build' → 'Rollout'.", "- Each phase needs ≥2 checklist items (tool-enforced). One-item 'phases' should be folded into siblings.", "", "### ⚠ CRITICAL: PER-PHASE CHECKLIST DISCIPLINE", "- The checklist tool holds ONE phase's items at a time. It is NOT a mega-list of every phase's work.", "- When starting a phase: call `checklist(action=\"reset\")` FIRST to clear any prior phase's items, THEN `checklist(action=\"update\", items=<just this phase's items>)`.", "- Checklists should generally be HIERARCHICAL: 3-6 top-level sections with 2-5 children each. The tool rejects flat lists of ≥6 items without children.", "- NEVER merge multiple phases into a single giant checklist. Each phase starts fresh.", "", "### ⚠ CRITICAL: ONE item per turn, no exceptions", "- `complete_item` is enforced at ONE call per agent turn. Second call in the same turn is rejected.", "- You CANNOT bypass this by calling `update` with items pre-marked done — the update action counts newly-done transitions and rejects batched completions with the same per-turn budget.", "- Every turn = do actual work (tools, file writes, exec, research) + ONE `complete_item` + end the response. Not more, not less.", "", "### ⚠ CRITICAL: Work through ALL phases — don't stop at phase 1", "- After finishing phase N's checklist, call `plan(action=\"complete_phase\", phaseId=N)`. The response includes the next phase's title + checklist items.", "- IMMEDIATELY on the next turn: reset the checklist and update it with the next phase's items. Resume one-per-turn execution.", "- Do NOT declare the overall task complete until every phase is done and `allPhasesDone: true` comes back from `complete_phase`.", "- Do NOT call `plan(action=\"reset\")` while phases remain — the tool rejects it.", "", "### Claiming 'done'", "- Never say \"all done\" or \"finished\" in text unless the checklist shows N/N items complete AND `allPhasesDone` is true.", "- If you think the work is done but items are still pending, mark the pending ones via `complete_item` first.", "", "### Asking the user for context", "Include 1-3 `questions` in the plan for genuine open decisions (not padding). Use `kind: 'choice'` with `choices` when the answer is one of a few options; `kind: 'text'` for open-ended. On the next turn, use `action: 'revise'` with the user's answers folded in.", "", "## Task Checklists (MANDATORY for multi-step work)", "", "When a user asks you to do something with 2+ steps, you MUST use the `checklist` tool. Do NOT write markdown checklists (`- [x]`, `- [ ]`) in your messages — EVER.", "", "### How to use the checklist tool", "1. **Plan first.** Break the work into SECTIONS with SUB-TASKS. Use hierarchical items (items with children arrays).", "2. **Create:** Call `checklist` with action=\"update\", a descriptive title, and detailed items. Mark the first actionable sub-item \"active\".", "3. **Progress:** After each step, call `checklist` with action=\"complete_item\" and the index path.", " - Top-level: itemIndex=0, 1, 2...", " - Sub-items: itemIndex=\"0.0\", \"0.1\", \"1.0\", \"1.2\" (parent.child)", "4. Parent sections auto-complete when all their children are done.", "", "### IMPORTANT: Make checklists DETAILED", "- For complex tasks: use 3-6 SECTIONS, each with 2-5 sub-tasks.", "- Section = a phase of work (e.g. 'Research', 'Implementation', 'Testing').", "- Sub-task = a specific action (e.g. 'Read the config file', 'Write the migration script').", "- Simple tasks (2-3 steps) can be flat without children.", "", "### Example (hierarchical)", "```json", "{\"action\":\"update\",\"title\":\"Build Authentication System\",\"items\":[", " {\"text\":\"Database Setup\",\"status\":\"active\",\"children\":[", " {\"text\":\"Create users table schema\",\"status\":\"active\"},", " {\"text\":\"Add indexes and constraints\",\"status\":\"pending\"},", " {\"text\":\"Run migration\",\"status\":\"pending\"}", " ]},", " {\"text\":\"API Endpoints\",\"status\":\"pending\",\"children\":[", " {\"text\":\"POST /auth/register\",\"status\":\"pending\"},", " {\"text\":\"POST /auth/login\",\"status\":\"pending\"},", " {\"text\":\"GET /auth/me\",\"status\":\"pending\"}", " ]},", " {\"text\":\"Testing\",\"status\":\"pending\",\"children\":[", " {\"text\":\"Unit tests for auth logic\",\"status\":\"pending\"},", " {\"text\":\"Integration test end-to-end\",\"status\":\"pending\"}", " ]}", "]}", "```", "Then complete sub-items: `{\"action\":\"complete_item\",\"itemIndex\":\"0.0\"}` → `\"0.1\"` → `\"0.2\"` → `\"1.0\"` ...", "", "### Rules", "- ALWAYS use the checklist tool. NEVER write markdown checklists in your messages.", "- **HARD-ENFORCED: one `complete_item` call per turn.** The tool rejects any second attempt in the same turn with an enforcement error. Do not try to batch.", "- **HARD-ENFORCED: cannot complete a section while its sub-tasks are unfinished.** Sections (items with children) auto-complete when their last child is marked done. If you try `complete_item` on a parent index that has pending children, the tool rejects it. Always complete sub-items (itemIndex=\"0.0\", \"0.1\", \"1.0\") — the parent closes itself.", "- Each turn: do the actual work for the current item (tools, file writes, exec, browser, research), THEN call `complete_item` once, THEN end your response.", "- If you have nothing else to say, end the turn after `complete_item` — don't add filler text that blocks the user from seeing progress.", "- The UI renders this as a live widget with progress bars, sections, and animations — batching completions makes the widget useless.", "", "## Live Web Previews", "", "When you've built or are showing a website or web page that the user can view live, emit an `[embed: <url>]` marker in your message. The UI will render it as an inline iframe with a browser chrome, refresh button, and open-in-new-tab.", "", "Usage:", " [embed: https://example.com]", " [embed: https://example.com | Optional Label]", "", "Rules:", "- Only for PUBLIC http(s) URLs (e.g. deployed sites, external pages). Never embed `localhost` / `127.0.0.1` / private-range IPs — those live on your own machine and the user's browser can't reach them.", "- If you spin up a local dev server, you must tunnel it (ngrok, cloudflared) or deploy it first — share the PUBLIC URL.", "- One embed per URL per message. Don't spam multiple embeds.", "- For static HTML files you've written to disk, just mention the file path (e.g. `/home/ubuntu/.skykoi/workspace/index.html`) and the UI will auto-render a preview card — no marker needed.", "");
|
|
138437
138437
|
lines.push("## Silent Replies", `When you have nothing to say, respond with ONLY: ${SILENT_REPLY_TOKEN}`, "", "⚠️ Rules:", "- It must be your ENTIRE message — nothing else", `- Never append it to an actual response (never include "${SILENT_REPLY_TOKEN}" in real replies)`, "- Never wrap it in markdown or code blocks", "", `❌ Wrong: "Here's help... ${SILENT_REPLY_TOKEN}"`, `❌ Wrong: "${SILENT_REPLY_TOKEN}"`, `✅ Right: ${SILENT_REPLY_TOKEN}`, "");
|
|
138438
138438
|
}
|
|
138439
138439
|
if (!isMinimal) lines.push("## Heartbeats", heartbeatPromptLine, "If you receive a heartbeat poll (a user message matching the heartbeat prompt above), you MUST do productive work and report what you did. Neither HEARTBEAT_OK nor NO_REPLY are acceptable responses to heartbeats. Always take real action: use tools, run commands, update files, check infrastructure, test things, review code, maintain memory. Then describe what you did. 'Nothing to do' does not exist.", "SKYKOI treats a leading/trailing \"HEARTBEAT_OK\" as a heartbeat ack (and may discard it).", "");
|
|
@@ -155090,6 +155090,28 @@ function createChecklistTool() {
|
|
|
155090
155090
|
else if (anyActive) item.status = "active";
|
|
155091
155091
|
else if (item.status === "done") item.status = "active";
|
|
155092
155092
|
}
|
|
155093
|
+
if (state && activeRunId$1) {
|
|
155094
|
+
const doneBefore = flatCount(state.items).done;
|
|
155095
|
+
const newlyDone = flatCount(items).done - doneBefore;
|
|
155096
|
+
const turnCount = completeItemCountByRun.get(activeRunId$1) ?? 0;
|
|
155097
|
+
if (newlyDone + turnCount > 1) return jsonResult({
|
|
155098
|
+
_type: "checklist",
|
|
155099
|
+
error: "BLOCKED — batched completion via update",
|
|
155100
|
+
enforced: true,
|
|
155101
|
+
title: state.title,
|
|
155102
|
+
items: state.items,
|
|
155103
|
+
summary: `${doneBefore}/${flatCount(state.items).total} complete`,
|
|
155104
|
+
message: `You tried to mark ${newlyDone} items done in a single update call (plus ${turnCount} already this turn). Updates can't be used to batch completions — use \`complete_item\` one at a time with real work between each. Keep this update's items list structurally intact (same text/hierarchy) but DON'T change status=done on items that weren't already done. Then call complete_item on exactly ONE pending item.`
|
|
155105
|
+
});
|
|
155106
|
+
if (newlyDone > 0) completeItemCountByRun.set(activeRunId$1, turnCount + newlyDone);
|
|
155107
|
+
}
|
|
155108
|
+
const hasAnyChildren = items.some((i) => (i.children?.length ?? 0) > 0);
|
|
155109
|
+
if (items.length >= 6 && !hasAnyChildren) return jsonResult({
|
|
155110
|
+
_type: "checklist",
|
|
155111
|
+
error: "BLOCKED — flat checklist too large",
|
|
155112
|
+
enforced: true,
|
|
155113
|
+
message: `You submitted ${items.length} flat items with no sub-tasks. Checklists this size MUST be hierarchical. Group related items into 3-6 top-level SECTIONS, each with 2-5 child items. Example: instead of ["Read A", "Read B", "Write X", "Write Y", "Test Z", "Deploy Q"], use [{text: "Research", children: ["Read A", "Read B"]}, {text: "Build", children: ["Write X", "Write Y"]}, {text: "Ship", children: ["Test Z", "Deploy Q"]}].`
|
|
155114
|
+
});
|
|
155093
155115
|
state = {
|
|
155094
155116
|
title,
|
|
155095
155117
|
items
|
|
@@ -155531,14 +155553,34 @@ function createPlanTool() {
|
|
|
155531
155553
|
const nextUpcoming = state.phases.find((p) => p.status === "upcoming");
|
|
155532
155554
|
if (nextUpcoming) nextUpcoming.status = "active";
|
|
155533
155555
|
const allPhasesDone = state.phases.every((p) => p.status === "done");
|
|
155556
|
+
const nextPhase = state.phases.find((p) => p.status === "active");
|
|
155534
155557
|
return jsonResult({
|
|
155535
155558
|
_type: "plan",
|
|
155536
155559
|
phaseCompleted: pid,
|
|
155537
155560
|
phases: state.phases,
|
|
155538
|
-
allPhasesDone
|
|
155561
|
+
allPhasesDone,
|
|
155562
|
+
nextPhase: nextPhase ? {
|
|
155563
|
+
id: nextPhase.id,
|
|
155564
|
+
title: nextPhase.title,
|
|
155565
|
+
description: nextPhase.description,
|
|
155566
|
+
checklistItems: nextPhase.checklist.map((c) => ({
|
|
155567
|
+
text: c.text,
|
|
155568
|
+
status: "pending"
|
|
155569
|
+
}))
|
|
155570
|
+
} : null,
|
|
155571
|
+
message: nextPhase ? `Phase "${pid}" complete. Next phase "${nextPhase.title}" is now active. Your next step: call checklist(action="reset") to CLEAR the prior phase's items, then checklist(action="update", items=<items listed in nextPhase.checklistItems>) to start the new phase with a FRESH checklist. NEVER carry the previous phase's checklist forward.` : allPhasesDone ? "All phases done. Plan complete. Call checklist(action=\"reset\") if you need a clean slate for future unrelated work." : "Phase complete but no next phase is active — unusual. Call revise if you need to adjust the plan."
|
|
155539
155572
|
});
|
|
155540
155573
|
}
|
|
155541
155574
|
case "reset":
|
|
155575
|
+
if (state && state.phases.length > 0) {
|
|
155576
|
+
const pendingPhases = state.phases.filter((p) => p.status !== "done");
|
|
155577
|
+
if (pendingPhases.length > 0) return jsonResult({
|
|
155578
|
+
_type: "plan",
|
|
155579
|
+
error: "BLOCKED — can't reset with unfinished phases",
|
|
155580
|
+
enforced: true,
|
|
155581
|
+
message: `Plan has ${pendingPhases.length} unfinished phase${pendingPhases.length === 1 ? "" : "s"}: ` + pendingPhases.map((p) => `"${p.title}"`).join(", ") + ". Finish each phase via the checklist tool → call `complete_phase` on it → move to the next. Only reset after every phase is done."
|
|
155582
|
+
});
|
|
155583
|
+
}
|
|
155542
155584
|
state = null;
|
|
155543
155585
|
return jsonResult({
|
|
155544
155586
|
_type: "plan",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BvJ6gVf1.js";
|
|
2
|
-
import { rn as installUnhandledRejectionHandler } from "./reply-
|
|
2
|
+
import { rn as installUnhandledRejectionHandler } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { c as defaultRuntime, r as enableConsoleCapture } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import "./utils-DIctjiBL.js";
|
|
@@ -54,25 +54,25 @@ import "./satisfies-Ch9z1ETk.js";
|
|
|
54
54
|
import "./session-cost-usage-BCDbst6m.js";
|
|
55
55
|
import "./control-service-BKhfvt2O.js";
|
|
56
56
|
import "./channel-selection-BZvCBj33.js";
|
|
57
|
-
import "./deps-
|
|
57
|
+
import "./deps-DNfBogmf.js";
|
|
58
58
|
import "./tailscale-CW2aNYJ9.js";
|
|
59
59
|
import { t as loadDotEnv } from "./dotenv-DlZCd7a6.js";
|
|
60
60
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DsAko5OY.js";
|
|
61
61
|
import { g as assertSupportedRuntime } from "./daemon-runtime-Cbr6U6xn.js";
|
|
62
|
-
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-
|
|
62
|
+
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-DNb-MwBL.js";
|
|
63
63
|
import "./logging-B818ac7o.js";
|
|
64
64
|
import "./note-ty8fydmp.js";
|
|
65
65
|
import "./clack-prompter-D03d7Olp.js";
|
|
66
|
-
import "./onboarding-
|
|
67
|
-
import "./onboard-skills-
|
|
68
|
-
import "./github-copilot-auth-
|
|
69
|
-
import "./onboard-channels-
|
|
66
|
+
import "./onboarding-BEkjswyF.js";
|
|
67
|
+
import "./onboard-skills-CkyF6gcn.js";
|
|
68
|
+
import "./github-copilot-auth-BsEE7uZI.js";
|
|
69
|
+
import "./onboard-channels-Bfx79fiF.js";
|
|
70
70
|
import "./plugin-auto-enable-ClD8Hu9T.js";
|
|
71
|
-
import "./archive-
|
|
71
|
+
import "./archive-uEGQQXM2.js";
|
|
72
72
|
import "./skill-scanner-BapBkMb3.js";
|
|
73
|
-
import "./installs-
|
|
74
|
-
import "./health-format-
|
|
75
|
-
import "./update-runner-
|
|
73
|
+
import "./installs-DvzSjVit.js";
|
|
74
|
+
import "./health-format-QOlVyjem.js";
|
|
75
|
+
import "./update-runner-DD1l4ieG.js";
|
|
76
76
|
import "./auth-CMhFyIcG.js";
|
|
77
77
|
import "./audit-CZd_di7T.js";
|
|
78
78
|
import "./table-BuHjFIeu.js";
|
|
@@ -82,18 +82,18 @@ import "./systemd-BTcdURXT.js";
|
|
|
82
82
|
import "./service-audit-DZFKLzeZ.js";
|
|
83
83
|
import "./node-service-CdjRxBgz.js";
|
|
84
84
|
import "./channels-status-issues-BaXwaWXv.js";
|
|
85
|
-
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-
|
|
85
|
+
import { a as getCommandPath, c as getPrimaryCommand, d as hasHelpOrVersion } from "./register.subclis-BBEWH7Xx.js";
|
|
86
86
|
import "./gateway-rpc-CugYCGfI.js";
|
|
87
87
|
import "./help-format-rUxU9jE_.js";
|
|
88
|
-
import "./agent-
|
|
89
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
90
|
-
import "./configure-
|
|
88
|
+
import "./agent-DD1HPoPt.js";
|
|
89
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-PjqvWYU8.js";
|
|
90
|
+
import "./configure-DmLhBfmX.js";
|
|
91
91
|
import "./systemd-linger-BSA8MnYc.js";
|
|
92
92
|
import "./widearea-dns-C09wbKzV.js";
|
|
93
93
|
import "./bonjour-discovery-DF5ll51G.js";
|
|
94
94
|
import "./auth-health-Cg7cWRH-.js";
|
|
95
|
-
import "./doctor-
|
|
96
|
-
import "./completion-cli-
|
|
95
|
+
import "./doctor-BxpXH-ti.js";
|
|
96
|
+
import "./completion-cli-Cj2Zagd-.js";
|
|
97
97
|
import "./hooks-status-Bk7yFv90.js";
|
|
98
98
|
import { n as emitCliBanner } from "./tui-CKp6K-nL.js";
|
|
99
99
|
import process$1 from "node:process";
|
|
@@ -149,7 +149,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
149
149
|
assertSupportedRuntime();
|
|
150
150
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
151
151
|
enableConsoleCapture();
|
|
152
|
-
const { buildProgram } = await import("./program-
|
|
152
|
+
const { buildProgram } = await import("./program-C89uUpYH.js").then((n) => n.t);
|
|
153
153
|
const program = buildProgram();
|
|
154
154
|
installUnhandledRejectionHandler();
|
|
155
155
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -159,11 +159,11 @@ async function runCli(argv = process$1.argv) {
|
|
|
159
159
|
const parseArgv = rewriteUpdateFlagArgv(normalizedArgv);
|
|
160
160
|
const primary = getPrimaryCommand(parseArgv);
|
|
161
161
|
if (primary) {
|
|
162
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
162
|
+
const { registerSubCliByName } = await import("./register.subclis-BBEWH7Xx.js").then((n) => n.i);
|
|
163
163
|
await registerSubCliByName(program, primary);
|
|
164
164
|
}
|
|
165
165
|
if (!(!primary && hasHelpOrVersion(parseArgv))) {
|
|
166
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
166
|
+
const { registerPluginCliCommands } = await import("./cli-Dl5EFYnR.js");
|
|
167
167
|
const { loadConfig } = await import("./config-DEZJw4n-.js").then((n) => n.t);
|
|
168
168
|
registerPluginCliCommands(program, loadConfig());
|
|
169
169
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BvJ6gVf1.js";
|
|
2
|
-
import { st as requestHeartbeatNow, v as loadSessionEntry, yr as enqueueSystemEvent } from "./reply-
|
|
2
|
+
import { st as requestHeartbeatNow, v as loadSessionEntry, yr as enqueueSystemEvent } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import { u as normalizeMainKey } from "./session-key-hGS8_hRJ.js";
|
|
@@ -55,8 +55,8 @@ import "./satisfies-Ch9z1ETk.js";
|
|
|
55
55
|
import "./session-cost-usage-BCDbst6m.js";
|
|
56
56
|
import "./control-service-BKhfvt2O.js";
|
|
57
57
|
import "./channel-selection-BZvCBj33.js";
|
|
58
|
-
import "./deps-
|
|
59
|
-
import { t as agentCommand } from "./agent-
|
|
58
|
+
import "./deps-DNfBogmf.js";
|
|
59
|
+
import { t as agentCommand } from "./agent-DD1HPoPt.js";
|
|
60
60
|
import { t as formatForLog } from "./ws-log-NQGsvlnZ.js";
|
|
61
61
|
import { randomUUID } from "node:crypto";
|
|
62
62
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-DrL2uTp9.js";
|
|
4
4
|
import { o as loadConfig } from "./config-DEZJw4n-.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-DIctjiBL.js";
|
|
2
2
|
import { n as discoverSKYKOIPlugins, r as loadPluginManifest } from "./manifest-registry-5tS0nRed.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-DvzSjVit.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-BvJ6gVf1.js";
|
|
2
|
-
import { Y as trimLogTail } from "./reply-
|
|
2
|
+
import { Y as trimLogTail } from "./reply-BvZEIbC9.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
4
|
import "./paths-DcA9-j8b.js";
|
|
5
5
|
import "./utils-DIctjiBL.js";
|
|
@@ -56,17 +56,17 @@ import "./satisfies-Ch9z1ETk.js";
|
|
|
56
56
|
import "./session-cost-usage-BCDbst6m.js";
|
|
57
57
|
import "./control-service-BKhfvt2O.js";
|
|
58
58
|
import "./channel-selection-BZvCBj33.js";
|
|
59
|
-
import "./deps-
|
|
59
|
+
import "./deps-DNfBogmf.js";
|
|
60
60
|
import "./tailscale-CW2aNYJ9.js";
|
|
61
61
|
import { _ as parseSemver } from "./daemon-runtime-Cbr6U6xn.js";
|
|
62
62
|
import "./logging-B818ac7o.js";
|
|
63
63
|
import "./note-ty8fydmp.js";
|
|
64
64
|
import "./plugin-auto-enable-ClD8Hu9T.js";
|
|
65
|
-
import "./archive-
|
|
65
|
+
import "./archive-uEGQQXM2.js";
|
|
66
66
|
import "./skill-scanner-BapBkMb3.js";
|
|
67
|
-
import "./installs-
|
|
68
|
-
import "./health-format-
|
|
69
|
-
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-
|
|
67
|
+
import "./installs-DvzSjVit.js";
|
|
68
|
+
import "./health-format-QOlVyjem.js";
|
|
69
|
+
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-DD1l4ieG.js";
|
|
70
70
|
import "./auth-CMhFyIcG.js";
|
|
71
71
|
import { t as renderTable } from "./table-BuHjFIeu.js";
|
|
72
72
|
import "./skills-status-BSS2etLw.js";
|
|
@@ -74,15 +74,15 @@ import "./service-Fxlow9XO.js";
|
|
|
74
74
|
import "./systemd-BTcdURXT.js";
|
|
75
75
|
import "./service-audit-DZFKLzeZ.js";
|
|
76
76
|
import "./channels-status-issues-BaXwaWXv.js";
|
|
77
|
-
import "./register.subclis-
|
|
77
|
+
import "./register.subclis-BBEWH7Xx.js";
|
|
78
78
|
import { t as formatHelpExamples } from "./help-format-rUxU9jE_.js";
|
|
79
79
|
import "./systemd-linger-BSA8MnYc.js";
|
|
80
80
|
import "./auth-health-Cg7cWRH-.js";
|
|
81
|
-
import { t as doctorCommand } from "./doctor-
|
|
82
|
-
import { r as installCompletion } from "./completion-cli-
|
|
81
|
+
import { t as doctorCommand } from "./doctor-BxpXH-ti.js";
|
|
82
|
+
import { r as installCompletion } from "./completion-cli-Cj2Zagd-.js";
|
|
83
83
|
import "./shared-BzZOYgS0.js";
|
|
84
|
-
import { r as runDaemonRestart } from "./daemon-cli-
|
|
85
|
-
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-
|
|
84
|
+
import { r as runDaemonRestart } from "./daemon-cli-CZTo_n_Y.js";
|
|
85
|
+
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-BD21sA-Y.js";
|
|
86
86
|
import path from "node:path";
|
|
87
87
|
import os from "node:os";
|
|
88
88
|
import fs from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Y as trimLogTail } from "./reply-
|
|
1
|
+
import { Y as trimLogTail } from "./reply-BvZEIbC9.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CToLomNk.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-BxjVkF35.js";
|
|
5
5
|
import { N as VERSION } from "./config-DEZJw4n-.js";
|
|
6
6
|
import { _ as parseSemver } from "./daemon-runtime-Cbr6U6xn.js";
|
|
7
7
|
import { t as note } from "./note-ty8fydmp.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-QOlVyjem.js";
|
|
9
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-Cj2Zagd-.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import fs from "node:fs/promises";
|