@symerian/symi 3.0.1 → 3.0.3
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/{agents-D4F5bhNg.js → agents-CeafvAwk.js} +4 -4
- package/dist/{agents.config-Czr0DbSr.js → agents.config-DyAqyKIS.js} +1 -1
- package/dist/{agents.config-DS9Gbqqg.js → agents.config-wJSTSxHw.js} +1 -1
- package/dist/{audio-preflight-Cje-A0Fs.js → audio-preflight-BrKBM7JM.js} +4 -4
- package/dist/{auth-choice-DU5o68ia.js → auth-choice-BrH3g0l7.js} +1 -1
- package/dist/{auth-choice-BU6XwruP.js → auth-choice-CSXt138B.js} +1 -1
- package/dist/{banner-qaKrETF8.js → banner-kkSwCGXn.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Bkfyg4nZ.js → channel-options-BC-QbEPJ.js} +1 -1
- package/dist/{channel-options-DW3nWxkv.js → channel-options-BdMw9pwh.js} +1 -1
- package/dist/{channel-web-DoDJqXyN.js → channel-web-B9o347ZR.js} +1 -1
- package/dist/{channels-cli-V7ii1g6k.js → channels-cli-CFZVgAxq.js} +6 -6
- package/dist/{channels-cli-B9tesYLD.js → channels-cli-n1iS1gNN.js} +6 -6
- package/dist/{chrome-DaduLVA1.js → chrome-WfENE6tB.js} +7 -7
- package/dist/{cli-CAhOnKQ3.js → cli-B3M7EAy1.js} +3 -3
- package/dist/{cli-0GHBNwqe.js → cli-C852-xID.js} +3 -3
- package/dist/{command-registry-Phoz_hat.js → command-registry-BRN6NMOS.js} +10 -10
- package/dist/{completion-cli-BAebbT-g.js → completion-cli-CQtI0ASD.js} +2 -2
- package/dist/{completion-cli-FR_B0tX1.js → completion-cli-EvxmKJ-O.js} +1 -1
- package/dist/{config-cli-BXus9Npr.js → config-cli-CiV_YQf4.js} +1 -1
- package/dist/{config-cli-DLSg0aaH.js → config-cli-DeCSlj0Y.js} +1 -1
- package/dist/{configure-BsrDBB87.js → configure-BE0YRZWd.js} +3 -3
- package/dist/{configure-CPweqV68.js → configure-By6_8Jvs.js} +3 -3
- package/dist/daemon-cli.js +6 -6
- package/dist/{deliver-B6vfVmif.js → deliver-DShQE_sq.js} +1 -1
- package/dist/{doctor-completion-D5BKaeyT.js → doctor-completion-BmjVxgkV.js} +1 -1
- package/dist/{doctor-completion-DBs809iZ.js → doctor-completion-Cts2UOop.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-DDxIyaeu.js → gateway-cli-DO4uSyVT.js} +12 -12
- package/dist/{gateway-cli-D7ppw9MR.js → gateway-cli-bu8Eq_hB.js} +12 -12
- package/dist/{glass-ui-ws-DSCEyW9z.js → glass-ui-ws-CUWkP3XZ.js} +10 -10
- package/dist/{glass-ui-ws-BK6Ca98g.js → glass-ui-ws-oxSeDi37.js} +10 -10
- package/dist/{health-ByAPhIlQ.js → health-DZB8SV6G.js} +69 -5
- package/dist/{health-VfVqsLcU.js → health-N-jvgpZZ.js} +69 -5
- package/dist/{heartbeat-visibility-ol7hy6FB.js → heartbeat-visibility-D6uZvFVV.js} +1 -1
- package/dist/{heartbeat-visibility-BdqXBLOd.js → heartbeat-visibility-_mPYbQT2.js} +1 -1
- package/dist/{hooks-cli-D8u-iqwZ.js → hooks-cli-BFZv9uGo.js} +4 -4
- package/dist/{hooks-cli-CA2ikPts.js → hooks-cli-DuKd3-QN.js} +4 -4
- package/dist/{image-C12-WOMI.js → image-DfzwGNoa.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-DxihqoWd.js → manager-2D0Tevoj.js} +1 -1
- package/dist/{manager-DPxj_q1-.js → manager-DjHARmFk.js} +1 -1
- package/dist/{manager-DfZDS6-4.js → manager-DnkWmUWs.js} +1 -1
- package/dist/{manager-C9NXB77i.js → manager-Dp_9v8j5.js} +1 -1
- package/dist/{memory-cli-Bjj5cTuq.js → memory-cli-D69x8sVz.js} +3 -3
- package/dist/{memory-cli-D_O5bN6m.js → memory-cli-z9Rsga03.js} +3 -3
- package/dist/{models-CD7SOI3V.js → models-U6PPfAmY.js} +2 -2
- package/dist/{models-cli-Wjh_xd50.js → models-cli-DDev4qyK.js} +5 -5
- package/dist/{models-cli-Dj5BnQIi.js → models-cli-DiqDhhoK.js} +4 -4
- package/dist/{onboard-Bgl-nPXW.js → onboard-Bl0XFCEJ.js} +2 -2
- package/dist/{onboard-CCfkebWZ.js → onboard-DeH6Vxxg.js} +2 -2
- package/dist/{onboard-channels-CHJjmcTz.js → onboard-channels-CkFD8gYa.js} +1 -1
- package/dist/{onboard-channels-DKFmls3m.js → onboard-channels-Cky54l0-.js} +1 -1
- package/dist/{onboarding-CtCbkyNo.js → onboarding-BZVJ24wI.js} +3 -3
- package/dist/{onboarding-GXSRt2Z4.js → onboarding-DgpTBpWU.js} +3 -3
- package/dist/{onboarding.finalize-CTqy_Unj.js → onboarding.finalize-DVSMLcSy.js} +8 -8
- package/dist/{onboarding.finalize-Cyo7tKOt.js → onboarding.finalize-YB2UOZUK.js} +9 -9
- package/dist/{pi-embedded-gBOzgRYn.js → pi-embedded-C6GkUoi8.js} +77 -25
- package/dist/{pi-embedded-helpers-pMH6u36v.js → pi-embedded-helpers-B1k1RWqM.js} +4 -4
- package/dist/{plugin-registry-BMavDLfZ.js → plugin-registry-2T2NDPGh.js} +1 -1
- package/dist/{plugin-registry-CO6iA1TE.js → plugin-registry-739qhWq3.js} +1 -1
- package/dist/plugin-sdk/agents/system-prompt.d.ts +8 -0
- package/dist/plugin-sdk/{channel-web--Ru_sFHM.js → channel-web-DAJtsqF_.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/infra/active-heartbeat-runs.d.ts +34 -0
- package/dist/plugin-sdk/{manager-CDV3YWoX.js → manager-DhiL-RSO.js} +1 -1
- package/dist/plugin-sdk/{synthesis-Bojs0PJL.js → synthesis-cOQ27lCy.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-D7m-WeUt.js → unified-runner-KBVvJUFF.js} +63 -11
- package/dist/plugin-sdk/{web-BoYy2HSO.js → web-Bj-jTlHW.js} +3 -3
- package/dist/{plugins-cli-2A8lifj4.js → plugins-cli-BrLY9BMq.js} +4 -4
- package/dist/{plugins-cli-DhQzD98q.js → plugins-cli-rLBIo-nA.js} +4 -4
- package/dist/{program-DEaYsa-L.js → program-CKansE2A.js} +9 -9
- package/dist/{program-context-rJ500lzQ.js → program-context-DlM7Bnwp.js} +18 -18
- package/dist/{prompt-select-styled-BcJXLROq.js → prompt-select-styled-RR_-htsV.js} +6 -6
- package/dist/{prompt-select-styled-3tYztnc1.js → prompt-select-styled-YeADoH1b.js} +6 -6
- package/dist/{provider-auth-helpers-eQzmopYc.js → provider-auth-helpers-D7_-bTJg.js} +1 -1
- package/dist/{provider-auth-helpers-COKxBW7N.js → provider-auth-helpers-tiuH9v1U.js} +1 -1
- package/dist/{push-apns-CBPUnPja.js → push-apns-BP1rb3hW.js} +1 -1
- package/dist/{push-apns-kuIc4QSa.js → push-apns-CB9rSO0r.js} +1 -1
- package/dist/{pw-ai-D0CMQA23.js → pw-ai-Dd_QrTWR.js} +1 -1
- package/dist/{register.agent-Bj4dYxX1.js → register.agent-BXfiPWJL.js} +8 -8
- package/dist/{register.agent-CNpLOx-Y.js → register.agent-BadsiDY7.js} +7 -7
- package/dist/{register.configure-BsXY0hbE.js → register.configure-J5GbnUak.js} +9 -9
- package/dist/{register.configure-CM4isxt8.js → register.configure-ndWF-EwD.js} +9 -9
- package/dist/{register.maintenance-Bvt-fYOe.js → register.maintenance-BAlGfjMJ.js} +10 -10
- package/dist/{register.maintenance-Dphm3utW.js → register.maintenance-BvAh-5NH.js} +11 -11
- package/dist/{register.message-CuJ6kd3Y.js → register.message-CTQZsi6c.js} +4 -4
- package/dist/{register.message-C4WU4qwG.js → register.message-CyNUsm17.js} +4 -4
- package/dist/{register.onboard-D_HBo-CG.js → register.onboard-DPpsT1JH.js} +7 -7
- package/dist/{register.onboard-4GJ7224e.js → register.onboard-Dh4f0cDp.js} +7 -7
- package/dist/{register.setup-Blb61XAC.js → register.setup-BrjFdUZ8.js} +7 -7
- package/dist/{register.setup-BJ9kJazQ.js → register.setup-DU8piCcQ.js} +7 -7
- package/dist/{register.status-health-sessions-CRAYzQLg.js → register.status-health-sessions-Cyljneob.js} +6 -6
- package/dist/{register.status-health-sessions-B4hENuHX.js → register.status-health-sessions-jQvctMC3.js} +6 -6
- package/dist/{register.subclis-CmDRn7Z2.js → register.subclis-DOLKNKZj.js} +9 -9
- package/dist/{run-main-CPcu8T5o.js → run-main-DnvLmulK.js} +17 -17
- package/dist/{runner-7XhJhCc0.js → runner-CaXOtv_D.js} +1 -1
- package/dist/{server-methods-CX3ldLPd.js → server-methods-DFQlsPZN.js} +10 -9
- package/dist/{server-methods-DDbTMvnA.js → server-methods-DGQu3NEO.js} +10 -9
- package/dist/{server-node-events-Bzoq_nfx.js → server-node-events-BH1YaeId.js} +4 -4
- package/dist/{server-node-events-Ccoeyw6p.js → server-node-events-C3EVBwcx.js} +4 -4
- package/dist/{status-OAdlubd0.js → status-Cx2g82Iv.js} +3 -3
- package/dist/{status-BEAngZOJ.js → status-DBn69Azp.js} +3 -3
- package/dist/{status-CyHHusPc.js → status-DX8BiUs2.js} +1 -1
- package/dist/{status-BdKI8eQ7.js → status-DyQuiOVn.js} +1 -1
- package/dist/{subagent-registry-UkXCmOLK.js → subagent-registry-Y_8a_o-m.js} +63 -11
- package/dist/{synthesis-DGBPTml_.js → synthesis-BVbYJPM-.js} +3 -3
- package/dist/{synthesis-BkOyAKJV.js → synthesis-CTHSaeoU.js} +7 -7
- package/dist/{synthesis-DnRaxWS6.js → synthesis-DnFo8jPe.js} +2 -2
- package/dist/{synthesis-D_fSgB6z.js → synthesis-ntqeiu25.js} +3 -3
- package/dist/{unified-runner-BNTy0IvK.js → unified-runner-DWZT5BCl.js} +63 -11
- package/dist/{unified-runner-BlsArDPO.js → unified-runner-DwlXIEtb.js} +63 -11
- package/dist/{update-cli-Cwi3bnhh.js → update-cli-CYpz_sg2.js} +11 -11
- package/dist/{update-cli-DuALcXLb.js → update-cli-DKbaVaEp.js} +10 -10
- package/dist/{update-runner-DkNNsx67.js → update-runner-D1V7cGWA.js} +1 -1
- package/dist/{update-runner-C3OhMuSJ.js → update-runner-Des8yO8-.js} +1 -1
- package/dist/{web-Cp_dpAof.js → web-Cm1sUEcG.js} +5 -5
- package/dist/{web-DtgGgNSl.js → web-Dd2K5DCI.js} +4 -4
- package/dist/{web-arCxqOL_.js → web-DuUOtg8X.js} +7 -7
- package/dist/{web-PndcPkY5.js → web-VH47KruC.js} +2 -2
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -7,13 +7,13 @@ import "./reply-prefix-C7ZwCr7X.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CQ_DQOwT.js";
|
|
9
9
|
import "./tokens-DRIIdGfF.js";
|
|
10
|
-
import { f as runAgentTurn } from "./pi-embedded-
|
|
10
|
+
import { f as runAgentTurn } from "./pi-embedded-C6GkUoi8.js";
|
|
11
11
|
import "./plugins-CpxUKuIt.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-pK-Lzohb.js";
|
|
14
14
|
import "./send-DMhDlUGJ.js";
|
|
15
15
|
import "./send-ByAzOT7G.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-DShQE_sq.js";
|
|
17
17
|
import "./diagnostic-BVsSwe-J.js";
|
|
18
18
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
19
19
|
import "./accounts-8zZqL37v.js";
|
|
@@ -21,10 +21,10 @@ import "./send-CFvpJQIE.js";
|
|
|
21
21
|
import "./image-ops-BKUwjozo.js";
|
|
22
22
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
23
23
|
import "./message-channel-BQINJQIT.js";
|
|
24
|
-
import "./pi-embedded-helpers-
|
|
24
|
+
import "./pi-embedded-helpers-B1k1RWqM.js";
|
|
25
25
|
import "./config-BOuq5KZE.js";
|
|
26
26
|
import "./manifest-registry-DWdYdchb.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-WfENE6tB.js";
|
|
28
28
|
import "./skills-amp3F-om.js";
|
|
29
29
|
import "./redact-1NGYV_8p.js";
|
|
30
30
|
import "./errors-CPfngF0S.js";
|
|
@@ -34,8 +34,8 @@ import "./thinking-B8s2BpSx.js";
|
|
|
34
34
|
import "./accounts-DImOt9jX.js";
|
|
35
35
|
import "./paths-DkMamAQ-.js";
|
|
36
36
|
import "./tool-images-CdTyeTEN.js";
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./manager-
|
|
37
|
+
import "./image-DfzwGNoa.js";
|
|
38
|
+
import "./manager-Dp_9v8j5.js";
|
|
39
39
|
import "./gemini-auth-D3D-a_lj.js";
|
|
40
40
|
import "./retry-QGp0jvVi.js";
|
|
41
41
|
import "./sqlite-Bo4pHfp8.js";
|
|
@@ -47,7 +47,7 @@ import "./ir-CDdlA9_f.js";
|
|
|
47
47
|
import "./render-qcqmrHse.js";
|
|
48
48
|
import "./commands-registry-iF38r_Xp.js";
|
|
49
49
|
import "./skill-commands-c5Lly1_3.js";
|
|
50
|
-
import "./runner-
|
|
50
|
+
import "./runner-CaXOtv_D.js";
|
|
51
51
|
import "./fetch-WLZaC77l.js";
|
|
52
52
|
import "./channel-activity-C-6tM-GK.js";
|
|
53
53
|
import "./tables-BuPzx5Wl.js";
|
|
@@ -4,7 +4,7 @@ import "./agent-scope-Ddr0Ws7u.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
|
|
5
5
|
import "./workspace-CarmeCYN.js";
|
|
6
6
|
import "./tokens-DLGDtW5r.js";
|
|
7
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
7
|
+
import { t as runAgentTurn } from "./unified-runner-DwlXIEtb.js";
|
|
8
8
|
import "./auth-profiles-Bs0Z0FzU.js";
|
|
9
9
|
import "./env-BDXYbTKj.js";
|
|
10
10
|
import "./github-copilot-token-cCYzSU9h.js";
|
|
@@ -39,7 +39,7 @@ import "./pi-auth-json-S_NBOBoK.js";
|
|
|
39
39
|
import "./send-BQTsCyf6.js";
|
|
40
40
|
import "./pi-model-discovery-CuZX_Q4t.js";
|
|
41
41
|
import "./reply-prefix-C1Tw2ERK.js";
|
|
42
|
-
import "./manager-
|
|
42
|
+
import "./manager-2D0Tevoj.js";
|
|
43
43
|
import "./gemini-auth-Cl5PvzLM.js";
|
|
44
44
|
import "./retry-B-y5suGA.js";
|
|
45
45
|
import "./sqlite-VBmM_OHS.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
4
|
+
import { t as runAgentTurn } from "./unified-runner-DWZT5BCl.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CtBXKml4.js";
|
|
@@ -55,8 +55,8 @@ import "./send-CrFVrFoV.js";
|
|
|
55
55
|
import "./model-JOScPOPJ.js";
|
|
56
56
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
57
57
|
import "./reply-prefix-DnXliXio.js";
|
|
58
|
-
import "./memory-cli-
|
|
59
|
-
import "./manager-
|
|
58
|
+
import "./memory-cli-D69x8sVz.js";
|
|
59
|
+
import "./manager-DjHARmFk.js";
|
|
60
60
|
import "./gemini-auth-rYBkv11i.js";
|
|
61
61
|
import "./retry-DYICeae5.js";
|
|
62
62
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -54,8 +54,8 @@ import { A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as
|
|
|
54
54
|
import { a as buildModelAliasLines, n as resolveModel } from "./model-JOScPOPJ.js";
|
|
55
55
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CXXH7biP.js";
|
|
56
56
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-DnXliXio.js";
|
|
57
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
58
|
-
import { i as resolveMemorySearchConfig } from "./manager-
|
|
57
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-D69x8sVz.js";
|
|
58
|
+
import { i as resolveMemorySearchConfig } from "./manager-DjHARmFk.js";
|
|
59
59
|
import { f as runTasksWithConcurrency } from "./internal-7ow_5D0m.js";
|
|
60
60
|
import { n as retryAsync } from "./retry-DYICeae5.js";
|
|
61
61
|
import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-T0R2wR5q.js";
|
|
@@ -841,7 +841,11 @@ const SAFETY_AND_STYLE_ADDITIONS = [
|
|
|
841
841
|
"- Do not write verification checklists, self-assessments, or numbered assessment lists after your answer.",
|
|
842
842
|
"- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
|
|
843
843
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
844
|
-
"- Send brief progress updates on long tasks so the user knows you are active."
|
|
844
|
+
"- Send brief progress updates on long tasks so the user knows you are active.",
|
|
845
|
+
"TOOL USE DISCIPLINE (no fabrication):",
|
|
846
|
+
"- If the user asks you to use a tool (e.g., 'use exec to run X', 'read the file', 'check the hostname'), you MUST invoke that tool. Do not answer from training data or priors in place of an actual tool call.",
|
|
847
|
+
"- Never narrate or quote tool output you did not receive from a real tool result. Writing 'I ran X and got Y' without a corresponding tool call is fabrication.",
|
|
848
|
+
"- For local-system facts (hostname, file contents, process state, env vars, current dir), the answer comes from running the tool, not from priors — always invoke."
|
|
845
849
|
];
|
|
846
850
|
/** Hint for native-reasoning models (Nemotron, Qwen 3.5/3.6) to keep
|
|
847
851
|
* planning internal. Not applied to Gemma/Ollama because those models
|
|
@@ -6429,6 +6433,40 @@ function buildSkillsJitBlocks(opts) {
|
|
|
6429
6433
|
|
|
6430
6434
|
//#endregion
|
|
6431
6435
|
//#region src/agents/system-prompt.ts
|
|
6436
|
+
/**
|
|
6437
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
6438
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
6439
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
6440
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
6441
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
6442
|
+
*/
|
|
6443
|
+
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
6444
|
+
if (!workspaceDir) return [];
|
|
6445
|
+
const memoryDir = path.join(workspaceDir, "memory");
|
|
6446
|
+
let entries;
|
|
6447
|
+
try {
|
|
6448
|
+
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
6449
|
+
} catch {
|
|
6450
|
+
return [];
|
|
6451
|
+
}
|
|
6452
|
+
const files = [];
|
|
6453
|
+
for (const entry of entries) {
|
|
6454
|
+
if (!entry.isFile()) continue;
|
|
6455
|
+
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
6456
|
+
let mtimeMs = 0;
|
|
6457
|
+
try {
|
|
6458
|
+
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
6459
|
+
} catch {
|
|
6460
|
+
mtimeMs = 0;
|
|
6461
|
+
}
|
|
6462
|
+
files.push({
|
|
6463
|
+
name: entry.name,
|
|
6464
|
+
mtimeMs
|
|
6465
|
+
});
|
|
6466
|
+
}
|
|
6467
|
+
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
6468
|
+
return files.slice(0, limit).map((f) => f.name);
|
|
6469
|
+
}
|
|
6432
6470
|
function buildSkillsSection(params) {
|
|
6433
6471
|
if (params.isMinimal) return [];
|
|
6434
6472
|
if (params.dropCatalog) return [];
|
|
@@ -6452,13 +6490,21 @@ function buildMemorySection(params) {
|
|
|
6452
6490
|
"## Memory Recall",
|
|
6453
6491
|
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
|
|
6454
6492
|
"",
|
|
6493
|
+
"**Never speculate memory file paths.** Use memory_search to find content; do not construct paths like `memory/<date>.md` from training-data priors and call read on them — that produces ENOENT spam and trips the consecutive-tool-error breaker.",
|
|
6494
|
+
"",
|
|
6455
6495
|
"Memory is split into two layers you will see as files:",
|
|
6456
6496
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
6457
|
-
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation
|
|
6458
|
-
"- `memory
|
|
6459
|
-
"",
|
|
6460
|
-
"When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it."
|
|
6497
|
+
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation. The cycle will reconcile them.",
|
|
6498
|
+
"- New observations go in dated daily files (e.g. `memory/<today>.md`); use `memory_search` to discover what already exists rather than guessing filenames."
|
|
6461
6499
|
];
|
|
6500
|
+
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
6501
|
+
if (memoryFiles.length > 0) {
|
|
6502
|
+
lines.push("");
|
|
6503
|
+
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
6504
|
+
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
6505
|
+
}
|
|
6506
|
+
lines.push("");
|
|
6507
|
+
lines.push("When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it.");
|
|
6462
6508
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
6463
6509
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
6464
6510
|
lines.push("");
|
|
@@ -6747,7 +6793,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
6747
6793
|
const memorySection = buildMemorySection({
|
|
6748
6794
|
isMinimal,
|
|
6749
6795
|
availableTools,
|
|
6750
|
-
citationsMode: params.memoryCitationsMode
|
|
6796
|
+
citationsMode: params.memoryCitationsMode,
|
|
6797
|
+
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
6751
6798
|
});
|
|
6752
6799
|
const docsSection = buildDocsSection({
|
|
6753
6800
|
docsPath: params.docsPath,
|
|
@@ -6785,6 +6832,11 @@ function buildAgentSystemPrompt(params) {
|
|
|
6785
6832
|
"If a task is more complex or takes longer, spawn a sub-agent. Completion is push-based: it will auto-announce when done.",
|
|
6786
6833
|
"Do not poll `subagents list` / `sessions_list` in a loop; only check status on-demand (for intervention, debugging, or when explicitly asked).",
|
|
6787
6834
|
"",
|
|
6835
|
+
"## Tool Use Discipline (mandatory)",
|
|
6836
|
+
"- If the user explicitly tells you to use a tool (e.g., \"use exec to run X\", \"read the file with read\", \"check the hostname\"), you MUST invoke that tool. Do not answer from training data or memory in place of the tool call.",
|
|
6837
|
+
"- Never narrate or quote tool output you did not actually receive from a real tool result. Writing \"I ran X and got Y\" without a corresponding tool invocation is fabrication and breaks user trust.",
|
|
6838
|
+
"- For factual local-system lookups (hostname, file contents, process state, env vars, current dir, system info), the answer comes from invoking the appropriate tool — not from priors. Always invoke.",
|
|
6839
|
+
"",
|
|
6788
6840
|
...compactMode ? [] : [
|
|
6789
6841
|
"## Tool Call Style",
|
|
6790
6842
|
"Default: do not narrate routine, low-risk tool calls (just call the tool).",
|
|
@@ -48435,7 +48487,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
48435
48487
|
function createDefaultDeps() {
|
|
48436
48488
|
return {
|
|
48437
48489
|
sendMessageWhatsApp: async (...args) => {
|
|
48438
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
48490
|
+
const { sendMessageWhatsApp } = await import("./web-Cm1sUEcG.js");
|
|
48439
48491
|
return await sendMessageWhatsApp(...args);
|
|
48440
48492
|
},
|
|
48441
48493
|
sendMessageTelegram: async (...args) => {
|
|
@@ -63749,7 +63801,7 @@ function loadWebLoginQr() {
|
|
|
63749
63801
|
return webLoginQrPromise;
|
|
63750
63802
|
}
|
|
63751
63803
|
function loadWebChannel() {
|
|
63752
|
-
webChannelPromise ??= import("./web-
|
|
63804
|
+
webChannelPromise ??= import("./web-Cm1sUEcG.js");
|
|
63753
63805
|
return webChannelPromise;
|
|
63754
63806
|
}
|
|
63755
63807
|
function loadWhatsAppActions() {
|
|
@@ -73642,4 +73694,4 @@ async function runAgentTurn(params) {
|
|
|
73642
73694
|
}
|
|
73643
73695
|
|
|
73644
73696
|
//#endregion
|
|
73645
|
-
export { loadSessionEntry as $, readLatestAssistantReply as $n, resolveUsageProviderId as $t, DEFAULT_GROUP_HISTORY_LIMIT as A, formatChannelAllowFrom as An,
|
|
73697
|
+
export { loadSessionEntry as $, readLatestAssistantReply as $n, resolveUsageProviderId as $t, DEFAULT_GROUP_HISTORY_LIMIT as A, formatChannelAllowFrom as An, emitAgentEvent as Ar, buildDeliveryFromLegacyPayload as At, withContextUsageWarning as B, shouldComputeCommandAuthorized as Bn, DEFAULT_HEARTBEAT_EVERY as Br, persistBrowserProxyFiles as Bt, runCliAgent as C, prepareAgentRun as Cn, getQueueSize as Cr, inferLegacyName as Ct, parseIdentityMarkdown as D, peekSystemEvents as Dn, waitForActiveTasks as Dr, normalizePayloadToSystemText as Dt, loadAgentIdentityFromWorkspace as E, peekSystemEventEntries as En, setCommandLaneConcurrency as Er, normalizeOptionalText as Et, provider_dispatcher_exports as F, resolveInboundDebounceMs as Fn, resolveModelProfile as Fr, buildSafeExternalPrompt as Ft, createSymiTools as G, countActiveDescendantRuns as Gn, markGatewaySigusr1RestartHandled as Gt, runUnifiedTurn as H, stopSubagentsForRequester as Hn, resolveHeartbeatPrompt as Hr, deferGatewayRestartUntilIdle as Ht, createReplyDispatcher as I, formatInboundEnvelope as In, composeTurnMiddleware as Ir, detectSuspiciousPatterns as It, canonicalizeSpawnedByForAgent as J, listDescendantRunsForRequester as Jn, setPreRestartDeferralCheck as Jt, listTasksInWorkdir as K, countActiveRunsForSession as Kn, scheduleGatewaySigusr1Restart as Kt, getTotalPendingReplies as L, resolveEnvelopeFormatOptions as Ln, runWithModelFallback as Lr, getHookType as Lt, recordPendingHistoryEntryIfEnabled as M, normalizeGroupActivation as Mn, onAgentEvent as Mr, stripLegacyDeliveryFields as Mt, shouldAckReactionForWhatsApp as N, parseActivationCommand as Nn, registerAgentRunContext as Nr, CHANNEL_TARGETS_DESCRIPTION as Nt, buildPairingReply as O, buildChannelSummary as On, CommandLane as Or, normalizeRequiredName as Ot, dispatchReplyWithBufferedBlockDispatcher as P, createInboundDebouncer as Pn, classifyOutboundMessage as Pr, CHANNEL_TARGET_DESCRIPTION as Pt, loadCombinedSessionStoreForGateway as Q, runSubagentAnnounceFlow as Qn, formatUsageWindowSummary as Qt, buildGlassUiProfile as R, formatZonedTimestamp as Rn, describeFailoverError as Rr, isExternalHookSession as Rt, setCliSessionId as S, estimateBase64DecodedBytes as Sn, getActiveTaskCount as Sr, normalizeCronJobPatch as St, identityHasValues as T, isSystemEventContextChanged as Tn, resetAllLanes as Tr, normalizeOptionalSessionKey as Tt, buildAgentTurnParams as U, buildMentionRegexes as Un, stripHeartbeatToken as Ur, emitGatewayRestart as Ut, withContextOverflowRecovery as V, isAbortTrigger as Vn, isHeartbeatContentEffectivelyEmpty as Vr, consumeGatewaySigusr1RestartAuthorization as Vt, prepareReplyTurn as W, normalizeMentionText as Wn, isGatewaySigusr1RestartExternallyAllowed as Wt, listAgentsForGateway as X, subagent_registry_exports as Xn, loadProviderUsageSummary as Xt, classifySessionKey as Y, listSubagentRunsForRequester as Yn, unbindThreadBindingsBySessionKey as Yt, listSessionsFromStore as Z, resolveAgentTimeoutMs as Zn, formatUsageReportLines as Zt, resolveAgentOutboundTarget as _, DEFAULT_INPUT_TIMEOUT_MS as _n, setTtsProvider as _r, summarizeRestartSentinel as _t, getPluginToolMeta as a, resolveSendPolicy as an, formatUserTime as ar, resolveOutboundSessionRoute as at, createOutboundSendDeps$1 as b, normalizeMimeList as bn, OPENAI_TTS_VOICES as br, normalizeHttpWebhookUrl as bt, deleteTelegramUpdateOffset as c, DEFAULT_OAUTH_WARN_MS as cn, getTtsProvider as cr, resolveOutboundTarget as ct, requestBodyErrorToText as d, applyModelOverrideToSessionEntry as dn, resolveTtsApiKey as dr, resetDirectoryCache as dt, resolveCommitHash as en, clearSessionQueues as er, pruneLegacyStoreKeys as et, computeBackoff as f, applyVerboseOverride as fn, resolveTtsAutoMode as fr, CHANNEL_MESSAGE_ACTION_NAMES as ft, resolveAgentDeliveryPlan as g, DEFAULT_INPUT_MAX_REDIRECTS as gn, setTtsEnabled as gr, readRestartSentinel as gt, resolveSessionKeyForRequest as h, DEFAULT_INPUT_IMAGE_MIMES as hn, resolveTtsProviderOrder as hr, formatRestartSentinelMessage as ht, sniffMimeFromBase64 as i, normalizeSendPolicy as in, resolveEmbeddedSessionLane as ir, ensureOutboundSessionEntry as it, buildHistoryContextFromEntries as j, BARE_SESSION_RESET_PROMPT as jn, getAgentRunContext as jr, hasLegacyDeliveryHints as jt, resolveMentionGating as k, buildChannelAccountSnapshot as kn, clearAgentRunContext as kr, migrateLegacyCronPayload as kt, handleSlackHttpRequest as l, buildAuthHealthSummary as ln, isTtsEnabled as lr, resolveSessionDeliveryTarget as lt, agentCommand as m, DEFAULT_INPUT_IMAGE_MAX_BYTES as mn, resolveTtsPrefsPath as mr, formatDoctorNonInteractiveHint as mt, applyToolPolicyPipeline as n, setHeartbeatWakeHandler as nn, getActiveEmbeddedRunCount as nr, resolveSessionModelRef as nt, createPluginLoaderLogger as o, lookupContextTokens as on, resolveUserTimeFormat as or, resolveHeartbeatDeliveryTarget as ot, sleepWithAbort as p, parseVerboseOverride as pn, resolveTtsConfig as pr, consumeRestartSentinel as pt, resolveAnnounceTargetFromKey as q, initSubagentRegistry as qn, setGatewaySigusr1RestartPolicy as qt, buildDefaultToolPolicyPipelineSteps as r, resolveHeartbeatReasonKind as rn, waitForEmbeddedPiRunEnd as rr, runMessageAction as rt, loadSymiPlugins as s, maskApiKey as sn, resolveUserTimezone as sr, resolveHeartbeatSenderContext as st, runAgentTurn as t, requestHeartbeatNow as tn, abortEmbeddedPiRun as tr, resolveGatewaySessionStoreTarget as tt, readJsonBodyWithLimit as u, formatRemainingShort as un, isTtsProviderConfigured as ur, formatTargetDisplay as ut, createOutboundSendDeps as v, extractFileContentFromSource as vn, textToSpeech as vr, trimLogTail as vt, resolveAgentAvatar as w, enqueueSystemEvent as wn, getTotalQueueSize as wr, normalizeOptionalAgentId as wt, getCliSessionId as x, resolveInputFileLimits as xn, sha256HexPrefix as xr, normalizeCronJobCreate as xt, createDefaultDeps as y, extractImageContentFromSource as yn, OPENAI_TTS_MODELS as yr, writeRestartSentinel as yt, createDedupeCache as z, hasControlCommand as zn, DEFAULT_HEARTBEAT_ACK_MAX_CHARS as zr, applyBrowserProxyPaths as zt };
|
|
@@ -41,7 +41,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-S_NBOBoK.j
|
|
|
41
41
|
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-BQTsCyf6.js";
|
|
42
42
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CuZX_Q4t.js";
|
|
43
43
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-C1Tw2ERK.js";
|
|
44
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
44
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-2D0Tevoj.js";
|
|
45
45
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-DjnxpF_K.js";
|
|
46
46
|
import { n as retryAsync } from "./retry-B-y5suGA.js";
|
|
47
47
|
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-Bp-kjJP5.js";
|
|
@@ -785,7 +785,11 @@ const SAFETY_AND_STYLE_ADDITIONS = [
|
|
|
785
785
|
"- Do not write verification checklists, self-assessments, or numbered assessment lists after your answer.",
|
|
786
786
|
"- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
|
|
787
787
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
788
|
-
"- Send brief progress updates on long tasks so the user knows you are active."
|
|
788
|
+
"- Send brief progress updates on long tasks so the user knows you are active.",
|
|
789
|
+
"TOOL USE DISCIPLINE (no fabrication):",
|
|
790
|
+
"- If the user asks you to use a tool (e.g., 'use exec to run X', 'read the file', 'check the hostname'), you MUST invoke that tool. Do not answer from training data or priors in place of an actual tool call.",
|
|
791
|
+
"- Never narrate or quote tool output you did not receive from a real tool result. Writing 'I ran X and got Y' without a corresponding tool call is fabrication.",
|
|
792
|
+
"- For local-system facts (hostname, file contents, process state, env vars, current dir), the answer comes from running the tool, not from priors — always invoke."
|
|
789
793
|
];
|
|
790
794
|
/** Hint for native-reasoning models (Nemotron, Qwen 3.5/3.6) to keep
|
|
791
795
|
* planning internal. Not applied to Gemma/Ollama because those models
|
|
@@ -4613,7 +4617,7 @@ async function getMemorySearchManager(params) {
|
|
|
4613
4617
|
const wrapper = new FallbackMemoryManager({
|
|
4614
4618
|
primary,
|
|
4615
4619
|
fallbackFactory: async () => {
|
|
4616
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
4620
|
+
const { MemoryIndexManager } = await import("./manager-2D0Tevoj.js").then((n) => n.t);
|
|
4617
4621
|
return await MemoryIndexManager.get(params);
|
|
4618
4622
|
}
|
|
4619
4623
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -4626,7 +4630,7 @@ async function getMemorySearchManager(params) {
|
|
|
4626
4630
|
}
|
|
4627
4631
|
}
|
|
4628
4632
|
try {
|
|
4629
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
4633
|
+
const { MemoryIndexManager } = await import("./manager-2D0Tevoj.js").then((n) => n.t);
|
|
4630
4634
|
return { manager: await MemoryIndexManager.get(params) };
|
|
4631
4635
|
} catch (err) {
|
|
4632
4636
|
return {
|
|
@@ -7092,6 +7096,40 @@ function buildSkillsJitBlocks(opts) {
|
|
|
7092
7096
|
|
|
7093
7097
|
//#endregion
|
|
7094
7098
|
//#region src/agents/system-prompt.ts
|
|
7099
|
+
/**
|
|
7100
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
7101
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
7102
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
7103
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
7104
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
7105
|
+
*/
|
|
7106
|
+
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
7107
|
+
if (!workspaceDir) return [];
|
|
7108
|
+
const memoryDir = path.join(workspaceDir, "memory");
|
|
7109
|
+
let entries;
|
|
7110
|
+
try {
|
|
7111
|
+
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
7112
|
+
} catch {
|
|
7113
|
+
return [];
|
|
7114
|
+
}
|
|
7115
|
+
const files = [];
|
|
7116
|
+
for (const entry of entries) {
|
|
7117
|
+
if (!entry.isFile()) continue;
|
|
7118
|
+
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
7119
|
+
let mtimeMs = 0;
|
|
7120
|
+
try {
|
|
7121
|
+
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
7122
|
+
} catch {
|
|
7123
|
+
mtimeMs = 0;
|
|
7124
|
+
}
|
|
7125
|
+
files.push({
|
|
7126
|
+
name: entry.name,
|
|
7127
|
+
mtimeMs
|
|
7128
|
+
});
|
|
7129
|
+
}
|
|
7130
|
+
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
7131
|
+
return files.slice(0, limit).map((f) => f.name);
|
|
7132
|
+
}
|
|
7095
7133
|
function buildSkillsSection(params) {
|
|
7096
7134
|
if (params.isMinimal) return [];
|
|
7097
7135
|
if (params.dropCatalog) return [];
|
|
@@ -7115,13 +7153,21 @@ function buildMemorySection(params) {
|
|
|
7115
7153
|
"## Memory Recall",
|
|
7116
7154
|
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
|
|
7117
7155
|
"",
|
|
7156
|
+
"**Never speculate memory file paths.** Use memory_search to find content; do not construct paths like `memory/<date>.md` from training-data priors and call read on them — that produces ENOENT spam and trips the consecutive-tool-error breaker.",
|
|
7157
|
+
"",
|
|
7118
7158
|
"Memory is split into two layers you will see as files:",
|
|
7119
7159
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
7120
|
-
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation
|
|
7121
|
-
"- `memory
|
|
7122
|
-
"",
|
|
7123
|
-
"When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it."
|
|
7160
|
+
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation. The cycle will reconcile them.",
|
|
7161
|
+
"- New observations go in dated daily files (e.g. `memory/<today>.md`); use `memory_search` to discover what already exists rather than guessing filenames."
|
|
7124
7162
|
];
|
|
7163
|
+
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
7164
|
+
if (memoryFiles.length > 0) {
|
|
7165
|
+
lines.push("");
|
|
7166
|
+
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
7167
|
+
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
7168
|
+
}
|
|
7169
|
+
lines.push("");
|
|
7170
|
+
lines.push("When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it.");
|
|
7125
7171
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
7126
7172
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
7127
7173
|
lines.push("");
|
|
@@ -7410,7 +7456,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
7410
7456
|
const memorySection = buildMemorySection({
|
|
7411
7457
|
isMinimal,
|
|
7412
7458
|
availableTools,
|
|
7413
|
-
citationsMode: params.memoryCitationsMode
|
|
7459
|
+
citationsMode: params.memoryCitationsMode,
|
|
7460
|
+
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
7414
7461
|
});
|
|
7415
7462
|
const docsSection = buildDocsSection({
|
|
7416
7463
|
docsPath: params.docsPath,
|
|
@@ -7448,6 +7495,11 @@ function buildAgentSystemPrompt(params) {
|
|
|
7448
7495
|
"If a task is more complex or takes longer, spawn a sub-agent. Completion is push-based: it will auto-announce when done.",
|
|
7449
7496
|
"Do not poll `subagents list` / `sessions_list` in a loop; only check status on-demand (for intervention, debugging, or when explicitly asked).",
|
|
7450
7497
|
"",
|
|
7498
|
+
"## Tool Use Discipline (mandatory)",
|
|
7499
|
+
"- If the user explicitly tells you to use a tool (e.g., \"use exec to run X\", \"read the file with read\", \"check the hostname\"), you MUST invoke that tool. Do not answer from training data or memory in place of the tool call.",
|
|
7500
|
+
"- Never narrate or quote tool output you did not actually receive from a real tool result. Writing \"I ran X and got Y\" without a corresponding tool invocation is fabrication and breaks user trust.",
|
|
7501
|
+
"- For factual local-system lookups (hostname, file contents, process state, env vars, current dir, system info), the answer comes from invoking the appropriate tool — not from priors. Always invoke.",
|
|
7502
|
+
"",
|
|
7451
7503
|
...compactMode ? [] : [
|
|
7452
7504
|
"## Tool Call Style",
|
|
7453
7505
|
"Default: do not narrate routine, low-risk tool calls (just call the tool).",
|
|
@@ -53619,7 +53671,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
53619
53671
|
function createDefaultDeps() {
|
|
53620
53672
|
return {
|
|
53621
53673
|
sendMessageWhatsApp: async (...args) => {
|
|
53622
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53674
|
+
const { sendMessageWhatsApp } = await import("./web-VH47KruC.js");
|
|
53623
53675
|
return await sendMessageWhatsApp(...args);
|
|
53624
53676
|
},
|
|
53625
53677
|
sendMessageTelegram: async (...args) => {
|
|
@@ -68899,7 +68951,7 @@ function loadWebLoginQr() {
|
|
|
68899
68951
|
return webLoginQrPromise;
|
|
68900
68952
|
}
|
|
68901
68953
|
function loadWebChannel() {
|
|
68902
|
-
webChannelPromise ??= import("./web-
|
|
68954
|
+
webChannelPromise ??= import("./web-VH47KruC.js");
|
|
68903
68955
|
return webChannelPromise;
|
|
68904
68956
|
}
|
|
68905
68957
|
function loadWhatsAppActions() {
|
|
@@ -17,7 +17,7 @@ import "./client-CJIMV1WD.js";
|
|
|
17
17
|
import "./call-e869fla2.js";
|
|
18
18
|
import "./message-channel-C9dERklz.js";
|
|
19
19
|
import "./pairing-token-Byh6drgn.js";
|
|
20
|
-
import {
|
|
20
|
+
import { Ot as trimLogTail } from "./subagent-registry-Y_8a_o-m.js";
|
|
21
21
|
import "./sessions-CBlCXpU2.js";
|
|
22
22
|
import "./tokens-BEvOiQ65.js";
|
|
23
23
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -55,8 +55,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
55
55
|
import "./thinking-8sKPnzpp.js";
|
|
56
56
|
import "./models-config-BjWk_WQa.js";
|
|
57
57
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
58
|
-
import "./memory-cli-
|
|
59
|
-
import "./manager-
|
|
58
|
+
import "./memory-cli-z9Rsga03.js";
|
|
59
|
+
import "./manager-DnkWmUWs.js";
|
|
60
60
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
61
61
|
import "./retry-C4Q_VPOo.js";
|
|
62
62
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -103,7 +103,7 @@ import "./onboard-helpers-C_ASAAp0.js";
|
|
|
103
103
|
import { n as stylePromptMessage } from "./prompt-style-BxVdnrLq.js";
|
|
104
104
|
import "./pairing-labels-B6chnvfn.js";
|
|
105
105
|
import "./pi-tools.policy-DcwVdzSK.js";
|
|
106
|
-
import "./heartbeat-visibility-
|
|
106
|
+
import "./heartbeat-visibility-D6uZvFVV.js";
|
|
107
107
|
import { n as inheritOptionFromParent } from "./command-options-DbRrl8qF.js";
|
|
108
108
|
import "./catalog-KcLvtTfa.js";
|
|
109
109
|
import "./note-DewoEWtc.js";
|
|
@@ -113,10 +113,10 @@ import "./npm-registry-spec-PuS2I1Em.js";
|
|
|
113
113
|
import "./skill-scanner-BV3QHmsf.js";
|
|
114
114
|
import "./installs-B4sNNRaW.js";
|
|
115
115
|
import "./channels-status-issues-BICbi-81.js";
|
|
116
|
-
import "./register.subclis-
|
|
117
|
-
import "./command-registry-
|
|
116
|
+
import "./register.subclis-DOLKNKZj.js";
|
|
117
|
+
import "./command-registry-BRN6NMOS.js";
|
|
118
118
|
import "./program-context-DeZ44oQ9.js";
|
|
119
|
-
import { r as installCompletion } from "./completion-cli-
|
|
119
|
+
import { r as installCompletion } from "./completion-cli-CQtI0ASD.js";
|
|
120
120
|
import "./daemon-runtime-EeFXD_no.js";
|
|
121
121
|
import { r as parseSemver } from "./runtime-guard-BofkqBu7.js";
|
|
122
122
|
import "./systemd-CJ5L2ee4.js";
|
|
@@ -126,19 +126,19 @@ import "./systemd-hints-MqeTsJB1.js";
|
|
|
126
126
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-DPN03f9E.js";
|
|
127
127
|
import "./diagnostics-C6xPE2ln.js";
|
|
128
128
|
import { t as renderTable } from "./table-Bka4fasy.js";
|
|
129
|
-
import "./health-
|
|
129
|
+
import "./health-DZB8SV6G.js";
|
|
130
130
|
import "./control-ui-assets-DKcwWWGv.js";
|
|
131
131
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-BNjupSIM.js";
|
|
132
132
|
import "./dm-policy-shared-BSjL81w0.js";
|
|
133
133
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DDeJEekl.js";
|
|
134
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
134
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-Des8yO8-.js";
|
|
135
135
|
import "./logging-PVQxLC6I.js";
|
|
136
136
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DticqU4-.js";
|
|
137
137
|
import "./doctor-config-flow-O07GAnrR.js";
|
|
138
138
|
import "./systemd-linger-ipoPa7o0.js";
|
|
139
139
|
import "./health-format-DkjSgkDx.js";
|
|
140
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
141
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
140
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-RR_-htsV.js";
|
|
141
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BmjVxgkV.js";
|
|
142
142
|
import { spawn, spawnSync } from "node:child_process";
|
|
143
143
|
import os from "node:os";
|
|
144
144
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, h as pathExists } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import { vt as trimLogTail } from "./unified-runner-
|
|
4
|
+
import { vt as trimLogTail } from "./unified-runner-DWZT5BCl.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CtBXKml4.js";
|
|
@@ -57,8 +57,8 @@ import "./send-CrFVrFoV.js";
|
|
|
57
57
|
import "./model-JOScPOPJ.js";
|
|
58
58
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
59
59
|
import "./reply-prefix-DnXliXio.js";
|
|
60
|
-
import "./memory-cli-
|
|
61
|
-
import "./manager-
|
|
60
|
+
import "./memory-cli-D69x8sVz.js";
|
|
61
|
+
import "./manager-DjHARmFk.js";
|
|
62
62
|
import "./gemini-auth-rYBkv11i.js";
|
|
63
63
|
import "./retry-DYICeae5.js";
|
|
64
64
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -106,9 +106,9 @@ import "./onboard-helpers-ncV67aOo.js";
|
|
|
106
106
|
import { n as stylePromptMessage } from "./prompt-style-CSNJI4MG.js";
|
|
107
107
|
import "./pairing-labels-DJfFSZUS.js";
|
|
108
108
|
import "./pi-tools.policy-D4i_i5CV.js";
|
|
109
|
-
import "./heartbeat-visibility-
|
|
109
|
+
import "./heartbeat-visibility-_mPYbQT2.js";
|
|
110
110
|
import { r as parseSemver } from "./runtime-guard-dBbuLE2m.js";
|
|
111
|
-
import "./program-context-
|
|
111
|
+
import "./program-context-DlM7Bnwp.js";
|
|
112
112
|
import "./catalog-pt1jhhyb.js";
|
|
113
113
|
import "./skills-status-DzvtNke3.js";
|
|
114
114
|
import { n as inheritOptionFromParent } from "./command-options-DOOvAdsg.js";
|
|
@@ -119,7 +119,7 @@ import "./npm-registry-spec-DzwsFqwv.js";
|
|
|
119
119
|
import "./skill-scanner-DI28Pqv5.js";
|
|
120
120
|
import "./installs-DH3fKGSH.js";
|
|
121
121
|
import "./channels-status-issues-Crr1XNY1.js";
|
|
122
|
-
import { r as installCompletion } from "./completion-cli-
|
|
122
|
+
import { r as installCompletion } from "./completion-cli-EvxmKJ-O.js";
|
|
123
123
|
import "./daemon-runtime-CNvz5bbJ.js";
|
|
124
124
|
import "./systemd-z4aO4iTi.js";
|
|
125
125
|
import { t as resolveGatewayService } from "./service-CW2RUNzh.js";
|
|
@@ -128,19 +128,19 @@ import "./systemd-hints-CnJtd2EU.js";
|
|
|
128
128
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-BZuA8L1N.js";
|
|
129
129
|
import "./diagnostics-D40jPn_9.js";
|
|
130
130
|
import { t as renderTable } from "./table-Cg6YZXv9.js";
|
|
131
|
-
import "./health-
|
|
131
|
+
import "./health-N-jvgpZZ.js";
|
|
132
132
|
import "./control-ui-assets-CtKVON4w.js";
|
|
133
133
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-BIE5FLmi.js";
|
|
134
134
|
import "./dm-policy-shared-Ca_yzxgO.js";
|
|
135
135
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-B7og6NgE.js";
|
|
136
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
136
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-D1V7cGWA.js";
|
|
137
137
|
import "./logging-CZuxhCZR.js";
|
|
138
138
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-BnkusEA2.js";
|
|
139
139
|
import "./doctor-config-flow-D3sS9iLa.js";
|
|
140
140
|
import "./systemd-linger-Bl13Nbce.js";
|
|
141
141
|
import "./health-format-Ct4VWeSk.js";
|
|
142
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
143
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
142
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-YeADoH1b.js";
|
|
143
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Cts2UOop.js";
|
|
144
144
|
import os from "node:os";
|
|
145
145
|
import path from "node:path";
|
|
146
146
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { vt as trimLogTail } from "./unified-runner-
|
|
2
|
+
import { vt as trimLogTail } from "./unified-runner-DWZT5BCl.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-q6BX_N9b.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-CtKVON4w.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-BIE5FLmi.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CBKBIMpA.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Ot as trimLogTail } from "./subagent-registry-Y_8a_o-m.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-DKcwWWGv.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-BNjupSIM.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import "./unified-runner-
|
|
4
|
+
import "./unified-runner-DWZT5BCl.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CtBXKml4.js";
|
|
@@ -55,8 +55,8 @@ import "./send-CrFVrFoV.js";
|
|
|
55
55
|
import "./model-JOScPOPJ.js";
|
|
56
56
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
57
57
|
import "./reply-prefix-DnXliXio.js";
|
|
58
|
-
import "./memory-cli-
|
|
59
|
-
import "./manager-
|
|
58
|
+
import "./memory-cli-D69x8sVz.js";
|
|
59
|
+
import "./manager-DjHARmFk.js";
|
|
60
60
|
import "./gemini-auth-rYBkv11i.js";
|
|
61
61
|
import "./retry-DYICeae5.js";
|
|
62
62
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -102,8 +102,8 @@ import "./onboard-helpers-ncV67aOo.js";
|
|
|
102
102
|
import "./prompt-style-CSNJI4MG.js";
|
|
103
103
|
import "./pairing-labels-DJfFSZUS.js";
|
|
104
104
|
import "./pi-tools.policy-D4i_i5CV.js";
|
|
105
|
-
import "./heartbeat-visibility-
|
|
106
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
105
|
+
import "./heartbeat-visibility-_mPYbQT2.js";
|
|
106
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-B9o347ZR.js";
|
|
107
107
|
import { n as sendMessageWhatsApp } from "./outbound-C_ySrqR_.js";
|
|
108
108
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-Cuih2Tn2.js";
|
|
109
109
|
import { t as loginWeb } from "./login-CsEJJi3G.js";
|
|
@@ -16,7 +16,7 @@ import "./client-CJIMV1WD.js";
|
|
|
16
16
|
import "./call-e869fla2.js";
|
|
17
17
|
import "./message-channel-C9dERklz.js";
|
|
18
18
|
import "./pairing-token-Byh6drgn.js";
|
|
19
|
-
import { $n as
|
|
19
|
+
import { $n as buildMentionRegexes, B as shouldAckReactionForWhatsApp, F as buildPairingReply, Gn as resolveInboundDebounceMs, Hn as normalizeGroupActivation, I as resolveMentionGating, K as createDedupeCache, Kn as formatInboundEnvelope, L as DEFAULT_GROUP_HISTORY_LIMIT, Pn as enqueueSystemEvent, R as buildHistoryContextFromEntries, Un as parseActivationCommand, V as dispatchReplyWithBufferedBlockDispatcher, Wn as createInboundDebouncer, Xn as shouldComputeCommandAuthorized, Yn as hasControlCommand, b as sleepWithAbort, er as normalizeMentionText, qn as resolveEnvelopeFormatOptions, y as computeBackoff, z as recordPendingHistoryEntryIfEnabled } from "./subagent-registry-Y_8a_o-m.js";
|
|
20
20
|
import { B as resolveGroupSessionKey, c as recordSessionMetaFromInbound, o as loadSessionStore, s as readSessionUpdatedAt, u as updateLastRoute } from "./sessions-CBlCXpU2.js";
|
|
21
21
|
import "./tokens-BEvOiQ65.js";
|
|
22
22
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -54,8 +54,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
54
54
|
import "./thinking-8sKPnzpp.js";
|
|
55
55
|
import "./models-config-BjWk_WQa.js";
|
|
56
56
|
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-Pz-5t5RS.js";
|
|
57
|
-
import "./memory-cli-
|
|
58
|
-
import "./manager-
|
|
57
|
+
import "./memory-cli-z9Rsga03.js";
|
|
58
|
+
import "./manager-DnkWmUWs.js";
|
|
59
59
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
60
60
|
import "./retry-C4Q_VPOo.js";
|
|
61
61
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -104,7 +104,7 @@ import "./pairing-labels-B6chnvfn.js";
|
|
|
104
104
|
import { r as setActiveWebListener } from "./active-listener-DEi7sEFa.js";
|
|
105
105
|
import "./pi-tools.policy-DcwVdzSK.js";
|
|
106
106
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-CJVro3eH.js";
|
|
107
|
-
import "./heartbeat-visibility-
|
|
107
|
+
import "./heartbeat-visibility-D6uZvFVV.js";
|
|
108
108
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-C5-rN68i.js";
|
|
109
109
|
import { t as loginWeb } from "./login-Cf8uf5rY.js";
|
|
110
110
|
import { randomUUID } from "node:crypto";
|