skykoi 2026.3.171 → 2026.3.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{archive-CVWxE2cL.js → archive-DLMe7rV5.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-C_vbEVov.js → channel-options-DuLnyHbc.js} +1 -1
- package/dist/{channels-cli-CgWqFLdy.js → channels-cli-bqkSbit0.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DyLmyi2L.js → cli-DWMm8YoU.js} +1 -1
- package/dist/{completion-cli-DN4bpNNA.js → completion-cli-D294W7xQ.js} +1 -1
- package/dist/{config-guard-D61Bi7bG.js → config-guard-DgygS9se.js} +13 -13
- package/dist/{configure-C5NzCdc8.js → configure-aqNe-bFt.js} +4 -4
- package/dist/{daemon-cli-C3MO6YsP.js → daemon-cli-Bp9WyFhX.js} +2 -2
- package/dist/{deps-Bc-zB4gK.js → deps-BJeskd9t.js} +1 -1
- package/dist/{doctor-CKrsE-n6.js → doctor-wlOek32m.js} +3 -3
- package/dist/entry.js +1 -1
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-BXDK3ZJy.js → gateway-cli-D1NUEBYQ.js} +60 -44
- package/dist/{github-copilot-auth-DQX5KoYA.js → github-copilot-auth-DQa1ALOI.js} +1 -1
- package/dist/{health-format-Deat5dHV.js → health-format-CGE7qt02.js} +1 -1
- package/dist/{hooks-cli-Swpo7TgP.js → hooks-cli-CybJo85a.js} +3 -3
- package/dist/index.js +19 -19
- package/dist/{installs-oV2eMtMH.js → installs-DRphDKdR.js} +1 -1
- package/dist/{koi-B6DW8qHq.js → koi-BkhVTjyW.js} +2 -2
- package/dist/{models-cli-CR0jlMUT.js → models-cli-BI3PcSDQ.js} +2 -2
- package/dist/{onboard-channels-EkfZuKSN.js → onboard-channels--rluAWkz.js} +2 -2
- package/dist/{onboard-skills-BmWcTjC3.js → onboard-skills-Bjheieqg.js} +3 -3
- package/dist/{onboarding-BsuXa4r5.js → onboarding-DD7GSti9.js} +6 -6
- package/dist/{plugin-registry-DVGt8sx7.js → plugin-registry-6YrqDuwN.js} +1 -1
- package/dist/plugin-sdk/index.js +578 -20
- package/dist/plugin-sdk/{pi-model-discovery-B1kAe0kx.js → pi-model-discovery-CeYPOTBg.js} +3 -3
- package/dist/{plugins-cli-DQ5koSNZ.js → plugins-cli-DKeHIOol.js} +5 -5
- package/dist/{program-DEp9ZIfI.js → program-CxrX5wwM.js} +4 -4
- package/dist/{register.subclis-03w2XmkE.js → register.subclis-DDtgXR27.js} +10 -10
- package/dist/{reply-DodaPWAe.js → reply-ycUBy6Y4.js} +570 -12
- package/dist/{run-main-BLQQNZqe.js → run-main-CZnTPrZz.js} +20 -20
- package/dist/{server-node-events-B1w35mlw.js → server-node-events-SLy-x5vP.js} +3 -3
- package/dist/{status-DB03xi-W.js → status-C0Li13nB.js} +1 -1
- package/dist/{update-DsSwhJem.js → update-CYUlzWp7.js} +1 -1
- package/dist/{update-cli-Cr-SLbJe.js → update-cli-hRrli5vu.js} +11 -11
- package/dist/{update-runner-DlTSQB0Y.js → update-runner-ClcrABwt.js} +3 -3
- package/extensions/bluebubbles/node_modules/.bin/skykoi +2 -2
- package/extensions/copilot-proxy/node_modules/.bin/skykoi +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/skykoi +2 -2
- package/extensions/discord/node_modules/.bin/skykoi +2 -2
- package/extensions/feishu/node_modules/.bin/skykoi +2 -2
- package/extensions/google-antigravity-auth/node_modules/.bin/skykoi +2 -2
- package/extensions/google-gemini-cli-auth/node_modules/.bin/skykoi +2 -2
- package/extensions/googlechat/node_modules/.bin/skykoi +2 -2
- package/extensions/imessage/node_modules/.bin/skykoi +2 -2
- package/extensions/line/node_modules/.bin/skykoi +2 -2
- package/extensions/llm-task/node_modules/.bin/skykoi +2 -2
- package/extensions/lobster/node_modules/.bin/skykoi +2 -2
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/matrix/node_modules/.bin/skykoi +2 -2
- package/extensions/mattermost/node_modules/.bin/skykoi +2 -2
- package/extensions/memory-core/node_modules/.bin/skykoi +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/skykoi +2 -2
- package/extensions/minimax-portal-auth/node_modules/.bin/skykoi +2 -2
- package/extensions/msteams/node_modules/.bin/skykoi +2 -2
- package/extensions/nextcloud-talk/node_modules/.bin/skykoi +2 -2
- package/extensions/nostr/node_modules/.bin/skykoi +2 -2
- package/extensions/open-prose/node_modules/.bin/skykoi +2 -2
- package/extensions/signal/node_modules/.bin/skykoi +2 -2
- package/extensions/slack/node_modules/.bin/skykoi +2 -2
- package/extensions/telegram/node_modules/.bin/skykoi +2 -2
- package/extensions/tlon/node_modules/.bin/skykoi +2 -2
- package/extensions/twitch/node_modules/.bin/skykoi +2 -2
- package/extensions/voice-call/node_modules/.bin/skykoi +2 -2
- package/extensions/whatsapp/node_modules/.bin/skykoi +2 -2
- package/extensions/zalo/node_modules/.bin/skykoi +2 -2
- package/extensions/zalouser/node_modules/.bin/skykoi +2 -2
- package/package.json +1 -1
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -21
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -21
- package/extensions/nostr/node_modules/.bin/tsc +0 -21
- package/extensions/nostr/node_modules/.bin/tsserver +0 -21
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { xt as require_inherits } from "./reply-
|
|
2
|
+
import { xt as require_inherits } from "./reply-ycUBy6Y4.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
|
+
2fdf6713ee1fc4e3955af72278316f0de46049e301cec10924eeb526fe28645a
|
|
@@ -2,7 +2,7 @@ import { M as CHAT_CHANNEL_ORDER } from "./subsystem-RXphV8Xh.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-Bj0uZSiW.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-6YrqDuwN.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-VBvZtw7K.js";
|
|
2
|
-
import { Pn as createSlackWebClient, _t as formatUsageReportLines, bn as parseDiscordTarget, gt as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-
|
|
2
|
+
import { Pn as createSlackWebClient, _t as formatUsageReportLines, bn as parseDiscordTarget, gt as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { N as DEFAULT_CHAT_CHANNEL, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, p as danger, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -62,14 +62,14 @@ import "./event-log-DtrKraIx.js";
|
|
|
62
62
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
63
63
|
import "./note-CbRknFZ7.js";
|
|
64
64
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
65
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels
|
|
65
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels--rluAWkz.js";
|
|
66
66
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
67
|
-
import "./archive-
|
|
67
|
+
import "./archive-DLMe7rV5.js";
|
|
68
68
|
import "./skill-scanner-WnNLktfw.js";
|
|
69
|
-
import "./installs-
|
|
69
|
+
import "./installs-DRphDKdR.js";
|
|
70
70
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-GKs-LbrV.js";
|
|
71
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
72
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
71
|
+
import { n as hasExplicitOptions } from "./plugin-registry-6YrqDuwN.js";
|
|
72
|
+
import { t as formatCliChannelOptions } from "./channel-options-DuLnyHbc.js";
|
|
73
73
|
import { t as buildChannelAccountSnapshot } from "./status-BA0KgRIG.js";
|
|
74
74
|
import { t as parseLogLine } from "./parse-log-line-Btq1hVHj.js";
|
|
75
75
|
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-Bp9WyFhX.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-VBvZtw7K.js";
|
|
2
|
-
import { ht as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { ht as loadSKYKOIPlugins } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-VdmjGGyc.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-DDtgXR27.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as handleReset, Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Et as detectBrowserOpenSupport, It as randomToken, Lt as resolveControlUiLinks, M as runMessageAction, Nt as openUrl, Ot as formatControlUiSshHint, V as CHANNEL_MESSAGE_ACTION_NAMES, dt as CHANNEL_TARGET_DESCRIPTION, gr as lookupContextTokens, in as runMemoryStatus, jt as moveToTrash, rn as registerMemoryCli, ut as CHANNEL_TARGETS_DESCRIPTION, wt as applyWizardMetadata, z as formatTargetDisplay } from "./reply-
|
|
1
|
+
import { At as handleReset, Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Et as detectBrowserOpenSupport, It as randomToken, Lt as resolveControlUiLinks, M as runMessageAction, Nt as openUrl, Ot as formatControlUiSshHint, V as CHANNEL_MESSAGE_ACTION_NAMES, dt as CHANNEL_TARGET_DESCRIPTION, gr as lookupContextTokens, in as runMemoryStatus, jt as moveToTrash, rn as registerMemoryCli, ut as CHANNEL_TARGETS_DESCRIPTION, wt as applyWizardMetadata, z as formatTargetDisplay } from "./reply-ycUBy6Y4.js";
|
|
2
2
|
import { B as normalizeChatChannelId, C as colorize, I as getChatChannelMeta, N as DEFAULT_CHAT_CHANNEL, T as theme, c as defaultRuntime, l as restoreTerminalState, m as info, p as danger, w as isRich, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { g as resolveStateDir, i as isNixMode, m as resolveOAuthDir, o as resolveConfigPath, r as STATE_DIR, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { l as normalizeKoiId, n as DEFAULT_KOI_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -19,29 +19,29 @@ import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-C1YHVD4o.js";
|
|
20
20
|
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BJmW_JM3.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-BJeskd9t.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-DkLy62aK.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BusiCyt_.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-DxnxCHKt.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
28
|
-
import { a as buildKoiSummaries, c as loadKoiIdentity, f as parseIdentityMarkdown, i as applyKoiConfig, l as pruneKoiConfig, n as statusCommand, o as findKoiEntryIndex, s as listKoiEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-
|
|
29
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
30
|
-
import { $ as setOpenrouterApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVercelAiGatewayConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, N as applyVeniceConfig, Q as setOpencodeZenApiKey, V as applyZaiConfig, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, at as setXiaomiApiKey, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, tt as setSyntheticApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-
|
|
31
|
-
import { n as setupChannels } from "./onboard-channels
|
|
32
|
-
import { l as healthCommand } from "./health-format-
|
|
28
|
+
import { a as buildKoiSummaries, c as loadKoiIdentity, f as parseIdentityMarkdown, i as applyKoiConfig, l as pruneKoiConfig, n as statusCommand, o as findKoiEntryIndex, s as listKoiEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-DD7GSti9.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-Bjheieqg.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-DQa1ALOI.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels--rluAWkz.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-CGE7qt02.js";
|
|
33
33
|
import { t as renderTable } from "./table-CgHdpI6b.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BuS1yu_z.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-DDtgXR27.js";
|
|
37
37
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-GLatQ1eS.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-Cbr54gLP.js";
|
|
39
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
40
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
39
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-BkhVTjyW.js";
|
|
40
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-6YrqDuwN.js";
|
|
41
41
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CgAOTnxe.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-aqNe-bFt.js";
|
|
43
43
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BLQwmm6k.js";
|
|
44
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
44
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-wlOek32m.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-aqNe-bFt.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 { Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Ft as probeGatewayReachable, It as randomToken, Lt as resolveControlUiLinks, Mt as normalizeGatewayTokenInput, Pt as printWizardHeader, kt as guardCancel, wt as applyWizardMetadata, zt as summarizeExistingConfig } from "./reply-
|
|
2
|
+
import { Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Ft as probeGatewayReachable, It as randomToken, Lt as resolveControlUiLinks, Mt as normalizeGatewayTokenInput, Pt as printWizardHeader, kt as guardCancel, wt as applyWizardMetadata, zt as summarizeExistingConfig } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { h as resolveUserPath, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-BusiCyt_.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-CbRknFZ7.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-DxnxCHKt.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.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-Bjheieqg.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels--rluAWkz.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-CGE7qt02.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BLQwmm6k.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 { Lt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { Lt as resolveControlUiLinks } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { C as colorize, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, w as isRich } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -14,7 +14,7 @@ import { n as callGateway } from "./call-ByTcqcvV.js";
|
|
|
14
14
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
15
15
|
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-QCWVHQSI.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-BJeskd9t.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DkLy62aK.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BuS1yu_z.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nn as sendMessageSlack, St as sendMessageIMessage, _n as sendMessageTelegram, jn as sendMessageWhatsApp, vn as sendMessageDiscord } from "./reply-
|
|
1
|
+
import { Nn as sendMessageSlack, St as sendMessageIMessage, _n as sendMessageTelegram, jn as sendMessageWhatsApp, vn as sendMessageDiscord } from "./reply-ycUBy6Y4.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-Cc17JZZD.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as randomToken, Pt as printWizardHeader, ht as loadSKYKOIPlugins, kt as guardCancel, wr as loadModelCatalog, wt as applyWizardMetadata } from "./reply-
|
|
1
|
+
import { It as randomToken, Pt as printWizardHeader, ht as loadSKYKOIPlugins, kt as guardCancel, wr as loadModelCatalog, wt as applyWizardMetadata } from "./reply-ycUBy6Y4.js";
|
|
2
2
|
import { O as getResolvedLoggerSettings, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { a as buildKoiMainSessionKey, l as normalizeKoiId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -25,8 +25,8 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-BusiCyt_.js";
|
|
26
26
|
import { t as note$1 } from "./note-CbRknFZ7.js";
|
|
27
27
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BmXyiOxr.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-CGE7qt02.js";
|
|
29
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-ClcrABwt.js";
|
|
30
30
|
import { i as resolveGatewayAuth } from "./auth-DQvUzR68.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-PwtGQTh5.js";
|
|
32
32
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-CTrRN1-T.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-CZnTPrZz.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-VBvZtw7K.js";
|
|
2
|
-
import { Ln as resolveKoiIdentity, c as runEmbeddedPiKoi, zr as resolveKoiTimeoutMs } from "./reply-
|
|
2
|
+
import { Ln as resolveKoiIdentity, c as runEmbeddedPiKoi, zr as resolveKoiTimeoutMs } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { B as normalizeElevatedLevel, H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, U as normalizeUsageDisplay, V as normalizeReasoningLevel, W as normalizeVerboseLevel } from "./pi-embedded-helpers-VBvZtw7K.js";
|
|
3
|
-
import { $ as summarizeRestartSentinel, $n as resolveTtsPrefsPath, $t as buildSafeExternalPrompt, A as resolveSessionTranscriptCandidates, Ar as DEFAULT_INPUT_MAX_REDIRECTS, At as handleReset, B as resetDirectoryCache, Bn as resolveUserTimezone, C as loadSessionEntry, Cn as createReplyDispatcher, D as capArrayByJsonBytes, Dn as findSubkoiRunByChildSessionKey, Dr as DEFAULT_INPUT_FILE_MIMES, E as archiveFileOnDisk, En as stopSubkoisForRequester, Er as DEFAULT_INPUT_FILE_MAX_CHARS, Fr as extractFileContentFromSource, G as consumeGatewaySigusr1RestartAuthorization, Gn as OPENAI_TTS_MODELS, Gt as getRemoteSkillEligibility, H as runWithModelFallback, Hn as createInternalHookEvent, Ht as buildControlUiAvatarUrl, Ir as extractImageContentFromSource, J as setGatewaySigusr1RestartPolicy, Jn as isTtsEnabled, Jt as refreshRemoteBinsForConnectedNodes, K as isGatewaySigusr1RestartExternallyAllowed, Kn as OPENAI_TTS_VOICES, Kt as primeRemoteSkillsCache, L as resolveOutboundTarget, Ln as resolveKoiIdentity, Lr as normalizeMimeList, Mn as normalizePollInput, Mr as DEFAULT_INPUT_PDF_MAX_PIXELS, N as ensureOutboundSessionEntry, Nr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, O as readSessionMessages, On as findSubkoiRunByRunId, Or as DEFAULT_INPUT_IMAGE_MAX_BYTES, P as resolveOutboundSessionRoute, Pr as DEFAULT_INPUT_TIMEOUT_MS, Qn as resolveTtsConfig, Qt as registerSkillsChangeListener, R as resolveSessionDeliveryTarget, Rn as formatUserTime, S as loadCombinedSessionStoreForGateway, Sn as dispatchInboundMessage, Sr as isSystemEventContextChanged, T as resolveSessionModelRef, Tn as isAbortTrigger, Tr as DEFAULT_INPUT_FILE_MAX_BYTES, Un as registerInternalHook, Ut as normalizeControlUiBasePath, Vn as clearInternalHooks, Vt as CONTROL_UI_AVATAR_PREFIX, W as authorizeGatewaySigusr1Restart, Wn as triggerInternalHook, Wt as resolveAssistantAvatarUrl, X as formatDoctorNonInteractiveHint, Xn as resolveTtsApiKey, Xt as setSkillsRemoteRegistry, Y as consumeRestartSentinel, Yn as isTtsProviderConfigured, Yt as refreshRemoteNodeBins, Z as formatRestartSentinelMessage, Zn as resolveTtsAutoMode, Zt as getSkillsSnapshotVersion, _ as onCanvasChange, a as normalizeSendPolicy, at as normalizeOptionalKoiId, b as listKoisForGateway, br as parseVerboseOverride, bt as handleSlackHttpRequest, c as runEmbeddedPiKoi, cr as startDiagnosticHeartbeat, ct as normalizeRequiredName, d as waitForEmbeddedPiRunEnd, dn as buildHistoryContextFromEntries, dr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, en as detectSuspiciousPatterns, er as resolveTtsProviderOrder, fn as resolveHeartbeatVisibility, ft as requestHeartbeatNow, g as listCanvasUris, gr as lookupContextTokens, gt as loadProviderUsageSummary, h as getCanvasResource, hn as onHeartbeatEvent, hr as stripHeartbeatToken, ht as loadSKYKOIPlugins, i as runCliKoi, it as inferLegacyName, j as stripEnvelopeFromMessages, jr as DEFAULT_INPUT_PDF_MAX_PAGES, k as readSessionPreviewItemsFromTranscript, kn as initSubkoiRegistry, kr as DEFAULT_INPUT_IMAGE_MIMES, l as abortEmbeddedPiRun, ln as registerUnhandledRejectionHandler, lr as stopDiagnosticHeartbeat, lt as migrateLegacyCronPayload, m as canvasUri, mn as getLastHeartbeatEvent, mt as getPluginToolMeta, n as getCliSessionId, nn as isExternalHookSession, nr as setTtsProvider, nt as normalizeCronJobCreate, o as resolveSendPolicy, on as createReplyPrefixOptions, or as setCommandLaneConcurrency, ot as normalizeOptionalText, p as createSKYKOITools, q as scheduleGatewaySigusr1Restart, qn as getTtsProvider, qt as recordRemoteNodeInfo, r as setCliSessionId, rr as textToSpeech, rt as normalizeCronJobPatch, s as clearSessionQueues, sn as normalizeGroupActivation, sr as CommandLane, st as normalizePayloadToSystemText, tn as getHookType, tr as setTtsEnabled, tt as writeRestartSentinel, ur as isDiagnosticsEnabled, v as replaceCanvasResource, vr as applyModelOverrideToSessionEntry, w as resolveGatewaySessionStoreTarget, wn as formatZonedTimestamp, wr as loadModelCatalog, x as listSessionsFromStore, xr as enqueueSystemEvent, y as resolveAnnounceTargetFromKey, yn as getChannelActivity, yr as applyVerboseOverride, zn as resolveUserTimeFormat, zr as resolveKoiTimeoutMs } from "./reply-
|
|
3
|
+
import { $ as summarizeRestartSentinel, $n as resolveTtsPrefsPath, $t as buildSafeExternalPrompt, A as resolveSessionTranscriptCandidates, Ar as DEFAULT_INPUT_MAX_REDIRECTS, At as handleReset, B as resetDirectoryCache, Bn as resolveUserTimezone, C as loadSessionEntry, Cn as createReplyDispatcher, D as capArrayByJsonBytes, Dn as findSubkoiRunByChildSessionKey, Dr as DEFAULT_INPUT_FILE_MIMES, E as archiveFileOnDisk, En as stopSubkoisForRequester, Er as DEFAULT_INPUT_FILE_MAX_CHARS, Fr as extractFileContentFromSource, G as consumeGatewaySigusr1RestartAuthorization, Gn as OPENAI_TTS_MODELS, Gt as getRemoteSkillEligibility, H as runWithModelFallback, Hn as createInternalHookEvent, Ht as buildControlUiAvatarUrl, Ir as extractImageContentFromSource, J as setGatewaySigusr1RestartPolicy, Jn as isTtsEnabled, Jt as refreshRemoteBinsForConnectedNodes, K as isGatewaySigusr1RestartExternallyAllowed, Kn as OPENAI_TTS_VOICES, Kt as primeRemoteSkillsCache, L as resolveOutboundTarget, Ln as resolveKoiIdentity, Lr as normalizeMimeList, Mn as normalizePollInput, Mr as DEFAULT_INPUT_PDF_MAX_PIXELS, N as ensureOutboundSessionEntry, Nr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, O as readSessionMessages, On as findSubkoiRunByRunId, Or as DEFAULT_INPUT_IMAGE_MAX_BYTES, P as resolveOutboundSessionRoute, Pr as DEFAULT_INPUT_TIMEOUT_MS, Qn as resolveTtsConfig, Qt as registerSkillsChangeListener, R as resolveSessionDeliveryTarget, Rn as formatUserTime, S as loadCombinedSessionStoreForGateway, Sn as dispatchInboundMessage, Sr as isSystemEventContextChanged, T as resolveSessionModelRef, Tn as isAbortTrigger, Tr as DEFAULT_INPUT_FILE_MAX_BYTES, Un as registerInternalHook, Ut as normalizeControlUiBasePath, Vn as clearInternalHooks, Vt as CONTROL_UI_AVATAR_PREFIX, W as authorizeGatewaySigusr1Restart, Wn as triggerInternalHook, Wt as resolveAssistantAvatarUrl, X as formatDoctorNonInteractiveHint, Xn as resolveTtsApiKey, Xt as setSkillsRemoteRegistry, Y as consumeRestartSentinel, Yn as isTtsProviderConfigured, Yt as refreshRemoteNodeBins, Z as formatRestartSentinelMessage, Zn as resolveTtsAutoMode, Zt as getSkillsSnapshotVersion, _ as onCanvasChange, a as normalizeSendPolicy, at as normalizeOptionalKoiId, b as listKoisForGateway, br as parseVerboseOverride, bt as handleSlackHttpRequest, c as runEmbeddedPiKoi, cr as startDiagnosticHeartbeat, ct as normalizeRequiredName, d as waitForEmbeddedPiRunEnd, dn as buildHistoryContextFromEntries, dr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, en as detectSuspiciousPatterns, er as resolveTtsProviderOrder, fn as resolveHeartbeatVisibility, ft as requestHeartbeatNow, g as listCanvasUris, gr as lookupContextTokens, gt as loadProviderUsageSummary, h as getCanvasResource, hn as onHeartbeatEvent, hr as stripHeartbeatToken, ht as loadSKYKOIPlugins, i as runCliKoi, it as inferLegacyName, j as stripEnvelopeFromMessages, jr as DEFAULT_INPUT_PDF_MAX_PAGES, k as readSessionPreviewItemsFromTranscript, kn as initSubkoiRegistry, kr as DEFAULT_INPUT_IMAGE_MIMES, l as abortEmbeddedPiRun, ln as registerUnhandledRejectionHandler, lr as stopDiagnosticHeartbeat, lt as migrateLegacyCronPayload, m as canvasUri, mn as getLastHeartbeatEvent, mt as getPluginToolMeta, n as getCliSessionId, nn as isExternalHookSession, nr as setTtsProvider, nt as normalizeCronJobCreate, o as resolveSendPolicy, on as createReplyPrefixOptions, or as setCommandLaneConcurrency, ot as normalizeOptionalText, p as createSKYKOITools, q as scheduleGatewaySigusr1Restart, qn as getTtsProvider, qt as recordRemoteNodeInfo, r as setCliSessionId, rr as textToSpeech, rt as normalizeCronJobPatch, s as clearSessionQueues, sn as normalizeGroupActivation, sr as CommandLane, st as normalizePayloadToSystemText, tn as getHookType, tr as setTtsEnabled, tt as writeRestartSentinel, ur as isDiagnosticsEnabled, v as replaceCanvasResource, vr as applyModelOverrideToSessionEntry, w as resolveGatewaySessionStoreTarget, wn as formatZonedTimestamp, wr as loadModelCatalog, x as listSessionsFromStore, xr as enqueueSystemEvent, y as resolveAnnounceTargetFromKey, yn as getChannelActivity, yr as applyVerboseOverride, zn as resolveUserTimeFormat, zr as resolveKoiTimeoutMs } from "./reply-ycUBy6Y4.js";
|
|
4
4
|
import { C as colorize, D as getLogger, E as getChildLogger, N as DEFAULT_CHAT_CHANNEL, O as getResolvedLoggerSettings, T as theme, V as getActivePluginRegistry, a as setConsoleTimestampPrefix, c as defaultRuntime, i as setConsoleSubsystemFilter, j as CHANNEL_IDS, n as runtimeForLogger, t as createSubsystemLogger, w as isRich, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
5
5
|
import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
6
6
|
import { _ as isSubkoiSessionKey, a as buildKoiMainSessionKey, d as resolveKoiIdFromSessionKey, l as normalizeKoiId, m as toKoiRequestSessionKey, n as DEFAULT_KOI_ID, t as DEFAULT_ACCOUNT_ID, u as normalizeMainKey, v as parseKoiSessionKey } from "./session-key-DvA8Pdt6.js";
|
|
@@ -66,7 +66,7 @@ import { n as createBrowserControlContext, r as startBrowserControlServiceFromCo
|
|
|
66
66
|
import { t as parseAbsoluteTimeMs } from "./parse-DbwfoyR_.js";
|
|
67
67
|
import { n as resolveMessageChannelSelection } from "./channel-selection-B5tUOB8t.js";
|
|
68
68
|
import { n as hydrateSession, r as readEventsSince, t as appendEvent } from "./event-log-DtrKraIx.js";
|
|
69
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
69
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-BJeskd9t.js";
|
|
70
70
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-4hm01eUI.js";
|
|
71
71
|
import { t as ensureSKYKOICliOnPath } from "./path-env-B1xMZ4TX.js";
|
|
72
72
|
import "./daemon-runtime-DkLy62aK.js";
|
|
@@ -75,16 +75,16 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
|
75
75
|
import "./logging-BusiCyt_.js";
|
|
76
76
|
import "./note-CbRknFZ7.js";
|
|
77
77
|
import { t as WizardCancelledError } from "./prompts-DxnxCHKt.js";
|
|
78
|
-
import { c as loadKoiIdentity, d as loadKoiIdentityFromWorkspace, i as applyKoiConfig, l as pruneKoiConfig, o as findKoiEntryIndex, r as getStatusSummary, s as listKoiEntries, t as runOnboardingWizard } from "./onboarding-
|
|
79
|
-
import { n as installSkill } from "./onboard-skills-
|
|
80
|
-
import "./github-copilot-auth-
|
|
81
|
-
import "./onboard-channels
|
|
78
|
+
import { c as loadKoiIdentity, d as loadKoiIdentityFromWorkspace, i as applyKoiConfig, l as pruneKoiConfig, o as findKoiEntryIndex, r as getStatusSummary, s as listKoiEntries, t as runOnboardingWizard } from "./onboarding-DD7GSti9.js";
|
|
79
|
+
import { n as installSkill } from "./onboard-skills-Bjheieqg.js";
|
|
80
|
+
import "./github-copilot-auth-DQa1ALOI.js";
|
|
81
|
+
import "./onboard-channels--rluAWkz.js";
|
|
82
82
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
83
|
-
import "./archive-
|
|
83
|
+
import "./archive-DLMe7rV5.js";
|
|
84
84
|
import "./skill-scanner-WnNLktfw.js";
|
|
85
|
-
import "./installs-
|
|
86
|
-
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-
|
|
87
|
-
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-
|
|
85
|
+
import "./installs-DRphDKdR.js";
|
|
86
|
+
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-CGE7qt02.js";
|
|
87
|
+
import { S as normalizeUpdateChannel, _ as resolveNpmChannelTag, h as compareSemverStrings, m as checkUpdateStatus, t as runGatewayUpdate, y as DEFAULT_PACKAGE_CHANNEL } from "./update-runner-ClcrABwt.js";
|
|
88
88
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-DQvUzR68.js";
|
|
89
89
|
import { i as probeGateway } from "./audit-CqaA7Oow.js";
|
|
90
90
|
import "./table-CgHdpI6b.js";
|
|
@@ -94,16 +94,16 @@ import { p as resolveGatewayStateDir } from "./systemd-BuS1yu_z.js";
|
|
|
94
94
|
import "./service-audit-CN0kFCuS.js";
|
|
95
95
|
import "./node-service-DfmbTqpi.js";
|
|
96
96
|
import "./channels-status-issues-GKs-LbrV.js";
|
|
97
|
-
import "./register.subclis-
|
|
98
|
-
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-
|
|
97
|
+
import "./register.subclis-DDtgXR27.js";
|
|
98
|
+
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-BkhVTjyW.js";
|
|
99
99
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-DMja3M8B.js";
|
|
100
100
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-D_eYlsQc.js";
|
|
101
|
-
import "./completion-cli-
|
|
101
|
+
import "./completion-cli-D294W7xQ.js";
|
|
102
102
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-Q-UXhKBw.js";
|
|
103
103
|
import "./tui-DQ_m-z6B.js";
|
|
104
104
|
import { t as buildChannelAccountSnapshot } from "./status-BA0KgRIG.js";
|
|
105
105
|
import "./shared-DCuTTPOy.js";
|
|
106
|
-
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
106
|
+
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-Bp9WyFhX.js";
|
|
107
107
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-18N_WkHM.js";
|
|
108
108
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeKoiEventForWsLog, t as formatForLog } from "./ws-log-BhaGKxqL.js";
|
|
109
109
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BYWNnNLn.js";
|
|
@@ -6461,7 +6461,13 @@ const koiHandlers = {
|
|
|
6461
6461
|
cfg,
|
|
6462
6462
|
koiId
|
|
6463
6463
|
});
|
|
6464
|
-
|
|
6464
|
+
const explicitTargetsKnownSharedKoi = (() => {
|
|
6465
|
+
if (!explicitKoiId || !requestedSessionKeyRaw) return false;
|
|
6466
|
+
const sessionKoiId = resolveKoiIdFromSessionKey(requestedSessionKeyRaw);
|
|
6467
|
+
if (!sessionKoiId || sessionKoiId === explicitKoiId) return false;
|
|
6468
|
+
return listKoiIds(cfg).includes(explicitKoiId);
|
|
6469
|
+
})();
|
|
6470
|
+
if (explicitKoiId && requestedSessionKeyRaw && !speakerKoiOverride && !explicitTargetsKnownSharedKoi) {
|
|
6465
6471
|
const sessionKoiId = resolveKoiIdFromSessionKey(requestedSessionKeyRaw);
|
|
6466
6472
|
if (sessionKoiId !== explicitKoiId) {
|
|
6467
6473
|
respond(false, void 0, errorShape(ErrorCodes.INVALID_REQUEST, `invalid koi params: koi "${request.koiId}" does not match session key koi "${sessionKoiId}"`));
|
|
@@ -8164,41 +8170,51 @@ const chatHandlers = {
|
|
|
8164
8170
|
respond(false, void 0, errorShape(ErrorCodes.INVALID_REQUEST, String(err)));
|
|
8165
8171
|
return;
|
|
8166
8172
|
}
|
|
8167
|
-
const
|
|
8173
|
+
const { cfg, entry } = loadSessionEntry(p.sessionKey);
|
|
8174
|
+
let companionsRefreshed = false;
|
|
8175
|
+
const refreshCompanionsOnce = async (reason) => {
|
|
8176
|
+
if (companionsRefreshed) return;
|
|
8177
|
+
companionsRefreshed = true;
|
|
8178
|
+
context.logGateway.info(`chat.send: ${reason} — forcing companion refresh`);
|
|
8179
|
+
try {
|
|
8180
|
+
const { fetchCompanions, applyCompanions } = await import("./companions-BUaIC5WM.js").then((n) => n.n);
|
|
8181
|
+
const platformUrl = cfg.gateway?.mesh?.platformUrl || process.env.SKYKOI_APP_URL;
|
|
8182
|
+
const hostKoiId = cfg.gateway?.mesh?.koiId || process.env.SKYKOI_KOI_ID;
|
|
8183
|
+
const gatewayToken = cfg.gateway?.auth?.token || process.env.SKYKOI_GATEWAY_TOKEN;
|
|
8184
|
+
if (platformUrl && hostKoiId && gatewayToken) {
|
|
8185
|
+
await fetchCompanions({
|
|
8186
|
+
platformUrl,
|
|
8187
|
+
hostKoiId,
|
|
8188
|
+
gatewayToken,
|
|
8189
|
+
log: context.logGateway
|
|
8190
|
+
});
|
|
8191
|
+
const { resolveKoiConfig } = await import("./koi-scope-Bhy7bqp7.js").then((n) => n.t);
|
|
8192
|
+
await applyCompanions({
|
|
8193
|
+
cfg,
|
|
8194
|
+
hostKoiId,
|
|
8195
|
+
hostWorkspaceDir: resolveKoiConfig(cfg, hostKoiId)?.workspace || process.env.SKYKOI_WORKSPACE_DIR || `${process.env.HOME ?? ""}/skykoi-koi`,
|
|
8196
|
+
log: context.logGateway
|
|
8197
|
+
});
|
|
8198
|
+
}
|
|
8199
|
+
} catch (err) {
|
|
8200
|
+
context.logGateway.warn(`chat.send: on-demand companion refresh failed: ${err?.message ?? err}`);
|
|
8201
|
+
}
|
|
8202
|
+
};
|
|
8203
|
+
let mention = resolveMentionDispatch(parsedMessage);
|
|
8204
|
+
if (!mention) {
|
|
8205
|
+
if (/(?:^|\s)@\S/.test(parsedMessage) || /@\[/.test(parsedMessage)) {
|
|
8206
|
+
await refreshCompanionsOnce("mention did not match cached companions");
|
|
8207
|
+
mention = resolveMentionDispatch(parsedMessage);
|
|
8208
|
+
}
|
|
8209
|
+
}
|
|
8168
8210
|
const speakerKoiOverride = mention?.speakerKoiId;
|
|
8169
8211
|
if (mention) context.logGateway.info(`chat.send: handing turn to companion ${mention.companionName} (id=${mention.speakerKoiId}, session ${p.sessionKey} unchanged)`);
|
|
8170
|
-
const { cfg, entry } = loadSessionEntry(p.sessionKey);
|
|
8171
8212
|
{
|
|
8172
8213
|
const parts = p.sessionKey.split(":");
|
|
8173
8214
|
if (parts[0] === "koi" && parts.length >= 2) {
|
|
8174
8215
|
const incomingKoiId = parts[1];
|
|
8175
8216
|
const cached = getCachedCompanions();
|
|
8176
|
-
if (!(cached?.hostKoiId.toLowerCase() === incomingKoiId.toLowerCase() || (cached?.companions ?? []).some((c) => c.id.toLowerCase() === incomingKoiId.toLowerCase()))) {
|
|
8177
|
-
context.logGateway.info(`chat.send: unknown sessionKey koi ${incomingKoiId} — forcing companion refresh`);
|
|
8178
|
-
try {
|
|
8179
|
-
const { fetchCompanions, applyCompanions } = await import("./companions-BUaIC5WM.js").then((n) => n.n);
|
|
8180
|
-
const platformUrl = cfg.gateway?.mesh?.platformUrl || process.env.SKYKOI_APP_URL;
|
|
8181
|
-
const hostKoiId = cfg.gateway?.mesh?.koiId || process.env.SKYKOI_KOI_ID;
|
|
8182
|
-
const gatewayToken = cfg.gateway?.auth?.token || process.env.SKYKOI_GATEWAY_TOKEN;
|
|
8183
|
-
if (platformUrl && hostKoiId && gatewayToken) {
|
|
8184
|
-
await fetchCompanions({
|
|
8185
|
-
platformUrl,
|
|
8186
|
-
hostKoiId,
|
|
8187
|
-
gatewayToken,
|
|
8188
|
-
log: context.logGateway
|
|
8189
|
-
});
|
|
8190
|
-
const { resolveKoiConfig } = await import("./koi-scope-Bhy7bqp7.js").then((n) => n.t);
|
|
8191
|
-
await applyCompanions({
|
|
8192
|
-
cfg,
|
|
8193
|
-
hostKoiId,
|
|
8194
|
-
hostWorkspaceDir: resolveKoiConfig(cfg, hostKoiId)?.workspace || process.env.SKYKOI_WORKSPACE_DIR || `${process.env.HOME ?? ""}/skykoi-koi`,
|
|
8195
|
-
log: context.logGateway
|
|
8196
|
-
});
|
|
8197
|
-
}
|
|
8198
|
-
} catch (err) {
|
|
8199
|
-
context.logGateway.warn(`chat.send: on-demand companion refresh failed: ${err?.message ?? err}`);
|
|
8200
|
-
}
|
|
8201
|
-
}
|
|
8217
|
+
if (!(cached?.hostKoiId.toLowerCase() === incomingKoiId.toLowerCase() || (cached?.companions ?? []).some((c) => c.id.toLowerCase() === incomingKoiId.toLowerCase()))) await refreshCompanionsOnce(`unknown sessionKey koi ${incomingKoiId}`);
|
|
8202
8218
|
}
|
|
8203
8219
|
}
|
|
8204
8220
|
const timeoutMs = resolveKoiTimeoutMs({
|
|
@@ -11046,7 +11062,7 @@ const nodeHandlers = {
|
|
|
11046
11062
|
const p = params;
|
|
11047
11063
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11048
11064
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11049
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11065
|
+
const { handleNodeEvent } = await import("./server-node-events-SLy-x5vP.js");
|
|
11050
11066
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11051
11067
|
await handleNodeEvent({
|
|
11052
11068
|
deps: context.deps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ht as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ht as loadSKYKOIPlugins } from "./reply-ycUBy6Y4.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { l as normalizeKoiId } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { b as sleep } from "./utils-rBzA-VDv.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bn as resolveUserTimezone, Cr as peekSystemEvents, F as resolveHeartbeatDeliveryTarget, I as resolveHeartbeatSenderContext, In as resolveEffectiveMessagesConfig, ar as getQueueSize, dr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, fn as resolveHeartbeatVisibility, fr as DEFAULT_HEARTBEAT_EVERY, ft as requestHeartbeatNow, gn as resolveIndicatorType, hr as stripHeartbeatToken, ir as enqueueCommandInLane, mr as resolveHeartbeatPrompt$1, pn as emitHeartbeatEvent, pr as isHeartbeatContentEffectivelyEmpty, pt as setHeartbeatWakeHandler, sr as CommandLane, t as getReplyFromConfig, u as isEmbeddedPiRunActive } from "./reply-
|
|
1
|
+
import { Bn as resolveUserTimezone, Cr as peekSystemEvents, F as resolveHeartbeatDeliveryTarget, I as resolveHeartbeatSenderContext, In as resolveEffectiveMessagesConfig, ar as getQueueSize, dr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, fn as resolveHeartbeatVisibility, fr as DEFAULT_HEARTBEAT_EVERY, ft as requestHeartbeatNow, gn as resolveIndicatorType, hr as stripHeartbeatToken, ir as enqueueCommandInLane, mr as resolveHeartbeatPrompt$1, pn as emitHeartbeatEvent, pr as isHeartbeatContentEffectivelyEmpty, pt as setHeartbeatWakeHandler, sr as CommandLane, t as getReplyFromConfig, u as isEmbeddedPiRunActive } from "./reply-ycUBy6Y4.js";
|
|
2
2
|
import { C as colorize, T as theme, c as defaultRuntime, m as info, t as createSubsystemLogger, w as isRich } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { d as resolveKoiIdFromSessionKey, h as toKoiStoreSessionKey, l as normalizeKoiId } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-VBvZtw7K.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { T as theme, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { h as resolveUserPath, t as CONFIG_DIR, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -57,10 +57,10 @@ import "./session-cost-usage-CbribqqH.js";
|
|
|
57
57
|
import "./control-service-DnzgVIyk.js";
|
|
58
58
|
import "./channel-selection-B5tUOB8t.js";
|
|
59
59
|
import "./event-log-DtrKraIx.js";
|
|
60
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
60
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-DLMe7rV5.js";
|
|
61
61
|
import { t as renderTable } from "./table-CgHdpI6b.js";
|
|
62
62
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-Q-UXhKBw.js";
|
|
63
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
63
|
+
import { t as buildPluginStatusReport } from "./status-C0Li13nB.js";
|
|
64
64
|
import fs from "node:fs";
|
|
65
65
|
import path from "node:path";
|
|
66
66
|
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-VBvZtw7K.js";
|
|
3
|
-
import { Rr as applyTemplate, an as monitorWebChannel, cn as installUnhandledRejectionHandler, t as getReplyFromConfig, un as waitForever } from "./reply-
|
|
3
|
+
import { Rr as applyTemplate, an as monitorWebChannel, cn as installUnhandledRejectionHandler, t as getReplyFromConfig, un as waitForever } from "./reply-ycUBy6Y4.js";
|
|
4
4
|
import { r as enableConsoleCapture } from "./subsystem-RXphV8Xh.js";
|
|
5
5
|
import "./paths-VdmjGGyc.js";
|
|
6
6
|
import { S as toWhatsappJid, d as normalizeE164, n as assertWebChannel } from "./utils-rBzA-VDv.js";
|
|
@@ -57,27 +57,27 @@ import "./session-cost-usage-CbribqqH.js";
|
|
|
57
57
|
import "./control-service-DnzgVIyk.js";
|
|
58
58
|
import "./channel-selection-B5tUOB8t.js";
|
|
59
59
|
import "./event-log-DtrKraIx.js";
|
|
60
|
-
import { t as createDefaultDeps } from "./deps-
|
|
60
|
+
import { t as createDefaultDeps } from "./deps-BJeskd9t.js";
|
|
61
61
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-4hm01eUI.js";
|
|
62
62
|
import { t as loadDotEnv } from "./dotenv-DKI6139G.js";
|
|
63
63
|
import { t as isMainModule } from "./is-main-BmAsi6j8.js";
|
|
64
64
|
import { t as ensureSKYKOICliOnPath } from "./path-env-B1xMZ4TX.js";
|
|
65
65
|
import { g as assertSupportedRuntime } from "./daemon-runtime-DkLy62aK.js";
|
|
66
66
|
import "./ports-RMh76QZ2.js";
|
|
67
|
-
import "./config-guard-
|
|
67
|
+
import "./config-guard-DgygS9se.js";
|
|
68
68
|
import "./logging-BusiCyt_.js";
|
|
69
69
|
import "./note-CbRknFZ7.js";
|
|
70
70
|
import "./clack-prompter-BxHCh6Tn.js";
|
|
71
|
-
import "./onboarding-
|
|
72
|
-
import "./onboard-skills-
|
|
73
|
-
import "./github-copilot-auth-
|
|
74
|
-
import "./onboard-channels
|
|
71
|
+
import "./onboarding-DD7GSti9.js";
|
|
72
|
+
import "./onboard-skills-Bjheieqg.js";
|
|
73
|
+
import "./github-copilot-auth-DQa1ALOI.js";
|
|
74
|
+
import "./onboard-channels--rluAWkz.js";
|
|
75
75
|
import "./plugin-auto-enable-BmXyiOxr.js";
|
|
76
|
-
import "./archive-
|
|
76
|
+
import "./archive-DLMe7rV5.js";
|
|
77
77
|
import "./skill-scanner-WnNLktfw.js";
|
|
78
|
-
import "./installs-
|
|
79
|
-
import "./health-format-
|
|
80
|
-
import "./update-runner-
|
|
78
|
+
import "./installs-DRphDKdR.js";
|
|
79
|
+
import "./health-format-CGE7qt02.js";
|
|
80
|
+
import "./update-runner-ClcrABwt.js";
|
|
81
81
|
import "./auth-DQvUzR68.js";
|
|
82
82
|
import "./audit-CqaA7Oow.js";
|
|
83
83
|
import "./table-CgHdpI6b.js";
|
|
@@ -87,22 +87,22 @@ import "./systemd-BuS1yu_z.js";
|
|
|
87
87
|
import "./service-audit-CN0kFCuS.js";
|
|
88
88
|
import "./node-service-DfmbTqpi.js";
|
|
89
89
|
import "./channels-status-issues-GKs-LbrV.js";
|
|
90
|
-
import "./register.subclis-
|
|
90
|
+
import "./register.subclis-DDtgXR27.js";
|
|
91
91
|
import "./gateway-rpc-GLatQ1eS.js";
|
|
92
92
|
import "./help-format-Cbr54gLP.js";
|
|
93
|
-
import "./koi-
|
|
94
|
-
import "./plugin-registry-
|
|
95
|
-
import "./configure-
|
|
93
|
+
import "./koi-BkhVTjyW.js";
|
|
94
|
+
import "./plugin-registry-6YrqDuwN.js";
|
|
95
|
+
import "./configure-aqNe-bFt.js";
|
|
96
96
|
import "./systemd-linger-BLQwmm6k.js";
|
|
97
97
|
import "./widearea-dns-DMja3M8B.js";
|
|
98
98
|
import "./bonjour-discovery-D_eYlsQc.js";
|
|
99
99
|
import "./auth-health-Btj4L0TH.js";
|
|
100
|
-
import "./doctor-
|
|
101
|
-
import "./completion-cli-
|
|
100
|
+
import "./doctor-wlOek32m.js";
|
|
101
|
+
import "./completion-cli-D294W7xQ.js";
|
|
102
102
|
import "./hooks-status-Q-UXhKBw.js";
|
|
103
103
|
import "./tui-DQ_m-z6B.js";
|
|
104
|
-
import "./channel-options-
|
|
105
|
-
import { n as buildProgram } from "./program-
|
|
104
|
+
import "./channel-options-DuLnyHbc.js";
|
|
105
|
+
import { n as buildProgram } from "./program-CxrX5wwM.js";
|
|
106
106
|
import process from "node:process";
|
|
107
107
|
import { fileURLToPath } from "node:url";
|
|
108
108
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-rBzA-VDv.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-BM_kgwtA.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-DLMe7rV5.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-WnNLktfw.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-VBvZtw7K.js";
|
|
2
|
-
import { An as KOI_LANE_NESTED, Gt as getRemoteSkillEligibility, H as runWithModelFallback, L as resolveOutboundTarget, R as resolveSessionDeliveryTarget, Zt as getSkillsSnapshotVersion, _r as clearSessionAuthProfileOverride, c as runEmbeddedPiKoi, gr as lookupContextTokens, i as runCliKoi, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, vr as applyModelOverrideToSessionEntry, wr as loadModelCatalog, yr as applyVerboseOverride, zr as resolveKoiTimeoutMs } from "./reply-
|
|
2
|
+
import { An as KOI_LANE_NESTED, Gt as getRemoteSkillEligibility, H as runWithModelFallback, L as resolveOutboundTarget, R as resolveSessionDeliveryTarget, Zt as getSkillsSnapshotVersion, _r as clearSessionAuthProfileOverride, c as runEmbeddedPiKoi, gr as lookupContextTokens, i as runCliKoi, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, vr as applyModelOverrideToSessionEntry, wr as loadModelCatalog, yr as applyVerboseOverride, zr as resolveKoiTimeoutMs } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { N as DEFAULT_CHAT_CHANNEL, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { d as resolveKoiIdFromSessionKey, l as normalizeKoiId, u as normalizeMainKey } from "./session-key-DvA8Pdt6.js";
|
|
5
5
|
import { S as ensureKoiWorkspace, a as resolveKoiDir, c as resolveKoiSkillsFilter, l as resolveKoiWorkspaceDir, n as listKoiIds, o as resolveKoiModelFallbacksOverride, s as resolveKoiModelPrimary } from "./koi-scope-Bhy7bqp7.js";
|
|
@@ -13,7 +13,7 @@ import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-tKN7
|
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-Cc17JZZD.js";
|
|
14
14
|
import { n as emitKoiEvent, o as registerKoiRunContext, t as clearKoiRunContext } from "./koi-events-Cx85mo2K.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-CbribqqH.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-BJeskd9t.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-VBvZtw7K.js";
|
|
2
|
-
import { Nt as openUrl, U as describeFailoverError, c as runEmbeddedPiKoi, gt as loadProviderUsageSummary, vt as formatUsageWindowSummary, wr as loadModelCatalog, yt as resolveUsageProviderId } from "./reply-
|
|
2
|
+
import { Nt as openUrl, U as describeFailoverError, c as runEmbeddedPiKoi, gt as loadProviderUsageSummary, vt as formatUsageWindowSummary, wr as loadModelCatalog, yt as resolveUsageProviderId } from "./reply-ycUBy6Y4.js";
|
|
3
3
|
import { C as colorize, T as theme, c as defaultRuntime, w as isRich$1 } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { t as CONFIG_PATH } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -61,7 +61,7 @@ import "./event-log-DtrKraIx.js";
|
|
|
61
61
|
import { n as logConfigUpdated } from "./logging-BusiCyt_.js";
|
|
62
62
|
import "./note-CbRknFZ7.js";
|
|
63
63
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
64
|
-
import { a as normalizeAlias, c as updateConfig, d as resolvePluginProviders, i as formatTokenK, l as createVpsAwareOAuthHandlers, n as ensureFlagCompatibility, o as resolveKnownKoiId, pt as validateAnthropicSetupToken, r as formatMs, s as resolveModelTarget, t as githubCopilotLoginCommand, u as isRemoteEnvironment, v as applyAuthProfileConfig } from "./github-copilot-auth-
|
|
64
|
+
import { a as normalizeAlias, c as updateConfig, d as resolvePluginProviders, i as formatTokenK, l as createVpsAwareOAuthHandlers, n as ensureFlagCompatibility, o as resolveKnownKoiId, pt as validateAnthropicSetupToken, r as formatMs, s as resolveModelTarget, t as githubCopilotLoginCommand, u as isRemoteEnvironment, v as applyAuthProfileConfig } from "./github-copilot-auth-DQa1ALOI.js";
|
|
65
65
|
import { t as renderTable } from "./table-CgHdpI6b.js";
|
|
66
66
|
import { i as redactSecrets } from "./format-BimjsTfO.js";
|
|
67
67
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-Btj4L0TH.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ht as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { ht as loadSKYKOIPlugins } from "./reply-ycUBy6Y4.js";
|
|
2
2
|
import { F as formatChannelSelectionLine, L as listChatChannels, P as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-Bhy7bqp7.js";
|
|
@@ -7,7 +7,7 @@ import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DUZvbU
|
|
|
7
7
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
9
9
|
import { i as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
10
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
10
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-DRphDKdR.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
|