skykoi 2026.3.143 → 2026.3.145
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/{accounts-Biu_9nhH.js → accounts-DsQ7CSeY.js} +2 -2
- package/dist/{acp-cli-D0DdQJpf.js → acp-cli-DKk5qbHW.js} +15 -15
- package/dist/{archive-CDZ_2i70.js → archive-CmNePh1p.js} +1 -1
- package/dist/{audit-VWylZ-wT.js → audit-C0ixMaLQ.js} +16 -16
- package/dist/{auth-qCZ9NSXx.js → auth-DQvUzR68.js} +2 -2
- package/dist/{auth-health-AvJujB4z.js → auth-health-Btj4L0TH.js} +1 -1
- package/dist/{bonjour-discovery-BGAkjARE.js → bonjour-discovery-D_eYlsQc.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/{call-BCMkwyXx.js → call-ByTcqcvV.js} +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-D4Izr7Ik.js → channel-options-DVdP4t4U.js} +5 -5
- package/dist/{channel-selection-DeONp9jA.js → channel-selection-B5tUOB8t.js} +2 -2
- package/dist/{channel-summary-PV_Jutxo.js → channel-summary-DjJ3lkCW.js} +6 -6
- package/dist/{channels-cli-CZiepy3g.js → channels-cli-BPwrmrdS.js} +44 -44
- package/dist/{channels-status-issues-C323nJEh.js → channels-status-issues-GKs-LbrV.js} +1 -1
- package/dist/{chrome-Dw2H7H5Q.js → chrome-CYjH7HBH.js} +3 -3
- package/dist/{clack-prompter-C_okQFym.js → clack-prompter-BxHCh6Tn.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DuR2O3dJ.js → cli-cbSm0zYI.js} +35 -35
- package/dist/{completion-cli-D5ovYM2b.js → completion-cli-Cfk-EJtF.js} +1 -1
- package/dist/{config-nzXUyXgp.js → config-C_blrocr.js} +10 -10
- package/dist/{config-guard-C78lSlTX.js → config-guard-rtajPiDl.js} +40 -40
- package/dist/{configure-_xugpLj2.js → configure-BHM5af7Q.js} +18 -18
- package/dist/{control-service-BibEBmmi.js → control-service-DnzgVIyk.js} +5 -5
- package/dist/{cron-cli-DfmSSoKg.js → cron-cli-BT1PUmY9.js} +16 -16
- package/dist/{daemon-cli-Dt0n78Zj.js → daemon-cli-HYTNixC9.js} +17 -17
- package/dist/{daemon-runtime-6G2T6WiP.js → daemon-runtime-DkLy62aK.js} +2 -2
- package/dist/{deliver-QJvVDTMf.js → deliver-CJ2Pjcyz.js} +8 -8
- package/dist/{deps-CEWnJ0e_.js → deps-DODCvyn3.js} +2 -2
- package/dist/{devices-cli-DBr-fc0C.js → devices-cli-C8ekbl1p.js} +13 -13
- package/dist/{directory-cli-LK-JJccK.js → directory-cli-D-hwfkmS.js} +14 -14
- package/dist/{dispatcher-C3jdnOw8.js → dispatcher-jfUrueZo.js} +1 -1
- package/dist/{dns-cli-B0MmfgZ2.js → dns-cli-Dbofho-6.js} +11 -11
- package/dist/{docs-cli-5-D046q4.js → docs-cli-DRn_cYru.js} +6 -6
- package/dist/{doctor-DZv3v52O.js → doctor-ByTndnOc.js} +32 -32
- package/dist/{dotenv-C2uYIzzg.js → dotenv-DKI6139G.js} +1 -1
- package/dist/entry.js +3 -3
- package/dist/{env-ClMNjS-Z.js → env-Bj0uZSiW.js} +1 -1
- package/dist/{exec-DQf1CAqV.js → exec-BE7MIgZB.js} +1 -1
- package/dist/{exec-approvals-cli-CrAwT9OF.js → exec-approvals-cli-CNAmravt.js} +21 -21
- package/dist/extension-api.js +35 -35
- package/dist/{gateway-cli-BVDjuCdN.js → gateway-cli-BvAHRtSs.js} +81 -81
- package/dist/{gateway-rpc-BqjzUkq0.js → gateway-rpc-GLatQ1eS.js} +3 -3
- package/dist/{github-copilot-auth-BltcUc6a.js → github-copilot-auth-CmCQ3RdX.js} +9 -9
- package/dist/{gmail-setup-utils-Cz0Okd_W.js → gmail-setup-utils-BYWNnNLn.js} +3 -3
- package/dist/{health-format-BDJYfJXM.js → health-format-CQN-Ka9v.js} +12 -12
- package/dist/{help-format-DeLBsS8V.js → help-format-Cbr54gLP.js} +1 -1
- package/dist/{hooks-cli-BDMYgYYk.js → hooks-cli-DrDYnFct.js} +39 -39
- package/dist/{hooks-status-BNOsQyre.js → hooks-status-Q-UXhKBw.js} +6 -6
- package/dist/{image-BB3RHrO9.js → image-B551BV5h.js} +4 -4
- package/dist/index.js +79 -79
- package/dist/{installs-BaGm9CcF.js → installs-BXsWUAmH.js} +4 -4
- package/dist/{koi-BXBA9aUl.js → koi-DCnRF5Mj.js} +12 -12
- package/dist/{koi-scope-BGZeVL7A.js → koi-scope-Bhy7bqp7.js} +3 -3
- package/dist/{links-Dcl0Cq6K.js → links-D5FJjx5x.js} +1 -1
- package/dist/{logging-BaurGTSu.js → logging-BusiCyt_.js} +1 -1
- package/dist/{login-qr-CN1znQj-.js → login-qr-ZIqZmEKc.js} +5 -5
- package/dist/{logs-cli-DOvL2BMo.js → logs-cli-0OqGgv-y.js} +14 -14
- package/dist/{manager-Dp4j2kpZ.js → manager-CdqSmO1V.js} +5 -5
- package/dist/{manifest-registry-B0SlYS4x.js → manifest-registry-BM_kgwtA.js} +1 -1
- package/dist/{message-channel-nfx_8RaV.js → message-channel-CeYCOtod.js} +1 -1
- package/dist/{model-selection-Dbu0XL-E.js → model-selection-B2Qu7niX.js} +4 -4
- package/dist/{models-cli-BGD3Momw.js → models-cli-DintO1B-.js} +41 -41
- package/dist/{net-BSxgBs66.js → net-Cmh623y0.js} +2 -2
- package/dist/{node-cli-D4lCpafE.js → node-cli-DkEZeIyJ.js} +23 -23
- package/dist/{node-service-Dm-ZjfWY.js → node-service-DfmbTqpi.js} +1 -1
- package/dist/{nodes-cli-ujrFTcNm.js → nodes-cli-CS9WUfxd.js} +15 -15
- package/dist/{note-BAIkzngZ.js → note-CbRknFZ7.js} +2 -2
- package/dist/{onboard-channels-Bqj3dTgh.js → onboard-channels-CIfa8_O4.js} +7 -7
- package/dist/{onboard-skills-BQMKUEXB.js → onboard-skills-Bvm3tXlY.js} +12 -12
- package/dist/{onboarding-SqTz3fgu.js → onboarding-3u4Pvvoe.js} +32 -32
- package/dist/{pairing-cli-X21P12hQ.js → pairing-cli-4FSBU8Yi.js} +14 -14
- package/dist/{pairing-labels-C6z5Se7D.js → pairing-labels-lMAKWEYR.js} +1 -1
- package/dist/{pairing-store-CDRFY4Im.js → pairing-store-BpSDb0uv.js} +2 -2
- package/dist/{path-env-L1E4WYFf.js → path-env-B1xMZ4TX.js} +1 -1
- package/dist/{pi-embedded-helpers-71Q-iWel.js → pi-embedded-helpers-1Nerrhel.js} +3 -3
- package/dist/{pi-tools.policy-cmbABdCb.js → pi-tools.policy-CGTDSyw9.js} +4 -4
- package/dist/{plugin-auto-enable-D7s42qD2.js → plugin-auto-enable-BmXyiOxr.js} +5 -5
- package/dist/{plugin-registry-Bmgy-TmY.js → plugin-registry-CoyvzIHK.js} +4 -4
- package/dist/plugin-sdk/index.js +7 -7
- package/dist/{plugins-cSbGtXOs.js → plugins-DUZvbUrn.js} +4 -4
- package/dist/{plugins-cli-BF-CMnKJ.js → plugins-cli-Kx3fmqnx.js} +40 -40
- package/dist/{ports-NqbesVgs.js → ports-RMh76QZ2.js} +2 -2
- package/dist/{program-Dqmian8C.js → program-BeNJeYp1.js} +9 -9
- package/dist/{progress-C4zhytko.js → progress-CIrle3FT.js} +1 -1
- package/dist/{prompt-style-B0ROR9f8.js → prompt-style-BJmW_JM3.js} +1 -1
- package/dist/{pw-ai-DgGJcT8E.js → pw-ai-CXf_puwX.js} +4 -4
- package/dist/{qmd-manager-LUpZ2S-X.js → qmd-manager-vudjJLyW.js} +4 -4
- package/dist/{register.subclis-DH9aXRTc.js → register.subclis-CSkIpsZh.js} +29 -29
- package/dist/{reply-Bayb4Xa-.js → reply-BViMU056.js} +41 -41
- package/dist/{routes-DnW56Cpl.js → routes-O9a-k9LQ.js} +5 -5
- package/dist/{rpc-CFkk_zAM.js → rpc-B-CECmlQ.js} +3 -3
- package/dist/{run-main-DjjuLkBo.js → run-main-DNU3WfHE.js} +80 -80
- package/dist/{runner-CDPB2-Ch.js → runner-DgS7zgC2.js} +9 -9
- package/dist/{sandbox-D_SfEEdG.js → sandbox-BCOmiLLk.js} +13 -13
- package/dist/{sandbox-cli-CJTD0KFO.js → sandbox-cli-Dyt6EDtm.js} +18 -18
- package/dist/{security-cli-BDxofz0Y.js → security-cli-1ePaupU-.js} +26 -26
- package/dist/{server-context-U3zls8JT.js → server-context-DziyNN8b.js} +6 -6
- package/dist/{server-node-events-Cb2orqA6.js → server-node-events-dp-FK0Ep.js} +38 -38
- package/dist/{service-BuNq2Dvl.js → service-CTrRN1-T.js} +2 -2
- package/dist/{service-audit-DMEbp3f_.js → service-audit-CN0kFCuS.js} +3 -3
- package/dist/{shared-D6Bk9Bjf.js → shared-18N_WkHM.js} +2 -2
- package/dist/{shared-DYnW5qTA.js → shared-DCuTTPOy.js} +3 -3
- package/dist/{skills-BYdhRZd_.js → skills-CtnLB14H.js} +5 -5
- package/dist/{skills-cli-C2cooYv3.js → skills-cli-7cS-5I5E.js} +12 -12
- package/dist/{skills-status-BpqSenkK.js → skills-status-PwtGQTh5.js} +3 -3
- package/dist/{status-DDw0ZW8w.js → status-DeODxjDw.js} +4 -4
- package/dist/{subsystem-D4OyiGBo.js → subsystem-RXphV8Xh.js} +2 -2
- package/dist/{system-cli-C8Rlxppe.js → system-cli-DZ_oiDAj.js} +14 -14
- package/dist/{systemd-CI9hbpxD.js → systemd-BuS1yu_z.js} +2 -2
- package/dist/{systemd-linger-Cto65QTt.js → systemd-linger-BLQwmm6k.js} +2 -2
- package/dist/{table-Cl7esQ2M.js → table-CgHdpI6b.js} +2 -2
- package/dist/{tailscale-CulyWb3U.js → tailscale-4hm01eUI.js} +2 -2
- package/dist/{tool-display-DHEtHsG4.js → tool-display-CZxQ9k3d.js} +1 -1
- package/dist/{tui-ootL5kF2.js → tui-9aUeGcxw.js} +10 -10
- package/dist/{tui-cli-CAmIJLTm.js → tui-cli-jnNwyt8M.js} +23 -23
- package/dist/{update-cli-DjIBLg9y.js → update-cli-B8LmPJLS.js} +61 -61
- package/dist/{update-CrMqDZfu.js → update-lJqXO4QP.js} +3 -3
- package/dist/{update-runner-DgGZvJFw.js → update-runner-DiMgtSWU.js} +7 -7
- package/dist/{utils-BvoNrTbV.js → utils-rBzA-VDv.js} +1 -1
- package/dist/{webhooks-cli-B7W8H10y.js → webhooks-cli-Bm-1FuyZ.js} +11 -11
- package/dist/{widearea-dns-B1MRR_UN.js → widearea-dns-DMja3M8B.js} +1 -1
- package/dist/{ws-log-CPZz8nBn.js → ws-log-BhaGKxqL.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as getChildLogger, c as defaultRuntime, m as info, x as success } from "./subsystem-
|
|
1
|
+
import { E as getChildLogger, c as defaultRuntime, m as info, x as success } from "./subsystem-RXphV8Xh.js";
|
|
2
2
|
import { m as resolveOAuthDir } from "./paths-VdmjGGyc.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DvA8Pdt6.js";
|
|
4
|
-
import { h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
4
|
+
import { h as resolveUserPath, u as jidToE164 } from "./utils-rBzA-VDv.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { T as theme, c as defaultRuntime } from "./subsystem-
|
|
1
|
+
import { T as theme, c as defaultRuntime } from "./subsystem-RXphV8Xh.js";
|
|
2
2
|
import "./paths-VdmjGGyc.js";
|
|
3
|
-
import "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./koi-scope-
|
|
6
|
-
import "./model-selection-
|
|
3
|
+
import "./utils-rBzA-VDv.js";
|
|
4
|
+
import "./exec-BE7MIgZB.js";
|
|
5
|
+
import "./koi-scope-Bhy7bqp7.js";
|
|
6
|
+
import "./model-selection-B2Qu7niX.js";
|
|
7
7
|
import "./dist-Ce-vdVvn.js";
|
|
8
8
|
import "./dist-cjs-DirCwS0D.js";
|
|
9
9
|
import "./boolean-Cf0nzYal.js";
|
|
10
|
-
import "./env-
|
|
10
|
+
import "./env-Bj0uZSiW.js";
|
|
11
11
|
import "./github-copilot-token-vwbChOko.js";
|
|
12
|
-
import { N as VERSION, o as loadConfig } from "./config-
|
|
13
|
-
import "./manifest-registry-
|
|
14
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
12
|
+
import { N as VERSION, o as loadConfig } from "./config-C_blrocr.js";
|
|
13
|
+
import "./manifest-registry-BM_kgwtA.js";
|
|
14
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
15
15
|
import "./device-identity-zXWmZUVz.js";
|
|
16
|
-
import { l as GatewayClient } from "./net-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import { t as formatDocsLink } from "./links-
|
|
19
|
-
import "./tailscale-
|
|
16
|
+
import { l as GatewayClient } from "./net-Cmh623y0.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-ByTcqcvV.js";
|
|
18
|
+
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
19
|
+
import "./tailscale-4hm01eUI.js";
|
|
20
20
|
import { t as isMainModule } from "./is-main-BmAsi6j8.js";
|
|
21
|
-
import { t as ensureSKYKOICliOnPath } from "./path-env-
|
|
22
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
21
|
+
import { t as ensureSKYKOICliOnPath } from "./path-env-B1xMZ4TX.js";
|
|
22
|
+
import { i as resolveGatewayAuth } from "./auth-DQvUzR68.js";
|
|
23
23
|
import { fileURLToPath } from "node:url";
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
import { Readable, Writable } from "node:stream";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { xt as require_inherits } from "./reply-
|
|
2
|
+
import { xt as require_inherits } from "./reply-BViMU056.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import * as tar from "tar";
|
|
@@ -1,24 +1,24 @@
|
|
|
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
|
-
import { n as runExec } from "./exec-
|
|
4
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
3
|
+
import { n as runExec } from "./exec-BE7MIgZB.js";
|
|
4
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-Bhy7bqp7.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
6
|
-
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-
|
|
7
|
-
import { a as MANIFEST_KEY } from "./manifest-registry-
|
|
8
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
9
|
-
import { $ as resolveSandboxToolPolicyForKoi, Z as resolveSandboxConfigForKoi, ot as resolveToolProfilePolicy } from "./sandbox-
|
|
10
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
11
|
-
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-
|
|
12
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
13
|
-
import { l as GatewayClient } from "./net-
|
|
14
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
15
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
16
|
-
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-
|
|
6
|
+
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-C_blrocr.js";
|
|
7
|
+
import { a as MANIFEST_KEY } from "./manifest-registry-BM_kgwtA.js";
|
|
8
|
+
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
9
|
+
import { $ as resolveSandboxToolPolicyForKoi, Z as resolveSandboxConfigForKoi, ot as resolveToolProfilePolicy } from "./sandbox-BCOmiLLk.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-CtnLB14H.js";
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-DziyNN8b.js";
|
|
12
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
13
|
+
import { l as GatewayClient } from "./net-Cmh623y0.js";
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-ByTcqcvV.js";
|
|
15
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BpSDb0uv.js";
|
|
16
|
+
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-CGTDSyw9.js";
|
|
17
17
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
18
18
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-WnNLktfw.js";
|
|
19
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
19
|
+
import { i as resolveGatewayAuth } from "./auth-DQvUzR68.js";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import JSON5 from "json5";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
@@ -829,7 +829,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
829
829
|
if (!rawText) continue;
|
|
830
830
|
const nestedParsed = (() => {
|
|
831
831
|
try {
|
|
832
|
-
return
|
|
832
|
+
return JSON5.parse(rawText);
|
|
833
833
|
} catch {
|
|
834
834
|
return null;
|
|
835
835
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as parseForwardedForClientIp, r as isTrustedProxyAddress, s as resolveGatewayClientIp } from "./net-
|
|
2
|
-
import { c as readTailscaleWhoisIdentity } from "./tailscale-
|
|
1
|
+
import { i as parseForwardedForClientIp, r as isTrustedProxyAddress, s as resolveGatewayClientIp } from "./net-Cmh623y0.js";
|
|
2
|
+
import { c as readTailscaleWhoisIdentity } from "./tailscale-4hm01eUI.js";
|
|
3
3
|
import { timingSafeEqual } from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/gateway/auth.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
3
|
-
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-
|
|
2
|
+
import { t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
3
|
+
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-DMja3M8B.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/bonjour-discovery.ts
|
|
6
6
|
var bonjour_discovery_exports = /* @__PURE__ */ __exportAll({ discoverGatewayBeacons: () => discoverGatewayBeacons });
|
package/dist/build-info.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
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
|
-
import { h as resolveUserPath, s as ensureDir, t as CONFIG_DIR, v as shortenHomeInString } from "./utils-
|
|
5
|
-
import { o as loadConfig } from "./config-
|
|
6
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
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-C_blrocr.js";
|
|
6
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CeYCOtod.js";
|
|
7
7
|
import { r as loadOrCreateDeviceIdentity } from "./device-identity-zXWmZUVz.js";
|
|
8
8
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DEIxPaFW.js";
|
|
9
|
-
import { Bt as normalizeFingerprint, Pt as PROTOCOL_VERSION, a as pickPrimaryLanIPv4, l as GatewayClient } from "./net-
|
|
9
|
+
import { Bt as normalizeFingerprint, Pt as PROTOCOL_VERSION, a as pickPrimaryLanIPv4, l as GatewayClient } from "./net-Cmh623y0.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { promisify } from "node:util";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
66f35bead0fa7eaed8d4387f6d94ec429be2db64cb566014cc53b83ff06bd2cb
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as CHAT_CHANNEL_ORDER } from "./subsystem-
|
|
2
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
3
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
4
|
-
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
1
|
+
import { M as CHAT_CHANNEL_ORDER } from "./subsystem-RXphV8Xh.js";
|
|
2
|
+
import { t as isTruthyEnvValue } from "./env-Bj0uZSiW.js";
|
|
3
|
+
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
4
|
+
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CoyvzIHK.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
2
|
-
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-
|
|
1
|
+
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
2
|
+
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-CeYCOtod.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/outbound/channel-selection.ts
|
|
5
5
|
const getMessageChannels = () => listDeliverableMessageChannels();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-
|
|
2
|
-
import { T as theme, V as getActivePluginRegistry } from "./subsystem-
|
|
1
|
+
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-1Nerrhel.js";
|
|
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 { H as listChannelDocks } from "./sandbox-
|
|
4
|
+
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, d as resolveConfiguredModelRef } from "./model-selection-B2Qu7niX.js";
|
|
5
|
+
import { o as loadConfig } from "./config-C_blrocr.js";
|
|
6
|
+
import { n as listChannelPlugins } from "./plugins-DUZvbUrn.js";
|
|
7
|
+
import { H as listChannelDocks } from "./sandbox-BCOmiLLk.js";
|
|
8
8
|
import { n as formatTokenCount } from "./usage-format-Bodo4xSf.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { Pn as createSlackWebClient, _t as formatUsageReportLines, bn as parseDiscordTarget, gt as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-
|
|
3
|
-
import { N as DEFAULT_CHAT_CHANNEL, O as getResolvedLoggerSettings, T as theme, c as defaultRuntime, p as danger, y as setVerbose } from "./subsystem-
|
|
1
|
+
import "./pi-embedded-helpers-1Nerrhel.js";
|
|
2
|
+
import { Pn as createSlackWebClient, _t as formatUsageReportLines, bn as parseDiscordTarget, gt as loadProviderUsageSummary, xn as fetchChannelPermissionsDiscord } from "./reply-BViMU056.js";
|
|
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
|
-
import "./utils-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
9
|
-
import { st as loadAuthProfileStore } from "./model-selection-
|
|
6
|
+
import "./utils-rBzA-VDv.js";
|
|
7
|
+
import "./exec-BE7MIgZB.js";
|
|
8
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-Bhy7bqp7.js";
|
|
9
|
+
import { st as loadAuthProfileStore } from "./model-selection-B2Qu7niX.js";
|
|
10
10
|
import "./dist-Ce-vdVvn.js";
|
|
11
11
|
import "./dist-cjs-DirCwS0D.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
13
13
|
import "./boolean-Cf0nzYal.js";
|
|
14
|
-
import "./env-
|
|
14
|
+
import "./env-Bj0uZSiW.js";
|
|
15
15
|
import "./github-copilot-token-vwbChOko.js";
|
|
16
|
-
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
19
|
-
import "./sandbox-
|
|
20
|
-
import "./image-
|
|
16
|
+
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-C_blrocr.js";
|
|
17
|
+
import "./manifest-registry-BM_kgwtA.js";
|
|
18
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DUZvbUrn.js";
|
|
19
|
+
import "./sandbox-BCOmiLLk.js";
|
|
20
|
+
import "./image-B551BV5h.js";
|
|
21
21
|
import "./dist-4p3Dftrr.js";
|
|
22
22
|
import "./lib-D5Ykvbqv.js";
|
|
23
23
|
import "./src-DPo7gLpE.js";
|
|
24
24
|
import "./core-CwxJUNZP.js";
|
|
25
25
|
import "./pi-model-discovery-BBsfBxi6.js";
|
|
26
|
-
import "./chrome-
|
|
27
|
-
import "./skills-
|
|
28
|
-
import "./routes-
|
|
29
|
-
import "./server-context-
|
|
30
|
-
import "./message-channel-
|
|
26
|
+
import "./chrome-CYjH7HBH.js";
|
|
27
|
+
import "./skills-CtnLB14H.js";
|
|
28
|
+
import "./routes-O9a-k9LQ.js";
|
|
29
|
+
import "./server-context-DziyNN8b.js";
|
|
30
|
+
import "./message-channel-CeYCOtod.js";
|
|
31
31
|
import "./logging-DhMPP27D.js";
|
|
32
|
-
import "./accounts-
|
|
32
|
+
import "./accounts-DsQ7CSeY.js";
|
|
33
33
|
import "./paths-tKN7Eof7.js";
|
|
34
34
|
import "./redact-CDPAzwi8.js";
|
|
35
|
-
import "./tool-display-
|
|
36
|
-
import "./deliver-
|
|
37
|
-
import "./dispatcher-
|
|
35
|
+
import "./tool-display-CZxQ9k3d.js";
|
|
36
|
+
import "./deliver-CJ2Pjcyz.js";
|
|
37
|
+
import "./dispatcher-jfUrueZo.js";
|
|
38
38
|
import "./dist-DUjL9oGZ.js";
|
|
39
|
-
import "./manager-
|
|
39
|
+
import "./manager-CdqSmO1V.js";
|
|
40
40
|
import "./sqlite-_-9SFPm5.js";
|
|
41
41
|
import "./warnings-cKNxF3D-.js";
|
|
42
42
|
import "./proxy-from-env-CBU662Ik.js";
|
|
43
|
-
import "./login-qr-
|
|
44
|
-
import { n as formatAge } from "./channel-summary-
|
|
43
|
+
import "./login-qr-ZIqZmEKc.js";
|
|
44
|
+
import { n as formatAge } from "./channel-summary-DjJ3lkCW.js";
|
|
45
45
|
import "./device-identity-zXWmZUVz.js";
|
|
46
|
-
import "./net-
|
|
47
|
-
import { n as callGateway } from "./call-
|
|
46
|
+
import "./net-Cmh623y0.js";
|
|
47
|
+
import { n as callGateway } from "./call-ByTcqcvV.js";
|
|
48
48
|
import "./koi-events-CA5YtglQ.js";
|
|
49
|
-
import "./pairing-store-
|
|
50
|
-
import { t as formatDocsLink } from "./links-
|
|
49
|
+
import "./pairing-store-BpSDb0uv.js";
|
|
50
|
+
import { t as formatDocsLink } from "./links-D5FJjx5x.js";
|
|
51
51
|
import { n as runCommandWithRuntime } from "./cli-utils-C1YHVD4o.js";
|
|
52
|
-
import { n as withProgress } from "./progress-
|
|
52
|
+
import { n as withProgress } from "./progress-CIrle3FT.js";
|
|
53
53
|
import "./node-pairing-BzdbhxdV.js";
|
|
54
|
-
import "./pi-tools.policy-
|
|
55
|
-
import "./prompt-style-
|
|
56
|
-
import "./pairing-labels-
|
|
54
|
+
import "./pi-tools.policy-CGTDSyw9.js";
|
|
55
|
+
import "./prompt-style-BJmW_JM3.js";
|
|
56
|
+
import "./pairing-labels-lMAKWEYR.js";
|
|
57
57
|
import "./satisfies-Bk0BrI13.js";
|
|
58
58
|
import "./session-cost-usage-CbribqqH.js";
|
|
59
|
-
import "./control-service-
|
|
60
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
59
|
+
import "./control-service-DnzgVIyk.js";
|
|
60
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-B5tUOB8t.js";
|
|
61
61
|
import "./event-log-DtrKraIx.js";
|
|
62
62
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BMifWcsO.js";
|
|
63
|
-
import "./note-
|
|
64
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
65
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
66
|
-
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-
|
|
67
|
-
import "./archive-
|
|
63
|
+
import "./note-CbRknFZ7.js";
|
|
64
|
+
import { t as createClackPrompter } from "./clack-prompter-BxHCh6Tn.js";
|
|
65
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-CIfa8_O4.js";
|
|
66
|
+
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BmXyiOxr.js";
|
|
67
|
+
import "./archive-CmNePh1p.js";
|
|
68
68
|
import "./skill-scanner-WnNLktfw.js";
|
|
69
|
-
import "./installs-
|
|
70
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
71
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
72
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
69
|
+
import "./installs-BXsWUAmH.js";
|
|
70
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-GKs-LbrV.js";
|
|
71
|
+
import { n as hasExplicitOptions } from "./plugin-registry-CoyvzIHK.js";
|
|
72
|
+
import { t as formatCliChannelOptions } from "./channel-options-DVdP4t4U.js";
|
|
73
73
|
import { t as buildChannelAccountSnapshot } from "./status-BA0KgRIG.js";
|
|
74
74
|
import { t as parseLogLine } from "./parse-log-line-Btq1hVHj.js";
|
|
75
75
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as warn, b as shouldLogVerbose, c as defaultRuntime, m as info, p as danger, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { b as sleep, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { a as logDebug, t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { S as warn, b as shouldLogVerbose, c as defaultRuntime, m as info, p as danger, t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
2
|
+
import { b as sleep, t as CONFIG_DIR } from "./utils-rBzA-VDv.js";
|
|
3
|
+
import { a as logDebug, t as runCommandWithTimeout } from "./exec-BE7MIgZB.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CvpDYKxh.js";
|
|
5
5
|
import { t as rawDataToString } from "./ws-BvAKhP5o.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as theme } from "./subsystem-
|
|
2
|
-
import { t as createCliProgress } from "./progress-
|
|
3
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
4
|
-
import { t as note$1 } from "./note-
|
|
1
|
+
import { T as theme } from "./subsystem-RXphV8Xh.js";
|
|
2
|
+
import { t as createCliProgress } from "./progress-CIrle3FT.js";
|
|
3
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BJmW_JM3.js";
|
|
4
|
+
import { t as note$1 } from "./note-CbRknFZ7.js";
|
|
5
5
|
import { t as WizardCancelledError } from "./prompts-DxnxCHKt.js";
|
|
6
6
|
import { cancel, confirm, intro, isCancel, multiselect, outro, select, spinner, text } from "@clack/prompts";
|
|
7
7
|
|
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-HYTNixC9.js";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { ht as loadSKYKOIPlugins } from "./reply-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import "./pi-embedded-helpers-1Nerrhel.js";
|
|
2
|
+
import { ht as loadSKYKOIPlugins } from "./reply-BViMU056.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-RXphV8Xh.js";
|
|
4
4
|
import "./paths-VdmjGGyc.js";
|
|
5
|
-
import "./utils-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-
|
|
8
|
-
import "./model-selection-
|
|
5
|
+
import "./utils-rBzA-VDv.js";
|
|
6
|
+
import "./exec-BE7MIgZB.js";
|
|
7
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-Bhy7bqp7.js";
|
|
8
|
+
import "./model-selection-B2Qu7niX.js";
|
|
9
9
|
import "./dist-Ce-vdVvn.js";
|
|
10
10
|
import "./dist-cjs-DirCwS0D.js";
|
|
11
11
|
import "./boolean-Cf0nzYal.js";
|
|
12
|
-
import "./env-
|
|
12
|
+
import "./env-Bj0uZSiW.js";
|
|
13
13
|
import "./github-copilot-token-vwbChOko.js";
|
|
14
|
-
import { o as loadConfig } from "./config-
|
|
15
|
-
import "./manifest-registry-
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./sandbox-
|
|
18
|
-
import "./image-
|
|
14
|
+
import { o as loadConfig } from "./config-C_blrocr.js";
|
|
15
|
+
import "./manifest-registry-BM_kgwtA.js";
|
|
16
|
+
import "./plugins-DUZvbUrn.js";
|
|
17
|
+
import "./sandbox-BCOmiLLk.js";
|
|
18
|
+
import "./image-B551BV5h.js";
|
|
19
19
|
import "./dist-4p3Dftrr.js";
|
|
20
20
|
import "./lib-D5Ykvbqv.js";
|
|
21
21
|
import "./src-DPo7gLpE.js";
|
|
22
22
|
import "./core-CwxJUNZP.js";
|
|
23
23
|
import "./pi-model-discovery-BBsfBxi6.js";
|
|
24
|
-
import "./chrome-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./routes-
|
|
27
|
-
import "./server-context-
|
|
28
|
-
import "./message-channel-
|
|
24
|
+
import "./chrome-CYjH7HBH.js";
|
|
25
|
+
import "./skills-CtnLB14H.js";
|
|
26
|
+
import "./routes-O9a-k9LQ.js";
|
|
27
|
+
import "./server-context-DziyNN8b.js";
|
|
28
|
+
import "./message-channel-CeYCOtod.js";
|
|
29
29
|
import "./logging-DhMPP27D.js";
|
|
30
|
-
import "./accounts-
|
|
30
|
+
import "./accounts-DsQ7CSeY.js";
|
|
31
31
|
import "./paths-tKN7Eof7.js";
|
|
32
32
|
import "./redact-CDPAzwi8.js";
|
|
33
|
-
import "./tool-display-
|
|
34
|
-
import "./deliver-
|
|
35
|
-
import "./dispatcher-
|
|
33
|
+
import "./tool-display-CZxQ9k3d.js";
|
|
34
|
+
import "./deliver-CJ2Pjcyz.js";
|
|
35
|
+
import "./dispatcher-jfUrueZo.js";
|
|
36
36
|
import "./dist-DUjL9oGZ.js";
|
|
37
|
-
import "./manager-
|
|
37
|
+
import "./manager-CdqSmO1V.js";
|
|
38
38
|
import "./sqlite-_-9SFPm5.js";
|
|
39
39
|
import "./warnings-cKNxF3D-.js";
|
|
40
40
|
import "./proxy-from-env-CBU662Ik.js";
|
|
41
|
-
import "./login-qr-
|
|
42
|
-
import "./channel-summary-
|
|
41
|
+
import "./login-qr-ZIqZmEKc.js";
|
|
42
|
+
import "./channel-summary-DjJ3lkCW.js";
|
|
43
43
|
import "./device-identity-zXWmZUVz.js";
|
|
44
|
-
import "./net-
|
|
45
|
-
import "./call-
|
|
44
|
+
import "./net-Cmh623y0.js";
|
|
45
|
+
import "./call-ByTcqcvV.js";
|
|
46
46
|
import "./koi-events-CA5YtglQ.js";
|
|
47
|
-
import "./pairing-store-
|
|
48
|
-
import "./links-
|
|
49
|
-
import "./progress-
|
|
47
|
+
import "./pairing-store-BpSDb0uv.js";
|
|
48
|
+
import "./links-D5FJjx5x.js";
|
|
49
|
+
import "./progress-CIrle3FT.js";
|
|
50
50
|
import "./node-pairing-BzdbhxdV.js";
|
|
51
|
-
import "./pi-tools.policy-
|
|
52
|
-
import "./prompt-style-
|
|
53
|
-
import "./pairing-labels-
|
|
51
|
+
import "./pi-tools.policy-CGTDSyw9.js";
|
|
52
|
+
import "./prompt-style-BJmW_JM3.js";
|
|
53
|
+
import "./pairing-labels-lMAKWEYR.js";
|
|
54
54
|
import "./satisfies-Bk0BrI13.js";
|
|
55
55
|
import "./session-cost-usage-CbribqqH.js";
|
|
56
|
-
import "./control-service-
|
|
57
|
-
import "./channel-selection-
|
|
56
|
+
import "./control-service-DnzgVIyk.js";
|
|
57
|
+
import "./channel-selection-B5tUOB8t.js";
|
|
58
58
|
import "./event-log-DtrKraIx.js";
|
|
59
59
|
|
|
60
60
|
//#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-CSkIpsZh.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { B as normalizeChatChannelId, j as CHANNEL_IDS } from "./subsystem-
|
|
2
|
+
import { B as normalizeChatChannelId, j as CHANNEL_IDS } from "./subsystem-RXphV8Xh.js";
|
|
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
|
-
import { h as resolveUserPath } from "./utils-
|
|
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-
|
|
8
|
-
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
5
|
+
import { h as resolveUserPath } from "./utils-rBzA-VDv.js";
|
|
6
|
+
import { l as resolveKoiWorkspaceDir, r as resolveDefaultKoiId } from "./koi-scope-Bhy7bqp7.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-B2Qu7niX.js";
|
|
8
|
+
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-BM_kgwtA.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import JSON5 from "json5";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import AjvModule from "ajv";
|
|
15
15
|
import crypto from "node:crypto";
|
|
@@ -712,7 +712,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
712
712
|
};
|
|
713
713
|
const defaultResolver = {
|
|
714
714
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
715
|
-
parseJson: (raw) =>
|
|
715
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
716
716
|
};
|
|
717
717
|
/**
|
|
718
718
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -4603,18 +4603,18 @@ function resolveConfigPathForDeps(deps) {
|
|
|
4603
4603
|
function normalizeDeps(overrides = {}) {
|
|
4604
4604
|
return {
|
|
4605
4605
|
fs: overrides.fs ?? fs,
|
|
4606
|
-
json5: overrides.json5 ??
|
|
4606
|
+
json5: overrides.json5 ?? JSON5,
|
|
4607
4607
|
env: overrides.env ?? process.env,
|
|
4608
4608
|
homedir: overrides.homedir ?? os.homedir,
|
|
4609
4609
|
configPath: overrides.configPath ?? "",
|
|
4610
4610
|
logger: overrides.logger ?? console
|
|
4611
4611
|
};
|
|
4612
4612
|
}
|
|
4613
|
-
function parseConfigJson5(raw, json5
|
|
4613
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
4614
4614
|
try {
|
|
4615
4615
|
return {
|
|
4616
4616
|
ok: true,
|
|
4617
|
-
parsed: json5
|
|
4617
|
+
parsed: json5.parse(raw)
|
|
4618
4618
|
};
|
|
4619
4619
|
} catch (err) {
|
|
4620
4620
|
return {
|