skykoi 2026.3.405 → 2026.3.407
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-jp7UQfBh.js → archive-B9LUjm-5.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-czSeefCv.js → channel-options-BpMSTwLa.js} +1 -1
- package/dist/{channels-cli-DT35ALoF.js → channels-cli-BE0FjgOX.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Bgi1c-y4.js → cli-D35N-tL7.js} +1 -1
- package/dist/{completion-cli-BsGr8aGm.js → completion-cli-CkIMlcRZ.js} +1 -1
- package/dist/{config-guard-C53xJqkX.js → config-guard-4fElmtxl.js} +14 -14
- package/dist/{configure-BAZBhYaM.js → configure-DQ0ujvZV.js} +3 -3
- package/dist/{daemon-cli-B6TentOe.js → daemon-cli-BUiwj_gV.js} +1 -1
- package/dist/{deps-I2to_7yo.js → deps-CKkahHPL.js} +1 -1
- package/dist/{doctor-BgN9XEBn.js → doctor-DJHfOAnk.js} +3 -3
- package/dist/{doctor-completion-KPbcZuPj.js → doctor-completion-DhcE296G.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-CyhM5xDI.js → gateway-cli-DlYfqppV.js} +43 -23
- package/dist/{github-copilot-auth-Qm1psuh_.js → github-copilot-auth-BAEeMnul.js} +1 -1
- package/dist/{health-format-BhgAKyrJ.js → health-format-DEwk0smH.js} +1 -1
- package/dist/{hooks-cli-2H3C3aVz.js → hooks-cli-6W6D4non.js} +3 -3
- package/dist/index.js +20 -20
- package/dist/{installs-Dv0TR0fE.js → installs-6ru74pmG.js} +1 -1
- package/dist/{koi-DQ_ksiaq.js → koi-DxuaPBCp.js} +2 -2
- package/dist/{models-cli-DMF6ZhBb.js → models-cli-DKb9781O.js} +2 -2
- package/dist/{onboard-channels-Cp3mqLlq.js → onboard-channels-CSSdqCzO.js} +2 -2
- package/dist/{onboard-skills-D1-xQ5oZ.js → onboard-skills-DzW4xVb5.js} +3 -3
- package/dist/{onboarding-Bpx4dZL2.js → onboarding-CO7Y7ZGw.js} +7 -7
- package/dist/{plugin-registry-Crf69mp9.js → plugin-registry-C6EVDTWx.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/{plugins-cli-1plNwZrS.js → plugins-cli-BIZTavOZ.js} +5 -5
- package/dist/{program-C9_uUyMc.js → program-Dwh4kWsL.js} +5 -5
- package/dist/{register.subclis-C3LmMTFy.js → register.subclis-DpSQKbh6.js} +11 -11
- package/dist/{reply-_urHJuE-.js → reply-_1yAnxO8.js} +4 -1
- package/dist/{run-main-CElhLhnt.js → run-main-BR8hn1zb.js} +21 -21
- package/dist/{server-node-events-_dIAvDFC.js → server-node-events-CTH_wTFw.js} +3 -3
- package/dist/{status-fmp-RM9j.js → status-CDOUfMjD.js} +1 -1
- package/dist/{tui-B_qSaNu2.js → tui-Ca8e2NAE.js} +1 -1
- package/dist/{tui-cli-Cwyd8Mvj.js → tui-cli-DstKkglN.js} +2 -2
- package/dist/{tui-shell-Cnkwf3Qi.js → tui-shell-BXiwtVQJ.js} +127 -51
- package/dist/{update-DC3tCqWM.js → update-BlGwfU0O.js} +1 -1
- package/dist/{update-cli-XSwJqNGS.js → update-cli-Ib_wEOwO.js} +11 -11
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +10 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +10 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +10 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +10 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +10 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +10 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +10 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { Y as require_inherits } from "./reply-
|
|
2
|
+
import { Y as require_inherits } from "./reply-_1yAnxO8.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
|
+
7634d784a378f7e11c131e3d0a0e151c1667d1319a61d8edce8bda10b4cf221d
|
|
@@ -2,7 +2,7 @@ import { O as CHAT_CHANNEL_ORDER } from "./subsystem-nnRnHSFk.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-C2ovlUPG.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-CD53Y-wp.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-7Sq0kaQq.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-C6EVDTWx.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-DFn976W-.js";
|
|
2
|
-
import { Dt as fetchChannelPermissionsDiscord, Et as parseDiscordTarget, G as formatUsageReportLines, W as loadProviderUsageSummary, zt as createSlackWebClient } from "./reply-
|
|
2
|
+
import { Dt as fetchChannelPermissionsDiscord, Et as parseDiscordTarget, G as formatUsageReportLines, W as loadProviderUsageSummary, zt as createSlackWebClient } from "./reply-_1yAnxO8.js";
|
|
3
3
|
import { f as danger, s as defaultRuntime, w as getResolvedLoggerSettings } from "./subsystem-nnRnHSFk.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { r as theme } from "./theme-CX-D7gOR.js";
|
|
@@ -90,20 +90,20 @@ import "./event-log-WbPUNukH.js";
|
|
|
90
90
|
import { t as resolveChannelDefaultAccountId } from "./helpers-4BXRutqw.js";
|
|
91
91
|
import "./note-PNq_JEQe.js";
|
|
92
92
|
import { t as createClackPrompter } from "./clack-prompter-clPzQ9p-.js";
|
|
93
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
93
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-CSSdqCzO.js";
|
|
94
94
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-7Sq0kaQq.js";
|
|
95
|
-
import "./archive-
|
|
95
|
+
import "./archive-B9LUjm-5.js";
|
|
96
96
|
import "./skill-scanner-CLckczzl.js";
|
|
97
|
-
import "./installs-
|
|
97
|
+
import "./installs-6ru74pmG.js";
|
|
98
98
|
import "./service-D1-PnhZe.js";
|
|
99
99
|
import "./systemd-DZP4s4qd.js";
|
|
100
100
|
import "./diagnostics-6vXdnH8k.js";
|
|
101
101
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CGTJwSbx.js";
|
|
102
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
102
|
+
import { n as hasExplicitOptions } from "./plugin-registry-C6EVDTWx.js";
|
|
103
103
|
import "./daemon-runtime-DIgqhoVa.js";
|
|
104
104
|
import "./ensure-local-gateway-Xk7ir7zS.js";
|
|
105
105
|
import { n as runChannelLoginAll, r as runChannelLogout, t as runChannelLogin } from "./channel-auth-DCGvsTTl.js";
|
|
106
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
106
|
+
import { t as formatCliChannelOptions } from "./channel-options-BpMSTwLa.js";
|
|
107
107
|
import { t as buildChannelAccountSnapshot } from "./status-pq91F0kp.js";
|
|
108
108
|
import { t as parseLogLine } from "./parse-log-line-BFXEIELd.js";
|
|
109
109
|
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-BUiwj_gV.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-DFn976W-.js";
|
|
2
|
-
import { U as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { U as loadSKYKOIPlugins } from "./reply-_1yAnxO8.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-nnRnHSFk.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./theme-CX-D7gOR.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-DpSQKbh6.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 { C as CHANNEL_MESSAGE_ACTION_NAMES, lt as registerMemoryCli, ut as runMemoryStatus, v as runMessageAction, x as formatTargetDisplay } from "./reply-
|
|
1
|
+
import { C as CHANNEL_MESSAGE_ACTION_NAMES, lt as registerMemoryCli, ut as runMemoryStatus, v as runMessageAction, x as formatTargetDisplay } from "./reply-_1yAnxO8.js";
|
|
2
2
|
import { I as normalizeChatChannelId, M as getChatChannelMeta, c as restoreTerminalState, f as danger, k as DEFAULT_CHAT_CHANNEL, p as info, s as defaultRuntime, v as setVerbose } from "./subsystem-nnRnHSFk.js";
|
|
3
3
|
import { g as resolveStateDir, i as isNixMode, m as resolveOAuthDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { n as isRich, r as theme, t as colorize } from "./theme-CX-D7gOR.js";
|
|
@@ -23,32 +23,32 @@ import { n as withProgress } from "./progress-B8PPYDDC.js";
|
|
|
23
23
|
import { a as ensureWorkspaceAndSessions, c as handleReset, d as openUrl, h as resolveControlUiLinks, i as detectBrowserOpenSupport, l as moveToTrash, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, t as DEFAULT_WORKSPACE, v as waitForGatewayReachable } from "./onboard-helpers-nDN4y46S.js";
|
|
24
24
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CJRaWg4h.js";
|
|
25
25
|
import { h as CHANNEL_TARGET_DESCRIPTION, m as CHANNEL_TARGETS_DESCRIPTION } from "./surface-tool-Cebhf_Tf.js";
|
|
26
|
-
import { t as createDefaultDeps } from "./deps-
|
|
26
|
+
import { t as createDefaultDeps } from "./deps-CKkahHPL.js";
|
|
27
27
|
import { t as assertSupportedRuntime } from "./runtime-guard-qFkyrhAB.js";
|
|
28
28
|
import { t as resolveChannelDefaultAccountId } from "./helpers-4BXRutqw.js";
|
|
29
29
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-C3sRv-iX.js";
|
|
30
30
|
import { t as WizardCancelledError } from "./prompts-BC5TXS0_.js";
|
|
31
31
|
import { t as createClackPrompter } from "./clack-prompter-clPzQ9p-.js";
|
|
32
|
-
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-
|
|
33
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
34
|
-
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-
|
|
35
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
36
|
-
import { i as healthCommand } from "./health-format-
|
|
32
|
+
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-CO7Y7ZGw.js";
|
|
33
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-DzW4xVb5.js";
|
|
34
|
+
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-BAEeMnul.js";
|
|
35
|
+
import { n as setupChannels } from "./onboard-channels-CSSdqCzO.js";
|
|
36
|
+
import { i as healthCommand } from "./health-format-DEwk0smH.js";
|
|
37
37
|
import { t as renderTable } from "./table-DIfWcies.js";
|
|
38
38
|
import { t as resolveGatewayService } from "./service-D1-PnhZe.js";
|
|
39
39
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DZP4s4qd.js";
|
|
40
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
40
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-DpSQKbh6.js";
|
|
41
41
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DwTpsQgX.js";
|
|
42
42
|
import { t as formatHelpExamples } from "./help-format-Bz-E4Xsi.js";
|
|
43
43
|
import { t as adminUnlockCommand } from "./admin-unlock-CjZRxHxf.js";
|
|
44
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
45
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
44
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-DxuaPBCp.js";
|
|
45
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-C6EVDTWx.js";
|
|
46
46
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CI2sc-CB.js";
|
|
47
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
47
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-DQ0ujvZV.js";
|
|
48
48
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DIgqhoVa.js";
|
|
49
49
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-DHSd9ikR.js";
|
|
50
50
|
import { t as loginCommand } from "./login-JCFx5Pzl.js";
|
|
51
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
51
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-DJHfOAnk.js";
|
|
52
52
|
import { fileURLToPath } from "node:url";
|
|
53
53
|
import fs from "node:fs";
|
|
54
54
|
import path from "node:path";
|
|
@@ -2799,7 +2799,7 @@ async function loadValidConfig() {
|
|
|
2799
2799
|
}
|
|
2800
2800
|
function registerConfigCli(program) {
|
|
2801
2801
|
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) => {
|
|
2802
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2802
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-DQ0ujvZV.js").then((n) => n.t);
|
|
2803
2803
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2804
2804
|
if (sections.length === 0) {
|
|
2805
2805
|
await configureCommand(defaultRuntime);
|
|
@@ -3107,7 +3107,7 @@ function registerLoginCommand(program) {
|
|
|
3107
3107
|
console.log(theme.muted(` user=${result.userId} org=${result.orgId}`));
|
|
3108
3108
|
}
|
|
3109
3109
|
if (opts.chat !== false && result.gatewayUrl && process.stdin.isTTY && process.stdout.isTTY) {
|
|
3110
|
-
const { runShell } = await import("./tui-shell-
|
|
3110
|
+
const { runShell } = await import("./tui-shell-BXiwtVQJ.js").then((n) => n.n);
|
|
3111
3111
|
console.log(theme.muted("\n Opening your koi chat…\n"));
|
|
3112
3112
|
await runShell({
|
|
3113
3113
|
url: result.gatewayUrl,
|
|
@@ -14,9 +14,9 @@ import { n as logConfigUpdated } from "./logging-C3sRv-iX.js";
|
|
|
14
14
|
import { t as note$1 } from "./note-PNq_JEQe.js";
|
|
15
15
|
import { t as WizardCancelledError } from "./prompts-BC5TXS0_.js";
|
|
16
16
|
import { t as createClackPrompter } from "./clack-prompter-clPzQ9p-.js";
|
|
17
|
-
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-
|
|
18
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
19
|
-
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-
|
|
17
|
+
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-DzW4xVb5.js";
|
|
18
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-CSSdqCzO.js";
|
|
19
|
+
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-DEwk0smH.js";
|
|
20
20
|
import { t as resolveGatewayService } from "./service-D1-PnhZe.js";
|
|
21
21
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-D4o4damy.js";
|
|
22
22
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DIgqhoVa.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress } from "./progress-B8PPYDDC.js";
|
|
|
15
15
|
import { h as resolveControlUiLinks } from "./onboard-helpers-nDN4y46S.js";
|
|
16
16
|
import { n as isWSLEnv, t as isWSL } from "./wsl-3CioBf4_.js";
|
|
17
17
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-UedXN8EP.js";
|
|
18
|
-
import { t as createDefaultDeps } from "./deps-
|
|
18
|
+
import { t as createDefaultDeps } from "./deps-CKkahHPL.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-D1-PnhZe.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DZP4s4qd.js";
|
|
21
21
|
import { t as readLastGatewayErrorLine } from "./diagnostics-6vXdnH8k.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as sendMessageTelegram, Lt as sendMessageWhatsApp, Rt as sendMessageSlack, X as sendMessageIMessage, wt as sendMessageDiscord } from "./reply-
|
|
1
|
+
import { Ct as sendMessageTelegram, Lt as sendMessageWhatsApp, Rt as sendMessageSlack, X as sendMessageIMessage, wt as sendMessageDiscord } from "./reply-_1yAnxO8.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-uOIbsOCt.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { On as loadModelCatalog, U as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { On as loadModelCatalog, U as loadSKYKOIPlugins } from "./reply-_1yAnxO8.js";
|
|
2
2
|
import { s as defaultRuntime, w as getResolvedLoggerSettings } from "./subsystem-nnRnHSFk.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-B2OXLVi_.js";
|
|
@@ -27,7 +27,7 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-4BXRutqw.js";
|
|
|
27
27
|
import { n as logConfigUpdated } from "./logging-C3sRv-iX.js";
|
|
28
28
|
import { t as note$1 } from "./note-PNq_JEQe.js";
|
|
29
29
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-7Sq0kaQq.js";
|
|
30
|
-
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-
|
|
30
|
+
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-DEwk0smH.js";
|
|
31
31
|
import { t as runGatewayUpdate } from "./update-runner-DHNkj8-z.js";
|
|
32
32
|
import { i as resolveGatewayAuth } from "./auth-X5uq6vRI.js";
|
|
33
33
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-sMAyGPXV.js";
|
|
@@ -35,7 +35,7 @@ import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLa
|
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DZP4s4qd.js";
|
|
36
36
|
import { t as readLastGatewayErrorLine } from "./diagnostics-6vXdnH8k.js";
|
|
37
37
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-CGTJwSbx.js";
|
|
38
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
38
|
+
import { n as doctorShellCompletion } from "./doctor-completion-DhcE296G.js";
|
|
39
39
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-D4o4damy.js";
|
|
40
40
|
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DIgqhoVa.js";
|
|
41
41
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DHSd9ikR.js";
|
|
@@ -3,7 +3,7 @@ import { r as resolveCliName, t as formatCliCommand } from "./command-format-DOY
|
|
|
3
3
|
import { t as VERSION } from "./version-B_FpLmDY.js";
|
|
4
4
|
import { t as note } from "./note-PNq_JEQe.js";
|
|
5
5
|
import { c as compareSemverStrings, s as checkUpdateStatus } from "./update-runner-DHNkj8-z.js";
|
|
6
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
6
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CkIMlcRZ.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { spawnSync } from "node:child_process";
|
|
9
9
|
|
package/dist/entry.js
CHANGED
|
@@ -247,7 +247,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
247
247
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
248
248
|
process$1.argv = parsed.argv;
|
|
249
249
|
}
|
|
250
|
-
import("./run-main-
|
|
250
|
+
import("./run-main-BR8hn1zb.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
251
251
|
console.error("[SKYKOI] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
252
252
|
process$1.exitCode = 1;
|
|
253
253
|
});
|
package/dist/extension-api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-DFn976W-.js";
|
|
2
|
-
import { Ht as resolveKoiIdentity, Un as resolveKoiTimeoutMs, c as runEmbeddedPiKoi } from "./reply-
|
|
2
|
+
import { Ht as resolveKoiIdentity, Un as resolveKoiTimeoutMs, c as runEmbeddedPiKoi } from "./reply-_1yAnxO8.js";
|
|
3
3
|
import "./subsystem-nnRnHSFk.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./theme-CX-D7gOR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, R as normalizeElevatedLevel, V as normalizeUsageDisplay, W as supportsXHighThinking, z as normalizeReasoningLevel } from "./pi-embedded-helpers-DFn976W-.js";
|
|
3
|
-
import { $ as recordRemoteNodeInfo, $t as isTtsEnabled, A as scheduleGatewaySigusr1Restart, An as DEFAULT_INPUT_FILE_MAX_CHARS, At as formatZonedTimestamp, B as requestHeartbeatNow, Bn as extractImageContentFromSource, Cn as applyVerboseOverride, D as authorizeGatewaySigusr1Restart, En as isSystemEventContextChanged, F as normalizeOptionalKoiId, Fn as DEFAULT_INPUT_PDF_MAX_PAGES, Ft as initSubkoiRegistry, Gt as resolveUserTimezone, H as getPluginToolMeta, Ht as resolveKoiIdentity, I as normalizeOptionalText, In as DEFAULT_INPUT_PDF_MAX_PIXELS, J as handleSlackHttpRequest, Jt as registerInternalHook, Kt as clearInternalHooks, L as normalizePayloadToSystemText, Ln as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, M as normalizeCronJobCreate, Mn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Mt as stopSubkoisForRequester, N as normalizeCronJobPatch, Nn as DEFAULT_INPUT_IMAGE_MIMES, Nt as findSubkoiRunByChildSessionKey, O as consumeGatewaySigusr1RestartAuthorization, On as loadModelCatalog, Ot as dispatchInboundMessage, P as inferLegacyName, Pn as DEFAULT_INPUT_MAX_REDIRECTS, Pt as findSubkoiRunByRunId, Q as primeRemoteSkillsCache, Qt as getTtsProvider, R as normalizeRequiredName, Rn as DEFAULT_INPUT_TIMEOUT_MS, S as resetDirectoryCache, Sn as applyModelOverrideToSessionEntry, T as runWithModelFallback, Tn as enqueueSystemEvent, Tt as getChannelActivity, U as loadSKYKOIPlugins, Un as resolveKoiTimeoutMs, Ut as formatUserTime, Vn as normalizeMimeList, W as loadProviderUsageSummary, Wt as resolveUserTimeFormat, Xt as OPENAI_TTS_MODELS, Yt as triggerInternalHook, Z as getRemoteSkillEligibility, Zt as OPENAI_TTS_VOICES, _ as resolveAnnounceTargetFromKey, _t as buildHistoryContextFromEntries, a as normalizeSendPolicy, an as resolveTtsProviderOrder, at as buildSafeExternalPrompt, b as resolveOutboundSessionRoute, bn as stripHeartbeatToken, bt as getLastHeartbeatEvent, c as runEmbeddedPiKoi, cn as textToSpeech, ct as isExternalHookSession, dn as setCommandLaneConcurrency, en as isTtsProviderConfigured, et as refreshRemoteBinsForConnectedNodes, f as waitForEmbeddedPiRunEnd, fn as CommandLane, ft as createReplyPrefixOptions, g as createSKYKOITools, gn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, h as initRuntimeContext, hn as isDiagnosticsEnabled, ht as registerUnhandledRejectionHandler, i as runCliKoi, in as resolveTtsPrefsPath, it as registerSkillsChangeListener, j as setGatewaySigusr1RestartPolicy, jn as DEFAULT_INPUT_FILE_MIMES, jt as isAbortTrigger, k as isGatewaySigusr1RestartExternallyAllowed, kn as DEFAULT_INPUT_FILE_MAX_BYTES, kt as createReplyDispatcher, l as getLastSystemPrompt, mn as stopDiagnosticHeartbeat, n as getCliSessionId, nn as resolveTtsAutoMode, nt as setSkillsRemoteRegistry, o as resolveSendPolicy, on as setTtsEnabled, ot as detectSuspiciousPatterns, pn as startDiagnosticHeartbeat, pt as normalizeGroupActivation, qt as createInternalHookEvent, r as setCliSessionId, rn as resolveTtsConfig, rt as getSkillsSnapshotVersion, s as clearSessionQueues, sn as setTtsProvider, st as getHookType, tn as resolveTtsApiKey, tt as refreshRemoteNodeBins, u as abortEmbeddedPiRun, vt as resolveHeartbeatVisibility, w as readRecentActivity, wn as parseVerboseOverride, xt as onHeartbeatEvent, y as ensureOutboundSessionEntry, z as migrateLegacyCronPayload, zn as extractFileContentFromSource } from "./reply-
|
|
3
|
+
import { $ as recordRemoteNodeInfo, $t as isTtsEnabled, A as scheduleGatewaySigusr1Restart, An as DEFAULT_INPUT_FILE_MAX_CHARS, At as formatZonedTimestamp, B as requestHeartbeatNow, Bn as extractImageContentFromSource, Cn as applyVerboseOverride, D as authorizeGatewaySigusr1Restart, En as isSystemEventContextChanged, F as normalizeOptionalKoiId, Fn as DEFAULT_INPUT_PDF_MAX_PAGES, Ft as initSubkoiRegistry, Gt as resolveUserTimezone, H as getPluginToolMeta, Ht as resolveKoiIdentity, I as normalizeOptionalText, In as DEFAULT_INPUT_PDF_MAX_PIXELS, J as handleSlackHttpRequest, Jt as registerInternalHook, Kt as clearInternalHooks, L as normalizePayloadToSystemText, Ln as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, M as normalizeCronJobCreate, Mn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Mt as stopSubkoisForRequester, N as normalizeCronJobPatch, Nn as DEFAULT_INPUT_IMAGE_MIMES, Nt as findSubkoiRunByChildSessionKey, O as consumeGatewaySigusr1RestartAuthorization, On as loadModelCatalog, Ot as dispatchInboundMessage, P as inferLegacyName, Pn as DEFAULT_INPUT_MAX_REDIRECTS, Pt as findSubkoiRunByRunId, Q as primeRemoteSkillsCache, Qt as getTtsProvider, R as normalizeRequiredName, Rn as DEFAULT_INPUT_TIMEOUT_MS, S as resetDirectoryCache, Sn as applyModelOverrideToSessionEntry, T as runWithModelFallback, Tn as enqueueSystemEvent, Tt as getChannelActivity, U as loadSKYKOIPlugins, Un as resolveKoiTimeoutMs, Ut as formatUserTime, Vn as normalizeMimeList, W as loadProviderUsageSummary, Wt as resolveUserTimeFormat, Xt as OPENAI_TTS_MODELS, Yt as triggerInternalHook, Z as getRemoteSkillEligibility, Zt as OPENAI_TTS_VOICES, _ as resolveAnnounceTargetFromKey, _t as buildHistoryContextFromEntries, a as normalizeSendPolicy, an as resolveTtsProviderOrder, at as buildSafeExternalPrompt, b as resolveOutboundSessionRoute, bn as stripHeartbeatToken, bt as getLastHeartbeatEvent, c as runEmbeddedPiKoi, cn as textToSpeech, ct as isExternalHookSession, dn as setCommandLaneConcurrency, en as isTtsProviderConfigured, et as refreshRemoteBinsForConnectedNodes, f as waitForEmbeddedPiRunEnd, fn as CommandLane, ft as createReplyPrefixOptions, g as createSKYKOITools, gn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, h as initRuntimeContext, hn as isDiagnosticsEnabled, ht as registerUnhandledRejectionHandler, i as runCliKoi, in as resolveTtsPrefsPath, it as registerSkillsChangeListener, j as setGatewaySigusr1RestartPolicy, jn as DEFAULT_INPUT_FILE_MIMES, jt as isAbortTrigger, k as isGatewaySigusr1RestartExternallyAllowed, kn as DEFAULT_INPUT_FILE_MAX_BYTES, kt as createReplyDispatcher, l as getLastSystemPrompt, mn as stopDiagnosticHeartbeat, n as getCliSessionId, nn as resolveTtsAutoMode, nt as setSkillsRemoteRegistry, o as resolveSendPolicy, on as setTtsEnabled, ot as detectSuspiciousPatterns, pn as startDiagnosticHeartbeat, pt as normalizeGroupActivation, qt as createInternalHookEvent, r as setCliSessionId, rn as resolveTtsConfig, rt as getSkillsSnapshotVersion, s as clearSessionQueues, sn as setTtsProvider, st as getHookType, tn as resolveTtsApiKey, tt as refreshRemoteNodeBins, u as abortEmbeddedPiRun, vt as resolveHeartbeatVisibility, w as readRecentActivity, wn as parseVerboseOverride, xt as onHeartbeatEvent, y as ensureOutboundSessionEntry, z as migrateLegacyCronPayload, zn as extractFileContentFromSource } from "./reply-_1yAnxO8.js";
|
|
4
4
|
import { C as getLogger, D as CHANNEL_IDS, L as getActivePluginRegistry, S as getChildLogger, a as setConsoleTimestampPrefix, i as setConsoleSubsystemFilter, k as DEFAULT_CHAT_CHANNEL, n as runtimeForLogger, s as defaultRuntime, t as createSubsystemLogger, v as setVerbose, w as getResolvedLoggerSettings } from "./subsystem-nnRnHSFk.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 { n as isRich, r as theme, t as colorize } from "./theme-CX-D7gOR.js";
|
|
@@ -97,7 +97,7 @@ import "./native-window-CMnOFmyK.js";
|
|
|
97
97
|
import { t as liveBroadcast } from "./live-broadcast-CifQ8Lzc.js";
|
|
98
98
|
import "./action-ledger-CJ4wxgFj.js";
|
|
99
99
|
import { i as readEventsSince, n as clearEventLogForSession, o as subscribeAll, r as hydrateSession, t as appendEvent } from "./event-log-WbPUNukH.js";
|
|
100
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
100
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-CKkahHPL.js";
|
|
101
101
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-BOh3Z_vn.js";
|
|
102
102
|
import { t as ensureSKYKOICliOnPath } from "./path-env-CnhsG0TT.js";
|
|
103
103
|
import { t as forceFreePortAndWait } from "./ports-B03Y1yyv.js";
|
|
@@ -105,15 +105,15 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-4BXRutqw.js";
|
|
|
105
105
|
import "./logging-C3sRv-iX.js";
|
|
106
106
|
import "./note-PNq_JEQe.js";
|
|
107
107
|
import { t as WizardCancelledError } from "./prompts-BC5TXS0_.js";
|
|
108
|
-
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-
|
|
109
|
-
import { n as installSkill } from "./onboard-skills-
|
|
110
|
-
import "./github-copilot-auth-
|
|
111
|
-
import "./onboard-channels-
|
|
108
|
+
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-CO7Y7ZGw.js";
|
|
109
|
+
import { n as installSkill } from "./onboard-skills-DzW4xVb5.js";
|
|
110
|
+
import "./github-copilot-auth-BAEeMnul.js";
|
|
111
|
+
import "./onboard-channels-CSSdqCzO.js";
|
|
112
112
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-7Sq0kaQq.js";
|
|
113
|
-
import "./archive-
|
|
113
|
+
import "./archive-B9LUjm-5.js";
|
|
114
114
|
import "./skill-scanner-CLckczzl.js";
|
|
115
|
-
import "./installs-
|
|
116
|
-
import { c as startHeartbeatRunner, n as formatHealthChannelLines, o as runHeartbeatOnce, r as getHealthSnapshot, s as setHeartbeatsEnabled } from "./health-format-
|
|
115
|
+
import "./installs-6ru74pmG.js";
|
|
116
|
+
import { c as startHeartbeatRunner, n as formatHealthChannelLines, o as runHeartbeatOnce, r as getHealthSnapshot, s as setHeartbeatsEnabled } from "./health-format-DEwk0smH.js";
|
|
117
117
|
import { c as compareSemverStrings, d as resolveNpmChannelTag, g as normalizeUpdateChannel, l as fetchNpmLatestVersion, p as DEFAULT_PACKAGE_CHANNEL, s as checkUpdateStatus, t as runGatewayUpdate } from "./update-runner-DHNkj8-z.js";
|
|
118
118
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-X5uq6vRI.js";
|
|
119
119
|
import { i as probeGateway } from "./audit-C9kPnb6f.js";
|
|
@@ -124,22 +124,22 @@ import { p as resolveGatewayStateDir } from "./systemd-DZP4s4qd.js";
|
|
|
124
124
|
import "./diagnostics-6vXdnH8k.js";
|
|
125
125
|
import "./node-service-Bb6tgGQx.js";
|
|
126
126
|
import "./channels-status-issues-CGTJwSbx.js";
|
|
127
|
-
import "./doctor-completion-
|
|
128
|
-
import "./register.subclis-
|
|
129
|
-
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-
|
|
127
|
+
import "./doctor-completion-DhcE296G.js";
|
|
128
|
+
import "./register.subclis-DpSQKbh6.js";
|
|
129
|
+
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-DxuaPBCp.js";
|
|
130
130
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-D4o4damy.js";
|
|
131
131
|
import "./daemon-runtime-DIgqhoVa.js";
|
|
132
132
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BjWuJvtM.js";
|
|
133
133
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-3LKAHtHL.js";
|
|
134
134
|
import "./ensure-local-gateway-Xk7ir7zS.js";
|
|
135
|
-
import "./completion-cli-
|
|
135
|
+
import "./completion-cli-CkIMlcRZ.js";
|
|
136
136
|
import "./service-audit-BVZGmzLW.js";
|
|
137
137
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-Cr0qf9U9.js";
|
|
138
|
-
import "./tui-
|
|
138
|
+
import "./tui-Ca8e2NAE.js";
|
|
139
139
|
import "./canvas-state-C3YRnkNr.js";
|
|
140
140
|
import { t as buildChannelAccountSnapshot } from "./status-pq91F0kp.js";
|
|
141
141
|
import "./shared-tNGHWtW-.js";
|
|
142
|
-
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
142
|
+
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-BUiwj_gV.js";
|
|
143
143
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CHxb6-Fi.js";
|
|
144
144
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeKoiEventForWsLog, t as formatForLog } from "./ws-log-BzGMbHM2.js";
|
|
145
145
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-kVh_mWJI.js";
|
|
@@ -2170,7 +2170,7 @@ function compactToolResultPreview(result) {
|
|
|
2170
2170
|
}
|
|
2171
2171
|
return preview;
|
|
2172
2172
|
}
|
|
2173
|
-
function createKoiEventHandler({ broadcast, broadcastToConnIds, nodeSendToSession, koiRunSeq, chatRunState, resolveSessionKeyForRun, clearKoiRunContext, toolEventRecipients }) {
|
|
2173
|
+
function createKoiEventHandler({ broadcast, broadcastToConnIds, connIdsWithCap, nodeSendToSession, koiRunSeq, chatRunState, resolveSessionKeyForRun, clearKoiRunContext, toolEventRecipients }) {
|
|
2174
2174
|
const emitChatDelta = (sessionKey, clientRunId, seq, text) => {
|
|
2175
2175
|
chatRunState.buffers.set(clientRunId, text);
|
|
2176
2176
|
const now = Date.now();
|
|
@@ -2298,8 +2298,18 @@ function createKoiEventHandler({ broadcast, broadcastToConnIds, nodeSendToSessio
|
|
|
2298
2298
|
"file_path",
|
|
2299
2299
|
"command",
|
|
2300
2300
|
"url",
|
|
2301
|
-
"query"
|
|
2301
|
+
"query",
|
|
2302
|
+
"text"
|
|
2302
2303
|
]) if (typeof rawArgs[key] === "string" && rawArgs[key]) kept[key] = String(rawArgs[key]).slice(0, 500);
|
|
2304
|
+
for (const key of [
|
|
2305
|
+
"patch",
|
|
2306
|
+
"js",
|
|
2307
|
+
"content",
|
|
2308
|
+
"oldText",
|
|
2309
|
+
"newText",
|
|
2310
|
+
"old_string",
|
|
2311
|
+
"new_string"
|
|
2312
|
+
]) if (typeof rawArgs[key] === "string" && rawArgs[key]) kept[key] = String(rawArgs[key]).slice(0, 2e3);
|
|
2303
2313
|
if (Object.keys(kept).length > 0) data.args = kept;
|
|
2304
2314
|
}
|
|
2305
2315
|
const preview = compactToolResultPreview(data.result ?? data.partialResult);
|
|
@@ -2342,8 +2352,9 @@ function createKoiEventHandler({ broadcast, broadcastToConnIds, nodeSendToSessio
|
|
|
2342
2352
|
});
|
|
2343
2353
|
koiRunSeq.set(evt.runId, evt.seq);
|
|
2344
2354
|
if (isToolEvent) {
|
|
2345
|
-
const recipients =
|
|
2346
|
-
|
|
2355
|
+
const recipients = connIdsWithCap(GATEWAY_CLIENT_CAPS.TOOL_EVENTS);
|
|
2356
|
+
for (const id of toolEventRecipients.get(evt.runId) ?? []) recipients.add(id);
|
|
2357
|
+
if (recipients.size > 0) broadcastToConnIds("koi", toolPayload, recipients);
|
|
2347
2358
|
} else broadcast("koi", koiPayload);
|
|
2348
2359
|
const lifecyclePhase = evt.stream === "lifecycle" && typeof evt.data?.phase === "string" ? evt.data.phase : null;
|
|
2349
2360
|
if (lifecyclePhase === "passed") chatRunState.passedRuns.add(clientRunId);
|
|
@@ -12152,7 +12163,7 @@ const nodeHandlers = {
|
|
|
12152
12163
|
const p = params;
|
|
12153
12164
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
12154
12165
|
await respondUnavailableOnThrow(respond, async () => {
|
|
12155
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
12166
|
+
const { handleNodeEvent } = await import("./server-node-events-CTH_wTFw.js");
|
|
12156
12167
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
12157
12168
|
await handleNodeEvent({
|
|
12158
12169
|
deps: context.deps,
|
|
@@ -16361,9 +16372,16 @@ function createGatewayBroadcaster(params) {
|
|
|
16361
16372
|
if (connIds.size === 0) return;
|
|
16362
16373
|
broadcastInternal(event, payload, opts, connIds);
|
|
16363
16374
|
};
|
|
16375
|
+
/** Connections that declared a capability at connect (e.g. tool-events). */
|
|
16376
|
+
const connIdsWithCap = (cap) => {
|
|
16377
|
+
const ids = /* @__PURE__ */ new Set();
|
|
16378
|
+
for (const c of params.clients) if ((Array.isArray(c.connect?.caps) ? c.connect.caps : []).includes(cap)) ids.add(c.connId);
|
|
16379
|
+
return ids;
|
|
16380
|
+
};
|
|
16364
16381
|
return {
|
|
16365
16382
|
broadcast,
|
|
16366
|
-
broadcastToConnIds
|
|
16383
|
+
broadcastToConnIds,
|
|
16384
|
+
connIdsWithCap
|
|
16367
16385
|
};
|
|
16368
16386
|
}
|
|
16369
16387
|
|
|
@@ -19314,7 +19332,7 @@ async function createGatewayRuntimeState(params) {
|
|
|
19314
19332
|
params.logCanvas.warn(`canvas host failed to start: ${String(err)}`);
|
|
19315
19333
|
}
|
|
19316
19334
|
const clients = /* @__PURE__ */ new Set();
|
|
19317
|
-
const { broadcast, broadcastToConnIds } = createGatewayBroadcaster({ clients });
|
|
19335
|
+
const { broadcast, broadcastToConnIds, connIdsWithCap } = createGatewayBroadcaster({ clients });
|
|
19318
19336
|
const handleHooksRequest = createGatewayHooksRequestHandler({
|
|
19319
19337
|
deps: params.deps,
|
|
19320
19338
|
getHooksConfig: params.hooksConfig,
|
|
@@ -19391,6 +19409,7 @@ async function createGatewayRuntimeState(params) {
|
|
|
19391
19409
|
clients,
|
|
19392
19410
|
broadcast,
|
|
19393
19411
|
broadcastToConnIds,
|
|
19412
|
+
connIdsWithCap,
|
|
19394
19413
|
koiRunSeq,
|
|
19395
19414
|
dedupe,
|
|
19396
19415
|
chatRunState,
|
|
@@ -21274,7 +21293,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
21274
21293
|
let canvasHostServer = null;
|
|
21275
21294
|
const gatewayTls = await loadGatewayTlsRuntime(cfgAtStart.gateway?.tls, log.child("tls"));
|
|
21276
21295
|
if (cfgAtStart.gateway?.tls?.enabled && !gatewayTls.enabled) throw new Error(gatewayTls.error ?? "gateway tls: failed to enable");
|
|
21277
|
-
const { canvasHost, httpServer, httpServers, httpBindHosts, wss, clients, broadcast, broadcastToConnIds, koiRunSeq, dedupe, chatRunState, chatRunBuffers, chatDeltaSentAt, addChatRun, removeChatRun, chatAbortControllers, toolEventRecipients } = await createGatewayRuntimeState({
|
|
21296
|
+
const { canvasHost, httpServer, httpServers, httpBindHosts, wss, clients, broadcast, broadcastToConnIds, connIdsWithCap, koiRunSeq, dedupe, chatRunState, chatRunBuffers, chatDeltaSentAt, addChatRun, removeChatRun, chatAbortControllers, toolEventRecipients } = await createGatewayRuntimeState({
|
|
21278
21297
|
cfg: cfgAtStart,
|
|
21279
21298
|
bindHost,
|
|
21280
21299
|
port,
|
|
@@ -21371,6 +21390,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
21371
21390
|
const koiUnsub = onKoiEvent(createKoiEventHandler({
|
|
21372
21391
|
broadcast,
|
|
21373
21392
|
broadcastToConnIds,
|
|
21393
|
+
connIdsWithCap,
|
|
21374
21394
|
nodeSendToSession,
|
|
21375
21395
|
koiRunSeq,
|
|
21376
21396
|
chatRunState,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { U as loadSKYKOIPlugins } from "./reply-_1yAnxO8.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-nnRnHSFk.js";
|
|
3
3
|
import { l as normalizeKoiId } from "./session-key-B2OXLVi_.js";
|
|
4
4
|
import { b as sleep } from "./utils-B1LOScGi.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as requestHeartbeatNow, Dn as peekSystemEvents, Gt as resolveUserTimezone, St as resolveIndicatorType, V as setHeartbeatWakeHandler, Vt as resolveEffectiveMessagesConfig, _n as DEFAULT_HEARTBEAT_EVERY, bn as stripHeartbeatToken, d as isEmbeddedPiRunActive, fn as CommandLane, gn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, ln as enqueueCommandInLane, t as getReplyFromConfig, un as getQueueSize, vn as isHeartbeatContentEffectivelyEmpty, vt as resolveHeartbeatVisibility, yn as resolveHeartbeatPrompt$1, yt as emitHeartbeatEvent } from "./reply-
|
|
1
|
+
import { B as requestHeartbeatNow, Dn as peekSystemEvents, Gt as resolveUserTimezone, St as resolveIndicatorType, V as setHeartbeatWakeHandler, Vt as resolveEffectiveMessagesConfig, _n as DEFAULT_HEARTBEAT_EVERY, bn as stripHeartbeatToken, d as isEmbeddedPiRunActive, fn as CommandLane, gn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, ln as enqueueCommandInLane, t as getReplyFromConfig, un as getQueueSize, vn as isHeartbeatContentEffectivelyEmpty, vt as resolveHeartbeatVisibility, yn as resolveHeartbeatPrompt$1, yt as emitHeartbeatEvent } from "./reply-_1yAnxO8.js";
|
|
2
2
|
import { p as info, s as defaultRuntime, t as createSubsystemLogger } from "./subsystem-nnRnHSFk.js";
|
|
3
3
|
import { n as isRich, r as theme, t as colorize } from "./theme-CX-D7gOR.js";
|
|
4
4
|
import { d as resolveKoiIdFromSessionKey, h as toKoiStoreSessionKey, l as normalizeKoiId } from "./session-key-B2OXLVi_.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-DFn976W-.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-_1yAnxO8.js";
|
|
3
3
|
import { s as defaultRuntime } from "./subsystem-nnRnHSFk.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { r as theme } from "./theme-CX-D7gOR.js";
|
|
@@ -85,10 +85,10 @@ import "./registry-xBtEGPIj.js";
|
|
|
85
85
|
import "./native-window-CMnOFmyK.js";
|
|
86
86
|
import "./action-ledger-CJ4wxgFj.js";
|
|
87
87
|
import "./event-log-WbPUNukH.js";
|
|
88
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
88
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-B9LUjm-5.js";
|
|
89
89
|
import { t as renderTable } from "./table-DIfWcies.js";
|
|
90
90
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-Cr0qf9U9.js";
|
|
91
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
91
|
+
import { t as buildPluginStatusReport } from "./status-CDOUfMjD.js";
|
|
92
92
|
import fs from "node:fs";
|
|
93
93
|
import path from "node:path";
|
|
94
94
|
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-DFn976W-.js";
|
|
3
|
-
import { Hn as applyTemplate, dt as monitorWebChannel, gt as waitForever, mt as installUnhandledRejectionHandler, t as getReplyFromConfig } from "./reply-
|
|
3
|
+
import { Hn as applyTemplate, dt as monitorWebChannel, gt as waitForever, mt as installUnhandledRejectionHandler, t as getReplyFromConfig } from "./reply-_1yAnxO8.js";
|
|
4
4
|
import { r as enableConsoleCapture } from "./subsystem-nnRnHSFk.js";
|
|
5
5
|
import "./paths-VdmjGGyc.js";
|
|
6
6
|
import "./theme-CX-D7gOR.js";
|
|
@@ -85,25 +85,25 @@ import "./registry-xBtEGPIj.js";
|
|
|
85
85
|
import "./native-window-CMnOFmyK.js";
|
|
86
86
|
import "./action-ledger-CJ4wxgFj.js";
|
|
87
87
|
import "./event-log-WbPUNukH.js";
|
|
88
|
-
import { t as createDefaultDeps } from "./deps-
|
|
88
|
+
import { t as createDefaultDeps } from "./deps-CKkahHPL.js";
|
|
89
89
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-BOh3Z_vn.js";
|
|
90
90
|
import { t as isMainModule } from "./is-main-CQX7mFIJ.js";
|
|
91
91
|
import { t as ensureSKYKOICliOnPath } from "./path-env-CnhsG0TT.js";
|
|
92
92
|
import { t as assertSupportedRuntime } from "./runtime-guard-qFkyrhAB.js";
|
|
93
93
|
import "./ports-B03Y1yyv.js";
|
|
94
|
-
import "./config-guard-
|
|
94
|
+
import "./config-guard-4fElmtxl.js";
|
|
95
95
|
import "./logging-C3sRv-iX.js";
|
|
96
96
|
import "./note-PNq_JEQe.js";
|
|
97
97
|
import "./clack-prompter-clPzQ9p-.js";
|
|
98
|
-
import "./onboarding-
|
|
99
|
-
import "./onboard-skills-
|
|
100
|
-
import "./github-copilot-auth-
|
|
101
|
-
import "./onboard-channels-
|
|
98
|
+
import "./onboarding-CO7Y7ZGw.js";
|
|
99
|
+
import "./onboard-skills-DzW4xVb5.js";
|
|
100
|
+
import "./github-copilot-auth-BAEeMnul.js";
|
|
101
|
+
import "./onboard-channels-CSSdqCzO.js";
|
|
102
102
|
import "./plugin-auto-enable-7Sq0kaQq.js";
|
|
103
|
-
import "./archive-
|
|
103
|
+
import "./archive-B9LUjm-5.js";
|
|
104
104
|
import "./skill-scanner-CLckczzl.js";
|
|
105
|
-
import "./installs-
|
|
106
|
-
import "./health-format-
|
|
105
|
+
import "./installs-6ru74pmG.js";
|
|
106
|
+
import "./health-format-DEwk0smH.js";
|
|
107
107
|
import "./update-runner-DHNkj8-z.js";
|
|
108
108
|
import "./auth-X5uq6vRI.js";
|
|
109
109
|
import "./audit-C9kPnb6f.js";
|
|
@@ -114,15 +114,15 @@ import "./systemd-DZP4s4qd.js";
|
|
|
114
114
|
import "./diagnostics-6vXdnH8k.js";
|
|
115
115
|
import "./node-service-Bb6tgGQx.js";
|
|
116
116
|
import "./channels-status-issues-CGTJwSbx.js";
|
|
117
|
-
import "./doctor-completion-
|
|
118
|
-
import "./register.subclis-
|
|
117
|
+
import "./doctor-completion-DhcE296G.js";
|
|
118
|
+
import "./register.subclis-DpSQKbh6.js";
|
|
119
119
|
import "./gateway-rpc-DwTpsQgX.js";
|
|
120
120
|
import "./help-format-Bz-E4Xsi.js";
|
|
121
121
|
import "./admin-unlock-CjZRxHxf.js";
|
|
122
|
-
import "./koi-
|
|
123
|
-
import "./plugin-registry-
|
|
122
|
+
import "./koi-DxuaPBCp.js";
|
|
123
|
+
import "./plugin-registry-C6EVDTWx.js";
|
|
124
124
|
import "./control-ui-assets-D4o4damy.js";
|
|
125
|
-
import "./configure-
|
|
125
|
+
import "./configure-DQ0ujvZV.js";
|
|
126
126
|
import "./daemon-runtime-DIgqhoVa.js";
|
|
127
127
|
import "./systemd-linger-DHSd9ikR.js";
|
|
128
128
|
import "./widearea-dns-BjWuJvtM.js";
|
|
@@ -131,14 +131,14 @@ import "./ensure-local-gateway-Xk7ir7zS.js";
|
|
|
131
131
|
import "./channel-auth-DCGvsTTl.js";
|
|
132
132
|
import "./login-JCFx5Pzl.js";
|
|
133
133
|
import "./auth-health-FPMBFAsj.js";
|
|
134
|
-
import "./doctor-
|
|
135
|
-
import "./completion-cli-
|
|
134
|
+
import "./doctor-DJHfOAnk.js";
|
|
135
|
+
import "./completion-cli-CkIMlcRZ.js";
|
|
136
136
|
import "./service-audit-BVZGmzLW.js";
|
|
137
137
|
import "./hooks-status-Cr0qf9U9.js";
|
|
138
|
-
import "./tui-
|
|
138
|
+
import "./tui-Ca8e2NAE.js";
|
|
139
139
|
import "./canvas-state-C3YRnkNr.js";
|
|
140
|
-
import "./channel-options-
|
|
141
|
-
import { n as buildProgram } from "./program-
|
|
140
|
+
import "./channel-options-BpMSTwLa.js";
|
|
141
|
+
import { n as buildProgram } from "./program-Dwh4kWsL.js";
|
|
142
142
|
import process from "node:process";
|
|
143
143
|
import { fileURLToPath } from "node:url";
|
|
144
144
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-B1LOScGi.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-f0H7lrAS.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-Y19rtw98.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-B9LUjm-5.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-CLckczzl.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as normalizeThinkLevel, F as formatXHighModelHint, H as normalizeVerboseLevel, P as formatThinkingLevels, W as supportsXHighThinking } from "./pi-embedded-helpers-DFn976W-.js";
|
|
2
|
-
import { Cn as applyVerboseOverride, It as KOI_LANE_NESTED, On as loadModelCatalog, Sn as applyModelOverrideToSessionEntry, T as runWithModelFallback, Un as resolveKoiTimeoutMs, Z as getRemoteSkillEligibility, c as runEmbeddedPiKoi, i as runCliKoi, m as compactEmbeddedPiSession, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, rt as getSkillsSnapshotVersion, xn as clearSessionAuthProfileOverride } from "./reply-
|
|
2
|
+
import { Cn as applyVerboseOverride, It as KOI_LANE_NESTED, On as loadModelCatalog, Sn as applyModelOverrideToSessionEntry, T as runWithModelFallback, Un as resolveKoiTimeoutMs, Z as getRemoteSkillEligibility, c as runEmbeddedPiKoi, i as runCliKoi, m as compactEmbeddedPiSession, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, rt as getSkillsSnapshotVersion, xn as clearSessionAuthProfileOverride } from "./reply-_1yAnxO8.js";
|
|
3
3
|
import { k as DEFAULT_CHAT_CHANNEL, s as defaultRuntime } from "./subsystem-nnRnHSFk.js";
|
|
4
4
|
import { d as resolveKoiIdFromSessionKey, l as normalizeKoiId, u as normalizeMainKey } from "./session-key-B2OXLVi_.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-C15QLwY-.js";
|
|
@@ -15,7 +15,7 @@ import { gt as lookupContextTokens } from "./ca-director-D8uV81P4.js";
|
|
|
15
15
|
import { a as resolveOutboundTarget, o as resolveSessionDeliveryTarget } from "./message-DLdOmEc7.js";
|
|
16
16
|
import { n as emitKoiEvent, o as registerKoiRunContext, t as clearKoiRunContext } from "./koi-events-DVxTOxY3.js";
|
|
17
17
|
import { s as hasNonzeroUsage } from "./session-cost-usage-C71VC_PD.js";
|
|
18
|
-
import { t as createDefaultDeps } from "./deps-
|
|
18
|
+
import { t as createDefaultDeps } from "./deps-CKkahHPL.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-DFn976W-.js";
|
|
2
|
-
import { E as describeFailoverError, K as formatUsageWindowSummary, On as loadModelCatalog, W as loadProviderUsageSummary, c as runEmbeddedPiKoi, q as resolveUsageProviderId } from "./reply-
|
|
2
|
+
import { E as describeFailoverError, K as formatUsageWindowSummary, On as loadModelCatalog, W as loadProviderUsageSummary, c as runEmbeddedPiKoi, q as resolveUsageProviderId } from "./reply-_1yAnxO8.js";
|
|
3
3
|
import { s as defaultRuntime } from "./subsystem-nnRnHSFk.js";
|
|
4
4
|
import { t as CONFIG_PATH } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { n as isRich$1, r as theme, t as colorize } from "./theme-CX-D7gOR.js";
|
|
@@ -89,7 +89,7 @@ import "./event-log-WbPUNukH.js";
|
|
|
89
89
|
import { n as logConfigUpdated } from "./logging-C3sRv-iX.js";
|
|
90
90
|
import "./note-PNq_JEQe.js";
|
|
91
91
|
import { t as createClackPrompter } from "./clack-prompter-clPzQ9p-.js";
|
|
92
|
-
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-
|
|
92
|
+
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-BAEeMnul.js";
|
|
93
93
|
import { t as renderTable } from "./table-DIfWcies.js";
|
|
94
94
|
import { i as redactSecrets } from "./format-DtciOWIX.js";
|
|
95
95
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-FPMBFAsj.js";
|