@symerian/symi 2.0.3 → 2.0.4
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-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-DtoHlMPd.js → agents-CsyjhO3N.js} +4 -4
- package/dist/{agents.config-D42lZLmR.js → agents.config-BFV9oAqS.js} +1 -1
- package/dist/{agents.config-DnUOlYlU.js → agents.config-LrptXEll.js} +1 -1
- package/dist/{audio-preflight-C1uyo4vM.js → audio-preflight-DL5FZnXU.js} +29 -29
- package/dist/{auth-choice-D5BDSGnl.js → auth-choice-CW56xars.js} +1 -1
- package/dist/{auth-choice-C9otuJPA.js → auth-choice-DAcPZlQ4.js} +1 -1
- package/dist/{banner-CF7C3krf.js → banner-CRmRSjV-.js} +1 -1
- package/dist/{bindings-BU2hsBd9.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-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-DzhTX3wl.js → channel-options-DtAsD44B.js} +1 -1
- package/dist/{channel-options-Csa-TtDi.js → channel-options-WeLJ-qZv.js} +1 -1
- package/dist/{channel-web-CjvCBPqU.js → channel-web-4dakqfZ6.js} +1 -1
- package/dist/{channels-cli-KlwkjyCS.js → channels-cli-3AqiVyJK.js} +6 -6
- package/dist/{channels-cli-DDN_16Kv.js → channels-cli-Tcx1ltrU.js} +6 -6
- package/dist/{chrome-CTMkDHCZ.js → chrome-DuXtddnV.js} +20 -20
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/{cli-DJI_OS4-.js → cli-BUYtzqrh.js} +3 -3
- package/dist/{cli-B5hVys4U.js → cli-Bf6dBl2M.js} +3 -3
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-BCcHr4Zl.js → command-registry-CuCOesOu.js} +10 -10
- package/dist/{commands-registry-D1zSleL6.js → commands-registry-CurvwtTw.js} +4 -4
- package/dist/{completion-cli-CwhsXPDu.js → completion-cli-A03jNimw.js} +2 -2
- package/dist/{completion-cli-3qyNZZY8.js → completion-cli-Bk2ZD_0C.js} +1 -1
- package/dist/{config-B4Di8ISR.js → config-CwDeZVre.js} +12 -12
- package/dist/{config-cli-BZ9IeSYB.js → config-cli-DBpXyuRr.js} +1 -1
- package/dist/{config-cli-gykd9rl1.js → config-cli-qRVHb4Oh.js} +1 -1
- package/dist/{configure-awU0fYIM.js → configure-DC9UBER3.js} +3 -3
- package/dist/{configure-DaF95oCr.js → configure-K6W-Wmjp.js} +3 -3
- package/dist/{deliver-CtTfl32o.js → deliver-D7lL85xc.js} +20 -20
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{doctor-completion-DbjMSopv.js → doctor-completion-DuF3drKi.js} +1 -1
- package/dist/{doctor-completion-D3TwE1w4.js → doctor-completion-dCd4PRCa.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{gateway-cli-BfnBBPhi.js → gateway-cli-BQvidd_s.js} +11 -11
- package/dist/{gateway-cli-Dp5kxNDZ.js → gateway-cli-DegPGmDr.js} +11 -11
- package/dist/{gemini-auth-BBWa_f-c.js → gemini-auth-DDojfpIT.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-DVJ8Jbb_.js → glass-ui-ws-B6WT1312.js} +9 -9
- package/dist/{glass-ui-ws-D421doEO.js → glass-ui-ws-CvI2XO4N.js} +9 -9
- package/dist/{health-6eO44S1z.js → health-CFyfITuA.js} +1 -1
- package/dist/{health-Cg5ISkwP.js → health-D9OIJnBc.js} +1 -1
- package/dist/{hooks-cli-DrJLLgya.js → hooks-cli-DZ9SSA1i.js} +4 -4
- package/dist/{hooks-cli-CSudu0uW.js → hooks-cli-U2StRJBl.js} +4 -4
- package/dist/{image-WVlJkWYO.js → image-Bw9ZjAgJ.js} +4 -4
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-CLnFYUir.js → login-B6HY_3uV.js} +7 -7
- package/dist/{login-qr-N6iHqtov.js → login-qr-cno8SVBt.js} +12 -12
- package/dist/{manager-DVrmVtOf.js → manager-BAHqvDty.js} +3 -3
- package/dist/{manager-BSlYwG4Q.js → manager-BY4hiBJp.js} +16 -16
- package/dist/{manager-azRNiI63.js → manager-Bjj7y8zp.js} +3 -3
- package/dist/{manager-B27VgRmJ.js → manager-D5M31nB7.js} +3 -3
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{memory-cli-BbOD_MAm.js → memory-cli-B4uTQIEI.js} +2 -2
- package/dist/{memory-cli-B9wNpmfA.js → memory-cli-BMc7fnhU.js} +2 -2
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-auth-B55liYhg.js → model-auth-Cbvnb5vf.js} +9 -9
- package/dist/{models-BTRkvFtl.js → models-Dk5xMeU4.js} +2 -2
- package/dist/{models-cli-D2fJlrQk.js → models-cli-CwYuAB8g.js} +5 -5
- package/dist/{models-cli-Dj8cNWRT.js → models-cli-MjhOqdj0.js} +4 -4
- package/dist/{onboard-DrC9PhAd.js → onboard-CLivT5b8.js} +2 -2
- package/dist/{onboard-CF18Px6X.js → onboard-ZEFOKEKv.js} +2 -2
- package/dist/{onboard-channels-DRFYxuUu.js → onboard-channels-B-JWhIP_.js} +1 -1
- package/dist/{onboard-channels-wh9lIrOV.js → onboard-channels-CZAZtEV5.js} +1 -1
- package/dist/{onboarding-CoKYMZge.js → onboarding-BXY7iYy4.js} +3 -3
- package/dist/{onboarding-BxtMkKTW.js → onboarding-CnpDWuV7.js} +3 -3
- package/dist/{onboarding.finalize-CLX9F864.js → onboarding.finalize-BB7-uXAL.js} +7 -7
- package/dist/{onboarding.finalize-C1zVIEme.js → onboarding.finalize-g1IyaTp2.js} +8 -8
- package/dist/{outbound-Bc4wVSZG.js → outbound-DnUbG06K.js} +7 -7
- package/dist/{outbound-attachment-Co2diKdP.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-b4xaJSBk.js → pi-auth-json-C7Sd8IAl.js} +8 -8
- package/dist/{pi-embedded-CGdznHBp.js → pi-embedded-B9HmOvPc.js} +5 -5
- package/dist/{pi-embedded-vSF1ziRD.js → pi-embedded-CR8-rUnH.js} +162 -162
- package/dist/{pi-embedded-helpers-CCMgxLVl.js → pi-embedded-helpers-CMPwkzmk.js} +52 -52
- package/dist/{plugin-registry-UAY71aAp.js → plugin-registry-BDQsWM3n.js} +1 -1
- package/dist/{plugin-registry-BbbgHAaN.js → plugin-registry-D7bCDbYz.js} +1 -1
- package/dist/plugin-sdk/{channel-web-cl9GZI67.js → channel-web-DkE6r-JP.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{manager-DBUFLDPF.js → manager-DvS9UUnQ.js} +3 -3
- package/dist/plugin-sdk/{reply-z8of-Etj.js → reply-DweB7zO1.js} +5 -5
- package/dist/plugin-sdk/{web-C3pizhFX.js → web-Cy-ESAAi.js} +3 -3
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-XdoAm0EH.js → plugins-cli-BWPgFbN5.js} +4 -4
- package/dist/{plugins-cli-EwQ7OW8w.js → plugins-cli-DUn51mRX.js} +4 -4
- package/dist/{program-HBWz0352.js → program--HNMyKy4.js} +9 -9
- package/dist/{program-context-Dnxa4BRv.js → program-context-Cod6yDP_.js} +18 -18
- package/dist/{prompt-select-styled-QaEE6uFc.js → prompt-select-styled-Cti7IE3R.js} +6 -6
- package/dist/{prompt-select-styled-BPbLHy8u.js → prompt-select-styled-DtLKu00W.js} +6 -6
- package/dist/{provider-auth-helpers-tpyE_YMw.js → provider-auth-helpers-D_KGNp8L.js} +1 -1
- package/dist/{provider-auth-helpers-_5rSLUts.js → provider-auth-helpers-fpKoK5jK.js} +1 -1
- package/dist/{push-apns-CIcS3If1.js → push-apns-CH3elp1k.js} +1 -1
- package/dist/{push-apns-zJAWgDEO.js → push-apns-CQrrwc6g.js} +1 -1
- package/dist/{pw-ai-DMa09vvy.js → pw-ai-DQ6HUvz0.js} +11 -11
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{register.agent-brAf6Dmv.js → register.agent-DroApr03.js} +8 -8
- package/dist/{register.agent-DNcdFB4H.js → register.agent-fFMFbM22.js} +7 -7
- package/dist/{register.configure-C76yU3JC.js → register.configure-BtPZM1Ka.js} +8 -8
- package/dist/{register.configure-DoJEj5YT.js → register.configure-M4fpgwpC.js} +8 -8
- package/dist/{register.maintenance-BWsl_CRR.js → register.maintenance-BXR8q1aU.js} +9 -9
- package/dist/{register.maintenance-yNdx8TEW.js → register.maintenance-DrL-aM4j.js} +10 -10
- package/dist/{register.message-CJZ0ZuHF.js → register.message-CTFQJkF_.js} +4 -4
- package/dist/{register.message-syMzQfo-.js → register.message-D0howKVS.js} +4 -4
- package/dist/{register.onboard-D1qJrd_y.js → register.onboard-CYY24Q0L.js} +6 -6
- package/dist/{register.onboard-ihq83ez3.js → register.onboard-WVW2Y_gn.js} +6 -6
- package/dist/{register.setup-GL00UiNA.js → register.setup-CqSDUFnd.js} +6 -6
- package/dist/{register.setup-BGXItvC3.js → register.setup-iZlmSRxV.js} +6 -6
- package/dist/{register.status-health-sessions-87LTzh7r.js → register.status-health-sessions-BzaCiajJ.js} +5 -5
- package/dist/{register.status-health-sessions-CPg2ES9O.js → register.status-health-sessions-CIOzwWs4.js} +5 -5
- package/dist/{register.subclis-CD3QaX57.js → register.subclis-DqWSZePw.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{replies-CoV8InBa.js → replies-CdijMW_S.js} +3 -3
- package/dist/{reply-D-tI2-6J.js → reply-KplunO6d.js} +4 -4
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{run-main-CDmsHQjn.js → run-main-DQSNC7Bz.js} +17 -17
- package/dist/{runner-CseBozoP.js → runner-Duym_W6W.js} +9 -9
- package/dist/{send-BK3EV4tO.js → send-BtxXqho0.js} +6 -6
- package/dist/{send-C00dpYCF.js → send-CFMDO5ON.js} +6 -6
- package/dist/{send-i0x7Ywhx.js → send-D0qx7lbT.js} +10 -10
- package/dist/{send-Bh5ssTkU.js → send-Iv1YQSmf.js} +18 -18
- package/dist/{send-DrUqe5-S.js → send-OoNECFaf.js} +7 -7
- package/dist/{server-methods-9BRiIiUB.js → server-methods-DUftn3Ov.js} +7 -7
- package/dist/{server-methods-BaOFruL6.js → server-methods-DrQ0YKEd.js} +7 -7
- package/dist/{server-node-events-DDEX2ugG.js → server-node-events-Y-H3ajHm.js} +4 -4
- package/dist/{server-node-events-CCOXKW9s.js → server-node-events-xkotuI65.js} +4 -4
- package/dist/{session-BFFxC5wi.js → session-wQ18mpJ_.js} +8 -8
- package/dist/{skill-commands-SDwv3aAY.js → skill-commands-CY3SUdWj.js} +9 -9
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-DWYUBGDM.js → status-B9aIJtGe.js} +1 -1
- package/dist/{status-Bhj6pODg.js → status-BCGuORer.js} +3 -3
- package/dist/{status-B_fSdR2z.js → status-CWAE2SU1.js} +1 -1
- package/dist/{status-CHtXaQCL.js → status-D7kph1mn.js} +3 -3
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{subagent-registry-C-rk8Ynb.js → subagent-registry-BzyCUX_5.js} +4 -4
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{update-cli-C7JAgS-C.js → update-cli-BVc8oQP-.js} +10 -10
- package/dist/{update-cli-CEvG4pzB.js → update-cli-DOVRyYox.js} +9 -9
- package/dist/{update-runner-Bq1u14RR.js → update-runner-7Hkf0GNq.js} +1 -1
- package/dist/{update-runner-f9lbrrpe.js → update-runner-Cr8kQmnk.js} +1 -1
- package/dist/{web-BJBlI9ZQ.js → web-CObVdbSM.js} +4 -4
- package/dist/{web-kJbpVasC.js → web-D7epBUOn.js} +2 -2
- package/dist/{web-95LpH1_H.js → web-DZ_j1TLd.js} +57 -57
- package/dist/{web-BzQURzi7.js → web-h2jZVXGI.js} +3 -3
- package/dist/{whatsapp-actions-On9mu-j8.js → whatsapp-actions-Bc0X_rVM.js} +23 -23
- package/dist/{workspace-CbvamIU6.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
|
|
@@ -5,19 +5,19 @@ import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
6
6
|
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-D-jRCY0d.js";
|
|
7
7
|
import { l as writeConfigFile } from "./config-HdlXkQoQ.js";
|
|
8
|
-
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-
|
|
8
|
+
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-BzyCUX_5.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DbYWxIDL.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-B1aVoXd5.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
15
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { r as setupChannels } from "./onboard-channels-B-JWhIP_.js";
|
|
16
16
|
import { t as requireValidConfigSnapshot } from "./config-validation-mNcP7yHl.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BFV9oAqS.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DVcYPG2v.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-DAcPZlQ4.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
2
2
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-D-jRCY0d.js";
|
|
3
|
-
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-BzyCUX_5.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { Xt as identityHasValues, Zt as loadAgentIdentityFromWorkspace } from "./reply-KplunO6d.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, t as listAgentEntries } from "./agent-scope-CgUHAtCo.js";
|
|
4
4
|
|
|
@@ -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-Cbvnb5vf.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-CMPwkzmk.js";
|
|
18
|
+
import "./config-CwDeZVre.js";
|
|
19
|
+
import "./manifest-registry-D0IQ3WuX.js";
|
|
20
|
+
import "./chrome-DuXtddnV.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-Bw9ZjAgJ.js";
|
|
32
|
+
import "./gemini-auth-DDojfpIT.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-Duym_W6W.js";
|
|
35
35
|
|
|
36
36
|
//#region src/media-understanding/audio-preflight.ts
|
|
37
37
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DchCrtU_.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-y4rvYrnW.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-BszpreVL.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-D_KGNp8L.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-VfhQkucT.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-kP9-zhYa.js";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DSH6WASW.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-DbYWxIDL.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CknE1f0w.js";
|
|
8
8
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, C as applyQianfanProviderConfig, D as applyTogetherProviderConfig, E as applyTogetherConfig, F as applyZaiProviderConfig, G as OPENROUTER_DEFAULT_MODEL_REF, H as applyAgentDefaultModelPrimary, I as applyLitellmConfig, J as XIAOMI_DEFAULT_MODEL_REF, K as TOGETHER_DEFAULT_MODEL_REF, L as applyLitellmProviderConfig, M as applyXiaomiConfig, N as applyXiaomiProviderConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, T as applySyntheticProviderConfig, U as HUGGINGFACE_DEFAULT_MODEL_REF, V as applyVercelAiGatewayProviderConfig, W as LITELLM_DEFAULT_MODEL_REF, X as setAnthropicApiKey, Y as ZAI_DEFAULT_MODEL_REF, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, _t as QIANFAN_DEFAULT_MODEL_REF, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, c as applyMinimaxApiProviderConfigCn, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, ft as setXiaomiApiKey, g as applyMoonshotConfig, gt as MOONSHOT_DEFAULT_MODEL_REF, h as applyKimiCodeProviderConfig, ht as KIMI_CODING_MODEL_REF, i as applyOpencodeZenProviderConfig, it as setOpencodeZenApiKey, j as applyXaiProviderConfig, k as applyVeniceProviderConfig, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, mt as writeOAuthCredentials, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, p as applyHuggingfaceProviderConfig, pt as setZaiApiKey, q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, s as applyMinimaxApiProviderConfig, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, u as applyMinimaxProviderConfig, ut as setVercelAiGatewayApiKey, v as applyMoonshotProviderConfig, vt as XAI_DEFAULT_MODEL_REF, w as applySyntheticConfig, x as applyOpenrouterProviderConfig, y as applyMoonshotProviderConfigCn, z as applyCloudflareAiGatewayProviderConfig } from "./auth-token-BM4dPOyA.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-fpKoK5jK.js";
|
|
10
10
|
import { a as detectZaiEndpoint, c as ensureModelAllowlistEntry, i as upsertSharedEnvVar, n as applyOpenAIConfig, o as GOOGLE_GEMINI_DEFAULT_MODEL, r as applyOpenAIProviderConfig, s as applyGoogleGeminiModelDefault, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-CB7qbr0q.js";
|
|
11
11
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DHdkYe4w.js";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as theme, Et as isRich, h as visibleWidth, ln as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { cn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { cn as resolveCommitHash } from "./subagent-registry-BzyCUX_5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one Symi.";
|
|
@@ -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-CR8-rUnH.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-BtxXqho0.js";
|
|
15
|
+
import "../../send-D0qx7lbT.js";
|
|
16
|
+
import "../../deliver-D7lL85xc.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-Iv1YQSmf.js";
|
|
21
|
+
import "../../image-ops-CvJzsyvE.js";
|
|
22
|
+
import "../../model-auth-Cbvnb5vf.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-CMPwkzmk.js";
|
|
27
|
+
import "../../config-CwDeZVre.js";
|
|
28
|
+
import "../../manifest-registry-D0IQ3WuX.js";
|
|
29
|
+
import "../../chrome-DuXtddnV.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-Bw9ZjAgJ.js";
|
|
41
|
+
import "../../reply-prefix-XlyuyChD.js";
|
|
42
|
+
import "../../manager-BY4hiBJp.js";
|
|
43
|
+
import "../../gemini-auth-DDojfpIT.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-CurvwtTw.js";
|
|
53
|
+
import "../../skill-commands-CY3SUdWj.js";
|
|
54
|
+
import "../../runner-Duym_W6W.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-CFMDO5ON.js";
|
|
59
|
+
import "../../outbound-attachment-DjNDa3zn.js";
|
|
60
|
+
import "../../send-OoNECFaf.js";
|
|
61
|
+
import "../../resolve-route-CZ-1eqw0.js";
|
|
62
62
|
import "../../proxy-CBJ1upuz.js";
|
|
63
|
-
import "../../replies-
|
|
63
|
+
import "../../replies-CdijMW_S.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-CR8-rUnH.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-BtxXqho0.js";
|
|
15
|
+
import "../../send-D0qx7lbT.js";
|
|
16
|
+
import "../../deliver-D7lL85xc.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-Iv1YQSmf.js";
|
|
21
|
+
import "../../image-ops-CvJzsyvE.js";
|
|
22
|
+
import "../../model-auth-Cbvnb5vf.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-CMPwkzmk.js";
|
|
27
|
+
import "../../config-CwDeZVre.js";
|
|
28
|
+
import "../../manifest-registry-D0IQ3WuX.js";
|
|
29
|
+
import "../../chrome-DuXtddnV.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-Bw9ZjAgJ.js";
|
|
41
|
+
import "../../reply-prefix-XlyuyChD.js";
|
|
42
|
+
import "../../manager-BY4hiBJp.js";
|
|
43
|
+
import "../../gemini-auth-DDojfpIT.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-CurvwtTw.js";
|
|
53
|
+
import "../../skill-commands-CY3SUdWj.js";
|
|
54
|
+
import "../../runner-Duym_W6W.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-CFMDO5ON.js";
|
|
59
|
+
import "../../outbound-attachment-DjNDa3zn.js";
|
|
60
|
+
import "../../send-OoNECFaf.js";
|
|
61
|
+
import "../../resolve-route-CZ-1eqw0.js";
|
|
62
62
|
import "../../proxy-CBJ1upuz.js";
|
|
63
|
-
import "../../replies-
|
|
63
|
+
import "../../replies-CdijMW_S.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
|
+
d9fcbda1c58e6399bbfbcd4d9ac431ef9bf81aa562e787ceca0c3156e8a6b028
|
|
@@ -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
|
|
@@ -2,7 +2,7 @@ import { n as CHAT_CHANNEL_ORDER } from "./registry-Cja8eT7G.js";
|
|
|
2
2
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
3
3
|
import { n as listChannelPlugins } from "./plugins-DKDeQZF0.js";
|
|
4
4
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BDQsWM3n.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/channel-options.ts
|
|
8
8
|
function dedupe(values) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as CHAT_CHANNEL_ORDER, n as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
|
|
3
3
|
import { r as listChannelPluginCatalogEntries } from "./catalog-DLQFKucJ.js";
|
|
4
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
4
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D7bCDbYz.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/channel-options.ts
|
|
7
7
|
function dedupe(values) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as sleep, F as shouldLogVerbose, M as logVerbose, T as toWhatsappJid, V as getChildLogger, f as isSelfChatMode, m as normalizeE164, p as jidToE164, r as clamp, v as resolveJidToE164 } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yr as enqueueSystemEvent, yt as parseActivationCommand } from "./reply-
|
|
2
|
+
import { En as normalizeMentionText, Ot as computeBackoff, Sn as shouldComputeCommandAuthorized, Tn as buildMentionRegexes, _n as resolveInboundDebounceMs, an as resolveMentionGating, cn as recordPendingHistoryEntryIfEnabled, gn as createInboundDebouncer, hn as createDedupeCache, in as buildPairingReply, kt as sleepWithAbort, ln as shouldAckReactionForWhatsApp, on as DEFAULT_GROUP_HISTORY_LIMIT, sn as buildHistoryContextFromEntries, t as getReplyFromConfig, un as dispatchReplyWithBufferedBlockDispatcher, vn as formatInboundEnvelope, vt as normalizeGroupActivation, xn as hasControlCommand, yn as resolveEnvelopeFormatOptions, yr as enqueueSystemEvent, yt as parseActivationCommand } from "./reply-KplunO6d.js";
|
|
3
3
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|