openclaw-multi-auto 1.6.2 → 1.6.5
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/{audio-preflight-DoPfNXDz.js → audio-preflight-DpxQCpsA.js} +4 -4
- package/dist/{audio-transcription-runner-CzjuH3uL.js → audio-transcription-runner-28fcRNNi.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-DlhJHqj8.js → chrome-DwizpzOC.js} +8 -8
- package/dist/{deliver-CApVJA_l.js → deliver-D4o6VIur.js} +1 -1
- package/dist/{deliver-runtime-D1z-h5eg.js → deliver-runtime-P-G3bPjW.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-Dz_4fi2D.js → deps-send-whatsapp.runtime-CJkTHkah.js} +7 -7
- package/dist/{image-B3Mz7N5I.js → image-Bbn53mzj.js} +1 -1
- package/dist/{image-runtime-DWjhow2W.js → image-runtime-CVv2ra9J.js} +3 -3
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{pi-embedded-bcjMe3wj.js → pi-embedded-BaGj07T0.js} +24 -24
- package/dist/{pi-embedded-helpers-D5yyGEvA.js → pi-embedded-helpers-wy0DZvx1.js} +3 -3
- package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
- package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
- package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-B_sLJTXM.js → active-listener-CkPnMUkB.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BXnNsojA.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
- package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
- package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
- package/dist/plugin-sdk/compat.js +50 -50
- package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
- package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
- package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{errors-CtMWwS2Z.js → errors-B3cHyZZA.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
- package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
- package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
- package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
- package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
- package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
- package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
- package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
- package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
- package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-sWayacde.js} +1 -1
- package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
- package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Ch95c_Y2.js → proxy-fetch-uDXGKG3Z.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
- package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
- package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
- package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
- package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
- package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
- package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
- package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
- package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
- package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
- package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
- package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
- package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
- package/dist/plugin-sdk/{tokens-DgNRBwIg.js → tokens-BDr0Z9o3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-Gk_-0y2N.js → tool-images-eEfOVkzf.js} +2 -2
- package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{pw-ai-CDQDCfUa.js → pw-ai-Cl1Lc7RC.js} +1 -1
- package/dist/{slash-dispatch.runtime-CWbpp23S.js → slash-dispatch.runtime-DoBAQBU5.js} +6 -6
- package/dist/{subagent-registry-runtime-DEVpAaAP.js → subagent-registry-runtime-ppWS3tVu.js} +6 -6
- package/dist/{web-NWKn8ABz.js → web-CzWRVmFt.js} +6 -6
- package/package.json +1 -1
- package/scripts/create-instance.sh +11 -13
- package/dist/plugin-sdk/accounts-CJWOBzwB.js +0 -35
- package/dist/plugin-sdk/accounts-DP1-L-QS.js +0 -288
- package/dist/plugin-sdk/accounts-DZhWlEg3.js +0 -46
- package/dist/plugin-sdk/active-listener-CftX5jLD.js +0 -50
- package/dist/plugin-sdk/api-key-rotation-BRE4X2tf.js +0 -181
- package/dist/plugin-sdk/audio-preflight-DGEUDxxR.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-DkoPNPYt.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-DSBHHw7o.js +0 -58
- package/dist/plugin-sdk/channel-activity-F3d0yUwy.js +0 -94
- package/dist/plugin-sdk/channel-web-QF7EpjeP.js +0 -2256
- package/dist/plugin-sdk/chrome-BXoCyCkY.js +0 -2415
- package/dist/plugin-sdk/commands-registry-t7cXBTfN.js +0 -1125
- package/dist/plugin-sdk/config-BkEnz2Po.js +0 -17913
- package/dist/plugin-sdk/deliver-B6AG_l67.js +0 -1694
- package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
- package/dist/plugin-sdk/deliver-runtime-D585kJZc.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
- package/dist/plugin-sdk/deps-send-discord.runtime-a_OKY2js.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-Baxy9TD4.js +0 -22
- package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
- package/dist/plugin-sdk/deps-send-signal.runtime-BwXoCrFl.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
- package/dist/plugin-sdk/deps-send-slack.runtime-CLmKjgso.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-BKfdBKnZ.js +0 -24
- package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BOTwkbx_.js +0 -57
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
- package/dist/plugin-sdk/diagnostic-CsP-lEkI.js +0 -319
- package/dist/plugin-sdk/errors-DaiAM-yU.js +0 -54
- package/dist/plugin-sdk/fetch-guard-DETCcJzQ.js +0 -156
- package/dist/plugin-sdk/fs-safe-B8y811FR.js +0 -352
- package/dist/plugin-sdk/image-DjTEkYZE.js +0 -2310
- package/dist/plugin-sdk/image-ops-BSiMpAw4.js +0 -584
- package/dist/plugin-sdk/image-runtime-6xPp8m5a.js +0 -25
- package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
- package/dist/plugin-sdk/ir-DQ7_HbvK.js +0 -1296
- package/dist/plugin-sdk/local-roots-BUP4YBmR.js +0 -186
- package/dist/plugin-sdk/logger-CZY9KIoY.js +0 -1163
- package/dist/plugin-sdk/login-BxEKLlCo.js +0 -57
- package/dist/plugin-sdk/login-qr-BQIpMPr9.js +0 -320
- package/dist/plugin-sdk/manager-I6KbPihW.js +0 -3917
- package/dist/plugin-sdk/manager-runtime-CFfYYWIQ.js +0 -15
- package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
- package/dist/plugin-sdk/outbound-NS6UHnB6.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-Dy6fyf6H.js +0 -19
- package/dist/plugin-sdk/path-alias-guards-DBjLbIX_.js +0 -43
- package/dist/plugin-sdk/paths-vTM3Lh3X.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-1R1gu7eX.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
- package/dist/plugin-sdk/pi-model-discovery-runtime-Do9o-dUd.js +0 -8
- package/dist/plugin-sdk/pi-model-discovery-v-XPUOOf.js +0 -134
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-D4sFsIks.js +0 -354
- package/dist/plugin-sdk/plugins-DeBZB9l_.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-ChxOhWF4.js +0 -38
- package/dist/plugin-sdk/pw-ai-DEOmCSSC.js +0 -1938
- package/dist/plugin-sdk/qmd-manager-HyYKoEch.js +0 -1448
- package/dist/plugin-sdk/query-expansion-CeyKUeDW.js +0 -1011
- package/dist/plugin-sdk/redact-DjVX-1N3.js +0 -319
- package/dist/plugin-sdk/reply-DAo_Jt8K.js +0 -97916
- package/dist/plugin-sdk/resolve-outbound-target-B42qgQS9.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-Bt_ks0Qa.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6W989eF.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-c_GDFy37.js +0 -19
- package/dist/plugin-sdk/send-CQpMudwO.js +0 -2587
- package/dist/plugin-sdk/send-DQHLzVyO.js +0 -414
- package/dist/plugin-sdk/send-DTB24bEF.js +0 -3135
- package/dist/plugin-sdk/send-DfHadjZ_.js +0 -503
- package/dist/plugin-sdk/send-XXlW2iny.js +0 -540
- package/dist/plugin-sdk/session-6TF6MyaC.js +0 -169
- package/dist/plugin-sdk/skill-commands-CkGeFUMl.js +0 -342
- package/dist/plugin-sdk/skills-CBkHBYPq.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-CxliuGaP.js +0 -13
- package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
- package/dist/plugin-sdk/slash-dispatch.runtime-DFaeYlJQ.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-0M0OLCxq.js +0 -16
- package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
- package/dist/plugin-sdk/ssrf-cFtplYtS.js +0 -202
- package/dist/plugin-sdk/store-5nyxY3WU.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
- package/dist/plugin-sdk/subagent-registry-runtime-DCtmDwna.js +0 -52
- package/dist/plugin-sdk/tables-C47P4GTN.js +0 -55
- package/dist/plugin-sdk/target-errors-Blia4S69.js +0 -195
- package/dist/plugin-sdk/thinking-Bo2eosVa.js +0 -1206
- package/dist/plugin-sdk/tokens-B1PW5Ayy.js +0 -52
- package/dist/plugin-sdk/tool-images-xpqbP6RR.js +0 -274
- package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
- package/dist/plugin-sdk/web-CVxZbXyH.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-Bw0H9g-n.js +0 -80
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import "./logger-CvPFVOgT.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-CNCCkdEF.js";
|
|
6
|
+
import "./plugins-C4USiH29.js";
|
|
7
|
+
import "./thinking-DOnsR_A8.js";
|
|
8
|
+
import "./accounts-BslAlVYS.js";
|
|
9
|
+
import "./send-C0w6xP2x.js";
|
|
10
|
+
import "./common-oYc5vPFl.js";
|
|
11
|
+
import "./reply-CTCSeQqW.js";
|
|
12
|
+
import "./image-ops-Cbzr4U9l.js";
|
|
13
|
+
import "./pi-embedded-helpers-DIxXkGJf.js";
|
|
14
|
+
import "./accounts-C3m65--E.js";
|
|
15
|
+
import "./send-CFf-1V89.js";
|
|
16
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
17
|
+
import "./paths-Dpg3qxcl.js";
|
|
18
|
+
import "./send-qPyNGSe4.js";
|
|
19
|
+
import "./channel-web-dO5k3ubM.js";
|
|
20
|
+
import "./tokens-BDr0Z9o3.js";
|
|
21
|
+
import "./audio-transcription-runner-DnxvOS1-.js";
|
|
22
|
+
import "./image-B2mQW9Rb.js";
|
|
23
|
+
import "./chrome-CjNTuJML.js";
|
|
24
|
+
import "./skills-Cw_vXEJb.js";
|
|
25
|
+
import "./path-alias-guards-sWayacde.js";
|
|
26
|
+
import "./redact-Bvxt1T_Q.js";
|
|
27
|
+
import "./errors-B3cHyZZA.js";
|
|
28
|
+
import "./fs-safe-BaKqI3G4.js";
|
|
29
|
+
import "./proxy-env-ET-rp8eg.js";
|
|
30
|
+
import "./store-CMHj6IIw.js";
|
|
31
|
+
import "./tool-images-eEfOVkzf.js";
|
|
32
|
+
import "./fetch-guard-Dcgod0tg.js";
|
|
33
|
+
import "./api-key-rotation-BXnNsojA.js";
|
|
34
|
+
import "./local-roots-CIPRxA-4.js";
|
|
35
|
+
import "./proxy-fetch-uDXGKG3Z.js";
|
|
36
|
+
import "./deliver-D5_6T567.js";
|
|
37
|
+
import "./commands-registry-CdYjoI0i.js";
|
|
38
|
+
import "./skill-commands-DZqhtmiv.js";
|
|
39
|
+
import "./fetch-O45GieZo.js";
|
|
40
|
+
import "./diagnostic-Bxxu0ig-.js";
|
|
41
|
+
import "./pi-model-discovery-DM_2uFtj.js";
|
|
42
|
+
import "./ir-ZEmrTr4J.js";
|
|
43
|
+
import "./render-95l30zcf.js";
|
|
44
|
+
import "./send-BZ6nYFZr.js";
|
|
45
|
+
import "./outbound-attachment-BzVhxRRw.js";
|
|
46
|
+
import "./send-CY-Qfwia.js";
|
|
47
|
+
import "./channel-activity-WJYxcJ3S.js";
|
|
48
|
+
import "./tables-CSqrHsKL.js";
|
|
49
|
+
import "./proxy-BOZmkV9K.js";
|
|
50
|
+
import "./manager-BEoYPn7R.js";
|
|
51
|
+
import "./query-expansion-C6uS-7lj.js";
|
|
52
|
+
import { t as sendMessageWhatsApp } from "./outbound-ByOw1K6W.js";
|
|
53
|
+
import "./session-COrvpvUQ.js";
|
|
54
|
+
import "./login-CCTew9bt.js";
|
|
55
|
+
import "./web-BLyT64pW.js";
|
|
56
|
+
|
|
57
|
+
export { sendMessageWhatsApp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
1
|
+
import { n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-CvPFVOgT.js";
|
|
3
3
|
|
|
4
4
|
//#region src/logging/diagnostic-session-state.ts
|
|
5
5
|
const diagnosticSessionStates = /* @__PURE__ */ new Map();
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs, { constants } from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { execFile, execFileSync, spawn } from "node:child_process";
|
|
@@ -802,7 +802,7 @@ function readLoggingConfig() {
|
|
|
802
802
|
try {
|
|
803
803
|
if (!fs.existsSync(configPath)) return;
|
|
804
804
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
805
|
-
const logging =
|
|
805
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
806
806
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
807
807
|
return logging;
|
|
808
808
|
} catch {
|
|
@@ -5861,7 +5861,7 @@ const defaultResolver = {
|
|
|
5861
5861
|
resolvedPath,
|
|
5862
5862
|
rootRealDir
|
|
5863
5863
|
}),
|
|
5864
|
-
parseJson: (raw) =>
|
|
5864
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
5865
5865
|
};
|
|
5866
5866
|
/**
|
|
5867
5867
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -13216,7 +13216,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
13216
13216
|
function normalizeDeps(overrides = {}) {
|
|
13217
13217
|
return {
|
|
13218
13218
|
fs: overrides.fs ?? fs,
|
|
13219
|
-
json5: overrides.json5 ??
|
|
13219
|
+
json5: overrides.json5 ?? JSON5,
|
|
13220
13220
|
env: overrides.env ?? process.env,
|
|
13221
13221
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
13222
13222
|
configPath: overrides.configPath ?? "",
|
|
@@ -13227,11 +13227,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
13227
13227
|
if (env !== process.env) return;
|
|
13228
13228
|
loadDotEnv({ quiet: true });
|
|
13229
13229
|
}
|
|
13230
|
-
function parseConfigJson5(raw, json5
|
|
13230
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
13231
13231
|
try {
|
|
13232
13232
|
return {
|
|
13233
13233
|
ok: true,
|
|
13234
|
-
parsed: json5
|
|
13234
|
+
parsed: json5.parse(raw)
|
|
13235
13235
|
};
|
|
13236
13236
|
} catch (err) {
|
|
13237
13237
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
2
|
-
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { i as logWarn } from "./logger-CvPFVOgT.js";
|
|
2
|
+
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-ET-rp8eg.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-CR10Uz2k.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as isSymlinkOpenError, L as hasNodeErrorCode, N as sameFileIdentity, R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { i as logWarn } from "./logger-
|
|
1
|
+
import { B as isSymlinkOpenError, L as hasNodeErrorCode, N as sameFileIdentity, R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { i as logWarn } from "./logger-CvPFVOgT.js";
|
|
3
3
|
import { l as expandHomePrefix } from "./paths-0d8fBoC4.js";
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-sWayacde.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { constants } from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-
|
|
2
|
-
import { $t as resolveImplicitProviders, Fn as resolveOpenClawAgentDir, Hn as normalizeSecretInput, Mt as applyConfigEnvVars, Qt as resolveImplicitCopilotProvider, Xt as normalizeProviders, Zt as resolveImplicitBedrockProvider, cn as getApiKeyForModel, n as loadConfig, un as requireApiKey } from "./config-
|
|
3
|
-
import { f as isRecord, x as shortenHomeInString } from "./logger-
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { $t as resolveImplicitProviders, Fn as resolveOpenClawAgentDir, Hn as normalizeSecretInput, Mt as applyConfigEnvVars, Qt as resolveImplicitCopilotProvider, Xt as normalizeProviders, Zt as resolveImplicitBedrockProvider, cn as getApiKeyForModel, n as loadConfig, un as requireApiKey } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { f as isRecord, x as shortenHomeInString } from "./logger-CvPFVOgT.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-DIxXkGJf.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-Bvxt1T_Q.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -2254,7 +2254,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
2254
2254
|
//#region src/media-understanding/providers/image.ts
|
|
2255
2255
|
let piModelDiscoveryRuntimePromise = null;
|
|
2256
2256
|
function loadPiModelDiscoveryRuntime() {
|
|
2257
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-
|
|
2257
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-BuzvkvNR.js");
|
|
2258
2258
|
return piModelDiscoveryRuntimePromise;
|
|
2259
2259
|
}
|
|
2260
2260
|
async function describeImageWithModel(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as runExec } from "./run-with-concurrency-
|
|
2
|
-
import { dr as getActivePluginRegistry, ir as CHANNEL_IDS, ur as normalizeChatChannelId } from "./config-
|
|
1
|
+
import { O as runExec } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { dr as getActivePluginRegistry, ir as CHANNEL_IDS, ur as normalizeChatChannelId } from "./config-B1z-UxQ3.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import "./logger-CvPFVOgT.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-CNCCkdEF.js";
|
|
6
|
+
import "./plugins-C4USiH29.js";
|
|
7
|
+
import "./thinking-DOnsR_A8.js";
|
|
8
|
+
import "./accounts-BslAlVYS.js";
|
|
9
|
+
import "./image-ops-Cbzr4U9l.js";
|
|
10
|
+
import "./pi-embedded-helpers-DIxXkGJf.js";
|
|
11
|
+
import "./accounts-C3m65--E.js";
|
|
12
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
13
|
+
import "./paths-Dpg3qxcl.js";
|
|
14
|
+
import { t as describeImageWithModel } from "./image-B2mQW9Rb.js";
|
|
15
|
+
import "./chrome-CjNTuJML.js";
|
|
16
|
+
import "./skills-Cw_vXEJb.js";
|
|
17
|
+
import "./path-alias-guards-sWayacde.js";
|
|
18
|
+
import "./redact-Bvxt1T_Q.js";
|
|
19
|
+
import "./errors-B3cHyZZA.js";
|
|
20
|
+
import "./fs-safe-BaKqI3G4.js";
|
|
21
|
+
import "./proxy-env-ET-rp8eg.js";
|
|
22
|
+
import "./store-CMHj6IIw.js";
|
|
23
|
+
import "./tool-images-eEfOVkzf.js";
|
|
24
|
+
|
|
25
|
+
export { describeImageWithModel };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { L as logVerbose, y as resolveUserPath, z as shouldLogVerbose } from "./logger-
|
|
3
|
-
import { v as resolveAccountEntry } from "./accounts-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
5
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-
|
|
6
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
7
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { L as logVerbose, y as resolveUserPath, z as shouldLogVerbose } from "./logger-CvPFVOgT.js";
|
|
3
|
+
import { v as resolveAccountEntry } from "./accounts-CNCCkdEF.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-C4USiH29.js";
|
|
5
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-Cbzr4U9l.js";
|
|
6
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-BaKqI3G4.js";
|
|
7
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-CIPRxA-4.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-
|
|
2
|
-
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-CvPFVOgT.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-0d8fBoC4.js";
|
|
4
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
4
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-Cbzr4U9l.js";
|
|
5
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dcgod0tg.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/media/read-response-with-limit.ts
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import json5 from "json5";
|
|
8
8
|
import util from "node:util";
|
|
9
9
|
|
|
10
10
|
//#region src/infra/cli-root-options.ts
|
|
@@ -157,7 +157,7 @@ function readLoggingConfig() {
|
|
|
157
157
|
try {
|
|
158
158
|
if (!fs.existsSync(configPath)) return;
|
|
159
159
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
160
|
-
const logging =
|
|
160
|
+
const logging = json5.parse(raw)?.logging;
|
|
161
161
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
162
162
|
return logging;
|
|
163
163
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Tr as formatCliCommand, n as loadConfig } from "./config-
|
|
2
|
-
import { B as success, F as danger, I as info, j as defaultRuntime, r as logInfo } from "./logger-
|
|
3
|
-
import { i as resolveWhatsAppAccount, l as logoutWeb } from "./accounts-
|
|
4
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
1
|
+
import { Tr as formatCliCommand, n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { B as success, F as danger, I as info, j as defaultRuntime, r as logInfo } from "./logger-CvPFVOgT.js";
|
|
3
|
+
import { i as resolveWhatsAppAccount, l as logoutWeb } from "./accounts-CNCCkdEF.js";
|
|
4
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-COrvpvUQ.js";
|
|
5
5
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
6
6
|
|
|
7
7
|
//#region src/web/login.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { B as success, F as danger, I as info, j as defaultRuntime, r as logInfo } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { B as success, F as danger, I as info, j as defaultRuntime, r as logInfo } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import "./paths-0d8fBoC4.js";
|
|
5
|
-
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-
|
|
5
|
+
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-CNCCkdEF.js";
|
|
6
6
|
import "./github-copilot-token-CKKBybuX.js";
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-COrvpvUQ.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { Qn as isTruthyEnvValue, Vn as normalizeOptionalSecretInput, dn as resolveApiKeyForProvider, fn as resolveEnvApiKey, nr as normalizeResolvedSecretInputString, tn as retryAsync, un as requireApiKey } from "./config-
|
|
3
|
-
import { E as truncateUtf16Safe, O as createSubsystemLogger, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { Qn as isTruthyEnvValue, Vn as normalizeOptionalSecretInput, dn as resolveApiKeyForProvider, fn as resolveEnvApiKey, nr as normalizeResolvedSecretInputString, tn as retryAsync, un as requireApiKey } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { E as truncateUtf16Safe, O as createSubsystemLogger, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import { c as resolveStateDir } from "./paths-0d8fBoC4.js";
|
|
5
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
5
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Dpg3qxcl.js";
|
|
6
6
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
7
|
-
import { r as formatErrorMessage } from "./errors-
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
7
|
+
import { r as formatErrorMessage } from "./errors-B3cHyZZA.js";
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Dcgod0tg.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BXnNsojA.js";
|
|
10
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-C6uS-7lj.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os from "node:os";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import "./logger-CvPFVOgT.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
6
|
+
import "./paths-Dpg3qxcl.js";
|
|
7
|
+
import "./redact-Bvxt1T_Q.js";
|
|
8
|
+
import "./errors-B3cHyZZA.js";
|
|
9
|
+
import "./proxy-env-ET-rp8eg.js";
|
|
10
|
+
import "./fetch-guard-Dcgod0tg.js";
|
|
11
|
+
import "./api-key-rotation-BXnNsojA.js";
|
|
12
|
+
import { t as MemoryIndexManager } from "./manager-BEoYPn7R.js";
|
|
13
|
+
import "./query-expansion-C6uS-7lj.js";
|
|
14
|
+
|
|
15
|
+
export { MemoryIndexManager };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { G as getChildLogger, O as createSubsystemLogger, T as toWhatsappJid, u as escapeRegExp } from "./logger-
|
|
1
|
+
import { n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { G as getChildLogger, O as createSubsystemLogger, T as toWhatsappJid, u as escapeRegExp } from "./logger-CvPFVOgT.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
|
|
4
|
-
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-
|
|
4
|
+
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-ZEmrTr4J.js";
|
|
5
5
|
import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-CSqrHsKL.js";
|
|
7
|
+
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-CkPnMUkB.js";
|
|
8
8
|
|
|
9
9
|
//#region src/markdown/whatsapp.ts
|
|
10
10
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { i as saveMediaBuffer } from "./store-CMHj6IIw.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-ZEmrTr4J.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as resolveBoundaryPath, P as BOUNDARY_PATH_ALIAS_POLICIES, R as isNotFoundPathError } from "./run-with-concurrency-
|
|
1
|
+
import { F as resolveBoundaryPath, P as BOUNDARY_PATH_ALIAS_POLICIES, R as isNotFoundPathError } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, K as DEFAULT_AGENT_ID } from "./run-with-concurrency-
|
|
1
|
+
import { $ as normalizeAgentId, K as DEFAULT_AGENT_ID } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
2
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-0d8fBoC4.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, I as resolvePathViaExistingAncestorSync, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, O as runExec, S as ensureAgentWorkspace, _ as DEFAULT_HEARTBEAT_FILENAME, b as DEFAULT_TOOLS_FILENAME, et as normalizeMainKey, f as resolveSessionAgentId, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentConfig, j as openBoundaryFile, m as DEFAULT_AGENTS_FILENAME, st as normalizeOptionalAccountId, tt as resolveAgentIdFromSessionKey, v as DEFAULT_IDENTITY_FILENAME, x as DEFAULT_USER_FILENAME, y as DEFAULT_SOUL_FILENAME } from "./run-with-concurrency-
|
|
2
|
-
import { $n as parseBooleanValue, Cn as resolveSecretRefValues, Ln as resolveProcessScopedMap, On as secretRefKey, Rn as getProcessStartTime, Tr as formatCliCommand, b as parseDurationMs, ir as CHANNEL_IDS, n as loadConfig, o as writeConfigFile, rr as resolveSecretInputRef, t as createConfigIO, x as parseByteSize, y as getBlockedNetworkModeReason, zn as isPidAlive } from "./config-
|
|
3
|
-
import { E as truncateUtf16Safe, O as createSubsystemLogger, h as normalizeE164, j as defaultRuntime, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { $ as normalizeAgentId, I as resolvePathViaExistingAncestorSync, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, O as runExec, S as ensureAgentWorkspace, _ as DEFAULT_HEARTBEAT_FILENAME, b as DEFAULT_TOOLS_FILENAME, et as normalizeMainKey, f as resolveSessionAgentId, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentConfig, j as openBoundaryFile, m as DEFAULT_AGENTS_FILENAME, st as normalizeOptionalAccountId, tt as resolveAgentIdFromSessionKey, v as DEFAULT_IDENTITY_FILENAME, x as DEFAULT_USER_FILENAME, y as DEFAULT_SOUL_FILENAME } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { $n as parseBooleanValue, Cn as resolveSecretRefValues, Ln as resolveProcessScopedMap, On as secretRefKey, Rn as getProcessStartTime, Tr as formatCliCommand, b as parseDurationMs, ir as CHANNEL_IDS, n as loadConfig, o as writeConfigFile, rr as resolveSecretInputRef, t as createConfigIO, x as parseByteSize, y as getBlockedNetworkModeReason, zn as isPidAlive } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { E as truncateUtf16Safe, O as createSubsystemLogger, h as normalizeE164, j as defaultRuntime, y as resolveUserPath } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-0d8fBoC4.js";
|
|
5
|
-
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
6
|
-
import { d as getChannelDock, o as normalizeThinkLevel, y as normalizeHyphenSlug } from "./thinking-
|
|
7
|
-
import { T as normalizeMessageChannel, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, w as listDeliverableMessageChannels } from "./image-ops-
|
|
8
|
-
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
5
|
+
import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-C4USiH29.js";
|
|
6
|
+
import { d as getChannelDock, o as normalizeThinkLevel, y as normalizeHyphenSlug } from "./thinking-DOnsR_A8.js";
|
|
7
|
+
import { T as normalizeMessageChannel, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, w as listDeliverableMessageChannels } from "./image-ops-Cbzr4U9l.js";
|
|
8
|
+
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Dpg3qxcl.js";
|
|
9
9
|
import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-DtF9ARSD.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
11
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
12
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
13
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
14
|
-
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-
|
|
15
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
16
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
11
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-CjNTuJML.js";
|
|
12
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-Cw_vXEJb.js";
|
|
13
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-sWayacde.js";
|
|
14
|
+
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-B3cHyZZA.js";
|
|
15
|
+
import { n as SsrFBlockedError } from "./proxy-env-ET-rp8eg.js";
|
|
16
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-CMHj6IIw.js";
|
|
17
17
|
import { t as generateSecureToken } from "./secure-random-D2mQUJdh.js";
|
|
18
18
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-DMbvk-PO.js";
|
|
19
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
19
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-eEfOVkzf.js";
|
|
20
20
|
import path, { posix } from "node:path";
|
|
21
21
|
import fs, { existsSync } from "node:fs";
|
|
22
22
|
import os from "node:os";
|
|
@@ -3620,7 +3620,7 @@ function isModuleNotFoundError(err) {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
async function loadPwAiModule(mode) {
|
|
3622
3622
|
try {
|
|
3623
|
-
return await import("./pw-ai-
|
|
3623
|
+
return await import("./pw-ai-CyOt3RDA.js");
|
|
3624
3624
|
} catch (err) {
|
|
3625
3625
|
if (mode === "soft") return null;
|
|
3626
3626
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -5986,7 +5986,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
5986
5986
|
//#region src/browser/server-context.reset.ts
|
|
5987
5987
|
async function closePlaywrightBrowserConnection() {
|
|
5988
5988
|
try {
|
|
5989
|
-
await (await import("./pw-ai-
|
|
5989
|
+
await (await import("./pw-ai-CyOt3RDA.js")).closePlaywrightBrowserConnection();
|
|
5990
5990
|
} catch {}
|
|
5991
5991
|
}
|
|
5992
5992
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ht as normalizeProviderId, Nn as ensureAuthProfileStore } from "./config-
|
|
2
|
+
import { Ht as normalizeProviderId, Nn as ensureAuthProfileStore } from "./config-B1z-UxQ3.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import "./logger-CvPFVOgT.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
6
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DM_2uFtj.js";
|
|
7
|
+
|
|
8
|
+
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import { D as isPlainObject, O as createSubsystemLogger } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import { D as isPlainObject, O as createSubsystemLogger } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import "./paths-0d8fBoC4.js";
|
|
5
5
|
import "./github-copilot-token-CKKBybuX.js";
|
|
6
|
-
import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-
|
|
6
|
+
import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-Bxxu0ig-.js";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, at as DEFAULT_ACCOUNT_ID, l as resolveDefaultAgentId, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Qn as isTruthyEnvValue, ar as CHAT_CHANNEL_ORDER, cr as normalizeAnyChannelId, mr as requireActivePluginRegistry, nr as normalizeResolvedSecretInputString, pr as getActivePluginRegistryVersion, ur as normalizeChatChannelId } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, h as normalizeE164 } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { $ as normalizeAgentId, at as DEFAULT_ACCOUNT_ID, l as resolveDefaultAgentId, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { Qn as isTruthyEnvValue, ar as CHAT_CHANNEL_ORDER, cr as normalizeAnyChannelId, mr as requireActivePluginRegistry, nr as normalizeResolvedSecretInputString, pr as getActivePluginRegistryVersion, ur as normalizeChatChannelId } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { O as createSubsystemLogger, h as normalizeE164 } from "./logger-CvPFVOgT.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CNCCkdEF.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import util from "node:util";
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as isBlockedSpecialUseIpv4Address, D as isLegacyIpv4Literal, E as isIpv4Address, M as parseLooseIpAddress, S as extractEmbeddedIpv4FromIpv6, T as isCanonicalDottedDecimalIPv4, j as parseCanonicalIpAddress, w as isBlockedSpecialUseIpv6Address } from "./config-
|
|
1
|
+
import { C as isBlockedSpecialUseIpv4Address, D as isLegacyIpv4Literal, E as isIpv4Address, M as parseLooseIpAddress, S as extractEmbeddedIpv4FromIpv6, T as isCanonicalDottedDecimalIPv4, j as parseCanonicalIpAddress, w as isBlockedSpecialUseIpv6Address } from "./config-B1z-UxQ3.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
3
|
-
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import "./paths-0d8fBoC4.js";
|
|
5
5
|
import "./github-copilot-token-CKKBybuX.js";
|
|
6
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
7
|
-
import "./path-alias-guards-
|
|
8
|
-
import "./redact-
|
|
9
|
-
import { r as formatErrorMessage } from "./errors-
|
|
10
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
11
|
-
import "./proxy-env-
|
|
6
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CjNTuJML.js";
|
|
7
|
+
import "./path-alias-guards-sWayacde.js";
|
|
8
|
+
import "./redact-Bvxt1T_Q.js";
|
|
9
|
+
import { r as formatErrorMessage } from "./errors-B3cHyZZA.js";
|
|
10
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-BaKqI3G4.js";
|
|
11
|
+
import "./proxy-env-ET-rp8eg.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import crypto from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, mt as parseAgentSessionKey } from "./run-with-concurrency-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, mt as parseAgentSessionKey } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-CvPFVOgT.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-0d8fBoC4.js";
|
|
4
|
-
import "./paths-
|
|
5
|
-
import "./path-alias-guards-
|
|
6
|
-
import "./redact-
|
|
7
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
4
|
+
import "./paths-Dpg3qxcl.js";
|
|
5
|
+
import "./path-alias-guards-sWayacde.js";
|
|
6
|
+
import "./redact-Bvxt1T_Q.js";
|
|
7
|
+
import { c as writeFileWithinRoot } from "./fs-safe-BaKqI3G4.js";
|
|
8
8
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-DMbvk-PO.js";
|
|
9
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
9
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-C6uS-7lj.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as runTasksWithConcurrency } from "./run-with-concurrency-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
4
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { t as runTasksWithConcurrency } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-CvPFVOgT.js";
|
|
3
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Dpg3qxcl.js";
|
|
4
|
+
import { t as redactSensitiveText } from "./redact-Bvxt1T_Q.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|