@termix-it/cryptoclaw 1.1.8 → 1.1.9
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-4l7ba973.js → accounts-7nNRr4R3.js} +1 -1
- package/dist/{accounts-k5nTdi32.js → accounts-BIr_ieyH.js} +1 -1
- package/dist/{accounts-CAjupeYV.js → accounts-CKpnUMZd.js} +16 -16
- package/dist/{active-listener-D9FARjMd.js → active-listener-ClXqZUsD.js} +1 -1
- package/dist/{api-key-rotation-C-Q6XdUW.js → api-key-rotation-CUJC6xSi.js} +2 -2
- package/dist/{audio-preflight-C7kt2vOu.js → audio-preflight--MDRrrlB.js} +33 -33
- package/dist/{audio-transcription-runner-CawngPvE.js → audio-transcription-runner-CgLX4N3r.js} +12 -12
- package/dist/{audit-membership-runtime-C6dnIaXJ.js → audit-membership-runtime-Ch2lLD_u.js} +5 -5
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +52 -52
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +52 -52
- package/dist/bundled/soul-evil/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-Hho38eZq.js → channel-activity-32lmgAZH.js} +3 -3
- package/dist/{chrome-palWvTtp.js → chrome-CtEQV_6p.js} +18 -18
- package/dist/{commands-registry-A3LstXeY.js → commands-registry-FnGtnvb0.js} +4 -4
- package/dist/{deliver-JkYjt9Qz.js → deliver-32OxViWG.js} +20 -20
- package/dist/deliver-runtime-DGYhS7K1.js +37 -0
- package/dist/deps-send-discord.runtime-BJmezHoH.js +27 -0
- package/dist/deps-send-imessage.runtime-Dsq-J7FK.js +26 -0
- package/dist/deps-send-signal.runtime-2kRNCAkm.js +25 -0
- package/dist/deps-send-slack.runtime-DoM54spr.js +23 -0
- package/dist/deps-send-telegram.runtime-DGtmyBk2.js +28 -0
- package/dist/deps-send-whatsapp.runtime-B_ZiouDf.js +61 -0
- package/dist/{diagnostic-BGtFj4tU.js → diagnostic-UO82MQjo.js} +2 -2
- package/dist/{plugin-sdk/errors-B2jpHiod.js → errors-BwBpGOBV.js} +1 -1
- package/dist/{fetch-_iocPLV2.js → fetch-DozurFmr.js} +5 -5
- package/dist/{fetch-guard-CiQUuV0r.js → fetch-guard-XtFb6zM7.js} +2 -2
- package/dist/{frontmatter-Dn68lQ_o.js → frontmatter-Cy6ESb-O.js} +5 -5
- package/dist/{fs-safe-BLpOReWZ.js → fs-safe-YxZ8RAEw.js} +4 -4
- package/dist/{github-copilot-token-DDa7O18e.js → github-copilot-token-D7knylDF.js} +7 -7
- package/dist/{image-BlRI3dXw.js → image-B2LPzwKF.js} +6 -6
- package/dist/{image-ops-D7mq-4y1.js → image-ops-gm8VfGiD.js} +2 -2
- package/dist/image-runtime-BL3D208M.js +30 -0
- package/dist/{ir-Dpg87zYv.js → ir-B7IR3m4T.js} +7 -7
- package/dist/{legacy-names-BAiRv0I2.js → legacy-names-TrN6kryB.js} +1 -1
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-C53B395N.js → logger-CV2IWsAW.js} +1 -1
- package/dist/{login-CHsCISh4.js → login-C6CkDgLi.js} +5 -5
- package/dist/{login-qr-BEW3jIOt.js → login-qr-WEr1WQvg.js} +11 -11
- package/dist/{manager-Dfrejf6z.js → manager-BWh3BVp1.js} +13 -13
- package/dist/manager-runtime-CJHBIXOb.js +19 -0
- package/dist/{model-selection-e9hodq0l.js → model-selection-BiqOlgFe.js} +48 -48
- package/dist/{outbound-BZqL8UdJ.js → outbound-DSVwKSv4.js} +6 -6
- package/dist/{outbound-attachment-wzHGF-Is.js → outbound-attachment-CcY_Rg0-.js} +2 -2
- package/dist/{path-alias-guards-It4BBRdm.js → path-alias-guards-Gzq1eAOo.js} +1 -1
- package/dist/{paths-CZ0nrg7g.js → paths-BWg7M5Yy.js} +3 -3
- package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
- package/dist/{pi-embedded-BNcbv6lg.js → pi-embedded-DkdNpxSe.js} +161 -161
- package/dist/{pi-embedded-helpers-CE9KKP1Q.js → pi-embedded-helpers-B_qa7ikD.js} +52 -52
- package/dist/{pi-model-discovery-32EFg27L.js → pi-model-discovery-FwBV8Q5J.js} +7 -7
- package/dist/pi-model-discovery-runtime-BozG-CtU.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-BfjlGXIc.js → pi-tools.before-tool-call.runtime-2r6sdUt5.js} +10 -10
- package/dist/plugin-sdk/{accounts-Bpe8MpMj.js → accounts-B9ydKoYC.js} +2 -2
- package/dist/plugin-sdk/{accounts-BY3xA55d.js → accounts-DAebrX4r.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dg9HUb5m.js → accounts-DxlJAHNG.js} +2 -2
- package/dist/plugin-sdk/{active-listener-kZJwBchj.js → active-listener-D7Jidx1U.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-wZaR5O8n.js → api-key-rotation-d8cmHGhi.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DOR1d1hn.js → audio-preflight-vJtQi-4_.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DWncgs4M.js → audio-transcription-runner-Bfv_TVP4.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DvBMQsDC.js → audit-membership-runtime-BpoX61hv.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-VsWwcNLD.js → channel-activity-1LCR07HU.js} +3 -3
- package/dist/plugin-sdk/{channel-web-B5wxTr-8.js → channel-web-QSsZFIjA.js} +18 -18
- package/dist/plugin-sdk/{chrome-pOAzXzzJ.js → chrome-CbDAFNHQ.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-pKaQ4EJQ.js → commands-registry-D8gIWgM5.js} +4 -4
- package/dist/plugin-sdk/{common-BlJfaliy.js → common-tbQtS1zp.js} +2 -2
- package/dist/plugin-sdk/{config-CURxPU7B.js → config-xkSrCec1.js} +7 -7
- package/dist/plugin-sdk/{deliver-BpfQj4BK.js → deliver-D_Ofr_vN.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-DkyFlw6M.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Bpqp608e.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CEnAbBMn.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DLQqphLL.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-BdLrhl4O.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-WQqnuFdj.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BljFnkyd.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Bi3FO6Il.js → diagnostic-GjXXC_Pm.js} +2 -2
- package/dist/{errors-C1YF712P.js → plugin-sdk/errors-Cn3JyiMn.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-d5MU-Fi7.js → fetch-guard-ClYTU8LW.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-D57cyrSh.js → fs-safe-Bs9BHEmp.js} +3 -3
- package/dist/plugin-sdk/{image-DWnmWvGr.js → image-_uAwPFe2.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BPP3M0yA.js → image-ops-CsS12Rhg.js} +2 -2
- package/dist/plugin-sdk/image-runtime-0p3JEsb2.js +25 -0
- package/dist/plugin-sdk/{ir-A16Z9dUw.js → ir-DvWncgWp.js} +7 -7
- package/dist/plugin-sdk/{local-roots-BQJNDffC.js → local-roots-Bh7FKHd2.js} +4 -4
- package/dist/plugin-sdk/{logger-Bl138Nx7.js → logger-Dj4IX2UB.js} +2 -2
- package/dist/plugin-sdk/{login-DXLuzgCO.js → login-CYqSEzPN.js} +4 -4
- package/dist/plugin-sdk/{login-qr-DdTcNEXK.js → login-qr-CXXXR_1G.js} +5 -5
- package/dist/plugin-sdk/{manager-ClrE1ahD.js → manager-Dj-hy8oN.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CzGyKWqZ.js +15 -0
- package/dist/plugin-sdk/{outbound-wmFCJQyk.js → outbound-IhJ6xLv1.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-C1GuoigP.js → outbound-attachment-Aa86Zp9X.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Bsi-4XND.js → path-alias-guards-CtnE1WrY.js} +1 -1
- package/dist/plugin-sdk/{paths-Cb2hB2o0.js → paths-Mew07RGP.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-VYetsWcU.js → pi-embedded-helpers-B_iabXhh.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bs1t1vHG.js → pi-model-discovery-avPx6Ptq.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-SwUqnyFp.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-133Rh_QB.js → pi-tools.before-tool-call.runtime-dixwOhKo.js} +4 -4
- package/dist/plugin-sdk/{plugins-A3lJ2lkT.js → plugins-WDZLdw8Z.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-DnjPLipe.js → proxy-env-DKQK-fn1.js} +1 -1
- package/dist/{proxy-fetch-CVSmQMZt.js → plugin-sdk/proxy-fetch-rtc8GmoB.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BhB6bXtS.js → pw-ai-eYJyyMZX.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-CmGPY3vR.js → qmd-manager-mWoTdSFY.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-oxEhEDk_.js → query-expansion-4V3Vjs8V.js} +4 -4
- package/dist/plugin-sdk/{redact-C3rEm8A0.js → redact-CBwV828t.js} +1 -1
- package/dist/plugin-sdk/{reply-D3osmjmY.js → reply-RK8_OxAW.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-K2KiC0bi.js → resolve-outbound-target-Dk3UdF5C.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-FfGqq3TC.js → run-with-concurrency-KlQQobSI.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxBLO_MD.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-Dv_fcg58.js +19 -0
- package/dist/plugin-sdk/{send-C5J_PXzR.js → send-BTWIW3-9.js} +8 -8
- package/dist/plugin-sdk/{send-70p3gkTA.js → send-CG8TGQTM.js} +7 -7
- package/dist/plugin-sdk/{send-DdNdK-kV.js → send-CSJIozmo.js} +5 -5
- package/dist/plugin-sdk/{send-DjqI2JpQ.js → send-D50Hdj7y.js} +13 -13
- package/dist/plugin-sdk/{send-CqaHDOLs.js → send-wEJ-5g9f.js} +6 -6
- package/dist/plugin-sdk/{session-BBm3qP5l.js → session-CDTFGpPr.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-B_tuCFSd.js → skill-commands-X5RX1jW3.js} +4 -4
- package/dist/plugin-sdk/{skills-BG1gHeJ_.js → skills-v1KdkGto.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-MtqQ0dUA.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-vedDymM6.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BraY0iT6.js +16 -0
- package/dist/plugin-sdk/{store-C3Z3fpIY.js → store-DtdqEbDW.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-DH1Lu5_z.js +52 -0
- package/dist/plugin-sdk/{tables-BfXi9ML_.js → tables-D5d9mqkg.js} +1 -1
- package/dist/plugin-sdk/{thinking-J6jgjmDK.js → thinking-CCdKzGau.js} +7 -7
- package/dist/plugin-sdk/{tokens-DMbd3-Ct.js → tokens-D2fpVQt3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BtzvC48Z.js → tool-images-B4KNq2sg.js} +2 -2
- package/dist/plugin-sdk/web-DOQLvU76.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-C4kVobIE.js → whatsapp-actions-Bi_hJ-Cq.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-rc2l4VJe.js → plugins-Burzc1_i.js} +10 -10
- package/dist/{proxy-env-C2sbN0UU.js → proxy-env-C05eD8Tt.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-C-fXKPD2.js → proxy-fetch-C_2Ejh5T.js} +1 -1
- package/dist/{pw-ai-CWE0qzH7.js → pw-ai-BbxaV2Cy.js} +15 -15
- package/dist/{qmd-manager-DMSLC2iu.js → qmd-manager-JjGGwn8R.js} +11 -11
- package/dist/{query-expansion-MI1dZ5Nj.js → query-expansion-DkXzaUOH.js} +6 -6
- package/dist/{redact-BXURioma.js → redact-C-aJRv5O.js} +1 -1
- package/dist/{run-with-concurrency-C5E9gJhP.js → run-with-concurrency-CYTs7gPY.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BU92rhCA.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-DZy-sAPP.js +23 -0
- package/dist/{send-BlTVCcYd.js → send-ChW15YPB.js} +27 -27
- package/dist/{send-C87tIqIn.js → send-Cj0LCSvd.js} +7 -7
- package/dist/{send-BWySsurX.js → send-DDKqu28r.js} +7 -7
- package/dist/{send-OP60RbsK.js → send-hOoCA9jX.js} +6 -6
- package/dist/{send-Cpja8Q1N.js → send-q-l5fncb.js} +5 -5
- package/dist/{session-DmXsj3JD.js → session-BzKpA5X4.js} +8 -8
- package/dist/{skill-commands-DEsgUSH3.js → skill-commands-CIcvUo1A.js} +9 -9
- package/dist/{skills-OklkZyI1.js → skills-DU6_fNPx.js} +22 -22
- package/dist/slash-commands.runtime-CXJJf0jq.js +17 -0
- package/dist/slash-dispatch.runtime-CnDWfnhw.js +57 -0
- package/dist/slash-skill-commands.runtime-NPMuDGFx.js +21 -0
- package/dist/{store-BNhebBGr.js → store-DcxsUE2f.js} +2 -2
- package/dist/subagent-registry-runtime-R6EArAuY.js +57 -0
- package/dist/{subsystem-W834z9Wa.js → subsystem-CEiApUN8.js} +16 -16
- package/dist/{tables-XtcH-BaF.js → tables-DTb5mzup.js} +1 -1
- package/dist/{target-errors-CNzteBWz.js → target-errors-jNfnUab4.js} +2 -2
- package/dist/{thinking-X8yYhVf1.js → thinking-BJkp7vCP.js} +6 -6
- package/dist/{tokens-DxcVnNVJ.js → tokens-tz04P2cO.js} +1 -1
- package/dist/{tool-images-B-4ixjYn.js → tool-images-DRyUUf-X.js} +2 -2
- package/dist/{utils-D2oM4XHm.js → utils-BFS4zK3g.js} +7 -7
- package/dist/{web-B8rFiLYw.js → web-fbVaDaVW.js} +56 -56
- package/dist/{whatsapp-actions-BPIXiPAR.js → whatsapp-actions-CMHMrQzp.js} +22 -22
- package/dist/{workspace-ZgWjBCAm.js → workspace-D6GL2anS.js} +21 -21
- package/extensions/blockchain/package.json +1 -3
- package/package.json +1 -1
- package/dist/deliver-runtime-BvTbrDXE.js +0 -37
- package/dist/deps-send-discord.runtime-1mqY0Pn3.js +0 -27
- package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +0 -26
- package/dist/deps-send-signal.runtime-CHqnnRXO.js +0 -25
- package/dist/deps-send-slack.runtime-CbGlCNTX.js +0 -23
- package/dist/deps-send-telegram.runtime-CgApeKta.js +0 -28
- package/dist/deps-send-whatsapp.runtime-CAPjqcnc.js +0 -61
- package/dist/image-runtime-Cp3I725X.js +0 -30
- package/dist/manager-runtime-DacMHR37.js +0 -19
- package/dist/pi-model-discovery-runtime-C8SNNnEN.js +0 -12
- package/dist/plugin-sdk/deliver-runtime-CoTMJYYS.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-4lI0eS6q.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-i11JqPLo.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BHanWbgq.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DIHbNRq4.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-F-_XP5zF.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-LYh1VbZJ.js +0 -57
- package/dist/plugin-sdk/image-runtime-dC0tUp3V.js +0 -25
- package/dist/plugin-sdk/manager-runtime-Ba5Qbwrz.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-CdT00Yy6.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BtI3_XNc.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-1ZWHTOIM.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-CNOgz4_9.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DB8Pxn4H.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-NOFmKWtQ.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-BSpW6Un2.js +0 -52
- package/dist/plugin-sdk/web-BU7hQoaC.js +0 -56
- package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +0 -23
- package/dist/slash-commands.runtime-gtQnheWz.js +0 -17
- package/dist/slash-dispatch.runtime-w1y_0I6t.js +0 -57
- package/dist/slash-skill-commands.runtime-CA_oN4df.js +0 -21
- package/dist/subagent-registry-runtime-HYpWtFUu.js +0 -57
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import "./subsystem-CEiApUN8.js";
|
|
4
|
+
import "./utils-BFS4zK3g.js";
|
|
5
|
+
import "./workspace-D6GL2anS.js";
|
|
6
|
+
import "./logger-CV2IWsAW.js";
|
|
7
|
+
import "./model-selection-BiqOlgFe.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-TrN6kryB.js";
|
|
10
|
+
import "./thinking-BJkp7vCP.js";
|
|
11
|
+
import "./tokens-tz04P2cO.js";
|
|
12
|
+
import { G as resolveRequesterForChildSession, H as countPendingDescendantRuns, U as countPendingDescendantRunsExcludingRun, V as countActiveDescendantRuns, W as isSubagentSessionRunActive } from "./pi-embedded-DkdNpxSe.js";
|
|
13
|
+
import "./plugins-Burzc1_i.js";
|
|
14
|
+
import "./accounts-CKpnUMZd.js";
|
|
15
|
+
import "./send-hOoCA9jX.js";
|
|
16
|
+
import "./send-DDKqu28r.js";
|
|
17
|
+
import "./deliver-32OxViWG.js";
|
|
18
|
+
import "./diagnostic-UO82MQjo.js";
|
|
19
|
+
import "./accounts-7nNRr4R3.js";
|
|
20
|
+
import "./image-ops-gm8VfGiD.js";
|
|
21
|
+
import "./send-ChW15YPB.js";
|
|
22
|
+
import "./pi-model-discovery-FwBV8Q5J.js";
|
|
23
|
+
import "./pi-embedded-helpers-B_qa7ikD.js";
|
|
24
|
+
import "./chrome-CtEQV_6p.js";
|
|
25
|
+
import "./frontmatter-Cy6ESb-O.js";
|
|
26
|
+
import "./skills-DU6_fNPx.js";
|
|
27
|
+
import "./path-alias-guards-Gzq1eAOo.js";
|
|
28
|
+
import "./redact-C-aJRv5O.js";
|
|
29
|
+
import "./errors-BwBpGOBV.js";
|
|
30
|
+
import "./fs-safe-YxZ8RAEw.js";
|
|
31
|
+
import "./proxy-env-C05eD8Tt.js";
|
|
32
|
+
import "./store-DcxsUE2f.js";
|
|
33
|
+
import "./accounts-BIr_ieyH.js";
|
|
34
|
+
import "./paths-BWg7M5Yy.js";
|
|
35
|
+
import "./tool-images-DRyUUf-X.js";
|
|
36
|
+
import "./image-B2LPzwKF.js";
|
|
37
|
+
import "./audio-transcription-runner-CgLX4N3r.js";
|
|
38
|
+
import "./fetch-DozurFmr.js";
|
|
39
|
+
import "./fetch-guard-XtFb6zM7.js";
|
|
40
|
+
import "./api-key-rotation-CUJC6xSi.js";
|
|
41
|
+
import "./proxy-fetch-C_2Ejh5T.js";
|
|
42
|
+
import "./ir-B7IR3m4T.js";
|
|
43
|
+
import "./render-BZdJrUxT.js";
|
|
44
|
+
import "./target-errors-jNfnUab4.js";
|
|
45
|
+
import "./commands-registry-FnGtnvb0.js";
|
|
46
|
+
import "./skill-commands-CIcvUo1A.js";
|
|
47
|
+
import "./fetch-CTN5ATFT.js";
|
|
48
|
+
import "./channel-activity-32lmgAZH.js";
|
|
49
|
+
import "./tables-DTb5mzup.js";
|
|
50
|
+
import "./send-q-l5fncb.js";
|
|
51
|
+
import "./outbound-attachment-CcY_Rg0-.js";
|
|
52
|
+
import "./send-Cj0LCSvd.js";
|
|
53
|
+
import "./proxy-BMKyKeTK.js";
|
|
54
|
+
import "./manager-BWh3BVp1.js";
|
|
55
|
+
import "./query-expansion-DkXzaUOH.js";
|
|
56
|
+
|
|
57
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as resolveConfigPath } from "./paths-
|
|
1
|
+
import { r as resolveConfigPath } from "./paths-Cvc9EM8Y.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
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
|
|
@@ -54,15 +54,15 @@ function getCommandPathInternal(argv, depth, opts) {
|
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/infra/tmp-openclaw-dir.ts
|
|
56
56
|
const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
|
|
57
|
-
const TMP_DIR_ACCESS_MODE =
|
|
57
|
+
const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
|
|
58
58
|
function isNodeErrorWithCode(err, code) {
|
|
59
59
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
60
60
|
}
|
|
61
61
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
62
|
-
const accessSync = options.accessSync ??
|
|
63
|
-
const chmodSync = options.chmodSync ??
|
|
64
|
-
const lstatSync = options.lstatSync ??
|
|
65
|
-
const mkdirSync = options.mkdirSync ??
|
|
62
|
+
const accessSync = options.accessSync ?? fs.accessSync;
|
|
63
|
+
const chmodSync = options.chmodSync ?? fs.chmodSync;
|
|
64
|
+
const lstatSync = options.lstatSync ?? fs.lstatSync;
|
|
65
|
+
const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
|
|
66
66
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
67
67
|
const getuid = options.getuid ?? (() => {
|
|
68
68
|
try {
|
|
@@ -155,9 +155,9 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
155
155
|
function readLoggingConfig() {
|
|
156
156
|
const configPath = resolveConfigPath();
|
|
157
157
|
try {
|
|
158
|
-
if (!
|
|
159
|
-
const raw =
|
|
160
|
-
const logging =
|
|
158
|
+
if (!fs.existsSync(configPath)) return;
|
|
159
|
+
const raw = fs.readFileSync(configPath, "utf-8");
|
|
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 {
|
|
@@ -344,7 +344,7 @@ function buildLogger(settings) {
|
|
|
344
344
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
345
345
|
return logger;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
fs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
348
348
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
349
349
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
350
350
|
let warnedAboutSizeCap = false;
|
|
@@ -383,14 +383,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
383
383
|
}
|
|
384
384
|
function getCurrentLogFileBytes(file) {
|
|
385
385
|
try {
|
|
386
|
-
return
|
|
386
|
+
return fs.statSync(file).size;
|
|
387
387
|
} catch {
|
|
388
388
|
return 0;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
function appendLogLine(file, line) {
|
|
392
392
|
try {
|
|
393
|
-
|
|
393
|
+
fs.appendFileSync(file, line, { encoding: "utf8" });
|
|
394
394
|
return true;
|
|
395
395
|
} catch {
|
|
396
396
|
return false;
|
|
@@ -442,14 +442,14 @@ function isRollingPath(file) {
|
|
|
442
442
|
}
|
|
443
443
|
function pruneOldRollingLogs(dir) {
|
|
444
444
|
try {
|
|
445
|
-
const entries =
|
|
445
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
446
446
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
447
447
|
for (const entry of entries) {
|
|
448
448
|
if (!entry.isFile()) continue;
|
|
449
449
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
450
450
|
const fullPath = path.join(dir, entry.name);
|
|
451
451
|
try {
|
|
452
|
-
if (
|
|
452
|
+
if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
|
|
453
453
|
} catch {}
|
|
454
454
|
}
|
|
455
455
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { b as detectMime } from "./image-ops-gm8VfGiD.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-DRyUUf-X.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h as normalizeAccountId } from "./session-key-DgdmD4k7.js";
|
|
2
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
3
|
-
import { Ht as getChatChannelMeta, Vt as CHAT_CHANNEL_ORDER, Xt as requireActivePluginRegistry } from "./model-selection-
|
|
4
|
-
import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-
|
|
5
|
-
import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
7
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
2
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-BFS4zK3g.js";
|
|
3
|
+
import { Ht as getChatChannelMeta, Vt as CHAT_CHANNEL_ORDER, Xt as requireActivePluginRegistry } from "./model-selection-BiqOlgFe.js";
|
|
4
|
+
import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-Burzc1_i.js";
|
|
5
|
+
import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-CKpnUMZd.js";
|
|
6
|
+
import { n as resolveSignalAccount } from "./accounts-7nNRr4R3.js";
|
|
7
|
+
import { t as resolveIMessageAccount } from "./accounts-BIr_ieyH.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/types.tools.ts
|
|
10
10
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -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-CEiApUN8.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-gm8VfGiD.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-Cvc9EM8Y.js";
|
|
2
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-CEiApUN8.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/plain-object.ts
|
|
8
8
|
/**
|
|
@@ -15,14 +15,14 @@ function isPlainObject(value) {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/utils.ts
|
|
17
17
|
async function ensureDir(dir) {
|
|
18
|
-
await
|
|
18
|
+
await fs.promises.mkdir(dir, { recursive: true });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Check if a file or directory exists at the given path.
|
|
22
22
|
*/
|
|
23
23
|
async function pathExists(targetPath) {
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fs.promises.access(targetPath);
|
|
26
26
|
return true;
|
|
27
27
|
} catch {
|
|
28
28
|
return false;
|
|
@@ -105,7 +105,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
105
105
|
for (const dir of mappingDirs) {
|
|
106
106
|
const mappingPath = path.join(dir, mappingFilename);
|
|
107
107
|
try {
|
|
108
|
-
const data =
|
|
108
|
+
const data = fs.readFileSync(mappingPath, "utf8");
|
|
109
109
|
const phone = JSON.parse(data);
|
|
110
110
|
if (phone === null || phone === void 0) continue;
|
|
111
111
|
return normalizeE164(String(phone));
|
|
@@ -190,7 +190,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
190
190
|
if (override) return resolveUserPath(override);
|
|
191
191
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".openclaw");
|
|
192
192
|
try {
|
|
193
|
-
if (
|
|
193
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
194
194
|
} catch {}
|
|
195
195
|
return newDir;
|
|
196
196
|
}
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-
|
|
1
|
+
import "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-CEiApUN8.js";
|
|
4
4
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-DgdmD4k7.js";
|
|
5
|
-
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./logger-
|
|
8
|
-
import { X as loadConfig, cr as formatCliCommand } from "./model-selection-
|
|
9
|
-
import "./github-copilot-token-
|
|
10
|
-
import "./legacy-names-
|
|
11
|
-
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-
|
|
12
|
-
import "./tokens-
|
|
13
|
-
import { A as normalizeGroupActivation, B as normalizeMentionText, C as createInboundDebouncer, D as getReplyFromConfig, E as createDedupeCache, F as enqueueSystemEvent, I as finalizeInboundContext, K as resolveIdentityNamePrefix, L as hasControlCommand, M as computeBackoff, N as sleepWithAbort, O as buildAgentSessionKey, P as formatDurationPrecise, R as shouldComputeCommandAuthorized, T as formatInboundEnvelope, _ as resolveDmGroupAccessWithCommandGate, b as shouldAckReactionForWhatsApp, c as buildPairingReply, d as buildHistoryContextFromEntries, f as recordPendingHistoryEntryIfEnabled, g as readStoreAllowFromForDmPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, i as resolveInboundSessionEnvelopeContext, j as parseActivationCommand, k as resolveAgentRoute, l as resolveMentionGating, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, q as resolveMessagePrefix, s as createReplyPrefixOptions, u as DEFAULT_GROUP_HISTORY_LIMIT, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as buildMentionRegexes } from "./pi-embedded-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-
|
|
16
|
-
import "./send-
|
|
17
|
-
import "./send-
|
|
18
|
-
import "./deliver-
|
|
19
|
-
import "./diagnostic-
|
|
20
|
-
import "./accounts-
|
|
21
|
-
import "./image-ops-
|
|
22
|
-
import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-
|
|
23
|
-
import "./pi-model-discovery-
|
|
24
|
-
import { At as resolveGroupSessionKey, K as recordSessionMetaFromInbound, W as loadSessionStore, q as updateLastRoute } from "./pi-embedded-helpers-
|
|
25
|
-
import "./chrome-
|
|
26
|
-
import "./frontmatter-
|
|
27
|
-
import "./skills-
|
|
28
|
-
import "./path-alias-guards-
|
|
29
|
-
import "./redact-
|
|
30
|
-
import "./errors-
|
|
31
|
-
import "./fs-safe-
|
|
32
|
-
import "./proxy-env-
|
|
33
|
-
import { i as saveMediaBuffer } from "./store-
|
|
34
|
-
import "./accounts-
|
|
35
|
-
import { s as resolveStorePath } from "./paths-
|
|
36
|
-
import "./tool-images-
|
|
37
|
-
import "./image-
|
|
38
|
-
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
39
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
40
|
-
import "./fetch-guard-
|
|
41
|
-
import "./api-key-rotation-
|
|
42
|
-
import "./proxy-fetch-
|
|
43
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-
|
|
5
|
+
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-BFS4zK3g.js";
|
|
6
|
+
import "./workspace-D6GL2anS.js";
|
|
7
|
+
import "./logger-CV2IWsAW.js";
|
|
8
|
+
import { X as loadConfig, cr as formatCliCommand } from "./model-selection-BiqOlgFe.js";
|
|
9
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
10
|
+
import "./legacy-names-TrN6kryB.js";
|
|
11
|
+
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-BJkp7vCP.js";
|
|
12
|
+
import "./tokens-tz04P2cO.js";
|
|
13
|
+
import { A as normalizeGroupActivation, B as normalizeMentionText, C as createInboundDebouncer, D as getReplyFromConfig, E as createDedupeCache, F as enqueueSystemEvent, I as finalizeInboundContext, K as resolveIdentityNamePrefix, L as hasControlCommand, M as computeBackoff, N as sleepWithAbort, O as buildAgentSessionKey, P as formatDurationPrecise, R as shouldComputeCommandAuthorized, T as formatInboundEnvelope, _ as resolveDmGroupAccessWithCommandGate, b as shouldAckReactionForWhatsApp, c as buildPairingReply, d as buildHistoryContextFromEntries, f as recordPendingHistoryEntryIfEnabled, g as readStoreAllowFromForDmPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, i as resolveInboundSessionEnvelopeContext, j as parseActivationCommand, k as resolveAgentRoute, l as resolveMentionGating, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, q as resolveMessagePrefix, s as createReplyPrefixOptions, u as DEFAULT_GROUP_HISTORY_LIMIT, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as buildMentionRegexes } from "./pi-embedded-DkdNpxSe.js";
|
|
14
|
+
import "./plugins-Burzc1_i.js";
|
|
15
|
+
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-CKpnUMZd.js";
|
|
16
|
+
import "./send-hOoCA9jX.js";
|
|
17
|
+
import "./send-DDKqu28r.js";
|
|
18
|
+
import "./deliver-32OxViWG.js";
|
|
19
|
+
import "./diagnostic-UO82MQjo.js";
|
|
20
|
+
import "./accounts-7nNRr4R3.js";
|
|
21
|
+
import "./image-ops-gm8VfGiD.js";
|
|
22
|
+
import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-ChW15YPB.js";
|
|
23
|
+
import "./pi-model-discovery-FwBV8Q5J.js";
|
|
24
|
+
import { At as resolveGroupSessionKey, K as recordSessionMetaFromInbound, W as loadSessionStore, q as updateLastRoute } from "./pi-embedded-helpers-B_qa7ikD.js";
|
|
25
|
+
import "./chrome-CtEQV_6p.js";
|
|
26
|
+
import "./frontmatter-Cy6ESb-O.js";
|
|
27
|
+
import "./skills-DU6_fNPx.js";
|
|
28
|
+
import "./path-alias-guards-Gzq1eAOo.js";
|
|
29
|
+
import "./redact-C-aJRv5O.js";
|
|
30
|
+
import "./errors-BwBpGOBV.js";
|
|
31
|
+
import "./fs-safe-YxZ8RAEw.js";
|
|
32
|
+
import "./proxy-env-C05eD8Tt.js";
|
|
33
|
+
import { i as saveMediaBuffer } from "./store-DcxsUE2f.js";
|
|
34
|
+
import "./accounts-BIr_ieyH.js";
|
|
35
|
+
import { s as resolveStorePath } from "./paths-BWg7M5Yy.js";
|
|
36
|
+
import "./tool-images-DRyUUf-X.js";
|
|
37
|
+
import "./image-B2LPzwKF.js";
|
|
38
|
+
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CgLX4N3r.js";
|
|
39
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-DozurFmr.js";
|
|
40
|
+
import "./fetch-guard-XtFb6zM7.js";
|
|
41
|
+
import "./api-key-rotation-CUJC6xSi.js";
|
|
42
|
+
import "./proxy-fetch-C_2Ejh5T.js";
|
|
43
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-B7IR3m4T.js";
|
|
44
44
|
import "./render-BZdJrUxT.js";
|
|
45
|
-
import "./target-errors-
|
|
46
|
-
import "./commands-registry-
|
|
47
|
-
import "./skill-commands-
|
|
45
|
+
import "./target-errors-jNfnUab4.js";
|
|
46
|
+
import "./commands-registry-FnGtnvb0.js";
|
|
47
|
+
import "./skill-commands-CIcvUo1A.js";
|
|
48
48
|
import "./fetch-CTN5ATFT.js";
|
|
49
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
50
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
51
|
-
import "./send-
|
|
52
|
-
import "./outbound-attachment-
|
|
53
|
-
import "./send-
|
|
54
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
49
|
+
import { n as recordChannelActivity } from "./channel-activity-32lmgAZH.js";
|
|
50
|
+
import { t as convertMarkdownTables } from "./tables-DTb5mzup.js";
|
|
51
|
+
import "./send-q-l5fncb.js";
|
|
52
|
+
import "./outbound-attachment-CcY_Rg0-.js";
|
|
53
|
+
import "./send-Cj0LCSvd.js";
|
|
54
|
+
import { r as setActiveWebListener } from "./active-listener-ClXqZUsD.js";
|
|
55
55
|
import "./proxy-BMKyKeTK.js";
|
|
56
|
-
import "./manager-
|
|
57
|
-
import "./query-expansion-
|
|
58
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./outbound-
|
|
59
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
60
|
-
import { t as loginWeb } from "./login-
|
|
56
|
+
import "./manager-BWh3BVp1.js";
|
|
57
|
+
import "./query-expansion-DkXzaUOH.js";
|
|
58
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./outbound-DSVwKSv4.js";
|
|
59
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BzKpA5X4.js";
|
|
60
|
+
import { t as loginWeb } from "./login-C6CkDgLi.js";
|
|
61
61
|
import { randomUUID } from "node:crypto";
|
|
62
62
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
63
63
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
9
|
-
import "./legacy-names-
|
|
10
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
11
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
12
|
-
import "./image-ops-
|
|
13
|
-
import "./path-alias-guards-
|
|
14
|
-
import "./fs-safe-
|
|
15
|
-
import "./proxy-env-
|
|
16
|
-
import "./tool-images-
|
|
17
|
-
import "./fetch-
|
|
18
|
-
import "./fetch-guard-
|
|
19
|
-
import "./ir-
|
|
1
|
+
import "./run-with-concurrency-CYTs7gPY.js";
|
|
2
|
+
import "./paths-Cvc9EM8Y.js";
|
|
3
|
+
import "./subsystem-CEiApUN8.js";
|
|
4
|
+
import "./utils-BFS4zK3g.js";
|
|
5
|
+
import "./workspace-D6GL2anS.js";
|
|
6
|
+
import "./logger-CV2IWsAW.js";
|
|
7
|
+
import "./model-selection-BiqOlgFe.js";
|
|
8
|
+
import "./github-copilot-token-D7knylDF.js";
|
|
9
|
+
import "./legacy-names-TrN6kryB.js";
|
|
10
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-Burzc1_i.js";
|
|
11
|
+
import { n as resolveWhatsAppAccount } from "./accounts-CKpnUMZd.js";
|
|
12
|
+
import "./image-ops-gm8VfGiD.js";
|
|
13
|
+
import "./path-alias-guards-Gzq1eAOo.js";
|
|
14
|
+
import "./fs-safe-YxZ8RAEw.js";
|
|
15
|
+
import "./proxy-env-C05eD8Tt.js";
|
|
16
|
+
import "./tool-images-DRyUUf-X.js";
|
|
17
|
+
import "./fetch-DozurFmr.js";
|
|
18
|
+
import "./fetch-guard-XtFb6zM7.js";
|
|
19
|
+
import "./ir-B7IR3m4T.js";
|
|
20
20
|
import "./render-BZdJrUxT.js";
|
|
21
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
22
|
-
import "./tables-
|
|
23
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
21
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-jNfnUab4.js";
|
|
22
|
+
import "./tables-DTb5mzup.js";
|
|
23
|
+
import { r as sendReactionWhatsApp } from "./outbound-DSVwKSv4.js";
|
|
24
24
|
|
|
25
25
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
26
26
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { c as danger, p as shouldLogVerbose } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir } from "./paths-Cvc9EM8Y.js";
|
|
2
|
+
import { c as danger, p as shouldLogVerbose } from "./subsystem-CEiApUN8.js";
|
|
3
3
|
import { S as isSubagentSessionKey, x as isCronSessionKey } from "./session-key-DgdmD4k7.js";
|
|
4
|
-
import { f as pathExists$1, h as resolveUserPath } from "./utils-
|
|
5
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
4
|
+
import { f as pathExists$1, h as resolveUserPath } from "./utils-BFS4zK3g.js";
|
|
5
|
+
import { n as logError, t as logDebug } from "./logger-CV2IWsAW.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs$1 from "node:fs";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { execFile, spawn } from "node:child_process";
|
|
12
12
|
import process$1 from "node:process";
|
|
@@ -314,7 +314,7 @@ function resolveBoundaryPathLexicalSync(params) {
|
|
|
314
314
|
rootCanonicalPath: params.rootCanonicalPath,
|
|
315
315
|
resolveParams: params.params,
|
|
316
316
|
absolutePath: params.absolutePath,
|
|
317
|
-
read: (cursor) =>
|
|
317
|
+
read: (cursor) => fs$1.lstatSync(cursor)
|
|
318
318
|
});
|
|
319
319
|
if (isPromiseLike(maybeStat)) throw new Error("Unexpected async lexical stat");
|
|
320
320
|
const stat = maybeStat;
|
|
@@ -460,15 +460,15 @@ function resolvePathViaExistingAncestorSync(targetPath) {
|
|
|
460
460
|
const normalized = path.resolve(targetPath);
|
|
461
461
|
let cursor = normalized;
|
|
462
462
|
const missingSuffix = [];
|
|
463
|
-
while (!isFilesystemRoot(cursor) && !
|
|
463
|
+
while (!isFilesystemRoot(cursor) && !fs$1.existsSync(cursor)) {
|
|
464
464
|
missingSuffix.unshift(path.basename(cursor));
|
|
465
465
|
const parent = path.dirname(cursor);
|
|
466
466
|
if (parent === cursor) break;
|
|
467
467
|
cursor = parent;
|
|
468
468
|
}
|
|
469
|
-
if (!
|
|
469
|
+
if (!fs$1.existsSync(cursor)) return normalized;
|
|
470
470
|
try {
|
|
471
|
-
const resolvedAncestor = path.resolve(
|
|
471
|
+
const resolvedAncestor = path.resolve(fs$1.realpathSync(cursor));
|
|
472
472
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
473
473
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
474
474
|
} catch {
|
|
@@ -493,7 +493,7 @@ function getPathKindSync(absolutePath, preserveFinalSymlink) {
|
|
|
493
493
|
try {
|
|
494
494
|
return {
|
|
495
495
|
exists: true,
|
|
496
|
-
kind: toResolvedKind(preserveFinalSymlink ?
|
|
496
|
+
kind: toResolvedKind(preserveFinalSymlink ? fs$1.lstatSync(absolutePath) : fs$1.statSync(absolutePath))
|
|
497
497
|
};
|
|
498
498
|
} catch (error) {
|
|
499
499
|
if (isNotFoundPathError(error)) return {
|
|
@@ -553,10 +553,10 @@ async function resolveSymlinkHopPath(symlinkPath) {
|
|
|
553
553
|
}
|
|
554
554
|
function resolveSymlinkHopPathSync(symlinkPath) {
|
|
555
555
|
try {
|
|
556
|
-
return path.resolve(
|
|
556
|
+
return path.resolve(fs$1.realpathSync(symlinkPath));
|
|
557
557
|
} catch (error) {
|
|
558
558
|
if (!isNotFoundPathError(error)) throw error;
|
|
559
|
-
const linkTarget =
|
|
559
|
+
const linkTarget = fs$1.readlinkSync(symlinkPath);
|
|
560
560
|
return resolvePathViaExistingAncestorSync(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
561
561
|
}
|
|
562
562
|
}
|
|
@@ -582,7 +582,7 @@ function sameFileIdentity(left, right) {
|
|
|
582
582
|
return sameFileIdentity$1(left, right);
|
|
583
583
|
}
|
|
584
584
|
function openVerifiedFileSync(params) {
|
|
585
|
-
const ioFs = params.ioFs ??
|
|
585
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
586
586
|
const allowedType = params.allowedType ?? "file";
|
|
587
587
|
const openReadFlags = ioFs.constants.O_RDONLY | (typeof ioFs.constants.O_NOFOLLOW === "number" ? ioFs.constants.O_NOFOLLOW : 0);
|
|
588
588
|
let fd = null;
|
|
@@ -659,7 +659,7 @@ function canUseBoundaryFileOpen(ioFs) {
|
|
|
659
659
|
return typeof ioFs.openSync === "function" && typeof ioFs.closeSync === "function" && typeof ioFs.fstatSync === "function" && typeof ioFs.lstatSync === "function" && typeof ioFs.realpathSync === "function" && typeof ioFs.readFileSync === "function" && typeof ioFs.constants === "object" && ioFs.constants !== null;
|
|
660
660
|
}
|
|
661
661
|
function openBoundaryFileSync(params) {
|
|
662
|
-
const ioFs = params.ioFs ??
|
|
662
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
663
663
|
const resolved = resolveBoundaryFilePathGeneric({
|
|
664
664
|
absolutePath: params.absolutePath,
|
|
665
665
|
resolve: (absolutePath) => resolveBoundaryPathSync({
|
|
@@ -710,7 +710,7 @@ function finalizeBoundaryFileOpen(params) {
|
|
|
710
710
|
});
|
|
711
711
|
}
|
|
712
712
|
async function openBoundaryFile(params) {
|
|
713
|
-
const ioFs = params.ioFs ??
|
|
713
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
714
714
|
const maybeResolved = resolveBoundaryFilePathGeneric({
|
|
715
715
|
absolutePath: params.absolutePath,
|
|
716
716
|
resolve: (absolutePath) => resolveBoundaryPath({
|
|
@@ -859,7 +859,7 @@ function resolveNpmArgvForWindows(argv) {
|
|
|
859
859
|
if (!cliName) return null;
|
|
860
860
|
const nodeDir = path.dirname(process$1.execPath);
|
|
861
861
|
const cliPath = path.join(nodeDir, "node_modules", "npm", "bin", cliName);
|
|
862
|
-
if (!
|
|
862
|
+
if (!fs$1.existsSync(cliPath)) return null;
|
|
863
863
|
return [
|
|
864
864
|
process$1.execPath,
|
|
865
865
|
cliPath,
|
|
@@ -1061,7 +1061,7 @@ async function readPackageName(dir) {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
function readPackageNameSync(dir) {
|
|
1063
1063
|
try {
|
|
1064
|
-
const raw =
|
|
1064
|
+
const raw = fs$1.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
1065
1065
|
const parsed = JSON.parse(raw);
|
|
1066
1066
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
1067
1067
|
} catch {
|
|
@@ -1095,7 +1095,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
1095
1095
|
const normalized = path.resolve(argv1);
|
|
1096
1096
|
const candidates = [path.dirname(normalized)];
|
|
1097
1097
|
try {
|
|
1098
|
-
const resolved =
|
|
1098
|
+
const resolved = fs$1.realpathSync(normalized);
|
|
1099
1099
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
1100
1100
|
} catch {}
|
|
1101
1101
|
const parts = normalized.split(path.sep);
|
|
@@ -1207,14 +1207,14 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1207
1207
|
const identity = workspaceFileIdentity(opened.stat, opened.path);
|
|
1208
1208
|
const cached = workspaceFileCache.get(params.filePath);
|
|
1209
1209
|
if (cached && cached.identity === identity) {
|
|
1210
|
-
|
|
1210
|
+
fs$1.closeSync(opened.fd);
|
|
1211
1211
|
return {
|
|
1212
1212
|
ok: true,
|
|
1213
1213
|
content: cached.content
|
|
1214
1214
|
};
|
|
1215
1215
|
}
|
|
1216
1216
|
try {
|
|
1217
|
-
const content =
|
|
1217
|
+
const content = fs$1.readFileSync(opened.fd, "utf-8");
|
|
1218
1218
|
workspaceFileCache.set(params.filePath, {
|
|
1219
1219
|
content,
|
|
1220
1220
|
identity
|
|
@@ -1231,7 +1231,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1231
1231
|
error
|
|
1232
1232
|
};
|
|
1233
1233
|
} finally {
|
|
1234
|
-
|
|
1234
|
+
fs$1.closeSync(opened.fd);
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
function stripFrontMatter(content) {
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
-
import "./paths-C6TxBCvO.js";
|
|
3
|
-
import "./subsystem-W834z9Wa.js";
|
|
4
|
-
import "./utils-D2oM4XHm.js";
|
|
5
|
-
import "./workspace-ZgWjBCAm.js";
|
|
6
|
-
import "./logger-C53B395N.js";
|
|
7
|
-
import "./model-selection-e9hodq0l.js";
|
|
8
|
-
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
-
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
-
import "./thinking-X8yYhVf1.js";
|
|
11
|
-
import "./tokens-DxcVnNVJ.js";
|
|
12
|
-
import "./plugins-rc2l4VJe.js";
|
|
13
|
-
import "./accounts-CAjupeYV.js";
|
|
14
|
-
import { t as deliverOutboundPayloads } from "./deliver-JkYjt9Qz.js";
|
|
15
|
-
import "./accounts-4l7ba973.js";
|
|
16
|
-
import "./image-ops-D7mq-4y1.js";
|
|
17
|
-
import "./pi-embedded-helpers-CE9KKP1Q.js";
|
|
18
|
-
import "./chrome-palWvTtp.js";
|
|
19
|
-
import "./frontmatter-Dn68lQ_o.js";
|
|
20
|
-
import "./skills-OklkZyI1.js";
|
|
21
|
-
import "./path-alias-guards-It4BBRdm.js";
|
|
22
|
-
import "./redact-BXURioma.js";
|
|
23
|
-
import "./errors-C1YF712P.js";
|
|
24
|
-
import "./fs-safe-BLpOReWZ.js";
|
|
25
|
-
import "./proxy-env-C2sbN0UU.js";
|
|
26
|
-
import "./store-BNhebBGr.js";
|
|
27
|
-
import "./accounts-k5nTdi32.js";
|
|
28
|
-
import "./paths-CZ0nrg7g.js";
|
|
29
|
-
import "./tool-images-B-4ixjYn.js";
|
|
30
|
-
import "./fetch-_iocPLV2.js";
|
|
31
|
-
import "./fetch-guard-CiQUuV0r.js";
|
|
32
|
-
import "./ir-Dpg87zYv.js";
|
|
33
|
-
import "./fetch-CTN5ATFT.js";
|
|
34
|
-
import "./send-Cpja8Q1N.js";
|
|
35
|
-
import "./outbound-attachment-wzHGF-Is.js";
|
|
36
|
-
|
|
37
|
-
export { deliverOutboundPayloads };
|