@lawpath-tech/openclaw 2026.2.21-29 → 2026.2.21-30
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-CQT5u65w.js → accounts-CJEDkyd7.js} +1 -1
- package/dist/{accounts-DFrH9IVU.js → accounts-CaJg9v7D.js} +1 -1
- package/dist/{accounts-C8m4ADkw.js → accounts-DQo5uGA3.js} +14 -14
- package/dist/{active-listener-BKTctYlH.js → active-listener-Bhmh-BBe.js} +1 -1
- package/dist/{agent-scope-DSUeV7-g.js → agent-scope-DiO1KimT.js} +3 -3
- package/dist/{audio-preflight-CODznzqu.js → audio-preflight-Da7vejCH.js} +4 -4
- package/dist/{audio-preflight-CLqoZYgI.js → audio-preflight-z9oahneY.js} +29 -29
- package/dist/{bindings-BKEEBdsb.js → bindings-CEJk9Gww.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BgsTqLau.js → channel-activity-pOw1s-fe.js} +1 -1
- package/dist/{chrome-Bqbv_ZSj.js → chrome-B3ZZfPkj.js} +13 -13
- package/dist/{chrome-lRUqqgSD.js → chrome-CZuniMYN.js} +7 -7
- package/dist/{chunk-fZrBDWYg.js → chunk-BkGjWi6P.js} +1 -1
- package/dist/{command-format-BOHIfoCX.js → command-format-CM0AxuCk.js} +1 -1
- package/dist/{commands-registry-BzlB3qtZ.js → commands-registry-C0QzohKU.js} +4 -4
- package/dist/{config-Du_-inxH.js → config-7ClJ9IDt.js} +12 -12
- package/dist/{deliver-B2d2N8OJ.js → deliver-0ThKlzQo.js} +1 -1
- package/dist/{deliver-CKH_FhS0.js → deliver-CrJoiqws.js} +20 -20
- package/dist/{diagnostic-DriDPU6M.js → diagnostic-DTfVTKJM.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-CdkBcBAo.js → frontmatter-Dab6NVCF.js} +2 -2
- package/dist/{gemini-auth-A2JaRMHH.js → gemini-auth-CnEqRhSo.js} +1 -1
- package/dist/{github-copilot-token-Dgb9dAHW.js → github-copilot-token-DAycnoAs.js} +7 -7
- package/dist/{image-CxPjVob-.js → image-2bonNMVD.js} +4 -4
- package/dist/{image--DDZnw-F.js → image-88q3KE-C.js} +1 -1
- package/dist/{image-ops-BGmpOcey.js → image-ops-D-bh1BTN.js} +1 -1
- package/dist/{ir-DJPm0a4k.js → ir-j1Xb0PNv.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-JqlMsAYY.js → local-roots-Dx32AY60.js} +5 -5
- package/dist/{login-DXtAIVXy.js → login-CLQskGt7.js} +7 -7
- package/dist/{login-qr-D0A3WDBN.js → login-qr-CxZVehrh.js} +12 -12
- package/dist/{manager-D7SRrHxT.js → manager-C6KdjXEH.js} +13 -13
- package/dist/{manifest-registry-Dhk4A5vb.js → manifest-registry-D31TP66o.js} +19 -19
- package/dist/{markdown-tables-DpVJE0eA.js → markdown-tables-BOmw5zkp.js} +1 -1
- package/dist/{message-channel-CHYSjmbr.js → message-channel-BckS8bQ9.js} +1 -1
- package/dist/{model-auth-vtNH8C4P.js → model-auth-C-Vzzybi.js} +9 -9
- package/dist/{outbound-BWgFha97.js → outbound-Bk0PGZ1q.js} +7 -7
- package/dist/{outbound-attachment-B8WHzsCX.js → outbound-attachment-CHLSsIj_.js} +2 -2
- package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
- package/dist/{paths-BEAbheM8.js → paths-Cv2Q0cX2.js} +1 -1
- package/dist/{pi-auth-json-BiwfFswL.js → pi-auth-json-DzcwV2uo.js} +8 -8
- package/dist/{pi-embedded-Dz24QZz9.js → pi-embedded-BFPKtgT3.js} +158 -158
- package/dist/{pi-embedded-C_B8_quB.js → pi-embedded-ZvazjIyF.js} +16 -16
- package/dist/{pi-embedded-helpers-Cd0S0WfR.js → pi-embedded-helpers-B0Kht0I2.js} +4 -4
- package/dist/{pi-embedded-helpers-CSE0v99A.js → pi-embedded-helpers-eDaF2UhI.js} +52 -52
- package/dist/{plugins-DIrNa311.js → plugins-Bf_qBfZ7.js} +9 -9
- package/dist/{pw-ai-D-_aGzdQ.js → pw-ai-B3EislzC.js} +11 -11
- package/dist/{pw-ai-C-kqYO4L.js → pw-ai-S3cpSYOy.js} +1 -1
- package/dist/{qmd-manager-DePh-PT0.js → qmd-manager-DVrv2Huu.js} +7 -7
- package/dist/{registry-DpeZG5fo.js → registry-wimgwqAA.js} +18 -18
- package/dist/{replies-CSVWkVda.js → replies-DuQ9MtQM.js} +3 -3
- package/dist/{reply-prefix-DZrS3Kf7.js → reply-prefix-B_1VtLm5.js} +1 -1
- package/dist/{resolve-route-1ar2IrQt.js → resolve-route-CSE9DZsB.js} +4 -4
- package/dist/{retry-Bdu4_ZcT.js → retry-DwLEH9x4.js} +1 -1
- package/dist/{runner-D1eXJZ8T.js → runner-BeO6HoPY.js} +9 -9
- package/dist/{runner-Dq-qfrq7.js → runner-a43IsYad.js} +1 -1
- package/dist/{send-DPVf5tQ4.js → send-BCt1G0xY.js} +6 -6
- package/dist/{send-BeWYOs1x.js → send-CEP4RX_l.js} +7 -7
- package/dist/{send-Byt_wJDK.js → send-CMeyW_Bu.js} +6 -6
- package/dist/{send-CWtaJF1G.js → send-CdIaqNP6.js} +18 -18
- package/dist/{send-BEFzSOoD.js → send-DrfA4RxA.js} +10 -10
- package/dist/{session-Bnp7PC7f.js → session-CQ9JJgSo.js} +8 -8
- package/dist/{skill-commands-CqyVDpti.js → skill-commands-CwFNOYqC.js} +9 -9
- package/dist/{skills-DSZuhFx9.js → skills-C8xf0p1B.js} +21 -21
- package/dist/{sqlite-C3XxSzBN.js → sqlite-B6SD9PTM.js} +4 -4
- package/dist/{store-BrNiRjgB.js → store-VFVAfYgh.js} +2 -2
- package/dist/{subsystem-BF9jT_Nw.js → subsystem-BEdh_1O5.js} +1 -1
- package/dist/{tables-C3clT_iA.js → tables-QNO5uMcm.js} +1 -1
- package/dist/{target-errors-ChHV8dPI.js → target-errors-DD2466Y6.js} +2 -2
- package/dist/{thinking-Dg8vKjw_.js → thinking-BZFf1juV.js} +5 -5
- package/dist/{tokens-B-c56SkM.js → tokens-GCiqN5mi.js} +1 -1
- package/dist/{tool-images-C1rdDr34.js → tool-images-D0sBSASn.js} +2 -2
- package/dist/{tool-loop-detection-Bu3OGskw.js → tool-loop-detection-BPAeTbUj.js} +3 -3
- package/dist/{web-DiYh3u92.js → web-CVSol55V.js} +6 -6
- package/dist/{web-Y49Dumye.js → web-CfqjWSEf.js} +57 -57
- package/dist/{whatsapp-actions-DFZYzkBp.js → whatsapp-actions-kX73ghOz.js} +23 -23
- package/dist/{workspace-DYx5Dxtw.js → workspace-CH9k4Qgz.js} +6 -6
- package/extensions/voice-call/src/providers/realtime-session.ts +1 -32
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { d as detectMime } from "./image-ops-D-bh1BTN.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-D0sBSASn.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-
|
|
4
|
-
import { t as resolveWhatsAppAccount } from "./accounts-
|
|
5
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
2
|
+
import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-wimgwqAA.js";
|
|
3
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-Bf_qBfZ7.js";
|
|
4
|
+
import { t as resolveWhatsAppAccount } from "./accounts-DQo5uGA3.js";
|
|
5
|
+
import { n as resolveSignalAccount } from "./accounts-CJEDkyd7.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-CaJg9v7D.js";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/string-normalization.ts
|
|
9
9
|
function normalizeStringEntries(list) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-D-bh1BTN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/image-sanitization.ts
|
|
5
5
|
const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { W as isPlainObject } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import { W as isPlainObject } from "./registry-wimgwqAA.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -8,13 +8,13 @@ import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createR
|
|
|
8
8
|
import "./github-copilot-token-ttqQRqMA.js";
|
|
9
9
|
import { r as formatCliCommand } from "./env-DulyEJtM.js";
|
|
10
10
|
import "./tokens-DnMmat9I.js";
|
|
11
|
-
import { C as shouldComputeCommandAuthorized, S as hasControlCommand, T as normalizeMentionText, _ as enqueueSystemEvent, a as resolveMentionGating, b as formatInboundEnvelope, c as recordPendingHistoryEntryIfEnabled, f as createDedupeCache, g as formatDurationPrecise, h as parseActivationCommand, i as buildPairingReply, l as shouldAckReactionForWhatsApp, m as normalizeGroupActivation, n as computeBackoff, o as DEFAULT_GROUP_HISTORY_LIMIT, p as getReplyFromConfig, r as sleepWithAbort, s as buildHistoryContextFromEntries, u as dispatchReplyWithBufferedBlockDispatcher, v as createInboundDebouncer, w as buildMentionRegexes, x as resolveEnvelopeFormatOptions, y as resolveInboundDebounceMs } from "./pi-embedded-
|
|
11
|
+
import { C as shouldComputeCommandAuthorized, S as hasControlCommand, T as normalizeMentionText, _ as enqueueSystemEvent, a as resolveMentionGating, b as formatInboundEnvelope, c as recordPendingHistoryEntryIfEnabled, f as createDedupeCache, g as formatDurationPrecise, h as parseActivationCommand, i as buildPairingReply, l as shouldAckReactionForWhatsApp, m as normalizeGroupActivation, n as computeBackoff, o as DEFAULT_GROUP_HISTORY_LIMIT, p as getReplyFromConfig, r as sleepWithAbort, s as buildHistoryContextFromEntries, u as dispatchReplyWithBufferedBlockDispatcher, v as createInboundDebouncer, w as buildMentionRegexes, x as resolveEnvelopeFormatOptions, y as resolveInboundDebounceMs } from "./pi-embedded-ZvazjIyF.js";
|
|
12
12
|
import "./plugins-B90TBXkV.js";
|
|
13
13
|
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-Cxza2UXO.js";
|
|
14
14
|
import "./bindings-q3EHMdG1.js";
|
|
15
15
|
import "./send-Chks8Sx_.js";
|
|
16
16
|
import "./send-D4cCHXzJ.js";
|
|
17
|
-
import "./deliver-
|
|
17
|
+
import "./deliver-0ThKlzQo.js";
|
|
18
18
|
import "./diagnostic-DzmNBZt3.js";
|
|
19
19
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
20
20
|
import "./accounts-sr0G5UOe.js";
|
|
@@ -22,10 +22,10 @@ import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocatio
|
|
|
22
22
|
import "./image-ops-BfqdVNxh.js";
|
|
23
23
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
24
24
|
import "./message-channel-DNOtJsL1.js";
|
|
25
|
-
import { Ct as resolveGroupSessionKey, H as loadSessionStore, K as updateLastRoute, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
25
|
+
import { Ct as resolveGroupSessionKey, H as loadSessionStore, K as updateLastRoute, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-B0Kht0I2.js";
|
|
26
26
|
import { n as loadConfig } from "./config-KL7847B1.js";
|
|
27
27
|
import "./manifest-registry-sze5OW-s.js";
|
|
28
|
-
import "./chrome-
|
|
28
|
+
import "./chrome-CZuniMYN.js";
|
|
29
29
|
import "./skills-DGNBryo1.js";
|
|
30
30
|
import "./redact-1NGYV_8p.js";
|
|
31
31
|
import "./errors-CPfngF0S.js";
|
|
@@ -35,7 +35,7 @@ import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy
|
|
|
35
35
|
import "./accounts-DAZL5b5o.js";
|
|
36
36
|
import { s as resolveStorePath } from "./paths-5iQF9bSz.js";
|
|
37
37
|
import "./tool-images-TQiVqsOc.js";
|
|
38
|
-
import "./image
|
|
38
|
+
import "./image-88q3KE-C.js";
|
|
39
39
|
import "./manager-CsXJuzK4.js";
|
|
40
40
|
import "./gemini-auth-BF6ZCNOV.js";
|
|
41
41
|
import "./sqlite-CmTvWxxq.js";
|
|
@@ -49,7 +49,7 @@ import "./render-B1VqYyvo.js";
|
|
|
49
49
|
import "./commands-registry-DEXQtgBS.js";
|
|
50
50
|
import "./skill-commands-CGvIAIiQ.js";
|
|
51
51
|
import { t as finalizeInboundContext } from "./inbound-context-QOi5vzUt.js";
|
|
52
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
52
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-a43IsYad.js";
|
|
53
53
|
import "./fetch-BMa0enEg.js";
|
|
54
54
|
import { n as recordChannelActivity } from "./channel-activity-7fb2OxTV.js";
|
|
55
55
|
import { t as convertMarkdownTables } from "./tables-Ds9lRo34.js";
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import "./paths-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
2
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./tokens-
|
|
8
|
-
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./pi-embedded-
|
|
9
|
-
import "./plugins-
|
|
10
|
-
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
+
import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-wimgwqAA.js";
|
|
4
|
+
import "./agent-scope-DiO1KimT.js";
|
|
5
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
6
|
+
import "./workspace-CH9k4Qgz.js";
|
|
7
|
+
import "./tokens-GCiqN5mi.js";
|
|
8
|
+
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./pi-embedded-BFPKtgT3.js";
|
|
9
|
+
import "./plugins-Bf_qBfZ7.js";
|
|
10
|
+
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-DQo5uGA3.js";
|
|
11
11
|
import "./boolean-B8-BqKGQ.js";
|
|
12
|
-
import { t as formatCliCommand } from "./command-format-
|
|
13
|
-
import "./bindings-
|
|
14
|
-
import "./send-
|
|
15
|
-
import "./send-
|
|
16
|
-
import "./deliver-
|
|
17
|
-
import "./diagnostic-
|
|
12
|
+
import { t as formatCliCommand } from "./command-format-CM0AxuCk.js";
|
|
13
|
+
import "./bindings-CEJk9Gww.js";
|
|
14
|
+
import "./send-CMeyW_Bu.js";
|
|
15
|
+
import "./send-DrfA4RxA.js";
|
|
16
|
+
import "./deliver-CrJoiqws.js";
|
|
17
|
+
import "./diagnostic-DTfVTKJM.js";
|
|
18
18
|
import "./diagnostic-session-state-Bxo4UHOL.js";
|
|
19
|
-
import "./accounts-
|
|
20
|
-
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-
|
|
21
|
-
import "./image-ops-
|
|
22
|
-
import "./model-auth-
|
|
23
|
-
import "./github-copilot-token-
|
|
19
|
+
import "./accounts-CJEDkyd7.js";
|
|
20
|
+
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-CdIaqNP6.js";
|
|
21
|
+
import "./image-ops-D-bh1BTN.js";
|
|
22
|
+
import "./model-auth-C-Vzzybi.js";
|
|
23
|
+
import "./github-copilot-token-DAycnoAs.js";
|
|
24
24
|
import "./pi-model-discovery-DaNAekda.js";
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
27
|
-
import { n as loadConfig } from "./config-
|
|
28
|
-
import "./manifest-registry-
|
|
29
|
-
import "./chrome-
|
|
30
|
-
import "./frontmatter-
|
|
31
|
-
import "./skills-
|
|
25
|
+
import "./message-channel-BckS8bQ9.js";
|
|
26
|
+
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-eDaF2UhI.js";
|
|
27
|
+
import { n as loadConfig } from "./config-7ClJ9IDt.js";
|
|
28
|
+
import "./manifest-registry-D31TP66o.js";
|
|
29
|
+
import "./chrome-B3ZZfPkj.js";
|
|
30
|
+
import "./frontmatter-Dab6NVCF.js";
|
|
31
|
+
import "./skills-C8xf0p1B.js";
|
|
32
32
|
import "./redact-jSxx6Ep2.js";
|
|
33
33
|
import "./errors-BoQgnc8X.js";
|
|
34
34
|
import "./ssrf-BTMDZjHT.js";
|
|
35
|
-
import { r as saveMediaBuffer } from "./store-
|
|
36
|
-
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import { s as resolveStorePath } from "./paths-
|
|
39
|
-
import "./tool-images-
|
|
40
|
-
import "./image-
|
|
41
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
42
|
-
import "./manager-
|
|
43
|
-
import "./gemini-auth-
|
|
44
|
-
import "./sqlite-
|
|
45
|
-
import "./retry-
|
|
46
|
-
import "./target-errors-
|
|
47
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
48
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
49
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
50
|
-
import { a as loadWebMedia } from "./ir-
|
|
35
|
+
import { r as saveMediaBuffer } from "./store-VFVAfYgh.js";
|
|
36
|
+
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-BZFf1juV.js";
|
|
37
|
+
import "./accounts-CaJg9v7D.js";
|
|
38
|
+
import { s as resolveStorePath } from "./paths-Cv2Q0cX2.js";
|
|
39
|
+
import "./tool-images-D0sBSASn.js";
|
|
40
|
+
import "./image-2bonNMVD.js";
|
|
41
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-B_1VtLm5.js";
|
|
42
|
+
import "./manager-C6KdjXEH.js";
|
|
43
|
+
import "./gemini-auth-CnEqRhSo.js";
|
|
44
|
+
import "./sqlite-B6SD9PTM.js";
|
|
45
|
+
import "./retry-DwLEH9x4.js";
|
|
46
|
+
import "./target-errors-DD2466Y6.js";
|
|
47
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BkGjWi6P.js";
|
|
48
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BOmw5zkp.js";
|
|
49
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-Dx32AY60.js";
|
|
50
|
+
import { a as loadWebMedia } from "./ir-j1Xb0PNv.js";
|
|
51
51
|
import "./render-CDCvpfhh.js";
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
52
|
+
import "./commands-registry-C0QzohKU.js";
|
|
53
|
+
import "./skill-commands-CwFNOYqC.js";
|
|
54
54
|
import { t as finalizeInboundContext } from "./inbound-context-BlHX0H3E.js";
|
|
55
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
55
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-BeO6HoPY.js";
|
|
56
56
|
import "./fetch-DtI0mtzx.js";
|
|
57
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
58
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
59
|
-
import "./send-
|
|
60
|
-
import "./outbound-attachment-
|
|
61
|
-
import "./send-
|
|
62
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
57
|
+
import { n as recordChannelActivity } from "./channel-activity-pOw1s-fe.js";
|
|
58
|
+
import { t as convertMarkdownTables } from "./tables-QNO5uMcm.js";
|
|
59
|
+
import "./send-BCt1G0xY.js";
|
|
60
|
+
import "./outbound-attachment-CHLSsIj_.js";
|
|
61
|
+
import "./send-CEP4RX_l.js";
|
|
62
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-CSE9DZsB.js";
|
|
63
63
|
import "./proxy-CBJ1upuz.js";
|
|
64
|
-
import "./replies-
|
|
65
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
66
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
67
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
68
|
-
import { t as loginWeb } from "./login-
|
|
64
|
+
import "./replies-DuQ9MtQM.js";
|
|
65
|
+
import { r as setActiveWebListener } from "./active-listener-Bhmh-BBe.js";
|
|
66
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-Bk0PGZ1q.js";
|
|
67
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CQ9JJgSo.js";
|
|
68
|
+
import { t as loginWeb } from "./login-CLQskGt7.js";
|
|
69
69
|
import { randomUUID } from "node:crypto";
|
|
70
70
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
71
71
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
7
|
-
import { t as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import "./registry-wimgwqAA.js";
|
|
3
|
+
import "./agent-scope-DiO1KimT.js";
|
|
4
|
+
import "./subsystem-BEdh_1O5.js";
|
|
5
|
+
import "./workspace-CH9k4Qgz.js";
|
|
6
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-Bf_qBfZ7.js";
|
|
7
|
+
import { t as resolveWhatsAppAccount } from "./accounts-DQo5uGA3.js";
|
|
8
8
|
import "./boolean-B8-BqKGQ.js";
|
|
9
|
-
import "./command-format-
|
|
10
|
-
import "./bindings-
|
|
11
|
-
import "./image-ops-
|
|
12
|
-
import "./model-auth-
|
|
13
|
-
import "./github-copilot-token-
|
|
14
|
-
import "./message-channel-
|
|
15
|
-
import "./config-
|
|
16
|
-
import "./manifest-registry-
|
|
9
|
+
import "./command-format-CM0AxuCk.js";
|
|
10
|
+
import "./bindings-CEJk9Gww.js";
|
|
11
|
+
import "./image-ops-D-bh1BTN.js";
|
|
12
|
+
import "./model-auth-C-Vzzybi.js";
|
|
13
|
+
import "./github-copilot-token-DAycnoAs.js";
|
|
14
|
+
import "./message-channel-BckS8bQ9.js";
|
|
15
|
+
import "./config-7ClJ9IDt.js";
|
|
16
|
+
import "./manifest-registry-D31TP66o.js";
|
|
17
17
|
import "./ssrf-BTMDZjHT.js";
|
|
18
|
-
import "./tool-images-
|
|
19
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./markdown-tables-
|
|
22
|
-
import "./local-roots-
|
|
23
|
-
import "./ir-
|
|
18
|
+
import "./tool-images-D0sBSASn.js";
|
|
19
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-DD2466Y6.js";
|
|
20
|
+
import "./chunk-BkGjWi6P.js";
|
|
21
|
+
import "./markdown-tables-BOmw5zkp.js";
|
|
22
|
+
import "./local-roots-Dx32AY60.js";
|
|
23
|
+
import "./ir-j1Xb0PNv.js";
|
|
24
24
|
import "./render-CDCvpfhh.js";
|
|
25
|
-
import "./tables-
|
|
26
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
+
import "./tables-QNO5uMcm.js";
|
|
26
|
+
import { r as sendReactionWhatsApp } from "./outbound-Bk0PGZ1q.js";
|
|
27
27
|
|
|
28
28
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
29
29
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { u as resolveRequiredHomeDir } from "./paths-CkkDESQ2.js";
|
|
2
2
|
import { _ as isCronSessionKey, v as isSubagentSessionKey } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { $ as warn, G as danger, I as resolveUserPath, K as info, N as pathExists, Y as logVerboseConsole, Z as shouldLogVerbose, it as getLogger } from "./registry-
|
|
4
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { $ as warn, G as danger, I as resolveUserPath, K as info, N as pathExists, Y as logVerboseConsole, Z as shouldLogVerbose, it as getLogger } from "./registry-wimgwqAA.js";
|
|
4
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fsSync from "node:fs";
|
|
9
9
|
import { execFile, spawn } from "node:child_process";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -289,7 +289,7 @@ async function readPackageName(dir) {
|
|
|
289
289
|
}
|
|
290
290
|
function readPackageNameSync(dir) {
|
|
291
291
|
try {
|
|
292
|
-
const raw =
|
|
292
|
+
const raw = fsSync.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
293
293
|
const parsed = JSON.parse(raw);
|
|
294
294
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
295
295
|
} catch {
|
|
@@ -323,7 +323,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
323
323
|
const normalized = path.resolve(argv1);
|
|
324
324
|
const candidates = [path.dirname(normalized)];
|
|
325
325
|
try {
|
|
326
|
-
const resolved =
|
|
326
|
+
const resolved = fsSync.realpathSync(normalized);
|
|
327
327
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
328
328
|
} catch {}
|
|
329
329
|
const parts = normalized.split(path.sep);
|
|
@@ -48,38 +48,7 @@ function buildGenericTools() {
|
|
|
48
48
|
},
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
name: "web_search",
|
|
53
|
-
description:
|
|
54
|
-
"Search the web for current information. Use for news, events, weather, or factual lookups.",
|
|
55
|
-
parameters: z.object({
|
|
56
|
-
query: z.string().describe("Search query"),
|
|
57
|
-
}),
|
|
58
|
-
execute: async ({ query }) => {
|
|
59
|
-
const apiKey = process.env.BRAVE_SEARCH_API_KEY || process.env.BRAVE_API_KEY || "";
|
|
60
|
-
if (!apiKey) {
|
|
61
|
-
return "Web search not configured (no API key)";
|
|
62
|
-
}
|
|
63
|
-
const url = `https://api.search.brave.com/res/v1/web/search?q=${encodeURIComponent(query)}&count=5`;
|
|
64
|
-
try {
|
|
65
|
-
const res = await fetch(url, {
|
|
66
|
-
headers: { "X-Subscription-Token": apiKey, Accept: "application/json" },
|
|
67
|
-
});
|
|
68
|
-
const data = (await res.json()) as {
|
|
69
|
-
web?: { results?: Array<{ title?: string; description?: string }> };
|
|
70
|
-
};
|
|
71
|
-
const results = (data.web?.results || [])
|
|
72
|
-
.slice(0, 5)
|
|
73
|
-
.map((r) => `${r.title}: ${r.description}`)
|
|
74
|
-
.join("\n");
|
|
75
|
-
return backgroundResult(results || "No results found");
|
|
76
|
-
} catch (err) {
|
|
77
|
-
return `Search error: ${err instanceof Error ? err.message : String(err)}`;
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
return [exec, webSearch];
|
|
51
|
+
return [exec];
|
|
83
52
|
}
|
|
84
53
|
|
|
85
54
|
export type RealtimeCallSession = {
|
package/package.json
CHANGED