@symerian/symi 3.0.7 → 3.0.9
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-Comf0VGa.js → audio-preflight-CVDdtjBJ.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-D5qBbYwG.js → chrome-NBQ3YC9H.js} +7 -7
- package/dist/{command-registry-DPjt2ua4.js → command-registry-DvI-_9ed.js} +4 -4
- package/dist/{completion-cli-Jc5c91D9.js → completion-cli-CSoNdvYn.js} +1 -1
- package/dist/{completion-cli-DUHXuBGj.js → completion-cli-D4db0jDk.js} +2 -2
- package/dist/{deliver-C3uijPde.js → deliver-Cu0CbbtC.js} +1 -1
- package/dist/{doctor-completion-efxxrdhl.js → doctor-completion-Cx_h4e8C.js} +1 -1
- package/dist/{doctor-completion-DRSIyjR1.js → doctor-completion-Dh1Ui0Jl.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-5x14dzdY.js → gateway-cli-CBC3MsCD.js} +14 -3
- package/dist/{gateway-cli-C9oE1hBq.js → gateway-cli-DLCN4Pur.js} +14 -3
- package/dist/{image-BwUdkv5g.js → image-D7X6MG_p.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{manager-ba9NOjzn.js → manager-BE_ijx1G.js} +1 -1
- package/dist/{onboard-DHXKRs-D.js → onboard-2UCdDScQ.js} +1 -1
- package/dist/{onboard-CQ-O5iJq.js → onboard-BLaF7s8_.js} +1 -1
- package/dist/{onboarding-C0pJSLCL.js → onboarding-Buq2k7LQ.js} +1 -1
- package/dist/{onboarding-B-gCsRKr.js → onboarding-HqJ5qUk9.js} +1 -1
- package/dist/{onboarding.finalize-CwYMMBek.js → onboarding.finalize-B_n1Ng2R.js} +3 -3
- package/dist/{onboarding.finalize-TzNrDgVI.js → onboarding.finalize-CDNE7OaF.js} +4 -4
- package/dist/{pi-embedded-D9KmgdGY.js → pi-embedded-BswfcjHE.js} +19 -19
- package/dist/{pi-embedded-helpers-CemJuCvK.js → pi-embedded-helpers-BbyfzP1F.js} +4 -4
- package/dist/{program-CbKSDUST.js → program-CWtqcl5o.js} +2 -2
- package/dist/{program-context-ClWlMpYr.js → program-context-C_BCGX6e.js} +6 -6
- package/dist/{prompt-select-styled-CdC8Q0fu.js → prompt-select-styled-DZLfB9dr.js} +1 -1
- package/dist/{prompt-select-styled-CM2KCKfA.js → prompt-select-styled-DmA5bdHo.js} +1 -1
- package/dist/{pw-ai-BIjsJDaR.js → pw-ai-U1510l7Q.js} +1 -1
- package/dist/{register.maintenance-mKHTp7uq.js → register.maintenance-B12lwewm.js} +4 -4
- package/dist/{register.maintenance-DLsCNL7g.js → register.maintenance-DXD1xP8H.js} +5 -5
- package/dist/{register.onboard-Cxvbpqqb.js → register.onboard-CWycJIUS.js} +2 -2
- package/dist/{register.onboard-Cd0kw_oz.js → register.onboard-CqP2iJit.js} +2 -2
- package/dist/{register.setup-D-WYhPYF.js → register.setup-B33Xl3Vr.js} +2 -2
- package/dist/{register.setup-C63_l0Z_.js → register.setup-COjF7Ffj.js} +2 -2
- package/dist/{register.subclis-BOf3y4FX.js → register.subclis-Bzag-xbt.js} +3 -3
- package/dist/{run-main-CG1sYHQC.js → run-main-BPMrQvz2.js} +3 -3
- package/dist/{runner-BYhzYtCr.js → runner-C861UxJV.js} +1 -1
- package/dist/{synthesis-C-rsRpDw.js → synthesis-DFyjufzc.js} +7 -7
- package/dist/{update-cli-DGrOVmGg.js → update-cli-CEhf4IFG.js} +5 -5
- package/dist/{update-cli-D2Ou3_k5.js → update-cli-uwOyL4_F.js} +4 -4
- package/dist/{web-gqbdxJga.js → web-QevckvVy.js} +7 -7
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/bluebubbles/src/monitor.test.ts +1 -2
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/feishu/src/bot.test.ts +4 -4
- package/extensions/feishu/src/bot.ts +2 -2
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/matrix/src/matrix/monitor/handler.ts +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/mattermost/src/mattermost/monitor.ts +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/msteams/src/monitor-handler/message-handler.ts +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -12,10 +12,10 @@ import "./accounts-8zZqL37v.js";
|
|
|
12
12
|
import "./image-ops-BKUwjozo.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-BbyfzP1F.js";
|
|
16
16
|
import "./config-DFWXZ6fI.js";
|
|
17
17
|
import "./manifest-registry-DWdYdchb.js";
|
|
18
|
-
import "./chrome-
|
|
18
|
+
import "./chrome-NBQ3YC9H.js";
|
|
19
19
|
import "./skills-amp3F-om.js";
|
|
20
20
|
import "./redact-1NGYV_8p.js";
|
|
21
21
|
import "./errors-CPfngF0S.js";
|
|
@@ -25,10 +25,10 @@ import "./thinking-B8s2BpSx.js";
|
|
|
25
25
|
import "./accounts-DImOt9jX.js";
|
|
26
26
|
import "./paths-DkMamAQ-.js";
|
|
27
27
|
import "./tool-images-CdTyeTEN.js";
|
|
28
|
-
import "./image-
|
|
28
|
+
import "./image-D7X6MG_p.js";
|
|
29
29
|
import "./gemini-auth-Drot-Pd7.js";
|
|
30
30
|
import "./local-roots-cwNFw4qu.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-C861UxJV.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7f1d626b4d5cee2e1430f0580ed6ccab1083fdbc9f1e5185fd27aa56145b247d
|
|
@@ -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
|
});
|
|
@@ -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-Bzag-xbt.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-B33Xl3Vr.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-CqP2iJit.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-DXD1xP8H.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-zqierDLj.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-C_BCGX6e.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-Bzag-xbt.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-DvI-_9ed.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-DeZ44oQ9.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -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 { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DRIIdGfF.js";
|
|
7
7
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CpxUKuIt.js";
|
|
8
|
-
import { R as appendAssistantMessageToSessionTranscript, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-
|
|
8
|
+
import { R as appendAssistantMessageToSessionTranscript, z as resolveMirroredTranscriptText } from "./pi-embedded-helpers-BbyfzP1F.js";
|
|
9
9
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-Bk95VMr4.js";
|
|
10
10
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-DAG0TQQX.js";
|
|
11
11
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-cwNFw4qu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-CyXZlazG.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-7ei1lwo0.js";
|
|
3
3
|
import { t as note } from "./note-CYS1SoX6.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-CSoNdvYn.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BtYOfWxC.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-CK6iELVh.js";
|
|
3
3
|
import { t as note } from "./note-DewoEWtc.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-D4db0jDk.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
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-BPMrQvz2.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-C7ZwCr7X.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CQ_DQOwT.js";
|
|
9
9
|
import "./tokens-DRIIdGfF.js";
|
|
10
|
-
import { D as resolveAgentTimeoutMs, p as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { D as resolveAgentTimeoutMs, p as runEmbeddedPiAgent } from "./pi-embedded-BswfcjHE.js";
|
|
11
11
|
import "./plugins-CpxUKuIt.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-pK-Lzohb.js";
|
|
14
14
|
import "./send-VWh1ZJ59.js";
|
|
15
15
|
import "./send-BR7JNX2z.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-Cu0CbbtC.js";
|
|
17
17
|
import "./diagnostic-BVsSwe-J.js";
|
|
18
18
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
19
19
|
import "./accounts-8zZqL37v.js";
|
|
@@ -21,10 +21,10 @@ import "./send-CgdaRng5.js";
|
|
|
21
21
|
import "./image-ops-BKUwjozo.js";
|
|
22
22
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
23
23
|
import "./message-channel-BQINJQIT.js";
|
|
24
|
-
import { V as loadSessionStore, W as saveSessionStore } from "./pi-embedded-helpers-
|
|
24
|
+
import { V as loadSessionStore, W as saveSessionStore } from "./pi-embedded-helpers-BbyfzP1F.js";
|
|
25
25
|
import "./config-DFWXZ6fI.js";
|
|
26
26
|
import "./manifest-registry-DWdYdchb.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-NBQ3YC9H.js";
|
|
28
28
|
import "./skills-amp3F-om.js";
|
|
29
29
|
import "./redact-1NGYV_8p.js";
|
|
30
30
|
import "./errors-CPfngF0S.js";
|
|
@@ -34,8 +34,8 @@ import "./thinking-B8s2BpSx.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-CdTyeTEN.js";
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./manager-
|
|
37
|
+
import "./image-D7X6MG_p.js";
|
|
38
|
+
import "./manager-BE_ijx1G.js";
|
|
39
39
|
import "./gemini-auth-Drot-Pd7.js";
|
|
40
40
|
import "./retry-QGp0jvVi.js";
|
|
41
41
|
import "./sqlite-Bo4pHfp8.js";
|
|
@@ -47,7 +47,7 @@ import "./ir-CDdlA9_f.js";
|
|
|
47
47
|
import "./render-qcqmrHse.js";
|
|
48
48
|
import "./commands-registry-DI253Fxx.js";
|
|
49
49
|
import "./skill-commands-1kAWj31E.js";
|
|
50
|
-
import "./runner-
|
|
50
|
+
import "./runner-C861UxJV.js";
|
|
51
51
|
import "./fetch-WLZaC77l.js";
|
|
52
52
|
import "./channel-activity-C-6tM-GK.js";
|
|
53
53
|
import "./tables-BuPzx5Wl.js";
|
|
@@ -140,7 +140,7 @@ import { r as pickGatewaySelfPresence } from "./status-DIGJ8-hp.js";
|
|
|
140
140
|
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CcIuOt6-.js";
|
|
141
141
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CtKVON4w.js";
|
|
142
142
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BIE5FLmi.js";
|
|
143
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
143
|
+
import { t as runOnboardingWizard } from "./onboarding-Buq2k7LQ.js";
|
|
144
144
|
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-C_TFp6B4.js";
|
|
145
145
|
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-CXP9q39j.js";
|
|
146
146
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BV1BJYYk.js";
|
|
@@ -7606,7 +7606,17 @@ function handleControlUiHttpRequest(req, res, opts) {
|
|
|
7606
7606
|
}
|
|
7607
7607
|
const url = new URL(urlRaw, "http://localhost");
|
|
7608
7608
|
const basePath = normalizeControlUiBasePath(opts?.basePath);
|
|
7609
|
-
|
|
7609
|
+
let pathname = url.pathname;
|
|
7610
|
+
if (!basePath) for (const implicit of ["/glass-ui", "/control-ui"]) {
|
|
7611
|
+
if (pathname === implicit) {
|
|
7612
|
+
pathname = "/";
|
|
7613
|
+
break;
|
|
7614
|
+
}
|
|
7615
|
+
if (pathname.startsWith(`${implicit}/`)) {
|
|
7616
|
+
pathname = pathname.slice(implicit.length);
|
|
7617
|
+
break;
|
|
7618
|
+
}
|
|
7619
|
+
}
|
|
7610
7620
|
if (!basePath) {
|
|
7611
7621
|
if (pathname === "/ui" || pathname.startsWith("/ui/")) {
|
|
7612
7622
|
applyControlUiSecurityHeaders(res);
|
|
@@ -7625,7 +7635,8 @@ function handleControlUiHttpRequest(req, res, opts) {
|
|
|
7625
7635
|
if (!pathname.startsWith(`${basePath}/`)) return false;
|
|
7626
7636
|
}
|
|
7627
7637
|
applyControlUiSecurityHeaders(res);
|
|
7628
|
-
|
|
7638
|
+
const bootstrapConfigPath = basePath ? `${basePath}${CONTROL_UI_BOOTSTRAP_CONFIG_PATH}` : CONTROL_UI_BOOTSTRAP_CONFIG_PATH;
|
|
7639
|
+
if (pathname === bootstrapConfigPath) {
|
|
7629
7640
|
const config = opts?.config;
|
|
7630
7641
|
const identity = config ? resolveAssistantIdentity({
|
|
7631
7642
|
cfg: config,
|
|
@@ -135,7 +135,7 @@ import { i as pickGatewaySelfPresence } from "./status-CrxGjZwV.js";
|
|
|
135
135
|
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CMNaNxdO.js";
|
|
136
136
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DKcwWWGv.js";
|
|
137
137
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BNjupSIM.js";
|
|
138
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
138
|
+
import { t as runOnboardingWizard } from "./onboarding-HqJ5qUk9.js";
|
|
139
139
|
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-C72ajlYe.js";
|
|
140
140
|
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-jE3kPG6g.js";
|
|
141
141
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-YTXXLbHH.js";
|
|
@@ -7602,7 +7602,17 @@ function handleControlUiHttpRequest(req, res, opts) {
|
|
|
7602
7602
|
}
|
|
7603
7603
|
const url = new URL(urlRaw, "http://localhost");
|
|
7604
7604
|
const basePath = normalizeControlUiBasePath(opts?.basePath);
|
|
7605
|
-
|
|
7605
|
+
let pathname = url.pathname;
|
|
7606
|
+
if (!basePath) for (const implicit of ["/glass-ui", "/control-ui"]) {
|
|
7607
|
+
if (pathname === implicit) {
|
|
7608
|
+
pathname = "/";
|
|
7609
|
+
break;
|
|
7610
|
+
}
|
|
7611
|
+
if (pathname.startsWith(`${implicit}/`)) {
|
|
7612
|
+
pathname = pathname.slice(implicit.length);
|
|
7613
|
+
break;
|
|
7614
|
+
}
|
|
7615
|
+
}
|
|
7606
7616
|
if (!basePath) {
|
|
7607
7617
|
if (pathname === "/ui" || pathname.startsWith("/ui/")) {
|
|
7608
7618
|
applyControlUiSecurityHeaders(res);
|
|
@@ -7621,7 +7631,8 @@ function handleControlUiHttpRequest(req, res, opts) {
|
|
|
7621
7631
|
if (!pathname.startsWith(`${basePath}/`)) return false;
|
|
7622
7632
|
}
|
|
7623
7633
|
applyControlUiSecurityHeaders(res);
|
|
7624
|
-
|
|
7634
|
+
const bootstrapConfigPath = basePath ? `${basePath}${CONTROL_UI_BOOTSTRAP_CONFIG_PATH}` : CONTROL_UI_BOOTSTRAP_CONFIG_PATH;
|
|
7635
|
+
if (pathname === bootstrapConfigPath) {
|
|
7625
7636
|
const config = opts?.config;
|
|
7626
7637
|
const identity = config ? resolveAssistantIdentity({
|
|
7627
7638
|
cfg: config,
|
|
@@ -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, X as normalizeSecretInput, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-DW6ysdsG.js";
|
|
4
4
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-j5tVLINv.js";
|
|
5
|
-
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
+
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-BbyfzP1F.js";
|
|
6
6
|
import { n as loadConfig } from "./config-DFWXZ6fI.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-1NGYV_8p.js";
|
|
8
8
|
import path from "node:path";
|
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ import { t as ensureSymiCliOnPath } from "./path-env-D3HgzjnU.js";
|
|
|
114
114
|
import { t as assertSupportedRuntime } from "./runtime-guard-dBbuLE2m.js";
|
|
115
115
|
import "./ports-6ULVruzH.js";
|
|
116
116
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-BnhBnqf2.js";
|
|
117
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
117
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-C_BCGX6e.js";
|
|
118
118
|
import "./catalog-pt1jhhyb.js";
|
|
119
119
|
import "./plugin-registry-B33lS3i0.js";
|
|
120
120
|
import { n as resolveCliChannelOptions } from "./channel-options-uukUHxrR.js";
|
|
@@ -3972,7 +3972,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3972
3972
|
* to bypass the min-interval guard (CLI use).
|
|
3973
3973
|
*/
|
|
3974
3974
|
async runL3CycleIfDue(params) {
|
|
3975
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-2NaeqmAF.js"), import("./synthesis-
|
|
3975
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-2NaeqmAF.js"), import("./synthesis-DFyjufzc.js")]);
|
|
3976
3976
|
const synthesize = createSynthesizer({
|
|
3977
3977
|
cfg: this.cfg,
|
|
3978
3978
|
agentId: this.agentId,
|
|
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
14
14
|
import { r as healthCommand } from "./health-CcIuOt6-.js";
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-Buq2k7LQ.js";
|
|
16
16
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-C4cGXLuI.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-CZuxhCZR.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-C7jeLI7r.js";
|
|
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-BofkqBu7.js";
|
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
12
12
|
import { r as healthCommand } from "./health-CMNaNxdO.js";
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-HqJ5qUk9.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DxCWh5rj.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-B_n1Ng2R.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CDNE7OaF.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -105,16 +105,16 @@ import "./pairing-labels-6wdVkxUt.js";
|
|
|
105
105
|
import "./pi-tools.policy-CQ0NqaBl.js";
|
|
106
106
|
import "./heartbeat-visibility-D7nLp3pi.js";
|
|
107
107
|
import "./runtime-guard-dBbuLE2m.js";
|
|
108
|
-
import "./program-context-
|
|
108
|
+
import "./program-context-C_BCGX6e.js";
|
|
109
109
|
import "./note-CYS1SoX6.js";
|
|
110
|
-
import { r as installCompletion } from "./completion-cli-
|
|
110
|
+
import { r as installCompletion } from "./completion-cli-CSoNdvYn.js";
|
|
111
111
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BR2zWQaj.js";
|
|
112
112
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
113
113
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
114
114
|
import { r as healthCommand } from "./health-CcIuOt6-.js";
|
|
115
115
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CtKVON4w.js";
|
|
116
116
|
import { t as formatHealthCheckFailure } from "./health-format-Ct4VWeSk.js";
|
|
117
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
117
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Cx_h4e8C.js";
|
|
118
118
|
import { t as runTui } from "./tui-Cb1kUTIe.js";
|
|
119
119
|
import os from "node:os";
|
|
120
120
|
import path from "node:path";
|
|
@@ -101,10 +101,10 @@ import "./pairing-labels-D5bj-6hr.js";
|
|
|
101
101
|
import "./pi-tools.policy-Dcon0Kdw.js";
|
|
102
102
|
import "./heartbeat-visibility-C1vHOBwO.js";
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
|
-
import "./register.subclis-
|
|
105
|
-
import "./command-registry-
|
|
104
|
+
import "./register.subclis-Bzag-xbt.js";
|
|
105
|
+
import "./command-registry-DvI-_9ed.js";
|
|
106
106
|
import "./program-context-DeZ44oQ9.js";
|
|
107
|
-
import { r as installCompletion } from "./completion-cli-
|
|
107
|
+
import { r as installCompletion } from "./completion-cli-D4db0jDk.js";
|
|
108
108
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-zr84-Tnf.js";
|
|
109
109
|
import "./runtime-guard-BofkqBu7.js";
|
|
110
110
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
@@ -112,7 +112,7 @@ import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
|
112
112
|
import { r as healthCommand } from "./health-CMNaNxdO.js";
|
|
113
113
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DKcwWWGv.js";
|
|
114
114
|
import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
|
|
115
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
115
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Dh1Ui0Jl.js";
|
|
116
116
|
import { t as runTui } from "./tui-lLpf5sOM.js";
|
|
117
117
|
import os from "node:os";
|
|
118
118
|
import path from "node:path";
|