@symerian/symi 2.1.10 → 2.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-q7Sc1Tpi.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-K_r7OhcD.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CRksecBH.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{active-listener-DXU1iEiq.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-BkCGKhZd.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{audio-preflight-BbZjr38h.js → audio-preflight-BZIRAXlv.js} +29 -29
- package/dist/{audio-preflight-IRs02MgH.js → audio-preflight-BnwAAlLw.js} +4 -4
- package/dist/{bindings-Bv-cp2U5.js → bindings-B7Ke6LJi.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-IwGy5fjY.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{chrome-B4c8SEkN.js → chrome-791kNCCB.js} +13 -13
- package/dist/{chrome-CqribT6Z.js → chrome-DPHgzMPu.js} +7 -7
- package/dist/{chunk-CxYL-OXO.js → chunk-BW5f05BR.js} +1 -1
- package/dist/{command-format-HKbBegfJ.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{commands-registry-BqkqVEHA.js → commands-registry-BCRa0DAp.js} +4 -4
- package/dist/{config-BrAFSU6Z.js → config-CfZ-oKwR.js} +17 -17
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/js/models.js +1 -1
- package/dist/{deliver-CfiME1St.js → deliver-CrlXl9KD.js} +20 -20
- package/dist/{deliver-vWWI-94q.js → deliver-EKA6SdgU.js} +1 -1
- package/dist/{diagnostic-CINBNBQX.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-wVHII0KO.js → frontmatter-C_bv_0P8.js} +4 -4
- package/dist/{gemini-auth-BwRMlWJH.js → gemini-auth-DzFcFvHV.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{image-CV4FUL4M.js → image-EKTeO3aa.js} +1 -1
- package/dist/{image-ops-Lmflb2E9.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/{image-DEVMOUEF.js → image-ycxQmhff.js} +4 -4
- package/dist/{ir-CuuCOLHL.js → ir-DccrnjsE.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-C0y1zqg5.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-C-iEZ7-d.js → login-DMnQmqbM.js} +7 -7
- package/dist/{login-qr-Z0tp3m4b.js → login-qr-Dbb1xG4s.js} +12 -12
- package/dist/{manager-BlH-kIAA.js → manager-M83fJMDC.js} +13 -13
- package/dist/{manifest-registry-DetgyAnG.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-C4L0emuC.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{message-channel-Bzd90Fg1.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-auth-DbMOVgB3.js → model-auth-64S8o7s-.js} +9 -9
- package/dist/{outbound-CsCk7-X6.js → outbound-DEjQvzWk.js} +7 -7
- package/dist/{outbound-attachment-DTzYlChD.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-Cog6KWQ0.js → pi-auth-json-wQxiCgzR.js} +8 -8
- package/dist/{pi-embedded-DguKAKpR.js → pi-embedded-02ObvVIR.js} +16 -16
- package/dist/{pi-embedded-l6fnSeuU.js → pi-embedded-AKhKHxb6.js} +160 -160
- package/dist/{pi-embedded-helpers-SPJVuQfB.js → pi-embedded-helpers-B6ugLqkI.js} +4 -4
- package/dist/{pi-embedded-helpers-DwUUGl8K.js → pi-embedded-helpers-DoTustDz.js} +52 -52
- package/dist/{plugins-D1_FhsCG.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{pw-ai-DnN0T7wd.js → pw-ai-CD2xT-vT.js} +1 -1
- package/dist/{pw-ai-BIGSU-k2.js → pw-ai-DIVguI36.js} +11 -11
- package/dist/{qmd-manager-jPsEJprD.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{registry-Cgbuhd6U.js → registry-CK4e9hn8.js} +19 -19
- package/dist/{replies-CjfQWlpL.js → replies-Cj2HD2yn.js} +3 -3
- package/dist/{reply-prefix-NvPdveXK.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BoOTtfRC.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-CZ13t_sq.js → retry-Cly39XZB.js} +1 -1
- package/dist/{runner-Cx1wJumq.js → runner-BlTur7kC.js} +1 -1
- package/dist/{runner-Dl0eiBve.js → runner-Cw5KZrjx.js} +9 -9
- package/dist/{send-3jM0m9vc.js → send-BxrNk2KH.js} +7 -7
- package/dist/{send-DJ537kMF.js → send-Ct3wqNP6.js} +6 -6
- package/dist/{send-CQxYqAP8.js → send-D0WfDllx.js} +10 -10
- package/dist/{send-DZCl3x0a.js → send-G-E0gOCC.js} +18 -18
- package/dist/{send-BDVMssZq.js → send-QC5kvnW3.js} +6 -6
- package/dist/{session-BgWKJ33t.js → session-BK0E3EZe.js} +8 -8
- package/dist/{skill-commands-BtMC57oh.js → skill-commands-DCDG7ki5.js} +9 -9
- package/dist/{skills-8Qi9zQz0.js → skills-BFekKL7i.js} +21 -21
- package/dist/{sqlite-ReocE89T.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{store-CsOqrZPF.js → store-C0wvOkae.js} +2 -2
- package/dist/{subsystem-LRKKAgQx.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{tables-Du3x5E08.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DUTv7Hgk.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{thinking-DwjHOBvM.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-CXvgek4j.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DA9V4mO7.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-43NkVgks.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{web-cSkprx6P.js → web-CMl4g_Bl.js} +6 -6
- package/dist/{web-Cbjmu3ex.js → web-Kz-ZuUjq.js} +57 -57
- package/dist/{whatsapp-actions-CmlTTSUG.js → whatsapp-actions-CHVuR8Yp.js} +23 -23
- package/dist/{workspace-CFIJ53-f.js → workspace-wAaHI8-5.js} +6 -6
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { m as createAccountListHelpers } from "./accounts-tNElYrCH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { m as createAccountListHelpers } from "./accounts-tNElYrCH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as resolveOAuthDir } from "./paths-
|
|
1
|
+
import { a as resolveOAuthDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath, K as info, Q as success, j as jidToE164, rt as getChildLogger } from "./registry-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { I as resolveUserPath, K as info, Q as success, j as jidToE164, rt as getChildLogger } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-Bs9YvKLa.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs$1 from "node:fs";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-helpers.ts
|
|
11
11
|
function createAccountListHelpers(channelKey) {
|
|
@@ -45,10 +45,10 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
45
45
|
}
|
|
46
46
|
function readCredsJsonRaw(filePath) {
|
|
47
47
|
try {
|
|
48
|
-
if (!
|
|
49
|
-
const stats =
|
|
48
|
+
if (!fs$1.existsSync(filePath)) return null;
|
|
49
|
+
const stats = fs$1.statSync(filePath);
|
|
50
50
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
51
|
-
return
|
|
51
|
+
return fs$1.readFileSync(filePath, "utf-8");
|
|
52
52
|
} catch {
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
@@ -66,9 +66,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
66
66
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
67
67
|
if (!backupRaw) return;
|
|
68
68
|
JSON.parse(backupRaw);
|
|
69
|
-
|
|
69
|
+
fs$1.copyFileSync(backupPath, credsPath);
|
|
70
70
|
try {
|
|
71
|
-
|
|
71
|
+
fs$1.chmodSync(credsPath, 384);
|
|
72
72
|
} catch {}
|
|
73
73
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
74
74
|
} catch {}
|
|
@@ -124,11 +124,11 @@ async function logoutWeb(params) {
|
|
|
124
124
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
125
125
|
try {
|
|
126
126
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
127
|
-
if (!
|
|
127
|
+
if (!fs$1.existsSync(credsPath)) return {
|
|
128
128
|
e164: null,
|
|
129
129
|
jid: null
|
|
130
130
|
};
|
|
131
|
-
const raw =
|
|
131
|
+
const raw = fs$1.readFileSync(credsPath, "utf-8");
|
|
132
132
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
133
133
|
return {
|
|
134
134
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -147,7 +147,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
147
147
|
*/
|
|
148
148
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
149
149
|
try {
|
|
150
|
-
const stats =
|
|
150
|
+
const stats = fs$1.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
151
151
|
return Date.now() - stats.mtimeMs;
|
|
152
152
|
} catch {
|
|
153
153
|
return null;
|
|
@@ -182,7 +182,7 @@ function resolveLegacyAuthDir() {
|
|
|
182
182
|
}
|
|
183
183
|
function legacyAuthExists(authDir) {
|
|
184
184
|
try {
|
|
185
|
-
return
|
|
185
|
+
return fs$1.existsSync(path.join(authDir, "creds.json"));
|
|
186
186
|
} catch {
|
|
187
187
|
return false;
|
|
188
188
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID, y as parseAgentSessionKey } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { I as resolveUserPath } from "./registry-
|
|
4
|
-
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
3
|
+
import { I as resolveUserPath } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-wAaHI8-5.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/skills/filter.ts
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { J as logVerbose, Z as shouldLogVerbose } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./accounts-
|
|
1
|
+
import "./paths-Cce4PUkG.js";
|
|
2
|
+
import { J as logVerbose, Z as shouldLogVerbose } from "./registry-CK4e9hn8.js";
|
|
3
|
+
import "./agent-scope-BxoUQqgM.js";
|
|
4
|
+
import "./subsystem-Bs9YvKLa.js";
|
|
5
|
+
import "./workspace-wAaHI8-5.js";
|
|
6
|
+
import "./plugins-DQYI3Fr-.js";
|
|
7
|
+
import "./accounts-tNElYrCH.js";
|
|
8
8
|
import "./boolean-B8-BqKGQ.js";
|
|
9
|
-
import "./command-format-
|
|
10
|
-
import "./bindings-
|
|
11
|
-
import "./accounts-
|
|
12
|
-
import "./image-ops-
|
|
13
|
-
import "./model-auth-
|
|
14
|
-
import "./github-copilot-token-
|
|
9
|
+
import "./command-format-BaxDnULz.js";
|
|
10
|
+
import "./bindings-B7Ke6LJi.js";
|
|
11
|
+
import "./accounts-CWktKM8a.js";
|
|
12
|
+
import "./image-ops-CvJzsyvE.js";
|
|
13
|
+
import "./model-auth-64S8o7s-.js";
|
|
14
|
+
import "./github-copilot-token-C_qUP7p5.js";
|
|
15
15
|
import "./pi-model-discovery-DaNAekda.js";
|
|
16
|
-
import "./message-channel-
|
|
17
|
-
import "./pi-embedded-helpers-
|
|
18
|
-
import "./config-
|
|
19
|
-
import "./manifest-registry-
|
|
20
|
-
import "./chrome-
|
|
21
|
-
import "./frontmatter-
|
|
22
|
-
import "./skills-
|
|
16
|
+
import "./message-channel-Dz5lr5b0.js";
|
|
17
|
+
import "./pi-embedded-helpers-DoTustDz.js";
|
|
18
|
+
import "./config-CfZ-oKwR.js";
|
|
19
|
+
import "./manifest-registry-D0IQ3WuX.js";
|
|
20
|
+
import "./chrome-791kNCCB.js";
|
|
21
|
+
import "./frontmatter-C_bv_0P8.js";
|
|
22
|
+
import "./skills-BFekKL7i.js";
|
|
23
23
|
import "./redact-jSxx6Ep2.js";
|
|
24
24
|
import "./errors-BoQgnc8X.js";
|
|
25
25
|
import "./ssrf-BTMDZjHT.js";
|
|
26
|
-
import "./store-
|
|
27
|
-
import "./thinking-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./paths-
|
|
30
|
-
import "./tool-images-
|
|
31
|
-
import "./image-
|
|
32
|
-
import "./gemini-auth-
|
|
33
|
-
import "./local-roots-
|
|
34
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
26
|
+
import "./store-C0wvOkae.js";
|
|
27
|
+
import "./thinking-CdlENGRW.js";
|
|
28
|
+
import "./accounts-qtxJ-6em.js";
|
|
29
|
+
import "./paths-DLyHUt31.js";
|
|
30
|
+
import "./tool-images-DXB7tqWi.js";
|
|
31
|
+
import "./image-ycxQmhff.js";
|
|
32
|
+
import "./gemini-auth-DzFcFvHV.js";
|
|
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-Cw5KZrjx.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-B6ugLqkI.js";
|
|
16
16
|
import "./config-diuFc3fL.js";
|
|
17
17
|
import "./manifest-registry-D-mTF1cj.js";
|
|
18
|
-
import "./chrome-
|
|
18
|
+
import "./chrome-DPHgzMPu.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-EKTeO3aa.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-BlTur7kC.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry-CK4e9hn8.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-BxoUQqgM.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
package/dist/build-info.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import "../../paths-
|
|
1
|
+
import "../../paths-Cce4PUkG.js";
|
|
2
2
|
import { l as resolveAgentIdFromSessionKey } from "../../session-key-BCzIW1Y2.js";
|
|
3
|
-
import { b as isGatewayStartupEvent } from "../../registry-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-
|
|
5
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-
|
|
6
|
-
import "../../workspace-
|
|
7
|
-
import { n as SILENT_REPLY_TOKEN } from "../../tokens-
|
|
8
|
-
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-
|
|
9
|
-
import "../../plugins-
|
|
10
|
-
import "../../accounts-
|
|
3
|
+
import { b as isGatewayStartupEvent } from "../../registry-CK4e9hn8.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-BxoUQqgM.js";
|
|
5
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-Bs9YvKLa.js";
|
|
6
|
+
import "../../workspace-wAaHI8-5.js";
|
|
7
|
+
import { n as SILENT_REPLY_TOKEN } from "../../tokens-H1H1LiSQ.js";
|
|
8
|
+
import { a as createDefaultDeps, i as agentCommand } from "../../pi-embedded-AKhKHxb6.js";
|
|
9
|
+
import "../../plugins-DQYI3Fr-.js";
|
|
10
|
+
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
12
|
-
import "../../command-format-
|
|
13
|
-
import "../../bindings-
|
|
14
|
-
import "../../send-
|
|
15
|
-
import "../../send-
|
|
16
|
-
import "../../deliver-
|
|
17
|
-
import "../../diagnostic-
|
|
12
|
+
import "../../command-format-BaxDnULz.js";
|
|
13
|
+
import "../../bindings-B7Ke6LJi.js";
|
|
14
|
+
import "../../send-Ct3wqNP6.js";
|
|
15
|
+
import "../../send-D0WfDllx.js";
|
|
16
|
+
import "../../deliver-CrlXl9KD.js";
|
|
17
|
+
import "../../diagnostic-CI0kRQkt.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
|
-
import "../../accounts-
|
|
20
|
-
import "../../send-
|
|
21
|
-
import "../../image-ops-
|
|
22
|
-
import "../../model-auth-
|
|
23
|
-
import "../../github-copilot-token-
|
|
19
|
+
import "../../accounts-CWktKM8a.js";
|
|
20
|
+
import "../../send-G-E0gOCC.js";
|
|
21
|
+
import "../../image-ops-CvJzsyvE.js";
|
|
22
|
+
import "../../model-auth-64S8o7s-.js";
|
|
23
|
+
import "../../github-copilot-token-C_qUP7p5.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
|
-
import "../../message-channel-
|
|
26
|
-
import { H as loadSessionStore, K as updateSessionStore, xt as resolveMainSessionKey, yt as resolveAgentMainSessionKey } from "../../pi-embedded-helpers-
|
|
27
|
-
import "../../config-
|
|
28
|
-
import "../../manifest-registry-
|
|
29
|
-
import "../../chrome-
|
|
30
|
-
import "../../frontmatter-
|
|
31
|
-
import "../../skills-
|
|
25
|
+
import "../../message-channel-Dz5lr5b0.js";
|
|
26
|
+
import { H as loadSessionStore, K as updateSessionStore, xt as resolveMainSessionKey, yt as resolveAgentMainSessionKey } from "../../pi-embedded-helpers-DoTustDz.js";
|
|
27
|
+
import "../../config-CfZ-oKwR.js";
|
|
28
|
+
import "../../manifest-registry-D0IQ3WuX.js";
|
|
29
|
+
import "../../chrome-791kNCCB.js";
|
|
30
|
+
import "../../frontmatter-C_bv_0P8.js";
|
|
31
|
+
import "../../skills-BFekKL7i.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
33
33
|
import "../../errors-BoQgnc8X.js";
|
|
34
34
|
import "../../ssrf-BTMDZjHT.js";
|
|
35
|
-
import "../../store-
|
|
36
|
-
import "../../thinking-
|
|
37
|
-
import "../../accounts-
|
|
38
|
-
import { s as resolveStorePath } from "../../paths-
|
|
39
|
-
import "../../tool-images-
|
|
40
|
-
import "../../image-
|
|
41
|
-
import "../../reply-prefix-
|
|
42
|
-
import "../../manager-
|
|
43
|
-
import "../../gemini-auth-
|
|
44
|
-
import "../../sqlite-
|
|
45
|
-
import "../../retry-
|
|
46
|
-
import "../../target-errors-
|
|
47
|
-
import "../../chunk-
|
|
48
|
-
import "../../markdown-tables-
|
|
49
|
-
import "../../local-roots-
|
|
50
|
-
import "../../ir-
|
|
35
|
+
import "../../store-C0wvOkae.js";
|
|
36
|
+
import "../../thinking-CdlENGRW.js";
|
|
37
|
+
import "../../accounts-qtxJ-6em.js";
|
|
38
|
+
import { s as resolveStorePath } from "../../paths-DLyHUt31.js";
|
|
39
|
+
import "../../tool-images-DXB7tqWi.js";
|
|
40
|
+
import "../../image-ycxQmhff.js";
|
|
41
|
+
import "../../reply-prefix-XlyuyChD.js";
|
|
42
|
+
import "../../manager-M83fJMDC.js";
|
|
43
|
+
import "../../gemini-auth-DzFcFvHV.js";
|
|
44
|
+
import "../../sqlite-DRbx2dhW.js";
|
|
45
|
+
import "../../retry-Cly39XZB.js";
|
|
46
|
+
import "../../target-errors-Be1SwYlW.js";
|
|
47
|
+
import "../../chunk-BW5f05BR.js";
|
|
48
|
+
import "../../markdown-tables-iMQQZu4Q.js";
|
|
49
|
+
import "../../local-roots-DMwIh5cS.js";
|
|
50
|
+
import "../../ir-DccrnjsE.js";
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
|
-
import "../../commands-registry-
|
|
53
|
-
import "../../skill-commands-
|
|
54
|
-
import "../../runner-
|
|
52
|
+
import "../../commands-registry-BCRa0DAp.js";
|
|
53
|
+
import "../../skill-commands-DCDG7ki5.js";
|
|
54
|
+
import "../../runner-Cw5KZrjx.js";
|
|
55
55
|
import "../../fetch-Bso4i15F.js";
|
|
56
|
-
import "../../channel-activity-
|
|
57
|
-
import "../../tables-
|
|
58
|
-
import "../../send-
|
|
59
|
-
import "../../outbound-attachment-
|
|
60
|
-
import "../../send-
|
|
61
|
-
import "../../resolve-route-
|
|
56
|
+
import "../../channel-activity-CsM_hJ_s.js";
|
|
57
|
+
import "../../tables-DuZspiBu.js";
|
|
58
|
+
import "../../send-QC5kvnW3.js";
|
|
59
|
+
import "../../outbound-attachment-DjNDa3zn.js";
|
|
60
|
+
import "../../send-BxrNk2KH.js";
|
|
61
|
+
import "../../resolve-route-CZ-1eqw0.js";
|
|
62
62
|
import "../../proxy-CBJ1upuz.js";
|
|
63
|
-
import "../../replies-
|
|
63
|
+
import "../../replies-Cj2HD2yn.js";
|
|
64
64
|
import fs from "node:fs/promises";
|
|
65
65
|
import path from "node:path";
|
|
66
66
|
import crypto from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../paths-
|
|
2
|
-
import { y as isAgentBootstrapEvent } from "../../registry-
|
|
3
|
-
import "../../subsystem-
|
|
4
|
-
import { d as loadExtraBootstrapFiles, u as filterBootstrapFilesForSession } from "../../workspace-
|
|
1
|
+
import "../../paths-Cce4PUkG.js";
|
|
2
|
+
import { y as isAgentBootstrapEvent } from "../../registry-CK4e9hn8.js";
|
|
3
|
+
import "../../subsystem-Bs9YvKLa.js";
|
|
4
|
+
import { d as loadExtraBootstrapFiles, u as filterBootstrapFilesForSession } from "../../workspace-wAaHI8-5.js";
|
|
5
5
|
import "../../boolean-B8-BqKGQ.js";
|
|
6
|
-
import "../../frontmatter-
|
|
6
|
+
import "../../frontmatter-C_bv_0P8.js";
|
|
7
7
|
import { t as resolveHookConfig } from "../../config-ClSsetRi.js";
|
|
8
8
|
|
|
9
9
|
//#region src/hooks/bundled/bootstrap-extra-files/handler.ts
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "../../paths-
|
|
1
|
+
import { s as resolveStateDir } from "../../paths-Cce4PUkG.js";
|
|
2
2
|
import { l as resolveAgentIdFromSessionKey } from "../../session-key-BCzIW1Y2.js";
|
|
3
|
-
import "../../registry-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "../../subsystem-
|
|
6
|
-
import "../../workspace-
|
|
7
|
-
import "../../tokens-
|
|
8
|
-
import "../../pi-embedded-
|
|
9
|
-
import "../../plugins-
|
|
10
|
-
import "../../accounts-
|
|
3
|
+
import "../../registry-CK4e9hn8.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-BxoUQqgM.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "../../subsystem-Bs9YvKLa.js";
|
|
6
|
+
import "../../workspace-wAaHI8-5.js";
|
|
7
|
+
import "../../tokens-H1H1LiSQ.js";
|
|
8
|
+
import "../../pi-embedded-AKhKHxb6.js";
|
|
9
|
+
import "../../plugins-DQYI3Fr-.js";
|
|
10
|
+
import "../../accounts-tNElYrCH.js";
|
|
11
11
|
import "../../boolean-B8-BqKGQ.js";
|
|
12
|
-
import "../../command-format-
|
|
13
|
-
import "../../bindings-
|
|
14
|
-
import "../../send-
|
|
15
|
-
import "../../send-
|
|
16
|
-
import "../../deliver-
|
|
17
|
-
import "../../diagnostic-
|
|
12
|
+
import "../../command-format-BaxDnULz.js";
|
|
13
|
+
import "../../bindings-B7Ke6LJi.js";
|
|
14
|
+
import "../../send-Ct3wqNP6.js";
|
|
15
|
+
import "../../send-D0WfDllx.js";
|
|
16
|
+
import "../../deliver-CrlXl9KD.js";
|
|
17
|
+
import "../../diagnostic-CI0kRQkt.js";
|
|
18
18
|
import "../../diagnostic-session-state-Bxo4UHOL.js";
|
|
19
|
-
import "../../accounts-
|
|
20
|
-
import "../../send-
|
|
21
|
-
import "../../image-ops-
|
|
22
|
-
import "../../model-auth-
|
|
23
|
-
import "../../github-copilot-token-
|
|
19
|
+
import "../../accounts-CWktKM8a.js";
|
|
20
|
+
import "../../send-G-E0gOCC.js";
|
|
21
|
+
import "../../image-ops-CvJzsyvE.js";
|
|
22
|
+
import "../../model-auth-64S8o7s-.js";
|
|
23
|
+
import "../../github-copilot-token-C_qUP7p5.js";
|
|
24
24
|
import "../../pi-model-discovery-DaNAekda.js";
|
|
25
|
-
import "../../message-channel-
|
|
26
|
-
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-
|
|
27
|
-
import "../../config-
|
|
28
|
-
import "../../manifest-registry-
|
|
29
|
-
import "../../chrome-
|
|
30
|
-
import "../../frontmatter-
|
|
31
|
-
import "../../skills-
|
|
25
|
+
import "../../message-channel-Dz5lr5b0.js";
|
|
26
|
+
import { ct as hasInterSessionUserProvenance } from "../../pi-embedded-helpers-DoTustDz.js";
|
|
27
|
+
import "../../config-CfZ-oKwR.js";
|
|
28
|
+
import "../../manifest-registry-D0IQ3WuX.js";
|
|
29
|
+
import "../../chrome-791kNCCB.js";
|
|
30
|
+
import "../../frontmatter-C_bv_0P8.js";
|
|
31
|
+
import "../../skills-BFekKL7i.js";
|
|
32
32
|
import "../../redact-jSxx6Ep2.js";
|
|
33
33
|
import "../../errors-BoQgnc8X.js";
|
|
34
34
|
import "../../ssrf-BTMDZjHT.js";
|
|
35
|
-
import "../../store-
|
|
36
|
-
import "../../thinking-
|
|
37
|
-
import "../../accounts-
|
|
38
|
-
import "../../paths-
|
|
39
|
-
import "../../tool-images-
|
|
40
|
-
import "../../image-
|
|
41
|
-
import "../../reply-prefix-
|
|
42
|
-
import "../../manager-
|
|
43
|
-
import "../../gemini-auth-
|
|
44
|
-
import "../../sqlite-
|
|
45
|
-
import "../../retry-
|
|
46
|
-
import "../../target-errors-
|
|
47
|
-
import "../../chunk-
|
|
48
|
-
import "../../markdown-tables-
|
|
49
|
-
import "../../local-roots-
|
|
50
|
-
import "../../ir-
|
|
35
|
+
import "../../store-C0wvOkae.js";
|
|
36
|
+
import "../../thinking-CdlENGRW.js";
|
|
37
|
+
import "../../accounts-qtxJ-6em.js";
|
|
38
|
+
import "../../paths-DLyHUt31.js";
|
|
39
|
+
import "../../tool-images-DXB7tqWi.js";
|
|
40
|
+
import "../../image-ycxQmhff.js";
|
|
41
|
+
import "../../reply-prefix-XlyuyChD.js";
|
|
42
|
+
import "../../manager-M83fJMDC.js";
|
|
43
|
+
import "../../gemini-auth-DzFcFvHV.js";
|
|
44
|
+
import "../../sqlite-DRbx2dhW.js";
|
|
45
|
+
import "../../retry-Cly39XZB.js";
|
|
46
|
+
import "../../target-errors-Be1SwYlW.js";
|
|
47
|
+
import "../../chunk-BW5f05BR.js";
|
|
48
|
+
import "../../markdown-tables-iMQQZu4Q.js";
|
|
49
|
+
import "../../local-roots-DMwIh5cS.js";
|
|
50
|
+
import "../../ir-DccrnjsE.js";
|
|
51
51
|
import "../../render-CDCvpfhh.js";
|
|
52
|
-
import "../../commands-registry-
|
|
53
|
-
import "../../skill-commands-
|
|
54
|
-
import "../../runner-
|
|
52
|
+
import "../../commands-registry-BCRa0DAp.js";
|
|
53
|
+
import "../../skill-commands-DCDG7ki5.js";
|
|
54
|
+
import "../../runner-Cw5KZrjx.js";
|
|
55
55
|
import "../../fetch-Bso4i15F.js";
|
|
56
|
-
import "../../channel-activity-
|
|
57
|
-
import "../../tables-
|
|
58
|
-
import "../../send-
|
|
59
|
-
import "../../outbound-attachment-
|
|
60
|
-
import "../../send-
|
|
61
|
-
import "../../resolve-route-
|
|
56
|
+
import "../../channel-activity-CsM_hJ_s.js";
|
|
57
|
+
import "../../tables-DuZspiBu.js";
|
|
58
|
+
import "../../send-QC5kvnW3.js";
|
|
59
|
+
import "../../outbound-attachment-DjNDa3zn.js";
|
|
60
|
+
import "../../send-BxrNk2KH.js";
|
|
61
|
+
import "../../resolve-route-CZ-1eqw0.js";
|
|
62
62
|
import "../../proxy-CBJ1upuz.js";
|
|
63
|
-
import "../../replies-
|
|
63
|
+
import "../../replies-Cj2HD2yn.js";
|
|
64
64
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
65
65
|
import { t as resolveHookConfig } from "../../config-ClSsetRi.js";
|
|
66
66
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
24f8e6dcac4d2220a42722f4d3265a2a0e24c72cbb96c449fd2bda4f92ebf9c0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as formatErrorMessage } from "./errors-BoQgnc8X.js";
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-Cly39XZB.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
1
|
+
import { S as CONFIG_DIR } from "./registry-CK4e9hn8.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
3
|
+
import { n as loadConfig } from "./config-CfZ-oKwR.js";
|
|
4
4
|
import { i as isErrno } from "./errors-BoQgnc8X.js";
|
|
5
5
|
import { a as resolvePinnedHostnameWithPolicy } from "./ssrf-BTMDZjHT.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
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";
|
|
@@ -1007,7 +1007,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1007
1007
|
]);
|
|
1008
1008
|
function exists$1(filePath) {
|
|
1009
1009
|
try {
|
|
1010
|
-
return
|
|
1010
|
+
return fs$1.existsSync(filePath);
|
|
1011
1011
|
} catch {
|
|
1012
1012
|
return false;
|
|
1013
1013
|
}
|
|
@@ -1150,7 +1150,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
function readDesktopExecLine(desktopPath) {
|
|
1152
1152
|
try {
|
|
1153
|
-
const lines =
|
|
1153
|
+
const lines = fs$1.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1154
1154
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1155
1155
|
} catch {}
|
|
1156
1156
|
return null;
|
|
@@ -1437,8 +1437,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
function safeReadJson(filePath) {
|
|
1439
1439
|
try {
|
|
1440
|
-
if (!
|
|
1441
|
-
const raw =
|
|
1440
|
+
if (!fs$1.existsSync(filePath)) return null;
|
|
1441
|
+
const raw = fs$1.readFileSync(filePath, "utf-8");
|
|
1442
1442
|
const parsed = JSON.parse(raw);
|
|
1443
1443
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1444
1444
|
return parsed;
|
|
@@ -1447,8 +1447,8 @@ function safeReadJson(filePath) {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
1449
|
function safeWriteJson(filePath, data) {
|
|
1450
|
-
|
|
1451
|
-
|
|
1450
|
+
fs$1.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1451
|
+
fs$1.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1452
1452
|
}
|
|
1453
1453
|
function setDeep(obj, keys, value) {
|
|
1454
1454
|
let node = obj;
|
|
@@ -1575,7 +1575,7 @@ function decorateSymiProfile(userDataDir, opts) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
safeWriteJson(preferencesPath, prefs);
|
|
1577
1577
|
try {
|
|
1578
|
-
|
|
1578
|
+
fs$1.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
1579
1579
|
} catch {}
|
|
1580
1580
|
}
|
|
1581
1581
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -1591,7 +1591,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
1591
1591
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
1592
1592
|
function exists(filePath) {
|
|
1593
1593
|
try {
|
|
1594
|
-
return
|
|
1594
|
+
return fs$1.existsSync(filePath);
|
|
1595
1595
|
} catch {
|
|
1596
1596
|
return false;
|
|
1597
1597
|
}
|
|
@@ -1671,7 +1671,7 @@ async function launchSymiChrome(resolved, profile) {
|
|
|
1671
1671
|
const exe = resolveBrowserExecutable(resolved);
|
|
1672
1672
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
1673
1673
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
1674
|
-
|
|
1674
|
+
fs$1.mkdirSync(userDataDir, { recursive: true });
|
|
1675
1675
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_SYMI_BROWSER_COLOR).toUpperCase());
|
|
1676
1676
|
const spawnOnce = () => {
|
|
1677
1677
|
const args = [
|