skykoi 2026.3.155 → 2026.3.156
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/{acp-cli-CLQyVKqb.js → acp-cli-DKk5qbHW.js} +3 -3
- package/dist/{archive-CqC3MH7S.js → archive-CJE6qfUF.js} +1 -1
- package/dist/{audit-BOLXY7t7.js → audit-C0ixMaLQ.js} +6 -6
- package/dist/{auth-Rm5wqEvH.js → auth-DQvUzR68.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/{call-Bu-PXtQa.js → call-ByTcqcvV.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-TMV-MIFx.js → channel-options-DoSTLMZp.js} +1 -1
- package/dist/{channel-summary-B_qS6CMo.js → channel-summary-DjJ3lkCW.js} +2 -2
- package/dist/{channels-cli-Bad2Gunk.js → channels-cli-Cb9gne4P.js} +20 -20
- package/dist/{chrome-lbEbQ56F.js → chrome-CYjH7HBH.js} +7 -7
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-D4bhAEsN.js → cli-hZA2E9-j.js} +15 -15
- package/dist/{completion-cli-Dqbdq9QO.js → completion-cli-HN6DFXD9.js} +1 -1
- package/dist/{config-guard-C7hl_Omx.js → config-guard-DwDEj7Ci.js} +17 -17
- package/dist/{configure-D4gG84As.js → configure-DlMIEQWa.js} +4 -4
- package/dist/{control-service-BeD9aAWG.js → control-service-DnzgVIyk.js} +3 -3
- package/dist/{cron-cli-CIUnaJNn.js → cron-cli-BT1PUmY9.js} +3 -3
- package/dist/{daemon-cli-BuYtUGAD.js → daemon-cli-BGL_hfq9.js} +7 -7
- package/dist/{deliver-V9WA_kZK.js → deliver-CJ2Pjcyz.js} +3 -3
- package/dist/{deps-DliWBLR6.js → deps-C3KXLAIC.js} +2 -2
- package/dist/{devices-cli-C-9tBxpI.js → devices-cli-C8ekbl1p.js} +2 -2
- package/dist/{dispatcher-CbiLzdIu.js → dispatcher-jfUrueZo.js} +1 -1
- package/dist/{doctor-DEOTHN19.js → doctor-D5jYt1j4.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-C41v4YhY.js → exec-approvals-cli-CNAmravt.js} +4 -4
- package/dist/extension-api.js +15 -15
- package/dist/{gateway-cli-7rdUDBR3.js → gateway-cli-Br3cxDJh.js} +37 -37
- package/dist/{gateway-rpc-DBPVLpDy.js → gateway-rpc-GLatQ1eS.js} +1 -1
- package/dist/{github-copilot-auth-CS-mE14G.js → github-copilot-auth-D4IO7PUT.js} +2 -2
- package/dist/{health-format-DoDy22kS.js → health-format-DySpZd8K.js} +5 -5
- package/dist/{hooks-cli-2ChRmeIQ.js → hooks-cli-C7jpGmRZ.js} +17 -17
- package/dist/{image-Ci-8c7yZ.js → image-B551BV5h.js} +1 -1
- package/dist/index.js +38 -38
- package/dist/{installs-Qk1mor7n.js → installs-C1Ft8dtv.js} +1 -1
- package/dist/{koi-5h06XWKZ.js → koi-D-MfbiyL.js} +6 -7
- package/dist/{login-qr-DM79a9gM.js → login-qr-ZIqZmEKc.js} +6 -6
- package/dist/{logs-cli-DSnW34p8.js → logs-cli-D0kEcjfo.js} +3 -3
- package/dist/{models-cli-DmLzrDvw.js → models-cli-D2YBvsFs.js} +16 -16
- package/dist/{net-BmNLdzEu.js → net-Cmh623y0.js} +3 -3
- package/dist/{node-cli-CUKvnrE8.js → node-cli-DaG_RgI-.js} +8 -8
- package/dist/{nodes-cli-D2tC5zwn.js → nodes-cli-Bq2qH5t0.js} +3 -3
- package/dist/{onboard-channels-DLwghLSX.js → onboard-channels-BbZ4mKyR.js} +2 -2
- package/dist/{onboard-skills-BMSs_h52.js → onboard-skills-qsve2vGf.js} +4 -4
- package/dist/{onboarding-CuOwUIxr.js → onboarding-QjjRi54s.js} +12 -12
- package/dist/{pi-embedded-helpers-c_aUXGW8.js → pi-embedded-helpers-1Nerrhel.js} +2 -2
- package/dist/{pi-tools.policy-C7zitA8h.js → pi-tools.policy-CGTDSyw9.js} +1 -1
- package/dist/{plugin-registry-DfDx2SEB.js → plugin-registry-XGYtzjOF.js} +1 -1
- package/dist/plugin-sdk/index.js +585 -27
- package/dist/plugin-sdk/{pi-model-discovery-CeYPOTBg.js → pi-model-discovery-B1kAe0kx.js} +3 -3
- package/dist/{plugins-cli-QOu4fptF.js → plugins-cli-Bg1XDg0L.js} +19 -19
- package/dist/{ports-CB2baTjH.js → ports-RMh76QZ2.js} +1 -1
- package/dist/{program-DKZmtnMn.js → program-DVLtTun9.js} +5 -5
- package/dist/{pw-ai-BAED3BZI.js → pw-ai-CXf_puwX.js} +1 -1
- package/dist/{register.subclis-BQpVyH_3.js → register.subclis-CMi_LCDA.js} +21 -21
- package/dist/{reply-BzrO3bUp.js → reply-DXPSuon-.js} +589 -31
- package/dist/{routes-CjhejVNa.js → routes-O9a-k9LQ.js} +2 -2
- package/dist/{rpc-BMBLbOiy.js → rpc-B-CECmlQ.js} +1 -1
- package/dist/{run-main-DZjM7tUa.js → run-main-DWD2_J3p.js} +38 -38
- package/dist/{runner-BrFcTeOL.js → runner-BnT9P1r3.js} +5 -5
- package/dist/{sandbox-CUfq0krW.js → sandbox-BCOmiLLk.js} +3 -3
- package/dist/{sandbox-cli-BrjRalq3.js → sandbox-cli-BmHuaCL1.js} +4 -4
- package/dist/{security-cli-gs6xwbr9.js → security-cli-BqoFplHx.js} +9 -9
- package/dist/{server-context-C0eFgku9.js → server-context-DziyNN8b.js} +4 -4
- package/dist/{server-node-events-BXKC2JSS.js → server-node-events-BaKf-HVq.js} +17 -17
- package/dist/{shared-BBEi30PJ.js → shared-DCuTTPOy.js} +1 -1
- package/dist/{status-Cakc8HBC.js → status-_SsuJdd4.js} +1 -1
- package/dist/{system-cli-DFtxTgjZ.js → system-cli-BJWDq8t2.js} +3 -3
- package/dist/{tui-Ctd5kF_4.js → tui-9aUeGcxw.js} +4 -4
- package/dist/{tui-cli-emtyc7VD.js → tui-cli-JsDtZMrF.js} +9 -9
- package/dist/{update-cli-BXRQLDlF.js → update-cli-b4Y9yLUA.js} +27 -27
- package/dist/{update-yGBcPbA_.js → update-imNyCIX1.js} +1 -1
- package/dist/{update-runner-BZ1YtRG1.js → update-runner-CSi_sX1a.js} +3 -3
- package/extensions/bluebubbles/node_modules/.bin/skykoi +2 -2
- package/extensions/copilot-proxy/node_modules/.bin/skykoi +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/skykoi +2 -2
- package/extensions/discord/node_modules/.bin/skykoi +2 -2
- package/extensions/feishu/node_modules/.bin/skykoi +2 -2
- package/extensions/google-antigravity-auth/node_modules/.bin/skykoi +2 -2
- package/extensions/google-gemini-cli-auth/node_modules/.bin/skykoi +2 -2
- package/extensions/googlechat/node_modules/.bin/skykoi +2 -2
- package/extensions/imessage/node_modules/.bin/skykoi +2 -2
- package/extensions/line/node_modules/.bin/skykoi +2 -2
- package/extensions/llm-task/node_modules/.bin/skykoi +2 -2
- package/extensions/lobster/node_modules/.bin/skykoi +2 -2
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/matrix/node_modules/.bin/skykoi +2 -2
- package/extensions/mattermost/node_modules/.bin/skykoi +2 -2
- package/extensions/memory-core/node_modules/.bin/skykoi +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/skykoi +2 -2
- package/extensions/minimax-portal-auth/node_modules/.bin/skykoi +2 -2
- package/extensions/msteams/node_modules/.bin/skykoi +2 -2
- package/extensions/nextcloud-talk/node_modules/.bin/skykoi +2 -2
- package/extensions/nostr/node_modules/.bin/skykoi +2 -2
- package/extensions/open-prose/node_modules/.bin/skykoi +2 -2
- package/extensions/signal/node_modules/.bin/skykoi +2 -2
- package/extensions/slack/node_modules/.bin/skykoi +2 -2
- package/extensions/telegram/node_modules/.bin/skykoi +2 -2
- package/extensions/tlon/node_modules/.bin/skykoi +2 -2
- package/extensions/twitch/node_modules/.bin/skykoi +2 -2
- package/extensions/voice-call/node_modules/.bin/skykoi +2 -2
- package/extensions/whatsapp/node_modules/.bin/skykoi +2 -2
- package/extensions/zalo/node_modules/.bin/skykoi +2 -2
- package/extensions/zalouser/node_modules/.bin/skykoi +2 -2
- package/package.json +1 -1
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -21
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -21
- package/extensions/nostr/node_modules/.bin/tsc +0 -21
- package/extensions/nostr/node_modules/.bin/tsserver +0 -21
|
@@ -13,13 +13,13 @@ import { N as VERSION, o as loadConfig } from "./config-C_blrocr.js";
|
|
|
13
13
|
import "./manifest-registry-BM_kgwtA.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
15
15
|
import "./device-identity-zXWmZUVz.js";
|
|
16
|
-
import { l as GatewayClient } from "./net-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { l as GatewayClient } from "./net-Cmh623y0.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-ByTcqcvV.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
19
19
|
import "./tailscale-4hm01eUI.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-BmAsi6j8.js";
|
|
21
21
|
import { t as ensureSKYKOICliOnPath } from "./path-env-B1xMZ4TX.js";
|
|
22
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
22
|
+
import { i as resolveGatewayAuth } from "./auth-DQvUzR68.js";
|
|
23
23
|
import { fileURLToPath } from "node:url";
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
import { Readable, Writable } from "node:stream";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { xt as require_inherits } from "./reply-
|
|
2
|
+
import { xt as require_inherits } from "./reply-DXPSuon-.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import * as tar from "tar";
|
|
@@ -6,17 +6,17 @@ import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
|
6
6
|
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-C_blrocr.js";
|
|
7
7
|
import { a as MANIFEST_KEY } from "./manifest-registry-BM_kgwtA.js";
|
|
8
8
|
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
9
|
-
import { $ as resolveSandboxToolPolicyForKoi, Z as resolveSandboxConfigForKoi, ot as resolveToolProfilePolicy } from "./sandbox-
|
|
9
|
+
import { $ as resolveSandboxToolPolicyForKoi, Z as resolveSandboxConfigForKoi, ot as resolveToolProfilePolicy } from "./sandbox-BCOmiLLk.js";
|
|
10
10
|
import { i as loadWorkspaceSkillEntries } from "./skills-CtnLB14H.js";
|
|
11
|
-
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-DziyNN8b.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
13
|
-
import { l as GatewayClient } from "./net-
|
|
14
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
13
|
+
import { l as GatewayClient } from "./net-Cmh623y0.js";
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-ByTcqcvV.js";
|
|
15
15
|
import { i as readChannelAllowFromStore } from "./pairing-store-BpSDb0uv.js";
|
|
16
|
-
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-
|
|
16
|
+
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-CGTDSyw9.js";
|
|
17
17
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
18
18
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-WnNLktfw.js";
|
|
19
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
19
|
+
import { i as resolveGatewayAuth } from "./auth-DQvUzR68.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import JSON5 from "json5";
|
|
22
22
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as parseForwardedForClientIp, r as isTrustedProxyAddress, s as resolveGatewayClientIp } from "./net-
|
|
1
|
+
import { i as parseForwardedForClientIp, r as isTrustedProxyAddress, s as resolveGatewayClientIp } from "./net-Cmh623y0.js";
|
|
2
2
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-4hm01eUI.js";
|
|
3
3
|
import { timingSafeEqual } from "node:crypto";
|
|
4
4
|
|
package/dist/build-info.json
CHANGED
|
@@ -6,7 +6,7 @@ import { o as loadConfig } from "./config-C_blrocr.js";
|
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
7
7
|
import { r as loadOrCreateDeviceIdentity } from "./device-identity-zXWmZUVz.js";
|
|
8
8
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DEIxPaFW.js";
|
|
9
|
-
import { Bt as normalizeFingerprint, Pt as PROTOCOL_VERSION, a as pickPrimaryLanIPv4, l as GatewayClient } from "./net-
|
|
9
|
+
import { Bt as normalizeFingerprint, Pt as PROTOCOL_VERSION, a as pickPrimaryLanIPv4, l as GatewayClient } from "./net-Cmh623y0.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { promisify } from "node:util";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
49d0aab44081bd10b7aa3c663e71d1f6368525249f578e35ab10fbb5377f661e
|
|
@@ -2,7 +2,7 @@ import { M as CHAT_CHANNEL_ORDER } from "./subsystem-RXphV8Xh.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-Bj0uZSiW.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-XGYtzjOF.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-
|
|
1
|
+
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-1Nerrhel.js";
|
|
2
2
|
import { T as theme, V as getActivePluginRegistry } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
4
4
|
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, d as resolveConfiguredModelRef } from "./model-selection-B2Qu7niX.js";
|
|
5
5
|
import { o as loadConfig } from "./config-C_blrocr.js";
|
|
6
6
|
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
7
|
-
import { H as listChannelDocks } from "./sandbox-
|
|
7
|
+
import { H as listChannelDocks } from "./sandbox-BCOmiLLk.js";
|
|
8
8
|
import { n as formatTokenCount } from "./usage-format-Bodo4xSf.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { Pn as createSlackWebClient, _t as formatUsageReportLines, bn as parseDiscordTarget, gt as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-1Nerrhel.js";
|
|
2
|
+
import { Pn as createSlackWebClient, _t as formatUsageReportLines, bn as parseDiscordTarget, gt as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-DXPSuon-.js";
|
|
3
3
|
import { N as DEFAULT_CHAT_CHANNEL, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, p as danger, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -16,60 +16,60 @@ import "./github-copilot-token-vwbChOko.js";
|
|
|
16
16
|
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-C_blrocr.js";
|
|
17
17
|
import "./manifest-registry-BM_kgwtA.js";
|
|
18
18
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DUZvbUrn.js";
|
|
19
|
-
import "./sandbox-
|
|
20
|
-
import "./image-
|
|
19
|
+
import "./sandbox-BCOmiLLk.js";
|
|
20
|
+
import "./image-B551BV5h.js";
|
|
21
21
|
import "./dist-4p3Dftrr.js";
|
|
22
22
|
import "./lib-D5Ykvbqv.js";
|
|
23
23
|
import "./src-DPo7gLpE.js";
|
|
24
24
|
import "./core-CwxJUNZP.js";
|
|
25
25
|
import "./pi-model-discovery-BBsfBxi6.js";
|
|
26
|
-
import "./chrome-
|
|
26
|
+
import "./chrome-CYjH7HBH.js";
|
|
27
27
|
import "./skills-CtnLB14H.js";
|
|
28
|
-
import "./routes-
|
|
29
|
-
import "./server-context-
|
|
28
|
+
import "./routes-O9a-k9LQ.js";
|
|
29
|
+
import "./server-context-DziyNN8b.js";
|
|
30
30
|
import "./message-channel-CeYCOtod.js";
|
|
31
31
|
import "./logging-DhMPP27D.js";
|
|
32
32
|
import "./accounts-DsQ7CSeY.js";
|
|
33
33
|
import "./paths-tKN7Eof7.js";
|
|
34
34
|
import "./redact-CDPAzwi8.js";
|
|
35
35
|
import "./tool-display-CZxQ9k3d.js";
|
|
36
|
-
import "./deliver-
|
|
37
|
-
import "./dispatcher-
|
|
36
|
+
import "./deliver-CJ2Pjcyz.js";
|
|
37
|
+
import "./dispatcher-jfUrueZo.js";
|
|
38
38
|
import "./dist-DUjL9oGZ.js";
|
|
39
39
|
import "./manager-CdqSmO1V.js";
|
|
40
40
|
import "./sqlite-_-9SFPm5.js";
|
|
41
41
|
import "./warnings-cKNxF3D-.js";
|
|
42
42
|
import "./proxy-from-env-CBU662Ik.js";
|
|
43
|
-
import "./login-qr-
|
|
44
|
-
import { n as formatAge } from "./channel-summary-
|
|
43
|
+
import "./login-qr-ZIqZmEKc.js";
|
|
44
|
+
import { n as formatAge } from "./channel-summary-DjJ3lkCW.js";
|
|
45
45
|
import "./device-identity-zXWmZUVz.js";
|
|
46
|
-
import "./net-
|
|
47
|
-
import { n as callGateway } from "./call-
|
|
46
|
+
import "./net-Cmh623y0.js";
|
|
47
|
+
import { n as callGateway } from "./call-ByTcqcvV.js";
|
|
48
48
|
import "./koi-events-CA5YtglQ.js";
|
|
49
49
|
import "./pairing-store-BpSDb0uv.js";
|
|
50
50
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
51
51
|
import { n as runCommandWithRuntime } from "./cli-utils-C1YHVD4o.js";
|
|
52
52
|
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
53
53
|
import "./node-pairing-BzdbhxdV.js";
|
|
54
|
-
import "./pi-tools.policy-
|
|
54
|
+
import "./pi-tools.policy-CGTDSyw9.js";
|
|
55
55
|
import "./prompt-style-BJmW_JM3.js";
|
|
56
56
|
import "./pairing-labels-lMAKWEYR.js";
|
|
57
57
|
import "./satisfies-Bk0BrI13.js";
|
|
58
58
|
import "./session-cost-usage-CbribqqH.js";
|
|
59
|
-
import "./control-service-
|
|
59
|
+
import "./control-service-DnzgVIyk.js";
|
|
60
60
|
import { n as resolveMessageChannelSelection } from "./channel-selection-B5tUOB8t.js";
|
|
61
61
|
import "./event-log-DtrKraIx.js";
|
|
62
62
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
63
63
|
import "./note-CbRknFZ7.js";
|
|
64
64
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
65
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
65
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-BbZ4mKyR.js";
|
|
66
66
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
67
|
-
import "./archive-
|
|
67
|
+
import "./archive-CJE6qfUF.js";
|
|
68
68
|
import "./skill-scanner-WnNLktfw.js";
|
|
69
|
-
import "./installs-
|
|
69
|
+
import "./installs-C1Ft8dtv.js";
|
|
70
70
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-GKs-LbrV.js";
|
|
71
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
72
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
71
|
+
import { n as hasExplicitOptions } from "./plugin-registry-XGYtzjOF.js";
|
|
72
|
+
import { t as formatCliChannelOptions } from "./channel-options-DoSTLMZp.js";
|
|
73
73
|
import { t as buildChannelAccountSnapshot } from "./status-BA0KgRIG.js";
|
|
74
74
|
import { t as parseLogLine } from "./parse-log-line-Btq1hVHj.js";
|
|
75
75
|
import fs from "node:fs/promises";
|
|
@@ -8,7 +8,7 @@ import path from "node:path";
|
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
|
-
import WebSocket
|
|
11
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
13
13
|
import { createServer } from "node:http";
|
|
14
14
|
import net from "node:net";
|
|
@@ -129,7 +129,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
129
129
|
let nextExtensionId = 1;
|
|
130
130
|
const sendToExtension = async (payload) => {
|
|
131
131
|
const ws = extensionWs;
|
|
132
|
-
if (!ws || ws.readyState !== WebSocket
|
|
132
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
133
133
|
ws.send(JSON.stringify(payload));
|
|
134
134
|
return await new Promise((resolve, reject) => {
|
|
135
135
|
const timer = setTimeout(() => {
|
|
@@ -146,12 +146,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
146
146
|
const broadcastToCdpClients = (evt) => {
|
|
147
147
|
const msg = JSON.stringify(evt);
|
|
148
148
|
for (const ws of cdpClients) {
|
|
149
|
-
if (ws.readyState !== WebSocket
|
|
149
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
150
150
|
ws.send(msg);
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
const sendResponseToCdp = (ws, res) => {
|
|
154
|
-
if (ws.readyState !== WebSocket
|
|
154
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
155
155
|
ws.send(JSON.stringify(res));
|
|
156
156
|
};
|
|
157
157
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -371,7 +371,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
371
371
|
wssExtension.on("connection", (ws) => {
|
|
372
372
|
extensionWs = ws;
|
|
373
373
|
const ping = setInterval(() => {
|
|
374
|
-
if (ws.readyState !== WebSocket
|
|
374
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
375
375
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
376
376
|
}, EXTENSION_PING_INTERVAL_MS);
|
|
377
377
|
ws.on("message", (data) => {
|
|
@@ -668,7 +668,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
668
668
|
}
|
|
669
669
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
670
670
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
671
|
-
const ws = new WebSocket
|
|
671
|
+
const ws = new WebSocket(wsUrl, {
|
|
672
672
|
handshakeTimeout: 5e3,
|
|
673
673
|
...Object.keys(headers).length ? { headers } : {}
|
|
674
674
|
});
|
|
@@ -1830,7 +1830,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1830
1830
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1831
1831
|
return await new Promise((resolve) => {
|
|
1832
1832
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1833
|
-
const ws = new WebSocket
|
|
1833
|
+
const ws = new WebSocket(wsUrl, {
|
|
1834
1834
|
handshakeTimeout: timeoutMs,
|
|
1835
1835
|
...Object.keys(headers).length ? { headers } : {}
|
|
1836
1836
|
});
|
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-BGL_hfq9.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { ht as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-1Nerrhel.js";
|
|
2
|
+
import { ht as loadSKYKOIPlugins } from "./reply-DXPSuon-.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -14,46 +14,46 @@ import "./github-copilot-token-vwbChOko.js";
|
|
|
14
14
|
import { o as loadConfig } from "./config-C_blrocr.js";
|
|
15
15
|
import "./manifest-registry-BM_kgwtA.js";
|
|
16
16
|
import "./plugins-DUZvbUrn.js";
|
|
17
|
-
import "./sandbox-
|
|
18
|
-
import "./image-
|
|
17
|
+
import "./sandbox-BCOmiLLk.js";
|
|
18
|
+
import "./image-B551BV5h.js";
|
|
19
19
|
import "./dist-4p3Dftrr.js";
|
|
20
20
|
import "./lib-D5Ykvbqv.js";
|
|
21
21
|
import "./src-DPo7gLpE.js";
|
|
22
22
|
import "./core-CwxJUNZP.js";
|
|
23
23
|
import "./pi-model-discovery-BBsfBxi6.js";
|
|
24
|
-
import "./chrome-
|
|
24
|
+
import "./chrome-CYjH7HBH.js";
|
|
25
25
|
import "./skills-CtnLB14H.js";
|
|
26
|
-
import "./routes-
|
|
27
|
-
import "./server-context-
|
|
26
|
+
import "./routes-O9a-k9LQ.js";
|
|
27
|
+
import "./server-context-DziyNN8b.js";
|
|
28
28
|
import "./message-channel-CeYCOtod.js";
|
|
29
29
|
import "./logging-DhMPP27D.js";
|
|
30
30
|
import "./accounts-DsQ7CSeY.js";
|
|
31
31
|
import "./paths-tKN7Eof7.js";
|
|
32
32
|
import "./redact-CDPAzwi8.js";
|
|
33
33
|
import "./tool-display-CZxQ9k3d.js";
|
|
34
|
-
import "./deliver-
|
|
35
|
-
import "./dispatcher-
|
|
34
|
+
import "./deliver-CJ2Pjcyz.js";
|
|
35
|
+
import "./dispatcher-jfUrueZo.js";
|
|
36
36
|
import "./dist-DUjL9oGZ.js";
|
|
37
37
|
import "./manager-CdqSmO1V.js";
|
|
38
38
|
import "./sqlite-_-9SFPm5.js";
|
|
39
39
|
import "./warnings-cKNxF3D-.js";
|
|
40
40
|
import "./proxy-from-env-CBU662Ik.js";
|
|
41
|
-
import "./login-qr-
|
|
42
|
-
import "./channel-summary-
|
|
41
|
+
import "./login-qr-ZIqZmEKc.js";
|
|
42
|
+
import "./channel-summary-DjJ3lkCW.js";
|
|
43
43
|
import "./device-identity-zXWmZUVz.js";
|
|
44
|
-
import "./net-
|
|
45
|
-
import "./call-
|
|
44
|
+
import "./net-Cmh623y0.js";
|
|
45
|
+
import "./call-ByTcqcvV.js";
|
|
46
46
|
import "./koi-events-CA5YtglQ.js";
|
|
47
47
|
import "./pairing-store-BpSDb0uv.js";
|
|
48
48
|
import "./links-D5FJjx5x.js";
|
|
49
49
|
import "./progress-CIrle3FT.js";
|
|
50
50
|
import "./node-pairing-BzdbhxdV.js";
|
|
51
|
-
import "./pi-tools.policy-
|
|
51
|
+
import "./pi-tools.policy-CGTDSyw9.js";
|
|
52
52
|
import "./prompt-style-BJmW_JM3.js";
|
|
53
53
|
import "./pairing-labels-lMAKWEYR.js";
|
|
54
54
|
import "./satisfies-Bk0BrI13.js";
|
|
55
55
|
import "./session-cost-usage-CbribqqH.js";
|
|
56
|
-
import "./control-service-
|
|
56
|
+
import "./control-service-DnzgVIyk.js";
|
|
57
57
|
import "./channel-selection-B5tUOB8t.js";
|
|
58
58
|
import "./event-log-DtrKraIx.js";
|
|
59
59
|
|
|
@@ -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-CMi_LCDA.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as handleReset, Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Et as detectBrowserOpenSupport, It as randomToken, Lt as resolveControlUiLinks, M as runMessageAction, Nt as openUrl, Ot as formatControlUiSshHint, V as CHANNEL_MESSAGE_ACTION_NAMES, dt as CHANNEL_TARGET_DESCRIPTION, gr as lookupContextTokens, in as runMemoryStatus, jt as moveToTrash, rn as registerMemoryCli, ut as CHANNEL_TARGETS_DESCRIPTION, wt as applyWizardMetadata, z as formatTargetDisplay } from "./reply-
|
|
1
|
+
import { At as handleReset, Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Et as detectBrowserOpenSupport, It as randomToken, Lt as resolveControlUiLinks, M as runMessageAction, Nt as openUrl, Ot as formatControlUiSshHint, V as CHANNEL_MESSAGE_ACTION_NAMES, dt as CHANNEL_TARGET_DESCRIPTION, gr as lookupContextTokens, in as runMemoryStatus, jt as moveToTrash, rn as registerMemoryCli, ut as CHANNEL_TARGETS_DESCRIPTION, wt as applyWizardMetadata, z as formatTargetDisplay } from "./reply-DXPSuon-.js";
|
|
2
2
|
import { B as normalizeChatChannelId, C as colorize, I as getChatChannelMeta, N as DEFAULT_CHAT_CHANNEL, T as theme, c as defaultRuntime, l as restoreTerminalState, m as info, p as danger, w as isRich, y as setVerbose } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { g as resolveStateDir, i as isNixMode, m as resolveOAuthDir, o as resolveConfigPath, r as STATE_DIR, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { l as normalizeKoiId, n as DEFAULT_KOI_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -10,38 +10,38 @@ import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-Cf0nzYal.js";
|
|
11
11
|
import { _ as parseDurationMs, a as createConfigIO, c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-C_blrocr.js";
|
|
12
12
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DUZvbUrn.js";
|
|
13
|
-
import { d as loadSessionStore } from "./sandbox-
|
|
14
|
-
import { n as movePathToTrash } from "./server-context-
|
|
13
|
+
import { d as loadSessionStore } from "./sandbox-BCOmiLLk.js";
|
|
14
|
+
import { n as movePathToTrash } from "./server-context-DziyNN8b.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
16
16
|
import { a as resolveSessionTranscriptsDirForKoi, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-tKN7Eof7.js";
|
|
17
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
17
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-ByTcqcvV.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-C1YHVD4o.js";
|
|
20
20
|
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BJmW_JM3.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-C3KXLAIC.js";
|
|
23
23
|
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DkLy62aK.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BusiCyt_.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-DxnxCHKt.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
28
|
-
import { a as buildKoiSummaries, c as loadKoiIdentity, f as parseIdentityMarkdown, i as applyKoiConfig, l as pruneKoiConfig, n as statusCommand, o as findKoiEntryIndex, s as listKoiEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-
|
|
29
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
30
|
-
import { $ as setOpenrouterApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVercelAiGatewayConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, N as applyVeniceConfig, Q as setOpencodeZenApiKey, V as applyZaiConfig, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, at as setXiaomiApiKey, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, tt as setSyntheticApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-
|
|
31
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
32
|
-
import { l as healthCommand } from "./health-format-
|
|
28
|
+
import { a as buildKoiSummaries, c as loadKoiIdentity, f as parseIdentityMarkdown, i as applyKoiConfig, l as pruneKoiConfig, n as statusCommand, o as findKoiEntryIndex, s as listKoiEntries, t as runOnboardingWizard, u as identityHasValues } from "./onboarding-QjjRi54s.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-qsve2vGf.js";
|
|
30
|
+
import { $ as setOpenrouterApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyVercelAiGatewayConfig, J as setGeminiApiKey, K as setAnthropicApiKey, L as applyXaiConfig, N as applyVeniceConfig, Q as setOpencodeZenApiKey, V as applyZaiConfig, X as setMinimaxApiKey, Y as setKimiCodingApiKey, Z as setMoonshotApiKey, at as setXiaomiApiKey, et as setQianfanApiKey, f as applyOpencodeZenConfig, ft as buildTokenProfileId, g as applyMinimaxConfig, it as setXaiApiKey, j as applySyntheticConfig, k as applyQianfanConfig, m as applyMinimaxApiConfig, nt as setVeniceApiKey, ot as setZaiApiKey, pt as validateAnthropicSetupToken, q as setCloudflareAiGatewayConfig, rt as setVercelAiGatewayApiKey, tt as setSyntheticApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyXiaomiConfig } from "./github-copilot-auth-D4IO7PUT.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels-BbZ4mKyR.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-DySpZd8K.js";
|
|
33
33
|
import { t as renderTable } from "./table-CgHdpI6b.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BuS1yu_z.js";
|
|
36
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
37
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
36
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-CMi_LCDA.js";
|
|
37
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-GLatQ1eS.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-Cbr54gLP.js";
|
|
39
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
40
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
39
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-D-MfbiyL.js";
|
|
40
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-XGYtzjOF.js";
|
|
41
41
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CgAOTnxe.js";
|
|
42
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
42
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-DlMIEQWa.js";
|
|
43
43
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BLQwmm6k.js";
|
|
44
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
44
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-D5jYt1j4.js";
|
|
45
45
|
import { fileURLToPath } from "node:url";
|
|
46
46
|
import fs from "node:fs";
|
|
47
47
|
import path from "node:path";
|
|
@@ -2792,7 +2792,7 @@ async function loadValidConfig() {
|
|
|
2792
2792
|
}
|
|
2793
2793
|
function registerConfigCli(program) {
|
|
2794
2794
|
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.skykoi.com/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
2795
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2795
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-DlMIEQWa.js").then((n) => n.t);
|
|
2796
2796
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2797
2797
|
if (sections.length === 0) {
|
|
2798
2798
|
await configureCommand(defaultRuntime);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Ft as probeGatewayReachable, It as randomToken, Lt as resolveControlUiLinks, Mt as normalizeGatewayTokenInput, Pt as printWizardHeader, kt as guardCancel, wt as applyWizardMetadata, zt as summarizeExistingConfig } from "./reply-
|
|
2
|
+
import { Bt as waitForGatewayReachable, Ct as DEFAULT_WORKSPACE, Dt as ensureWorkspaceAndSessions, Ft as probeGatewayReachable, It as randomToken, Lt as resolveControlUiLinks, Mt as normalizeGatewayTokenInput, Pt as printWizardHeader, kt as guardCancel, wt as applyWizardMetadata, zt as summarizeExistingConfig } from "./reply-DXPSuon-.js";
|
|
3
3
|
import { c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { h as resolveUserPath, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
@@ -15,9 +15,9 @@ import { n as logConfigUpdated } from "./logging-BusiCyt_.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-CbRknFZ7.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-DxnxCHKt.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
18
|
-
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-
|
|
19
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
20
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-
|
|
18
|
+
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, d as applyAuthChoice, h as promptAuthChoiceGrouped, i as applyModelAllowlist, l as resolvePreferredProviderForAuthChoice, o as applyPrimaryModel, r as promptRemoteGatewayConfig, s as promptDefaultModel, t as setupSkills } from "./onboard-skills-qsve2vGf.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-BbZ4mKyR.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-DySpZd8K.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BLQwmm6k.js";
|
|
23
23
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { o as loadConfig } from "./config-C_blrocr.js";
|
|
4
|
-
import { S as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, t as createBrowserRouteContext } from "./server-context-
|
|
4
|
+
import { S as ensureChromeExtensionRelayServer } from "./chrome-CYjH7HBH.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, t as createBrowserRouteContext } from "./server-context-DziyNN8b.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/control-service.ts
|
|
8
8
|
var control_service_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -53,7 +53,7 @@ async function stopBrowserControlService() {
|
|
|
53
53
|
}
|
|
54
54
|
state = null;
|
|
55
55
|
try {
|
|
56
|
-
await (await import("./pw-ai-
|
|
56
|
+
await (await import("./pw-ai-CXf_puwX.js")).closePlaywrightBrowserConnection();
|
|
57
57
|
} catch {}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -17,12 +17,12 @@ import "./message-channel-CeYCOtod.js";
|
|
|
17
17
|
import "./logging-DhMPP27D.js";
|
|
18
18
|
import "./accounts-DsQ7CSeY.js";
|
|
19
19
|
import "./device-identity-zXWmZUVz.js";
|
|
20
|
-
import "./net-
|
|
21
|
-
import "./call-
|
|
20
|
+
import "./net-Cmh623y0.js";
|
|
21
|
+
import "./call-ByTcqcvV.js";
|
|
22
22
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
23
23
|
import "./progress-CIrle3FT.js";
|
|
24
24
|
import { t as parseAbsoluteTimeMs } from "./parse-DbwfoyR_.js";
|
|
25
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
25
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-GLatQ1eS.js";
|
|
26
26
|
import { n as parsePositiveIntOrUndefined } from "./helpers-CgAOTnxe.js";
|
|
27
27
|
|
|
28
28
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { Lt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { Lt as resolveControlUiLinks } from "./reply-DXPSuon-.js";
|
|
3
3
|
import { C as colorize, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, w as isRich } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
5
5
|
import { y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
7
7
|
import { a as createConfigIO, o as loadConfig } from "./config-C_blrocr.js";
|
|
8
|
-
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-
|
|
8
|
+
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-CYjH7HBH.js";
|
|
9
9
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
10
|
-
import { n as isWSL, r as isWSLEnv } from "./dispatcher-
|
|
10
|
+
import { n as isWSL, r as isWSLEnv } from "./dispatcher-jfUrueZo.js";
|
|
11
11
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DEIxPaFW.js";
|
|
12
|
-
import { o as resolveGatewayBindHost } from "./net-
|
|
13
|
-
import { n as callGateway } from "./call-
|
|
12
|
+
import { o as resolveGatewayBindHost } from "./net-Cmh623y0.js";
|
|
13
|
+
import { n as callGateway } from "./call-ByTcqcvV.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
15
15
|
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-QCWVHQSI.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-C3KXLAIC.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DkLy62aK.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BuS1yu_z.js";
|
|
21
21
|
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine } from "./service-audit-CN0kFCuS.js";
|
|
22
22
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-CLa1lyL0.js";
|
|
23
|
-
import { a as parsePortFromArgs, c as renderRuntimeHints, d as createNullWriter, f as emitDaemonActionJson, i as parsePort, l as safeDaemonEnv, n as formatRuntimeStatus, o as pickProbeHostForBind, r as normalizeListenerAddress, s as renderGatewayServiceStartHints, t as filterDaemonEnv, u as buildDaemonServiceSnapshot } from "./shared-
|
|
23
|
+
import { a as parsePortFromArgs, c as renderRuntimeHints, d as createNullWriter, f as emitDaemonActionJson, i as parsePort, l as safeDaemonEnv, n as formatRuntimeStatus, o as pickProbeHostForBind, r as normalizeListenerAddress, s as renderGatewayServiceStartHints, t as filterDaemonEnv, u as buildDaemonServiceSnapshot } from "./shared-DCuTTPOy.js";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/daemon-cli/install.ts
|
|
26
26
|
async function runDaemonInstall(opts) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
2
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-1Nerrhel.js";
|
|
3
3
|
import { V as getActivePluginRegistry, _ as logVerbose, b as shouldLogVerbose } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import { c as normalizeAccountId$1 } from "./session-key-DvA8Pdt6.js";
|
|
5
5
|
import { h as resolveUserPath } from "./utils-rBzA-VDv.js";
|
|
6
6
|
import { o as loadConfig } from "./config-C_blrocr.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DUZvbUrn.js";
|
|
8
|
-
import { V as getChannelDock, l as appendAssistantMessageToSessionTranscript, q as resolveSignalAccount, u as resolveMirroredTranscriptText } from "./sandbox-
|
|
9
|
-
import { C as resolvePinnedHostnameWithPolicy, S as resolvePinnedHostname, _ as maxBytesForKind, a as optimizeImageToPng, b as closeDispatcher, c as saveMediaBuffer, i as hasAlphaChannel, l as detectMime, n as convertHeicToJpeg, o as resizeToJpeg, u as extensionForMime, v as mediaKindFromMime, x as createPinnedDispatcher } from "./routes-
|
|
8
|
+
import { V as getChannelDock, l as appendAssistantMessageToSessionTranscript, q as resolveSignalAccount, u as resolveMirroredTranscriptText } from "./sandbox-BCOmiLLk.js";
|
|
9
|
+
import { C as resolvePinnedHostnameWithPolicy, S as resolvePinnedHostname, _ as maxBytesForKind, a as optimizeImageToPng, b as closeDispatcher, c as saveMediaBuffer, i as hasAlphaChannel, l as detectMime, n as convertHeicToJpeg, o as resizeToJpeg, u as extensionForMime, v as mediaKindFromMime, x as createPinnedDispatcher } from "./routes-O9a-k9LQ.js";
|
|
10
10
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-CeYCOtod.js";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
12
12
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Nn as sendMessageSlack, St as sendMessageIMessage, _n as sendMessageTelegram, jn as sendMessageWhatsApp, vn as sendMessageDiscord } from "./reply-
|
|
2
|
-
import { b as sendMessageSignal } from "./deliver-
|
|
1
|
+
import { Nn as sendMessageSlack, St as sendMessageIMessage, _n as sendMessageTelegram, jn as sendMessageWhatsApp, vn as sendMessageDiscord } from "./reply-DXPSuon-.js";
|
|
2
|
+
import { b as sendMessageSignal } from "./deliver-CJ2Pjcyz.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
5
5
|
function createDefaultDeps() {
|
|
@@ -13,8 +13,8 @@ import "./config-C_blrocr.js";
|
|
|
13
13
|
import "./manifest-registry-BM_kgwtA.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
15
15
|
import "./device-identity-zXWmZUVz.js";
|
|
16
|
-
import "./net-
|
|
17
|
-
import { n as callGateway } from "./call-
|
|
16
|
+
import "./net-Cmh623y0.js";
|
|
17
|
+
import { n as callGateway } from "./call-ByTcqcvV.js";
|
|
18
18
|
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
19
19
|
import { t as renderTable } from "./table-CgHdpI6b.js";
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as randomToken, Pt as printWizardHeader, ht as loadSKYKOIPlugins, kt as guardCancel, wr as loadModelCatalog, wt as applyWizardMetadata } from "./reply-
|
|
1
|
+
import { It as randomToken, Pt as printWizardHeader, ht as loadSKYKOIPlugins, kt as guardCancel, wr as loadModelCatalog, wt as applyWizardMetadata } from "./reply-DXPSuon-.js";
|
|
2
2
|
import { O as getResolvedLoggerSettings, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { a as buildKoiMainSessionKey, l as normalizeKoiId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
@@ -11,12 +11,12 @@ import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
|
11
11
|
import { t as isTruthyEnvValue } from "./env-Bj0uZSiW.js";
|
|
12
12
|
import { c as readConfigFileSnapshot, f as SKYKOISchema, n as migrateLegacyConfig, u as writeConfigFile } from "./config-C_blrocr.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
14
|
-
import { L as resolveMainSessionKey, P as canonicalizeMainSessionAlias, Q as resolveSandboxScope, ct as DEFAULT_SANDBOX_BROWSER_IMAGE, d as loadSessionStore, lt as DEFAULT_SANDBOX_COMMON_IMAGE, m as saveSessionStore, ut as DEFAULT_SANDBOX_IMAGE } from "./sandbox-
|
|
15
|
-
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-
|
|
14
|
+
import { L as resolveMainSessionKey, P as canonicalizeMainSessionAlias, Q as resolveSandboxScope, ct as DEFAULT_SANDBOX_BROWSER_IMAGE, d as loadSessionStore, lt as DEFAULT_SANDBOX_COMMON_IMAGE, m as saveSessionStore, ut as DEFAULT_SANDBOX_IMAGE } from "./sandbox-BCOmiLLk.js";
|
|
15
|
+
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-CYjH7HBH.js";
|
|
16
16
|
import { a as resolveSessionTranscriptsDirForKoi, n as resolveSessionFilePath, o as resolveStorePath } from "./paths-tKN7Eof7.js";
|
|
17
|
-
import { n as isWSL, r as isWSLEnv } from "./dispatcher-
|
|
18
|
-
import { n as isLoopbackHost, o as resolveGatewayBindHost } from "./net-
|
|
19
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
+
import { n as isWSL, r as isWSLEnv } from "./dispatcher-jfUrueZo.js";
|
|
18
|
+
import { n as isLoopbackHost, o as resolveGatewayBindHost } from "./net-Cmh623y0.js";
|
|
19
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-ByTcqcvV.js";
|
|
20
20
|
import { i as readChannelAllowFromStore } from "./pairing-store-BpSDb0uv.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BJmW_JM3.js";
|
|
22
22
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-QCWVHQSI.js";
|
|
@@ -25,9 +25,9 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-BusiCyt_.js";
|
|
26
26
|
import { t as note$1 } from "./note-CbRknFZ7.js";
|
|
27
27
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
28
|
-
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
29
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
30
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
28
|
+
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-DySpZd8K.js";
|
|
29
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-CSi_sX1a.js";
|
|
30
|
+
import { i as resolveGatewayAuth } from "./auth-DQvUzR68.js";
|
|
31
31
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-PwtGQTh5.js";
|
|
32
32
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-CTrRN1-T.js";
|
|
33
33
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BuS1yu_z.js";
|