skykoi 2026.3.80 → 2026.3.81
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-jtyVadja.js → agent-BA8YrEHJ.js} +2 -2
- package/dist/{archive-DGigkjGg.js → archive-DKuu7pkx.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-B4X8AQlO.js → channel-options-B-VZ2SAf.js} +1 -1
- package/dist/{channels-cli-CAJeEJ8r.js → channels-cli-Dapfy4cr.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-D6GxPuS7.js → cli-CHbjrrHI.js} +1 -1
- package/dist/{completion-cli-Cg8xqW6j.js → completion-cli-B6t83SLY.js} +1 -1
- package/dist/{config-guard-CuTKGs8c.js → config-guard-BcRHRUAM.js} +13 -13
- package/dist/{configure-BC4_Iobk.js → configure-D48jJZXa.js} +4 -4
- package/dist/{daemon-cli-B8o-1E5X.js → daemon-cli-ccGqcaWW.js} +2 -2
- package/dist/{deps-LxIBOatH.js → deps-DMolVfVU.js} +1 -1
- package/dist/{doctor-OAbXGjIU.js → doctor-htGye8rx.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-DnnDbMyV.js → gateway-cli-BranYPSY.js} +16 -16
- package/dist/{github-copilot-auth-fD21fPKD.js → github-copilot-auth-DqHkEVYB.js} +1 -1
- package/dist/{health-format-DfGPy4wl.js → health-format-BqIbdk7N.js} +1 -1
- package/dist/{hooks-cli-BQkbnGPd.js → hooks-cli-CkYi-Hjf.js} +3 -3
- package/dist/index.js +19 -19
- package/dist/{installs-CPhsVeFt.js → installs-mLXQhhRa.js} +1 -1
- package/dist/{models-cli-D6FvxHcF.js → models-cli-CU2Td-YI.js} +2 -2
- package/dist/{onboard-channels-BSgTNDHk.js → onboard-channels-DYmuqZw5.js} +2 -2
- package/dist/{onboard-skills-DMhCA40Q.js → onboard-skills-CbCtI4Zd.js} +3 -3
- package/dist/{onboarding-Ce2TTV1q.js → onboarding-CmtdiUCZ.js} +6 -6
- package/dist/{plugin-registry-DK-A_aNx.js → plugin-registry-B7XFZHAT.js} +1 -1
- package/dist/plugin-sdk/index.js +7 -7
- package/dist/{plugins-cli-BR4j1JUj.js → plugins-cli-CY-5J8es.js} +5 -5
- package/dist/{program-CtML0OAV.js → program-nKkoH0Ot.js} +4 -4
- package/dist/{register.subclis-BYoy09Ek.js → register.subclis-DPzCIdpv.js} +10 -10
- package/dist/{reply-XFu7y8GO.js → reply-BBV3HstU.js} +1 -1
- package/dist/{run-main-Ckr9GBOY.js → run-main-Dqa28vX1.js} +20 -20
- package/dist/{server-node-events-Devg1dg7.js → server-node-events-DeF7_gFa.js} +3 -3
- package/dist/{status-DXkItPmN.js → status-BICOWk03.js} +1 -1
- package/dist/{update-Cilh1Kux.js → update-ZnNO7oYw.js} +1 -1
- package/dist/{update-cli-CCFX-Lba.js → update-cli-DiI_wBYe.js} +11 -11
- package/dist/{update-runner-P8djGxPX.js → update-runner-Dh4leO4Y.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-BLiiUrKo.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-BBV3HstU.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DrNCyvP1.js";
|
|
4
4
|
import { c as defaultRuntime, h as DEFAULT_CHAT_CHANNEL } from "./subsystem-B6KC_eUM.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-B5p1wjno.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-Bjb9n4L_.js";
|
|
14
14
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-Cfg-CkRb.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-Cz9TPeeW.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-DMolVfVU.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-BBV3HstU.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
|
+
ffeef04e41a3b5be80e60bc1d3915c32b791ba1d493847a74a2712075691992d
|
|
@@ -2,7 +2,7 @@ import { m as CHAT_CHANNEL_ORDER } from "./subsystem-B6KC_eUM.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-C-7KwGiU.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-BxfvPb85.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BbECJ6a9.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-B7XFZHAT.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-BLiiUrKo.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-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DrNCyvP1.js";
|
|
5
5
|
import { E as danger, M as setVerbose, R as theme, V as getResolvedLoggerSettings, c as defaultRuntime, h as DEFAULT_CHAT_CHANNEL } from "./subsystem-B6KC_eUM.js";
|
|
@@ -60,14 +60,14 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-CPuyE_u
|
|
|
60
60
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DpGDjeTQ.js";
|
|
61
61
|
import "./note-EBR3fwOg.js";
|
|
62
62
|
import { t as createClackPrompter } from "./clack-prompter-59ywJfhA.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-DYmuqZw5.js";
|
|
64
64
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BbECJ6a9.js";
|
|
65
|
-
import "./archive-
|
|
65
|
+
import "./archive-DKuu7pkx.js";
|
|
66
66
|
import "./skill-scanner-BnwXnZ58.js";
|
|
67
|
-
import "./installs-
|
|
67
|
+
import "./installs-mLXQhhRa.js";
|
|
68
68
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DHkHJhBX.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-B7XFZHAT.js";
|
|
70
|
+
import { t as formatCliChannelOptions } from "./channel-options-B-VZ2SAf.js";
|
|
71
71
|
import { t as buildChannelAccountSnapshot } from "./status-CzZ2Nnqd.js";
|
|
72
72
|
import { t as parseLogLine } from "./parse-log-line-yhomxGjM.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-ccGqcaWW.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.js";
|
|
2
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import "./utils-CV3CeN0V.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BP5k1v-m.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-DPzCIdpv.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
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-BBV3HstU.js";
|
|
2
2
|
import { g as resolveStateDir, i as isNixMode, m as resolveOAuthDir, o as resolveConfigPath, r as STATE_DIR, u as resolveGatewayPort } from "./paths-BP5k1v-m.js";
|
|
3
3
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DrNCyvP1.js";
|
|
4
4
|
import { D as info, E as danger, I as colorize, L as isRich, M as setVerbose, R as theme, S as normalizeChatChannelId, c as defaultRuntime, h as DEFAULT_CHAT_CHANNEL, l as restoreTerminalState, v as getChatChannelMeta } from "./subsystem-B6KC_eUM.js";
|
|
@@ -19,29 +19,29 @@ import { t as formatDocsLink } from "./links-v_6erQU2.js";
|
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-DKF-leO3.js";
|
|
20
20
|
import { n as withProgress } from "./progress-DBmXKEbL.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CRzqBC6g.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-DMolVfVU.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-N7Q1uFR7.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DpGDjeTQ.js";
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BunF8PbP.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-G4qhG1Jb.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-59ywJfhA.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-CmtdiUCZ.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-CbCtI4Zd.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-DqHkEVYB.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels-DYmuqZw5.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-BqIbdk7N.js";
|
|
33
33
|
import { t as renderTable } from "./table-CalEwE0I.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-CRYdZ7KE.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BzWDtHgB.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-DPzCIdpv.js";
|
|
37
37
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-Dpy8dhk5.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-BNoneHOT.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-BA8YrEHJ.js";
|
|
40
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-B7XFZHAT.js";
|
|
41
41
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-C2VMMhiS.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-D48jJZXa.js";
|
|
43
43
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-KrA8y7Yz.js";
|
|
44
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
44
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-htGye8rx.js";
|
|
45
45
|
import { fileURLToPath } from "node:url";
|
|
46
46
|
import path from "node:path";
|
|
47
47
|
import fs from "node:fs";
|
|
@@ -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-D48jJZXa.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-BBV3HstU.js";
|
|
3
3
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BP5k1v-m.js";
|
|
4
4
|
import { c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import { _ as shortenHomePath, h as resolveUserPath } from "./utils-CV3CeN0V.js";
|
|
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-BunF8PbP.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-EBR3fwOg.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-G4qhG1Jb.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-59ywJfhA.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-CbCtI4Zd.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-DYmuqZw5.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BqIbdk7N.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-CRYdZ7KE.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-KrA8y7Yz.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-BBV3HstU.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-BP5k1v-m.js";
|
|
4
4
|
import { I as colorize, L as isRich, R as theme, V as getResolvedLoggerSettings, c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import { _ as shortenHomePath } from "./utils-CV3CeN0V.js";
|
|
@@ -14,7 +14,7 @@ import { n as callGateway } from "./call-BXu8MWjw.js";
|
|
|
14
14
|
import { t as formatDocsLink } from "./links-v_6erQU2.js";
|
|
15
15
|
import { n as withProgress } from "./progress-DBmXKEbL.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-7cRhWsc2.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-DMolVfVU.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-N7Q1uFR7.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CRYdZ7KE.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BzWDtHgB.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-BBV3HstU.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-Cfg-CkRb.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-BBV3HstU.js";
|
|
2
2
|
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-BP5k1v-m.js";
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DrNCyvP1.js";
|
|
4
4
|
import { V as getResolvedLoggerSettings, c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
@@ -25,8 +25,8 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-DpGDjeTQ.js";
|
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-BunF8PbP.js";
|
|
26
26
|
import { t as note$1 } from "./note-EBR3fwOg.js";
|
|
27
27
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BbECJ6a9.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-BqIbdk7N.js";
|
|
29
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-Dh4leO4Y.js";
|
|
30
30
|
import { i as resolveGatewayAuth } from "./auth-DW_HE1MR.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CjamX1Bx.js";
|
|
32
32
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-CRYdZ7KE.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-Dqa28vX1.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/extensionAPI.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.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-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import "./utils-CV3CeN0V.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-BLiiUrKo.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-BBV3HstU.js";
|
|
4
4
|
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-BP5k1v-m.js";
|
|
5
5
|
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-DrNCyvP1.js";
|
|
6
6
|
import { B as getLogger, C as getActivePluginRegistry, I as colorize, L as isRich, M as setVerbose, R as theme, V as getResolvedLoggerSettings, a as setConsoleTimestampPrefix, c as defaultRuntime, h as DEFAULT_CHAT_CHANNEL, i as setConsoleSubsystemFilter, n as runtimeForLogger, p as CHANNEL_IDS, t as createSubsystemLogger, z as getChildLogger } from "./subsystem-B6KC_eUM.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-CPmZOWs7.js";
|
|
65
65
|
import { t as parseAbsoluteTimeMs } from "./parse-DF10Q0Bi.js";
|
|
66
66
|
import { n as resolveMessageChannelSelection } from "./channel-selection-CPuyE_uM.js";
|
|
67
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
67
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-DMolVfVU.js";
|
|
68
68
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-ByAg8WO6.js";
|
|
69
69
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DwdA4UjY.js";
|
|
70
70
|
import "./daemon-runtime-N7Q1uFR7.js";
|
|
@@ -73,16 +73,16 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-DpGDjeTQ.js";
|
|
|
73
73
|
import "./logging-BunF8PbP.js";
|
|
74
74
|
import "./note-EBR3fwOg.js";
|
|
75
75
|
import { t as WizardCancelledError } from "./prompts-G4qhG1Jb.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-CmtdiUCZ.js";
|
|
77
|
+
import { n as installSkill } from "./onboard-skills-CbCtI4Zd.js";
|
|
78
|
+
import "./github-copilot-auth-DqHkEVYB.js";
|
|
79
|
+
import "./onboard-channels-DYmuqZw5.js";
|
|
80
80
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-BbECJ6a9.js";
|
|
81
|
-
import "./archive-
|
|
81
|
+
import "./archive-DKuu7pkx.js";
|
|
82
82
|
import "./skill-scanner-BnwXnZ58.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-mLXQhhRa.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-BqIbdk7N.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-Dh4leO4Y.js";
|
|
86
86
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-DW_HE1MR.js";
|
|
87
87
|
import { i as probeGateway } from "./audit-XsaGqnSq.js";
|
|
88
88
|
import "./table-CalEwE0I.js";
|
|
@@ -92,16 +92,16 @@ import { p as resolveGatewayStateDir } from "./systemd-BzWDtHgB.js";
|
|
|
92
92
|
import "./service-audit-Y6uVe_qd.js";
|
|
93
93
|
import "./node-service-BJRPEIG1.js";
|
|
94
94
|
import "./channels-status-issues-DHkHJhBX.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-DPzCIdpv.js";
|
|
96
|
+
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-BA8YrEHJ.js";
|
|
97
97
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-D60MwgWZ.js";
|
|
98
98
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-CBA1ho9B.js";
|
|
99
|
-
import "./completion-cli-
|
|
99
|
+
import "./completion-cli-B6t83SLY.js";
|
|
100
100
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-DIpZvCJv.js";
|
|
101
101
|
import "./tui-mVyAMg9R.js";
|
|
102
102
|
import { t as buildChannelAccountSnapshot } from "./status-CzZ2Nnqd.js";
|
|
103
103
|
import "./shared-iQ5NPvdb.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-ccGqcaWW.js";
|
|
105
105
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared--dDsBFIP.js";
|
|
106
106
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeAgentEventForWsLog, t as formatForLog } from "./ws-log-zZgbJUTd.js";
|
|
107
107
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-ISXMkffs.js";
|
|
@@ -10518,7 +10518,7 @@ const nodeHandlers = {
|
|
|
10518
10518
|
const p = params;
|
|
10519
10519
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
10520
10520
|
await respondUnavailableOnThrow(respond, async () => {
|
|
10521
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
10521
|
+
const { handleNodeEvent } = await import("./server-node-events-DeF7_gFa.js");
|
|
10522
10522
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
10523
10523
|
await handleNodeEvent({
|
|
10524
10524
|
deps: context.deps,
|
|
@@ -12552,7 +12552,7 @@ const credentialsHandlers = {
|
|
|
12552
12552
|
role: "user",
|
|
12553
12553
|
content: [{
|
|
12554
12554
|
type: "text",
|
|
12555
|
-
text: `[System] User
|
|
12555
|
+
text: `[System] User submitted credentials for ${service} via the secure credential card.\n\nCredentials:\n${Object.entries(credentials).map(([k, v]) => ` ${k}: ${v}`).join("\n")}\n\nUse these to proceed with the login. Do not ask the user to re-enter credentials — they have already been submitted securely. Do not echo the credentials back in chat.`
|
|
12556
12556
|
}],
|
|
12557
12557
|
timestamp: now,
|
|
12558
12558
|
id: messageId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BBV3HstU.js";
|
|
2
2
|
import { l as normalizeAgentId } from "./session-key-DrNCyvP1.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
4
4
|
import { t as listAgentIds } from "./agent-scope-B5p1wjno.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-BBV3HstU.js";
|
|
2
2
|
import { d as resolveAgentIdFromSessionKey, h as toAgentStoreSessionKey, l as normalizeAgentId } from "./session-key-DrNCyvP1.js";
|
|
3
3
|
import { D as info, I as colorize, L as isRich, R as theme, c as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-B_35B71R.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { R as theme, c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import { _ as shortenHomePath, h as resolveUserPath, t as CONFIG_DIR } from "./utils-CV3CeN0V.js";
|
|
@@ -55,10 +55,10 @@ import "./satisfies-Cskex--4.js";
|
|
|
55
55
|
import "./session-cost-usage-Cz9TPeeW.js";
|
|
56
56
|
import "./control-service-CPmZOWs7.js";
|
|
57
57
|
import "./channel-selection-CPuyE_uM.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-DKuu7pkx.js";
|
|
59
59
|
import { t as renderTable } from "./table-CalEwE0I.js";
|
|
60
60
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-DIpZvCJv.js";
|
|
61
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
61
|
+
import { t as buildPluginStatusReport } from "./status-BICOWk03.js";
|
|
62
62
|
import os from "node:os";
|
|
63
63
|
import path from "node:path";
|
|
64
64
|
import fs from "node:fs";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./pi-embedded-helpers-BLiiUrKo.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-BBV3HstU.js";
|
|
4
4
|
import "./paths-BP5k1v-m.js";
|
|
5
5
|
import { r as enableConsoleCapture } from "./subsystem-B6KC_eUM.js";
|
|
6
6
|
import { b as toWhatsappJid, d as normalizeE164, n as assertWebChannel } from "./utils-CV3CeN0V.js";
|
|
@@ -55,27 +55,27 @@ import "./satisfies-Cskex--4.js";
|
|
|
55
55
|
import "./session-cost-usage-Cz9TPeeW.js";
|
|
56
56
|
import "./control-service-CPmZOWs7.js";
|
|
57
57
|
import "./channel-selection-CPuyE_uM.js";
|
|
58
|
-
import { t as createDefaultDeps } from "./deps-
|
|
58
|
+
import { t as createDefaultDeps } from "./deps-DMolVfVU.js";
|
|
59
59
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-ByAg8WO6.js";
|
|
60
60
|
import { t as loadDotEnv } from "./dotenv-DkJMNrkX.js";
|
|
61
61
|
import { t as isMainModule } from "./is-main-C-Mi0ir2.js";
|
|
62
62
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DwdA4UjY.js";
|
|
63
63
|
import { g as assertSupportedRuntime } from "./daemon-runtime-N7Q1uFR7.js";
|
|
64
64
|
import "./ports-H14K5p4v.js";
|
|
65
|
-
import "./config-guard-
|
|
65
|
+
import "./config-guard-BcRHRUAM.js";
|
|
66
66
|
import "./logging-BunF8PbP.js";
|
|
67
67
|
import "./note-EBR3fwOg.js";
|
|
68
68
|
import "./clack-prompter-59ywJfhA.js";
|
|
69
|
-
import "./onboarding-
|
|
70
|
-
import "./onboard-skills-
|
|
71
|
-
import "./github-copilot-auth-
|
|
72
|
-
import "./onboard-channels-
|
|
69
|
+
import "./onboarding-CmtdiUCZ.js";
|
|
70
|
+
import "./onboard-skills-CbCtI4Zd.js";
|
|
71
|
+
import "./github-copilot-auth-DqHkEVYB.js";
|
|
72
|
+
import "./onboard-channels-DYmuqZw5.js";
|
|
73
73
|
import "./plugin-auto-enable-BbECJ6a9.js";
|
|
74
|
-
import "./archive-
|
|
74
|
+
import "./archive-DKuu7pkx.js";
|
|
75
75
|
import "./skill-scanner-BnwXnZ58.js";
|
|
76
|
-
import "./installs-
|
|
77
|
-
import "./health-format-
|
|
78
|
-
import "./update-runner-
|
|
76
|
+
import "./installs-mLXQhhRa.js";
|
|
77
|
+
import "./health-format-BqIbdk7N.js";
|
|
78
|
+
import "./update-runner-Dh4leO4Y.js";
|
|
79
79
|
import "./auth-DW_HE1MR.js";
|
|
80
80
|
import "./audit-XsaGqnSq.js";
|
|
81
81
|
import "./table-CalEwE0I.js";
|
|
@@ -85,22 +85,22 @@ import "./systemd-BzWDtHgB.js";
|
|
|
85
85
|
import "./service-audit-Y6uVe_qd.js";
|
|
86
86
|
import "./node-service-BJRPEIG1.js";
|
|
87
87
|
import "./channels-status-issues-DHkHJhBX.js";
|
|
88
|
-
import "./register.subclis-
|
|
88
|
+
import "./register.subclis-DPzCIdpv.js";
|
|
89
89
|
import "./gateway-rpc-Dpy8dhk5.js";
|
|
90
90
|
import "./help-format-BNoneHOT.js";
|
|
91
|
-
import "./agent-
|
|
92
|
-
import "./plugin-registry-
|
|
93
|
-
import "./configure-
|
|
91
|
+
import "./agent-BA8YrEHJ.js";
|
|
92
|
+
import "./plugin-registry-B7XFZHAT.js";
|
|
93
|
+
import "./configure-D48jJZXa.js";
|
|
94
94
|
import "./systemd-linger-KrA8y7Yz.js";
|
|
95
95
|
import "./widearea-dns-D60MwgWZ.js";
|
|
96
96
|
import "./bonjour-discovery-CBA1ho9B.js";
|
|
97
97
|
import "./auth-health-D0-Fw1um.js";
|
|
98
|
-
import "./doctor-
|
|
99
|
-
import "./completion-cli-
|
|
98
|
+
import "./doctor-htGye8rx.js";
|
|
99
|
+
import "./completion-cli-B6t83SLY.js";
|
|
100
100
|
import "./hooks-status-DIpZvCJv.js";
|
|
101
101
|
import "./tui-mVyAMg9R.js";
|
|
102
|
-
import "./channel-options-
|
|
103
|
-
import { n as buildProgram } from "./program-
|
|
102
|
+
import "./channel-options-B-VZ2SAf.js";
|
|
103
|
+
import { n as buildProgram } from "./program-nKkoH0Ot.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-CV3CeN0V.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-B_35B71R.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-D3qryfGL.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-DKuu7pkx.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BnwXnZ58.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.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-BBV3HstU.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BP5k1v-m.js";
|
|
4
4
|
import { I as colorize, L as isRich$1, R as theme, c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import { _ as shortenHomePath } from "./utils-CV3CeN0V.js";
|
|
@@ -59,7 +59,7 @@ import "./channel-selection-CPuyE_uM.js";
|
|
|
59
59
|
import { n as logConfigUpdated } from "./logging-BunF8PbP.js";
|
|
60
60
|
import "./note-EBR3fwOg.js";
|
|
61
61
|
import { t as createClackPrompter } from "./clack-prompter-59ywJfhA.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-DqHkEVYB.js";
|
|
63
63
|
import { t as renderTable } from "./table-CalEwE0I.js";
|
|
64
64
|
import { i as redactSecrets } from "./format-hZ7DObFd.js";
|
|
65
65
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-D0-Fw1um.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BBV3HstU.js";
|
|
2
2
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DrNCyvP1.js";
|
|
3
3
|
import { _ as formatChannelSelectionLine, g as formatChannelPrimerLine, t as createSubsystemLogger, y as listChatChannels } from "./subsystem-B6KC_eUM.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-B5p1wjno.js";
|
|
@@ -7,7 +7,7 @@ import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BxfvPb
|
|
|
7
7
|
import { t as formatDocsLink } from "./links-v_6erQU2.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DpGDjeTQ.js";
|
|
9
9
|
import { i as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BbECJ6a9.js";
|
|
10
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
10
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-mLXQhhRa.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
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-BBV3HstU.js";
|
|
2
2
|
import { f as resolveConfigDir, h as resolveUserPath, s as ensureDir, t as CONFIG_DIR } from "./utils-CV3CeN0V.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-B_35B71R.js";
|
|
4
4
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-B5p1wjno.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-BKMy7YL5.js";
|
|
9
9
|
import { Y as fetchWithSsrFGuard } from "./deliver-Cfg-CkRb.js";
|
|
10
10
|
import { t as resolveBrewExecutable } from "./brew-CIEaCebH.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-DqHkEVYB.js";
|
|
12
|
+
import { a as enablePluginInConfig } from "./onboard-channels-DYmuqZw5.js";
|
|
13
13
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BnwXnZ58.js";
|
|
14
14
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CjamX1Bx.js";
|
|
15
15
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-D60MwgWZ.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-BBV3HstU.js";
|
|
2
2
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BP5k1v-m.js";
|
|
3
3
|
import { l as normalizeAgentId, v as parseAgentSessionKey } from "./session-key-DrNCyvP1.js";
|
|
4
4
|
import { D as info, L as isRich, R as theme, c as defaultRuntime, l as restoreTerminalState } from "./subsystem-B6KC_eUM.js";
|
|
@@ -21,10 +21,10 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWA
|
|
|
21
21
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DpGDjeTQ.js";
|
|
22
22
|
import { n as logConfigUpdated } from "./logging-BunF8PbP.js";
|
|
23
23
|
import { t as WizardCancelledError } from "./prompts-G4qhG1Jb.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-CbCtI4Zd.js";
|
|
25
|
+
import { n as setupChannels } from "./onboard-channels-DYmuqZw5.js";
|
|
26
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-BqIbdk7N.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-Dh4leO4Y.js";
|
|
28
28
|
import { i as probeGateway, t as runSecurityAudit } from "./audit-XsaGqnSq.js";
|
|
29
29
|
import { t as renderTable } from "./table-CalEwE0I.js";
|
|
30
30
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-CjamX1Bx.js";
|
|
@@ -34,7 +34,7 @@ import { o as readLastGatewayErrorLine } from "./service-audit-Y6uVe_qd.js";
|
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-BJRPEIG1.js";
|
|
35
35
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DHkHJhBX.js";
|
|
36
36
|
import { i as redactSecrets, n as formatDuration$1, r as formatGatewayAuthUsed, t as formatAge$1 } from "./format-hZ7DObFd.js";
|
|
37
|
-
import { r as installCompletion } from "./completion-cli-
|
|
37
|
+
import { r as installCompletion } from "./completion-cli-B6t83SLY.js";
|
|
38
38
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DIpZvCJv.js";
|
|
39
39
|
import { t as runTui } from "./tui-mVyAMg9R.js";
|
|
40
40
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ut as loadSKYKOIPlugins } from "./reply-BBV3HstU.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-B5p1wjno.js";
|
|
4
4
|
import { o as loadConfig } from "./config-DD8efx3x.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import os, { homedir, tmpdir } from "node:os";
|
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import fs, { constants, createWriteStream, existsSync, statSync } from "node:fs";
|
|
22
22
|
import { Logger } from "tslog";
|
|
23
|
-
import
|
|
23
|
+
import json5 from "json5";
|
|
24
24
|
import chalk, { Chalk } from "chalk";
|
|
25
25
|
import fs$1 from "node:fs/promises";
|
|
26
26
|
import { execFile, execFileSync, spawn } from "node:child_process";
|
|
@@ -2268,7 +2268,7 @@ function readLoggingConfig() {
|
|
|
2268
2268
|
try {
|
|
2269
2269
|
if (!fs.existsSync(configPath)) return;
|
|
2270
2270
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
2271
|
-
const logging =
|
|
2271
|
+
const logging = json5.parse(raw)?.logging;
|
|
2272
2272
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
2273
2273
|
return logging;
|
|
2274
2274
|
} catch {
|
|
@@ -18879,7 +18879,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
18879
18879
|
};
|
|
18880
18880
|
const defaultResolver = {
|
|
18881
18881
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
18882
|
-
parseJson: (raw) =>
|
|
18882
|
+
parseJson: (raw) => json5.parse(raw)
|
|
18883
18883
|
};
|
|
18884
18884
|
/**
|
|
18885
18885
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -21537,18 +21537,18 @@ function resolveConfigPathForDeps(deps) {
|
|
|
21537
21537
|
function normalizeDeps(overrides = {}) {
|
|
21538
21538
|
return {
|
|
21539
21539
|
fs: overrides.fs ?? fs,
|
|
21540
|
-
json5: overrides.json5 ??
|
|
21540
|
+
json5: overrides.json5 ?? json5,
|
|
21541
21541
|
env: overrides.env ?? process.env,
|
|
21542
21542
|
homedir: overrides.homedir ?? os.homedir,
|
|
21543
21543
|
configPath: overrides.configPath ?? "",
|
|
21544
21544
|
logger: overrides.logger ?? console
|
|
21545
21545
|
};
|
|
21546
21546
|
}
|
|
21547
|
-
function parseConfigJson5(raw, json5 =
|
|
21547
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
21548
21548
|
try {
|
|
21549
21549
|
return {
|
|
21550
21550
|
ok: true,
|
|
21551
|
-
parsed: json5.parse(raw)
|
|
21551
|
+
parsed: json5$1.parse(raw)
|
|
21552
21552
|
};
|
|
21553
21553
|
} catch (err) {
|
|
21554
21554
|
return {
|
|
@@ -22062,7 +22062,7 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
22062
22062
|
let mtimeMs = getFileMtimeMs(storePath);
|
|
22063
22063
|
try {
|
|
22064
22064
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
22065
|
-
const parsed =
|
|
22065
|
+
const parsed = json5.parse(raw);
|
|
22066
22066
|
if (isSessionStoreRecord(parsed)) store = parsed;
|
|
22067
22067
|
mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
|
|
22068
22068
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { R as theme, c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import { _ as shortenHomePath, g as shortenHomeInString, h as resolveUserPath } from "./utils-CV3CeN0V.js";
|
|
@@ -54,12 +54,12 @@ import "./satisfies-Cskex--4.js";
|
|
|
54
54
|
import "./session-cost-usage-Cz9TPeeW.js";
|
|
55
55
|
import "./control-service-CPmZOWs7.js";
|
|
56
56
|
import "./channel-selection-CPuyE_uM.js";
|
|
57
|
-
import { i as resolveArchiveKind } from "./archive-
|
|
57
|
+
import { i as resolveArchiveKind } from "./archive-DKuu7pkx.js";
|
|
58
58
|
import "./skill-scanner-BnwXnZ58.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-mLXQhhRa.js";
|
|
60
60
|
import { t as renderTable } from "./table-CalEwE0I.js";
|
|
61
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
62
|
-
import { n as updateNpmInstalledPlugins } from "./update-
|
|
61
|
+
import { t as buildPluginStatusReport } from "./status-BICOWk03.js";
|
|
62
|
+
import { n as updateNpmInstalledPlugins } from "./update-ZnNO7oYw.js";
|
|
63
63
|
import path from "node:path";
|
|
64
64
|
import fs from "node:fs";
|
|
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-C-7KwGiU.js";
|
|
5
5
|
import { N as VERSION } from "./config-DD8efx3x.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-v_6erQU2.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-BcRHRUAM.js";
|
|
8
|
+
import { a as getCommandPath, d as hasHelpOrVersion, l as getVerboseFlag } from "./register.subclis-DPzCIdpv.js";
|
|
9
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-B7XFZHAT.js";
|
|
10
10
|
import { i as hasEmittedCliBanner, n as emitCliBanner, r as formatCliBannerLine } from "./tui-mVyAMg9R.js";
|
|
11
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
11
|
+
import { n as resolveCliChannelOptions } from "./channel-options-B-VZ2SAf.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-BranYPSY.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-ccGqcaWW.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-CU2Td-YI.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-CkYi-Hjf.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-CHbjrrHI.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
241
|
(await import("./pairing-cli-i2XoBCPf.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-CY-5J8es.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-CHbjrrHI.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-Dapfy4cr.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-DiI_wBYe.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-B6t83SLY.js").then((n) => n.n)).registerCompletionCli(program);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
];
|
|
@@ -138429,7 +138429,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
138429
138429
|
for (const file of contextFiles) lines.push(`## ${file.path}`, "", file.content, "");
|
|
138430
138430
|
}
|
|
138431
138431
|
if (!isMinimal) {
|
|
138432
|
-
lines.push("## Credential Requests", "When you need login credentials, API keys, or verification codes from the user, output a hidden marker in your message:", "`<!-- CREDENTIAL_REQUEST:{\"service\":\"github\",\"fields\":[\"email\",\"password\"],\"message\":\"I need your GitHub credentials to log in.\"} -->`", "", "The frontend will render a secure inline form. The user submits credentials through the form (never in chat).", "After submission, you'll receive a system event
|
|
138432
|
+
lines.push("## Credential Requests", "When you need login credentials, API keys, or verification codes from the user, output a hidden marker in your message:", "`<!-- CREDENTIAL_REQUEST:{\"service\":\"github\",\"fields\":[\"email\",\"password\"],\"message\":\"I need your GitHub credentials to log in.\"} -->`", "", "The frontend will render a secure inline form. The user submits credentials through the form (never in chat).", "After submission, you'll receive a system event containing the credentials directly. Use them immediately to proceed.", "Do not echo credentials back in chat. Do not ask the user to re-enter them.", "", "Field names: email, password, username, code, otp, 2fa, phone, api_key, token, or any custom name.", "Always include a `message` explaining why you need the credentials.", "For 2FA/verification codes, use `type: \"2fa_request\"` and `fields: [\"code\"]`.", "");
|
|
138433
138433
|
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}`, "");
|
|
138434
138434
|
}
|
|
138435
138435
|
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).", "");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.js";
|
|
2
|
-
import { rn as installUnhandledRejectionHandler } from "./reply-
|
|
2
|
+
import { rn as installUnhandledRejectionHandler } from "./reply-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { c as defaultRuntime, r as enableConsoleCapture } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import "./utils-CV3CeN0V.js";
|
|
@@ -54,25 +54,25 @@ import "./satisfies-Cskex--4.js";
|
|
|
54
54
|
import "./session-cost-usage-Cz9TPeeW.js";
|
|
55
55
|
import "./control-service-CPmZOWs7.js";
|
|
56
56
|
import "./channel-selection-CPuyE_uM.js";
|
|
57
|
-
import "./deps-
|
|
57
|
+
import "./deps-DMolVfVU.js";
|
|
58
58
|
import "./tailscale-ByAg8WO6.js";
|
|
59
59
|
import { t as loadDotEnv } from "./dotenv-DkJMNrkX.js";
|
|
60
60
|
import { t as ensureSKYKOICliOnPath } from "./path-env-DwdA4UjY.js";
|
|
61
61
|
import { g as assertSupportedRuntime } from "./daemon-runtime-N7Q1uFR7.js";
|
|
62
|
-
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-
|
|
62
|
+
import { n as findRoutedCommand, t as ensureConfigReady } from "./config-guard-BcRHRUAM.js";
|
|
63
63
|
import "./logging-BunF8PbP.js";
|
|
64
64
|
import "./note-EBR3fwOg.js";
|
|
65
65
|
import "./clack-prompter-59ywJfhA.js";
|
|
66
|
-
import "./onboarding-
|
|
67
|
-
import "./onboard-skills-
|
|
68
|
-
import "./github-copilot-auth-
|
|
69
|
-
import "./onboard-channels-
|
|
66
|
+
import "./onboarding-CmtdiUCZ.js";
|
|
67
|
+
import "./onboard-skills-CbCtI4Zd.js";
|
|
68
|
+
import "./github-copilot-auth-DqHkEVYB.js";
|
|
69
|
+
import "./onboard-channels-DYmuqZw5.js";
|
|
70
70
|
import "./plugin-auto-enable-BbECJ6a9.js";
|
|
71
|
-
import "./archive-
|
|
71
|
+
import "./archive-DKuu7pkx.js";
|
|
72
72
|
import "./skill-scanner-BnwXnZ58.js";
|
|
73
|
-
import "./installs-
|
|
74
|
-
import "./health-format-
|
|
75
|
-
import "./update-runner-
|
|
73
|
+
import "./installs-mLXQhhRa.js";
|
|
74
|
+
import "./health-format-BqIbdk7N.js";
|
|
75
|
+
import "./update-runner-Dh4leO4Y.js";
|
|
76
76
|
import "./auth-DW_HE1MR.js";
|
|
77
77
|
import "./audit-XsaGqnSq.js";
|
|
78
78
|
import "./table-CalEwE0I.js";
|
|
@@ -82,18 +82,18 @@ import "./systemd-BzWDtHgB.js";
|
|
|
82
82
|
import "./service-audit-Y6uVe_qd.js";
|
|
83
83
|
import "./node-service-BJRPEIG1.js";
|
|
84
84
|
import "./channels-status-issues-DHkHJhBX.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-DPzCIdpv.js";
|
|
86
86
|
import "./gateway-rpc-Dpy8dhk5.js";
|
|
87
87
|
import "./help-format-BNoneHOT.js";
|
|
88
|
-
import "./agent-
|
|
89
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
90
|
-
import "./configure-
|
|
88
|
+
import "./agent-BA8YrEHJ.js";
|
|
89
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-B7XFZHAT.js";
|
|
90
|
+
import "./configure-D48jJZXa.js";
|
|
91
91
|
import "./systemd-linger-KrA8y7Yz.js";
|
|
92
92
|
import "./widearea-dns-D60MwgWZ.js";
|
|
93
93
|
import "./bonjour-discovery-CBA1ho9B.js";
|
|
94
94
|
import "./auth-health-D0-Fw1um.js";
|
|
95
|
-
import "./doctor-
|
|
96
|
-
import "./completion-cli-
|
|
95
|
+
import "./doctor-htGye8rx.js";
|
|
96
|
+
import "./completion-cli-B6t83SLY.js";
|
|
97
97
|
import "./hooks-status-DIpZvCJv.js";
|
|
98
98
|
import { n as emitCliBanner } from "./tui-mVyAMg9R.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-nKkoH0Ot.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-DPzCIdpv.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-CHbjrrHI.js");
|
|
167
167
|
const { loadConfig } = await import("./config-DD8efx3x.js").then((n) => n.t);
|
|
168
168
|
registerPluginCliCommands(program, loadConfig());
|
|
169
169
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-BLiiUrKo.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-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { u as normalizeMainKey } from "./session-key-DrNCyvP1.js";
|
|
5
5
|
import { c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
@@ -55,8 +55,8 @@ import "./satisfies-Cskex--4.js";
|
|
|
55
55
|
import "./session-cost-usage-Cz9TPeeW.js";
|
|
56
56
|
import "./control-service-CPmZOWs7.js";
|
|
57
57
|
import "./channel-selection-CPuyE_uM.js";
|
|
58
|
-
import "./deps-
|
|
59
|
-
import { t as agentCommand } from "./agent-
|
|
58
|
+
import "./deps-DMolVfVU.js";
|
|
59
|
+
import { t as agentCommand } from "./agent-BA8YrEHJ.js";
|
|
60
60
|
import { t as formatForLog } from "./ws-log-zZgbJUTd.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-BBV3HstU.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-B6KC_eUM.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-B5p1wjno.js";
|
|
4
4
|
import { o as loadConfig } from "./config-DD8efx3x.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-CV3CeN0V.js";
|
|
2
2
|
import { n as discoverSKYKOIPlugins, r as loadPluginManifest } from "./manifest-registry-D3qryfGL.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-mLXQhhRa.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-BLiiUrKo.js";
|
|
2
|
-
import { Y as trimLogTail } from "./reply-
|
|
2
|
+
import { Y as trimLogTail } from "./reply-BBV3HstU.js";
|
|
3
3
|
import "./paths-BP5k1v-m.js";
|
|
4
4
|
import { R as theme, c as defaultRuntime } from "./subsystem-B6KC_eUM.js";
|
|
5
5
|
import "./utils-CV3CeN0V.js";
|
|
@@ -56,17 +56,17 @@ import "./satisfies-Cskex--4.js";
|
|
|
56
56
|
import "./session-cost-usage-Cz9TPeeW.js";
|
|
57
57
|
import "./control-service-CPmZOWs7.js";
|
|
58
58
|
import "./channel-selection-CPuyE_uM.js";
|
|
59
|
-
import "./deps-
|
|
59
|
+
import "./deps-DMolVfVU.js";
|
|
60
60
|
import "./tailscale-ByAg8WO6.js";
|
|
61
61
|
import { _ as parseSemver } from "./daemon-runtime-N7Q1uFR7.js";
|
|
62
62
|
import "./logging-BunF8PbP.js";
|
|
63
63
|
import "./note-EBR3fwOg.js";
|
|
64
64
|
import "./plugin-auto-enable-BbECJ6a9.js";
|
|
65
|
-
import "./archive-
|
|
65
|
+
import "./archive-DKuu7pkx.js";
|
|
66
66
|
import "./skill-scanner-BnwXnZ58.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-mLXQhhRa.js";
|
|
68
|
+
import "./health-format-BqIbdk7N.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-Dh4leO4Y.js";
|
|
70
70
|
import "./auth-DW_HE1MR.js";
|
|
71
71
|
import { t as renderTable } from "./table-CalEwE0I.js";
|
|
72
72
|
import "./skills-status-CjamX1Bx.js";
|
|
@@ -74,15 +74,15 @@ import "./service-CRYdZ7KE.js";
|
|
|
74
74
|
import "./systemd-BzWDtHgB.js";
|
|
75
75
|
import "./service-audit-Y6uVe_qd.js";
|
|
76
76
|
import "./channels-status-issues-DHkHJhBX.js";
|
|
77
|
-
import "./register.subclis-
|
|
77
|
+
import "./register.subclis-DPzCIdpv.js";
|
|
78
78
|
import { t as formatHelpExamples } from "./help-format-BNoneHOT.js";
|
|
79
79
|
import "./systemd-linger-KrA8y7Yz.js";
|
|
80
80
|
import "./auth-health-D0-Fw1um.js";
|
|
81
|
-
import { t as doctorCommand } from "./doctor-
|
|
82
|
-
import { r as installCompletion } from "./completion-cli-
|
|
81
|
+
import { t as doctorCommand } from "./doctor-htGye8rx.js";
|
|
82
|
+
import { r as installCompletion } from "./completion-cli-B6t83SLY.js";
|
|
83
83
|
import "./shared-iQ5NPvdb.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-ccGqcaWW.js";
|
|
85
|
+
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-ZnNO7oYw.js";
|
|
86
86
|
import os from "node:os";
|
|
87
87
|
import path from "node:path";
|
|
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-BBV3HstU.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-B_35B71R.js";
|
|
3
3
|
import { t as resolveSKYKOIPackageRoot } from "./skykoi-root-CvXJBE1d.js";
|
|
4
4
|
import { r as resolveCliName, t as formatCliCommand } from "./command-format-BxjVkF35.js";
|
|
5
5
|
import { N as VERSION } from "./config-DD8efx3x.js";
|
|
6
6
|
import { _ as parseSemver } from "./daemon-runtime-N7Q1uFR7.js";
|
|
7
7
|
import { t as note } from "./note-EBR3fwOg.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-BqIbdk7N.js";
|
|
9
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-B6t83SLY.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs/promises";
|