skykoi 2026.3.284 → 2026.3.285
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-bcBy4ac6.js → acp-cli-CETv7I_f.js} +3 -3
- package/dist/{archive-By4vmvuB.js → archive-5cRVV4sC.js} +1 -1
- package/dist/{audit-BiMEH7ZM.js → audit-BUqoJnLu.js} +5 -5
- package/dist/{auth-BzM5UpTJ.js → auth-eBY6uW-V.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/{call-B9vSbpQS.js → call-BOnLXjH8.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DsJg_i2N.js → channel-options-Cibi9Cjs.js} +1 -1
- package/dist/{channel-summary-mOMnm6ai.js → channel-summary-D7hC_rxo.js} +1 -1
- package/dist/{channels-cli-Cqr-qeM8.js → channels-cli-C-8t3XNZ.js} +19 -19
- package/dist/{chrome-CJOnmcB3.js → chrome-BpAQbC_z.js} +7 -7
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CRSY9Bwu.js → cli-K4v-gnrJ.js} +14 -14
- package/dist/{completion-cli-xtJ9--LZ.js → completion-cli-JWUR-TON.js} +1 -1
- package/dist/{config-guard-B763oeWJ.js → config-guard-C0fEd7kt.js} +16 -16
- package/dist/{configure-hfHPUZeG.js → configure-DSd3CEGx.js} +4 -4
- package/dist/{control-service-Ck37ECNh.js → control-service-BQqPttll.js} +3 -3
- package/dist/{cron-cli-BbMPRNSb.js → cron-cli-D088Pe9t.js} +3 -3
- package/dist/{daemon-cli-D0lacgCV.js → daemon-cli-BUyWPHLx.js} +7 -7
- package/dist/{deliver-CwTvWZN-.js → deliver-DNyVUZwj.js} +2 -2
- package/dist/{deps-CqWZ2axX.js → deps-BLPsCDdi.js} +2 -2
- package/dist/{devices-cli-BkOzUQj2.js → devices-cli-Bz2ZhFI8.js} +2 -2
- package/dist/{dispatcher-CYKbXFNv.js → dispatcher-BhqBv69q.js} +1 -1
- package/dist/{doctor-Dd2h7DJ0.js → doctor-bna_zUZe.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-OL-KbnvO.js → exec-approvals-cli-CuiNC0cB.js} +4 -4
- package/dist/extension-api.js +14 -14
- package/dist/{gateway-cli-BFurWifL.js → gateway-cli-DGPwc9Hp.js} +36 -36
- package/dist/{gateway-rpc-BTSSK45T.js → gateway-rpc-jygw_UCQ.js} +1 -1
- package/dist/{github-copilot-auth-9_idV9AC.js → github-copilot-auth-Do9k68ON.js} +2 -2
- package/dist/{health-format-JFH9juVR.js → health-format-CFfWUv9L.js} +4 -4
- package/dist/{hooks-cli-C_rtoQLg.js → hooks-cli-DrlPTMjB.js} +16 -16
- package/dist/{image-DA_otbY8.js → image-DCeJfM3w.js} +1 -1
- package/dist/index.js +37 -37
- package/dist/{installs-DmCLxZKm.js → installs-CV7Ezdd9.js} +1 -1
- package/dist/{koi-DsQgidtg.js → koi-C7OY4uhn.js} +4 -4
- package/dist/{login-qr-DchfHVqL.js → login-qr-DYY1-NkT.js} +6 -6
- package/dist/{logs-cli-CuoXZlRz.js → logs-cli-seSac8BY.js} +3 -3
- package/dist/{models-cli-B9x5kGdw.js → models-cli-BU7u1ghH.js} +15 -15
- package/dist/{net-DG4ItObd.js → net-CVNcx3SF.js} +3 -3
- package/dist/{node-cli-oDrRfF94.js → node-cli-Ck8tgHsj.js} +8 -8
- package/dist/{nodes-cli-6iovpZzv.js → nodes-cli-CHblzQfv.js} +3 -3
- package/dist/{onboard-channels-CiQk1XBz.js → onboard-channels-B6lIIKMx.js} +2 -2
- package/dist/{onboard-skills-CdVhA3Jf.js → onboard-skills-CHMVOCYG.js} +4 -4
- package/dist/{onboarding-v4bJwlyA.js → onboarding-B2vQrM36.js} +11 -11
- package/dist/{pi-embedded-helpers-rPCtglex.js → pi-embedded-helpers-CHZ01i8_.js} +1 -1
- package/dist/{plugin-registry-BoL3-P3e.js → plugin-registry-9gAoQci5.js} +1 -1
- package/dist/{plugins-cli-C2JkKygZ.js → plugins-cli-CfV0s6Qu.js} +18 -18
- package/dist/{ports-D-ffYdXl.js → ports-DhegoPmO.js} +1 -1
- package/dist/{program-CWZssWMi.js → program-C95RRMCY.js} +5 -5
- package/dist/{pw-ai-CUTDC_6S.js → pw-ai-DtcsOIQi.js} +1 -1
- package/dist/{register.subclis-B0qy-_lu.js → register.subclis-DShnCqge.js} +21 -21
- package/dist/{reply-ueUO3r8K.js → reply-OoXK_63N.js} +16 -16
- package/dist/{routes-D199Dgks.js → routes-Bp6bfvXH.js} +2 -2
- package/dist/{rpc-BW54TVfi.js → rpc-DOCyd9E-.js} +1 -1
- package/dist/{run-main-C_u9ekgC.js → run-main-CHgN9841.js} +37 -37
- package/dist/{runner-GzMo0Y8X.js → runner-CMCzyhgS.js} +4 -4
- package/dist/{sandbox-CZngNnbH.js → sandbox-B87bwa3Y.js} +3 -3
- package/dist/{sandbox-cli-DxvmuopJ.js → sandbox-cli-BnSuVA19.js} +4 -4
- package/dist/{security-cli-DmHuch4V.js → security-cli-BDGTvtT0.js} +8 -8
- package/dist/{server-context-By4m-ZR-.js → server-context-CHFbBUqe.js} +4 -4
- package/dist/{server-node-events-CGS8587m.js → server-node-events-c5NAwsiC.js} +16 -16
- package/dist/{shared-ih2ZCRlQ.js → shared-CPt843j5.js} +1 -1
- package/dist/{status-DMM6UIBS.js → status-CPPe1oJo.js} +1 -1
- package/dist/{system-cli-B4fhfIWK.js → system-cli-D06DBb68.js} +3 -3
- package/dist/{tui-DNMypIZk.js → tui-BiAwEE95.js} +4 -4
- package/dist/{tui-cli-DSb7FUJC.js → tui-cli-BJ60w7gc.js} +9 -9
- package/dist/{update-cli-BZLkc5Lb.js → update-cli-D5qJYbhS.js} +26 -26
- package/dist/{update-Ch4vNoJB.js → update-eCjRmjJP.js} +1 -1
- package/dist/{update-runner-CXgtyrBp.js → update-runner-BhU34LxX.js} +3 -3
- package/package.json +1 -1
|
@@ -13,13 +13,13 @@ import { N as VERSION, o as loadConfig } from "./config-D9d0NmBK.js";
|
|
|
13
13
|
import "./manifest-registry-BfJkwq3e.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DFwjMtH0.js";
|
|
15
15
|
import "./device-identity-D215B0gc.js";
|
|
16
|
-
import { l as GatewayClient } from "./net-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { l as GatewayClient } from "./net-CVNcx3SF.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-BOnLXjH8.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
19
19
|
import "./tailscale-CsF9n21t.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-C-HPYgby.js";
|
|
21
21
|
import { t as ensureSKYKOICliOnPath } from "./path-env-BvfjafwG.js";
|
|
22
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
22
|
+
import { i as resolveGatewayAuth } from "./auth-eBY6uW-V.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 { Ct as require_inherits } from "./reply-
|
|
2
|
+
import { Ct as require_inherits } from "./reply-OoXK_63N.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import * as tar from "tar";
|
|
@@ -6,18 +6,18 @@ import { t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
|
6
6
|
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-D9d0NmBK.js";
|
|
7
7
|
import { a as MANIFEST_KEY } from "./manifest-registry-BfJkwq3e.js";
|
|
8
8
|
import { n as listChannelPlugins } from "./plugins-D6P_BD0C.js";
|
|
9
|
-
import { d as resolveSandboxToolPolicyForKoi, l as resolveSandboxConfigForKoi } from "./sandbox-
|
|
9
|
+
import { d as resolveSandboxToolPolicyForKoi, l as resolveSandboxConfigForKoi } from "./sandbox-B87bwa3Y.js";
|
|
10
10
|
import { s as resolveToolProfilePolicy } from "./tool-policy-DFU7NfzA.js";
|
|
11
11
|
import { i as loadWorkspaceSkillEntries } from "./skills-yG3KCZvy.js";
|
|
12
|
-
import { i as resolveBrowserConfig, o as resolveProfile } from "./server-context-
|
|
12
|
+
import { i as resolveBrowserConfig, o as resolveProfile } from "./server-context-CHFbBUqe.js";
|
|
13
13
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DFwjMtH0.js";
|
|
14
|
-
import { l as GatewayClient } from "./net-
|
|
15
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
14
|
+
import { l as GatewayClient } from "./net-CVNcx3SF.js";
|
|
15
|
+
import { t as buildGatewayConnectionDetails } from "./call-BOnLXjH8.js";
|
|
16
16
|
import { i as readChannelAllowFromStore } from "./pairing-store-DttWRVFE.js";
|
|
17
17
|
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-Bn6lwN7-.js";
|
|
18
18
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
19
19
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-XSqJHIlH.js";
|
|
20
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
20
|
+
import { i as resolveGatewayAuth } from "./auth-eBY6uW-V.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
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-CVNcx3SF.js";
|
|
2
2
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-CsF9n21t.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-D9d0NmBK.js";
|
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DFwjMtH0.js";
|
|
7
7
|
import { r as loadOrCreateDeviceIdentity } from "./device-identity-D215B0gc.js";
|
|
8
8
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CUHhVH39.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-CVNcx3SF.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
|
+
d69598645783816a71d96877e84c50f58516898323c9dced3c3ceb06e57d9ecb
|
|
@@ -2,7 +2,7 @@ import { M as CHAT_CHANNEL_ORDER } from "./subsystem-RXphV8Xh.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BA3nu3t6.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-D6P_BD0C.js";
|
|
4
4
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-DjrB_CSV.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-9gAoQci5.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
1
|
+
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-CHZ01i8_.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-pqtAXA2h.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { Cn as fetchChannelPermissionsDiscord, In as createSlackWebClient, Sn as parseDiscordTarget, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-CHZ01i8_.js";
|
|
2
|
+
import { Cn as fetchChannelPermissionsDiscord, In as createSlackWebClient, Sn as parseDiscordTarget, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-OoXK_63N.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";
|
|
@@ -17,17 +17,17 @@ import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } fr
|
|
|
17
17
|
import "./manifest-registry-BfJkwq3e.js";
|
|
18
18
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D6P_BD0C.js";
|
|
19
19
|
import "./sessions-CwmAQy9Q.js";
|
|
20
|
-
import "./image-
|
|
20
|
+
import "./image-DCeJfM3w.js";
|
|
21
21
|
import "./dist-Dawka28k.js";
|
|
22
22
|
import "./lib-B-iAYD_i.js";
|
|
23
23
|
import "./src-D8AlCNvU.js";
|
|
24
24
|
import "./core-zaSuwqYw.js";
|
|
25
25
|
import "./pi-model-discovery-CxJTEXA8.js";
|
|
26
|
-
import "./sandbox-
|
|
27
|
-
import "./chrome-
|
|
26
|
+
import "./sandbox-B87bwa3Y.js";
|
|
27
|
+
import "./chrome-BpAQbC_z.js";
|
|
28
28
|
import "./skills-yG3KCZvy.js";
|
|
29
|
-
import "./routes-
|
|
30
|
-
import "./server-context-
|
|
29
|
+
import "./routes-Bp6bfvXH.js";
|
|
30
|
+
import "./server-context-CHFbBUqe.js";
|
|
31
31
|
import "./image-ops-D9xaNVCD.js";
|
|
32
32
|
import "./message-channel-DFwjMtH0.js";
|
|
33
33
|
import "./logging-w5jq5901.js";
|
|
@@ -36,19 +36,19 @@ import "./paths-D_A4SLYG.js";
|
|
|
36
36
|
import "./tool-images-BPzjKQuD.js";
|
|
37
37
|
import "./redact-CjQe_7H_.js";
|
|
38
38
|
import "./tool-display-BETeOP8O.js";
|
|
39
|
-
import "./deliver-
|
|
40
|
-
import "./dispatcher-
|
|
39
|
+
import "./deliver-DNyVUZwj.js";
|
|
40
|
+
import "./dispatcher-BhqBv69q.js";
|
|
41
41
|
import "./dist-B53KOd9e.js";
|
|
42
42
|
import "./pi-tool-definition-adapter-CdyPRa1I.js";
|
|
43
43
|
import "./manager-CS2qGJC9.js";
|
|
44
44
|
import "./sqlite-DHgvEkS1.js";
|
|
45
45
|
import "./warnings-MnyHYVbe.js";
|
|
46
46
|
import "./proxy-from-env-DUE82Vrw.js";
|
|
47
|
-
import "./login-qr-
|
|
48
|
-
import { n as formatAge } from "./channel-summary-
|
|
47
|
+
import "./login-qr-DYY1-NkT.js";
|
|
48
|
+
import { n as formatAge } from "./channel-summary-D7hC_rxo.js";
|
|
49
49
|
import "./device-identity-D215B0gc.js";
|
|
50
|
-
import "./net-
|
|
51
|
-
import { n as callGateway } from "./call-
|
|
50
|
+
import "./net-CVNcx3SF.js";
|
|
51
|
+
import { n as callGateway } from "./call-BOnLXjH8.js";
|
|
52
52
|
import "./koi-events-resOGhIY.js";
|
|
53
53
|
import "./pairing-store-DttWRVFE.js";
|
|
54
54
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
@@ -60,20 +60,20 @@ import "./prompt-style-CVuim3sP.js";
|
|
|
60
60
|
import "./pairing-labels-BQHjUb7F.js";
|
|
61
61
|
import "./satisfies-Bw0kftyq.js";
|
|
62
62
|
import "./session-cost-usage-CmW298Fs.js";
|
|
63
|
-
import "./control-service-
|
|
63
|
+
import "./control-service-BQqPttll.js";
|
|
64
64
|
import { n as resolveMessageChannelSelection } from "./channel-selection-eBPq7mbP.js";
|
|
65
65
|
import "./event-log-C9xX85hz.js";
|
|
66
66
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
67
67
|
import "./note-CSp5eHqT.js";
|
|
68
68
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.js";
|
|
69
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
69
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-B6lIIKMx.js";
|
|
70
70
|
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-DjrB_CSV.js";
|
|
71
|
-
import "./archive-
|
|
71
|
+
import "./archive-5cRVV4sC.js";
|
|
72
72
|
import "./skill-scanner-XSqJHIlH.js";
|
|
73
|
-
import "./installs-
|
|
73
|
+
import "./installs-CV7Ezdd9.js";
|
|
74
74
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DpPqStch.js";
|
|
75
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
76
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
75
|
+
import { n as hasExplicitOptions } from "./plugin-registry-9gAoQci5.js";
|
|
76
|
+
import { t as formatCliChannelOptions } from "./channel-options-Cibi9Cjs.js";
|
|
77
77
|
import { t as buildChannelAccountSnapshot } from "./status-B1DCoVQ3.js";
|
|
78
78
|
import { t as parseLogLine } from "./parse-log-line-CVYzLRZv.js";
|
|
79
79
|
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, { WebSocketServer } from "ws";
|
|
11
|
+
import WebSocket$1, { 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.OPEN) throw new Error("Chrome extension not connected");
|
|
132
|
+
if (!ws || ws.readyState !== WebSocket$1.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.OPEN) continue;
|
|
149
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
150
150
|
ws.send(msg);
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
const sendResponseToCdp = (ws, res) => {
|
|
154
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
154
|
+
if (ws.readyState !== WebSocket$1.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.OPEN) return;
|
|
374
|
+
if (ws.readyState !== WebSocket$1.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(wsUrl, {
|
|
671
|
+
const ws = new WebSocket$1(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(wsUrl, {
|
|
1833
|
+
const ws = new WebSocket$1(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-BUyWPHLx.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-CHZ01i8_.js";
|
|
2
|
+
import { _t as loadSKYKOIPlugins } from "./reply-OoXK_63N.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
@@ -15,17 +15,17 @@ import { o as loadConfig } from "./config-D9d0NmBK.js";
|
|
|
15
15
|
import "./manifest-registry-BfJkwq3e.js";
|
|
16
16
|
import "./plugins-D6P_BD0C.js";
|
|
17
17
|
import "./sessions-CwmAQy9Q.js";
|
|
18
|
-
import "./image-
|
|
18
|
+
import "./image-DCeJfM3w.js";
|
|
19
19
|
import "./dist-Dawka28k.js";
|
|
20
20
|
import "./lib-B-iAYD_i.js";
|
|
21
21
|
import "./src-D8AlCNvU.js";
|
|
22
22
|
import "./core-zaSuwqYw.js";
|
|
23
23
|
import "./pi-model-discovery-CxJTEXA8.js";
|
|
24
|
-
import "./sandbox-
|
|
25
|
-
import "./chrome-
|
|
24
|
+
import "./sandbox-B87bwa3Y.js";
|
|
25
|
+
import "./chrome-BpAQbC_z.js";
|
|
26
26
|
import "./skills-yG3KCZvy.js";
|
|
27
|
-
import "./routes-
|
|
28
|
-
import "./server-context-
|
|
27
|
+
import "./routes-Bp6bfvXH.js";
|
|
28
|
+
import "./server-context-CHFbBUqe.js";
|
|
29
29
|
import "./image-ops-D9xaNVCD.js";
|
|
30
30
|
import "./message-channel-DFwjMtH0.js";
|
|
31
31
|
import "./logging-w5jq5901.js";
|
|
@@ -34,19 +34,19 @@ import "./paths-D_A4SLYG.js";
|
|
|
34
34
|
import "./tool-images-BPzjKQuD.js";
|
|
35
35
|
import "./redact-CjQe_7H_.js";
|
|
36
36
|
import "./tool-display-BETeOP8O.js";
|
|
37
|
-
import "./deliver-
|
|
38
|
-
import "./dispatcher-
|
|
37
|
+
import "./deliver-DNyVUZwj.js";
|
|
38
|
+
import "./dispatcher-BhqBv69q.js";
|
|
39
39
|
import "./dist-B53KOd9e.js";
|
|
40
40
|
import "./pi-tool-definition-adapter-CdyPRa1I.js";
|
|
41
41
|
import "./manager-CS2qGJC9.js";
|
|
42
42
|
import "./sqlite-DHgvEkS1.js";
|
|
43
43
|
import "./warnings-MnyHYVbe.js";
|
|
44
44
|
import "./proxy-from-env-DUE82Vrw.js";
|
|
45
|
-
import "./login-qr-
|
|
46
|
-
import "./channel-summary-
|
|
45
|
+
import "./login-qr-DYY1-NkT.js";
|
|
46
|
+
import "./channel-summary-D7hC_rxo.js";
|
|
47
47
|
import "./device-identity-D215B0gc.js";
|
|
48
|
-
import "./net-
|
|
49
|
-
import "./call-
|
|
48
|
+
import "./net-CVNcx3SF.js";
|
|
49
|
+
import "./call-BOnLXjH8.js";
|
|
50
50
|
import "./koi-events-resOGhIY.js";
|
|
51
51
|
import "./pairing-store-DttWRVFE.js";
|
|
52
52
|
import "./links-D-ozFGY4.js";
|
|
@@ -57,7 +57,7 @@ import "./prompt-style-CVuim3sP.js";
|
|
|
57
57
|
import "./pairing-labels-BQHjUb7F.js";
|
|
58
58
|
import "./satisfies-Bw0kftyq.js";
|
|
59
59
|
import "./session-cost-usage-CmW298Fs.js";
|
|
60
|
-
import "./control-service-
|
|
60
|
+
import "./control-service-BQqPttll.js";
|
|
61
61
|
import "./channel-selection-eBPq7mbP.js";
|
|
62
62
|
import "./event-log-C9xX85hz.js";
|
|
63
63
|
|
|
@@ -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-DShnCqge.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 formatControlUiSshHint, Et as applyWizardMetadata, Ft as openUrl, Ht as waitForGatewayReachable, Mt as handleReset, Nt as moveToTrash, Ot as detectBrowserOpenSupport, P as runMessageAction, Rt as randomToken, Tt as DEFAULT_WORKSPACE, U as CHANNEL_MESSAGE_ACTION_NAMES, V as formatTargetDisplay, an as registerMemoryCli, ft as CHANNEL_TARGETS_DESCRIPTION, kt as ensureWorkspaceAndSessions, on as runMemoryStatus, pt as CHANNEL_TARGET_DESCRIPTION, vr as lookupContextTokens, zt as resolveControlUiLinks } from "./reply-
|
|
1
|
+
import { At as formatControlUiSshHint, Et as applyWizardMetadata, Ft as openUrl, Ht as waitForGatewayReachable, Mt as handleReset, Nt as moveToTrash, Ot as detectBrowserOpenSupport, P as runMessageAction, Rt as randomToken, Tt as DEFAULT_WORKSPACE, U as CHANNEL_MESSAGE_ACTION_NAMES, V as formatTargetDisplay, an as registerMemoryCli, ft as CHANNEL_TARGETS_DESCRIPTION, kt as ensureWorkspaceAndSessions, on as runMemoryStatus, pt as CHANNEL_TARGET_DESCRIPTION, vr as lookupContextTokens, zt as resolveControlUiLinks } from "./reply-OoXK_63N.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, t as CONFIG_PATH, 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";
|
|
@@ -11,38 +11,38 @@ import { t as parseBooleanValue } from "./boolean-BXL1jIU4.js";
|
|
|
11
11
|
import { D as applyLegacyMigrations, _ as parseDurationMs, a as createConfigIO, c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-D9d0NmBK.js";
|
|
12
12
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D6P_BD0C.js";
|
|
13
13
|
import { i as loadSessionStore } from "./sessions-CwmAQy9Q.js";
|
|
14
|
-
import { n as movePathToTrash } from "./server-context-
|
|
14
|
+
import { n as movePathToTrash } from "./server-context-CHFbBUqe.js";
|
|
15
15
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-DFwjMtH0.js";
|
|
16
16
|
import { a as resolveSessionTranscriptsDirForKoi, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-D_A4SLYG.js";
|
|
17
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
17
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-BOnLXjH8.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
19
19
|
import { n as runCommandWithRuntime } from "./cli-utils-BjM5oE0K.js";
|
|
20
20
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
21
21
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CVuim3sP.js";
|
|
22
|
-
import { t as createDefaultDeps } from "./deps-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-BLPsCDdi.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-CxOO1xon.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
25
25
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BWWKm3m3.js";
|
|
26
26
|
import { t as WizardCancelledError } from "./prompts-0EnaVIOe.js";
|
|
27
27
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.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-B2vQrM36.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-CHMVOCYG.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-Do9k68ON.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels-B6lIIKMx.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-CFfWUv9L.js";
|
|
33
33
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
34
34
|
import { t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
35
35
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DvZErSyI.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-DShnCqge.js";
|
|
37
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-jygw_UCQ.js";
|
|
38
38
|
import { t as formatHelpExamples } from "./help-format-D_sjxIrE.js";
|
|
39
39
|
import { r as readAuthFile, t as loginCommand } from "./login-CLGP4l3Z.js";
|
|
40
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-
|
|
41
|
-
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
40
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as koiCommand } from "./koi-C7OY4uhn.js";
|
|
41
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-9gAoQci5.js";
|
|
42
42
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-btYENKQf.js";
|
|
43
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
43
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-DSd3CEGx.js";
|
|
44
44
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-blVsJyEr.js";
|
|
45
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
45
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-bna_zUZe.js";
|
|
46
46
|
import { fileURLToPath } from "node:url";
|
|
47
47
|
import fs from "node:fs";
|
|
48
48
|
import path from "node:path";
|
|
@@ -2794,7 +2794,7 @@ async function loadValidConfig() {
|
|
|
2794
2794
|
}
|
|
2795
2795
|
function registerConfigCli(program) {
|
|
2796
2796
|
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) => {
|
|
2797
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2797
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-DSd3CEGx.js").then((n) => n.t);
|
|
2798
2798
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2799
2799
|
if (sections.length === 0) {
|
|
2800
2800
|
await configureCommand(defaultRuntime);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { Et as applyWizardMetadata, Ht as waitForGatewayReachable, It as printWizardHeader, Lt as probeGatewayReachable, Pt as normalizeGatewayTokenInput, Rt as randomToken, Tt as DEFAULT_WORKSPACE, Vt as summarizeExistingConfig, jt as guardCancel, kt as ensureWorkspaceAndSessions, zt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { Et as applyWizardMetadata, Ht as waitForGatewayReachable, It as printWizardHeader, Lt as probeGatewayReachable, Pt as normalizeGatewayTokenInput, Rt as randomToken, Tt as DEFAULT_WORKSPACE, Vt as summarizeExistingConfig, jt as guardCancel, kt as ensureWorkspaceAndSessions, zt as resolveControlUiLinks } from "./reply-OoXK_63N.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-BWWKm3m3.js";
|
|
|
15
15
|
import { t as note$1 } from "./note-CSp5eHqT.js";
|
|
16
16
|
import { t as WizardCancelledError } from "./prompts-0EnaVIOe.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-9RonoVi0.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-CHMVOCYG.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-B6lIIKMx.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-CFfWUv9L.js";
|
|
21
21
|
import { t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
22
22
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-blVsJyEr.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-D9d0NmBK.js";
|
|
4
|
-
import { S as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { i as resolveBrowserConfig, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-
|
|
4
|
+
import { S as ensureChromeExtensionRelayServer } from "./chrome-BpAQbC_z.js";
|
|
5
|
+
import { i as resolveBrowserConfig, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-CHFbBUqe.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-DtcsOIQi.js")).closePlaywrightBrowserConnection();
|
|
57
57
|
} catch {}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -17,12 +17,12 @@ import "./message-channel-DFwjMtH0.js";
|
|
|
17
17
|
import "./logging-w5jq5901.js";
|
|
18
18
|
import "./accounts-BfmFQhXZ.js";
|
|
19
19
|
import "./device-identity-D215B0gc.js";
|
|
20
|
-
import "./net-
|
|
21
|
-
import "./call-
|
|
20
|
+
import "./net-CVNcx3SF.js";
|
|
21
|
+
import "./call-BOnLXjH8.js";
|
|
22
22
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
23
23
|
import "./progress-aeJDq1bY.js";
|
|
24
24
|
import { t as parseAbsoluteTimeMs } from "./parse-B5EluDjJ.js";
|
|
25
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
25
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-jygw_UCQ.js";
|
|
26
26
|
import { n as parsePositiveIntOrUndefined } from "./helpers-btYENKQf.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 { zt as resolveControlUiLinks } from "./reply-
|
|
2
|
+
import { zt as resolveControlUiLinks } from "./reply-OoXK_63N.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-DQtyHEuH.js";
|
|
7
7
|
import { a as createConfigIO, o as loadConfig } from "./config-D9d0NmBK.js";
|
|
8
|
-
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-
|
|
8
|
+
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-BpAQbC_z.js";
|
|
9
9
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DFwjMtH0.js";
|
|
10
|
-
import { n as isWSL, r as isWSLEnv } from "./dispatcher-
|
|
10
|
+
import { n as isWSL, r as isWSLEnv } from "./dispatcher-BhqBv69q.js";
|
|
11
11
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CUHhVH39.js";
|
|
12
|
-
import { o as resolveGatewayBindHost } from "./net-
|
|
13
|
-
import { n as callGateway } from "./call-
|
|
12
|
+
import { o as resolveGatewayBindHost } from "./net-CVNcx3SF.js";
|
|
13
|
+
import { n as callGateway } from "./call-BOnLXjH8.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
15
15
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
16
16
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-BhdMO-tw.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-BLPsCDdi.js";
|
|
18
18
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CxOO1xon.js";
|
|
19
19
|
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
20
20
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DvZErSyI.js";
|
|
21
21
|
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, o as readLastGatewayErrorLine } from "./service-audit-CutD6HKR.js";
|
|
22
22
|
import { n as renderSystemdUnavailableHints, t as isSystemdUnavailableDetail } from "./systemd-hints-DpSjggO1.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-CPt843j5.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-CHZ01i8_.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-D9d0NmBK.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-D6P_BD0C.js";
|
|
8
8
|
import { F as getChannelDock, V as resolveSignalAccount, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-CwmAQy9Q.js";
|
|
9
|
-
import { a as closeDispatcher, c as resolvePinnedHostnameWithPolicy, o as createPinnedDispatcher, r as saveMediaBuffer, s as resolvePinnedHostname } from "./routes-
|
|
9
|
+
import { a as closeDispatcher, c as resolvePinnedHostnameWithPolicy, o as createPinnedDispatcher, r as saveMediaBuffer, s as resolvePinnedHostname } from "./routes-Bp6bfvXH.js";
|
|
10
10
|
import { a as resizeToJpeg, h as mediaKindFromMime, i as optimizeImageToPng, m as maxBytesForKind, o as detectMime, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-D9xaNVCD.js";
|
|
11
11
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DFwjMtH0.js";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fn as sendMessageSlack, Nn as sendMessageWhatsApp, bn as sendMessageDiscord, wt as sendMessageIMessage, yn as sendMessageTelegram } from "./reply-
|
|
2
|
-
import { b as sendMessageSignal } from "./deliver-
|
|
1
|
+
import { Fn as sendMessageSlack, Nn as sendMessageWhatsApp, bn as sendMessageDiscord, wt as sendMessageIMessage, yn as sendMessageTelegram } from "./reply-OoXK_63N.js";
|
|
2
|
+
import { b as sendMessageSignal } from "./deliver-DNyVUZwj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/deps.ts
|
|
5
5
|
function createDefaultDeps() {
|
|
@@ -13,8 +13,8 @@ import "./config-D9d0NmBK.js";
|
|
|
13
13
|
import "./manifest-registry-BfJkwq3e.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DFwjMtH0.js";
|
|
15
15
|
import "./device-identity-D215B0gc.js";
|
|
16
|
-
import "./net-
|
|
17
|
-
import { n as callGateway } from "./call-
|
|
16
|
+
import "./net-CVNcx3SF.js";
|
|
17
|
+
import { n as callGateway } from "./call-BOnLXjH8.js";
|
|
18
18
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
19
19
|
import { t as renderTable } from "./table-BcCXbKbR.js";
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Er as loadModelCatalog, Et as applyWizardMetadata, It as printWizardHeader, Rt as randomToken, _t as loadSKYKOIPlugins, jt as guardCancel } from "./reply-
|
|
1
|
+
import { Er as loadModelCatalog, Et as applyWizardMetadata, It as printWizardHeader, Rt as randomToken, _t as loadSKYKOIPlugins, jt as guardCancel } from "./reply-OoXK_63N.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";
|
|
@@ -12,12 +12,12 @@ import { t as isTruthyEnvValue } from "./env-BA3nu3t6.js";
|
|
|
12
12
|
import { c as readConfigFileSnapshot, f as SKYKOISchema, n as migrateLegacyConfig, u as writeConfigFile } from "./config-D9d0NmBK.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-D6P_BD0C.js";
|
|
14
14
|
import { O as canonicalizeMainSessionAlias, i as loadSessionStore, j as resolveMainSessionKey, s as saveSessionStore } from "./sessions-CwmAQy9Q.js";
|
|
15
|
-
import { f as DEFAULT_SANDBOX_BROWSER_IMAGE, m as DEFAULT_SANDBOX_IMAGE, p as DEFAULT_SANDBOX_COMMON_IMAGE, u as resolveSandboxScope } from "./sandbox-
|
|
16
|
-
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-
|
|
15
|
+
import { f as DEFAULT_SANDBOX_BROWSER_IMAGE, m as DEFAULT_SANDBOX_IMAGE, p as DEFAULT_SANDBOX_COMMON_IMAGE, u as resolveSandboxScope } from "./sandbox-B87bwa3Y.js";
|
|
16
|
+
import { d as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-BpAQbC_z.js";
|
|
17
17
|
import { a as resolveSessionTranscriptsDirForKoi, n as resolveSessionFilePath, o as resolveStorePath } from "./paths-D_A4SLYG.js";
|
|
18
|
-
import { n as isWSL, r as isWSLEnv } from "./dispatcher-
|
|
19
|
-
import { n as isLoopbackHost, o as resolveGatewayBindHost } from "./net-
|
|
20
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import { n as isWSL, r as isWSLEnv } from "./dispatcher-BhqBv69q.js";
|
|
19
|
+
import { n as isLoopbackHost, o as resolveGatewayBindHost } from "./net-CVNcx3SF.js";
|
|
20
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BOnLXjH8.js";
|
|
21
21
|
import { i as readChannelAllowFromStore } from "./pairing-store-DttWRVFE.js";
|
|
22
22
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CVuim3sP.js";
|
|
23
23
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-BhdMO-tw.js";
|
|
@@ -26,9 +26,9 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-Bd67GvKn.js";
|
|
|
26
26
|
import { n as logConfigUpdated } from "./logging-BWWKm3m3.js";
|
|
27
27
|
import { t as note$1 } from "./note-CSp5eHqT.js";
|
|
28
28
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-DjrB_CSV.js";
|
|
29
|
-
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-
|
|
30
|
-
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-
|
|
31
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
29
|
+
import { i as resolveControlUiDistIndexPathForRoot, l as healthCommand, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-CFfWUv9L.js";
|
|
30
|
+
import { c as doctorShellCompletion, t as runGatewayUpdate } from "./update-runner-BhU34LxX.js";
|
|
31
|
+
import { i as resolveGatewayAuth } from "./auth-eBY6uW-V.js";
|
|
32
32
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Bwvp-df6.js";
|
|
33
33
|
import { a as repairLaunchAgentBootstrap, i as launchAgentPlistExists, n as isLaunchAgentListed, o as resolveGatewayLogPaths, r as isLaunchAgentLoaded, t as resolveGatewayService } from "./service-CsKcTbqE.js";
|
|
34
34
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DvZErSyI.js";
|
package/dist/entry.js
CHANGED
|
@@ -244,7 +244,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
244
244
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
245
245
|
process$1.argv = parsed.argv;
|
|
246
246
|
}
|
|
247
|
-
import("./run-main-
|
|
247
|
+
import("./run-main-CHgN9841.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
248
248
|
console.error("[SKYKOI] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
249
249
|
process$1.exitCode = 1;
|
|
250
250
|
});
|