skykoi 2026.3.295 → 2026.3.296
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-DyWvUFMn.js → acp-cli-C_T2Zkko.js} +7 -7
- package/dist/{archive-CuJRDd3r.js → archive-Bvsiggep.js} +1 -1
- package/dist/{audit-D379FTCI.js → audit-CqI7bnha.js} +11 -11
- package/dist/{auth-DWvCbsab.js → auth-J1HyPpu8.js} +1 -1
- package/dist/{auth-health--rhysFOz.js → auth-health-CZ6BATwc.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/{call-Bk-cFC48.js → call-CrvVx0Cp.js} +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BValPo1s.js → channel-options-D7e7mYih.js} +3 -3
- package/dist/{channel-selection-eBPq7mbP.js → channel-selection-WZ9zPQsl.js} +1 -1
- package/dist/{channel-summary-D7hC_rxo.js → channel-summary-4l4OVfkP.js} +5 -5
- package/dist/{channels-cli-CKVXUwQr.js → channels-cli-DlMZIEgS.js} +35 -35
- package/dist/{channels-status-issues-DpPqStch.js → channels-status-issues-YyyjH6bw.js} +1 -1
- package/dist/{chrome-BpAQbC_z.js → chrome-CJOnmcB3.js} +7 -7
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CDUyp_sR.js → cli-cFz2NDsC.js} +28 -28
- package/dist/{completion-cli-pzddcenc.js → completion-cli-DU4JaM4C.js} +1 -1
- package/dist/{config-D9d0NmBK.js → config-Cq2CHkhx.js} +4 -4
- package/dist/{config-guard-TRc7hOFo.js → config-guard-ChNhqpVi.js} +22 -22
- package/dist/{configure-QQ3Sbuh2.js → configure-8NGTugy3.js} +8 -8
- package/dist/{control-service-BQqPttll.js → control-service-CKQT8Q01.js} +4 -4
- package/dist/{cron-cli-BtWaQkLQ.js → cron-cli-CEbGpoFf.js} +8 -8
- package/dist/{daemon-cli-CHws0bHu.js → daemon-cli-CpIk3oVR.js} +10 -10
- package/dist/{daemon-runtime-CxOO1xon.js → daemon-runtime-BdlP7yjR.js} +1 -1
- package/dist/{deliver-DNyVUZwj.js → deliver-D5iXiSA6.js} +5 -5
- package/dist/{deps-D-vDNgMw.js → deps-BX8CqtPN.js} +2 -2
- package/dist/{devices-cli-Cy2R4kwO.js → devices-cli-sDMaJ1LA.js} +6 -6
- package/dist/{directory-cli-B4eE8Q2m.js → directory-cli-BUyGwZ-q.js} +6 -6
- package/dist/{dispatcher-BhqBv69q.js → dispatcher-CSf0NMPQ.js} +1 -1
- package/dist/{dist-BfJYv-iR.js → dist-9wkUrskD.js} +2 -2
- package/dist/{dist-Dawka28k.js → dist-CLm8TPvp.js} +5 -5
- package/dist/{dns-cli-dKXdwZon.js → dns-cli-D4zVCs2-.js} +4 -4
- package/dist/{docs-cli-Dd21E6zX.js → docs-cli-nLD4utdW.js} +3 -3
- package/dist/{doctor-BZhCzSug.js → doctor-C7Bj_Bf_.js} +21 -21
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-zUBn-N4r.js → exec-approvals-cli-CjZfxvnf.js} +8 -8
- package/dist/extension-api.js +28 -28
- package/dist/{gateway-cli-M9PrL-25.js → gateway-cli-W--kRNwO.js} +80 -61
- package/dist/{gateway-rpc-Bz1rwfR2.js → gateway-rpc-D-EECaQF.js} +1 -1
- package/dist/{github-copilot-auth-BL_9iFzR.js → github-copilot-auth-KfNm44LM.js} +5 -5
- package/dist/{gmail-setup-utils-B8Z7N__E.js → gmail-setup-utils-DcuIAwKK.js} +1 -1
- package/dist/{health-format-CKrjubag.js → health-format-7Xzzj77e.js} +16 -20
- package/dist/{hooks-cli-DWf6eeKz.js → hooks-cli-DLd9sf3D.js} +31 -31
- package/dist/{hooks-status-DiDxOOU3.js → hooks-status-BI-Kg4Yg.js} +1 -1
- package/dist/{image-DCeJfM3w.js → image-DeoUodBT.js} +5 -5
- package/dist/index.js +58 -58
- package/dist/{installs-DkR7YASX.js → installs-VNiqgxKq.js} +1 -1
- package/dist/{koi-BBizpeZ8.js → koi-3A6Z9OOb.js} +10 -10
- package/dist/{koi-scope-B7BaYiK4.js → koi-scope-C1Yp86VQ.js} +4 -0
- package/dist/{login-qr-DYY1-NkT.js → login-qr-XjeoeOcL.js} +113 -295
- package/dist/{logs-cli-DV547lvI.js → logs-cli-DkaVUy3B.js} +7 -7
- package/dist/{manager-CS2qGJC9.js → manager-C7IsWIUj.js} +2 -2
- package/dist/{model-selection-pqtAXA2h.js → model-selection-Cdqumq-F.js} +8 -3
- package/dist/{models-cli-DVqFMLdZ.js → models-cli-CLLV1wdP.js} +30 -30
- package/dist/{net-BH1TFgjf.js → net-BMZSt6j0.js} +5 -5
- package/dist/{node-cli-9-olOiuQ.js → node-cli-Dt_TUiRv.js} +13 -13
- package/dist/{nodes-cli-KPbJVdAv.js → nodes-cli-DqjC2dbZ.js} +7 -7
- package/dist/{onboard-channels-Bhnb9Ufe.js → onboard-channels-2RPJbofL.js} +5 -5
- package/dist/{onboard-skills-DJfLvvZZ.js → onboard-skills-kO3oSwUG.js} +9 -9
- package/dist/{onboarding-DqoGnE8E.js → onboarding-DogDYNQx.js} +21 -21
- package/dist/{pairing-cli-CWa0bc-t.js → pairing-cli-D_ceBU8F.js} +7 -7
- package/dist/{pairing-labels-BQHjUb7F.js → pairing-labels-BJE6TJxA.js} +1 -1
- package/dist/{pairing-store-DttWRVFE.js → pairing-store-_qMn7bnW.js} +1 -1
- package/dist/{pi-embedded-helpers-CHZ01i8_.js → pi-embedded-helpers-PPwnZXfx.js} +1 -1
- package/dist/{pi-model-discovery-CxJTEXA8.js → pi-model-discovery-C2vnlBAx.js} +1 -1
- package/dist/{pi-tools.policy-Bn6lwN7-.js → pi-tools.policy-6tcuG8Hq.js} +2 -2
- package/dist/{plugin-auto-enable-DjrB_CSV.js → plugin-auto-enable-C67FYEiB.js} +1 -1
- package/dist/{plugin-registry-D_UGklxf.js → plugin-registry-CmTGbCn8.js} +3 -3
- package/dist/plugin-sdk/index.js +1042 -1757
- package/dist/plugin-sdk/koi/defaults.d.ts +1 -1
- package/dist/plugin-sdk/koi/model-selection.d.ts +1 -0
- package/dist/plugin-sdk/koi/tools/browser-tool.schema.d.ts +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-BsWYwu7p.js → pi-model-discovery-DIELoDpU.js} +3 -3
- package/dist/{plugins-D6P_BD0C.js → plugins-BJ8VGKCt.js} +1 -1
- package/dist/{plugins-cli-B71_x89E.js → plugins-cli-BvddQ3Ms.js} +32 -32
- package/dist/{ports-DhegoPmO.js → ports-D-ffYdXl.js} +1 -1
- package/dist/{program-C6s1VXT1.js → program-CoH42lU_.js} +6 -6
- package/dist/{pw-ai-DtcsOIQi.js → pw-ai-CUTDC_6S.js} +1 -1
- package/dist/{qmd-manager-BMbyjnI5.js → qmd-manager-Ds4zmXIE.js} +1 -1
- package/dist/{register.subclis-CpVQhoSf.js → register.subclis-2i7iYIuD.js} +28 -28
- package/dist/{reply-Dd1ATvVv.js → reply-BeoDzYeX.js} +1236 -1981
- package/dist/{routes-Bp6bfvXH.js → routes-BVnNIgfr.js} +3 -3
- package/dist/{rpc-BkeUHxKc.js → rpc-DBmR3wN-.js} +1 -1
- package/dist/{run-main-piUMj1gn.js → run-main-Ne3LSHZ7.js} +59 -59
- package/dist/{runner-DM24ESHC.js → runner-du0oebCi.js} +6 -6
- package/dist/{sandbox-B87bwa3Y.js → sandbox-Cs4B_RZP.js} +7 -7
- package/dist/{sandbox-cli-BnSuVA19.js → sandbox-cli-UB4bYoeE.js} +12 -12
- package/dist/{security-cli-CxUlV5so.js → security-cli-DIPat66Y.js} +18 -18
- package/dist/{server-context-CHFbBUqe.js → server-context-By4m-ZR-.js} +4 -4
- package/dist/{server-node-events-BfRFmrNU.js → server-node-events-VvnfC3pl.js} +30 -30
- package/dist/{service-audit-CutD6HKR.js → service-audit-B3I7zKwq.js} +1 -1
- package/dist/{sessions-CwmAQy9Q.js → sessions-DhO6RFbR.js} +3 -3
- package/dist/{shared-B3IjQw1J.js → shared-0MG4EjZb.js} +1 -1
- package/dist/{skills-yG3KCZvy.js → skills-DgBgB325.js} +1 -1
- package/dist/{skills-cli-DoIiFypw.js → skills-cli-CT72Au5I.js} +7 -7
- package/dist/{skills-status-Bwvp-df6.js → skills-status-QmdDW96R.js} +2 -2
- package/dist/{status-DiSUYChf.js → status-DQHoV3y8.js} +3 -3
- package/dist/{system-cli-B82WdEbe.js → system-cli-CvB-ISpn.js} +7 -7
- package/dist/{tui-B4CwywRd.js → tui-LHHRLUN8.js} +7 -7
- package/dist/{tui-cli-CGCPH4aM.js → tui-cli-Bns8H80d.js} +17 -17
- package/dist/{update-BIhIf1vn.js → update-GGpkyHHu.js} +1 -1
- package/dist/{update-cli-4JfTp-fN.js → update-cli-Cw5F_C4P.js} +46 -46
- package/dist/{update-runner-3LuNGQ58.js → update-runner-B8endTIk.js} +5 -5
- package/dist/{webhooks-cli-DslYqydl.js → webhooks-cli-C5FfOniT.js} +7 -7
- 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/bluebubbles/node_modules/.bin/koi +0 -21
- package/extensions/copilot-proxy/node_modules/.bin/koi +0 -21
- package/extensions/diagnostics-otel/node_modules/.bin/koi +0 -21
- package/extensions/discord/node_modules/.bin/koi +0 -21
- package/extensions/feishu/node_modules/.bin/koi +0 -21
- package/extensions/google-antigravity-auth/node_modules/.bin/koi +0 -21
- package/extensions/google-gemini-cli-auth/node_modules/.bin/koi +0 -21
- package/extensions/googlechat/node_modules/.bin/koi +0 -21
- package/extensions/imessage/node_modules/.bin/koi +0 -21
- package/extensions/line/node_modules/.bin/koi +0 -21
- package/extensions/llm-task/node_modules/.bin/koi +0 -21
- package/extensions/lobster/node_modules/.bin/koi +0 -21
- package/extensions/matrix/node_modules/.bin/koi +0 -21
- package/extensions/mattermost/node_modules/.bin/koi +0 -21
- package/extensions/memory-core/node_modules/.bin/koi +0 -21
- package/extensions/memory-lancedb/node_modules/.bin/koi +0 -21
- package/extensions/minimax-portal-auth/node_modules/.bin/koi +0 -21
- package/extensions/msteams/node_modules/.bin/koi +0 -21
- package/extensions/nextcloud-talk/node_modules/.bin/koi +0 -21
- package/extensions/nostr/node_modules/.bin/koi +0 -21
- package/extensions/open-prose/node_modules/.bin/koi +0 -21
- package/extensions/signal/node_modules/.bin/koi +0 -21
- package/extensions/slack/node_modules/.bin/koi +0 -21
- package/extensions/telegram/node_modules/.bin/koi +0 -21
- package/extensions/tlon/node_modules/.bin/koi +0 -21
- package/extensions/twitch/node_modules/.bin/koi +0 -21
- package/extensions/voice-call/node_modules/.bin/koi +0 -21
- package/extensions/whatsapp/node_modules/.bin/koi +0 -21
- package/extensions/zalo/node_modules/.bin/koi +0 -21
- package/extensions/zalouser/node_modules/.bin/koi +0 -21
|
@@ -2,24 +2,24 @@ import { T as theme, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
|
2
2
|
import "./paths-VdmjGGyc.js";
|
|
3
3
|
import "./utils-rBzA-VDv.js";
|
|
4
4
|
import "./exec-BE7MIgZB.js";
|
|
5
|
-
import "./koi-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./dist-
|
|
5
|
+
import "./koi-scope-C1Yp86VQ.js";
|
|
6
|
+
import "./model-selection-Cdqumq-F.js";
|
|
7
|
+
import "./dist-9wkUrskD.js";
|
|
8
8
|
import "./dist-cjs-h4236Nk8.js";
|
|
9
9
|
import "./boolean-BXL1jIU4.js";
|
|
10
10
|
import "./env-BA3nu3t6.js";
|
|
11
11
|
import "./github-copilot-token-v4Mg1eJR.js";
|
|
12
|
-
import { N as VERSION, o as loadConfig } from "./config-
|
|
12
|
+
import { N as VERSION, o as loadConfig } from "./config-Cq2CHkhx.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-BMZSt6j0.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-CrvVx0Cp.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-J1HyPpu8.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-BeoDzYeX.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import * as tar from "tar";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-VdmjGGyc.js";
|
|
2
2
|
import { l as normalizeKoiId } from "./session-key-DvA8Pdt6.js";
|
|
3
3
|
import { n as runExec } from "./exec-BE7MIgZB.js";
|
|
4
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
4
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-C1Yp86VQ.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
6
|
-
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-
|
|
6
|
+
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-Cq2CHkhx.js";
|
|
7
7
|
import { a as MANIFEST_KEY } from "./manifest-registry-BfJkwq3e.js";
|
|
8
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
9
|
-
import { d as resolveSandboxToolPolicyForKoi, l as resolveSandboxConfigForKoi } from "./sandbox-
|
|
8
|
+
import { n as listChannelPlugins } from "./plugins-BJ8VGKCt.js";
|
|
9
|
+
import { d as resolveSandboxToolPolicyForKoi, l as resolveSandboxConfigForKoi } from "./sandbox-Cs4B_RZP.js";
|
|
10
10
|
import { s as resolveToolProfilePolicy } from "./tool-policy-DFU7NfzA.js";
|
|
11
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
12
|
-
import { i as resolveBrowserConfig, o as resolveProfile } from "./server-context-
|
|
11
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-DgBgB325.js";
|
|
12
|
+
import { i as resolveBrowserConfig, o as resolveProfile } from "./server-context-By4m-ZR-.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-
|
|
16
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
17
|
-
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-
|
|
14
|
+
import { l as GatewayClient } from "./net-BMZSt6j0.js";
|
|
15
|
+
import { t as buildGatewayConnectionDetails } from "./call-CrvVx0Cp.js";
|
|
16
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-_qMn7bnW.js";
|
|
17
|
+
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-6tcuG8Hq.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-J1HyPpu8.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-BMZSt6j0.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
|
@@ -2,11 +2,11 @@ import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
3
3
|
import { g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { h as resolveUserPath, s as ensureDir, t as CONFIG_DIR, v as shortenHomeInString } from "./utils-rBzA-VDv.js";
|
|
5
|
-
import { o as loadConfig } from "./config-
|
|
5
|
+
import { o as loadConfig } from "./config-Cq2CHkhx.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-BMZSt6j0.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
|
+
1d6aa565d4a1587eda68a289ca8e0a83d4a5ac4868000a994a1fcbccb7dab865
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { M as CHAT_CHANNEL_ORDER } from "./subsystem-RXphV8Xh.js";
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-BA3nu3t6.js";
|
|
3
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
4
|
-
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { n as listChannelPlugins } from "./plugins-BJ8VGKCt.js";
|
|
4
|
+
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-C67FYEiB.js";
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CmTGbCn8.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
1
|
+
import { n as listChannelPlugins } from "./plugins-BJ8VGKCt.js";
|
|
2
2
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-DFwjMtH0.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/outbound/channel-selection.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
1
|
+
import { L as listThinkingLevels, m as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-PPwnZXfx.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
|
-
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, d as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { o as loadConfig } from "./config-
|
|
6
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
7
|
-
import { I as listChannelDocks } from "./sessions-
|
|
4
|
+
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, d as resolveConfiguredModelRef } from "./model-selection-Cdqumq-F.js";
|
|
5
|
+
import { o as loadConfig } from "./config-Cq2CHkhx.js";
|
|
6
|
+
import { n as listChannelPlugins } from "./plugins-BJ8VGKCt.js";
|
|
7
|
+
import { I as listChannelDocks } from "./sessions-DhO6RFbR.js";
|
|
8
8
|
import { n as formatTokenCount } from "./usage-format-BGCAJt5K.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,33 +1,33 @@
|
|
|
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-PPwnZXfx.js";
|
|
2
|
+
import { Cn as fetchChannelPermissionsDiscord, In as createSlackWebClient, Sn as parseDiscordTarget, vt as loadProviderUsageSummary, yt as formatUsageReportLines } from "./reply-BeoDzYeX.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";
|
|
6
6
|
import "./utils-rBzA-VDv.js";
|
|
7
7
|
import "./exec-BE7MIgZB.js";
|
|
8
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
9
|
-
import { st as loadAuthProfileStore } from "./model-selection-
|
|
10
|
-
import "./dist-
|
|
8
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-C1Yp86VQ.js";
|
|
9
|
+
import { st as loadAuthProfileStore } from "./model-selection-Cdqumq-F.js";
|
|
10
|
+
import "./dist-9wkUrskD.js";
|
|
11
11
|
import "./dist-cjs-h4236Nk8.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
13
13
|
import "./boolean-BXL1jIU4.js";
|
|
14
14
|
import "./env-BA3nu3t6.js";
|
|
15
15
|
import "./github-copilot-token-v4Mg1eJR.js";
|
|
16
|
-
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-
|
|
16
|
+
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-Cq2CHkhx.js";
|
|
17
17
|
import "./manifest-registry-BfJkwq3e.js";
|
|
18
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
19
|
-
import "./sessions-
|
|
20
|
-
import "./image-
|
|
21
|
-
import "./dist-
|
|
18
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BJ8VGKCt.js";
|
|
19
|
+
import "./sessions-DhO6RFbR.js";
|
|
20
|
+
import "./image-DeoUodBT.js";
|
|
21
|
+
import "./dist-CLm8TPvp.js";
|
|
22
22
|
import "./lib-B-iAYD_i.js";
|
|
23
23
|
import "./src-D8AlCNvU.js";
|
|
24
24
|
import "./core-zaSuwqYw.js";
|
|
25
|
-
import "./pi-model-discovery-
|
|
26
|
-
import "./sandbox-
|
|
27
|
-
import "./chrome-
|
|
28
|
-
import "./skills-
|
|
29
|
-
import "./routes-
|
|
30
|
-
import "./server-context-
|
|
25
|
+
import "./pi-model-discovery-C2vnlBAx.js";
|
|
26
|
+
import "./sandbox-Cs4B_RZP.js";
|
|
27
|
+
import "./chrome-CJOnmcB3.js";
|
|
28
|
+
import "./skills-DgBgB325.js";
|
|
29
|
+
import "./routes-BVnNIgfr.js";
|
|
30
|
+
import "./server-context-By4m-ZR-.js";
|
|
31
31
|
import "./image-ops-D9xaNVCD.js";
|
|
32
32
|
import "./message-channel-DFwjMtH0.js";
|
|
33
33
|
import "./logging-w5jq5901.js";
|
|
@@ -36,44 +36,44 @@ 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-D5iXiSA6.js";
|
|
40
|
+
import "./dispatcher-CSf0NMPQ.js";
|
|
41
41
|
import "./dist-B53KOd9e.js";
|
|
42
42
|
import "./pi-tool-definition-adapter-CdyPRa1I.js";
|
|
43
|
-
import "./manager-
|
|
43
|
+
import "./manager-C7IsWIUj.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-XjeoeOcL.js";
|
|
48
|
+
import { n as formatAge } from "./channel-summary-4l4OVfkP.js";
|
|
49
49
|
import "./device-identity-D215B0gc.js";
|
|
50
|
-
import "./net-
|
|
51
|
-
import { n as callGateway } from "./call-
|
|
50
|
+
import "./net-BMZSt6j0.js";
|
|
51
|
+
import { n as callGateway } from "./call-CrvVx0Cp.js";
|
|
52
52
|
import "./koi-events-resOGhIY.js";
|
|
53
|
-
import "./pairing-store-
|
|
53
|
+
import "./pairing-store-_qMn7bnW.js";
|
|
54
54
|
import { t as formatDocsLink } from "./links-D-ozFGY4.js";
|
|
55
55
|
import { n as runCommandWithRuntime } from "./cli-utils-BjM5oE0K.js";
|
|
56
56
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
57
57
|
import "./node-pairing-LtbSR4JV.js";
|
|
58
|
-
import "./pi-tools.policy-
|
|
58
|
+
import "./pi-tools.policy-6tcuG8Hq.js";
|
|
59
59
|
import "./prompt-style-CVuim3sP.js";
|
|
60
|
-
import "./pairing-labels-
|
|
60
|
+
import "./pairing-labels-BJE6TJxA.js";
|
|
61
61
|
import "./satisfies-Bw0kftyq.js";
|
|
62
62
|
import "./session-cost-usage-CmW298Fs.js";
|
|
63
|
-
import "./control-service-
|
|
64
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
63
|
+
import "./control-service-CKQT8Q01.js";
|
|
64
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-WZ9zPQsl.js";
|
|
65
65
|
import "./event-log-DdHyiiQb.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-
|
|
70
|
-
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-
|
|
71
|
-
import "./archive-
|
|
69
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-2RPJbofL.js";
|
|
70
|
+
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-C67FYEiB.js";
|
|
71
|
+
import "./archive-Bvsiggep.js";
|
|
72
72
|
import "./skill-scanner-XSqJHIlH.js";
|
|
73
|
-
import "./installs-
|
|
74
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
75
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
76
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
73
|
+
import "./installs-VNiqgxKq.js";
|
|
74
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-YyyjH6bw.js";
|
|
75
|
+
import { n as hasExplicitOptions } from "./plugin-registry-CmTGbCn8.js";
|
|
76
|
+
import { t as formatCliChannelOptions } from "./channel-options-D7e7mYih.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
|
|
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-CpIk3oVR.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { _t as loadSKYKOIPlugins } from "./reply-
|
|
1
|
+
import "./pi-embedded-helpers-PPwnZXfx.js";
|
|
2
|
+
import { _t as loadSKYKOIPlugins } from "./reply-BeoDzYeX.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
5
|
import "./utils-rBzA-VDv.js";
|
|
6
6
|
import "./exec-BE7MIgZB.js";
|
|
7
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import "./dist-
|
|
7
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-C1Yp86VQ.js";
|
|
8
|
+
import "./model-selection-Cdqumq-F.js";
|
|
9
|
+
import "./dist-9wkUrskD.js";
|
|
10
10
|
import "./dist-cjs-h4236Nk8.js";
|
|
11
11
|
import "./boolean-BXL1jIU4.js";
|
|
12
12
|
import "./env-BA3nu3t6.js";
|
|
13
13
|
import "./github-copilot-token-v4Mg1eJR.js";
|
|
14
|
-
import { o as loadConfig } from "./config-
|
|
14
|
+
import { o as loadConfig } from "./config-Cq2CHkhx.js";
|
|
15
15
|
import "./manifest-registry-BfJkwq3e.js";
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./sessions-
|
|
18
|
-
import "./image-
|
|
19
|
-
import "./dist-
|
|
16
|
+
import "./plugins-BJ8VGKCt.js";
|
|
17
|
+
import "./sessions-DhO6RFbR.js";
|
|
18
|
+
import "./image-DeoUodBT.js";
|
|
19
|
+
import "./dist-CLm8TPvp.js";
|
|
20
20
|
import "./lib-B-iAYD_i.js";
|
|
21
21
|
import "./src-D8AlCNvU.js";
|
|
22
22
|
import "./core-zaSuwqYw.js";
|
|
23
|
-
import "./pi-model-discovery-
|
|
24
|
-
import "./sandbox-
|
|
25
|
-
import "./chrome-
|
|
26
|
-
import "./skills-
|
|
27
|
-
import "./routes-
|
|
28
|
-
import "./server-context-
|
|
23
|
+
import "./pi-model-discovery-C2vnlBAx.js";
|
|
24
|
+
import "./sandbox-Cs4B_RZP.js";
|
|
25
|
+
import "./chrome-CJOnmcB3.js";
|
|
26
|
+
import "./skills-DgBgB325.js";
|
|
27
|
+
import "./routes-BVnNIgfr.js";
|
|
28
|
+
import "./server-context-By4m-ZR-.js";
|
|
29
29
|
import "./image-ops-D9xaNVCD.js";
|
|
30
30
|
import "./message-channel-DFwjMtH0.js";
|
|
31
31
|
import "./logging-w5jq5901.js";
|
|
@@ -34,31 +34,31 @@ 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-D5iXiSA6.js";
|
|
38
|
+
import "./dispatcher-CSf0NMPQ.js";
|
|
39
39
|
import "./dist-B53KOd9e.js";
|
|
40
40
|
import "./pi-tool-definition-adapter-CdyPRa1I.js";
|
|
41
|
-
import "./manager-
|
|
41
|
+
import "./manager-C7IsWIUj.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-XjeoeOcL.js";
|
|
46
|
+
import "./channel-summary-4l4OVfkP.js";
|
|
47
47
|
import "./device-identity-D215B0gc.js";
|
|
48
|
-
import "./net-
|
|
49
|
-
import "./call-
|
|
48
|
+
import "./net-BMZSt6j0.js";
|
|
49
|
+
import "./call-CrvVx0Cp.js";
|
|
50
50
|
import "./koi-events-resOGhIY.js";
|
|
51
|
-
import "./pairing-store-
|
|
51
|
+
import "./pairing-store-_qMn7bnW.js";
|
|
52
52
|
import "./links-D-ozFGY4.js";
|
|
53
53
|
import "./progress-aeJDq1bY.js";
|
|
54
54
|
import "./node-pairing-LtbSR4JV.js";
|
|
55
|
-
import "./pi-tools.policy-
|
|
55
|
+
import "./pi-tools.policy-6tcuG8Hq.js";
|
|
56
56
|
import "./prompt-style-CVuim3sP.js";
|
|
57
|
-
import "./pairing-labels-
|
|
57
|
+
import "./pairing-labels-BJE6TJxA.js";
|
|
58
58
|
import "./satisfies-Bw0kftyq.js";
|
|
59
59
|
import "./session-cost-usage-CmW298Fs.js";
|
|
60
|
-
import "./control-service-
|
|
61
|
-
import "./channel-selection-
|
|
60
|
+
import "./control-service-CKQT8Q01.js";
|
|
61
|
+
import "./channel-selection-WZ9zPQsl.js";
|
|
62
62
|
import "./event-log-DdHyiiQb.js";
|
|
63
63
|
|
|
64
64
|
//#region src/plugins/cli.ts
|
|
@@ -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-2i7iYIuD.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -3,15 +3,15 @@ import { B as normalizeChatChannelId, j as CHANNEL_IDS } from "./subsystem-RXphV
|
|
|
3
3
|
import { a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-VdmjGGyc.js";
|
|
4
4
|
import { l as normalizeKoiId, n as DEFAULT_KOI_ID } from "./session-key-DvA8Pdt6.js";
|
|
5
5
|
import { h as resolveUserPath } from "./utils-rBzA-VDv.js";
|
|
6
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
7
|
-
import { _t as loadShellEnvFallback, bt as shouldEnableShellEnvFallback, c as parseModelRef, vt as resolveShellEnvFallbackTimeoutMs, xt as DEFAULT_CONTEXT_TOKENS, yt as shouldDeferShellEnvFallback } from "./model-selection-
|
|
6
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-C1Yp86VQ.js";
|
|
7
|
+
import { _t as loadShellEnvFallback, bt as shouldEnableShellEnvFallback, c as parseModelRef, vt as resolveShellEnvFallbackTimeoutMs, xt as DEFAULT_CONTEXT_TOKENS, yt as shouldDeferShellEnvFallback } from "./model-selection-Cdqumq-F.js";
|
|
8
8
|
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-BfJkwq3e.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import JSON5 from "json5";
|
|
13
13
|
import os from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import AjvPkg from "ajv";
|
|
15
15
|
import crypto from "node:crypto";
|
|
16
16
|
import { z } from "zod";
|
|
17
17
|
|
|
@@ -1740,7 +1740,7 @@ function applyConfigOverrides(cfg) {
|
|
|
1740
1740
|
|
|
1741
1741
|
//#endregion
|
|
1742
1742
|
//#region src/plugins/schema-validator.ts
|
|
1743
|
-
const ajv = new
|
|
1743
|
+
const ajv = new AjvPkg({
|
|
1744
1744
|
allErrors: true,
|
|
1745
1745
|
strict: false,
|
|
1746
1746
|
removeAdditional: false
|
|
@@ -1,48 +1,48 @@
|
|
|
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-BeoDzYeX.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";
|
|
5
5
|
import { h as resolveUserPath, p as resolveHomeDir, v as shortenHomeInString, y as shortenHomePath } from "./utils-rBzA-VDv.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
7
|
-
import { S as ensureKoiWorkspace, T as resolveDefaultKoiWorkspaceDir, a as resolveKoiDir, g as DEFAULT_KOI_WORKSPACE_DIR, l as resolveKoiWorkspaceDir, m as DEFAULT_IDENTITY_FILENAME, n as listKoiIds, r as resolveDefaultKoiId } from "./koi-scope-
|
|
8
|
-
import { Ct as DEFAULT_PROVIDER, G as resolveAuthProfileOrder, H as resolveEnvApiKey, St as DEFAULT_MODEL, X as resolveApiKeyForProfile, at as upsertAuthProfile, d as resolveConfiguredModelRef, lt as resolveAuthStorePath, ot as ensureAuthProfileStore, s as normalizeProviderId, xt as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
7
|
+
import { S as ensureKoiWorkspace, T as resolveDefaultKoiWorkspaceDir, a as resolveKoiDir, g as DEFAULT_KOI_WORKSPACE_DIR, l as resolveKoiWorkspaceDir, m as DEFAULT_IDENTITY_FILENAME, n as listKoiIds, r as resolveDefaultKoiId } from "./koi-scope-C1Yp86VQ.js";
|
|
8
|
+
import { Ct as DEFAULT_PROVIDER, G as resolveAuthProfileOrder, H as resolveEnvApiKey, St as DEFAULT_MODEL, X as resolveApiKeyForProfile, at as upsertAuthProfile, d as resolveConfiguredModelRef, lt as resolveAuthStorePath, ot as ensureAuthProfileStore, s as normalizeProviderId, xt as DEFAULT_CONTEXT_TOKENS } from "./model-selection-Cdqumq-F.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-BXL1jIU4.js";
|
|
11
|
-
import { D as applyLegacyMigrations, _ as parseDurationMs, a as createConfigIO, c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-
|
|
12
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
13
|
-
import { i as loadSessionStore } from "./sessions-
|
|
14
|
-
import { n as movePathToTrash } from "./server-context-
|
|
11
|
+
import { D as applyLegacyMigrations, _ as parseDurationMs, a as createConfigIO, c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-Cq2CHkhx.js";
|
|
12
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BJ8VGKCt.js";
|
|
13
|
+
import { i as loadSessionStore } from "./sessions-DhO6RFbR.js";
|
|
14
|
+
import { n as movePathToTrash } from "./server-context-By4m-ZR-.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-CrvVx0Cp.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-
|
|
23
|
-
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
22
|
+
import { t as createDefaultDeps } from "./deps-BX8CqtPN.js";
|
|
23
|
+
import { a as gatewayInstallErrorHint, g as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BdlP7yjR.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-DogDYNQx.js";
|
|
29
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-kO3oSwUG.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-KfNm44LM.js";
|
|
31
|
+
import { n as setupChannels } from "./onboard-channels-2RPJbofL.js";
|
|
32
|
+
import { l as healthCommand } from "./health-format-7Xzzj77e.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-2i7iYIuD.js";
|
|
37
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-D-EECaQF.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-3A6Z9OOb.js";
|
|
41
|
+
import { n as hasExplicitOptions, t as ensurePluginRegistryLoaded } from "./plugin-registry-CmTGbCn8.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-8NGTugy3.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-C7Bj_Bf_.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-8NGTugy3.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,23 +1,23 @@
|
|
|
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-BeoDzYeX.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";
|
|
6
|
-
import { ot as ensureAuthProfileStore } from "./model-selection-
|
|
6
|
+
import { ot as ensureAuthProfileStore } from "./model-selection-Cdqumq-F.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-DQtyHEuH.js";
|
|
8
|
-
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-
|
|
9
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
+
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-Cq2CHkhx.js";
|
|
9
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BJ8VGKCt.js";
|
|
10
10
|
import { n as withProgress } from "./progress-aeJDq1bY.js";
|
|
11
11
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CVuim3sP.js";
|
|
12
12
|
import { a as findTailscaleBinary } from "./tailscale-CsF9n21t.js";
|
|
13
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
13
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BdlP7yjR.js";
|
|
14
14
|
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-kO3oSwUG.js";
|
|
19
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-2RPJbofL.js";
|
|
20
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-7Xzzj77e.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";
|