@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,79 +1,79 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-
|
|
1
|
+
import "./agent-scope-C6hps0r3.js";
|
|
2
|
+
import "./paths-aGRLvQx9.js";
|
|
3
|
+
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-BRjuJbbM.js";
|
|
4
4
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-a6av96Fj.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 { H as loadConfig } from "./model-selection-
|
|
9
|
-
import "./github-copilot-token-
|
|
10
|
-
import { n as formatCliCommand } from "./env-
|
|
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-BFZnl-5N.js";
|
|
6
|
+
import "./workspace-D6mrCnXi.js";
|
|
7
|
+
import "./logger-BlH5MJiV.js";
|
|
8
|
+
import { H as loadConfig } from "./model-selection-D_Si2Ict.js";
|
|
9
|
+
import "./github-copilot-token-DLGN-8YS.js";
|
|
10
|
+
import { n as formatCliCommand } from "./env-DNMZEG57.js";
|
|
11
11
|
import "./boolean-mcn6kL0s.js";
|
|
12
|
-
import "./internal-hooks-
|
|
13
|
-
import "./registry-
|
|
14
|
-
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-
|
|
15
|
-
import "./tokens-
|
|
16
|
-
import { A as enqueueSystemEvent, C as resolveInboundDebounceMs, D as normalizeGroupActivation, E as getReplyFromConfig, M as shouldComputeCommandAuthorized, N as buildMentionRegexes, O as parseActivationCommand, P as normalizeMentionText, S as createInboundDebouncer, T as createDedupeCache, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as hasControlCommand, k as formatDurationPrecise, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, n as resolveInboundSessionEnvelopeContext, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, v as resolvePinnedMainDmOwnerFromAllowlist, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-
|
|
17
|
-
import "./plugins-
|
|
18
|
-
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-
|
|
19
|
-
import "./bindings-
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./deliver-
|
|
23
|
-
import "./diagnostic-
|
|
12
|
+
import "./internal-hooks-yQe6H47q.js";
|
|
13
|
+
import "./registry-CJCkqTms.js";
|
|
14
|
+
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-Bm23mfim.js";
|
|
15
|
+
import "./tokens-B9EDT4jv.js";
|
|
16
|
+
import { A as enqueueSystemEvent, C as resolveInboundDebounceMs, D as normalizeGroupActivation, E as getReplyFromConfig, M as shouldComputeCommandAuthorized, N as buildMentionRegexes, O as parseActivationCommand, P as normalizeMentionText, S as createInboundDebouncer, T as createDedupeCache, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as hasControlCommand, k as formatDurationPrecise, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, n as resolveInboundSessionEnvelopeContext, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, v as resolvePinnedMainDmOwnerFromAllowlist, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-BQqt592d.js";
|
|
17
|
+
import "./plugins-CJoaoIHc.js";
|
|
18
|
+
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-ubG6irXZ.js";
|
|
19
|
+
import "./bindings-CsIiIjqN.js";
|
|
20
|
+
import "./send-CcQZM0c7.js";
|
|
21
|
+
import "./send-DcL81tZr.js";
|
|
22
|
+
import "./deliver-zrYSWfQ5.js";
|
|
23
|
+
import "./diagnostic-BO1GQJJf.js";
|
|
24
24
|
import "./diagnostic-session-state-DBPrVBk3.js";
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import { X as formatLocationText, Z as toLocationContext, tt as upsertChannelPairingRequest } from "./send-
|
|
27
|
-
import "./image-ops-
|
|
28
|
-
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
29
|
-
import "./pi-model-discovery-
|
|
30
|
-
import "./message-channel-
|
|
31
|
-
import "./pi-embedded-helpers-
|
|
32
|
-
import "./chrome-
|
|
33
|
-
import "./frontmatter-
|
|
34
|
-
import "./skills-
|
|
35
|
-
import "./path-alias-guards-
|
|
36
|
-
import "./redact-
|
|
37
|
-
import "./errors-
|
|
38
|
-
import "./fs-safe-
|
|
39
|
-
import "./proxy-env-
|
|
40
|
-
import { i as saveMediaBuffer } from "./store-
|
|
41
|
-
import { G as resolveGroupSessionKey, c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore } from "./sessions-
|
|
42
|
-
import "./accounts-
|
|
43
|
-
import { s as resolveStorePath } from "./paths-
|
|
44
|
-
import "./tool-images-
|
|
25
|
+
import "./accounts-BTexwKe8.js";
|
|
26
|
+
import { X as formatLocationText, Z as toLocationContext, tt as upsertChannelPairingRequest } from "./send-D2zYssqK.js";
|
|
27
|
+
import "./image-ops-DCpyia_K.js";
|
|
28
|
+
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CQ4BMvGX.js";
|
|
29
|
+
import "./pi-model-discovery-DA46fxhD.js";
|
|
30
|
+
import "./message-channel-pbgFFUNm.js";
|
|
31
|
+
import "./pi-embedded-helpers-Bo7e-QzJ.js";
|
|
32
|
+
import "./chrome-DWfXErGH.js";
|
|
33
|
+
import "./frontmatter-D6vByAHn.js";
|
|
34
|
+
import "./skills-BttlqUXr.js";
|
|
35
|
+
import "./path-alias-guards-Cpb5gMG6.js";
|
|
36
|
+
import "./redact-CaZQhKzI.js";
|
|
37
|
+
import "./errors-B11yhRo6.js";
|
|
38
|
+
import "./fs-safe-C77EShMC.js";
|
|
39
|
+
import "./proxy-env-ynOWOBHx.js";
|
|
40
|
+
import { i as saveMediaBuffer } from "./store-B7PaqfvZ.js";
|
|
41
|
+
import { G as resolveGroupSessionKey, c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore } from "./sessions-D7EjW0sG.js";
|
|
42
|
+
import "./accounts-DMvETf-t.js";
|
|
43
|
+
import { s as resolveStorePath } from "./paths-BHEVctLd.js";
|
|
44
|
+
import "./tool-images-ArXzv82F.js";
|
|
45
45
|
import "./thinking-BcOnJa2q.js";
|
|
46
|
-
import "./image-
|
|
47
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
48
|
-
import "./fetch-guard-
|
|
49
|
-
import "./api-key-rotation-
|
|
50
|
-
import "./proxy-fetch-
|
|
51
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
52
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
53
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
54
|
-
import { a as loadWebMedia } from "./ir-
|
|
46
|
+
import "./image-DnxYCkHO.js";
|
|
47
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-4RonjgqX.js";
|
|
48
|
+
import "./fetch-guard-B1EGEHan.js";
|
|
49
|
+
import "./api-key-rotation-Cv5_SG_o.js";
|
|
50
|
+
import "./proxy-fetch-xlbVQYN_.js";
|
|
51
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-DK1i6bCJ.js";
|
|
52
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-2ZxftpDd.js";
|
|
53
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BHONoo6S.js";
|
|
54
|
+
import { a as loadWebMedia } from "./ir-DcDVAFj3.js";
|
|
55
55
|
import "./render-flG67HhW.js";
|
|
56
|
-
import "./target-errors-
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./skill-commands-
|
|
56
|
+
import "./target-errors-Dad0aUFR.js";
|
|
57
|
+
import "./commands-registry-CTkboeeC.js";
|
|
58
|
+
import "./skill-commands-Cea3CZFF.js";
|
|
59
59
|
import { t as finalizeInboundContext } from "./inbound-context-CTd41MBO.js";
|
|
60
60
|
import "./fetch-CIXnD4u2.js";
|
|
61
|
-
import "./retry-
|
|
62
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
63
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
64
|
-
import "./send-
|
|
65
|
-
import "./outbound-attachment-
|
|
66
|
-
import "./send-
|
|
67
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
68
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
69
|
-
import "./proxy-
|
|
70
|
-
import "./replies-
|
|
71
|
-
import "./session-meta-
|
|
72
|
-
import "./manager-
|
|
73
|
-
import "./query-expansion-
|
|
74
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
75
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
76
|
-
import { t as loginWeb } from "./login-
|
|
61
|
+
import "./retry-DTeP7C3h.js";
|
|
62
|
+
import { n as recordChannelActivity } from "./channel-activity-Dwc2BBvs.js";
|
|
63
|
+
import { t as convertMarkdownTables } from "./tables-BJ0XAman.js";
|
|
64
|
+
import "./send-BpyiQEov.js";
|
|
65
|
+
import "./outbound-attachment-Cy8rvvJE.js";
|
|
66
|
+
import "./send--Gq-Uh-l.js";
|
|
67
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-C5hVstLo.js";
|
|
68
|
+
import { r as setActiveWebListener } from "./active-listener-Hd9sOu9T.js";
|
|
69
|
+
import "./proxy-DfJJLvch.js";
|
|
70
|
+
import "./replies-D6zARd6r.js";
|
|
71
|
+
import "./session-meta-BbCwXniv.js";
|
|
72
|
+
import "./manager-tozHviEd.js";
|
|
73
|
+
import "./query-expansion-CdDUaBcQ.js";
|
|
74
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-9rXkgGZM.js";
|
|
75
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-xKPVUYQP.js";
|
|
76
|
+
import { t as loginWeb } from "./login-CgEHUE7h.js";
|
|
77
77
|
import { randomUUID } from "node:crypto";
|
|
78
78
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
79
79
|
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
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 "./env-
|
|
1
|
+
import "./agent-scope-C6hps0r3.js";
|
|
2
|
+
import "./paths-aGRLvQx9.js";
|
|
3
|
+
import "./subsystem-BRjuJbbM.js";
|
|
4
|
+
import "./utils-BFZnl-5N.js";
|
|
5
|
+
import "./workspace-D6mrCnXi.js";
|
|
6
|
+
import "./logger-BlH5MJiV.js";
|
|
7
|
+
import "./model-selection-D_Si2Ict.js";
|
|
8
|
+
import "./github-copilot-token-DLGN-8YS.js";
|
|
9
|
+
import "./env-DNMZEG57.js";
|
|
10
10
|
import "./boolean-mcn6kL0s.js";
|
|
11
|
-
import "./internal-hooks-
|
|
12
|
-
import "./registry-
|
|
13
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
14
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
15
|
-
import "./bindings-
|
|
16
|
-
import "./image-ops-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./fs-safe-
|
|
20
|
-
import "./proxy-env-
|
|
21
|
-
import "./tool-images-
|
|
22
|
-
import "./fetch-
|
|
23
|
-
import "./fetch-guard-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./markdown-tables-
|
|
26
|
-
import "./ir-
|
|
11
|
+
import "./internal-hooks-yQe6H47q.js";
|
|
12
|
+
import "./registry-CJCkqTms.js";
|
|
13
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-CJoaoIHc.js";
|
|
14
|
+
import { n as resolveWhatsAppAccount } from "./accounts-ubG6irXZ.js";
|
|
15
|
+
import "./bindings-CsIiIjqN.js";
|
|
16
|
+
import "./image-ops-DCpyia_K.js";
|
|
17
|
+
import "./message-channel-pbgFFUNm.js";
|
|
18
|
+
import "./path-alias-guards-Cpb5gMG6.js";
|
|
19
|
+
import "./fs-safe-C77EShMC.js";
|
|
20
|
+
import "./proxy-env-ynOWOBHx.js";
|
|
21
|
+
import "./tool-images-ArXzv82F.js";
|
|
22
|
+
import "./fetch-4RonjgqX.js";
|
|
23
|
+
import "./fetch-guard-B1EGEHan.js";
|
|
24
|
+
import "./chunk-2ZxftpDd.js";
|
|
25
|
+
import "./markdown-tables-BHONoo6S.js";
|
|
26
|
+
import "./ir-DcDVAFj3.js";
|
|
27
27
|
import "./render-flG67HhW.js";
|
|
28
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
29
|
-
import "./tables-
|
|
30
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
28
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-Dad0aUFR.js";
|
|
29
|
+
import "./tables-BJ0XAman.js";
|
|
30
|
+
import { r as sendReactionWhatsApp } from "./outbound-9rXkgGZM.js";
|
|
31
31
|
|
|
32
32
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
33
33
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
-
import { c as danger, p as shouldLogVerbose } from "./subsystem-
|
|
1
|
+
import { c as resolveStateDir } from "./paths-aGRLvQx9.js";
|
|
2
|
+
import { c as danger, p as shouldLogVerbose } from "./subsystem-BRjuJbbM.js";
|
|
3
3
|
import { b as isCronSessionKey, x as isSubagentSessionKey } from "./session-key-a6av96Fj.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-BFZnl-5N.js";
|
|
5
|
+
import { n as logError, t as logDebug } from "./logger-BlH5MJiV.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 syncFs 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) => syncFs.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) && !syncFs.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 (!syncFs.existsSync(cursor)) return normalized;
|
|
470
470
|
try {
|
|
471
|
-
const resolvedAncestor = path.resolve(
|
|
471
|
+
const resolvedAncestor = path.resolve(syncFs.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 ? syncFs.lstatSync(absolutePath) : syncFs.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(syncFs.realpathSync(symlinkPath));
|
|
557
557
|
} catch (error) {
|
|
558
558
|
if (!isNotFoundPathError(error)) throw error;
|
|
559
|
-
const linkTarget =
|
|
559
|
+
const linkTarget = syncFs.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 ?? syncFs;
|
|
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 ?? syncFs;
|
|
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 ?? syncFs;
|
|
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 (!syncFs.existsSync(cliPath)) return null;
|
|
863
863
|
return [
|
|
864
864
|
process$1.execPath,
|
|
865
865
|
cliPath,
|
|
@@ -1065,7 +1065,7 @@ async function readPackageName(dir) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
function readPackageNameSync(dir) {
|
|
1067
1067
|
try {
|
|
1068
|
-
const raw =
|
|
1068
|
+
const raw = syncFs.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
1069
1069
|
const parsed = JSON.parse(raw);
|
|
1070
1070
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
1071
1071
|
} catch {
|
|
@@ -1099,7 +1099,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
1099
1099
|
const normalized = path.resolve(argv1);
|
|
1100
1100
|
const candidates = [path.dirname(normalized)];
|
|
1101
1101
|
try {
|
|
1102
|
-
const resolved =
|
|
1102
|
+
const resolved = syncFs.realpathSync(normalized);
|
|
1103
1103
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
1104
1104
|
} catch {}
|
|
1105
1105
|
const parts = normalized.split(path.sep);
|
|
@@ -1208,14 +1208,14 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1208
1208
|
const identity = workspaceFileIdentity(opened.stat, opened.path);
|
|
1209
1209
|
const cached = workspaceFileCache.get(params.filePath);
|
|
1210
1210
|
if (cached && cached.identity === identity) {
|
|
1211
|
-
|
|
1211
|
+
syncFs.closeSync(opened.fd);
|
|
1212
1212
|
return {
|
|
1213
1213
|
ok: true,
|
|
1214
1214
|
content: cached.content
|
|
1215
1215
|
};
|
|
1216
1216
|
}
|
|
1217
1217
|
try {
|
|
1218
|
-
const content =
|
|
1218
|
+
const content = syncFs.readFileSync(opened.fd, "utf-8");
|
|
1219
1219
|
workspaceFileCache.set(params.filePath, {
|
|
1220
1220
|
content,
|
|
1221
1221
|
identity
|
|
@@ -1232,7 +1232,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1232
1232
|
error
|
|
1233
1233
|
};
|
|
1234
1234
|
} finally {
|
|
1235
|
-
|
|
1235
|
+
syncFs.closeSync(opened.fd);
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
1238
|
function stripFrontMatter(content) {
|
package/package.json
CHANGED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-D_pT5EjF.js";
|
|
2
|
-
import "./reply-rsLB0nJs.js";
|
|
3
|
-
import "./paths-C__vjTc0.js";
|
|
4
|
-
import "./github-copilot-token-WHEJfZD4.js";
|
|
5
|
-
import "./config-DAwOhnVF.js";
|
|
6
|
-
import "./subsystem-CM1s2lDT.js";
|
|
7
|
-
import "./utils-BcL6KGZf.js";
|
|
8
|
-
import "./command-format-BOJz3y1v.js";
|
|
9
|
-
import "./agent-scope-DT5pxpJB.js";
|
|
10
|
-
import "./logger-Cr-x0vMf.js";
|
|
11
|
-
import "./registry-Cv-oHUj1.js";
|
|
12
|
-
import "./dock-BdR3OYZn.js";
|
|
13
|
-
import "./message-channel-CvNq-esz.js";
|
|
14
|
-
import "./sessions-BXps6YzJ.js";
|
|
15
|
-
import "./plugins-DF_dKXTR.js";
|
|
16
|
-
import "./accounts-COLYAAOx.js";
|
|
17
|
-
import "./accounts-BZrkOo6-.js";
|
|
18
|
-
import "./bindings-BSfhEjKN.js";
|
|
19
|
-
import "./send-DEyQJTzd.js";
|
|
20
|
-
import "./paths-DlLOyPPw.js";
|
|
21
|
-
import "./fetch-BEtAimXS.js";
|
|
22
|
-
import "./retry-BMcrIz7L.js";
|
|
23
|
-
import "./redact-BOuKZWXa.js";
|
|
24
|
-
import "./errors-jusxdu7M.js";
|
|
25
|
-
import "./channel-activity-DAEbma-o.js";
|
|
26
|
-
import "./path-alias-guards-DpKV1B5p.js";
|
|
27
|
-
import "./fs-safe-DMCE0ej9.js";
|
|
28
|
-
import "./image-ops-DulHE5Qc.js";
|
|
29
|
-
import "./ssrf-Doxv9M7Q.js";
|
|
30
|
-
import "./fetch-guard-Dary6WwJ.js";
|
|
31
|
-
import "./local-roots-DssN60r6.js";
|
|
32
|
-
import "./ir-BFXiJrsN.js";
|
|
33
|
-
import "./chunk-cvtXztAT.js";
|
|
34
|
-
import "./markdown-tables-CsQpDNU5.js";
|
|
35
|
-
import "./render-BDQg502o.js";
|
|
36
|
-
import "./tables-BhH8EIqU.js";
|
|
37
|
-
import "./send-D0AaWnIj.js";
|
|
38
|
-
import "./send-DJzwu8kk.js";
|
|
39
|
-
import "./tool-images-heXfaJdb.js";
|
|
40
|
-
import "./target-errors-QZay02Cv.js";
|
|
41
|
-
import "./send-C5USYGq7.js";
|
|
42
|
-
import "./audio-transcription-runner-CooPnqtC.js";
|
|
43
|
-
import "./reply-prefix-DXthVxCx.js";
|
|
44
|
-
import "./tokens-DIE-Bf72.js";
|
|
45
|
-
import "./skill-commands-B20uUsji.js";
|
|
46
|
-
import "./skills-DXOTei42.js";
|
|
47
|
-
import "./chrome-Dn0G4NoF.js";
|
|
48
|
-
import "./deliver-PdH-MCq8.js";
|
|
49
|
-
import "./diagnostic-BZvj-qNu.js";
|
|
50
|
-
import "./store-BZbE1V-C.js";
|
|
51
|
-
import "./pi-embedded-helpers-CKEUWckk.js";
|
|
52
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-Dn5fneOY.js";
|
|
53
|
-
import "./thinking-DGaZRXAR.js";
|
|
54
|
-
import "./image-B3A2l2ep.js";
|
|
55
|
-
import "./pi-model-discovery-BPeQq9XM.js";
|
|
56
|
-
import "./api-key-rotation-Dl6Ad7Nj.js";
|
|
57
|
-
import "./proxy-fetch-BpHIgvBk.js";
|
|
58
|
-
import "./commands-registry-CZWv_JwZ.js";
|
|
59
|
-
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
60
|
-
import "./send-B0ztz6QC.js";
|
|
61
|
-
import "./outbound-attachment-DRHrZUOx.js";
|
|
62
|
-
import "./resolve-route-DuwYYn4a.js";
|
|
63
|
-
import "./proxy-BfmEDoun.js";
|
|
64
|
-
import "./replies-CddwWBTJ.js";
|
|
65
|
-
import "./session-meta-ChWvKVWj.js";
|
|
66
|
-
import "./manager-DGx_cF54.js";
|
|
67
|
-
import "./query-expansion-BOGLUWB7.js";
|
|
68
|
-
import { n as sendMessageWhatsApp } from "./outbound-D29FHlQl.js";
|
|
69
|
-
import { i as waitForWaConnection, t as createWaSocket } from "./session-BA7tVDpV.js";
|
|
70
|
-
import { t as loginWeb } from "./login-D0ul3-6C.js";
|
|
71
|
-
|
|
72
|
-
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|