@symerian/symi 2.1.0 → 2.1.2
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/{audio-preflight-BFiIhqnK.js → audio-preflight-Dxcks_BK.js} +4 -4
- package/dist/{audio-preflight-CdZ7aXUT.js → audio-preflight-jaMIMdV3.js} +4 -4
- 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/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-B6_swjkk.js → chrome-BquppnEi.js} +7 -7
- package/dist/{chrome-Ccn3teyk.js → chrome-CTcnKcDU.js} +7 -7
- package/dist/{command-registry-S9Fhf4c1.js → command-registry-CeikQb3V.js} +4 -4
- package/dist/{completion-cli-CDN_tdvo.js → completion-cli-BYef8CMC.js} +1 -1
- package/dist/{completion-cli-CnLexFdC.js → completion-cli-Dnh4PSKT.js} +2 -2
- package/dist/control-ui/js/app.js +31 -4
- package/dist/control-ui/js/gateway.js +9 -0
- package/dist/control-ui/js/render.js +1 -1
- package/dist/{deliver-CTLClsFg.js → deliver-BklTO2jq.js} +1 -1
- package/dist/{deliver-D1t-fjqg.js → deliver-jJRk3x5L.js} +1 -1
- package/dist/{doctor-completion-AOqgLS4U.js → doctor-completion-6O_p_Wzv.js} +1 -1
- package/dist/{doctor-completion-BG8Cg9mp.js → doctor-completion-7bR-wj7x.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-Bpze8UCK.js → gateway-cli-S18Ra2yN.js} +2 -2
- package/dist/{gateway-cli-3xIbQUvB.js → gateway-cli-nXAo5QLJ.js} +2 -2
- package/dist/{glass-ui-ws-BlIbIFja.js → glass-ui-ws-BUrwG36o.js} +4 -0
- package/dist/{glass-ui-ws-kaPdOFQ1.js → glass-ui-ws-DNMToSqW.js} +4 -0
- package/dist/{image-DbrwHH9b.js → image-CUYqZhvS.js} +1 -1
- package/dist/{image-DzKo5TvV.js → image-ezHAVBUy.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-Cj-BNQ8q.js → onboard-D5UsJVm7.js} +1 -1
- package/dist/{onboard-D62AfYak.js → onboard-suhCvIJA.js} +1 -1
- package/dist/{onboarding-DZr7frCp.js → onboarding-BkD5CW30.js} +1 -1
- package/dist/{onboarding-BVBk-a0N.js → onboarding-CUdcVUUF.js} +1 -1
- package/dist/{onboarding.finalize-DjWsLgGj.js → onboarding.finalize-DIFKNDKZ.js} +4 -4
- package/dist/{onboarding.finalize-ClGudWHI.js → onboarding.finalize-DopGm106.js} +3 -3
- package/dist/{pi-embedded-BmhXyBan.js → pi-embedded-CoAgAxKK.js} +16 -16
- package/dist/{pi-embedded-6aosCkCE.js → pi-embedded-DEaELoog.js} +16 -16
- package/dist/{pi-embedded-helpers-DLx_FqAm.js → pi-embedded-helpers-CnDOr1fZ.js} +4 -4
- package/dist/{pi-embedded-helpers-Co6u9rYt.js → pi-embedded-helpers-DZ3Lcixd.js} +4 -4
- package/dist/{program-q-ZGnun7.js → program-D5DUUFyF.js} +2 -2
- package/dist/{program-context-Qr4P_3lt.js → program-context-B3uIV1R7.js} +6 -6
- package/dist/{prompt-select-styled-BGN9e74V.js → prompt-select-styled-CRkjqQOn.js} +1 -1
- package/dist/{prompt-select-styled-BO2fAMkR.js → prompt-select-styled-DlZObD4G.js} +1 -1
- package/dist/{pw-ai-DtBWzBn3.js → pw-ai-CdLcO0g2.js} +1 -1
- package/dist/{pw-ai-BSTzJb4x.js → pw-ai-DY2vHEE2.js} +1 -1
- package/dist/{register.maintenance-CCo66MmS.js → register.maintenance-B2uxBzaT.js} +4 -4
- package/dist/{register.maintenance-C7KqQS56.js → register.maintenance-DDp2FIiO.js} +5 -5
- package/dist/{register.onboard-DCadPRqN.js → register.onboard-BZpa2v7y.js} +2 -2
- package/dist/{register.onboard-B_62CoFF.js → register.onboard-xzvPzZOI.js} +2 -2
- package/dist/{register.setup-D4vceMjW.js → register.setup-Crj-s7UZ.js} +2 -2
- package/dist/{register.setup-CetgUu6b.js → register.setup-ay2hkAqD.js} +2 -2
- package/dist/{register.subclis-Ch7CsZP4.js → register.subclis-DVhxBjP4.js} +3 -3
- package/dist/{run-main-L9-PmGcv.js → run-main-NRS4E-lF.js} +3 -3
- package/dist/{runner-A60J6rCf.js → runner-DWdU6MlA.js} +1 -1
- package/dist/{runner-RWwoIsld.js → runner-mzKdroBs.js} +1 -1
- package/dist/{update-cli-YIILU6BZ.js → update-cli-0sDk4u_d.js} +4 -4
- package/dist/{update-cli-CcMqLG-F.js → update-cli-CSI2ikVe.js} +5 -5
- package/dist/{web-BXaT5obz.js → web-B11B-dFh.js} +6 -6
- package/dist/{web-DbjazvT5.js → web-DwNG7qGq.js} +6 -6
- package/package.json +1 -1
|
@@ -14,10 +14,10 @@ import "./model-auth-64S8o7s-.js";
|
|
|
14
14
|
import "./github-copilot-token-C_qUP7p5.js";
|
|
15
15
|
import "./pi-model-discovery-DaNAekda.js";
|
|
16
16
|
import "./message-channel-Dz5lr5b0.js";
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
17
|
+
import "./pi-embedded-helpers-CnDOr1fZ.js";
|
|
18
18
|
import "./config-CKOV268q.js";
|
|
19
19
|
import "./manifest-registry-D0IQ3WuX.js";
|
|
20
|
-
import "./chrome-
|
|
20
|
+
import "./chrome-BquppnEi.js";
|
|
21
21
|
import "./frontmatter-C_bv_0P8.js";
|
|
22
22
|
import "./skills-BFekKL7i.js";
|
|
23
23
|
import "./redact-jSxx6Ep2.js";
|
|
@@ -28,10 +28,10 @@ import "./thinking-CdlENGRW.js";
|
|
|
28
28
|
import "./accounts-qtxJ-6em.js";
|
|
29
29
|
import "./paths-DLyHUt31.js";
|
|
30
30
|
import "./tool-images-DXB7tqWi.js";
|
|
31
|
-
import "./image-
|
|
31
|
+
import "./image-ezHAVBUy.js";
|
|
32
32
|
import "./gemini-auth-DzFcFvHV.js";
|
|
33
33
|
import "./local-roots-DMwIh5cS.js";
|
|
34
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
34
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-DWdU6MlA.js";
|
|
35
35
|
|
|
36
36
|
//#region src/media-understanding/audio-preflight.ts
|
|
37
37
|
/**
|
|
@@ -12,10 +12,10 @@ import "./accounts-8zZqL37v.js";
|
|
|
12
12
|
import "./image-ops-ByaQt43P.js";
|
|
13
13
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
14
14
|
import "./message-channel-BQINJQIT.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./pi-embedded-helpers-DZ3Lcixd.js";
|
|
16
16
|
import "./config-C2IieV3H.js";
|
|
17
17
|
import "./manifest-registry-D-mTF1cj.js";
|
|
18
|
-
import "./chrome-
|
|
18
|
+
import "./chrome-CTcnKcDU.js";
|
|
19
19
|
import "./skills-BNpGMnp-.js";
|
|
20
20
|
import "./redact-1NGYV_8p.js";
|
|
21
21
|
import "./errors-CPfngF0S.js";
|
|
@@ -25,10 +25,10 @@ import "./thinking-W85Rb32m.js";
|
|
|
25
25
|
import "./accounts-DImOt9jX.js";
|
|
26
26
|
import "./paths-DkMamAQ-.js";
|
|
27
27
|
import "./tool-images-ChC2CXaN.js";
|
|
28
|
-
import "./image-
|
|
28
|
+
import "./image-CUYqZhvS.js";
|
|
29
29
|
import "./gemini-auth-CrwifqcZ.js";
|
|
30
30
|
import "./local-roots-CC8jiKDk.js";
|
|
31
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
31
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-mzKdroBs.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
package/dist/build-info.json
CHANGED
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-sc
|
|
|
5
5
|
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-Bs9YvKLa.js";
|
|
6
6
|
import "../../workspace-wAaHI8-5.js";
|
|
7
7
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-H1H1LiSQ.js";
|
|
8
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
8
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-DEaELoog.js";
|
|
9
9
|
import "../../plugins-DQYI3Fr-.js";
|
|
10
10
|
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -13,7 +13,7 @@ import "../../command-format-BaxDnULz.js";
|
|
|
13
13
|
import "../../bindings-B7Ke6LJi.js";
|
|
14
14
|
import "../../send-CjRkNEbi.js";
|
|
15
15
|
import "../../send-CWFM2REh.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-jJRk3x5L.js";
|
|
17
17
|
import "../../diagnostic-CI0kRQkt.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import "../../accounts-CWktKM8a.js";
|
|
@@ -23,10 +23,10 @@ import "../../model-auth-64S8o7s-.js";
|
|
|
23
23
|
import "../../github-copilot-token-C_qUP7p5.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import "../../message-channel-Dz5lr5b0.js";
|
|
26
|
-
import { H as loadSessionStore, K as updateSessionStore, xt as resolveMainSessionKey, yt as resolveAgentMainSessionKey } from "../../pi-embedded-helpers-
|
|
26
|
+
import { H as loadSessionStore, K as updateSessionStore, xt as resolveMainSessionKey, yt as resolveAgentMainSessionKey } from "../../pi-embedded-helpers-CnDOr1fZ.js";
|
|
27
27
|
import "../../config-CKOV268q.js";
|
|
28
28
|
import "../../manifest-registry-D0IQ3WuX.js";
|
|
29
|
-
import "../../chrome-
|
|
29
|
+
import "../../chrome-BquppnEi.js";
|
|
30
30
|
import "../../frontmatter-C_bv_0P8.js";
|
|
31
31
|
import "../../skills-BFekKL7i.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
@@ -37,7 +37,7 @@ import "../../thinking-CdlENGRW.js";
|
|
|
37
37
|
import "../../accounts-qtxJ-6em.js";
|
|
38
38
|
import { s as resolveStorePath } from "../../paths-DLyHUt31.js";
|
|
39
39
|
import "../../tool-images-DXB7tqWi.js";
|
|
40
|
-
import "../../image-
|
|
40
|
+
import "../../image-ezHAVBUy.js";
|
|
41
41
|
import "../../reply-prefix-XlyuyChD.js";
|
|
42
42
|
import "../../manager-M83fJMDC.js";
|
|
43
43
|
import "../../gemini-auth-DzFcFvHV.js";
|
|
@@ -51,7 +51,7 @@ import "../../ir-DccrnjsE.js";
|
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
52
|
import "../../commands-registry-BCRa0DAp.js";
|
|
53
53
|
import "../../skill-commands-DCDG7ki5.js";
|
|
54
|
-
import "../../runner-
|
|
54
|
+
import "../../runner-DWdU6MlA.js";
|
|
55
55
|
import "../../fetch-Bso4i15F.js";
|
|
56
56
|
import "../../channel-activity-CsM_hJ_s.js";
|
|
57
57
|
import "../../tables-DuZspiBu.js";
|
|
@@ -5,7 +5,7 @@ import { s as resolveAgentWorkspaceDir } from "../../agent-scope-BxoUQqgM.js";
|
|
|
5
5
|
import { t as createSubsystemLogger } from "../../subsystem-Bs9YvKLa.js";
|
|
6
6
|
import "../../workspace-wAaHI8-5.js";
|
|
7
7
|
import "../../tokens-H1H1LiSQ.js";
|
|
8
|
-
import "../../pi-embedded-
|
|
8
|
+
import "../../pi-embedded-DEaELoog.js";
|
|
9
9
|
import "../../plugins-DQYI3Fr-.js";
|
|
10
10
|
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
@@ -13,7 +13,7 @@ import "../../command-format-BaxDnULz.js";
|
|
|
13
13
|
import "../../bindings-B7Ke6LJi.js";
|
|
14
14
|
import "../../send-CjRkNEbi.js";
|
|
15
15
|
import "../../send-CWFM2REh.js";
|
|
16
|
-
import "../../deliver-
|
|
16
|
+
import "../../deliver-jJRk3x5L.js";
|
|
17
17
|
import "../../diagnostic-CI0kRQkt.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
19
|
import "../../accounts-CWktKM8a.js";
|
|
@@ -23,10 +23,10 @@ import "../../model-auth-64S8o7s-.js";
|
|
|
23
23
|
import "../../github-copilot-token-C_qUP7p5.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
25
|
import "../../message-channel-Dz5lr5b0.js";
|
|
26
|
-
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
26
|
+
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-CnDOr1fZ.js";
|
|
27
27
|
import "../../config-CKOV268q.js";
|
|
28
28
|
import "../../manifest-registry-D0IQ3WuX.js";
|
|
29
|
-
import "../../chrome-
|
|
29
|
+
import "../../chrome-BquppnEi.js";
|
|
30
30
|
import "../../frontmatter-C_bv_0P8.js";
|
|
31
31
|
import "../../skills-BFekKL7i.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
@@ -37,7 +37,7 @@ import "../../thinking-CdlENGRW.js";
|
|
|
37
37
|
import "../../accounts-qtxJ-6em.js";
|
|
38
38
|
import "../../paths-DLyHUt31.js";
|
|
39
39
|
import "../../tool-images-DXB7tqWi.js";
|
|
40
|
-
import "../../image-
|
|
40
|
+
import "../../image-ezHAVBUy.js";
|
|
41
41
|
import "../../reply-prefix-XlyuyChD.js";
|
|
42
42
|
import "../../manager-M83fJMDC.js";
|
|
43
43
|
import "../../gemini-auth-DzFcFvHV.js";
|
|
@@ -51,7 +51,7 @@ import "../../ir-DccrnjsE.js";
|
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
52
|
import "../../commands-registry-BCRa0DAp.js";
|
|
53
53
|
import "../../skill-commands-DCDG7ki5.js";
|
|
54
|
-
import "../../runner-
|
|
54
|
+
import "../../runner-DWdU6MlA.js";
|
|
55
55
|
import "../../fetch-Bso4i15F.js";
|
|
56
56
|
import "../../channel-activity-CsM_hJ_s.js";
|
|
57
57
|
import "../../tables-DuZspiBu.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e6f660feb7d00d535682c666bb912abedb92a3a3a6cca2820e81b299818b1fd2
|
|
@@ -10,7 +10,7 @@ import fs$1 from "node:fs";
|
|
|
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, { WebSocketServer } from "ws";
|
|
13
|
+
import WebSocket$1, { 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.OPEN) throw new Error("Chrome extension not connected");
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket$1.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.OPEN) continue;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
203
|
+
if (ws.readyState !== WebSocket$1.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.OPEN) return;
|
|
428
|
+
if (ws.readyState !== WebSocket$1.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(wsUrl, {
|
|
746
|
+
const ws = new WebSocket$1(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(wsUrl, {
|
|
1640
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -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, { WebSocketServer } from "ws";
|
|
13
|
+
import WebSocket$1, { 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.OPEN) throw new Error("Chrome extension not connected");
|
|
181
|
+
if (!ws || ws.readyState !== WebSocket$1.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.OPEN) continue;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
199
199
|
ws.send(msg);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
const sendResponseToCdp = (ws, res) => {
|
|
203
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
203
|
+
if (ws.readyState !== WebSocket$1.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.OPEN) return;
|
|
428
|
+
if (ws.readyState !== WebSocket$1.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(wsUrl, {
|
|
746
|
+
const ws = new WebSocket$1(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(wsUrl, {
|
|
1640
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1641
1641
|
handshakeTimeout: timeoutMs,
|
|
1642
1642
|
...Object.keys(headers).length ? { headers } : {}
|
|
1643
1643
|
});
|
|
@@ -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-DVhxBjP4.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-Crj-s7UZ.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-BZpa2v7y.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -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-DDp2FIiO.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -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-B3uIV1R7.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -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-DVhxBjP4.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CeikQb3V.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";
|
|
@@ -293,7 +293,7 @@ function renderHistory(messages) {
|
|
|
293
293
|
.join("")
|
|
294
294
|
.trim();
|
|
295
295
|
if (
|
|
296
|
-
/SYMIPULSE|
|
|
296
|
+
/SYMIPULSE|heartbeat/i.test(txt) ||
|
|
297
297
|
/^[A-Z_]+_OK$/i.test(txt) ||
|
|
298
298
|
/^\s*NO_REPLY\s*$/i.test(txt) ||
|
|
299
299
|
/^⚠️.*(heartbeat|Agent failed before reply)/i.test(txt)
|
|
@@ -435,7 +435,7 @@ async function loadMoreHistory() {
|
|
|
435
435
|
.join("")
|
|
436
436
|
.trim();
|
|
437
437
|
if (
|
|
438
|
-
/SYMIPULSE|
|
|
438
|
+
/SYMIPULSE|heartbeat/i.test(txt) ||
|
|
439
439
|
/^[A-Z_]+_OK$/i.test(txt) ||
|
|
440
440
|
/^\s*NO_REPLY\s*$/i.test(txt) ||
|
|
441
441
|
/^⚠️.*(heartbeat|Agent failed before reply)/i.test(txt)
|
|
@@ -506,6 +506,35 @@ async function loadMoreHistory() {
|
|
|
506
506
|
let thinkingEl = null;
|
|
507
507
|
|
|
508
508
|
function handleGatewayEvent(event) {
|
|
509
|
+
// Handle agent lifecycle/tool events — these prove the agent is alive
|
|
510
|
+
if (event.event === "agent" && isStreaming) {
|
|
511
|
+
const a = event.payload;
|
|
512
|
+
if (a) {
|
|
513
|
+
// Any agent event resets the watchdog — the agent is working
|
|
514
|
+
armWatchdog();
|
|
515
|
+
|
|
516
|
+
// Update the sub-label with what the agent is actually doing
|
|
517
|
+
if (a.stream === "tool" && a.data) {
|
|
518
|
+
if (a.data.phase === "start" && a.data.name) {
|
|
519
|
+
elapsedBaseText = `Running tool: ${a.data.name}`;
|
|
520
|
+
} else if (a.data.phase === "result") {
|
|
521
|
+
elapsedBaseText = "Reasoning through request";
|
|
522
|
+
}
|
|
523
|
+
} else if (a.stream === "compaction" && a.data) {
|
|
524
|
+
if (a.data.phase === "start") {
|
|
525
|
+
elapsedBaseText = "Compacting context";
|
|
526
|
+
} else if (a.data.phase === "end") {
|
|
527
|
+
elapsedBaseText = "Reasoning through request";
|
|
528
|
+
}
|
|
529
|
+
} else if (a.stream === "lifecycle" && a.data) {
|
|
530
|
+
if (a.data.phase === "start") {
|
|
531
|
+
elapsedBaseText = "Reasoning through request";
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
|
|
509
538
|
if (event.event !== "chat") {
|
|
510
539
|
return;
|
|
511
540
|
}
|
|
@@ -515,8 +544,6 @@ function handleGatewayEvent(event) {
|
|
|
515
544
|
}
|
|
516
545
|
|
|
517
546
|
// Any chat event for our session proves the agent is alive — reset watchdog.
|
|
518
|
-
// This covers deltas, tool execution signals, reasoning chunks, and other
|
|
519
|
-
// activity that arrives before the first streaming text delta.
|
|
520
547
|
if (isStreaming) {
|
|
521
548
|
armWatchdog();
|
|
522
549
|
}
|
|
@@ -138,6 +138,15 @@ class SymiGateway extends EventTarget {
|
|
|
138
138
|
return;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
if (type === "agent") {
|
|
142
|
+
this.dispatchEvent(
|
|
143
|
+
new CustomEvent("event", {
|
|
144
|
+
detail: { event: "agent", payload: msg.payload },
|
|
145
|
+
}),
|
|
146
|
+
);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
|
|
141
150
|
if (type === "rpc.response") {
|
|
142
151
|
const pending = this._pending.get(msg.id);
|
|
143
152
|
if (pending) {
|
|
@@ -742,7 +742,7 @@ window.renderMessage = function (message) {
|
|
|
742
742
|
// Heartbeat/symipulse and NO_REPLY assistant messages
|
|
743
743
|
if (
|
|
744
744
|
role === "assistant" &&
|
|
745
|
-
(/SYMIPULSE|
|
|
745
|
+
(/SYMIPULSE|heartbeat/i.test(_msgText) ||
|
|
746
746
|
/^[A-Z_]+_OK$/i.test(_msgText) ||
|
|
747
747
|
/^\s*NO_REPLY\s*$/i.test(_msgText) ||
|
|
748
748
|
/^⚠️.*(heartbeat|Agent failed before reply)/i.test(_msgText))
|
|
@@ -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-DZ3Lcixd.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";
|
|
@@ -5,7 +5,7 @@ import { c as getActivePluginRegistry, v as createInternalHookEvent, x as trigge
|
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
6
6
|
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-H1H1LiSQ.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DQYI3Fr-.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-CnDOr1fZ.js";
|
|
9
9
|
import { d as getChannelDock } from "./thinking-CdlENGRW.js";
|
|
10
10
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-BW5f05BR.js";
|
|
11
11
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-iMQQZu4Q.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-Dnh4PSKT.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-BYef8CMC.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-NRS4E-lF.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
|
});
|
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, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-CoAgAxKK.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
14
14
|
import "./send-Dk_5qjN7.js";
|
|
15
15
|
import "./send-C0dI3bZX.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-BklTO2jq.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-DAMJ29XJ.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-DZ3Lcixd.js";
|
|
25
25
|
import "./config-C2IieV3H.js";
|
|
26
26
|
import "./manifest-registry-D-mTF1cj.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-CTcnKcDU.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-CUYqZhvS.js";
|
|
38
38
|
import "./manager-CL7MzOkQ.js";
|
|
39
39
|
import "./gemini-auth-CrwifqcZ.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-B_XO7lUV.js";
|
|
49
49
|
import "./skill-commands-sj8KNio8.js";
|
|
50
|
-
import "./runner-
|
|
50
|
+
import "./runner-mzKdroBs.js";
|
|
51
51
|
import "./fetch-DtLn7YU3.js";
|
|
52
52
|
import "./channel-activity-D9q-fIPB.js";
|
|
53
53
|
import "./tables-COnZ169v.js";
|
|
@@ -134,7 +134,7 @@ import { i as pickGatewaySelfPresence } from "./status-3kOYUAe6.js";
|
|
|
134
134
|
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-Dp4Q9nXE.js";
|
|
135
135
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BseSWee1.js";
|
|
136
136
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
|
|
137
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
137
|
+
import { t as runOnboardingWizard } from "./onboarding-CUdcVUUF.js";
|
|
138
138
|
import { _ as getHandshakeTimeoutMs, a as DEFAULT_ASSISTANT_IDENTITY, b as resolveCronRunLogPath, c as upsertPresence, d as DEDUPE_MAX, f as DEDUPE_TTL_MS, g as TICK_INTERVAL_MS, h as MAX_PAYLOAD_BYTES, i as safeParseJson, l as formatError, m as MAX_BUFFERED_BYTES, n as handleGatewayRequest, o as resolveAssistantIdentity, p as HEALTH_REFRESH_INTERVAL_MS, r as broadcastPresenceSnapshot, s as listSystemPresence, t as coreGatewayHandlers, u as loadVoiceWakeConfig, v as abortChatRunById, x as startGatewayConfigReloader, y as appendCronRunLog } from "./server-methods-UzcnQvxB.js";
|
|
139
139
|
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-CeICANgd.js";
|
|
140
140
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CzWeiE-Y.js";
|
|
@@ -11630,7 +11630,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
11630
11630
|
});
|
|
11631
11631
|
let glassUiBridgeCleanup = null;
|
|
11632
11632
|
if (!minimalTestGateway) {
|
|
11633
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
11633
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-DNMToSqW.js");
|
|
11634
11634
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
11635
11635
|
wss: glassUiWss,
|
|
11636
11636
|
context: gatewayRequestContext,
|
|
@@ -139,7 +139,7 @@ import { r as pickGatewaySelfPresence } from "./status-C3zEYCNx.js";
|
|
|
139
139
|
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-DBwSpMeO.js";
|
|
140
140
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Z947tKLt.js";
|
|
141
141
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
|
|
142
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
142
|
+
import { t as runOnboardingWizard } from "./onboarding-BkD5CW30.js";
|
|
143
143
|
import { _ as getHandshakeTimeoutMs, a as DEFAULT_ASSISTANT_IDENTITY, b as resolveCronRunLogPath, c as upsertPresence, d as DEDUPE_MAX, f as DEDUPE_TTL_MS, g as TICK_INTERVAL_MS, h as MAX_PAYLOAD_BYTES, i as safeParseJson, l as formatError, m as MAX_BUFFERED_BYTES, n as handleGatewayRequest, o as resolveAssistantIdentity, p as HEALTH_REFRESH_INTERVAL_MS, r as broadcastPresenceSnapshot, s as listSystemPresence, t as coreGatewayHandlers, u as loadVoiceWakeConfig, v as abortChatRunById, x as startGatewayConfigReloader, y as appendCronRunLog } from "./server-methods-Cr4xi0KV.js";
|
|
144
144
|
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-Ba9C9T6a.js";
|
|
145
145
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Bv0M7ka7.js";
|
|
@@ -11634,7 +11634,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
11634
11634
|
});
|
|
11635
11635
|
let glassUiBridgeCleanup = null;
|
|
11636
11636
|
if (!minimalTestGateway) {
|
|
11637
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
11637
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-BUrwG36o.js");
|
|
11638
11638
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
11639
11639
|
wss: glassUiWss,
|
|
11640
11640
|
context: gatewayRequestContext,
|
|
@@ -164,6 +164,10 @@ function createGlassUiBridge(opts) {
|
|
|
164
164
|
type: "chat",
|
|
165
165
|
payload
|
|
166
166
|
});
|
|
167
|
+
else if (event === "agent") broadcastToBrowsers({
|
|
168
|
+
type: "agent",
|
|
169
|
+
payload
|
|
170
|
+
});
|
|
167
171
|
});
|
|
168
172
|
/** Dispatch an RPC method through the gateway's internal handler. */
|
|
169
173
|
async function dispatchRpc(method, params) {
|
|
@@ -159,6 +159,10 @@ function createGlassUiBridge(opts) {
|
|
|
159
159
|
type: "chat",
|
|
160
160
|
payload
|
|
161
161
|
});
|
|
162
|
+
else if (event === "agent") broadcastToBrowsers({
|
|
163
|
+
type: "agent",
|
|
164
|
+
payload
|
|
165
|
+
});
|
|
162
166
|
});
|
|
163
167
|
/** Dispatch an RPC method through the gateway's internal handler. */
|
|
164
168
|
async function dispatchRpc(method, params) {
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { D as isRecord, I as shortenHomeInString } from "./registry-BhoUuugi.js";
|
|
3
3
|
import { G as resolveSymiAgentDir, S as getApiKeyForModel, Y as normalizeSecretInput, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-DzqcLIsS.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-j5tVLINv.js";
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-DZ3Lcixd.js";
|
|
6
6
|
import { n as loadConfig } from "./config-C2IieV3H.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-1NGYV_8p.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { R as shortenHomeInString, k as isRecord } from "./registry-CK4e9hn8.js";
|
|
3
3
|
import { B as resolveImplicitCopilotProvider, J as normalizeSecretInput, R as normalizeProviders, V as resolveImplicitProviders, r as requireApiKey, t as getApiKeyForModel, y as resolveSymiAgentDir, z as resolveImplicitBedrockProvider } from "./model-auth-64S8o7s-.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DaNAekda.js";
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CnDOr1fZ.js";
|
|
6
6
|
import { n as loadConfig } from "./config-CKOV268q.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-jSxx6Ep2.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ import { t as ensureSymiCliOnPath } from "./path-env-MnzRq6nD.js";
|
|
|
112
112
|
import { t as assertSupportedRuntime } from "./runtime-guard-B37eizu-.js";
|
|
113
113
|
import "./ports-BX0kKI0g.js";
|
|
114
114
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-C6ovOie2.js";
|
|
115
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
115
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-B3uIV1R7.js";
|
|
116
116
|
import "./catalog-RiADx7MA.js";
|
|
117
117
|
import "./plugin-registry-B9o0EnWk.js";
|
|
118
118
|
import { n as resolveCliChannelOptions } from "./channel-options-BYCPesaD.js";
|