skykoi 2026.3.90 → 2026.3.92
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-FuOiTpwm.js → accounts-C7kM4YCx.js} +5 -5
- package/dist/{acp-cli-p24ciPAs.js → acp-cli-BknTBBcI.js} +20 -20
- package/dist/{agent-AJs_tCSD.js → agent-DxiVLxS0.js} +15 -15
- package/dist/{agent-scope-B5p1wjno.js → agent-scope-DrL2uTp9.js} +9 -7
- package/dist/{archive-COqGM1ul.js → archive-CwUX4il3.js} +1 -1
- package/dist/{audit-CnnYki6e.js → audit-BEEPWxXy.js} +18 -18
- package/dist/{auth-BPz5au25.js → auth-DN9iwG98.js} +2 -2
- package/dist/{auth-health-BNO_ogOo.js → auth-health-C8j09v90.js} +1 -1
- package/dist/{bonjour-discovery-Cu1kgrsm.js → bonjour-discovery-DF5ll51G.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/{call-2MySH6mF.js → call-BT4h4FFm.js} +12 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BZcDLV0T.js → channel-options-DI1lXlNK.js} +5 -5
- package/dist/{channel-selection-BE5_1zrv.js → channel-selection-BZvCBj33.js} +2 -2
- package/dist/{channel-summary-CmuYeW3q.js → channel-summary-CGvh6HuT.js} +8 -8
- package/dist/{channels-cli-CYl2jFiL.js → channels-cli-D1UW-HMv.js} +56 -56
- package/dist/{channels-status-issues-B4S9_HgZ.js → channels-status-issues-BaXwaWXv.js} +1 -1
- package/dist/{chrome-CKj-JW7a.js → chrome-BVDTc1bG.js} +9 -9
- package/dist/{clack-prompter-C5sZbzQn.js → clack-prompter-D03d7Olp.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BK5W1CDa.js → cli-Cokc7FX7.js} +45 -45
- package/dist/{completion-cli-TnuYDG_e.js → completion-cli-B2FZlLTE.js} +3 -3
- package/dist/{config-C2wpWUY6.js → config-9HrG2o2n.js} +10 -10
- package/dist/{config-guard-JS8GSw4f.js → config-guard-B_vYKlsi.js} +41 -41
- package/dist/{configure-DVi8UizW.js → configure-BZ625PeT.js} +19 -19
- package/dist/{control-service-DhoyaAFU.js → control-service-BDK31ulX.js} +5 -5
- package/dist/{cron-cli-DX9A4m7I.js → cron-cli-DG47i3og.js} +21 -21
- package/dist/{daemon-cli-GP6FPvjV.js → daemon-cli-CClKuKDl.js} +18 -18
- package/dist/{daemon-runtime-CU5XrhJe.js → daemon-runtime-Cjd-rzl-.js} +3 -3
- package/dist/{deliver-U_0Cs5TR.js → deliver-C04W5B6d.js} +9 -9
- package/dist/{deps-DLvcdm1f.js → deps-D7589aUm.js} +2 -2
- package/dist/{device-identity-mXt1sYYl.js → device-identity-BRDqGqU6.js} +2 -2
- package/dist/{devices-cli-B93QCTE4.js → devices-cli-1vQMuDdB.js} +17 -17
- package/dist/{directory-cli-DYTvcvQ1.js → directory-cli-DzdVkZ-Q.js} +18 -18
- package/dist/{dispatcher-Bj8QGNoF.js → dispatcher--VfuFHUZ.js} +2 -2
- package/dist/{dist-DF-22Hwd.js → dist-CWCwOtZb.js} +8 -8
- package/dist/{dist-CePY-fB6.js → dist-DkR92v7q.js} +1 -1
- package/dist/{dns-cli-B21THpvK.js → dns-cli-BfSPsecr.js} +15 -15
- package/dist/{docs-cli-wRx8E-yg.js → docs-cli-iIS8zYaj.js} +9 -9
- package/dist/{doctor-JM6LMl5M.js → doctor-C0KGGHEo.js} +38 -38
- package/dist/{dotenv-CercT44r.js → dotenv-DlZCd7a6.js} +2 -2
- package/dist/entry.js +5 -5
- package/dist/{env-C-7KwGiU.js → env-EjmWoVFM.js} +1 -1
- package/dist/{exec-B_35B71R.js → exec-CToLomNk.js} +2 -2
- package/dist/{exec-approvals-cli-BZ5hlmwr.js → exec-approvals-cli-BiHJhSyz.js} +24 -24
- package/dist/{exec-approvals-evaluate-C6yTjPvR.js → exec-approvals-evaluate-ClJ31FGw.js} +3 -3
- package/dist/{exec-approvals-io-u6NQvf8U.js → exec-approvals-io-BnelJZN_.js} +3 -3
- package/dist/extension-api.js +58 -0
- package/dist/{from-DXGXr4ae.js → from-CuSFaKAS.js} +1 -1
- package/dist/{gateway-cli-Dz8_8dlD.js → gateway-cli-CuXMNzUx.js} +311 -364
- package/dist/{gateway-rpc-CRSvCiNP.js → gateway-rpc-CO4ZKF3u.js} +3 -3
- package/dist/{github-copilot-auth-Z4p7wkY1.js → github-copilot-auth-BfKh2PS7.js} +16 -13
- package/dist/{github-copilot-token-BTWyTrPm.js → github-copilot-token-CaxbHIMu.js} +2 -2
- package/dist/{gmail-setup-utils-Bb4ST1ju.js → gmail-setup-utils-BUClTRiB.js} +5 -5
- package/dist/{health-format-CK64USWU.js → health-format-BRO6ZdSV.js} +17 -17
- package/dist/{help-format-iaXRqfHn.js → help-format-rUxU9jE_.js} +1 -1
- package/dist/{helpers-BE42LzRy.js → helpers-Ccy5jhZP.js} +1 -1
- package/dist/{hooks-cli-CwR6tHNV.js → hooks-cli-Bp8UYOf7.js} +51 -51
- package/dist/{hooks-status-D6hKeShQ.js → hooks-status-C1k8_Ivg.js} +8 -6
- package/dist/{image-Cek_qDp6.js → image-DzK79W-h.js} +8 -7
- package/dist/index.js +90 -90
- package/dist/{installs-CnnUaoZZ.js → installs-BjC_GfUD.js} +5 -5
- package/dist/{is-main-CygCgnoD.js → is-main-DY9Hjhai.js} +1 -1
- package/dist/{links-C5Jgyhc1.js → links-yjT27ApF.js} +1 -1
- package/dist/{logging-WTMbld2e.js → logging-B818ac7o.js} +2 -2
- package/dist/{login-qr-BpWnk-U2.js → login-qr-CfZRpSSs.js} +8 -8
- package/dist/{logs-cli-Fb7o6wAJ.js → logs-cli-BZSWLQj2.js} +18 -18
- package/dist/{manager-D2DpUDG6.js → manager-BhzQxmMw.js} +517 -613
- package/dist/{manifest-registry-D3qryfGL.js → manifest-registry-5tS0nRed.js} +2 -2
- package/dist/{message-channel-CFYHB1nx.js → message-channel-BZ1-fnVX.js} +1 -1
- package/dist/{model-selection-BxjAmmba.js → model-selection-DAS8gHms.js} +31 -26
- package/dist/{models-cli-Df679Sau.js → models-cli-DM9BQPxN.js} +51 -51
- package/dist/{multipart-parser-Dg1r3DHV.js → multipart-parser-D7_Kvamw.js} +1 -1
- package/dist/{net-B79W60ZW.js → net-CKUNpOoC.js} +6 -6
- package/dist/{node-cli-Dl1vWueg.js → node-cli-BZWgAKmo.js} +27 -27
- package/dist/{node-pairing-Byda1sVK.js → node-pairing-DCA74hZ7.js} +53 -37
- package/dist/{node-service-CYKVSvjk.js → node-service-CdjRxBgz.js} +1 -1
- package/dist/{nodes-cli-BibgyU06.js → nodes-cli-BOGMMWRX.js} +21 -21
- package/dist/{nodes-screen-BQdopY6w.js → nodes-screen-DG5UijLH.js} +1 -1
- package/dist/{note-DxURxjsa.js → note-ty8fydmp.js} +2 -2
- package/dist/{onboard-channels-DCJOq2Vd.js → onboard-channels-Bqn0nVg_.js} +10 -10
- package/dist/{onboard-skills-DKJ-VDFd.js → onboard-skills-DgUFCyHf.js} +15 -15
- package/dist/{onboarding-Dp6fzCUj.js → onboarding-VdNWx4R1.js} +39 -39
- package/dist/{pairing-cli-CCbql2GX.js → pairing-cli-BPaDT1GP.js} +17 -17
- package/dist/{pairing-labels-PosMwdEq.js → pairing-labels-IF24P3jx.js} +1 -1
- package/dist/{pairing-store-D5BTRsqd.js → pairing-store-BNqtYtuP.js} +5 -11
- package/dist/{path-env-CDkQAr1e.js → path-env-DsAko5OY.js} +4 -4
- package/dist/{paths-Bjb9n4L_.js → paths-CAvRsPIf.js} +3 -3
- package/dist/{paths-BP5k1v-m.js → paths-DcA9-j8b.js} +2 -2
- package/dist/{pi-embedded-helpers-BciMCtA1.js → pi-embedded-helpers-ceEtRKcD.js} +6 -5
- package/dist/{pi-model-discovery-BsxAE0G4.js → pi-model-discovery-CrQpoFSQ.js} +1 -1
- package/dist/{pi-tools.policy-BRU9PeSl.js → pi-tools.policy-haw-j8wY.js} +5 -5
- package/dist/{plugin-auto-enable-Dt3oMznN.js → plugin-auto-enable-5KyNn7n8.js} +6 -6
- package/dist/{plugin-registry-CnaEFocd.js → plugin-registry-5qpwJA3E.js} +4 -4
- package/dist/plugin-sdk/gateway/mesh/peer-manager.d.ts +2 -0
- package/dist/plugin-sdk/index.js +188 -134
- package/dist/plugin-sdk/infra/json-store.d.ts +15 -0
- package/dist/plugin-sdk/line/bot-handlers.d.ts +2 -2
- package/dist/plugin-sdk/line/bot.d.ts +4 -4
- package/dist/plugin-sdk/line/flex-templates.d.ts +4 -4
- package/dist/plugin-sdk/line/markdown-to-line.d.ts +8 -8
- package/dist/plugin-sdk/line/monitor.d.ts +4 -4
- package/dist/plugin-sdk/line/types.d.ts +14 -14
- package/dist/plugin-sdk/line/webhook.d.ts +4 -4
- package/dist/plugin-sdk/memory/batch-embedding-pipeline.d.ts +56 -0
- package/dist/plugin-sdk/{pi-model-discovery-YfDsIeTb.js → pi-model-discovery-BxgZV_u1.js} +4 -4
- package/dist/plugin-sdk/utils.d.ts +9 -0
- package/dist/{plugins-BxfvPb85.js → plugins-CvpPbUcD.js} +5 -5
- package/dist/{plugins-cli-DRxesEkl.js → plugins-cli-M54_Y826.js} +51 -51
- package/dist/{ports-_xuvA1tL.js → ports-CCPpWmHD.js} +2 -2
- package/dist/{program-CL3NMW-a.js → program-DB6bKRW8.js} +9 -9
- package/dist/{progress-CYEl7n7j.js → progress-C_FQJYVr.js} +1 -1
- package/dist/{prompt-style-CRr7-VZW.js → prompt-style-DjEIdF58.js} +1 -1
- package/dist/{pw-ai-DeetJxIQ.js → pw-ai-CmeZhftP.js} +10 -8
- package/dist/{qmd-manager-DnjoZrLB.js → qmd-manager-Dt6j5Vw2.js} +10 -10
- package/dist/{register.subclis-C1Lj_BRD.js → register.subclis-L-0VCsxM.js} +29 -29
- package/dist/{reply-CmvRZtRF.js → reply-FlSo_-OX.js} +151 -160
- package/dist/{routes-BAnmPBBV.js → routes-DBPIs_H5.js} +7 -7
- package/dist/{rpc-eWiIU6bd.js → rpc-W0cF137T.js} +3 -3
- package/dist/{run-main-ogdSKEbz.js → run-main-BJk-dDKs.js} +91 -91
- package/dist/{runner-DCeMiiQJ.js → runner-D-HQ2y86.js} +16 -15
- package/dist/{sandbox-DrC0C0A0.js → sandbox-D1l9c8hk.js} +20 -20
- package/dist/{sandbox-cli-BNkwcBMo.js → sandbox-cli-CkEnSXSU.js} +24 -24
- package/dist/{security-cli-Dwp2y3de.js → security-cli-BkI-yhMd.js} +31 -31
- package/dist/{server-context-Mxz82xGQ.js → server-context-CejBz66L.js} +10 -9
- package/dist/{server-node-events-T-b_jOlP.js → server-node-events-DKu1Ebih.js} +49 -49
- package/dist/{service-BjIFR1yr.js → service-Fxlow9XO.js} +3 -3
- package/dist/{service-audit-COQtLW0D.js → service-audit-BBKQ6NL-.js} +4 -4
- package/dist/{session-cost-usage-DqeCP5Dw.js → session-cost-usage-BCDbst6m.js} +2 -2
- package/dist/{shared-DH9vM543.js → shared-32F_rZjy.js} +3 -3
- package/dist/{shared-D93xbHrN.js → shared-vW-rMMy7.js} +2 -2
- package/dist/{skills--SlpMq6J.js → skills-CKx3f-K7.js} +9 -9
- package/dist/{skills-cli-CYcjak_d.js → skills-cli-DbkeuOGj.js} +16 -16
- package/dist/{skills-status-CjqwgzJc.js → skills-status-BimvAz-k.js} +4 -4
- package/dist/{skykoi-root-CvXJBE1d.js → skykoi-root-BcOj1-eE.js} +1 -1
- package/dist/{sqlite-CovqN9EA.js → sqlite-CfeN617j.js} +1 -1
- package/dist/{sqlite-vec-BTkNU5WT.js → sqlite-vec-D7vSmENv.js} +1 -1
- package/dist/{src-DwVuQi2w.js → src-DN4v8ovw.js} +2 -2
- package/dist/{status-CmTm-_kW.js → status-DQaL_m6W.js} +4 -4
- package/dist/{subsystem-B6KC_eUM.js → subsystem-Dl1sS5S-.js} +173 -173
- package/dist/{system-cli-4r3D0KLd.js → system-cli-CX_t3QCA.js} +18 -18
- package/dist/{systemd-DFToXSqn.js → systemd-BTcdURXT.js} +4 -4
- package/dist/{systemd-linger-wMB81VZP.js → systemd-linger-BSA8MnYc.js} +2 -2
- package/dist/{table-SxtrAX1l.js → table-BuHjFIeu.js} +2 -2
- package/dist/{tailscale-1kVKif-y.js → tailscale-CW2aNYJ9.js} +2 -2
- package/dist/{tool-display-DoOde1O2.js → tool-display-CTp5FM9Y.js} +1 -1
- package/dist/{tui-BBfGGc7v.js → tui-JkYQWRgq.js} +14 -13
- package/dist/{tui-cli-CIR1_cBV.js → tui-cli-BtwKlW2o.js} +29 -29
- package/dist/{update-C3478OFg.js → update-9pzwg2aV.js} +3 -3
- package/dist/{update-cli-Bcc6WqMM.js → update-cli-tvRoq2b0.js} +73 -73
- package/dist/{update-runner-BT2z6HdM.js → update-runner-p6x8CBa0.js} +9 -9
- package/dist/{utils-CV3CeN0V.js → utils-DIctjiBL.js} +39 -5
- package/dist/{webhooks-cli-BgHrG9V-.js → webhooks-cli-Ic5hJzL_.js} +15 -15
- package/dist/{widearea-dns-BwSH4u_0.js → widearea-dns-C09wbKzV.js} +3 -3
- package/dist/{ws-log-DK217_XB.js → ws-log-NQGsvlnZ.js} +2 -2
- package/package.json +1 -1
- package/dist/extensionAPI.js +0 -58
- package/dist/{brew-CVZkr0GU.js → brew-C3EWd0g3.js} +2 -2
- /package/dist/{session-key-DrNCyvP1.js → session-key-hGS8_hRJ.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
5
|
-
import path from "node:path";
|
|
1
|
+
import { E as getChildLogger, c as defaultRuntime, m as info, x as success } from "./subsystem-Dl1sS5S-.js";
|
|
2
|
+
import { m as resolveOAuthDir } from "./paths-DcA9-j8b.js";
|
|
3
|
+
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
4
|
+
import { h as resolveUserPath, u as jidToE164 } from "./utils-DIctjiBL.js";
|
|
6
5
|
import fs from "node:fs";
|
|
6
|
+
import path from "node:path";
|
|
7
7
|
import fs$1 from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/web/auth-store.ts
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./dist-
|
|
1
|
+
import { T as theme, c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
2
|
+
import "./paths-DcA9-j8b.js";
|
|
3
|
+
import "./utils-DIctjiBL.js";
|
|
4
|
+
import "./exec-CToLomNk.js";
|
|
5
|
+
import "./agent-scope-DrL2uTp9.js";
|
|
6
|
+
import "./model-selection-DAS8gHms.js";
|
|
7
|
+
import "./dist-DkR92v7q.js";
|
|
8
8
|
import "./dist-cjs-vIqfUy0J.js";
|
|
9
9
|
import "./boolean-BPuCRXGV.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import "./github-copilot-token-
|
|
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-
|
|
15
|
-
import "./device-identity-
|
|
16
|
-
import { l as GatewayClient } from "./net-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import { t as formatDocsLink } from "./links-
|
|
19
|
-
import "./tailscale-
|
|
20
|
-
import { t as isMainModule } from "./is-main-
|
|
21
|
-
import { t as ensureSKYKOICliOnPath } from "./path-env-
|
|
22
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
10
|
+
import "./env-EjmWoVFM.js";
|
|
11
|
+
import "./github-copilot-token-CaxbHIMu.js";
|
|
12
|
+
import { N as VERSION, o as loadConfig } from "./config-9HrG2o2n.js";
|
|
13
|
+
import "./manifest-registry-5tS0nRed.js";
|
|
14
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BZ1-fnVX.js";
|
|
15
|
+
import "./device-identity-BRDqGqU6.js";
|
|
16
|
+
import { l as GatewayClient } from "./net-CKUNpOoC.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-BT4h4FFm.js";
|
|
18
|
+
import { t as formatDocsLink } from "./links-yjT27ApF.js";
|
|
19
|
+
import "./tailscale-CW2aNYJ9.js";
|
|
20
|
+
import { t as isMainModule } from "./is-main-DY9Hjhai.js";
|
|
21
|
+
import { t as ensureSKYKOICliOnPath } from "./path-env-DsAko5OY.js";
|
|
22
|
+
import { i as resolveGatewayAuth } from "./auth-DN9iwG98.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,19 +1,19 @@
|
|
|
1
|
-
import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-
|
|
2
|
-
import { Bt as getRemoteSkillEligibility, Cn as AGENT_LANE_NESTED, Kt as getSkillsSnapshotVersion, L as runWithModelFallback, Lr as resolveAgentTimeoutMs, M as resolveOutboundTarget, N as resolveSessionDeliveryTarget, On as registerAgentRunContext, Sr as loadModelCatalog, Tn as emitAgentEvent, _r as applyVerboseOverride, c as runEmbeddedPiAgent, gr as applyModelOverrideToSessionEntry, hr as clearSessionAuthProfileOverride, i as runCliAgent, mr as lookupContextTokens, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, wn as clearAgentRunContext } from "./reply-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-
|
|
6
|
-
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, h as resolveThinkingDefault, o as modelKey, ot as ensureAuthProfileStore, t as buildAllowedModelSet, xt as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
1
|
+
import { H as normalizeThinkLevel, I as formatThinkingLevels, K as supportsXHighThinking, L as formatXHighModelHint, W as normalizeVerboseLevel } from "./pi-embedded-helpers-ceEtRKcD.js";
|
|
2
|
+
import { Bt as getRemoteSkillEligibility, Cn as AGENT_LANE_NESTED, Kt as getSkillsSnapshotVersion, L as runWithModelFallback, Lr as resolveAgentTimeoutMs, M as resolveOutboundTarget, N as resolveSessionDeliveryTarget, On as registerAgentRunContext, Sr as loadModelCatalog, Tn as emitAgentEvent, _r as applyVerboseOverride, c as runEmbeddedPiAgent, gr as applyModelOverrideToSessionEntry, hr as clearSessionAuthProfileOverride, i as runCliAgent, mr as lookupContextTokens, n as getCliSessionId, o as resolveSendPolicy, r as setCliSessionId, wn as clearAgentRunContext } from "./reply-FlSo_-OX.js";
|
|
3
|
+
import { N as DEFAULT_CHAT_CHANNEL, c as defaultRuntime } from "./subsystem-Dl1sS5S-.js";
|
|
4
|
+
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-hGS8_hRJ.js";
|
|
5
|
+
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-DrL2uTp9.js";
|
|
6
|
+
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, h as resolveThinkingDefault, o as modelKey, ot as ensureAuthProfileStore, t as buildAllowedModelSet, xt as DEFAULT_CONTEXT_TOKENS } from "./model-selection-DAS8gHms.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BxjVkF35.js";
|
|
8
|
-
import { o as loadConfig } from "./config-
|
|
9
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { A as resolveSessionResetPolicy, D as resolveSessionKey, I as resolveExplicitAgentSessionKey, O as evaluateSessionFreshness, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, j as resolveSessionResetType, k as resolveChannelResetConfig } from "./sandbox-
|
|
11
|
-
import { r as buildWorkspaceSkillSnapshot } from "./skills
|
|
12
|
-
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
13
|
-
import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-
|
|
14
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
-
import { l as hasNonzeroUsage } from "./session-cost-usage-
|
|
16
|
-
import { t as createDefaultDeps } from "./deps-
|
|
8
|
+
import { o as loadConfig } from "./config-9HrG2o2n.js";
|
|
9
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CvpPbUcD.js";
|
|
10
|
+
import { A as resolveSessionResetPolicy, D as resolveSessionKey, I as resolveExplicitAgentSessionKey, O as evaluateSessionFreshness, T as normalizeAccountId, d as loadSessionStore, g as updateSessionStore, j as resolveSessionResetType, k as resolveChannelResetConfig } from "./sandbox-D1l9c8hk.js";
|
|
11
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-CKx3f-K7.js";
|
|
12
|
+
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BZ1-fnVX.js";
|
|
13
|
+
import { n as resolveSessionFilePath, o as resolveStorePath } from "./paths-CAvRsPIf.js";
|
|
14
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-C04W5B6d.js";
|
|
15
|
+
import { l as hasNonzeroUsage } from "./session-cost-usage-BCDbst6m.js";
|
|
16
|
+
import { t as createDefaultDeps } from "./deps-D7589aUm.js";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
2
|
+
import { g as resolveStateDir } from "./paths-DcA9-j8b.js";
|
|
3
|
+
import { _ as isSubagentSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, v as parseAgentSessionKey } from "./session-key-hGS8_hRJ.js";
|
|
4
|
+
import { h as resolveUserPath } from "./utils-DIctjiBL.js";
|
|
5
|
+
import { t as runCommandWithTimeout } from "./exec-CToLomNk.js";
|
|
6
|
+
import { t as resolveSKYKOIPackageRoot } from "./skykoi-root-BcOj1-eE.js";
|
|
6
7
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
+
import os from "node:os";
|
|
9
10
|
import fs from "node:fs/promises";
|
|
10
11
|
|
|
11
12
|
//#region src/agents/workspace-templates.ts
|
|
@@ -271,6 +272,7 @@ function filterBootstrapFilesForSession(files, sessionKey) {
|
|
|
271
272
|
* workspace, skills, sandbox), and determines filesystem paths for
|
|
272
273
|
* agent workspaces and data directories.
|
|
273
274
|
*/
|
|
275
|
+
const log = createSubsystemLogger("agents/agent-scope");
|
|
274
276
|
let defaultAgentWarned = false;
|
|
275
277
|
function listAgents(cfg) {
|
|
276
278
|
const list = cfg.agents?.list;
|
|
@@ -298,7 +300,7 @@ function resolveDefaultAgentId(cfg) {
|
|
|
298
300
|
const defaults = agents.filter((agent) => agent?.default);
|
|
299
301
|
if (defaults.length > 1 && !defaultAgentWarned) {
|
|
300
302
|
defaultAgentWarned = true;
|
|
301
|
-
|
|
303
|
+
log.warn("Multiple agents marked default=true; using the first entry as default.");
|
|
302
304
|
}
|
|
303
305
|
const chosen = (defaults[0] ?? agents[0])?.id?.trim();
|
|
304
306
|
return normalizeAgentId(chosen || DEFAULT_AGENT_ID);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import { gt as require_inherits } from "./reply-
|
|
2
|
+
import { gt as require_inherits } from "./reply-FlSo_-OX.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import * as tar from "tar";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-
|
|
2
|
-
import { l as normalizeAgentId } from "./session-key-
|
|
3
|
-
import { n as runExec } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-DcA9-j8b.js";
|
|
2
|
+
import { l as normalizeAgentId } from "./session-key-hGS8_hRJ.js";
|
|
3
|
+
import { n as runExec } from "./exec-CToLomNk.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DrL2uTp9.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BxjVkF35.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 resolveSandboxToolPolicyForAgent, Z as resolveSandboxConfigForAgent, 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-
|
|
17
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
6
|
+
import { O as INCLUDE_KEY, a as createConfigIO, k as MAX_INCLUDE_DEPTH } from "./config-9HrG2o2n.js";
|
|
7
|
+
import { a as MANIFEST_KEY } from "./manifest-registry-5tS0nRed.js";
|
|
8
|
+
import { n as listChannelPlugins } from "./plugins-CvpPbUcD.js";
|
|
9
|
+
import { $ as resolveSandboxToolPolicyForAgent, Z as resolveSandboxConfigForAgent, ot as resolveToolProfilePolicy } from "./sandbox-D1l9c8hk.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-CKx3f-K7.js";
|
|
11
|
+
import { a as resolveProfile, i as resolveBrowserConfig } from "./server-context-CejBz66L.js";
|
|
12
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BZ1-fnVX.js";
|
|
13
|
+
import { l as GatewayClient } from "./net-CKUNpOoC.js";
|
|
14
|
+
import { t as buildGatewayConnectionDetails } from "./call-BT4h4FFm.js";
|
|
15
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BNqtYtuP.js";
|
|
16
|
+
import { c as resolveNativeSkillsEnabled, n as isToolAllowedByPolicies, s as resolveNativeCommandsEnabled } from "./pi-tools.policy-haw-j8wY.js";
|
|
17
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
18
18
|
import { t as scanDirectoryWithSummary } from "./skill-scanner-BapBkMb3.js";
|
|
19
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
20
|
-
import os from "node:os";
|
|
19
|
+
import { i as resolveGatewayAuth } from "./auth-DN9iwG98.js";
|
|
21
20
|
import path from "node:path";
|
|
22
21
|
import JSON5 from "json5";
|
|
22
|
+
import os from "node:os";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
|
|
@@ -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-CKUNpOoC.js";
|
|
2
|
+
import { c as readTailscaleWhoisIdentity } from "./tailscale-CW2aNYJ9.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-CToLomNk.js";
|
|
3
|
+
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-C09wbKzV.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,15 +1,16 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-D_gEzPfs.js";
|
|
2
|
-
import {
|
|
3
|
-
import { g as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-Dl1sS5S-.js";
|
|
3
|
+
import { g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-DcA9-j8b.js";
|
|
4
|
+
import { h as resolveUserPath, s as ensureDir, t as CONFIG_DIR, v as shortenHomeInString } from "./utils-DIctjiBL.js";
|
|
5
|
+
import { o as loadConfig } from "./config-9HrG2o2n.js";
|
|
6
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BZ1-fnVX.js";
|
|
7
|
+
import { r as loadOrCreateDeviceIdentity } from "./device-identity-BRDqGqU6.js";
|
|
7
8
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-RCC3zelV.js";
|
|
8
|
-
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-CKUNpOoC.js";
|
|
9
10
|
import path from "node:path";
|
|
11
|
+
import { promisify } from "node:util";
|
|
10
12
|
import fs from "node:fs/promises";
|
|
11
13
|
import { execFile } from "node:child_process";
|
|
12
|
-
import { promisify } from "node:util";
|
|
13
14
|
import { X509Certificate, randomUUID } from "node:crypto";
|
|
14
15
|
|
|
15
16
|
//#region src/infra/tls/gateway.ts
|
|
@@ -130,6 +131,7 @@ var call_exports = /* @__PURE__ */ __exportAll({
|
|
|
130
131
|
resolveDiscoveryUrl: () => resolveDiscoveryUrl,
|
|
131
132
|
resolveExplicitGatewayAuth: () => resolveExplicitGatewayAuth
|
|
132
133
|
});
|
|
134
|
+
const log = createSubsystemLogger("gateway/call");
|
|
133
135
|
async function resolveDiscoveryUrl(discoveryUrl, token) {
|
|
134
136
|
try {
|
|
135
137
|
const headers = { "Accept": "application/json" };
|
|
@@ -139,12 +141,12 @@ async function resolveDiscoveryUrl(discoveryUrl, token) {
|
|
|
139
141
|
signal: AbortSignal.timeout(1e4)
|
|
140
142
|
});
|
|
141
143
|
if (!res.ok) {
|
|
142
|
-
|
|
144
|
+
log.error(`[discovery] HTTP ${res.status} from ${discoveryUrl}`);
|
|
143
145
|
return null;
|
|
144
146
|
}
|
|
145
147
|
const data = await res.json();
|
|
146
148
|
if (!data.available) {
|
|
147
|
-
|
|
149
|
+
log.warn(`[discovery] not available: ${String(data.reason) || "unknown"}`);
|
|
148
150
|
return null;
|
|
149
151
|
}
|
|
150
152
|
return {
|
|
@@ -154,7 +156,7 @@ async function resolveDiscoveryUrl(discoveryUrl, token) {
|
|
|
154
156
|
token: typeof data.token === "string" ? data.token : void 0
|
|
155
157
|
};
|
|
156
158
|
} catch (err) {
|
|
157
|
-
|
|
159
|
+
log.error(`[discovery] failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
158
160
|
return null;
|
|
159
161
|
}
|
|
160
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6b47dd83f1aea1ea9a42e13b628f28e40574669a0a7cadcb29998fcd79e6ae67
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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-Dl1sS5S-.js";
|
|
2
|
+
import { t as isTruthyEnvValue } from "./env-EjmWoVFM.js";
|
|
3
|
+
import { n as listChannelPlugins } from "./plugins-CvpPbUcD.js";
|
|
4
|
+
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-5KyNn7n8.js";
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-5qpwJA3E.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-CvpPbUcD.js";
|
|
2
|
+
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-BZ1-fnVX.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/outbound/channel-selection.ts
|
|
5
5
|
const getMessageChannels = () => listDeliverableMessageChannels();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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-
|
|
1
|
+
import { g as formatRawAssistantErrorForUi, z as listThinkingLevels } from "./pi-embedded-helpers-ceEtRKcD.js";
|
|
2
|
+
import { T as theme, V as getActivePluginRegistry } from "./subsystem-Dl1sS5S-.js";
|
|
3
|
+
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
4
|
+
import { Ct as DEFAULT_PROVIDER, St as DEFAULT_MODEL, d as resolveConfiguredModelRef } from "./model-selection-DAS8gHms.js";
|
|
5
|
+
import { o as loadConfig } from "./config-9HrG2o2n.js";
|
|
6
|
+
import { n as listChannelPlugins } from "./plugins-CvpPbUcD.js";
|
|
7
|
+
import { H as listChannelDocks } from "./sandbox-D1l9c8hk.js";
|
|
8
8
|
import { n as formatTokenCount } from "./usage-format-BYNuOtlk.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
|
-
import path from "node:path";
|
|
11
10
|
import fs from "node:fs";
|
|
11
|
+
import path from "node:path";
|
|
12
12
|
|
|
13
13
|
//#region src/auto-reply/commands-args.ts
|
|
14
14
|
function normalizeArgValue(value) {
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import "./pi-embedded-helpers-
|
|
2
|
-
import { Mn as createSlackWebClient, dt as loadProviderUsageSummary, ft as formatUsageReportLines, gn as fetchChannelPermissionsDiscord, hn as parseDiscordTarget } from "./reply-
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./utils-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
9
|
-
import { st as loadAuthProfileStore } from "./model-selection-
|
|
10
|
-
import "./dist-
|
|
1
|
+
import "./pi-embedded-helpers-ceEtRKcD.js";
|
|
2
|
+
import { Mn as createSlackWebClient, dt as loadProviderUsageSummary, ft as formatUsageReportLines, gn as fetchChannelPermissionsDiscord, hn as parseDiscordTarget } from "./reply-FlSo_-OX.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-Dl1sS5S-.js";
|
|
4
|
+
import "./paths-DcA9-j8b.js";
|
|
5
|
+
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-hGS8_hRJ.js";
|
|
6
|
+
import "./utils-DIctjiBL.js";
|
|
7
|
+
import "./exec-CToLomNk.js";
|
|
8
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-DrL2uTp9.js";
|
|
9
|
+
import { st as loadAuthProfileStore } from "./model-selection-DAS8gHms.js";
|
|
10
|
+
import "./dist-DkR92v7q.js";
|
|
11
11
|
import "./dist-cjs-vIqfUy0J.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-BxjVkF35.js";
|
|
13
13
|
import "./boolean-BPuCRXGV.js";
|
|
14
|
-
import "./env-
|
|
15
|
-
import "./github-copilot-token-
|
|
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-
|
|
21
|
-
import "./dist-
|
|
14
|
+
import "./env-EjmWoVFM.js";
|
|
15
|
+
import "./github-copilot-token-CaxbHIMu.js";
|
|
16
|
+
import { c as readConfigFileSnapshot, o as loadConfig, u as writeConfigFile } from "./config-9HrG2o2n.js";
|
|
17
|
+
import "./manifest-registry-5tS0nRed.js";
|
|
18
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CvpPbUcD.js";
|
|
19
|
+
import "./sandbox-D1l9c8hk.js";
|
|
20
|
+
import "./image-DzK79W-h.js";
|
|
21
|
+
import "./dist-CWCwOtZb.js";
|
|
22
22
|
import "./lib-CPmhGYjz.js";
|
|
23
23
|
import "./src-DL_O8Iqv.js";
|
|
24
24
|
import "./core-DBEps1DG.js";
|
|
25
|
-
import "./pi-model-discovery-
|
|
26
|
-
import "./chrome-
|
|
27
|
-
import "./skills
|
|
28
|
-
import "./routes-
|
|
29
|
-
import "./server-context-
|
|
30
|
-
import "./message-channel-
|
|
25
|
+
import "./pi-model-discovery-CrQpoFSQ.js";
|
|
26
|
+
import "./chrome-BVDTc1bG.js";
|
|
27
|
+
import "./skills-CKx3f-K7.js";
|
|
28
|
+
import "./routes-DBPIs_H5.js";
|
|
29
|
+
import "./server-context-CejBz66L.js";
|
|
30
|
+
import "./message-channel-BZ1-fnVX.js";
|
|
31
31
|
import "./logging-ByZ42pKh.js";
|
|
32
|
-
import "./accounts-
|
|
33
|
-
import "./paths-
|
|
32
|
+
import "./accounts-C7kM4YCx.js";
|
|
33
|
+
import "./paths-CAvRsPIf.js";
|
|
34
34
|
import "./redact-D_e4ymiV.js";
|
|
35
|
-
import "./tool-display-
|
|
36
|
-
import "./deliver-
|
|
37
|
-
import "./dispatcher
|
|
35
|
+
import "./tool-display-CTp5FM9Y.js";
|
|
36
|
+
import "./deliver-C04W5B6d.js";
|
|
37
|
+
import "./dispatcher--VfuFHUZ.js";
|
|
38
38
|
import "./dist-Bhs_j9rK.js";
|
|
39
|
-
import "./manager-
|
|
40
|
-
import "./sqlite-
|
|
39
|
+
import "./manager-BhzQxmMw.js";
|
|
40
|
+
import "./sqlite-CfeN617j.js";
|
|
41
41
|
import "./warnings-BzQDpft9.js";
|
|
42
42
|
import "./proxy-from-env-DJP3sMFP.js";
|
|
43
|
-
import "./login-qr-
|
|
44
|
-
import { n as formatAge } from "./channel-summary-
|
|
45
|
-
import "./device-identity-
|
|
46
|
-
import "./net-
|
|
47
|
-
import { n as callGateway } from "./call-
|
|
48
|
-
import "./pairing-store-
|
|
49
|
-
import { t as formatDocsLink } from "./links-
|
|
43
|
+
import "./login-qr-CfZRpSSs.js";
|
|
44
|
+
import { n as formatAge } from "./channel-summary-CGvh6HuT.js";
|
|
45
|
+
import "./device-identity-BRDqGqU6.js";
|
|
46
|
+
import "./net-CKUNpOoC.js";
|
|
47
|
+
import { n as callGateway } from "./call-BT4h4FFm.js";
|
|
48
|
+
import "./pairing-store-BNqtYtuP.js";
|
|
49
|
+
import { t as formatDocsLink } from "./links-yjT27ApF.js";
|
|
50
50
|
import { n as runCommandWithRuntime } from "./cli-utils-CodyYLHe.js";
|
|
51
|
-
import { n as withProgress } from "./progress-
|
|
52
|
-
import "./node-pairing-
|
|
53
|
-
import "./pi-tools.policy-
|
|
54
|
-
import "./prompt-style-
|
|
55
|
-
import "./pairing-labels-
|
|
51
|
+
import { n as withProgress } from "./progress-C_FQJYVr.js";
|
|
52
|
+
import "./node-pairing-DCA74hZ7.js";
|
|
53
|
+
import "./pi-tools.policy-haw-j8wY.js";
|
|
54
|
+
import "./prompt-style-DjEIdF58.js";
|
|
55
|
+
import "./pairing-labels-IF24P3jx.js";
|
|
56
56
|
import "./satisfies-Ch9z1ETk.js";
|
|
57
|
-
import "./session-cost-usage-
|
|
58
|
-
import "./control-service-
|
|
59
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
60
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
61
|
-
import "./note-
|
|
62
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
63
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
64
|
-
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-
|
|
65
|
-
import "./archive-
|
|
57
|
+
import "./session-cost-usage-BCDbst6m.js";
|
|
58
|
+
import "./control-service-BDK31ulX.js";
|
|
59
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-BZvCBj33.js";
|
|
60
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-Ccy5jhZP.js";
|
|
61
|
+
import "./note-ty8fydmp.js";
|
|
62
|
+
import { t as createClackPrompter } from "./clack-prompter-D03d7Olp.js";
|
|
63
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-Bqn0nVg_.js";
|
|
64
|
+
import { i as listChannelPluginCatalogEntries } from "./plugin-auto-enable-5KyNn7n8.js";
|
|
65
|
+
import "./archive-CwUX4il3.js";
|
|
66
66
|
import "./skill-scanner-BapBkMb3.js";
|
|
67
|
-
import "./installs-
|
|
68
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
69
|
-
import { n as hasExplicitOptions } from "./plugin-registry-
|
|
70
|
-
import { t as formatCliChannelOptions } from "./channel-options-
|
|
67
|
+
import "./installs-BjC_GfUD.js";
|
|
68
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-BaXwaWXv.js";
|
|
69
|
+
import { n as hasExplicitOptions } from "./plugin-registry-5qpwJA3E.js";
|
|
70
|
+
import { t as formatCliChannelOptions } from "./channel-options-DI1lXlNK.js";
|
|
71
71
|
import { t as buildChannelAccountSnapshot } from "./status-DqH1H1Pt.js";
|
|
72
72
|
import { t as parseLogLine } from "./parse-log-line-BjmXZSHU.js";
|
|
73
73
|
import fs from "node:fs/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { 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-Dl1sS5S-.js";
|
|
2
|
+
import { b as sleep, t as CONFIG_DIR } from "./utils-DIctjiBL.js";
|
|
3
|
+
import { a as logDebug, t as runCommandWithTimeout } from "./exec-CToLomNk.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BxjVkF35.js";
|
|
5
5
|
import { t as rawDataToString } from "./ws-ktHPc4Ic.js";
|
|
6
|
-
import os from "node:os";
|
|
7
|
-
import path from "node:path";
|
|
8
6
|
import fs from "node:fs";
|
|
7
|
+
import path from "node:path";
|
|
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
11
|
import WebSocket, { WebSocketServer } from "ws";
|
|
@@ -1906,7 +1906,7 @@ async function launchSKYKOIChrome(resolved, profile) {
|
|
|
1906
1906
|
const deadline = Date.now() + 1e4;
|
|
1907
1907
|
while (Date.now() < deadline) {
|
|
1908
1908
|
if (exists(localStatePath) && exists(preferencesPath)) break;
|
|
1909
|
-
await
|
|
1909
|
+
await sleep(100);
|
|
1910
1910
|
}
|
|
1911
1911
|
try {
|
|
1912
1912
|
bootstrap.kill("SIGTERM");
|
|
@@ -1914,7 +1914,7 @@ async function launchSKYKOIChrome(resolved, profile) {
|
|
|
1914
1914
|
const exitDeadline = Date.now() + 5e3;
|
|
1915
1915
|
while (Date.now() < exitDeadline) {
|
|
1916
1916
|
if (bootstrap.exitCode != null) break;
|
|
1917
|
-
await
|
|
1917
|
+
await sleep(50);
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
1920
|
if (needsDecorate) try {
|
|
@@ -1935,7 +1935,7 @@ async function launchSKYKOIChrome(resolved, profile) {
|
|
|
1935
1935
|
const readyDeadline = Date.now() + 15e3;
|
|
1936
1936
|
while (Date.now() < readyDeadline) {
|
|
1937
1937
|
if (await isChromeReachable(profile.cdpUrl, 500)) break;
|
|
1938
|
-
await
|
|
1938
|
+
await sleep(200);
|
|
1939
1939
|
}
|
|
1940
1940
|
if (!await isChromeReachable(profile.cdpUrl, 500)) {
|
|
1941
1941
|
try {
|
|
@@ -1964,7 +1964,7 @@ async function stopSKYKOIChrome(running, timeoutMs = 2500) {
|
|
|
1964
1964
|
while (Date.now() - start < timeoutMs) {
|
|
1965
1965
|
if (!proc.exitCode && proc.killed) break;
|
|
1966
1966
|
if (!await isChromeReachable(cdpUrlForPort(running.cdpPort), 200)) return;
|
|
1967
|
-
await
|
|
1967
|
+
await sleep(100);
|
|
1968
1968
|
}
|
|
1969
1969
|
try {
|
|
1970
1970
|
proc.kill("SIGKILL");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
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-Dl1sS5S-.js";
|
|
2
|
+
import { t as createCliProgress } from "./progress-C_FQJYVr.js";
|
|
3
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DjEIdF58.js";
|
|
4
|
+
import { t as note$1 } from "./note-ty8fydmp.js";
|
|
5
5
|
import { t as WizardCancelledError } from "./prompts-CDHXxTNu.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-CClKuKDl.js";
|