@symerian/symi 2.6.10 → 2.6.12
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-DT0rEuUE.js → acp-cli-Cu4icbJT.js} +2 -2
- package/dist/{agents-DDqXWXbP.js → agents-Cz2na8n6.js} +4 -4
- package/dist/{agents.config-Bu_N-bn_.js → agents.config-BeOO73lT.js} +1 -1
- package/dist/{agents.config-CEt-ES9z.js → agents.config-BoP9QtHX.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{audio-preflight-BcSzL_0I.js → audio-preflight-CWnxkaac.js} +8 -8
- package/dist/{audio-preflight-BVaaZWkg.js → audio-preflight-DHTaS5U1.js} +4 -4
- package/dist/{audit-BIE9JAxf.js → audit-CrITRV6w.js} +5 -5
- package/dist/{auth-choice-Djy_YmfW.js → auth-choice-D-czhFdL.js} +4 -4
- package/dist/{auth-choice-Bmd-rbuU.js → auth-choice-DTe3UF8T.js} +1 -1
- package/dist/{banner-BNkhjU8E.js → banner-CSZ39UAE.js} +1 -1
- package/dist/{browser-cli-nNQ60Koh.js → browser-cli-BG4qPxpM.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-7djMRPgl.js → call-CJaS1iRF.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-D8ByM6g0.js → channel-options-CySdnaWJ.js} +1 -1
- package/dist/{channel-options-NLrg-j_d.js → channel-options-FlKM6QP8.js} +1 -1
- package/dist/{channel-web-BUQWBln9.js → channel-web-BEFE-0qE.js} +2 -2
- package/dist/{channels-cli-C5DWcDDG.js → channels-cli-D6zAPAP3.js} +4 -4
- package/dist/{channels-cli-qBgicVqp.js → channels-cli-RkhiaITs.js} +19 -19
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{chrome-DkaXoP36.js → chrome-DYZwl5Gv.js} +7 -7
- package/dist/{chrome-DBKZkx0x.js → chrome-DtPkPq9T.js} +7 -7
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-UHMMUbWL.js → cli-Bjw4Mr_t.js} +16 -16
- package/dist/{cli-Bx78WeyO.js → cli-v8nSF61Z.js} +1 -1
- package/dist/{client-Z6SFrwob.js → client-CQSyCS4M.js} +3 -3
- package/dist/{command-registry-BSGsNY71.js → command-registry-CojVJ8At.js} +9 -9
- package/dist/{completion-cli-B915TqN4.js → completion-cli-D3N7Bpqe.js} +2 -2
- package/dist/{completion-cli-CajQzz5J.js → completion-cli-rD9RSIqQ.js} +1 -1
- package/dist/{config-cli-BM9FX48b.js → config-cli-CCG1Hizl.js} +1 -1
- package/dist/{config-cli-CeErUiHR.js → config-cli-DFYbGvDQ.js} +1 -1
- package/dist/{configure-DggNPSKd.js → configure-DdWNM_S-.js} +3 -3
- package/dist/{configure-CbiNzEIk.js → configure-v2ocSUJ3.js} +8 -8
- package/dist/{control-service-DdeFa44u.js → control-service-Bz7rxLWq.js} +3 -3
- package/dist/{cron-cli-C_1RndRW.js → cron-cli-DBIlCvp3.js} +3 -3
- package/dist/{daemon-cli-C2fkpr13.js → daemon-cli-DscwlsKW.js} +2 -2
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{deliver-Bu624MY6.js → deliver-CWR_98sK.js} +1 -1
- package/dist/{deliver-C46-vyqg.js → deliver-dODxSv3b.js} +1 -1
- package/dist/{devices-cli-ERMql8Dq.js → devices-cli-Dds-25Ve.js} +2 -2
- package/dist/{doctor-completion-BfLDfA98.js → doctor-completion-F_AI3hun.js} +1 -1
- package/dist/{doctor-completion-BP_qD5Bt.js → doctor-completion-vTHV1Opp.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BEU-xJFu.js → exec-approvals-cli-BliRl8VB.js} +4 -4
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-LmMxDk7B.js → gateway-cli-DLaTC2ps.js} +28 -28
- package/dist/{gateway-cli-qMBjCmLH.js → gateway-cli-Di1ExMCg.js} +9 -9
- package/dist/{gateway-rpc-BWZzo3L9.js → gateway-rpc-BxkKeCZ0.js} +1 -1
- package/dist/{glass-ui-ws-CXpW0epd.js → glass-ui-ws-Bfn56Lok.js} +7 -7
- package/dist/{glass-ui-ws-DbV46Nrg.js → glass-ui-ws-CbaWZjN3.js} +23 -23
- package/dist/{health-BctmvDJ0.js → health-CqQIZeIm.js} +1 -1
- package/dist/{health-pukFTT09.js → health-DbJOe12X.js} +3 -3
- package/dist/{hooks-cli-BMQOn6QU.js → hooks-cli-B9pOqbW_.js} +17 -17
- package/dist/{hooks-cli-DcQN6UeT.js → hooks-cli-D60an6P1.js} +2 -2
- package/dist/{image-CuzFLQWC.js → image-CXu8W39c.js} +1 -1
- package/dist/{image-CtCUVPCD.js → image-D9uvDTrc.js} +1 -1
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{logs-cli-V5qUbmVy.js → logs-cli-xOzIPrHm.js} +3 -3
- package/dist/{model-catalog-Da6fXK5K.js → model-catalog-DvBJ8pMD.js} +1 -1
- package/dist/{model-picker-B6QoK7pe.js → model-picker-Ddo3jHe-.js} +1 -1
- package/dist/{models-cli-DAKvip7R.js → models-cli-4EwiSo4p.js} +18 -18
- package/dist/{models-cli-DHOMkJmd.js → models-cli-Du60Ivll.js} +3 -3
- package/dist/{models-yF2XRbPQ.js → models-hMbDU9ot.js} +2 -2
- package/dist/{node-cli-r5-MNz9_.js → node-cli-C_G-Q3h-.js} +6 -6
- package/dist/{nodes-cli-DQed-Snk.js → nodes-cli-BcnuJajV.js} +3 -3
- package/dist/{onboard-BhqTlAS0.js → onboard-5yW9nvG6.js} +2 -2
- package/dist/{onboard-BafMA6T9.js → onboard-DJqYAPxi.js} +5 -5
- package/dist/{onboard-channels-CHe-XSLv.js → onboard-channels-B39Hvc_L.js} +1 -1
- package/dist/{onboard-channels-CZB5bhSJ.js → onboard-channels-BSzHnDcL.js} +1 -1
- package/dist/{onboard-custom-BduhuM_4.js → onboard-custom-C7O-zfQ1.js} +1 -1
- package/dist/{onboard-helpers-CiLCJJVQ.js → onboard-helpers-ZmZYzlq3.js} +1 -1
- package/dist/{onboard-remote-C1nRkyWo.js → onboard-remote-zUjD7UtM.js} +1 -1
- package/dist/{onboard-skills-9GLwG44a.js → onboard-skills-BB0YhUmF.js} +1 -1
- package/dist/{onboarding-D5yCx7Yb.js → onboarding-C7g_ZvRW.js} +9 -9
- package/dist/{onboarding-BXVYtRYj.js → onboarding-D7Y_e4zX.js} +3 -3
- package/dist/{onboarding.finalize-BX4DUaoK.js → onboarding.finalize-C3rqwVvV.js} +21 -21
- package/dist/{onboarding.finalize-DF5Zx0Zc.js → onboarding.finalize-OYNmD4ly.js} +6 -6
- package/dist/{onboarding.gateway-config-TSh7IejG.js → onboarding.gateway-config-CJUgDC6Y.js} +3 -3
- package/dist/{pi-auth-json-Tqz9D47K.js → pi-auth-json-DayrlDg_.js} +1 -1
- package/dist/{pi-embedded-DV6dp0BP.js → pi-embedded-Bp_9g-wj.js} +68 -17
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{pi-embedded-helpers-D-dUrQOR.js → pi-embedded-helpers-CNPyv_ax.js} +1 -1
- package/dist/{pi-embedded-helpers-CfqDGQ9J.js → pi-embedded-helpers-pubKo8HQ.js} +4 -4
- package/dist/{pi-tools.policy-CgGK6Jq8.js → pi-tools.policy-CIDBbw6x.js} +1 -1
- package/dist/{plugin-registry-BSmy8tIV.js → plugin-registry-C4lpIiGz.js} +1 -1
- package/dist/{plugin-registry-BwnzEvIz.js → plugin-registry-CUjBEHAz.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BdY2z7lg.js → channel-web-CQNBQiKF.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-BvxntA3R.js → reply-S1JHdV1Y.js} +54 -3
- package/dist/plugin-sdk/{web-CorFnJCI.js → web-GZFVijBY.js} +2 -2
- package/dist/{plugins-cli-BMmiYArH.js → plugins-cli-1pbqkgc2.js} +17 -17
- package/dist/{plugins-cli-CrN718uZ.js → plugins-cli-NpSGD1FH.js} +2 -2
- package/dist/{program-NGbjPxJh.js → program-CvHqOriK.js} +7 -7
- package/dist/{program-context-BqxG0w61.js → program-context-gkaZBN4U.js} +30 -30
- package/dist/{prompt-select-styled-B7SzTPf7.js → prompt-select-styled-DNaDChFa.js} +8 -8
- package/dist/{prompt-select-styled-B1LZVYl0.js → prompt-select-styled-We9EmwdJ.js} +4 -4
- package/dist/{provider-auth-helpers--A-4LKUl.js → provider-auth-helpers-BD1qo8xm.js} +1 -1
- package/dist/{provider-auth-helpers-CNEhLjMl.js → provider-auth-helpers-aA2Nm1dz.js} +1 -1
- package/dist/{push-apns-DgT_gz_P.js → push-apns-Cp9F-674.js} +1 -1
- package/dist/{push-apns-Cem8OlK7.js → push-apns-DseyExUl.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{pw-ai-m0mj2KWK.js → pw-ai-B5asscAD.js} +1 -1
- package/dist/{pw-ai-CC0xm0TY.js → pw-ai-DqL87js3.js} +1 -1
- package/dist/{register.agent-vP7gkHzk.js → register.agent-BQ2_6Nm3.js} +6 -6
- package/dist/{register.agent-DT0doE92.js → register.agent-CBYb5PmK.js} +21 -21
- package/dist/{register.configure-B_W1y_ag.js → register.configure-CjLPSjMa.js} +6 -6
- package/dist/{register.configure-BnkkCig3.js → register.configure-o-37DMn9.js} +25 -25
- package/dist/{register.maintenance-C0akYVa2.js → register.maintenance-B119maJ4.js} +22 -22
- package/dist/{register.maintenance-Br5q9f-j.js → register.maintenance-B5VGGPfr.js} +8 -8
- package/dist/{register.message-CRaEakG_.js → register.message-C0vKP2cl.js} +2 -2
- package/dist/{register.message-mCGVBJsU.js → register.message-Dqit98AR.js} +17 -17
- package/dist/{register.onboard-CV_3MiHm.js → register.onboard-BHj8YY-f.js} +4 -4
- package/dist/{register.onboard-BvsYOovb.js → register.onboard-DfCy6ZXS.js} +21 -21
- package/dist/{register.setup-DFcMhPAd.js → register.setup-BO4Kdk1x.js} +4 -4
- package/dist/{register.setup-BQqw49hm.js → register.setup-CUK-FwzD.js} +21 -21
- package/dist/{register.status-health-sessions-DlgKRa9S.js → register.status-health-sessions-BIXO_68y.js} +3 -3
- package/dist/{register.status-health-sessions-SAm9yGnr.js → register.status-health-sessions-CvcX-h97.js} +19 -19
- package/dist/{register.subclis-CdANuuHY.js → register.subclis-B0T9tMmL.js} +9 -9
- package/dist/{reply-CiPQDsZl.js → reply-DPaH7oQp.js} +75 -24
- package/dist/{routes-BO8eMYxn.js → routes-Ba9CUQ8M.js} +2 -2
- package/dist/{rpc-BcyzUwtC.js → rpc-BfhojW8g.js} +1 -1
- package/dist/{run-main-z8u07ybv.js → run-main-DLFhMwmE.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{runner-DxdRmWfW.js → runner-CUglpiFP.js} +2 -2
- package/dist/{runner-CU9l0uJh.js → runner-WAG0M5s9.js} +1 -1
- package/dist/{sandbox-B7qoYkRl.js → sandbox-C-T6hOMv.js} +3 -3
- package/dist/{sandbox-cli-C-hbJJWM.js → sandbox-cli-BllVdQzR.js} +4 -4
- package/dist/{security-cli-CNzBZn7V.js → security-cli-BFLtWWHy.js} +8 -8
- package/dist/{server-context-B-ra1emS.js → server-context-CEpFjqSk.js} +4 -4
- package/dist/{server-methods-D9jBWl7O.js → server-methods-CCAxdyvF.js} +14 -14
- package/dist/{server-methods-Dwsrsy7D.js → server-methods-DMIR4YTm.js} +7 -7
- package/dist/{server-node-events-9T-Sm9Q4.js → server-node-events-BQ7wsfbY.js} +17 -17
- package/dist/{server-node-events-CUKIb7Xq.js → server-node-events-BvOiDPkg.js} +2 -2
- package/dist/{status-UWWMuety.js → status-BPGU6b1g.js} +5 -5
- package/dist/{status-CB6N6XaA.js → status-CpCo3PvK.js} +1 -1
- package/dist/{status-Dqm_DV3z.js → status-D4RE4eR4.js} +2 -2
- package/dist/{status-DPk2qV91.js → status-gpmp_Ca5.js} +1 -1
- package/dist/{subagent-registry-DTIudfq4.js → subagent-registry-CzBf7A_o.js} +54 -3
- package/dist/{system-cli-_0h_FSPB.js → system-cli-UMsMEurS.js} +3 -3
- package/dist/{tui-D0s_9S8b.js → tui-CriznorL.js} +3 -3
- package/dist/{tui-cli-gm9fv3M8.js → tui-cli-CSIdfCTR.js} +8 -8
- package/dist/{unified-runner-DdeRGc1w.js → unified-runner-CnKhgGr-.js} +68 -17
- package/dist/{update-cli-C55vGnoj.js → update-cli-16QmlAYc.js} +8 -8
- package/dist/{update-cli-D8jX4yKe.js → update-cli-B8lzwxOj.js} +23 -23
- package/dist/{update-runner-B0ORHPYT.js → update-runner-CEjq0Uxs.js} +1 -1
- package/dist/{update-runner-CGsqW9Gu.js → update-runner-DLCpL3Pj.js} +1 -1
- package/dist/{web-DsGfc1GN.js → web-BPQuKyCM.js} +17 -17
- package/dist/{web-CRFt1vNo.js → web-BiZqjSRz.js} +1 -1
- package/dist/{web-nKQzj7wJ.js → web-CQ7OlTVM.js} +6 -6
- package/dist/{web-BC4kDUZw.js → web-D7tHOzz3.js} +6 -6
- package/dist/{with-timeout-BFdGltxb.js → with-timeout-gmK6RciS.js} +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs/promises";
|
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import net from "node:net";
|
|
12
12
|
import { createServer } from "node:http";
|
|
13
|
-
import WebSocket
|
|
13
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
14
14
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
15
15
|
|
|
16
16
|
//#region src/browser/constants.ts
|
|
@@ -178,7 +178,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
178
178
|
let nextExtensionId = 1;
|
|
179
179
|
const sendToExtension = async (payload) => {
|
|
180
180
|
const ws = extensionWs;
|
|
181
|
-
if (!ws || ws.readyState !== WebSocket
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
182
182
|
ws.send(JSON.stringify(payload));
|
|
183
183
|
return await new Promise((resolve, reject) => {
|
|
184
184
|
const timer = setTimeout(() => {
|
|
@@ -195,12 +195,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
195
195
|
const broadcastToCdpClients = (evt) => {
|
|
196
196
|
const msg = JSON.stringify(evt);
|
|
197
197
|
for (const ws of cdpClients) {
|
|
198
|
-
if (ws.readyState !== WebSocket
|
|
198
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket
|
|
203
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
204
204
|
ws.send(JSON.stringify(res));
|
|
205
205
|
};
|
|
206
206
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -425,7 +425,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
425
425
|
wssExtension.on("connection", (ws) => {
|
|
426
426
|
extensionWs = ws;
|
|
427
427
|
const ping = setInterval(() => {
|
|
428
|
-
if (ws.readyState !== WebSocket
|
|
428
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
429
429
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
430
430
|
}, 5e3);
|
|
431
431
|
ws.on("message", (data) => {
|
|
@@ -743,7 +743,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
743
743
|
}
|
|
744
744
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
745
745
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
746
|
-
const ws = new WebSocket
|
|
746
|
+
const ws = new WebSocket(wsUrl, {
|
|
747
747
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
748
748
|
...Object.keys(headers).length ? { headers } : {}
|
|
749
749
|
});
|
|
@@ -1637,7 +1637,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1637
1637
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1638
1638
|
return await new Promise((resolve) => {
|
|
1639
1639
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1640
|
-
const ws = new WebSocket
|
|
1640
|
+
const ws = new WebSocket(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -9,7 +9,7 @@ import os from "node:os";
|
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { execFileSync, spawn } from "node:child_process";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket
|
|
12
|
+
import WebSocket, { WebSocketServer } from "ws";
|
|
13
13
|
|
|
14
14
|
//#region src/browser/constants.ts
|
|
15
15
|
const DEFAULT_SYMI_BROWSER_ENABLED = true;
|
|
@@ -123,7 +123,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
123
123
|
let nextExtensionId = 1;
|
|
124
124
|
const sendToExtension = async (payload) => {
|
|
125
125
|
const ws = extensionWs;
|
|
126
|
-
if (!ws || ws.readyState !== WebSocket
|
|
126
|
+
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
127
127
|
ws.send(JSON.stringify(payload));
|
|
128
128
|
return await new Promise((resolve, reject) => {
|
|
129
129
|
const timer = setTimeout(() => {
|
|
@@ -140,12 +140,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
140
140
|
const broadcastToCdpClients = (evt) => {
|
|
141
141
|
const msg = JSON.stringify(evt);
|
|
142
142
|
for (const ws of cdpClients) {
|
|
143
|
-
if (ws.readyState !== WebSocket
|
|
143
|
+
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
144
144
|
ws.send(msg);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
const sendResponseToCdp = (ws, res) => {
|
|
148
|
-
if (ws.readyState !== WebSocket
|
|
148
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
149
149
|
ws.send(JSON.stringify(res));
|
|
150
150
|
};
|
|
151
151
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -370,7 +370,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
370
370
|
wssExtension.on("connection", (ws) => {
|
|
371
371
|
extensionWs = ws;
|
|
372
372
|
const ping = setInterval(() => {
|
|
373
|
-
if (ws.readyState !== WebSocket
|
|
373
|
+
if (ws.readyState !== WebSocket.OPEN) return;
|
|
374
374
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
375
375
|
}, 5e3);
|
|
376
376
|
ws.on("message", (data) => {
|
|
@@ -688,7 +688,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
688
688
|
}
|
|
689
689
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
690
690
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
691
|
-
const ws = new WebSocket
|
|
691
|
+
const ws = new WebSocket(wsUrl, {
|
|
692
692
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
693
693
|
...Object.keys(headers).length ? { headers } : {}
|
|
694
694
|
});
|
|
@@ -1555,7 +1555,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1555
1555
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1556
1556
|
return await new Promise((resolve) => {
|
|
1557
1557
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1558
|
-
const ws = new WebSocket
|
|
1558
|
+
const ws = new WebSocket(wsUrl, {
|
|
1559
1559
|
handshakeTimeout: timeoutMs,
|
|
1560
1560
|
...Object.keys(headers).length ? { headers } : {}
|
|
1561
1561
|
});
|
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
import * as daemonCli from "../daemon-cli-
|
|
2
|
+
import * as daemonCli from "../daemon-cli-DscwlsKW.js";
|
|
3
3
|
export const registerDaemonCli = daemonCli.t.registerDaemonCli;
|
|
4
4
|
export const runDaemonInstall = daemonCli.i;
|
|
5
5
|
export const runDaemonRestart = daemonCli.r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { ft as loadSymiPlugins } from "./reply-
|
|
4
|
+
import { ft as loadSymiPlugins } from "./reply-DPaH7oQp.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -14,19 +14,19 @@ import "./message-channel-aT-I_DTX.js";
|
|
|
14
14
|
import "./send-CZr1hVHY.js";
|
|
15
15
|
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
16
16
|
import "./manifest-registry-C4BxOMWX.js";
|
|
17
|
-
import "./runner-
|
|
18
|
-
import "./image-
|
|
17
|
+
import "./runner-CUglpiFP.js";
|
|
18
|
+
import "./image-D9uvDTrc.js";
|
|
19
19
|
import "./models-config-qyOXrOli.js";
|
|
20
20
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
22
|
-
import "./sandbox-
|
|
23
|
-
import "./chrome-
|
|
21
|
+
import "./pi-embedded-helpers-CNPyv_ax.js";
|
|
22
|
+
import "./sandbox-C-T6hOMv.js";
|
|
23
|
+
import "./chrome-DtPkPq9T.js";
|
|
24
24
|
import "./tailscale-D5dKabOc.js";
|
|
25
25
|
import "./auth-B741uFtk.js";
|
|
26
|
-
import "./server-context-
|
|
26
|
+
import "./server-context-CEpFjqSk.js";
|
|
27
27
|
import "./frontmatter-DWQhtOo7.js";
|
|
28
28
|
import "./skills-6jdJQ5ZL.js";
|
|
29
|
-
import "./routes-
|
|
29
|
+
import "./routes-Ba9CUQ8M.js";
|
|
30
30
|
import "./redact-f-Q-hFt_.js";
|
|
31
31
|
import "./errors-BF3TeRH2.js";
|
|
32
32
|
import "./fs-safe-CUjO1ca2.js";
|
|
@@ -52,10 +52,10 @@ import "./fetch-guard-DOPkVbh3.js";
|
|
|
52
52
|
import "./api-key-rotation-CzuPlV2t.js";
|
|
53
53
|
import "./local-roots-aAFLQGkY.js";
|
|
54
54
|
import "./sqlite-Dx3J_aSE.js";
|
|
55
|
-
import "./model-catalog-
|
|
55
|
+
import "./model-catalog-DvBJ8pMD.js";
|
|
56
56
|
import "./tokens-BuceUQDl.js";
|
|
57
|
-
import "./with-timeout-
|
|
58
|
-
import "./deliver-
|
|
57
|
+
import "./with-timeout-gmK6RciS.js";
|
|
58
|
+
import "./deliver-CWR_98sK.js";
|
|
59
59
|
import "./diagnostic-DjBRPfu9.js";
|
|
60
60
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
61
61
|
import "./send-Cutb0ZDY.js";
|
|
@@ -71,8 +71,8 @@ import "./ir-DZam9q5M.js";
|
|
|
71
71
|
import "./render-CXDO_kgw.js";
|
|
72
72
|
import "./commands-BNLCWX6e.js";
|
|
73
73
|
import "./commands-registry-BT0-zzs3.js";
|
|
74
|
-
import "./client-
|
|
75
|
-
import "./call-
|
|
74
|
+
import "./client-CQSyCS4M.js";
|
|
75
|
+
import "./call-CJaS1iRF.js";
|
|
76
76
|
import "./pairing-token-CX3NN_qj.js";
|
|
77
77
|
import "./channel-activity-BOiuJS3t.js";
|
|
78
78
|
import "./fetch-DTNGXEzX.js";
|
|
@@ -92,13 +92,13 @@ import "./session-cost-usage-UxUgrslM.js";
|
|
|
92
92
|
import "./outbound-attachment-mQQiYZ3C.js";
|
|
93
93
|
import "./delivery-queue-CxuV9EeG.js";
|
|
94
94
|
import "./send-DWYkPSUs.js";
|
|
95
|
-
import "./onboard-helpers-
|
|
95
|
+
import "./onboard-helpers-ZmZYzlq3.js";
|
|
96
96
|
import "./prompt-style-8JqOYj0q.js";
|
|
97
97
|
import "./pairing-labels-2S6x2UoV.js";
|
|
98
98
|
import "./exec-approvals-Kn31mBcW.js";
|
|
99
99
|
import "./nodes-screen-VBGXKdLk.js";
|
|
100
|
-
import "./pi-tools.policy-
|
|
101
|
-
import "./control-service-
|
|
100
|
+
import "./pi-tools.policy-CIDBbw6x.js";
|
|
101
|
+
import "./control-service-Bz7rxLWq.js";
|
|
102
102
|
import "./stagger-BUClb97_.js";
|
|
103
103
|
import "./channel-selection-DuWs0Aak.js";
|
|
104
104
|
|
|
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
|
|
|
13
13
|
import "./call-BcE47FtD.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
16
|
+
import { m as loadSymiPlugins } from "./subagent-registry-CzBf7A_o.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -8,7 +8,7 @@ import fs from "node:fs";
|
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto, { randomUUID } from "node:crypto";
|
|
10
10
|
import AjvPkg from "ajv";
|
|
11
|
-
import { WebSocket } from "ws";
|
|
11
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
12
12
|
import { Type } from "@sinclair/typebox";
|
|
13
13
|
|
|
14
14
|
//#region src/infra/device-identity.ts
|
|
@@ -1968,7 +1968,7 @@ var GatewayClient = class {
|
|
|
1968
1968
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
1969
1969
|
});
|
|
1970
1970
|
}
|
|
1971
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
1971
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
1972
1972
|
this.ws.on("open", () => {
|
|
1973
1973
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
1974
1974
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -2187,7 +2187,7 @@ var GatewayClient = class {
|
|
|
2187
2187
|
return null;
|
|
2188
2188
|
}
|
|
2189
2189
|
async request(method, params, opts) {
|
|
2190
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
2190
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
2191
2191
|
const id = randomUUID();
|
|
2192
2192
|
const frame = {
|
|
2193
2193
|
type: "req",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-B0T9tMmL.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-BO4Kdk1x.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-BHj8YY-f.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -42,7 +42,7 @@ const coreEntries = [
|
|
|
42
42
|
hasSubcommands: false
|
|
43
43
|
}],
|
|
44
44
|
register: async ({ program }) => {
|
|
45
|
-
(await import("./register.configure-
|
|
45
|
+
(await import("./register.configure-CjLPSjMa.js")).registerConfigureCommand(program);
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-CCG1Hizl.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-B5VGGPfr.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -89,7 +89,7 @@ const coreEntries = [
|
|
|
89
89
|
hasSubcommands: true
|
|
90
90
|
}],
|
|
91
91
|
register: async ({ program, ctx }) => {
|
|
92
|
-
(await import("./register.message-
|
|
92
|
+
(await import("./register.message-C0vKP2cl.js")).registerMessageCommands(program, ctx);
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
{
|
|
@@ -113,7 +113,7 @@ const coreEntries = [
|
|
|
113
113
|
hasSubcommands: true
|
|
114
114
|
}],
|
|
115
115
|
register: async ({ program, ctx }) => {
|
|
116
|
-
(await import("./register.agent-
|
|
116
|
+
(await import("./register.agent-BQ2_6Nm3.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-BIXO_68y.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-B0T9tMmL.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CojVJ8At.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-CqzR_m-7.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-gkaZBN4U.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -201,7 +201,7 @@ async function runConfigUnset(opts) {
|
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
203
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
204
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
204
|
+
const { configureCommandFromSectionsArg } = await import("./configure-DdWNM_S-.js").then((n) => n.t);
|
|
205
205
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
206
206
|
});
|
|
207
207
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -206,7 +206,7 @@ async function runConfigUnset(opts) {
|
|
|
206
206
|
}
|
|
207
207
|
function registerConfigCli(program) {
|
|
208
208
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
209
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
209
|
+
const { configureCommandFromSectionsArg } = await import("./configure-v2ocSUJ3.js").then((n) => n.t);
|
|
210
210
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
211
211
|
});
|
|
212
212
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -11,14 +11,14 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
11
11
|
import { t as note$1 } from "./note-DDecZomM.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-B39Hvc_L.js";
|
|
15
15
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CfRwa6qh.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-CqQIZeIm.js";
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BseSWee1.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DVcYPG2v.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DTe3UF8T.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-D5nCutGW.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-DdWPfzJO.js";
|
|
@@ -8,26 +8,26 @@ import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } fr
|
|
|
8
8
|
import { a as findTailscaleBinary } from "./tailscale-D5dKabOc.js";
|
|
9
9
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DKDeQZF0.js";
|
|
10
10
|
import { n as withProgress } from "./progress-jIePzvGA.js";
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-ZmZYzlq3.js";
|
|
12
12
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-8JqOYj0q.js";
|
|
13
13
|
import { t as note$1 } from "./note-DeHoW7xO.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
16
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-BSzHnDcL.js";
|
|
17
17
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2mwX-jqj.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
19
|
-
import { r as healthCommand } from "./health-
|
|
19
|
+
import { r as healthCommand } from "./health-DbJOe12X.js";
|
|
20
20
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Z947tKLt.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BLzEBA1v.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-D-czhFdL.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-Ddo3jHe-.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
26
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
26
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-C7O-zfQ1.js";
|
|
27
27
|
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-CxY-xbsH.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-DSwnXZPU.js";
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-zUjD7UtM.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-BB0YhUmF.js";
|
|
31
31
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
32
32
|
|
|
33
33
|
//#region src/commands/configure.shared.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
3
3
|
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
4
|
-
import { x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
4
|
+
import { x as ensureChromeExtensionRelayServer } from "./chrome-DtPkPq9T.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-CEpFjqSk.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/server-lifecycle.ts
|
|
8
8
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -80,7 +80,7 @@ async function stopBrowserControlService() {
|
|
|
80
80
|
});
|
|
81
81
|
state = null;
|
|
82
82
|
try {
|
|
83
|
-
await (await import("./pw-ai-
|
|
83
|
+
await (await import("./pw-ai-DqL87js3.js")).closePlaywrightBrowserConnection();
|
|
84
84
|
} catch {}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -16,15 +16,15 @@ import { n as listChannelPlugins } from "./plugins-DKDeQZF0.js";
|
|
|
16
16
|
import "./accounts-DDuIpcln.js";
|
|
17
17
|
import "./bindings-DFaVVCsf.js";
|
|
18
18
|
import "./logging-w5jq5901.js";
|
|
19
|
-
import "./client-
|
|
20
|
-
import "./call-
|
|
19
|
+
import "./client-CQSyCS4M.js";
|
|
20
|
+
import "./call-CJaS1iRF.js";
|
|
21
21
|
import "./pairing-token-CX3NN_qj.js";
|
|
22
22
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
23
23
|
import "./progress-jIePzvGA.js";
|
|
24
24
|
import { n as formatDurationHuman } from "./format-duration-D0B0Uo-I.js";
|
|
25
25
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-BUClb97_.js";
|
|
26
26
|
import { n as parsePositiveIntOrUndefined } from "./helpers-By2rxBQ5.js";
|
|
27
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
27
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BxkKeCZ0.js";
|
|
28
28
|
|
|
29
29
|
//#region src/cli/cron-cli/shared.ts
|
|
30
30
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -9,10 +9,10 @@ import { n as pickPrimaryTailnetIPv4 } from "./tailnet-B2SPYrh4.js";
|
|
|
9
9
|
import { u as resolveGatewayBindHost } from "./ws-C7EXRv8z.js";
|
|
10
10
|
import { a as resolveGatewayAuth } from "./auth-B741uFtk.js";
|
|
11
11
|
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-BOmtxoTv.js";
|
|
12
|
-
import { n as callGateway } from "./call-
|
|
12
|
+
import { n as callGateway } from "./call-CJaS1iRF.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
14
14
|
import { n as withProgress } from "./progress-jIePzvGA.js";
|
|
15
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-ZmZYzlq3.js";
|
|
16
16
|
import { n as isWSLEnv } from "./wsl-C4424szg.js";
|
|
17
17
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-C8_BLnaW.js";
|
|
18
18
|
import { n as inheritOptionFromParent } from "./command-options-BtDai3oC.js";
|
|
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, y as trigge
|
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CZixfwU8.js";
|
|
6
6
|
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Cn6drXx2.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-71oIavrF.js";
|
|
8
|
-
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
8
|
+
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-B8kqLWns.js";
|
|
9
9
|
import { d as getChannelDock } from "./thinking-W85Rb32m.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DTMTDXwE.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DawaaZEe.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as normalizeOptionalAccountId, h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { C as createInternalHookEvent, T as triggerInternalHook, d as getActivePluginRegistry } from "./registry-Cja8eT7G.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
5
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CNPyv_ax.js";
|
|
6
6
|
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-DgYpBvse.js";
|
|
7
7
|
import { t as getChannelDock } from "./dock-BhS32F6E.js";
|
|
8
8
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DKDeQZF0.js";
|
|
@@ -3,7 +3,7 @@ import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
|
3
3
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
4
4
|
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-DYq1AYOv.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
|
|
6
|
-
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
6
|
+
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-pubKo8HQ.js";
|
|
7
7
|
import { d as getChannelDock } from "./thinking-BprCy23Z.js";
|
|
8
8
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BzmbgY7s.js";
|
|
9
9
|
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Bux9Y_xD.js";
|
|
@@ -12,8 +12,8 @@ import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-
|
|
|
12
12
|
import "./config-CHwyw6l5.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
14
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
15
|
-
import { Ft as approveDevicePairing, Rt as listDevicePairing, Wt as summarizeDeviceTokens } from "./client-
|
|
16
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
15
|
+
import { Ft as approveDevicePairing, Rt as listDevicePairing, Wt as summarizeDeviceTokens } from "./client-CQSyCS4M.js";
|
|
16
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CJaS1iRF.js";
|
|
17
17
|
import "./pairing-token-CX3NN_qj.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
19
19
|
import { n as withProgress } from "./progress-jIePzvGA.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BtYOfWxC.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-BNuQ4lAT.js";
|
|
3
3
|
import { t as note } from "./note-DDecZomM.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D3N7Bpqe.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-COaS-S7B.js";
|
|
3
3
|
import { t as note } from "./note-DeHoW7xO.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-rD9RSIqQ.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2500,7 +2500,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2500
2500
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2501
2501
|
process$1.argv = parsed.argv;
|
|
2502
2502
|
}
|
|
2503
|
-
import("./run-main-
|
|
2503
|
+
import("./run-main-DLFhMwmE.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2504
2504
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2505
2505
|
process$1.exitCode = 1;
|
|
2506
2506
|
});
|
|
@@ -11,19 +11,19 @@ import "./env-DPCHYPeH.js";
|
|
|
11
11
|
import "./message-channel-aT-I_DTX.js";
|
|
12
12
|
import "./config-CHwyw6l5.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
14
|
+
import "./client-CQSyCS4M.js";
|
|
15
|
+
import "./call-CJaS1iRF.js";
|
|
16
16
|
import "./pairing-token-CX3NN_qj.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
19
19
|
import "./progress-jIePzvGA.js";
|
|
20
20
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-Kn31mBcW.js";
|
|
21
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
21
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-BxkKeCZ0.js";
|
|
22
22
|
import "./systemd-riq8uNJQ.js";
|
|
23
23
|
import "./service-Cl74hx8J.js";
|
|
24
24
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
25
25
|
import { t as describeUnknownError } from "./shared-BJvwnR5z.js";
|
|
26
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
26
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-BfhojW8g.js";
|
|
27
27
|
import JSON5 from "json5";
|
|
28
28
|
import fs from "node:fs/promises";
|
|
29
29
|
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,13 +7,13 @@ import { a as resolveAgentIdentity } from "./reply-prefix-K_J_nfgx.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CQ_DQOwT.js";
|
|
9
9
|
import "./tokens-Cn6drXx2.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, p as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, p as runEmbeddedPiAgent } from "./pi-embedded-Bp_9g-wj.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
14
14
|
import "./send-D-hWrHoH.js";
|
|
15
15
|
import "./send-C1IYd3g7.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-C-37cZUe.js";
|
|
17
17
|
import "./diagnostic-D0xmLpej.js";
|
|
18
18
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
19
19
|
import "./accounts-8zZqL37v.js";
|
|
@@ -21,10 +21,10 @@ import "./send-C4Ucr8ep.js";
|
|
|
21
21
|
import "./image-ops-ByaQt43P.js";
|
|
22
22
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
23
23
|
import "./message-channel-BQINJQIT.js";
|
|
24
|
-
import { G as saveSessionStore, H as loadSessionStore } from "./pi-embedded-helpers-
|
|
24
|
+
import { G as saveSessionStore, H as loadSessionStore } from "./pi-embedded-helpers-B8kqLWns.js";
|
|
25
25
|
import "./config-BmV60pPT.js";
|
|
26
26
|
import "./manifest-registry-D-mTF1cj.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-D2SKJnR7.js";
|
|
28
28
|
import "./skills-BNpGMnp-.js";
|
|
29
29
|
import "./redact-1NGYV_8p.js";
|
|
30
30
|
import "./errors-CPfngF0S.js";
|
|
@@ -34,7 +34,7 @@ import "./thinking-W85Rb32m.js";
|
|
|
34
34
|
import "./accounts-DImOt9jX.js";
|
|
35
35
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-DkMamAQ-.js";
|
|
36
36
|
import "./tool-images-ChC2CXaN.js";
|
|
37
|
-
import "./image-
|
|
37
|
+
import "./image-DcpMiprB.js";
|
|
38
38
|
import "./manager-jpn5vRTY.js";
|
|
39
39
|
import "./gemini-auth-CSlZZ1Pw.js";
|
|
40
40
|
import "./sqlite-BNh23mUR.js";
|
|
@@ -47,7 +47,7 @@ import "./ir-F0moAwIl.js";
|
|
|
47
47
|
import "./render-B1VqYyvo.js";
|
|
48
48
|
import "./commands-registry-C_aYUwpl.js";
|
|
49
49
|
import "./skill-commands-DklY7Cj7.js";
|
|
50
|
-
import "./runner-
|
|
50
|
+
import "./runner-BcQ0sF9T.js";
|
|
51
51
|
import "./fetch-DtLn7YU3.js";
|
|
52
52
|
import "./channel-activity-D9q-fIPB.js";
|
|
53
53
|
import "./tables-COnZ169v.js";
|