@symerian/symi 3.0.3 → 3.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-3dCrO3oZ.js → accounts-BaIiyR_C.js} +1 -1
- package/dist/{accounts-BRw8yhIW.js → accounts-D5o2mAKN.js} +3 -3
- package/dist/{accounts-BuZxOb3B.js → accounts-nSMFGcjE.js} +1 -1
- package/dist/{active-listener-BVZOh2T1.js → active-listener-u0n6lV-h.js} +1 -1
- package/dist/{agent-scope-Ddr0Ws7u.js → agent-scope-CEzt6H9x.js} +2 -2
- package/dist/{audio-preflight-DrG2ef4O.js → audio-preflight-CWHghOEi.js} +26 -26
- package/dist/{audio-preflight-BrKBM7JM.js → audio-preflight-Cje-A0Fs.js} +4 -4
- package/dist/{auth-profiles-Bs0Z0FzU.js → auth-profiles-BoHFXe5T.js} +4 -4
- package/dist/{bindings-D43o9y2s.js → bindings-B1fUDYvC.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +51 -51
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D8QD7GoV.js → channel-activity-cK3ZB6TE.js} +1 -1
- package/dist/{chrome-X5wmeW9f.js → chrome-BK_P1Tqm.js} +10 -10
- package/dist/{chrome-WfENE6tB.js → chrome-DaduLVA1.js} +7 -7
- package/dist/{chunk-BRe1o4Af.js → chunk-BMvnM1K5.js} +1 -1
- package/dist/{command-registry-BRN6NMOS.js → command-registry-CsiR9i7E.js} +7 -7
- package/dist/{commands-registry-Tug42snN.js → commands-registry-D0jEfZ42.js} +4 -4
- package/dist/{completion-cli-CQtI0ASD.js → completion-cli-Bon9_6qA.js} +2 -2
- package/dist/{completion-cli-EvxmKJ-O.js → completion-cli-Dnyp6OJy.js} +1 -1
- package/dist/{config-CCbXer2L.js → config-BmrykwKO.js} +9 -9
- package/dist/{config-cli-CiV_YQf4.js → config-cli-BebhyWjM.js} +1 -1
- package/dist/{config-cli-DeCSlj0Y.js → config-cli-DqfKE_A1.js} +1 -1
- package/dist/{configure-By6_8Jvs.js → configure-DB-1UY2t.js} +1 -1
- package/dist/{configure-BE0YRZWd.js → configure-HMRPjIFX.js} +1 -1
- package/dist/{consolidate-tpfmfqvr.js → consolidate-DT78djL9.js} +2 -2
- package/dist/control-ui/js/app.js +6 -2
- package/dist/{deliver-DShQE_sq.js → deliver-B6vfVmif.js} +1 -1
- package/dist/{deliver-BfgRx_NK.js → deliver-DbgdviSo.js} +9 -9
- package/dist/{diagnostic-BjfiehUF.js → diagnostic-B0Ynd2kf.js} +1 -1
- package/dist/{doctor-completion-Cts2UOop.js → doctor-completion-D6U7k8ef.js} +1 -1
- package/dist/{doctor-completion-BmjVxgkV.js → doctor-completion-DlvHamvv.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-BDXYbTKj.js → env-D9chTL63.js} +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{frontmatter-CTR5f_Ez.js → frontmatter-BbIorbzs.js} +2 -2
- package/dist/{gateway-cli-DO4uSyVT.js → gateway-cli-CX6HdZS6.js} +7 -6
- package/dist/{gateway-cli-bu8Eq_hB.js → gateway-cli-ms7HH0-P.js} +7 -6
- package/dist/{gemini-auth-Cl5PvzLM.js → gemini-auth-D9vLhghA.js} +1 -1
- package/dist/{glass-ui-ws-CUWkP3XZ.js → glass-ui-ws-7O88M05N.js} +3 -3
- package/dist/{glass-ui-ws-oxSeDi37.js → glass-ui-ws-b6N_1b40.js} +3 -3
- package/dist/{health-DZB8SV6G.js → health-_G7Dy5sq.js} +46 -16
- package/dist/{health-N-jvgpZZ.js → health-xGaC5l7K.js} +46 -16
- package/dist/{image-DfzwGNoa.js → image-C12-WOMI.js} +1 -1
- package/dist/{image-C2w5iw4N.js → image-D1wT_m5z.js} +4 -4
- package/dist/{image-ops-DFFGK0lW.js → image-ops-DuOHpA9U.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{ir-CC6LUYsV.js → ir-BpwvHMZb.js} +4 -4
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{local-roots-jzqRdkXA.js → local-roots-BacHGRfJ.js} +4 -4
- package/dist/{login-DHJnG8aX.js → login-C9Nfj1r0.js} +7 -7
- package/dist/{login-qr-UB9DGMzi.js → login-qr-n2FhZV37.js} +10 -10
- package/dist/{manager-2D0Tevoj.js → manager-C2jDmkaH.js} +9 -9
- package/dist/{manager-Dp_9v8j5.js → manager-C8BydiE8.js} +1 -1
- package/dist/{manifest-registry-CBCGTsIb.js → manifest-registry-2WUbwZgO.js} +1 -1
- package/dist/{markdown-tables-bViwuQKQ.js → markdown-tables-stYj7BCB.js} +1 -1
- package/dist/{message-channel-OlFBYAw8.js → message-channel-w9cWbx_W.js} +1 -1
- package/dist/{onboard-DeH6Vxxg.js → onboard-B0Y1u3vK.js} +2 -2
- package/dist/{onboard-Bl0XFCEJ.js → onboard-Db6LQ1SN.js} +2 -2
- package/dist/{onboarding-BZVJ24wI.js → onboarding-BSvR9bkU.js} +1 -1
- package/dist/{onboarding-DgpTBpWU.js → onboarding-DTs0CtTa.js} +1 -1
- package/dist/{onboarding.finalize-DVSMLcSy.js → onboarding.finalize-BCiHVrC3.js} +4 -4
- package/dist/{onboarding.finalize-YB2UOZUK.js → onboarding.finalize-CexXZw9D.js} +5 -5
- package/dist/{outbound-DUO7IkKe.js → outbound-BQZtNLk5.js} +7 -7
- package/dist/{outbound-attachment-CWi9cBa6.js → outbound-attachment-DhDAO6nl.js} +2 -2
- package/dist/{pi-auth-json-S_NBOBoK.js → pi-auth-json-h8jIzOEa.js} +1 -1
- package/dist/{pi-embedded-C6GkUoi8.js → pi-embedded-DFMFvHP5.js} +19 -19
- package/dist/{pi-embedded-helpers-YSU-xmLw.js → pi-embedded-helpers-C4GmoY6O.js} +18 -18
- package/dist/{pi-embedded-helpers-B1k1RWqM.js → pi-embedded-helpers-pMH6u36v.js} +4 -4
- package/dist/plugin-sdk/infra/active-heartbeat-runs.d.ts +24 -7
- package/dist/{plugins-BpFxTfLA.js → plugins-CneV0s1f.js} +4 -4
- package/dist/{program-CKansE2A.js → program-POF8wz57.js} +2 -2
- package/dist/{program-context-DlM7Bnwp.js → program-context-DsPL6cge.js} +9 -9
- package/dist/{prompt-select-styled-YeADoH1b.js → prompt-select-styled-BaQx_oFk.js} +2 -2
- package/dist/{prompt-select-styled-RR_-htsV.js → prompt-select-styled-Cz2iXZki.js} +2 -2
- package/dist/{pw-ai-hPAkCert.js → pw-ai-CZJaishg.js} +9 -9
- package/dist/{pw-ai-Dd_QrTWR.js → pw-ai-D0CMQA23.js} +1 -1
- package/dist/{qmd-manager-DDKAOUcn.js → qmd-manager-Cx3O7YFm.js} +5 -5
- package/dist/{register.configure-ndWF-EwD.js → register.configure-DFUqXeRq.js} +2 -2
- package/dist/{register.configure-J5GbnUak.js → register.configure-DLPSROfI.js} +2 -2
- package/dist/{register.maintenance-BAlGfjMJ.js → register.maintenance-CWCtxkNh.js} +5 -5
- package/dist/{register.maintenance-BvAh-5NH.js → register.maintenance-Jqn4H62V.js} +6 -6
- package/dist/{register.onboard-Dh4f0cDp.js → register.onboard-BywdvE0H.js} +3 -3
- package/dist/{register.onboard-DPpsT1JH.js → register.onboard-DzX8ZUAK.js} +3 -3
- package/dist/{register.setup-DU8piCcQ.js → register.setup-acIJDgl8.js} +3 -3
- package/dist/{register.setup-BrjFdUZ8.js → register.setup-psP-ZtQm.js} +3 -3
- package/dist/{register.status-health-sessions-Cyljneob.js → register.status-health-sessions-BQ9fEidS.js} +2 -2
- package/dist/{register.status-health-sessions-jQvctMC3.js → register.status-health-sessions-C3Ekyerp.js} +2 -2
- package/dist/{register.subclis-DOLKNKZj.js → register.subclis-C-Y_J1yd.js} +3 -3
- package/dist/{registry-DYq1AYOv.js → registry-BIqyUxh_.js} +2 -2
- package/dist/{replies-CDz80zCR.js → replies-CvvV7FsP.js} +3 -3
- package/dist/{reply-prefix-C1Tw2ERK.js → reply-prefix-DqhURPy6.js} +1 -1
- package/dist/{resolve-route-Cz45JFdW.js → resolve-route-CAgv6NO0.js} +4 -4
- package/dist/{retry-B-y5suGA.js → retry-CmtozApI.js} +1 -1
- package/dist/{run-main-DnvLmulK.js → run-main-BUTiVWxn.js} +7 -7
- package/dist/{runner-CaXOtv_D.js → runner-7XhJhCc0.js} +1 -1
- package/dist/{runner-7_mUx-F3.js → runner-R8qsprXG.js} +9 -9
- package/dist/{send-BQTsCyf6.js → send-B_g1He3g.js} +10 -10
- package/dist/{send-R3nkEMMb.js → send-DGVcpcfh.js} +7 -7
- package/dist/{send-fVqebfsH.js → send-DWrapvrU.js} +6 -6
- package/dist/{send-DUmV-ltI.js → send-DXW6BXBH.js} +6 -6
- package/dist/{send-XAxr3MFp.js → send-DkU1UYlf.js} +10 -10
- package/dist/{server-methods-DFQlsPZN.js → server-methods-B4SR9px-.js} +4 -3
- package/dist/{server-methods-DGQu3NEO.js → server-methods-BAZKdAPo.js} +4 -3
- package/dist/{session-Bs8nmUHx.js → session-CI7IFf_N.js} +4 -4
- package/dist/{skill-commands-BXs_duC2.js → skill-commands-C0wJE3kM.js} +5 -5
- package/dist/{skills-DjtoXuuJ.js → skills-DofJnEQw.js} +6 -6
- package/dist/{sqlite-VBmM_OHS.js → sqlite-C7SbUGaN.js} +1 -1
- package/dist/{status-DBn69Azp.js → status-Cnr5heo3.js} +1 -1
- package/dist/{status-Cx2g82Iv.js → status-D5zp5rJK.js} +1 -1
- package/dist/{store-BOFCIL6J.js → store-Bihue0SL.js} +2 -2
- package/dist/{subsystem-BjyjJF-d.js → subsystem-dKFaD1RZ.js} +1 -1
- package/dist/{synthesis-CTHSaeoU.js → synthesis-CIxaIZH1.js} +7 -7
- package/dist/{synthesis-DnFo8jPe.js → synthesis-CoWIFjai.js} +51 -51
- package/dist/{tables-DTIPf6oV.js → tables-DKFvaDXb.js} +1 -1
- package/dist/{target-errors-Bp-kjJP5.js → target-errors-S2DP7RcP.js} +2 -2
- package/dist/{thinking-awGU51JX.js → thinking-DOvUroda.js} +5 -5
- package/dist/{tokens-DLGDtW5r.js → tokens-CFTgwwnd.js} +1 -1
- package/dist/{tool-images-CiD-DaWf.js → tool-images-C6fG5hIF.js} +2 -2
- package/dist/{tool-loop-detection-Dj9h1ogr.js → tool-loop-detection-Bs0RG2qV.js} +2 -2
- package/dist/{unified-runner-DwlXIEtb.js → unified-runner-BNiGGPbP.js} +84 -84
- package/dist/{update-cli-DKbaVaEp.js → update-cli-BdYAIokj.js} +5 -5
- package/dist/{update-cli-CYpz_sg2.js → update-cli-ul-BDwA3.js} +6 -6
- package/dist/{web-VH47KruC.js → web-4pKRGaN9.js} +55 -55
- package/dist/{web-DuUOtg8X.js → web-CeH7sXd1.js} +7 -7
- package/dist/{whatsapp-actions-XPj837oV.js → whatsapp-actions-BVTo7B3-.js} +21 -21
- package/dist/{workspace-CarmeCYN.js → workspace-D9KMUsNd.js} +2 -2
- package/extensions/bluebubbles/node_modules/.bin/symi +0 -0
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/node_modules/.bin/symi +0 -0
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/symi +0 -0
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/node_modules/.bin/symi +0 -0
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/node_modules/.bin/symi +0 -0
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/node_modules/.bin/symi +0 -0
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/node_modules/.bin/symi +0 -0
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/node_modules/.bin/symi +0 -0
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/node_modules/.bin/symi +0 -0
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/node_modules/.bin/symi +0 -0
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/node_modules/.bin/symi +0 -0
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/node_modules/.bin/symi +0 -0
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/node_modules/.bin/markdown-it +0 -0
- package/extensions/matrix/node_modules/.bin/symi +0 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/node_modules/.bin/symi +0 -0
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/node_modules/.bin/symi +0 -0
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/openai +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/symi +0 -0
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/node_modules/.bin/symi +0 -0
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/node_modules/.bin/symi +0 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/node_modules/.bin/symi +0 -0
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/tsc +0 -0
- package/extensions/nostr/node_modules/.bin/tsserver +0 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/node_modules/.bin/symi +0 -0
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/node_modules/.bin/symi +0 -0
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/node_modules/.bin/symi +0 -0
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/node_modules/.bin/symi +0 -0
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/node_modules/.bin/symi +0 -0
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/node_modules/.bin/symi +0 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/node_modules/.bin/symi +0 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/node_modules/.bin/symi +0 -0
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/node_modules/.bin/symi +0 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/node_modules/.bin/symi +0 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +116 -86
- package/skills/long-task/scripts/detach-task.sh +0 -0
- package/skills/nano-banana-pro/scripts/generate_image.py +0 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -0
- package/skills/tmux/scripts/find-sessions.sh +0 -0
- package/skills/tmux/scripts/wait-for-text.sh +0 -0
|
@@ -27,27 +27,49 @@ const activeHeartbeats = /* @__PURE__ */ new Map();
|
|
|
27
27
|
* heartbeat run on `sessionKey`. If a previous controller exists for
|
|
28
28
|
* the same key (shouldn't happen — heartbeats are serialized per
|
|
29
29
|
* session — but be defensive), abort it before replacing.
|
|
30
|
+
*
|
|
31
|
+
* `runId` is optional — the heartbeat-runner registers the controller
|
|
32
|
+
* before runReplyTurn assigns the agent runId, then calls
|
|
33
|
+
* setHeartbeatRunId once the runId is known.
|
|
30
34
|
*/
|
|
31
|
-
function registerHeartbeatRun(sessionKey, controller) {
|
|
35
|
+
function registerHeartbeatRun(sessionKey, controller, runId) {
|
|
32
36
|
if (!sessionKey) return;
|
|
33
37
|
const existing = activeHeartbeats.get(sessionKey);
|
|
34
|
-
if (existing && existing !== controller) try {
|
|
35
|
-
existing.abort();
|
|
38
|
+
if (existing && existing.controller !== controller) try {
|
|
39
|
+
existing.controller.abort();
|
|
36
40
|
} catch {}
|
|
37
|
-
activeHeartbeats.set(sessionKey,
|
|
41
|
+
activeHeartbeats.set(sessionKey, {
|
|
42
|
+
controller,
|
|
43
|
+
runId
|
|
44
|
+
});
|
|
38
45
|
}
|
|
39
46
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
47
|
+
* Update the runId for the active heartbeat registration on `sessionKey`.
|
|
48
|
+
* No-op when no registration exists (e.g., if the run cleared between
|
|
49
|
+
* registerHeartbeatRun and onAgentRunStart). Wired from the heartbeat
|
|
50
|
+
* runner's onAgentRunStart callback so abortHeartbeatRunForSession can
|
|
51
|
+
* return the runId at preemption time.
|
|
52
|
+
*/
|
|
53
|
+
function setHeartbeatRunId(sessionKey, runId) {
|
|
54
|
+
if (!sessionKey || !runId) return;
|
|
55
|
+
const existing = activeHeartbeats.get(sessionKey);
|
|
56
|
+
if (!existing) return;
|
|
57
|
+
existing.runId = runId;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Drop the registration for `sessionKey`. Called from the heartbeat
|
|
61
|
+
* runner's finally block once the run has completed (successfully,
|
|
62
|
+
* with an error, or via abort).
|
|
43
63
|
*/
|
|
44
64
|
function clearHeartbeatRun(sessionKey) {
|
|
45
65
|
if (!sessionKey) return;
|
|
46
66
|
activeHeartbeats.delete(sessionKey);
|
|
47
67
|
}
|
|
48
68
|
/**
|
|
49
|
-
* Abort the active heartbeat (if any) for `sessionKey`. Returns
|
|
50
|
-
* when an abort was issued
|
|
69
|
+
* Abort the active heartbeat (if any) for `sessionKey`. Returns
|
|
70
|
+
* `{ aborted: true, runId? }` when an abort was issued (runId may be
|
|
71
|
+
* undefined if the agent loop hadn't started yet) or `{ aborted: false }`
|
|
72
|
+
* when no heartbeat was in flight.
|
|
51
73
|
*
|
|
52
74
|
* Called from the chat.send handler before it enqueues the user turn,
|
|
53
75
|
* so the user's message doesn't sit behind a heartbeat that may take
|
|
@@ -55,14 +77,17 @@ function clearHeartbeatRun(sessionKey) {
|
|
|
55
77
|
* pulse interval — no state to recover.
|
|
56
78
|
*/
|
|
57
79
|
function abortHeartbeatRunForSession(sessionKey) {
|
|
58
|
-
if (!sessionKey) return false;
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
80
|
+
if (!sessionKey) return { aborted: false };
|
|
81
|
+
const registration = activeHeartbeats.get(sessionKey);
|
|
82
|
+
if (!registration) return { aborted: false };
|
|
61
83
|
try {
|
|
62
|
-
controller.abort();
|
|
84
|
+
registration.controller.abort();
|
|
63
85
|
} catch {}
|
|
64
86
|
activeHeartbeats.delete(sessionKey);
|
|
65
|
-
return
|
|
87
|
+
return {
|
|
88
|
+
aborted: true,
|
|
89
|
+
runId: registration.runId
|
|
90
|
+
};
|
|
66
91
|
}
|
|
67
92
|
|
|
68
93
|
//#endregion
|
|
@@ -594,15 +619,20 @@ async function runHeartbeatOnce(opts) {
|
|
|
594
619
|
});
|
|
595
620
|
const heartbeatModelOverride = heartbeat?.model?.trim() || void 0;
|
|
596
621
|
const suppressToolErrorWarnings = heartbeat?.suppressToolErrorWarnings === true;
|
|
622
|
+
const onAgentRunStart = (runId) => {
|
|
623
|
+
setHeartbeatRunId(sessionKey, runId);
|
|
624
|
+
};
|
|
597
625
|
const replyResult = await runReplyTurn(ctx, heartbeatModelOverride ? {
|
|
598
626
|
isHeartbeat: true,
|
|
599
627
|
heartbeatModelOverride,
|
|
600
628
|
suppressToolErrorWarnings,
|
|
601
|
-
abortSignal: abortController.signal
|
|
629
|
+
abortSignal: abortController.signal,
|
|
630
|
+
onAgentRunStart
|
|
602
631
|
} : {
|
|
603
632
|
isHeartbeat: true,
|
|
604
633
|
suppressToolErrorWarnings,
|
|
605
|
-
abortSignal: abortController.signal
|
|
634
|
+
abortSignal: abortController.signal,
|
|
635
|
+
onAgentRunStart
|
|
606
636
|
}, cfg);
|
|
607
637
|
const replyPayload = resolveHeartbeatReplyPayload(replyResult);
|
|
608
638
|
const reasoningPayloads = heartbeat?.includeReasoning === true ? resolveHeartbeatReasoningPayloads(replyResult).filter((payload) => payload !== replyPayload) : [];
|
|
@@ -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-CCAmbgLm.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-pMH6u36v.js";
|
|
6
6
|
import { n as loadConfig } from "./config-BOuq5KZE.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-1NGYV_8p.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as shortenHomeInString, k as isRecord } from "./registry-
|
|
3
|
-
import { B as requireApiKey, F as resolveImplicitProviders, G as normalizeSecretInput, M as normalizeProviders, N as resolveImplicitBedrockProvider, P as resolveImplicitCopilotProvider, R as getApiKeyForModel, p as resolveSymiAgentDir } from "./auth-profiles-
|
|
4
|
-
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { R as shortenHomeInString, k as isRecord } from "./registry-BIqyUxh_.js";
|
|
3
|
+
import { B as requireApiKey, F as resolveImplicitProviders, G as normalizeSecretInput, M as normalizeProviders, N as resolveImplicitBedrockProvider, P as resolveImplicitCopilotProvider, R as getApiKeyForModel, p as resolveSymiAgentDir } from "./auth-profiles-BoHFXe5T.js";
|
|
4
|
+
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-C4GmoY6O.js";
|
|
5
|
+
import { n as loadConfig } from "./config-BmrykwKO.js";
|
|
6
6
|
import { n as redactToolDetail } from "./redact-BDMXB06K.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CuZX_Q4t.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-DsPL6cge.js";
|
|
118
118
|
import "./catalog-pt1jhhyb.js";
|
|
119
119
|
import "./plugin-registry-2T2NDPGh.js";
|
|
120
120
|
import { n as resolveCliChannelOptions } from "./channel-options-BdMw9pwh.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-
|
|
3
|
-
import { a as chunkText } from "./chunk-
|
|
4
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-BIqyUxh_.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-DuOHpA9U.js";
|
|
3
|
+
import { a as chunkText } from "./chunk-BMvnM1K5.js";
|
|
4
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-BacHGRfJ.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import "./registry-
|
|
3
|
-
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./tokens-
|
|
7
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
8
|
-
import "./auth-profiles-
|
|
9
|
-
import "./env-
|
|
2
|
+
import "./registry-BIqyUxh_.js";
|
|
3
|
+
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-CEzt6H9x.js";
|
|
4
|
+
import "./subsystem-dKFaD1RZ.js";
|
|
5
|
+
import "./workspace-D9KMUsNd.js";
|
|
6
|
+
import "./tokens-CFTgwwnd.js";
|
|
7
|
+
import { t as runAgentTurn } from "./unified-runner-BNiGGPbP.js";
|
|
8
|
+
import "./auth-profiles-BoHFXe5T.js";
|
|
9
|
+
import "./env-D9chTL63.js";
|
|
10
10
|
import "./github-copilot-token-cCYzSU9h.js";
|
|
11
11
|
import "./boolean-CE7i9tBR.js";
|
|
12
|
-
import "./pi-embedded-helpers-
|
|
13
|
-
import "./config-
|
|
14
|
-
import "./manifest-registry-
|
|
15
|
-
import "./chrome-
|
|
16
|
-
import "./frontmatter-
|
|
17
|
-
import "./skills-
|
|
12
|
+
import "./pi-embedded-helpers-C4GmoY6O.js";
|
|
13
|
+
import "./config-BmrykwKO.js";
|
|
14
|
+
import "./manifest-registry-2WUbwZgO.js";
|
|
15
|
+
import "./chrome-BK_P1Tqm.js";
|
|
16
|
+
import "./frontmatter-BbIorbzs.js";
|
|
17
|
+
import "./skills-DofJnEQw.js";
|
|
18
18
|
import "./redact-BDMXB06K.js";
|
|
19
19
|
import "./errors-XIsvXeC-.js";
|
|
20
|
-
import "./image-ops-
|
|
20
|
+
import "./image-ops-DuOHpA9U.js";
|
|
21
21
|
import "./ssrf-DpUUUgkK.js";
|
|
22
|
-
import "./store-
|
|
23
|
-
import "./thinking-
|
|
24
|
-
import "./message-channel-
|
|
25
|
-
import "./plugins-
|
|
26
|
-
import "./accounts-
|
|
27
|
-
import "./accounts-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
30
|
-
import "./send-
|
|
31
|
-
import "./send-
|
|
22
|
+
import "./store-Bihue0SL.js";
|
|
23
|
+
import "./thinking-DOvUroda.js";
|
|
24
|
+
import "./message-channel-w9cWbx_W.js";
|
|
25
|
+
import "./plugins-CneV0s1f.js";
|
|
26
|
+
import "./accounts-D5o2mAKN.js";
|
|
27
|
+
import "./accounts-BaIiyR_C.js";
|
|
28
|
+
import "./accounts-nSMFGcjE.js";
|
|
29
|
+
import "./bindings-B1fUDYvC.js";
|
|
30
|
+
import "./send-DWrapvrU.js";
|
|
31
|
+
import "./send-DkU1UYlf.js";
|
|
32
32
|
import "./paths-BrogUBLf.js";
|
|
33
|
-
import "./tool-images-
|
|
34
|
-
import "./deliver-
|
|
35
|
-
import "./diagnostic-
|
|
33
|
+
import "./tool-images-C6fG5hIF.js";
|
|
34
|
+
import "./deliver-DbgdviSo.js";
|
|
35
|
+
import "./diagnostic-B0Ynd2kf.js";
|
|
36
36
|
import "./diagnostic-session-state-C9jKr8qI.js";
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./pi-auth-json-
|
|
39
|
-
import "./send-
|
|
37
|
+
import "./image-D1wT_m5z.js";
|
|
38
|
+
import "./pi-auth-json-h8jIzOEa.js";
|
|
39
|
+
import "./send-B_g1He3g.js";
|
|
40
40
|
import "./pi-model-discovery-CuZX_Q4t.js";
|
|
41
|
-
import "./reply-prefix-
|
|
42
|
-
import "./manager-
|
|
43
|
-
import "./gemini-auth-
|
|
44
|
-
import "./retry-
|
|
45
|
-
import "./sqlite-
|
|
46
|
-
import "./target-errors-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./markdown-tables-
|
|
49
|
-
import "./local-roots-
|
|
50
|
-
import "./ir-
|
|
41
|
+
import "./reply-prefix-DqhURPy6.js";
|
|
42
|
+
import "./manager-C2jDmkaH.js";
|
|
43
|
+
import "./gemini-auth-D9vLhghA.js";
|
|
44
|
+
import "./retry-CmtozApI.js";
|
|
45
|
+
import "./sqlite-C7SbUGaN.js";
|
|
46
|
+
import "./target-errors-S2DP7RcP.js";
|
|
47
|
+
import "./chunk-BMvnM1K5.js";
|
|
48
|
+
import "./markdown-tables-stYj7BCB.js";
|
|
49
|
+
import "./local-roots-BacHGRfJ.js";
|
|
50
|
+
import "./ir-BpwvHMZb.js";
|
|
51
51
|
import "./render-D1xvLuGo.js";
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./runner-
|
|
54
|
-
import "./skill-commands-
|
|
52
|
+
import "./commands-registry-D0jEfZ42.js";
|
|
53
|
+
import "./runner-R8qsprXG.js";
|
|
54
|
+
import "./skill-commands-C0wJE3kM.js";
|
|
55
55
|
import "./fetch-ClslA6GS.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-cK3ZB6TE.js";
|
|
57
|
+
import "./tables-DKFvaDXb.js";
|
|
58
|
+
import "./send-DXW6BXBH.js";
|
|
59
|
+
import "./outbound-attachment-DhDAO6nl.js";
|
|
60
|
+
import "./send-DGVcpcfh.js";
|
|
61
|
+
import "./resolve-route-CAgv6NO0.js";
|
|
62
62
|
import "./proxy-d9fklNTC.js";
|
|
63
|
-
import "./replies-
|
|
63
|
+
import "./replies-CvvV7FsP.js";
|
|
64
64
|
|
|
65
65
|
//#region src/hooks/llm-slug-generator.ts
|
|
66
66
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
2
|
-
import { dt as resolvePreferredSymiTmpDir } from "./registry-
|
|
3
|
-
import { o as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { S as logWarn } from "./workspace-
|
|
5
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
2
|
+
import { dt as resolvePreferredSymiTmpDir } from "./registry-BIqyUxh_.js";
|
|
3
|
+
import { o as resolveAgentWorkspaceDir } from "./agent-scope-CEzt6H9x.js";
|
|
4
|
+
import { S as logWarn } from "./workspace-D9KMUsNd.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DuOHpA9U.js";
|
|
6
6
|
import { a as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-DpUUUgkK.js";
|
|
7
7
|
import { t as bindAbortRelay } from "./fetch-timeout-CVCBkyv1.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { x as logInfo } from "./workspace-
|
|
5
|
-
import { n as formatCliCommand } from "./env-
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
7
|
-
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-BIqyUxh_.js";
|
|
3
|
+
import { r as defaultRuntime } from "./subsystem-dKFaD1RZ.js";
|
|
4
|
+
import { x as logInfo } from "./workspace-D9KMUsNd.js";
|
|
5
|
+
import { n as formatCliCommand } from "./env-D9chTL63.js";
|
|
6
|
+
import { n as loadConfig } from "./config-BmrykwKO.js";
|
|
7
|
+
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-D5o2mAKN.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CI7IFf_N.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { x as logInfo } from "./workspace-
|
|
6
|
-
import "./auth-profiles-
|
|
7
|
-
import "./env-
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-BIqyUxh_.js";
|
|
3
|
+
import "./agent-scope-CEzt6H9x.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-dKFaD1RZ.js";
|
|
5
|
+
import { x as logInfo } from "./workspace-D9KMUsNd.js";
|
|
6
|
+
import "./auth-profiles-BoHFXe5T.js";
|
|
7
|
+
import "./env-D9chTL63.js";
|
|
8
8
|
import "./github-copilot-token-cCYzSU9h.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import { n as loadConfig } from "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
10
|
+
import { n as loadConfig } from "./config-BmrykwKO.js";
|
|
11
|
+
import "./manifest-registry-2WUbwZgO.js";
|
|
12
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-D5o2mAKN.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CI7IFf_N.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
3
|
-
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { B as requireApiKey, V as resolveApiKeyForProvider } from "./auth-profiles-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
3
|
+
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-BIqyUxh_.js";
|
|
4
|
+
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-CEzt6H9x.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-dKFaD1RZ.js";
|
|
6
|
+
import { B as requireApiKey, V as resolveApiKeyForProvider } from "./auth-profiles-BoHFXe5T.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-D9chTL63.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-XIsvXeC-.js";
|
|
9
9
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BrogUBLf.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-rfRgaULw.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-D9vLhghA.js";
|
|
12
12
|
import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-DjnxpF_K.js";
|
|
13
|
-
import { n as retryAsync } from "./retry-
|
|
14
|
-
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
13
|
+
import { n as retryAsync } from "./retry-CmtozApI.js";
|
|
14
|
+
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-C7SbUGaN.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
@@ -3970,7 +3970,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3970
3970
|
* to bypass the min-interval guard (CLI use).
|
|
3971
3971
|
*/
|
|
3972
3972
|
async runL3CycleIfDue(params) {
|
|
3973
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-
|
|
3973
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DT78djL9.js"), import("./synthesis-CoWIFjai.js")]);
|
|
3974
3974
|
const synthesize = createSynthesizer({
|
|
3975
3975
|
cfg: this.cfg,
|
|
3976
3976
|
agentId: this.agentId,
|
|
@@ -3970,7 +3970,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3970
3970
|
* to bypass the min-interval guard (CLI use).
|
|
3971
3971
|
*/
|
|
3972
3972
|
async runL3CycleIfDue(params) {
|
|
3973
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-2NaeqmAF.js"), import("./synthesis-
|
|
3973
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-2NaeqmAF.js"), import("./synthesis-CIxaIZH1.js")]);
|
|
3974
3974
|
const synthesize = createSynthesizer({
|
|
3975
3975
|
cfg: this.cfg,
|
|
3976
3976
|
agentId: this.agentId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-
|
|
1
|
+
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-BIqyUxh_.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-CePMUvus.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-CneV0s1f.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-BIqyUxh_.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -11,8 +11,8 @@ import { t as createClackPrompter } from "./clack-prompter-Cd5Ohk77.js";
|
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CNvz5bbJ.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
+
import { r as healthCommand } from "./health-xGaC5l7K.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-DTs0CtTa.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-Db99IjTl.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";
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
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
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-_G7Dy5sq.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-BSvR9bkU.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-DOnh1ejf.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";
|
|
@@ -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-CexXZw9D.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -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-BCiHVrC3.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -105,16 +105,16 @@ import "./pairing-labels-DJfFSZUS.js";
|
|
|
105
105
|
import "./pi-tools.policy-D4i_i5CV.js";
|
|
106
106
|
import "./heartbeat-visibility-_mPYbQT2.js";
|
|
107
107
|
import "./runtime-guard-dBbuLE2m.js";
|
|
108
|
-
import "./program-context-
|
|
108
|
+
import "./program-context-DsPL6cge.js";
|
|
109
109
|
import "./note-CYS1SoX6.js";
|
|
110
|
-
import { r as installCompletion } from "./completion-cli-
|
|
110
|
+
import { r as installCompletion } from "./completion-cli-Dnyp6OJy.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-CNvz5bbJ.js";
|
|
112
112
|
import { r as isSystemdUserServiceAvailable } from "./systemd-z4aO4iTi.js";
|
|
113
113
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
114
|
-
import { r as healthCommand } from "./health-
|
|
114
|
+
import { r as healthCommand } from "./health-xGaC5l7K.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-D6U7k8ef.js";
|
|
118
118
|
import { t as runTui } from "./tui-BnwK5KK5.js";
|
|
119
119
|
import os from "node:os";
|
|
120
120
|
import path from "node:path";
|
|
@@ -101,18 +101,18 @@ import "./pairing-labels-B6chnvfn.js";
|
|
|
101
101
|
import "./pi-tools.policy-DcwVdzSK.js";
|
|
102
102
|
import "./heartbeat-visibility-D6uZvFVV.js";
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
|
-
import "./register.subclis-
|
|
105
|
-
import "./command-registry-
|
|
104
|
+
import "./register.subclis-C-Y_J1yd.js";
|
|
105
|
+
import "./command-registry-CsiR9i7E.js";
|
|
106
106
|
import "./program-context-DeZ44oQ9.js";
|
|
107
|
-
import { r as installCompletion } from "./completion-cli-
|
|
107
|
+
import { r as installCompletion } from "./completion-cli-Bon9_6qA.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-EeFXD_no.js";
|
|
109
109
|
import "./runtime-guard-BofkqBu7.js";
|
|
110
110
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CJ5L2ee4.js";
|
|
111
111
|
import { t as resolveGatewayService } from "./service-RxN7lQKN.js";
|
|
112
|
-
import { r as healthCommand } from "./health-
|
|
112
|
+
import { r as healthCommand } from "./health-_G7Dy5sq.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-DlvHamvv.js";
|
|
116
116
|
import { t as runTui } from "./tui-BDPCKXK5.js";
|
|
117
117
|
import os from "node:os";
|
|
118
118
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
+
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-BIqyUxh_.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-dKFaD1RZ.js";
|
|
4
|
+
import { n as loadConfig } from "./config-BmrykwKO.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-stYj7BCB.js";
|
|
6
|
+
import { a as loadWebMedia } from "./ir-BpwvHMZb.js";
|
|
7
7
|
import { n as normalizePollInput } from "./polls-Kt7OzYCK.js";
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-DKFvaDXb.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-u0n6lV-h.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { r as saveMediaBuffer } from "./store-Bihue0SL.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-BpwvHMZb.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { W as normalizeOptionalSecretInput, d as ensureAuthProfileStore, w as normalizeProviderId } from "./auth-profiles-
|
|
2
|
+
import { W as normalizeOptionalSecretInput, d as ensureAuthProfileStore, w as normalizeProviderId } from "./auth-profiles-BoHFXe5T.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|