@bitseek/claw 1.3.6 → 1.3.7
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-CX1yOBOk.js → accounts-BTexwKe8.js} +1 -1
- package/dist/{accounts-Bwq1wvds.js → accounts-DMvETf-t.js} +1 -1
- package/dist/{accounts-CaiECgq3.js → accounts-ubG6irXZ.js} +16 -16
- package/dist/{active-listener-neKWQsOO.js → active-listener-Hd9sOu9T.js} +1 -1
- package/dist/{agent-scope-CTbRzU1C.js → agent-scope-C6hps0r3.js} +4 -4
- package/dist/{api-key-rotation-BbZD-rsQ.js → api-key-rotation-Cv5_SG_o.js} +2 -2
- package/dist/{audio-preflight-C5Crv38h.js → audio-preflight-C2pZmbnM.js} +39 -39
- package/dist/{audio-transcription-runner-eVtEKUPC.js → audio-transcription-runner-CQ4BMvGX.js} +11 -11
- package/dist/{bindings-Daa-Etag.js → bindings-CsIiIjqN.js} +2 -2
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +65 -65
- 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 +65 -65
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{plugin-sdk/channel-activity-DAEbma-o.js → channel-activity-Dwc2BBvs.js} +3 -3
- package/dist/{chrome-BRjY_MCc.js → chrome-DWfXErGH.js} +26 -26
- package/dist/{chunk-Dfkbh8wX.js → chunk-2ZxftpDd.js} +1 -1
- package/dist/{command-registry-BSN6zVlZ.js → command-registry-CtTmCFgA.js} +5 -5
- package/dist/{commands-registry-NyRDVN7s.js → commands-registry-CTkboeeC.js} +5 -5
- package/dist/{completion-cli-lZ6S6oKA.js → completion-cli-D_Hxee-R.js} +2 -2
- package/dist/{completion-cli-BDeiV4p9.js → completion-cli-wYWbi5wA.js} +1 -1
- package/dist/{deliver-DlLNT2iR.js → deliver-zrYSWfQ5.js} +22 -22
- package/dist/{diagnostic-DpOlXoSr.js → diagnostic-BO1GQJJf.js} +2 -2
- package/dist/{dock-DXlPVrMo.js → dock-Bm23mfim.js} +6 -6
- package/dist/{doctor-completion-BKCOmkBi.js → doctor-completion-BYgrEW3s.js} +1 -1
- package/dist/{doctor-completion-Bim4XRFT.js → doctor-completion-Bai361_Y.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-Bn6pmvjK.js → env-DNMZEG57.js} +2 -2
- package/dist/{plugin-sdk/errors-jusxdu7M.js → errors-B11yhRo6.js} +1 -1
- package/dist/{fetch-2cO0rj7X.js → fetch-4RonjgqX.js} +5 -5
- package/dist/{fetch-guard-iigSYt3Q.js → fetch-guard-B1EGEHan.js} +2 -2
- package/dist/{frontmatter-rlCI8Hmw.js → frontmatter-D6vByAHn.js} +2 -2
- package/dist/{fs-safe-CM9EhGvi.js → fs-safe-C77EShMC.js} +4 -4
- package/dist/{gateway-cli-CDgld1qp.js → gateway-cli-C3ftrrlK.js} +1 -1
- package/dist/{gateway-cli-8DmbQc9V.js → gateway-cli-CBGutU8q.js} +1 -1
- package/dist/{github-copilot-token-CPjAmbfr.js → github-copilot-token-DLGN-8YS.js} +7 -7
- package/dist/{image-BWlmyhr-.js → image-DnxYCkHO.js} +6 -6
- package/dist/{image-ops-jvmQoiyw.js → image-ops-DCpyia_K.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-hooks-oLQ2m8YT.js → internal-hooks-yQe6H47q.js} +1 -1
- package/dist/{ir-pR36nI-3.js → ir-DcDVAFj3.js} +6 -6
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{plugin-sdk/logger-Cr-x0vMf.js → logger-BlH5MJiV.js} +1 -1
- package/dist/{login-Cm2zDfEU.js → login-CgEHUE7h.js} +6 -6
- package/dist/{login-qr-iS1jPDpP.js → login-qr-DUJfhbUe.js} +13 -13
- package/dist/{manager-BX3KtavU.js → manager-tozHviEd.js} +15 -15
- package/dist/{markdown-tables-pfs_NCNh.js → markdown-tables-BHONoo6S.js} +1 -1
- package/dist/{message-channel-DB68nc40.js → message-channel-pbgFFUNm.js} +1 -1
- package/dist/{model-selection-DfZMxaX3.js → model-selection-D_Si2Ict.js} +44 -44
- package/dist/{onboard-BcaFvsav.js → onboard-C0Bo_5Vw.js} +1 -1
- package/dist/{onboard-sKY5jwsH.js → onboard-CI1TyO0l.js} +1 -1
- package/dist/{onboarding-BRfS3PSa.js → onboarding-DjOCmNCk.js} +1 -1
- package/dist/{onboarding-JNyox6ZE.js → onboarding-DufCP2B8.js} +1 -1
- package/dist/{onboarding.finalize-hBg4b8IC.js → onboarding.finalize-BI2feWXN.js} +4 -4
- package/dist/{onboarding.finalize-CG9tTRyw.js → onboarding.finalize-C7iEnG3X.js} +3 -3
- package/dist/{outbound-N9_vLIGT.js → outbound-9rXkgGZM.js} +7 -7
- package/dist/{outbound-attachment-CEt49GWZ.js → outbound-attachment-Cy8rvvJE.js} +2 -2
- package/dist/{path-alias-guards-xY_GOJVd.js → path-alias-guards-Cpb5gMG6.js} +1 -1
- package/dist/{paths-Bi8MJ8NM.js → paths-BHEVctLd.js} +3 -3
- package/dist/{paths-DKuX7-1L.js → paths-aGRLvQx9.js} +5 -5
- package/dist/{pi-embedded-CDXssetE.js → pi-embedded-BQqt592d.js} +187 -187
- package/dist/{pi-embedded-helpers-DSPiPpLM.js → pi-embedded-helpers-Bo7e-QzJ.js} +29 -29
- package/dist/{pi-model-discovery-N7o4F93J.js → pi-model-discovery-DA46fxhD.js} +7 -7
- package/dist/plugin-sdk/{accounts-COLYAAOx.js → accounts-4WE2wtsW.js} +1 -1
- package/dist/plugin-sdk/{accounts-BZrkOo6-.js → accounts-AbI8uETR.js} +1 -1
- package/dist/plugin-sdk/{accounts-D_pT5EjF.js → accounts-BYcizTXn.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DxBXcWm_.js → active-listener-pnqLAUOh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DT5pxpJB.js → agent-scope-_j3fIYCK.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Dl6Ad7Nj.js → api-key-rotation-CYI51U_M.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-PGsiEosa.js → audio-preflight-D8BVTHCB.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-CooPnqtC.js → audio-transcription-runner-CRpY5uDq.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/{channel-activity-D0BHmeoE.js → plugin-sdk/channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-Dn5fneOY.js → channel-web-BgnipXq5.js} +23 -23
- package/dist/plugin-sdk/{chrome-Dn0G4NoF.js → chrome-oPevdeh5.js} +7 -7
- package/dist/plugin-sdk/{chunk-cvtXztAT.js → chunk-BPyPeheZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-BOJz3y1v.js → command-format-DvyMEXQo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CZWv_JwZ.js → commands-registry-Dk8re8Lz.js} +5 -5
- package/dist/plugin-sdk/{config-DAwOhnVF.js → config-D7I2_X4P.js} +10 -10
- package/dist/plugin-sdk/{deliver-PdH-MCq8.js → deliver-NrIHn0__.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BZvj-qNu.js → diagnostic-DL3k_wRi.js} +2 -2
- package/dist/plugin-sdk/{dock-BdR3OYZn.js → dock-CjdkiLH7.js} +6 -6
- package/dist/{errors-Ct2kCLWx.js → plugin-sdk/errors-DFTN4h2I.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dary6WwJ.js → fetch-guard-BivEyA4v.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DMCE0ej9.js → fs-safe-B256n7Ff.js} +3 -3
- package/dist/plugin-sdk/{image-B3A2l2ep.js → image-CkPzr3XN.js} +6 -6
- package/dist/plugin-sdk/{image-ops-DulHE5Qc.js → image-ops-C9GXWF3o.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BFXiJrsN.js → ir-BIm-jvIK.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DssN60r6.js → local-roots-2AOXGUXW.js} +4 -4
- package/dist/{logger-DelEB7MK.js → plugin-sdk/logger-CNhs9eKJ.js} +1 -1
- package/dist/plugin-sdk/{login-D0ul3-6C.js → login-BcLiF9tC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-XWKTFBuI.js → login-qr-GyPUodKJ.js} +9 -9
- package/dist/plugin-sdk/{manager-DGx_cF54.js → manager-DYLqNUb4.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-CsQpDNU5.js → markdown-tables-D9mmqMKi.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CvNq-esz.js → message-channel-_CEZcqxE.js} +1 -1
- package/dist/plugin-sdk/{outbound-D29FHlQl.js → outbound-DdTsUaXa.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DRHrZUOx.js → outbound-attachment--hkuIDR1.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DpKV1B5p.js → path-alias-guards-BqUCBfUg.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CKEUWckk.js → pi-embedded-helpers-CTfvZz83.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-BPeQq9XM.js → pi-model-discovery-CK3Ih_kq.js} +1 -1
- package/dist/plugin-sdk/{plugins-DF_dKXTR.js → plugins-BpHAMNJ1.js} +6 -6
- package/dist/plugin-sdk/{proxy-BfmEDoun.js → proxy-BJdRZOnJ.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BpHIgvBk.js → proxy-fetch-jmbopGcm.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BmmXDjtm.js → pw-ai-D0Kx7w1D.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-3hQbqkm5.js → qmd-manager-BDcutPp9.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-BOGLUWB7.js → query-expansion-C_X8SyEA.js} +2 -2
- package/dist/{redact-BC9R18Uw.js → plugin-sdk/redact-DH8u23pF.js} +1 -1
- package/dist/plugin-sdk/{registry-Cv-oHUj1.js → registry-HF8_S7QO.js} +2 -2
- package/dist/{replies-B6I1tT5t.js → plugin-sdk/replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-rsLB0nJs.js → reply-DpplAsbO.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-DXthVxCx.js → reply-prefix-KODsMNJ-.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DuwYYn4a.js → resolve-route-De2B5QY_.js} +4 -4
- package/dist/plugin-sdk/{retry-BMcrIz7L.js → retry-pZ8iKytf.js} +1 -1
- package/dist/plugin-sdk/{send-D0AaWnIj.js → send-1uW-uqPf.js} +7 -7
- package/dist/plugin-sdk/{send-C5USYGq7.js → send-BoNw1Bki.js} +8 -8
- package/dist/plugin-sdk/{send-B0ztz6QC.js → send-C-Rd2stz.js} +6 -6
- package/dist/plugin-sdk/{send-DJzwu8kk.js → send-CZIN8SDx.js} +15 -15
- package/dist/plugin-sdk/{send-DEyQJTzd.js → send-wCqsQs_s.js} +10 -10
- package/dist/plugin-sdk/{session-meta-ChWvKVWj.js → session-meta-7J-uHiM_.js} +1 -1
- package/dist/plugin-sdk/{session-BA7tVDpV.js → session-ooYcB82T.js} +5 -5
- package/dist/plugin-sdk/{sessions-BXps6YzJ.js → sessions-lAIo5l8W.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-B20uUsji.js → skill-commands-D1Q6hGS4.js} +5 -5
- package/dist/plugin-sdk/{skills-DXOTei42.js → skills-BWSDv2F_.js} +8 -8
- package/dist/plugin-sdk/{ssrf-Doxv9M7Q.js → ssrf-JKDwTi8i.js} +1 -1
- package/dist/plugin-sdk/{store-BZbE1V-C.js → store-BMeqzQAf.js} +2 -2
- package/dist/plugin-sdk/{subsystem-CM1s2lDT.js → subsystem-B0V8LFBA.js} +2 -2
- package/dist/plugin-sdk/{tables-BhH8EIqU.js → tables-DCSeBGBz.js} +1 -1
- package/dist/{target-errors-C-KolUyX.js → plugin-sdk/target-errors-0u6pegQv.js} +2 -2
- package/dist/{tokens-BvzZdrVJ.js → plugin-sdk/tokens-DF2_VTJy.js} +1 -1
- package/dist/{tool-images-DiKIlElg.js → plugin-sdk/tool-images-BbsgbHMZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CygMSQUK.js → tool-loop-detection-JkCpGrfk.js} +2 -2
- package/dist/plugin-sdk/{utils-BcL6KGZf.js → utils-BfVxx6bk.js} +1 -1
- package/dist/plugin-sdk/web-pXzbtWjI.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{plugins-D63QYxW6.js → plugins-CJoaoIHc.js} +11 -11
- package/dist/{program-B_-eFyJE.js → program-CQtsVyIe.js} +2 -2
- package/dist/{program-context-BJQXRZ1w.js → program-context-CbirfwjC.js} +7 -7
- package/dist/{prompt-select-styled-asxoqY78.js → prompt-select-styled-BlHvgGuv.js} +1 -1
- package/dist/{prompt-select-styled-QH4mD93d.js → prompt-select-styled-CY9iF1l-.js} +1 -1
- package/dist/{proxy-jINniQBi.js → proxy-DfJJLvch.js} +1 -1
- package/dist/{proxy-env-Drg9J503.js → proxy-env-ynOWOBHx.js} +1 -1
- package/dist/{proxy-fetch-AvkSvetA.js → proxy-fetch-xlbVQYN_.js} +1 -1
- package/dist/{pw-ai-gDXxKGzT.js → pw-ai-Cu3cnNF0.js} +17 -17
- package/dist/{qmd-manager-DXbV8CPG.js → qmd-manager-n4jauq3A.js} +11 -11
- package/dist/{query-expansion-C0A4WwZX.js → query-expansion-CdDUaBcQ.js} +5 -5
- package/dist/{plugin-sdk/redact-BOuKZWXa.js → redact-CaZQhKzI.js} +1 -1
- package/dist/{register.maintenance-DvWoKstb.js → register.maintenance-Cid2HJ-t.js} +5 -5
- package/dist/{register.maintenance-B0nZqqML.js → register.maintenance-CyXghztz.js} +4 -4
- package/dist/{register.onboard-DOhvWYV7.js → register.onboard-BsT9XRRr.js} +2 -2
- package/dist/{register.onboard-B1-O21vU.js → register.onboard-CoItO2Ov.js} +2 -2
- package/dist/{register.setup-ixDBzvTR.js → register.setup-2S-SXPOC.js} +2 -2
- package/dist/{register.setup-KPZYo_I1.js → register.setup-DJjPOLJK.js} +2 -2
- package/dist/{register.start-Df91ZVJJ.js → register.start-CI8ol0Mk.js} +1 -1
- package/dist/{register.start-DErNT3nQ.js → register.start-D5trBtN0.js} +1 -1
- package/dist/{register.subclis-BSGvOwqU.js → register.subclis-CIlBs5A-.js} +3 -3
- package/dist/{registry-C2GEGa2t.js → registry-CJCkqTms.js} +3 -3
- package/dist/{plugin-sdk/replies-CddwWBTJ.js → replies-D6zARd6r.js} +3 -3
- package/dist/{reply-prefix-9mzt89Cf.js → reply-prefix-DK1i6bCJ.js} +1 -1
- package/dist/{resolve-route-BNElrVxR.js → resolve-route-C5hVstLo.js} +4 -4
- package/dist/{retry-Ayb7e4XG.js → retry-DTeP7C3h.js} +1 -1
- package/dist/{run-main-CdI1kXKr.js → run-main-bo-QbYn_.js} +3 -3
- package/dist/{send-BMzVXosN.js → send--Gq-Uh-l.js} +7 -7
- package/dist/{send-DC_e_Iev.js → send-BpyiQEov.js} +6 -6
- package/dist/{send-B6QQ8XfC.js → send-CcQZM0c7.js} +8 -8
- package/dist/{send-Buidj_8L.js → send-D2zYssqK.js} +27 -27
- package/dist/{send-BQETStDl.js → send-DcL81tZr.js} +10 -10
- package/dist/{session-meta-DAMj6ZRX.js → session-meta-BbCwXniv.js} +2 -2
- package/dist/{session-TVb8hgJP.js → session-xKPVUYQP.js} +9 -9
- package/dist/{sessions-Ck4ZR4dY.js → sessions-D7EjW0sG.js} +31 -31
- package/dist/{skill-commands-KesfMtZ9.js → skill-commands-Cea3CZFF.js} +9 -9
- package/dist/{skills-BYmEoxNo.js → skills-BttlqUXr.js} +22 -22
- package/dist/{store-KLMMBnKE.js → store-B7PaqfvZ.js} +2 -2
- package/dist/{subsystem-CAatx5oo.js → subsystem-BRjuJbbM.js} +14 -14
- package/dist/{tables-DqechQWF.js → tables-BJ0XAman.js} +1 -1
- package/dist/{plugin-sdk/target-errors-QZay02Cv.js → target-errors-Dad0aUFR.js} +2 -2
- package/dist/{plugin-sdk/tokens-DIE-Bf72.js → tokens-B9EDT4jv.js} +1 -1
- package/dist/{plugin-sdk/tool-images-heXfaJdb.js → tool-images-ArXzv82F.js} +2 -2
- package/dist/{tool-loop-detection-C4V990MS.js → tool-loop-detection-CLoYKYIq.js} +3 -3
- package/dist/{update-cli-CfeiDzYx.js → update-cli-BYrdZPXD.js} +4 -4
- package/dist/{update-cli-DKmrzt8l.js → update-cli-wmp8VSbx.js} +5 -5
- package/dist/{utils-Bo1RFF0l.js → utils-BFZnl-5N.js} +6 -6
- package/dist/{web-BPI4HIht.js → web-C5gLi1bN.js} +69 -69
- package/dist/{whatsapp-actions-Bf61u88d.js → whatsapp-actions-Be9uvUUL.js} +28 -28
- package/dist/{workspace-CswOYN9T.js → workspace-D6mrCnXi.js} +21 -21
- package/package.json +1 -1
- package/dist/plugin-sdk/web-RBob4uU1.js +0 -72
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
2
|
+
import { n as loadConfig } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { i as resolveSignalAccount } from "./accounts-AbI8uETR.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-C-qHqfzG.js";
|
|
5
5
|
import { t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
6
|
-
import { m as kindFromMime } from "./image-ops-
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
+
import { m as kindFromMime } from "./image-ops-C9GXWF3o.js";
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-BIm-jvIK.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-C5PtFEje.js";
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment--hkuIDR1.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-C__vjTc0.js";
|
|
4
|
-
import { Qt as resolveTelegramPreviewStreamMode, Yn as withFileLock$1, i as readConfigFileSnapshotForWrite, n as loadConfig, o as writeConfigFile } from "./config-
|
|
5
|
-
import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
6
|
-
import { g as safeParseJson, t as CONFIG_DIR } from "./utils-
|
|
7
|
-
import { n as isTruthyEnvValue } from "./command-format-
|
|
8
|
-
import { C as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { Qt as resolveTelegramPreviewStreamMode, Yn as withFileLock$1, i as readConfigFileSnapshotForWrite, n as loadConfig, o as writeConfigFile } from "./config-D7I2_X4P.js";
|
|
5
|
+
import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
6
|
+
import { g as safeParseJson, t as CONFIG_DIR } from "./utils-BfVxx6bk.js";
|
|
7
|
+
import { n as isTruthyEnvValue } from "./command-format-DvyMEXQo.js";
|
|
8
|
+
import { C as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BpHAMNJ1.js";
|
|
9
9
|
import { r as writeJsonAtomic } from "./json-files-BLPb80aT.js";
|
|
10
10
|
import { t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
11
|
-
import { t as redactSensitiveText } from "./redact-
|
|
12
|
-
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
13
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
11
|
+
import { t as redactSensitiveText } from "./redact-DH8u23pF.js";
|
|
12
|
+
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-DFTN4h2I.js";
|
|
13
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-B3yZ-f-m.js";
|
|
14
14
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
|
|
15
15
|
import { n as normalizePollInput } from "./polls-DN23oxyB.js";
|
|
16
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
17
|
-
import { u as hasProxyEnvConfigured } from "./ssrf-
|
|
18
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
19
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
16
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-C9GXWF3o.js";
|
|
17
|
+
import { u as hasProxyEnvConfigured } from "./ssrf-JKDwTi8i.js";
|
|
18
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-BIm-jvIK.js";
|
|
19
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
20
20
|
import { t as renderMarkdownWithMarkers } from "./render-BDQg502o.js";
|
|
21
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
21
|
+
import { t as makeProxyFetch } from "./proxy-fetch-jmbopGcm.js";
|
|
22
22
|
import fs, { readFileSync } from "node:fs";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import os from "node:os";
|
|
25
25
|
import fs$1 from "node:fs/promises";
|
|
26
26
|
import crypto, { randomBytes } from "node:crypto";
|
|
27
|
-
import
|
|
27
|
+
import JSON5 from "json5";
|
|
28
28
|
import process$1 from "node:process";
|
|
29
29
|
import { EnvHttpProxyAgent, getGlobalDispatcher, setGlobalDispatcher } from "undici";
|
|
30
30
|
import * as dns from "node:dns";
|
|
@@ -1801,7 +1801,7 @@ async function loadCronStore(storePath) {
|
|
|
1801
1801
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1802
1802
|
let parsed;
|
|
1803
1803
|
try {
|
|
1804
|
-
parsed =
|
|
1804
|
+
parsed = JSON5.parse(raw);
|
|
1805
1805
|
} catch (err) {
|
|
1806
1806
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1807
1807
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { T as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import { B as resolveDiscordAccount, V as normalizeDiscordToken, _ as parseMentionPrefixOrAtUserTarget, g as buildMessagingTarget, v as requireTargetKind } from "./plugins-
|
|
2
|
+
import { n as loadConfig } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { T as resolvePreferredOpenClawTmpDir } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { B as resolveDiscordAccount, V as normalizeDiscordToken, _ as parseMentionPrefixOrAtUserTarget, g as buildMessagingTarget, v as requireTargetKind } from "./plugins-BpHAMNJ1.js";
|
|
5
5
|
import { t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
6
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
7
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
6
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-pZ8iKytf.js";
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-B3yZ-f-m.js";
|
|
8
8
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
|
|
9
9
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-DN23oxyB.js";
|
|
10
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
11
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
12
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
10
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-C9GXWF3o.js";
|
|
11
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-BIm-jvIK.js";
|
|
12
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-BPyPeheZ.js";
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-DCSeBGBz.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import crypto from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as recordSessionMetaFromInbound } from "./sessions-
|
|
2
|
+
import { c as recordSessionMetaFromInbound } from "./sessions-lAIo5l8W.js";
|
|
3
3
|
import { s as resolveStorePath } from "./paths-DlLOyPPw.js";
|
|
4
4
|
|
|
5
5
|
//#region src/channels/session-meta.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
2
|
-
import { or as VERSION } from "./config-
|
|
3
|
-
import { S as toPinoLikeLogger, c as danger, m as success, y as getChildLogger } from "./subsystem-
|
|
4
|
-
import { a as ensureDir, h as resolveUserPath } from "./utils-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-BYcizTXn.js";
|
|
2
|
+
import { or as VERSION } from "./config-D7I2_X4P.js";
|
|
3
|
+
import { S as toPinoLikeLogger, c as danger, m as success, y as getChildLogger } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { a as ensureDir, h as resolveUserPath } from "./utils-BfVxx6bk.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DvyMEXQo.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as normalizeAgentId, h as normalizeOptionalAccountId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
|
|
2
2
|
import { d as resolveRequiredHomeDir } from "./paths-C__vjTc0.js";
|
|
3
|
-
import { H as parseByteSize, Qn as isPidAlive, V as parseDurationMs, Xn as resolveProcessScopedMap, Zn as getProcessStartTime, n as loadConfig } from "./config-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { d as normalizeE164 } from "./utils-
|
|
6
|
-
import { R as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
7
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
3
|
+
import { H as parseByteSize, Qn as isPidAlive, V as parseDurationMs, Xn as resolveProcessScopedMap, Zn as getProcessStartTime, n as loadConfig } from "./config-D7I2_X4P.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
5
|
+
import { d as normalizeE164 } from "./utils-BfVxx6bk.js";
|
|
6
|
+
import { R as normalizeHyphenSlug, t as getChannelDock } from "./dock-CjdkiLH7.js";
|
|
7
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-_CEZcqxE.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
9
9
|
import { n as resolveConversationLabel } from "./conversation-label-nAHBBt-I.js";
|
|
10
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
10
|
+
import { r as normalizeChannelId } from "./plugins-BpHAMNJ1.js";
|
|
11
11
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DlLOyPPw.js";
|
|
12
12
|
import { i as writeTextAtomic } from "./json-files-BLPb80aT.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Bitiknz-.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-C__vjTc0.js";
|
|
3
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
4
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
5
|
-
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
4
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BfVxx6bk.js";
|
|
5
|
+
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-_j3fIYCK.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-BLPb80aT.js";
|
|
7
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
8
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-BWSDv2F_.js";
|
|
8
|
+
import { a as listChatCommands } from "./commands-registry-Dk8re8Lz.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Vn as isPathInsideWithRealpath, dt as MANIFEST_KEY, ht as resolveMemorySlotDecision, lr as isDangerousHostEnvVarName, mt as resolveEffectiveEnableState, ot as loadPluginManifestRegistry, pt as normalizePluginsConfig, ut as LEGACY_MANIFEST_KEYS } from "./config-
|
|
2
|
-
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { r as parseBooleanValue } from "./command-format-
|
|
5
|
-
import { B as isPathInside, D as resolveOpenClawPackageRootSync, U as normalizeSkillFilter } from "./agent-scope-
|
|
6
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { Vn as isPathInsideWithRealpath, dt as MANIFEST_KEY, ht as resolveMemorySlotDecision, lr as isDangerousHostEnvVarName, mt as resolveEffectiveEnableState, ot as loadPluginManifestRegistry, pt as normalizePluginsConfig, ut as LEGACY_MANIFEST_KEYS } from "./config-D7I2_X4P.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
3
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BfVxx6bk.js";
|
|
4
|
+
import { r as parseBooleanValue } from "./command-format-DvyMEXQo.js";
|
|
5
|
+
import { B as isPathInside, D as resolveOpenClawPackageRootSync, U as normalizeSkillFilter } from "./agent-scope-_j3fIYCK.js";
|
|
6
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BqUCBfUg.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
11
|
-
import
|
|
11
|
+
import JSON5 from "json5";
|
|
12
12
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
13
13
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
14
14
|
import YAML from "yaml";
|
|
@@ -296,7 +296,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
296
296
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
297
297
|
if (!raw) return;
|
|
298
298
|
try {
|
|
299
|
-
const parsed =
|
|
299
|
+
const parsed = JSON5.parse(raw);
|
|
300
300
|
if (!parsed || typeof parsed !== "object") return;
|
|
301
301
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
302
302
|
for (const key of manifestKeys) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as parseLooseIpAddress, G as isBlockedSpecialUseIpv6Address, J as isLegacyIpv4Literal, K as isCanonicalDottedDecimalIPv4, Q as parseCanonicalIpAddress, U as extractEmbeddedIpv4FromIpv6, W as isBlockedSpecialUseIpv4Address, q as isIpv4Address } from "./config-
|
|
1
|
+
import { $ as parseLooseIpAddress, G as isBlockedSpecialUseIpv6Address, J as isLegacyIpv4Literal, K as isCanonicalDottedDecimalIPv4, Q as parseCanonicalIpAddress, U as extractEmbeddedIpv4FromIpv6, W as isBlockedSpecialUseIpv4Address, q as isIpv4Address } from "./config-D7I2_X4P.js";
|
|
2
2
|
import { Agent } from "undici";
|
|
3
3
|
import { lookup } from "node:dns";
|
|
4
4
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as resolveConfigDir } from "./utils-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { p as resolveConfigDir } from "./utils-BfVxx6bk.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-C9GXWF3o.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs$1 from "node:fs/promises";
|
|
@@ -3,7 +3,7 @@ import fs from "node:fs";
|
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import util from "node:util";
|
|
6
|
-
import
|
|
6
|
+
import JSON5 from "json5";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-C9GXWF3o.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-BbsgbHMZ.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -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-B0V8LFBA.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-C9GXWF3o.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-C__vjTc0.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { C as isPlainObject } from "./utils-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B0V8LFBA.js";
|
|
3
|
+
import { C as isPlainObject } from "./utils-BfVxx6bk.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-C__vjTc0.js";
|
|
2
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
2
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-B0V8LFBA.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-BYcizTXn.js";
|
|
2
|
+
import "./reply-DpplAsbO.js";
|
|
3
|
+
import "./paths-C__vjTc0.js";
|
|
4
|
+
import "./github-copilot-token-WHEJfZD4.js";
|
|
5
|
+
import "./config-D7I2_X4P.js";
|
|
6
|
+
import "./subsystem-B0V8LFBA.js";
|
|
7
|
+
import "./utils-BfVxx6bk.js";
|
|
8
|
+
import "./command-format-DvyMEXQo.js";
|
|
9
|
+
import "./agent-scope-_j3fIYCK.js";
|
|
10
|
+
import "./logger-CNhs9eKJ.js";
|
|
11
|
+
import "./registry-HF8_S7QO.js";
|
|
12
|
+
import "./dock-CjdkiLH7.js";
|
|
13
|
+
import "./message-channel-_CEZcqxE.js";
|
|
14
|
+
import "./sessions-lAIo5l8W.js";
|
|
15
|
+
import "./plugins-BpHAMNJ1.js";
|
|
16
|
+
import "./accounts-4WE2wtsW.js";
|
|
17
|
+
import "./accounts-AbI8uETR.js";
|
|
18
|
+
import "./bindings-CxxzC7gn.js";
|
|
19
|
+
import "./send-wCqsQs_s.js";
|
|
20
|
+
import "./paths-DlLOyPPw.js";
|
|
21
|
+
import "./fetch-BEtAimXS.js";
|
|
22
|
+
import "./retry-pZ8iKytf.js";
|
|
23
|
+
import "./redact-DH8u23pF.js";
|
|
24
|
+
import "./errors-DFTN4h2I.js";
|
|
25
|
+
import "./channel-activity-B3yZ-f-m.js";
|
|
26
|
+
import "./path-alias-guards-BqUCBfUg.js";
|
|
27
|
+
import "./fs-safe-B256n7Ff.js";
|
|
28
|
+
import "./image-ops-C9GXWF3o.js";
|
|
29
|
+
import "./ssrf-JKDwTi8i.js";
|
|
30
|
+
import "./fetch-guard-BivEyA4v.js";
|
|
31
|
+
import "./local-roots-2AOXGUXW.js";
|
|
32
|
+
import "./ir-BIm-jvIK.js";
|
|
33
|
+
import "./chunk-BPyPeheZ.js";
|
|
34
|
+
import "./markdown-tables-D9mmqMKi.js";
|
|
35
|
+
import "./render-BDQg502o.js";
|
|
36
|
+
import "./tables-DCSeBGBz.js";
|
|
37
|
+
import "./send-1uW-uqPf.js";
|
|
38
|
+
import "./send-CZIN8SDx.js";
|
|
39
|
+
import "./tool-images-BbsgbHMZ.js";
|
|
40
|
+
import "./target-errors-0u6pegQv.js";
|
|
41
|
+
import "./send-BoNw1Bki.js";
|
|
42
|
+
import "./audio-transcription-runner-CRpY5uDq.js";
|
|
43
|
+
import "./reply-prefix-KODsMNJ-.js";
|
|
44
|
+
import "./tokens-DF2_VTJy.js";
|
|
45
|
+
import "./skill-commands-D1Q6hGS4.js";
|
|
46
|
+
import "./skills-BWSDv2F_.js";
|
|
47
|
+
import "./chrome-oPevdeh5.js";
|
|
48
|
+
import "./deliver-NrIHn0__.js";
|
|
49
|
+
import "./diagnostic-DL3k_wRi.js";
|
|
50
|
+
import "./store-BMeqzQAf.js";
|
|
51
|
+
import "./pi-embedded-helpers-CTfvZz83.js";
|
|
52
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BgnipXq5.js";
|
|
53
|
+
import "./thinking-DGaZRXAR.js";
|
|
54
|
+
import "./image-CkPzr3XN.js";
|
|
55
|
+
import "./pi-model-discovery-CK3Ih_kq.js";
|
|
56
|
+
import "./api-key-rotation-CYI51U_M.js";
|
|
57
|
+
import "./proxy-fetch-jmbopGcm.js";
|
|
58
|
+
import "./commands-registry-Dk8re8Lz.js";
|
|
59
|
+
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
60
|
+
import "./send-C-Rd2stz.js";
|
|
61
|
+
import "./outbound-attachment--hkuIDR1.js";
|
|
62
|
+
import "./resolve-route-De2B5QY_.js";
|
|
63
|
+
import "./proxy-BJdRZOnJ.js";
|
|
64
|
+
import "./replies-DbjvV4gf.js";
|
|
65
|
+
import "./session-meta-7J-uHiM_.js";
|
|
66
|
+
import "./manager-DYLqNUb4.js";
|
|
67
|
+
import "./query-expansion-C_X8SyEA.js";
|
|
68
|
+
import { n as sendMessageWhatsApp } from "./outbound-DdTsUaXa.js";
|
|
69
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-ooYcB82T.js";
|
|
70
|
+
import { t as loginWeb } from "./login-BcLiF9tC.js";
|
|
71
|
+
|
|
72
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { i as resolveWhatsAppAccount } from "./accounts-BYcizTXn.js";
|
|
2
2
|
import "./paths-C__vjTc0.js";
|
|
3
3
|
import "./github-copilot-token-WHEJfZD4.js";
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./subsystem-
|
|
6
|
-
import "./utils-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./logger-
|
|
10
|
-
import "./registry-
|
|
11
|
-
import "./message-channel-
|
|
12
|
-
import "./plugins-
|
|
13
|
-
import "./bindings-
|
|
14
|
-
import "./path-alias-guards-
|
|
15
|
-
import "./fs-safe-
|
|
16
|
-
import "./image-ops-
|
|
17
|
-
import "./ssrf-
|
|
18
|
-
import "./fetch-guard-
|
|
19
|
-
import "./local-roots-
|
|
20
|
-
import "./ir-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./markdown-tables-
|
|
4
|
+
import "./config-D7I2_X4P.js";
|
|
5
|
+
import "./subsystem-B0V8LFBA.js";
|
|
6
|
+
import "./utils-BfVxx6bk.js";
|
|
7
|
+
import "./command-format-DvyMEXQo.js";
|
|
8
|
+
import "./agent-scope-_j3fIYCK.js";
|
|
9
|
+
import "./logger-CNhs9eKJ.js";
|
|
10
|
+
import "./registry-HF8_S7QO.js";
|
|
11
|
+
import "./message-channel-_CEZcqxE.js";
|
|
12
|
+
import "./plugins-BpHAMNJ1.js";
|
|
13
|
+
import "./bindings-CxxzC7gn.js";
|
|
14
|
+
import "./path-alias-guards-BqUCBfUg.js";
|
|
15
|
+
import "./fs-safe-B256n7Ff.js";
|
|
16
|
+
import "./image-ops-C9GXWF3o.js";
|
|
17
|
+
import "./ssrf-JKDwTi8i.js";
|
|
18
|
+
import "./fetch-guard-BivEyA4v.js";
|
|
19
|
+
import "./local-roots-2AOXGUXW.js";
|
|
20
|
+
import "./ir-BIm-jvIK.js";
|
|
21
|
+
import "./chunk-BPyPeheZ.js";
|
|
22
|
+
import "./markdown-tables-D9mmqMKi.js";
|
|
23
23
|
import "./render-BDQg502o.js";
|
|
24
|
-
import "./tables-
|
|
25
|
-
import "./tool-images-
|
|
26
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, o as createActionGate } from "./target-errors-
|
|
27
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
28
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
24
|
+
import "./tables-DCSeBGBz.js";
|
|
25
|
+
import "./tool-images-BbsgbHMZ.js";
|
|
26
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, o as createActionGate } from "./target-errors-0u6pegQv.js";
|
|
27
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BPT4aNiD.js";
|
|
28
|
+
import { r as sendReactionWhatsApp } from "./outbound-DdTsUaXa.js";
|
|
29
29
|
|
|
30
30
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
31
31
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-BRjuJbbM.js";
|
|
2
2
|
import { h as normalizeOptionalAccountId, m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-a6av96Fj.js";
|
|
3
|
-
import { d as normalizeE164 } from "./utils-
|
|
4
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
5
|
-
import { a as normalizeAnyChannelId, d as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER, u as getActivePluginRegistryVersion } from "./registry-
|
|
6
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { d as normalizeE164 } from "./utils-BFZnl-5N.js";
|
|
4
|
+
import { t as isTruthyEnvValue } from "./env-DNMZEG57.js";
|
|
5
|
+
import { a as normalizeAnyChannelId, d as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER, u as getActivePluginRegistryVersion } from "./registry-CJCkqTms.js";
|
|
6
|
+
import { h as createAccountListHelpers } from "./accounts-ubG6irXZ.js";
|
|
7
7
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
9
|
-
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-
|
|
10
|
-
import
|
|
9
|
+
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-CsIiIjqN.js";
|
|
10
|
+
import syncFs from "node:fs";
|
|
11
11
|
import util from "node:util";
|
|
12
12
|
|
|
13
13
|
//#region src/channels/plugins/account-action-gate.ts
|
|
@@ -218,7 +218,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
218
218
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
219
219
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
220
220
|
if (accountTokenFile) {
|
|
221
|
-
if (!
|
|
221
|
+
if (!syncFs.existsSync(accountTokenFile)) {
|
|
222
222
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
223
223
|
return {
|
|
224
224
|
token: "",
|
|
@@ -226,7 +226,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
try {
|
|
229
|
-
const token =
|
|
229
|
+
const token = syncFs.readFileSync(accountTokenFile, "utf-8").trim();
|
|
230
230
|
if (token) return {
|
|
231
231
|
token,
|
|
232
232
|
source: "tokenFile"
|
|
@@ -251,7 +251,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
251
251
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
252
252
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
253
253
|
if (tokenFile && allowEnv) {
|
|
254
|
-
if (!
|
|
254
|
+
if (!syncFs.existsSync(tokenFile)) {
|
|
255
255
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
256
256
|
return {
|
|
257
257
|
token: "",
|
|
@@ -259,7 +259,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
try {
|
|
262
|
-
const token =
|
|
262
|
+
const token = syncFs.readFileSync(tokenFile, "utf-8").trim();
|
|
263
263
|
if (token) return {
|
|
264
264
|
token,
|
|
265
265
|
source: "tokenFile"
|
|
@@ -122,8 +122,8 @@ import "./constants-D1Q8yQ1_.js";
|
|
|
122
122
|
import "./context-window-guard-BqrKjiIm.js";
|
|
123
123
|
import "./plugin-registry-NaHPDM1s.js";
|
|
124
124
|
import { n as resolveCliChannelOptions } from "./channel-options-gDhT85r4.js";
|
|
125
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
126
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
125
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CIlBs5A-.js";
|
|
126
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-CtTmCFgA.js";
|
|
127
127
|
import { r as setProgramContext } from "./program-context-BqyLhTGk.js";
|
|
128
128
|
import { t as forceFreePort } from "./ports-CmP85Z6Y.js";
|
|
129
129
|
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-CMCfl-_K.js";
|
|
@@ -58,7 +58,7 @@ const entries = [
|
|
|
58
58
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
59
59
|
hasSubcommands: true,
|
|
60
60
|
register: async (program) => {
|
|
61
|
-
(await import("./gateway-cli-
|
|
61
|
+
(await import("./gateway-cli-CBGutU8q.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update OpenClaw and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-BYrdZPXD.js")).registerUpdateCli(program);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -270,7 +270,7 @@ const entries = [
|
|
|
270
270
|
description: "Generate shell completion script",
|
|
271
271
|
hasSubcommands: false,
|
|
272
272
|
register: async (program) => {
|
|
273
|
-
(await import("./completion-cli-
|
|
273
|
+
(await import("./completion-cli-wYWbi5wA.js").then((n) => n.n)).registerCompletionCli(program);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
];
|
|
@@ -337,7 +337,7 @@ const coreEntries = [
|
|
|
337
337
|
hasSubcommands: false
|
|
338
338
|
}],
|
|
339
339
|
register: async ({ program }) => {
|
|
340
|
-
(await import("./register.start-
|
|
340
|
+
(await import("./register.start-CI8ol0Mk.js")).registerStartCommand(program);
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
{
|
|
@@ -347,7 +347,7 @@ const coreEntries = [
|
|
|
347
347
|
hasSubcommands: false
|
|
348
348
|
}],
|
|
349
349
|
register: async ({ program }) => {
|
|
350
|
-
(await import("./register.setup-
|
|
350
|
+
(await import("./register.setup-2S-SXPOC.js")).registerSetupCommand(program);
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
{
|
|
@@ -357,7 +357,7 @@ const coreEntries = [
|
|
|
357
357
|
hasSubcommands: false
|
|
358
358
|
}],
|
|
359
359
|
register: async ({ program }) => {
|
|
360
|
-
(await import("./register.onboard-
|
|
360
|
+
(await import("./register.onboard-CoItO2Ov.js")).registerOnboardCommand(program);
|
|
361
361
|
}
|
|
362
362
|
},
|
|
363
363
|
{
|
|
@@ -404,7 +404,7 @@ const coreEntries = [
|
|
|
404
404
|
}
|
|
405
405
|
],
|
|
406
406
|
register: async ({ program }) => {
|
|
407
|
-
(await import("./register.maintenance-
|
|
407
|
+
(await import("./register.maintenance-CyXghztz.js")).registerMaintenanceCommands(program);
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
{
|
|
@@ -45,7 +45,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-DLADeojn.js";
|
|
46
46
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CTeOH7Nl.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-rPE0ELW5.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BYgrEW3s.js";
|
|
49
49
|
import { execFile } from "node:child_process";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import os from "node:os";
|
|
@@ -45,7 +45,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-Di_O2hPI.js";
|
|
46
46
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-iDZhUJvT.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-Cp-jlwLm.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-Bai361_Y.js";
|
|
49
49
|
import fs from "node:fs";
|
|
50
50
|
import os from "node:os";
|
|
51
51
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
2
|
+
import { t as makeProxyFetch } from "./proxy-fetch-xlbVQYN_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/telegram/proxy.ts
|
|
5
5
|
var proxy_exports = /* @__PURE__ */ __exportAll({ makeProxyFetch: () => makeProxyFetch });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as parseLooseIpAddress, ct as isBlockedSpecialUseIpv4Address, dt as isIpv4Address, ft as isLegacyIpv4Literal, gt as parseCanonicalIpAddress, lt as isBlockedSpecialUseIpv6Address, st as extractEmbeddedIpv4FromIpv6, ut as isCanonicalDottedDecimalIPv4 } from "./model-selection-
|
|
1
|
+
import { _t as parseLooseIpAddress, ct as isBlockedSpecialUseIpv4Address, dt as isIpv4Address, ft as isLegacyIpv4Literal, gt as parseCanonicalIpAddress, lt as isBlockedSpecialUseIpv6Address, st as extractEmbeddedIpv4FromIpv6, ut as isCanonicalDottedDecimalIPv4 } from "./model-selection-D_Si2Ict.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";
|