skykoi 2026.3.334 → 2026.3.336
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-8x0EvT_N.js → archive-DftcTkmR.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DatqQMu-.js → channel-options-CRvJYObQ.js} +1 -1
- package/dist/{channels-cli-B9nzDGiE.js → channels-cli-CT5xyOCr.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Do6zuGSa.js → cli-Lj9e_D8p.js} +1 -1
- package/dist/{completion-cli-BUvof8ba.js → completion-cli-DPCyWhFl.js} +1 -1
- package/dist/{config-guard-h5le6zs3.js → config-guard-BMbKruA6.js} +16 -16
- package/dist/{configure-RUC9j2Tt.js → configure-D2BVWdUi.js} +3 -3
- package/dist/{daemon-cli-CDUBObTi.js → daemon-cli-rhlePhUP.js} +1 -1
- package/dist/{deps-Sx6LSw30.js → deps-21tI210n.js} +1 -1
- package/dist/{doctor-BbFhtTJN.js → doctor-DJ-Jl39t.js} +3 -3
- package/dist/{doctor-completion-RhF6S3_C.js → doctor-completion-D39O3K3l.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extension-api.js +1 -1
- package/dist/{gateway-cli-uBA9gFWY.js → gateway-cli-lgldVqro.js} +76 -16
- package/dist/{github-copilot-auth-C-5yS7-S.js → github-copilot-auth-AkPLMzp_.js} +1 -1
- package/dist/{health-format-5hIukkMW.js → health-format-y4mu181Z.js} +1 -1
- package/dist/{hooks-cli-ni1bljxq.js → hooks-cli-BgoQiCuS.js} +3 -3
- package/dist/index.js +21 -21
- package/dist/{installs-DO1Qob_z.js → installs-DJbOLtSS.js} +1 -1
- package/dist/{koi-D2JSJabK.js → koi-D7CBZzNg.js} +2 -2
- package/dist/{login-DQBkjWQh.js → login-C0ym92bV.js} +1 -1
- package/dist/{models-cli-Biw742NV.js → models-cli-DtZqsOes.js} +2 -2
- package/dist/{onboard-channels-6_svNn6o.js → onboard-channels-Daa0PSkS.js} +2 -2
- package/dist/{onboard-skills-DLJlrqc_.js → onboard-skills-DUBPqyxf.js} +3 -3
- package/dist/{onboarding-BFYgCHQD.js → onboarding-C7fneSaa.js} +7 -7
- package/dist/{plugin-registry-CbCweUIK.js → plugin-registry-DLKdWzAx.js} +1 -1
- package/dist/plugin-sdk/index.js +13 -13
- package/dist/plugin-sdk/{pi-model-discovery-CBWcyyqn.js → pi-model-discovery-szlzYGsC.js} +3 -3
- package/dist/{plugins-cli-nBHysCOE.js → plugins-cli-CFhlz8Qm.js} +5 -5
- package/dist/{program-DBPBjQ6C.js → program-CQUx7BSa.js} +5 -5
- package/dist/{register.subclis-Dnsmfs55.js → register.subclis-CXRxTkeQ.js} +11 -11
- package/dist/{reply-CDA3useo.js → reply-CADfEJfk.js} +1 -1
- package/dist/{run-main-DlaQd9Vk.js → run-main-C4CSNshF.js} +23 -23
- package/dist/{server-node-events-Biz7Isls.js → server-node-events-BBOq2mU0.js} +3 -3
- package/dist/{status-yBch52Bb.js → status-BTi2dcBs.js} +1 -1
- package/dist/{tui-Dil1xfUg.js → tui-C2mM7VPg.js} +30 -12
- package/dist/{tui-cli-u8Z71iuw.js → tui-cli-oh38fvo5.js} +1 -1
- package/dist/{update-B8J7Uxu1.js → update-DpzmpoQj.js} +1 -1
- package/dist/{update-cli-8mtNxpYM.js → update-cli-DQ_C1UkZ.js} +11 -11
- 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 { Ot as require_inherits } from "./reply-
|
|
2
|
+
import { Ot as require_inherits } from "./reply-CADfEJfk.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
|
+
30adbc0593cd3acca242d9cf65c0079bcc68c7f009623f73898a1ec40980c7b4
|
|
@@ -2,7 +2,7 @@ import { O as CHAT_CHANNEL_ORDER } from "./subsystem-hATE68va.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-ChCKTuXK.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-Ct7Mnq1x.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-v4DB4YP9.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DLKdWzAx.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-na1C-AMb.js";
|
|
2
|
-
import { $ as writeNylasGrant, Ct as loadProviderUsageSummary, J as nylasLinked, K as DEFAULT_NYLAS_API_URI, L as sendMessage, Q as sendMessage$1, X as readNylasGrant, Z as resolveNylasConfig, an as parseDiscordTarget, on as fetchChannelPermissionsDiscord, q as nylasConfigured, wt as formatUsageReportLines, yn as createSlackWebClient } from "./reply-
|
|
2
|
+
import { $ as writeNylasGrant, Ct as loadProviderUsageSummary, J as nylasLinked, K as DEFAULT_NYLAS_API_URI, L as sendMessage, Q as sendMessage$1, X as readNylasGrant, Z as resolveNylasConfig, an as parseDiscordTarget, on as fetchChannelPermissionsDiscord, q as nylasConfigured, wt as formatUsageReportLines, yn as createSlackWebClient } from "./reply-CADfEJfk.js";
|
|
3
3
|
import { b as success, f as danger, k as DEFAULT_CHAT_CHANNEL, p as info, s as defaultRuntime, v as setVerbose, w as getResolvedLoggerSettings } from "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { r as theme } from "./theme-C5EwWDWE.js";
|
|
@@ -72,19 +72,19 @@ import "./event-log-D8bpV04L.js";
|
|
|
72
72
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BJ0RdAWy.js";
|
|
73
73
|
import "./note-JXsKJ6Xp.js";
|
|
74
74
|
import { t as createClackPrompter } from "./clack-prompter-t8CaZFBV.js";
|
|
75
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
75
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-Daa0PSkS.js";
|
|
76
76
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-v4DB4YP9.js";
|
|
77
|
-
import "./archive-
|
|
77
|
+
import "./archive-DftcTkmR.js";
|
|
78
78
|
import "./skill-scanner-Cw1pkvBp.js";
|
|
79
|
-
import "./installs-
|
|
79
|
+
import "./installs-DJbOLtSS.js";
|
|
80
80
|
import "./service-CKHP-LSk.js";
|
|
81
81
|
import "./systemd-D9YMYUVJ.js";
|
|
82
82
|
import "./diagnostics-C-YMJXl4.js";
|
|
83
83
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-T19-LXup.js";
|
|
84
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
84
|
+
import { n as hasExplicitOptions } from "./plugin-registry-DLKdWzAx.js";
|
|
85
85
|
import "./daemon-runtime-C_fffScE.js";
|
|
86
86
|
import { t as ensureLocalGatewayRunning } from "./ensure-local-gateway-Dhu_e55g.js";
|
|
87
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
87
|
+
import { t as formatCliChannelOptions } from "./channel-options-CRvJYObQ.js";
|
|
88
88
|
import { t as buildChannelAccountSnapshot } from "./status-nK1ROKw-.js";
|
|
89
89
|
import { t as parseLogLine } from "./parse-log-line-CVV_nG9g.js";
|
|
90
90
|
import process$1 from "node:process";
|
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-rhlePhUP.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./pi-embedded-helpers-na1C-AMb.js";
|
|
2
|
-
import { St as loadSKYKOIPlugins } from "./reply-
|
|
2
|
+
import { St as loadSKYKOIPlugins } from "./reply-CADfEJfk.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./theme-C5EwWDWE.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-CXRxTkeQ.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 { H as formatTargetDisplay, Ht as registerMemoryCli, P as runMessageAction, Ut as runMemoryStatus, W as CHANNEL_MESSAGE_ACTION_NAMES, _t as CHANNEL_TARGETS_DESCRIPTION, tr as lookupContextTokens, vt as CHANNEL_TARGET_DESCRIPTION } from "./reply-
|
|
1
|
+
import { H as formatTargetDisplay, Ht as registerMemoryCli, P as runMessageAction, Ut as runMemoryStatus, W as CHANNEL_MESSAGE_ACTION_NAMES, _t as CHANNEL_TARGETS_DESCRIPTION, tr as lookupContextTokens, vt as CHANNEL_TARGET_DESCRIPTION } from "./reply-CADfEJfk.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-hATE68va.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-C5EwWDWE.js";
|
|
@@ -21,32 +21,32 @@ import { n as runCommandWithRuntime } from "./cli-utils-C7Y3mYV0.js";
|
|
|
21
21
|
import { n as withProgress } from "./progress-CPiVHO-Z.js";
|
|
22
22
|
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-BIRpPu6r.js";
|
|
23
23
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CCcySodo.js";
|
|
24
|
-
import { t as createDefaultDeps } from "./deps-
|
|
24
|
+
import { t as createDefaultDeps } from "./deps-21tI210n.js";
|
|
25
25
|
import { t as assertSupportedRuntime } from "./runtime-guard-DHvhwccg.js";
|
|
26
26
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BJ0RdAWy.js";
|
|
27
27
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BYKu4FCl.js";
|
|
28
28
|
import { t as WizardCancelledError } from "./prompts-QLr0uHK3.js";
|
|
29
29
|
import { t as createClackPrompter } from "./clack-prompter-t8CaZFBV.js";
|
|
30
|
-
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-
|
|
31
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
32
|
-
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-
|
|
33
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
34
|
-
import { i as healthCommand } from "./health-format-
|
|
30
|
+
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-C7fneSaa.js";
|
|
31
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-DUBPqyxf.js";
|
|
32
|
+
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-AkPLMzp_.js";
|
|
33
|
+
import { n as setupChannels } from "./onboard-channels-Daa0PSkS.js";
|
|
34
|
+
import { i as healthCommand } from "./health-format-y4mu181Z.js";
|
|
35
35
|
import { t as renderTable } from "./table-DGEf0ecX.js";
|
|
36
36
|
import { t as resolveGatewayService } from "./service-CKHP-LSk.js";
|
|
37
37
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D9YMYUVJ.js";
|
|
38
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
38
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-CXRxTkeQ.js";
|
|
39
39
|
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BbPQNaPu.js";
|
|
40
40
|
import { t as formatHelpExamples } from "./help-format-D6QlSTzg.js";
|
|
41
41
|
import { t as adminUnlockCommand } from "./admin-unlock-BPH4mlvg.js";
|
|
42
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
43
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
42
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-D7CBZzNg.js";
|
|
43
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-DLKdWzAx.js";
|
|
44
44
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-BNTDHUZB.js";
|
|
45
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
45
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-D2BVWdUi.js";
|
|
46
46
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-C_fffScE.js";
|
|
47
47
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-Bp3jN74v.js";
|
|
48
|
-
import { t as loginCommand } from "./login-
|
|
49
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
48
|
+
import { t as loginCommand } from "./login-C0ym92bV.js";
|
|
49
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-DJ-Jl39t.js";
|
|
50
50
|
import { fileURLToPath } from "node:url";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import path from "node:path";
|
|
@@ -2797,7 +2797,7 @@ async function loadValidConfig() {
|
|
|
2797
2797
|
}
|
|
2798
2798
|
function registerConfigCli(program) {
|
|
2799
2799
|
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) => {
|
|
2800
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2800
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-D2BVWdUi.js").then((n) => n.t);
|
|
2801
2801
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2802
2802
|
if (sections.length === 0) {
|
|
2803
2803
|
await configureCommand(defaultRuntime);
|
|
@@ -3105,7 +3105,7 @@ function registerLoginCommand(program) {
|
|
|
3105
3105
|
console.log(theme.muted(` user=${result.userId} org=${result.orgId}`));
|
|
3106
3106
|
}
|
|
3107
3107
|
if (opts.chat !== false && result.gatewayUrl && process.stdin.isTTY && process.stdout.isTTY) {
|
|
3108
|
-
const { runTui } = await import("./tui-
|
|
3108
|
+
const { runTui } = await import("./tui-C2mM7VPg.js").then((n) => n.n);
|
|
3109
3109
|
console.log(theme.muted("\n Opening your koi chat…\n"));
|
|
3110
3110
|
await runTui({
|
|
3111
3111
|
url: result.gatewayUrl,
|
|
@@ -3130,7 +3130,7 @@ function registerLoginCommand(program) {
|
|
|
3130
3130
|
}
|
|
3131
3131
|
});
|
|
3132
3132
|
program.command("whoami").description("Show the currently-logged-in SkyKoi account").action(async () => {
|
|
3133
|
-
const { readAuthFile } = await import("./login-
|
|
3133
|
+
const { readAuthFile } = await import("./login-C0ym92bV.js").then((n) => n.n);
|
|
3134
3134
|
const auth = await readAuthFile();
|
|
3135
3135
|
if (!auth) {
|
|
3136
3136
|
console.log(theme.muted("Not logged in. Run `skykoi login`."));
|
|
@@ -14,9 +14,9 @@ import { n as logConfigUpdated } from "./logging-BYKu4FCl.js";
|
|
|
14
14
|
import { t as note$1 } from "./note-JXsKJ6Xp.js";
|
|
15
15
|
import { t as WizardCancelledError } from "./prompts-QLr0uHK3.js";
|
|
16
16
|
import { t as createClackPrompter } from "./clack-prompter-t8CaZFBV.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-DUBPqyxf.js";
|
|
18
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-Daa0PSkS.js";
|
|
19
|
+
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-y4mu181Z.js";
|
|
20
20
|
import { t as resolveGatewayService } from "./service-CKHP-LSk.js";
|
|
21
21
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-ulSPw_yr.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-C_fffScE.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress } from "./progress-CPiVHO-Z.js";
|
|
|
15
15
|
import { h as resolveControlUiLinks } from "./onboard-helpers-BIRpPu6r.js";
|
|
16
16
|
import { n as isWSLEnv, t as isWSL } from "./wsl-BGKoqOYo.js";
|
|
17
17
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-Dhp0Q9eR.js";
|
|
18
|
-
import { t as createDefaultDeps } from "./deps-
|
|
18
|
+
import { t as createDefaultDeps } from "./deps-21tI210n.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CKHP-LSk.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D9YMYUVJ.js";
|
|
21
21
|
import { t as readLastGatewayErrorLine } from "./diagnostics-C-YMJXl4.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gn as sendMessageWhatsApp, kt as sendMessageIMessage, nn as sendMessageTelegram, rn as sendMessageDiscord, vn as sendMessageSlack } from "./reply-
|
|
1
|
+
import { gn as sendMessageWhatsApp, kt as sendMessageIMessage, nn as sendMessageTelegram, rn as sendMessageDiscord, vn as sendMessageSlack } from "./reply-CADfEJfk.js";
|
|
2
2
|
import { b as sendMessageSignal } from "./deliver-B9dSaGMw.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as loadSKYKOIPlugins, lr as loadModelCatalog } from "./reply-
|
|
1
|
+
import { St as loadSKYKOIPlugins, lr as loadModelCatalog } from "./reply-CADfEJfk.js";
|
|
2
2
|
import { s as defaultRuntime, w as getResolvedLoggerSettings } from "./subsystem-hATE68va.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";
|
|
@@ -26,7 +26,7 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BJ0RdAWy.js";
|
|
|
26
26
|
import { n as logConfigUpdated } from "./logging-BYKu4FCl.js";
|
|
27
27
|
import { t as note$1 } from "./note-JXsKJ6Xp.js";
|
|
28
28
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-v4DB4YP9.js";
|
|
29
|
-
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-
|
|
29
|
+
import { i as healthCommand, t as formatHealthCheckFailure } from "./health-format-y4mu181Z.js";
|
|
30
30
|
import { t as runGatewayUpdate } from "./update-runner-16zZxRyN.js";
|
|
31
31
|
import { i as resolveGatewayAuth } from "./auth-C6B1VxVI.js";
|
|
32
32
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-hSlV1cuE.js";
|
|
@@ -34,7 +34,7 @@ import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLa
|
|
|
34
34
|
import { r as isSystemdUserServiceAvailable } from "./systemd-D9YMYUVJ.js";
|
|
35
35
|
import { t as readLastGatewayErrorLine } from "./diagnostics-C-YMJXl4.js";
|
|
36
36
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-T19-LXup.js";
|
|
37
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
37
|
+
import { n as doctorShellCompletion } from "./doctor-completion-D39O3K3l.js";
|
|
38
38
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-ulSPw_yr.js";
|
|
39
39
|
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-C_fffScE.js";
|
|
40
40
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-Bp3jN74v.js";
|
|
@@ -3,7 +3,7 @@ import { r as resolveCliName, t as formatCliCommand } from "./command-format-DOY
|
|
|
3
3
|
import { t as VERSION } from "./version-BKRSzdyx.js";
|
|
4
4
|
import { t as note } from "./note-JXsKJ6Xp.js";
|
|
5
5
|
import { c as compareSemverStrings, s as checkUpdateStatus } from "./update-runner-16zZxRyN.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-DPCyWhFl.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-C4CSNshF.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-na1C-AMb.js";
|
|
2
|
-
import { Sn as resolveKoiIdentity, c as runEmbeddedPiKoi, wr as resolveKoiTimeoutMs } from "./reply-
|
|
2
|
+
import { Sn as resolveKoiIdentity, c as runEmbeddedPiKoi, wr as resolveKoiTimeoutMs } from "./reply-CADfEJfk.js";
|
|
3
3
|
import "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./theme-C5EwWDWE.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-na1C-AMb.js";
|
|
3
|
-
import { $t as getLastHeartbeatEvent, A as readSessionMessages, An as OPENAI_TTS_MODELS, At as getRemoteSkillEligibility, B as resolveOutboundTarget, Bn as setTtsEnabled, Bt as getHookType, C as listSessionsFromStore, Cn as formatUserTime, Ct as loadProviderUsageSummary, D as resolveSessionModelRef, Dn as createInternalHookEvent, Dt as handleSlackHttpRequest, E as resolveGatewaySessionStoreTarget, En as clearInternalHooks, F as ensureOutboundSessionEntry, Fn as resolveTtsApiKey, Ft as setSkillsRemoteRegistry, G as readRecentActivity, Gn as setCommandLaneConcurrency, Gt as createReplyPrefixOptions, Hn as textToSpeech, I as resolveOutboundSessionRoute, In as resolveTtsAutoMode, It as getSkillsSnapshotVersion, J as nylasLinked, Jn as stopDiagnosticHeartbeat, Jt as registerUnhandledRejectionHandler, Kn as CommandLane, Kt as normalizeGroupActivation, Ln as resolveTtsConfig, Lt as registerSkillsChangeListener, M as resolveSessionTranscriptCandidates, Mn as getTtsProvider, Mt as recordRemoteNodeInfo, N as stripEnvelopeFromMessages, Nn as isTtsEnabled, Nt as refreshRemoteBinsForConnectedNodes, O as archiveFileOnDisk, On as registerInternalHook, Pn as isTtsProviderConfigured, Pt as refreshRemoteNodeBins, Rn as resolveTtsPrefsPath, Rt as buildSafeExternalPrompt, S as listKoisForGateway, Sn as resolveKoiIdentity, Sr as normalizeMimeList, St as loadSKYKOIPlugins, T as loadSessionEntry, Tn as resolveUserTimezone, U as resetDirectoryCache, V as resolveSessionDeliveryTarget, Vn as setTtsProvider, Vt as isExternalHookSession, X as readNylasGrant, Xn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Xt as buildHistoryContextFromEntries, Y as readMessages, Yn as isDiagnosticsEnabled, Zt as resolveHeartbeatVisibility, _ as getCanvasResource, _n as normalizePollInput, _r as DEFAULT_INPUT_PDF_MAX_PIXELS, a as normalizeSendPolicy, ar as parseVerboseOverride, at as consumeGatewaySigusr1RestartAuthorization, b as replaceCanvasResource, br as extractFileContentFromSource, c as runEmbeddedPiKoi, cn as createReplyDispatcher, ct as setGatewaySigusr1RestartPolicy, d as waitForEmbeddedPiRunEnd, dn as stopSubkoisForRequester, dr as DEFAULT_INPUT_FILE_MAX_CHARS, dt as inferLegacyName, en as onHeartbeatEvent, er as stripHeartbeatToken, fn as findSubkoiRunByChildSessionKey, fr as DEFAULT_INPUT_FILE_MIMES, ft as normalizeOptionalKoiId, g as canvasUri, gr as DEFAULT_INPUT_PDF_MAX_PAGES, gt as migrateLegacyCronPayload, h as createSKYKOITools, hr as DEFAULT_INPUT_MAX_REDIRECTS, ht as normalizeRequiredName, i as runCliKoi, in as getChannelActivity, ir as applyVerboseOverride, it as authorizeGatewaySigusr1Restart, j as readSessionPreviewItemsFromTranscript, jn as OPENAI_TTS_VOICES, jt as primeRemoteSkillsCache, k as capArrayByJsonBytes, kn as triggerInternalHook, l as abortEmbeddedPiRun, ln as formatZonedTimestamp, lr as loadModelCatalog, lt as normalizeCronJobCreate, m as initRuntimeContext, mn as initSubkoiRegistry, mr as DEFAULT_INPUT_IMAGE_MIMES, mt as normalizePayloadToSystemText, n as getCliSessionId, nt as runWithModelFallback, o as resolveSendPolicy, or as enqueueSystemEvent, ot as isGatewaySigusr1RestartExternallyAllowed, pn as findSubkoiRunByRunId, pr as DEFAULT_INPUT_IMAGE_MAX_BYTES, pt as normalizeOptionalText, qn as startDiagnosticHeartbeat, r as setCliSessionId, rr as applyModelOverrideToSessionEntry, s as clearSessionQueues, sn as dispatchInboundMessage, sr as isSystemEventContextChanged, st as scheduleGatewaySigusr1Restart, tr as lookupContextTokens, tt as readSkykoiEnvVar, un as isAbortTrigger, ur as DEFAULT_INPUT_FILE_MAX_BYTES, ut as normalizeCronJobPatch, v as listCanvasUris, vr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, w as loadCombinedSessionStoreForGateway, wn as resolveUserTimeFormat, wr as resolveKoiTimeoutMs, x as resolveAnnounceTargetFromKey, xr as extractImageContentFromSource, xt as getPluginToolMeta, y as onCanvasChange, yr as DEFAULT_INPUT_TIMEOUT_MS, yt as requestHeartbeatNow, zn as resolveTtsProviderOrder, zt as detectSuspiciousPatterns } from "./reply-
|
|
3
|
+
import { $t as getLastHeartbeatEvent, A as readSessionMessages, An as OPENAI_TTS_MODELS, At as getRemoteSkillEligibility, B as resolveOutboundTarget, Bn as setTtsEnabled, Bt as getHookType, C as listSessionsFromStore, Cn as formatUserTime, Ct as loadProviderUsageSummary, D as resolveSessionModelRef, Dn as createInternalHookEvent, Dt as handleSlackHttpRequest, E as resolveGatewaySessionStoreTarget, En as clearInternalHooks, F as ensureOutboundSessionEntry, Fn as resolveTtsApiKey, Ft as setSkillsRemoteRegistry, G as readRecentActivity, Gn as setCommandLaneConcurrency, Gt as createReplyPrefixOptions, Hn as textToSpeech, I as resolveOutboundSessionRoute, In as resolveTtsAutoMode, It as getSkillsSnapshotVersion, J as nylasLinked, Jn as stopDiagnosticHeartbeat, Jt as registerUnhandledRejectionHandler, Kn as CommandLane, Kt as normalizeGroupActivation, Ln as resolveTtsConfig, Lt as registerSkillsChangeListener, M as resolveSessionTranscriptCandidates, Mn as getTtsProvider, Mt as recordRemoteNodeInfo, N as stripEnvelopeFromMessages, Nn as isTtsEnabled, Nt as refreshRemoteBinsForConnectedNodes, O as archiveFileOnDisk, On as registerInternalHook, Pn as isTtsProviderConfigured, Pt as refreshRemoteNodeBins, Rn as resolveTtsPrefsPath, Rt as buildSafeExternalPrompt, S as listKoisForGateway, Sn as resolveKoiIdentity, Sr as normalizeMimeList, St as loadSKYKOIPlugins, T as loadSessionEntry, Tn as resolveUserTimezone, U as resetDirectoryCache, V as resolveSessionDeliveryTarget, Vn as setTtsProvider, Vt as isExternalHookSession, X as readNylasGrant, Xn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Xt as buildHistoryContextFromEntries, Y as readMessages, Yn as isDiagnosticsEnabled, Zt as resolveHeartbeatVisibility, _ as getCanvasResource, _n as normalizePollInput, _r as DEFAULT_INPUT_PDF_MAX_PIXELS, a as normalizeSendPolicy, ar as parseVerboseOverride, at as consumeGatewaySigusr1RestartAuthorization, b as replaceCanvasResource, br as extractFileContentFromSource, c as runEmbeddedPiKoi, cn as createReplyDispatcher, ct as setGatewaySigusr1RestartPolicy, d as waitForEmbeddedPiRunEnd, dn as stopSubkoisForRequester, dr as DEFAULT_INPUT_FILE_MAX_CHARS, dt as inferLegacyName, en as onHeartbeatEvent, er as stripHeartbeatToken, fn as findSubkoiRunByChildSessionKey, fr as DEFAULT_INPUT_FILE_MIMES, ft as normalizeOptionalKoiId, g as canvasUri, gr as DEFAULT_INPUT_PDF_MAX_PAGES, gt as migrateLegacyCronPayload, h as createSKYKOITools, hr as DEFAULT_INPUT_MAX_REDIRECTS, ht as normalizeRequiredName, i as runCliKoi, in as getChannelActivity, ir as applyVerboseOverride, it as authorizeGatewaySigusr1Restart, j as readSessionPreviewItemsFromTranscript, jn as OPENAI_TTS_VOICES, jt as primeRemoteSkillsCache, k as capArrayByJsonBytes, kn as triggerInternalHook, l as abortEmbeddedPiRun, ln as formatZonedTimestamp, lr as loadModelCatalog, lt as normalizeCronJobCreate, m as initRuntimeContext, mn as initSubkoiRegistry, mr as DEFAULT_INPUT_IMAGE_MIMES, mt as normalizePayloadToSystemText, n as getCliSessionId, nt as runWithModelFallback, o as resolveSendPolicy, or as enqueueSystemEvent, ot as isGatewaySigusr1RestartExternallyAllowed, pn as findSubkoiRunByRunId, pr as DEFAULT_INPUT_IMAGE_MAX_BYTES, pt as normalizeOptionalText, qn as startDiagnosticHeartbeat, r as setCliSessionId, rr as applyModelOverrideToSessionEntry, s as clearSessionQueues, sn as dispatchInboundMessage, sr as isSystemEventContextChanged, st as scheduleGatewaySigusr1Restart, tr as lookupContextTokens, tt as readSkykoiEnvVar, un as isAbortTrigger, ur as DEFAULT_INPUT_FILE_MAX_BYTES, ut as normalizeCronJobPatch, v as listCanvasUris, vr as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, w as loadCombinedSessionStoreForGateway, wn as resolveUserTimeFormat, wr as resolveKoiTimeoutMs, x as resolveAnnounceTargetFromKey, xr as extractImageContentFromSource, xt as getPluginToolMeta, y as onCanvasChange, yr as DEFAULT_INPUT_TIMEOUT_MS, yt as requestHeartbeatNow, zn as resolveTtsProviderOrder, zt as detectSuspiciousPatterns } from "./reply-CADfEJfk.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-hATE68va.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-C5EwWDWE.js";
|
|
@@ -78,7 +78,7 @@ import { t as parseAbsoluteTimeMs } from "./parse-CD7NbzDF.js";
|
|
|
78
78
|
import { a as summarizeRestartSentinel, n as formatDoctorNonInteractiveHint, r as formatRestartSentinelMessage, s as writeRestartSentinel, t as consumeRestartSentinel } from "./restart-sentinel-CPa0BLgc.js";
|
|
79
79
|
import { n as resolveMessageChannelSelection } from "./channel-selection-OgVBkPDG.js";
|
|
80
80
|
import { i as readEventsSince, n as clearEventLogForSession, o as subscribeAll, r as hydrateSession, t as appendEvent } from "./event-log-D8bpV04L.js";
|
|
81
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
81
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-21tI210n.js";
|
|
82
82
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-D0cB8Nyf.js";
|
|
83
83
|
import { t as ensureSKYKOICliOnPath } from "./path-env-C7V3KfE6.js";
|
|
84
84
|
import { t as forceFreePortAndWait } from "./ports-BamXUQot.js";
|
|
@@ -86,15 +86,15 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BJ0RdAWy.js";
|
|
|
86
86
|
import "./logging-BYKu4FCl.js";
|
|
87
87
|
import "./note-JXsKJ6Xp.js";
|
|
88
88
|
import { t as WizardCancelledError } from "./prompts-QLr0uHK3.js";
|
|
89
|
-
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-
|
|
90
|
-
import { n as installSkill } from "./onboard-skills-
|
|
91
|
-
import "./github-copilot-auth-
|
|
92
|
-
import "./onboard-channels-
|
|
89
|
+
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-C7fneSaa.js";
|
|
90
|
+
import { n as installSkill } from "./onboard-skills-DUBPqyxf.js";
|
|
91
|
+
import "./github-copilot-auth-AkPLMzp_.js";
|
|
92
|
+
import "./onboard-channels-Daa0PSkS.js";
|
|
93
93
|
import { r as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-v4DB4YP9.js";
|
|
94
|
-
import "./archive-
|
|
94
|
+
import "./archive-DftcTkmR.js";
|
|
95
95
|
import "./skill-scanner-Cw1pkvBp.js";
|
|
96
|
-
import "./installs-
|
|
97
|
-
import { c as startHeartbeatRunner, n as formatHealthChannelLines, o as runHeartbeatOnce, r as getHealthSnapshot, s as setHeartbeatsEnabled } from "./health-format-
|
|
96
|
+
import "./installs-DJbOLtSS.js";
|
|
97
|
+
import { c as startHeartbeatRunner, n as formatHealthChannelLines, o as runHeartbeatOnce, r as getHealthSnapshot, s as setHeartbeatsEnabled } from "./health-format-y4mu181Z.js";
|
|
98
98
|
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-16zZxRyN.js";
|
|
99
99
|
import { i as resolveGatewayAuth, n as authorizeGatewayConnect, r as isLocalDirectRequest, t as assertGatewayAuthConfigured } from "./auth-C6B1VxVI.js";
|
|
100
100
|
import { i as probeGateway } from "./audit-hXEwoyqG.js";
|
|
@@ -105,21 +105,21 @@ import { p as resolveGatewayStateDir } from "./systemd-D9YMYUVJ.js";
|
|
|
105
105
|
import "./diagnostics-C-YMJXl4.js";
|
|
106
106
|
import "./node-service-DrS2vIzq.js";
|
|
107
107
|
import "./channels-status-issues-T19-LXup.js";
|
|
108
|
-
import "./doctor-completion-
|
|
109
|
-
import "./register.subclis-
|
|
110
|
-
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-
|
|
108
|
+
import "./doctor-completion-D39O3K3l.js";
|
|
109
|
+
import "./register.subclis-CXRxTkeQ.js";
|
|
110
|
+
import { a as createOutboundSendDeps$1, i as resolveKoiOutboundTarget, r as resolveKoiDeliveryPlan, t as koiCommand } from "./koi-D7CBZzNg.js";
|
|
111
111
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-ulSPw_yr.js";
|
|
112
112
|
import "./daemon-runtime-C_fffScE.js";
|
|
113
113
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-D764X7td.js";
|
|
114
114
|
import { n as discoverGatewayBeacons } from "./bonjour-discovery-_EttiPSR.js";
|
|
115
115
|
import "./ensure-local-gateway-Dhu_e55g.js";
|
|
116
|
-
import "./completion-cli-
|
|
116
|
+
import "./completion-cli-DPCyWhFl.js";
|
|
117
117
|
import "./service-audit-QCeWRiGh.js";
|
|
118
118
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-CEe-RaiY.js";
|
|
119
|
-
import "./tui-
|
|
119
|
+
import "./tui-C2mM7VPg.js";
|
|
120
120
|
import { t as buildChannelAccountSnapshot } from "./status-nK1ROKw-.js";
|
|
121
121
|
import "./shared-Ce8XPMG6.js";
|
|
122
|
-
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
122
|
+
import { a as runDaemonStop, i as runDaemonStart, n as runDaemonStatus, o as runDaemonUninstall, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-rhlePhUP.js";
|
|
123
123
|
import { a as toOptionString, i as parsePort$1, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DahLhw06.js";
|
|
124
124
|
import { i as setGatewayWsLogStyle, n as logWs, r as summarizeKoiEventForWsLog, t as formatForLog } from "./ws-log-1qAb3Evh.js";
|
|
125
125
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-aNLlRREc.js";
|
|
@@ -11784,7 +11784,7 @@ const nodeHandlers = {
|
|
|
11784
11784
|
const p = params;
|
|
11785
11785
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11786
11786
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11787
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11787
|
+
const { handleNodeEvent } = await import("./server-node-events-BBOq2mU0.js");
|
|
11788
11788
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11789
11789
|
await handleNodeEvent({
|
|
11790
11790
|
deps: context.deps,
|
|
@@ -14077,6 +14077,64 @@ const filesHandlers = {
|
|
|
14077
14077
|
}
|
|
14078
14078
|
};
|
|
14079
14079
|
|
|
14080
|
+
//#endregion
|
|
14081
|
+
//#region src/gateway/server-methods/profile.ts
|
|
14082
|
+
/**
|
|
14083
|
+
* @module gateway/server-methods/profile
|
|
14084
|
+
*
|
|
14085
|
+
* Gateway RPC handler that exposes the koi's onboarding DOSSIER — the
|
|
14086
|
+
* human-readable `USER.md` plus the structured `profile.json` the koi writes
|
|
14087
|
+
* during onboarding — so the website (koi.skykoi.com) can render it as a
|
|
14088
|
+
* knowledge graph (people, companies, projects, …).
|
|
14089
|
+
*
|
|
14090
|
+
* Method: profile.get {}
|
|
14091
|
+
* Returns: {
|
|
14092
|
+
* workspaceDir: string,
|
|
14093
|
+
* userMd: string | null, // USER.md (utf8), null when missing/unreadable
|
|
14094
|
+
* profile: object | null, // parsed profile.json, null when missing/invalid
|
|
14095
|
+
* updatedAt: string | null // profile.json mtime as ISO, null when missing
|
|
14096
|
+
* }
|
|
14097
|
+
*
|
|
14098
|
+
* Reads ONLY the koi's own default workspace (no path params) — there is no
|
|
14099
|
+
* caller-controlled path, so it is safe. The handler never throws: any missing
|
|
14100
|
+
* or malformed file degrades to a null field.
|
|
14101
|
+
*/
|
|
14102
|
+
const PROFILE_FILENAME = "profile.json";
|
|
14103
|
+
function readTextFile(filePath) {
|
|
14104
|
+
try {
|
|
14105
|
+
return readFileSync(filePath, "utf8");
|
|
14106
|
+
} catch {
|
|
14107
|
+
return null;
|
|
14108
|
+
}
|
|
14109
|
+
}
|
|
14110
|
+
const profileHandlers = { "profile.get": async ({ respond }) => {
|
|
14111
|
+
const workspaceDir = resolveDefaultKoiWorkspaceDir();
|
|
14112
|
+
const userMd = readTextFile(join(workspaceDir, DEFAULT_USER_FILENAME));
|
|
14113
|
+
const profilePath = join(workspaceDir, PROFILE_FILENAME);
|
|
14114
|
+
let profile = null;
|
|
14115
|
+
let updatedAt = null;
|
|
14116
|
+
const profileRaw = readTextFile(profilePath);
|
|
14117
|
+
if (profileRaw !== null) {
|
|
14118
|
+
try {
|
|
14119
|
+
const parsed = JSON.parse(profileRaw);
|
|
14120
|
+
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) profile = parsed;
|
|
14121
|
+
} catch {
|
|
14122
|
+
profile = null;
|
|
14123
|
+
}
|
|
14124
|
+
try {
|
|
14125
|
+
updatedAt = statSync(profilePath).mtime.toISOString();
|
|
14126
|
+
} catch {
|
|
14127
|
+
updatedAt = null;
|
|
14128
|
+
}
|
|
14129
|
+
}
|
|
14130
|
+
respond(true, {
|
|
14131
|
+
workspaceDir,
|
|
14132
|
+
userMd,
|
|
14133
|
+
profile,
|
|
14134
|
+
updatedAt
|
|
14135
|
+
});
|
|
14136
|
+
} };
|
|
14137
|
+
|
|
14080
14138
|
//#endregion
|
|
14081
14139
|
//#region src/wizard/session.ts
|
|
14082
14140
|
function createDeferred() {
|
|
@@ -14410,6 +14468,7 @@ const READ_METHODS = new Set([
|
|
|
14410
14468
|
"models.list",
|
|
14411
14469
|
"koi.list",
|
|
14412
14470
|
"koi.identity.get",
|
|
14471
|
+
"profile.get",
|
|
14413
14472
|
"skills.status",
|
|
14414
14473
|
"voicewake.get",
|
|
14415
14474
|
"sessions.list",
|
|
@@ -14476,6 +14535,7 @@ const coreGatewayHandlers = {
|
|
|
14476
14535
|
...voicewakeHandlers,
|
|
14477
14536
|
...healthHandlers,
|
|
14478
14537
|
...filesHandlers,
|
|
14538
|
+
...profileHandlers,
|
|
14479
14539
|
...channelsHandlers,
|
|
14480
14540
|
...chatHandlers,
|
|
14481
14541
|
...progressHandlers,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import { St as loadSKYKOIPlugins } from "./reply-CADfEJfk.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-hATE68va.js";
|
|
3
3
|
import { l as normalizeKoiId } from "./session-key-B2OXLVi_.js";
|
|
4
4
|
import { b as sleep } from "./utils-D019Z2NU.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as resolveHeartbeatPrompt$1, Kn as CommandLane, Qn as isHeartbeatContentEffectivelyEmpty, Qt as emitHeartbeatEvent, R as resolveHeartbeatDeliveryTarget, Tn as resolveUserTimezone, Un as enqueueCommandInLane, Wn as getQueueSize, Xn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Zn as DEFAULT_HEARTBEAT_EVERY, Zt as resolveHeartbeatVisibility, bt as setHeartbeatWakeHandler, cr as peekSystemEvents, er as stripHeartbeatToken, t as getReplyFromConfig, tn as resolveIndicatorType, u as isEmbeddedPiRunActive, xn as resolveEffectiveMessagesConfig, yt as requestHeartbeatNow, z as resolveHeartbeatSenderContext } from "./reply-
|
|
1
|
+
import { $n as resolveHeartbeatPrompt$1, Kn as CommandLane, Qn as isHeartbeatContentEffectivelyEmpty, Qt as emitHeartbeatEvent, R as resolveHeartbeatDeliveryTarget, Tn as resolveUserTimezone, Un as enqueueCommandInLane, Wn as getQueueSize, Xn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Zn as DEFAULT_HEARTBEAT_EVERY, Zt as resolveHeartbeatVisibility, bt as setHeartbeatWakeHandler, cr as peekSystemEvents, er as stripHeartbeatToken, t as getReplyFromConfig, tn as resolveIndicatorType, u as isEmbeddedPiRunActive, xn as resolveEffectiveMessagesConfig, yt as requestHeartbeatNow, z as resolveHeartbeatSenderContext } from "./reply-CADfEJfk.js";
|
|
2
2
|
import { p as info, s as defaultRuntime, t as createSubsystemLogger } from "./subsystem-hATE68va.js";
|
|
3
3
|
import { n as isRich, r as theme, t as colorize } from "./theme-C5EwWDWE.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-na1C-AMb.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-CADfEJfk.js";
|
|
3
3
|
import { s as defaultRuntime } from "./subsystem-hATE68va.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { r as theme } from "./theme-C5EwWDWE.js";
|
|
@@ -67,10 +67,10 @@ import "./control-service-D9AMN7Pw.js";
|
|
|
67
67
|
import "./restart-sentinel-CPa0BLgc.js";
|
|
68
68
|
import "./channel-selection-OgVBkPDG.js";
|
|
69
69
|
import "./event-log-D8bpV04L.js";
|
|
70
|
-
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-
|
|
70
|
+
import { a as resolvePackedRootDir, i as resolveArchiveKind, n as fileExists, r as readJsonFile, t as extractArchive } from "./archive-DftcTkmR.js";
|
|
71
71
|
import { t as renderTable } from "./table-DGEf0ecX.js";
|
|
72
72
|
import { a as parseFrontmatter, n as loadWorkspaceHookEntries, t as buildWorkspaceHookStatus } from "./hooks-status-CEe-RaiY.js";
|
|
73
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
73
|
+
import { t as buildPluginStatusReport } from "./status-BTi2dcBs.js";
|
|
74
74
|
import fs from "node:fs";
|
|
75
75
|
import path from "node:path";
|
|
76
76
|
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-na1C-AMb.js";
|
|
3
|
-
import { Cr as applyTemplate, Wt as monitorWebChannel, Yt as waitForever, et as loadDotEnv, qt as installUnhandledRejectionHandler, t as getReplyFromConfig } from "./reply-
|
|
3
|
+
import { Cr as applyTemplate, Wt as monitorWebChannel, Yt as waitForever, et as loadDotEnv, qt as installUnhandledRejectionHandler, t as getReplyFromConfig } from "./reply-CADfEJfk.js";
|
|
4
4
|
import { r as enableConsoleCapture } from "./subsystem-hATE68va.js";
|
|
5
5
|
import "./paths-VdmjGGyc.js";
|
|
6
6
|
import "./theme-C5EwWDWE.js";
|
|
@@ -67,25 +67,25 @@ import "./control-service-D9AMN7Pw.js";
|
|
|
67
67
|
import "./restart-sentinel-CPa0BLgc.js";
|
|
68
68
|
import "./channel-selection-OgVBkPDG.js";
|
|
69
69
|
import "./event-log-D8bpV04L.js";
|
|
70
|
-
import { t as createDefaultDeps } from "./deps-
|
|
70
|
+
import { t as createDefaultDeps } from "./deps-21tI210n.js";
|
|
71
71
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-D0cB8Nyf.js";
|
|
72
72
|
import { t as isMainModule } from "./is-main-DZvllFzQ.js";
|
|
73
73
|
import { t as ensureSKYKOICliOnPath } from "./path-env-C7V3KfE6.js";
|
|
74
74
|
import { t as assertSupportedRuntime } from "./runtime-guard-DHvhwccg.js";
|
|
75
75
|
import "./ports-BamXUQot.js";
|
|
76
|
-
import "./config-guard-
|
|
76
|
+
import "./config-guard-BMbKruA6.js";
|
|
77
77
|
import "./logging-BYKu4FCl.js";
|
|
78
78
|
import "./note-JXsKJ6Xp.js";
|
|
79
79
|
import "./clack-prompter-t8CaZFBV.js";
|
|
80
|
-
import "./onboarding-
|
|
81
|
-
import "./onboard-skills-
|
|
82
|
-
import "./github-copilot-auth-
|
|
83
|
-
import "./onboard-channels-
|
|
80
|
+
import "./onboarding-C7fneSaa.js";
|
|
81
|
+
import "./onboard-skills-DUBPqyxf.js";
|
|
82
|
+
import "./github-copilot-auth-AkPLMzp_.js";
|
|
83
|
+
import "./onboard-channels-Daa0PSkS.js";
|
|
84
84
|
import "./plugin-auto-enable-v4DB4YP9.js";
|
|
85
|
-
import "./archive-
|
|
85
|
+
import "./archive-DftcTkmR.js";
|
|
86
86
|
import "./skill-scanner-Cw1pkvBp.js";
|
|
87
|
-
import "./installs-
|
|
88
|
-
import "./health-format-
|
|
87
|
+
import "./installs-DJbOLtSS.js";
|
|
88
|
+
import "./health-format-y4mu181Z.js";
|
|
89
89
|
import "./update-runner-16zZxRyN.js";
|
|
90
90
|
import "./auth-C6B1VxVI.js";
|
|
91
91
|
import "./audit-hXEwoyqG.js";
|
|
@@ -96,29 +96,29 @@ import "./systemd-D9YMYUVJ.js";
|
|
|
96
96
|
import "./diagnostics-C-YMJXl4.js";
|
|
97
97
|
import "./node-service-DrS2vIzq.js";
|
|
98
98
|
import "./channels-status-issues-T19-LXup.js";
|
|
99
|
-
import "./doctor-completion-
|
|
100
|
-
import "./register.subclis-
|
|
99
|
+
import "./doctor-completion-D39O3K3l.js";
|
|
100
|
+
import "./register.subclis-CXRxTkeQ.js";
|
|
101
101
|
import "./gateway-rpc-BbPQNaPu.js";
|
|
102
102
|
import "./help-format-D6QlSTzg.js";
|
|
103
103
|
import "./admin-unlock-BPH4mlvg.js";
|
|
104
|
-
import "./koi-
|
|
105
|
-
import "./plugin-registry-
|
|
104
|
+
import "./koi-D7CBZzNg.js";
|
|
105
|
+
import "./plugin-registry-DLKdWzAx.js";
|
|
106
106
|
import "./control-ui-assets-ulSPw_yr.js";
|
|
107
|
-
import "./configure-
|
|
107
|
+
import "./configure-D2BVWdUi.js";
|
|
108
108
|
import "./daemon-runtime-C_fffScE.js";
|
|
109
109
|
import "./systemd-linger-Bp3jN74v.js";
|
|
110
110
|
import "./widearea-dns-D764X7td.js";
|
|
111
111
|
import "./bonjour-discovery-_EttiPSR.js";
|
|
112
112
|
import "./ensure-local-gateway-Dhu_e55g.js";
|
|
113
|
-
import "./login-
|
|
113
|
+
import "./login-C0ym92bV.js";
|
|
114
114
|
import "./auth-health-D-EO7Gy6.js";
|
|
115
|
-
import "./doctor-
|
|
116
|
-
import "./completion-cli-
|
|
115
|
+
import "./doctor-DJ-Jl39t.js";
|
|
116
|
+
import "./completion-cli-DPCyWhFl.js";
|
|
117
117
|
import "./service-audit-QCeWRiGh.js";
|
|
118
118
|
import "./hooks-status-CEe-RaiY.js";
|
|
119
|
-
import "./tui-
|
|
120
|
-
import "./channel-options-
|
|
121
|
-
import { n as buildProgram } from "./program-
|
|
119
|
+
import "./tui-C2mM7VPg.js";
|
|
120
|
+
import "./channel-options-CRvJYObQ.js";
|
|
121
|
+
import { n as buildProgram } from "./program-CQUx7BSa.js";
|
|
122
122
|
import process from "node:process";
|
|
123
123
|
import { fileURLToPath } from "node:url";
|
|
124
124
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-D019Z2NU.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-XH65-wH1.js";
|
|
3
3
|
import { a as MANIFEST_KEY } from "./manifest-registry-DEGu_o5t.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-DftcTkmR.js";
|
|
5
5
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-Cw1pkvBp.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-na1C-AMb.js";
|
|
2
|
-
import { At as getRemoteSkillEligibility, B as resolveOutboundTarget, It as getSkillsSnapshotVersion, V as resolveSessionDeliveryTarget, c as runEmbeddedPiKoi, hn as KOI_LANE_NESTED, i as runCliKoi, ir as applyVerboseOverride, lr as loadModelCatalog, n as getCliSessionId, nr as clearSessionAuthProfileOverride, nt as runWithModelFallback, o as resolveSendPolicy, p as compactEmbeddedPiSession, r as setCliSessionId, rr as applyModelOverrideToSessionEntry, tr as lookupContextTokens, wr as resolveKoiTimeoutMs } from "./reply-
|
|
2
|
+
import { At as getRemoteSkillEligibility, B as resolveOutboundTarget, It as getSkillsSnapshotVersion, V as resolveSessionDeliveryTarget, c as runEmbeddedPiKoi, hn as KOI_LANE_NESTED, i as runCliKoi, ir as applyVerboseOverride, lr as loadModelCatalog, n as getCliSessionId, nr as clearSessionAuthProfileOverride, nt as runWithModelFallback, o as resolveSendPolicy, p as compactEmbeddedPiSession, r as setCliSessionId, rr as applyModelOverrideToSessionEntry, tr as lookupContextTokens, wr as resolveKoiTimeoutMs } from "./reply-CADfEJfk.js";
|
|
3
3
|
import { k as DEFAULT_CHAT_CHANNEL, s as defaultRuntime } from "./subsystem-hATE68va.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-je0O-Kk9.js";
|
|
@@ -13,7 +13,7 @@ import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-DLKQ
|
|
|
13
13
|
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-B9dSaGMw.js";
|
|
14
14
|
import { n as emitKoiEvent, o as registerKoiRunContext, t as clearKoiRunContext } from "./koi-events-PjhvrXGG.js";
|
|
15
15
|
import { l as hasNonzeroUsage } from "./session-cost-usage-5qAaW5Wc.js";
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-21tI210n.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -265,7 +265,7 @@ async function writeOnboardingDebug(outcome) {
|
|
|
265
265
|
* dossier is built BEFORE the user's first message and the koi knows them from
|
|
266
266
|
* its very first reply (no investigating mid-conversation).
|
|
267
267
|
*/
|
|
268
|
-
const ONBOARDING_KICKOFF = "[setup] Run your full onboarding NOW, silently in the background, per your Onboarding & user dossier instructions. Investigate this computer and build the complete USER.md + profile.json: identity; the people who matter (rank by real two-way message volume, then READ each top person's recent thread); the user's voice/writing style (global + per-person); their business/ventures and team; and their current headspace from recent browser/search activity. Do NOT message me about it — just build the dossier so you already know me when I first message you. This is the initial setup pass; keep refining it each session.";
|
|
268
|
+
const ONBOARDING_KICKOFF = "[setup] Run your full onboarding NOW, silently in the background, per your Onboarding & user dossier instructions. Investigate this computer and build the complete USER.md AND a valid structured profile.json (REQUIRED — use the EXACT schema in your dossier instructions: identity, people[], business.ventures[]+team, projects[], voice, gaps; the website renders profile.json as my knowledge graph, so always set identity.name, fill every array you can, and never skip it or leave it empty): identity; the people who matter (rank by real two-way message volume, then READ each top person's recent thread); the user's voice/writing style (global + per-person); their business/ventures and team; and their current headspace from recent browser/search activity. Do NOT message me about it — just build the dossier so you already know me when I first message you. This is the initial setup pass; keep refining it each session.";
|
|
269
269
|
/** A short, human "currently doing" phrase for an onboarding tool call. */
|
|
270
270
|
function onboardingActivity(tool) {
|
|
271
271
|
switch (tool) {
|