wednesdayai 0.4.12-dev.733 → 0.4.12-dev.734
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/{acp-cli-Ciw9I0uZ.js → acp-cli-u6BEMShe.js} +15 -15
- package/dist/{agent-scope-CVpiV9_p.js → agent-scope-B5BtLhIC.js} +2 -2
- package/dist/{agent-scope-Isfe_TTc.js → agent-scope-C7A_L0Z6.js} +21 -21
- package/dist/{agent-turn-enqueue-Dm0JENbl.js → agent-turn-enqueue-oYjYy4W3.js} +6 -6
- package/dist/{agent-turn-recovery-adapter-OfuCod26.js → agent-turn-recovery-adapter-Ba_u8tsH.js} +3 -3
- package/dist/{agent-turn-runner-D9oWYU1F.js → agent-turn-runner-DJaul1fs.js} +5 -5
- package/dist/{agent-turn-runner-CHoOKwsD.js → agent-turn-runner-DN-XHX0T.js} +4 -4
- package/dist/{agent-turn-runner-BV_PeLdX.js → agent-turn-runner-iiGV_xDS.js} +6 -6
- package/dist/{agents.config-DDNucPjd.js → agents.config-YgM6ypSW.js} +3 -3
- package/dist/{api-B8kTLa-V.js → api-DTIIemyw.js} +1 -1
- package/dist/{api-key-rotation-C-jZ2g9h.js → api-key-rotation-DLl0JScq.js} +1 -1
- package/dist/{api-key-rotation-BhNw79Bu.js → api-key-rotation-Vhef3tyV.js} +1 -1
- package/dist/{artifacts-D7xTEspu.js → artifacts-CSUzSsVF.js} +1 -1
- package/dist/{audio-preflight-Cj5N8Fbp.js → audio-preflight-BWqiB-Gv.js} +38 -38
- package/dist/{audio-preflight-B0-wpy5i.js → audio-preflight-BfVCaStC.js} +5 -5
- package/dist/{audio-preflight-zbZPSZeC.js → audio-preflight-DmuNG6iD.js} +25 -25
- package/dist/{audio-transcription-runner-BTMTo0Oh.js → audio-transcription-runner-BddwFNQF.js} +26 -26
- package/dist/{audio-transcription-runner-DU-4s9T-.js → audio-transcription-runner-DV97sIzf.js} +1 -1
- package/dist/{audio-transcription-runner-DQOhmZXw.js → audio-transcription-runner-DskeI69N.js} +12 -12
- package/dist/{audit-Ch0W6MYl.js → audit-BdvUbSJW.js} +31 -31
- package/dist/{auth-RqerQcVN.js → auth-Bpsbop7P.js} +4 -4
- package/dist/{auth-choice-DwMUQqPs.js → auth-choice-C-PuOQwZ.js} +13 -13
- package/dist/{auth-choice-BYuFP7T_.js → auth-choice-Ci58poKa.js} +18 -18
- package/dist/{auth-choice.apply-helpers-BMb44QwW.js → auth-choice.apply-helpers-DOUrHdHL.js} +1 -1
- package/dist/{auth-token-D_jEtete.js → auth-token-CNieP0C6.js} +2 -2
- package/dist/{bonjour-discovery-g2GjlMwG.js → bonjour-discovery-DcI9gUqF.js} +3 -3
- package/dist/{browser-cli-Bz6AxM_A.js → browser-cli-B38yP_6r.js} +22 -22
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +56 -56
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-journal/handler.js +56 -56
- package/dist/bundled/session-memory/handler.js +56 -56
- package/dist/{call-CCfms07q.js → call-DcUNQRRs.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-DNIQLMZJ.js → channel-account-context-BLrrF35q.js} +7 -7
- package/dist/{channel-activity-sPbGjc5e.js → channel-activity-D6C30I8U.js} +2 -2
- package/dist/{channel-activity-CYX6jkoL.js → channel-activity-umvXZN1Q.js} +2 -2
- package/dist/{channel-options-BveWV11S.js → channel-options-GalVDUUs.js} +4 -4
- package/dist/{channel-selection-BRkNQi3I.js → channel-selection-BhS12YOf.js} +1 -1
- package/dist/{channels-cli-DAGiS54d.js → channels-cli-DG8Z_thL.js} +122 -122
- package/dist/{channels-status-issues-1yAXMoby.js → channels-status-issues-C3WZ-FHq.js} +1 -1
- package/dist/{chat-content-C9leVKVS.js → chat-content-CpbqvcYj.js} +13 -13
- package/dist/{chat-content-CBi2BuMN.js → chat-content-DTi4qPWl.js} +3 -3
- package/dist/{chrome-C6EL_Azx.js → chrome-3_0KrCjl.js} +8 -8
- package/dist/{chrome-K_3gICG0.js → chrome-BmOe128y.js} +6 -6
- package/dist/{chrome-B1W66RLB.js → chrome-QHHEijm4.js} +12 -12
- package/dist/{chunk-v83cSD3K.js → chunk-Cft1Qryu.js} +3 -3
- package/dist/{chunk-DsOlQSkR.js → chunk-DjzPpjFE.js} +3 -3
- package/dist/{clack-prompter-E1c9la4n.js → clack-prompter-5Rt5HC77.js} +5 -5
- package/dist/clawbot-cli-B_eFyFig.js +36 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-Dgi81MlW.js +166 -0
- package/dist/{client-VFkIaJUE.js → client-CfK_daL3.js} +3 -3
- package/dist/{client-profiles-CofHU2-i.js → client-profiles-DXMSQ3LL.js} +2 -2
- package/dist/{clipboard-BFomxx0G.js → clipboard-CXNhYcRG.js} +1 -1
- package/dist/{command-queue-9omEZYIX.js → command-queue--qG4Wxve.js} +1 -1
- package/dist/{command-queue-Cz-yW8Fn.js → command-queue-BeqPo1FP.js} +1 -1
- package/dist/{command-queue-C6BVo5I0.js → command-queue-Bwh4Cjht.js} +1 -1
- package/dist/{command-secret-targets-DCV5FIY6.js → command-secret-targets-Gl-QK3RO.js} +4 -4
- package/dist/{commands-CTxKrS5w.js → commands-DpelJzCu.js} +1 -1
- package/dist/{commands-registry-DGtDGKmr.js → commands-registry-Ccpns1_9.js} +2 -2
- package/dist/{commands-registry-DISO8Rbf.js → commands-registry-DQp53oMc.js} +3 -3
- package/dist/{completion-cli-DFNOXLps.js → completion-cli-CdiynSEq.js} +15 -15
- package/dist/{config-cli-p03mh4YX.js → config-cli-p-8y2wLT.js} +13 -13
- package/dist/{config-guard-Dzau_M6-.js → config-guard-B07Pi5M4.js} +17 -17
- package/dist/{config-validation-xc_nQppc.js → config-validation-DWz89icD.js} +4 -4
- package/dist/{configure-DmydR0wt.js → configure-C103cYIE.js} +25 -25
- package/dist/{control-ui-assets-CX17hVrY.js → control-ui-assets-3-KmlKzl.js} +3 -3
- package/dist/{controller-Cf_Sh5y1.js → controller-CwG8Zp_n.js} +1 -1
- package/dist/{credentials-CpbaIISJ.js → credentials-gpmh64hA.js} +1 -1
- package/dist/{cron-cli-BvII3wJp.js → cron-cli-y-JG-HVt.js} +17 -17
- package/dist/{daemon-cli-BS4lzrlG.js → daemon-cli-ChjPuLhH.js} +19 -19
- package/dist/{daemon-install-BAolTW-k.js → daemon-install-Cs7LQnph.js} +11 -11
- package/dist/{daemon-install-helpers-BXatJyxv.js → daemon-install-helpers-6Xe4iL6g.js} +13 -13
- package/dist/{deliver-CtrRdP0I.js → deliver-Bm3KCC7N.js} +14 -14
- package/dist/{deliver-BilN6eHm.js → deliver-BmkcRFC9.js} +1 -1
- package/dist/{deliver-BeUjHsuQ.js → deliver-QPSbsYeP.js} +15 -15
- package/dist/{devices-cli-CtaHqDZx.js → devices-cli-ByoED8_c.js} +15 -15
- package/dist/{diagnostic-C3MkA2d5.js → diagnostic-CCR8brX6.js} +1 -1
- package/dist/{diagnostic-INswCh23.js → diagnostic-CGl139nm.js} +5 -5
- package/dist/{diagnostic-CkzxbMOl.js → diagnostic-Chf-opgf.js} +4 -4
- package/dist/{diagnostics-BL7MaHFG.js → diagnostics-feLr7_11.js} +5 -5
- package/dist/{directory-cli-DvgdYM7w.js → directory-cli-Dm6bdo-K.js} +14 -14
- package/dist/{dns-cli-D0Jjy9ct.js → dns-cli-BV3f81WF.js} +13 -13
- package/dist/{docs-cli-CFi2HDrN.js → docs-cli-CtYEOTf5.js} +12 -12
- package/dist/{doctor-completion-B1SsMlh-.js → doctor-completion-Bx6uvkY3.js} +3 -3
- package/dist/{doctor-config-flow-DU0u9ath.js → doctor-config-flow-CHpbeQ8M.js} +17 -17
- package/dist/{enable-BRot9Tbi.js → enable-CODu9xqV.js} +2 -2
- package/dist/{env-DwhxSLZz.js → env-uQrKrEGz.js} +1 -1
- package/dist/{exec-approvals-allowlist-CVeFyVcd.js → exec-approvals-allowlist-BxG5LK_B.js} +1 -1
- package/dist/{exec-approvals-cli-Bwc8M8YG.js → exec-approvals-cli-Cnn9uvon.js} +25 -25
- package/dist/{exec-approvals-BS3OjF4g.js → exec-approvals-sC6Vto0t.js} +2 -2
- package/dist/{exec-BNayx9Nm.js → exec-g-Nx0X6p.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-OSqMfz70.js → exec-safe-bin-runtime-policy-Bd1hExM6.js} +2 -2
- package/dist/{extension-relay-auth-Dcu8wthB.js → extension-relay-auth-NxDK9Fke.js} +10 -10
- package/dist/extensionAPI.js +12 -12
- package/dist/{fetch-cEFmY5z9.js → fetch-fy8exuqj.js} +6 -6
- package/dist/{fetch-guard-EajwxXjX.js → fetch-guard-CfI8OeSj.js} +3 -3
- package/dist/{fetch-guard-CBYchbZq.js → fetch-guard-tWQjMK2l.js} +3 -3
- package/dist/{frontmatter-BxEA3xXS.js → frontmatter-AubDiZG0.js} +3 -3
- package/dist/{fs-safe-B7Enj5xC.js → fs-safe-Ckd0hSqX.js} +3 -3
- package/dist/{fs-safe-B3ZR2kik.js → fs-safe-LwswEc9h.js} +25 -25
- package/dist/{gateway-cli-D_-cQdWs.js → gateway-cli-D37cHpSz.js} +222 -222
- package/dist/{gateway-rpc-CQYm-HLi.js → gateway-rpc-CiALr93w.js} +3 -3
- package/dist/{gmail-setup-utils-hfaqpEZm.js → gmail-setup-utils-XnNYe7e4.js} +2 -2
- package/dist/{health-jv7pcI79.js → health-BovdETb-.js} +12 -12
- package/dist/{health-format-CT7biLM5.js → health-format-UGHgSjMo.js} +1 -1
- package/dist/{heartbeat-tick-CrLpacK5.js → heartbeat-tick-gDighXQe.js} +2 -2
- package/dist/{help-format-CLct84oR.js → help-format-RRPzsWkf.js} +1 -1
- package/dist/{helpers-DPLyPWvP.js → helpers-DGWfGS2H.js} +1 -1
- package/dist/{hooks-cli-B-xZu7If.js → hooks-cli-3CvgoXOf.js} +110 -110
- package/dist/{hooks-status-uQ6F_qa5.js → hooks-status-Bk4EXCkN.js} +2 -2
- package/dist/{image-ops-CbGvIbf3.js → image-ops-BM9FiJs0.js} +1 -1
- package/dist/{image-ops-CHN4z44F.js → image-ops-C0lTPxIN.js} +11 -11
- package/dist/{incident-install-Cfpzkmd6.js → incident-install-BU8QyJJi.js} +14 -14
- package/dist/index.js +109 -109
- package/dist/{inspect-BHcKD0Mh.js → inspect-CEi0vY67.js} +4 -4
- package/dist/{install-safe-path-C_UxxVRx.js → install-safe-path-Cv53fge9.js} +25 -25
- package/dist/{installs-DfXrCFr4.js → installs-BZ7QGLTH.js} +10 -10
- package/dist/{ipv4-pualJW3L.js → ipv4-6tmOAqee.js} +2 -2
- package/dist/{ir-BZC8jqmM.js → ir-BcCmcdpx.js} +8 -8
- package/dist/{ir-rvMyPCLn.js → ir-YDUZgbxp.js} +5 -5
- package/dist/{issue-format-CKVc879T.js → issue-format-CMvPuN7V.js} +1 -1
- package/dist/{legacy-names-CLlrMq8r.js → legacy-names-DnKoTzf4.js} +1 -1
- package/dist/{lifecycle-core-nH5DqDS2.js → lifecycle-core-hNAWQhZw.js} +9 -9
- package/dist/{links-DtYJaVFO.js → links-DA_gi3gE.js} +1 -1
- package/dist/{live-repair-CajZtMx4.js → live-repair-BvevhX8_.js} +13 -13
- package/dist/llm-slug-generator.js +56 -56
- package/dist/{local-roots-C0gTK4Bz.js → local-roots-7K5PLW70.js} +5 -5
- package/dist/{log-tail--H82JYgg.js → log-tail-FFb_BPrV.js} +7 -7
- package/dist/{logger-Bd6qOjzT.js → logger-BSEmTtz1.js} +2 -2
- package/dist/{logger-DNehzD_s.js → logger-uA4S-xj7.js} +1 -1
- package/dist/{logging-CoqZ22Bj.js → logging-2kovqtbn.js} +1 -1
- package/dist/{logs-cli-Cgvd5nIw.js → logs-cli-BT3Btt4i.js} +21 -21
- package/dist/{manager-yZu-7wGz.js → manager-CAhprKqm.js} +7 -7
- package/dist/{manager-DOXQa7gV.js → manager-CVY-YEjj.js} +18 -18
- package/dist/{manager-fEgy3Cc5.js → manager-CuWMoixZ.js} +10 -10
- package/dist/{markdown-tables-CxNf_QKN.js → markdown-tables-BIUAAmJj.js} +2 -2
- package/dist/{markdown-tables-Dr-mscCB.js → markdown-tables-BhZ9rtSx.js} +2 -2
- package/dist/{memory-cli-DactP3dr.js → memory-cli-Dw2sfKV7.js} +19 -19
- package/dist/{model-STLFfNgZ.js → model-DXt9qubu.js} +2 -2
- package/dist/{model-catalog-CJO7nU3v.js → model-catalog-DjGr6SKN.js} +4 -4
- package/dist/{model-picker-Qj1lwU0B.js → model-picker-CxN0ohVn.js} +4 -4
- package/dist/{model-selection-DeMoFayq.js → model-selection-RcRokpsG.js} +9 -9
- package/dist/{model-selection-D74qlS0C.js → model-selection-Xe4QEYsC.js} +55 -55
- package/dist/{models-cli-BKsNo3af.js → models-cli-BipY6LjO.js} +114 -114
- package/dist/{models-config-Dj7fr0nB.js → models-config-CZHJduVo.js} +7 -7
- package/dist/{models-config-DtvN5oDH.js → models-config-xlk6m7OT.js} +2 -2
- package/dist/{node-cli-CUBwMhvB.js → node-cli-O46I0NdJ.js} +45 -45
- package/dist/{node-command-policy-2ZSrWLtG.js → node-command-policy-xF0dwumy.js} +1 -1
- package/dist/{node-service-CsTzpewy.js → node-service-D4squ4p0.js} +1 -1
- package/dist/{nodes-cli-CGX5t4Yt.js → nodes-cli-59j_7aot.js} +27 -27
- package/dist/{nodes-screen-CBDClxW8.js → nodes-screen-CBvwtWTJ.js} +8 -8
- package/dist/{note-0__etBQU.js → note-DNloJfK7.js} +2 -2
- package/dist/{npm-pack-install-DJFWFkSH.js → npm-pack-install-BbOwlaHm.js} +23 -23
- package/dist/{npm-resolution-BcTXjcVL.js → npm-resolution-DMiDvLdW.js} +5 -5
- package/dist/{oauth-tls-preflight-DXqH3JiS.js → oauth-tls-preflight-DXcfBi5s.js} +1 -1
- package/dist/{onboard-D8c-kpMi.js → onboard-BqfhNjlR.js} +11 -11
- package/dist/{onboard-channels-BlEe4jeB.js → onboard-channels-C7p_IgYg.js} +24 -24
- package/dist/{onboard-custom-BtI1nikv.js → onboard-custom-Cxcj391N.js} +4 -4
- package/dist/{onboard-helpers-CHJgaSLe.js → onboard-helpers-BHshJeiH.js} +14 -14
- package/dist/{onboard-hooks--LATkv_I.js → onboard-hooks-Cu6T2rFj.js} +7 -7
- package/dist/{onboard-remote-BomxZvc8.js → onboard-remote-CvI5wlAJ.js} +5 -5
- package/dist/{onboard-skills-u_E2_0PO.js → onboard-skills-C65mTllM.js} +4 -4
- package/dist/{onboarding-NS4yZFU0.js → onboarding-Cu0Vnxce.js} +18 -18
- package/dist/{onboarding.finalize-B38zvHLn.js → onboarding.finalize-DaXgygU1.js} +117 -117
- package/dist/{onboarding.gateway-config-BFwfGimv.js → onboarding.gateway-config-V_rpPuAI.js} +19 -19
- package/dist/{onboarding.secret-input-CfTAY72X.js → onboarding.secret-input-DwOMM1C_.js} +1 -1
- package/dist/{openai-model-default-Baj13Ct-.js → openai-model-default-D_zYYe_9.js} +2 -2
- package/dist/{openclaw-root-B2l0kAM1.js → openclaw-root-BGUYWYDG.js} +2 -2
- package/dist/{operator-commands-8955-2ij.js → operator-commands-C1JSSS9_.js} +7 -7
- package/dist/{outbound-attachment-DXOLYhTE.js → outbound-attachment-DV8nfM5h.js} +2 -2
- package/dist/{outbound-attachment-CLvbW9Xc.js → outbound-attachment-papyIJq7.js} +2 -2
- package/dist/{outbound-message-hooks-B3d6x2bV.js → outbound-message-hooks-C4OaIRmC.js} +5 -5
- package/dist/{outbound-message-hooks-Cqp1e1kN.js → outbound-message-hooks-DJIHczZE.js} +5 -5
- package/dist/{pairing-cli-HlVxPH4p.js → pairing-cli-B3kETJVT.js} +13 -13
- package/dist/{pairing-labels-CzfCTcWR.js → pairing-labels-DwJGNsPY.js} +1 -1
- package/dist/{pairing-store-ClC923Wz.js → pairing-store-Deylvw9t.js} +3 -3
- package/dist/{path-alias-guards-Bj0l9f26.js → path-alias-guards-CM0vBH_Z.js} +1 -1
- package/dist/{path-alias-guards-BWeHJfpx.js → path-alias-guards-CgeH2aSH.js} +3 -3
- package/dist/{path-env-BBelmr45.js → path-env-BpMauqkY.js} +1 -1
- package/dist/{path-safety-DMAi6_-A.js → path-safety-BTAa9g_F.js} +1 -1
- package/dist/{pi-embedded-BMxexBYS.js → pi-embedded-MxBrZ5X7.js} +28 -28
- package/dist/{pi-embedded-wTLTzzic.js → pi-embedded-OmBDo0DF.js} +91 -91
- package/dist/{pi-embedded-helpers-58qqCaMi.js → pi-embedded-helpers-CjMOJlwL.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-JHx8Xn5G.js → pi-embedded-recovery-adapter-Ded_keBv.js} +35 -35
- package/dist/{pi-embedded-utils-BHzcjLyI.js → pi-embedded-utils-BI0V7Kv6.js} +2 -2
- package/dist/{pi-embedded-utils-fl8kob5O.js → pi-embedded-utils-BRaMXyni.js} +3 -3
- package/dist/{pi-embedded-utils-BxBSc2aN.js → pi-embedded-utils-D6Ee9Uyb.js} +1 -1
- package/dist/{pi-model-discovery-D-MvwJ9N.js → pi-model-discovery-BnKlqzf2.js} +1 -1
- package/dist/{pi-model-discovery-BEinSrd8.js → pi-model-discovery-RM-t2m70.js} +1 -1
- package/dist/{pi-tools.policy-CQBCu2m0.js → pi-tools.policy-CNWwkqR2.js} +5 -5
- package/dist/{pid-alive-CQpmBPPl.js → pid-alive-C3qbS2SA.js} +1 -1
- package/dist/{plugin-owned-work-recovery-adapter-Bn-F7Hfx.js → plugin-owned-work-recovery-adapter-tgBosC-H.js} +10 -10
- package/dist/{plugin-registry-D0fdIYR7.js → plugin-registry-ecUtEnu8.js} +4 -4
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/{plugins-cli--o_AZsyD.js → plugins-cli-D1q-BD8n.js} +113 -113
- package/dist/{polling-timeout-BfQqGdT2.js → polling-timeout-HyiW4Q3a.js} +3 -3
- package/dist/{ports-CcN3W_2z.js → ports-CmfLs9tb.js} +2 -2
- package/dist/{ports-Cp281kk8.js → ports-DJ_M8scl.js} +6 -6
- package/dist/{program-context-Bvfo3zMR.js → program-context-BCw1Yuns.js} +47 -47
- package/dist/{progress-D7S5GoOi.js → progress-Cbn-oYkW.js} +2 -2
- package/dist/{prompt-select-styled-C4VXJH2H.js → prompt-select-styled-CSDZSzXV.js} +51 -51
- package/dist/{prompt-style-o9ooijd1.js → prompt-style-B2xUetmj.js} +1 -1
- package/dist/{provider-auth-helpers-BiqgXxJP.js → provider-auth-helpers-DhziUI1g.js} +6 -6
- package/dist/{provider-image-C5-IlVG0.js → provider-image-BXyzJKFR.js} +1 -1
- package/dist/{provider-image-BbsxRTqB.js → provider-image-DpILAK4L.js} +6 -6
- package/dist/{provider-image-mZ4mWjfm.js → provider-image-RrciW1DD.js} +6 -6
- package/dist/{proxy-DIf6ZG9s.js → proxy-BaYXOmCA.js} +1 -1
- package/dist/{proxy-FZnR0j7S.js → proxy-CXiTHFXk.js} +1 -1
- package/dist/{proxy-env-DMj9RqDZ.js → proxy-env-B_4G-Zvx.js} +1 -1
- package/dist/{proxy-fetch-BSYUeKDC.js → proxy-fetch-BdB5Hb7r.js} +1 -1
- package/dist/{proxy-fetch-CeK1ZBeq.js → proxy-fetch-DxABZ-6S.js} +1 -1
- package/dist/{push-apns-BAZ2gS1A.js → push-apns-C_8RshML.js} +10 -10
- package/dist/{pw-ai-C1CsyDRn.js → pw-ai-B9xme0Pq.js} +1 -1
- package/dist/{pw-ai-DV1vh3L9.js → pw-ai-BJm46rii.js} +11 -11
- package/dist/{pw-ai-CVNyf8Ps.js → pw-ai-cXnI0RSD.js} +21 -21
- package/dist/{qmd-manager-ZfBaKzRa.js → qmd-manager-5DFozdW5.js} +8 -8
- package/dist/{qmd-manager-DiABKT7O.js → qmd-manager-BQrWBuxv.js} +25 -25
- package/dist/{qr-cli-DGTUy-aw.js → qr-cli-BCEk7nPF.js} +8 -8
- package/dist/{query-expansion-BcXh1Hyc.js → query-expansion-96au1v0j.js} +14 -14
- package/dist/{query-expansion-BHpPid-F.js → query-expansion-AnpCkyvK.js} +2 -2
- package/dist/{reconcile-bundled-B64Cy2I8.js → reconcile-bundled-BN_64UUh.js} +3 -3
- package/dist/{recorder-BiGPFc4h.js → recorder-BdRGbnWA.js} +4 -4
- package/dist/{recorder-wcIhZTuf.js → recorder-CQ4TEexc.js} +4 -4
- package/dist/{recovery-adapter-DXIa6Q_V.js → recovery-adapter-B2XqKqkY.js} +7 -7
- package/dist/{recovery-adapter-CLaKhchi.js → recovery-adapter-G2cG0rVa.js} +3 -3
- package/dist/{recovery-adapter-DdG68ESY.js → recovery-adapter-T9ng5nO9.js} +3 -3
- package/dist/{recovery-prompt-ksHwpSU2.js → recovery-prompt-9MKTTZMu.js} +1 -1
- package/dist/{redact-CNUi9G7H.js → redact-CFlw_DPT.js} +2 -2
- package/dist/{redact-snapshot-Blr7A6nM.js → redact-snapshot-Dea1X-KK.js} +2 -2
- package/dist/{register.agent-BftkCSzq.js → register.agent-70W8aMjZ.js} +128 -128
- package/dist/register.configure-Dw8LtvvS.js +170 -0
- package/dist/{register.maintenance-DLvVIgj7.js → register.maintenance-BUn0KquU.js} +129 -129
- package/dist/{register.message-BkfkSHmX.js → register.message-B90VvAa9.js} +103 -103
- package/dist/{register.onboard-CoQl5Y0I.js → register.onboard-CvtqqARL.js} +24 -24
- package/dist/{register.setup-DLKvWced.js → register.setup-NvomFGXG.js} +27 -27
- package/dist/{register.status-health-sessions-BXjWk0Rf.js → register.status-health-sessions-raLVwOhK.js} +120 -120
- package/dist/{replay-DEbuRxsV.js → replay-BNSm4qb0.js} +1 -1
- package/dist/{replies-BaVRDgoi.js → replies-CX9Xycso.js} +4 -4
- package/dist/{replies-sGMpONzr.js → replies-CyFLfpjN.js} +4 -4
- package/dist/{reply-B_ZnZCbr.js → reply-BBWUbEms.js} +189 -189
- package/dist/{reply-directives-VihT5tNP.js → reply-directives-Ba6CeI2G.js} +2 -2
- package/dist/{reply-directives-DAFMLUk3.js → reply-directives-MYQDM4s1.js} +2 -2
- package/dist/{reply-prefix-C9ItOkY0.js → reply-prefix-DIYk1Bw7.js} +1 -1
- package/dist/{reply-prefix-C_GmvupX.js → reply-prefix-JMlWztfO.js} +1 -1
- package/dist/{resolve-route-ESAi6vf5.js → resolve-route-CgDtn6OF.js} +5 -5
- package/dist/{resolve-route-DItBlJTa.js → resolve-route-D59i7uq2.js} +5 -5
- package/dist/{rpc-C7PAon6G.js → rpc-Bb2CwMXM.js} +3 -3
- package/dist/{runs-BAWrhAPG.js → runs-D22rrc2J.js} +8 -8
- package/dist/{runs-DAxZxrkH.js → runs-PqmTA3bR.js} +7 -7
- package/dist/{runs-kMwrTbuD.js → runs-s2c7mYPm.js} +3 -3
- package/dist/{runtime-C2XMT9jZ.js → runtime-9MDCiTo5.js} +4 -4
- package/dist/{runtime-config-collectors-D8giqZX1.js → runtime-config-collectors-DsDVTJ9L.js} +1 -1
- package/dist/{runtime-guard-Ce3hA73q.js → runtime-guard-aqfwJvKU.js} +1 -1
- package/dist/{sandbox-CaDaMuIS.js → sandbox-72tGhoFB.js} +19 -19
- package/dist/{sandbox-cli-D09-_MhG.js → sandbox-cli-P_SvHFh0.js} +29 -29
- package/dist/{secrets-cli-D1rwgI_i.js → secrets-cli-BfWs6PM7.js} +19 -19
- package/dist/{security-cli-DQbLcpvg.js → security-cli-bCnaX9U1.js} +46 -46
- package/dist/{send-st-VqnD1.js → send-BetYjLRt.js} +6 -6
- package/dist/{send-9_nNhllu.js → send-CgOqje6b.js} +14 -14
- package/dist/{send-CSeSlBgP.js → send-D3ylt51d.js} +13 -13
- package/dist/{send-BYpMIfkf.js → send-DFDs0YVo.js} +8 -8
- package/dist/{send-xSaCPdp5.js → send-DIo9GaAd.js} +6 -6
- package/dist/{send-n4HUnjJL.js → send-DQKTiyZo.js} +14 -14
- package/dist/{send-Dlz0xalZ.js → send-DQsInb-M.js} +6 -6
- package/dist/{send-BHuAEQE3.js → send-DoMFLnPv.js} +1 -1
- package/dist/{send-DbTOnKy8.js → send-EUMoqR5x.js} +6 -6
- package/dist/{send-CvwC56PP.js → send-NC1Swsc7.js} +7 -7
- package/dist/{send-CUUoNRjN.js → send-isYw7gNy.js} +7 -7
- package/dist/{server-DNrc5ufA.js → server-COf8596I.js} +27 -27
- package/dist/{server-context-hLmBApV6.js → server-context-DPXHpsDT.js} +12 -12
- package/dist/{server-lifecycle-CuLYk0SE.js → server-lifecycle-BiT2RK1-.js} +3 -3
- package/dist/{server-middleware-DGHNQp4r.js → server-middleware-CJid88Uz.js} +1 -1
- package/dist/{server-node-events-32NLKlcp.js → server-node-events-DmNKXZqH.js} +103 -103
- package/dist/{service-CjlQTRXS.js → service-BYi3UODF.js} +15 -15
- package/dist/{session-consumer-agents-Tp24W-mn.js → session-consumer-agents-BNkbq0X0.js} +1 -1
- package/dist/{session-consumer-claim-sweep-DTdZIrGU.js → session-consumer-claim-sweep-qTcERA_U.js} +10 -10
- package/dist/{session-cost-usage-C8x0Ma2X.js → session-cost-usage-BuaT9Epp.js} +3 -3
- package/dist/{session-key-DeVMAKRZ.js → session-key-BxmJDkEI.js} +1 -1
- package/dist/{session-key-resolution-bGrvOHtd.js → session-key-resolution-4d3BG0mA.js} +5 -5
- package/dist/{session-meta-B70hyZ6H.js → session-meta-B2VOXhYi.js} +2 -2
- package/dist/{session-meta-Dhf9REA2.js → session-meta-qJ09DaOQ.js} +2 -2
- package/dist/{session-storage-BKoYylot.js → session-storage-v3yHC3M6.js} +9 -9
- package/dist/{sessions-oXRiWY1z.js → sessions-D_Z9ewVp.js} +18 -18
- package/dist/{sessions-claims-status-COBv4-9y.js → sessions-claims-status-BlZz_25A.js} +14 -14
- package/dist/{shared-CdvXdH5h.js → shared-BxpBpS9X.js} +2 -2
- package/dist/{shared-BzyqCGAR.js → shared-C8TVt9Tv.js} +4 -4
- package/dist/{skill-commands-DFbO0Pwj.js → skill-commands-BjOR0izt.js} +5 -5
- package/dist/{skill-commands-CcC4TPnA.js → skill-commands-D3U8ty_X.js} +7 -7
- package/dist/{skill-scanner-CtZuUDBn.js → skill-scanner-XMBq6JrQ.js} +7 -7
- package/dist/{skills-DX80qJzU.js → skills-BJ7s0Wfe.js} +6 -6
- package/dist/{skills-CD8SFzX0.js → skills-DueobKPc.js} +6 -6
- package/dist/{skills-cli-7_VZ_au1.js → skills-cli-Dt-g2aoD.js} +12 -12
- package/dist/{skills-install-O8JPmNxm.js → skills-install-CQfmtCLR.js} +9 -9
- package/dist/{skills-status-BE_oa3Dd.js → skills-status-Du76K8bv.js} +3 -3
- package/dist/{ssrf-DjjqWxdp.js → ssrf-CUBo6TIZ.js} +1 -1
- package/dist/{status--Lvi3tz9.js → status-C3eqPaNb.js} +38 -38
- package/dist/{status.update-CWMFCByv.js → status.update-BlFaGKuA.js} +2 -2
- package/dist/{store-CGnsRznR.js → store-DS83zC6I.js} +7 -7
- package/dist/{store-DIKyCinG.js → store-DwfBHQl9.js} +2 -2
- package/dist/{subsystem-BCjklMkJ.js → subsystem-CnnjiGCl.js} +4 -4
- package/dist/{subsystem-DU1uzmTH.js → subsystem-Cwzs7yN0.js} +1 -1
- package/dist/{supervisor-8TdOYzAn.js → supervisor-BkHwVnJ0.js} +2 -2
- package/dist/{supervisor-recovery-adapter-DvR4we0D.js → supervisor-recovery-adapter-Cmw-7toT.js} +10 -10
- package/dist/{system-cli-BJG4flcz.js → system-cli-DZo_Xeus.js} +16 -16
- package/dist/{system-run-command-B9eoNN_E.js → system-run-command-BCygkYAm.js} +2 -2
- package/dist/{systemd-BuE-CYAD.js → systemd-BD_TMCHG.js} +11 -11
- package/dist/{systemd-hints-_4BTlat8.js → systemd-hints-hI4IEn0G.js} +9 -9
- package/dist/{systemd-linger-BCLLdRLW.js → systemd-linger-CzdYcYLi.js} +2 -2
- package/dist/{table-BZCTLfip.js → table-WoBQBfIP.js} +2 -2
- package/dist/{tables-BvxLmMF8.js → tables-CwG3ab8g.js} +1 -1
- package/dist/{tables-D07R1ft9.js → tables-Dzfx8UwI.js} +1 -1
- package/dist/{tailnet-DZu3euUT.js → tailnet-CQ7A44gN.js} +1 -1
- package/dist/{tailscale--cedl8k7.js → tailscale-DfhEC7E3.js} +3 -3
- package/dist/{task-pipeline-boot-vMI_gNlk.js → task-pipeline-boot-h8Guy4BE.js} +102 -102
- package/dist/{task-runlog-retention-BE0zP95z.js → task-runlog-retention-AeS4_zJ9.js} +5 -5
- package/dist/{tasks-BWHXch35.js → tasks-CA7n154j.js} +14 -14
- package/dist/{tokens-9Mla_HDp.js → tokens-CtSIDTuO.js} +1 -1
- package/dist/{tokens-BkGFSf77.js → tokens-D0Wagzn5.js} +1 -1
- package/dist/{tool-display-D2nTy2g3.js → tool-display-B_gL6TP4.js} +1 -1
- package/dist/{tool-loop-detection-dvzbYw_Z.js → tool-loop-detection-B_KXzW0J.js} +2 -2
- package/dist/{tool-loop-detection-8uvf8mSd.js → tool-loop-detection-CAixnaA2.js} +1 -1
- package/dist/{trash-DWehd5bk.js → trash-B2rgeHwV.js} +3 -3
- package/dist/{tui-BA_R7cVj.js → tui-BkUR35kr.js} +9 -9
- package/dist/{tui-cli-DhmKosuh.js → tui-cli-Dx8Rq2LS.js} +34 -34
- package/dist/{update-FpPZoisy.js → update-BD9vD-O3.js} +3 -3
- package/dist/{update-cli-DPr6FZQx.js → update-cli-CtGdmnAx.js} +139 -139
- package/dist/{update-runner-CP_x4nIG.js → update-runner-CRgsunyU.js} +18 -18
- package/dist/{user-run-recording-CB_RnvEh.js → user-run-recording-CboLnb8e.js} +2 -2
- package/dist/{user-run-recording-Bw40Tyil.js → user-run-recording-Cx6DoQwH.js} +2 -2
- package/dist/{utils-CfKD3xTt.js → utils-RlDPCeiE.js} +7 -7
- package/dist/{validation-cli-BLYVzQJW.js → validation-cli-CP7Wtoi4.js} +102 -102
- package/dist/{web-cli-DmXJYuSq.js → web-cli-Cqrw6g5k.js} +3 -3
- package/dist/{web-client-assets-CISlpYd9.js → web-client-assets-BC6Q9ril.js} +1 -1
- package/dist/{webhooks-cli-GjZJ14FF.js → webhooks-cli-DO81W6GV.js} +13 -13
- package/dist/{widearea-dns-FDkEBJ9c.js → widearea-dns-BfsfK5rQ.js} +1 -1
- package/dist/{with-timeout-D2Gp5kcM.js → with-timeout-Cpd_eIHB.js} +6 -6
- package/dist/{workspace-pXJaZvDa.js → workspace-Btbae6MM.js} +2 -2
- package/dist/{workspace-DwaGPsZ8.js → workspace-DpuyoXQY.js} +2 -2
- package/dist/{workspace-dirs-DWQAyUTc.js → workspace-dirs-De3z5PEp.js} +1 -1
- package/dist/{ws-BkTpOVYX.js → ws-1r6e9Dys.js} +2 -2
- package/dist/{wsl-ypAd8C-g.js → wsl-D6pCsktY.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/clawbot-cli-WGBrdTF4.js +0 -36
- package/dist/cli-NNNYfyG4.js +0 -166
- package/dist/register.configure-Dt0U1PJD.js +0 -170
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import { Aa as writeDisposition, Sa as resumeManifests, ga as clearManifest, ha as advancePhase, pa as archiveReplayedSource } from "./model-selection-
|
|
2
|
+
import "./utils-RlDPCeiE.js";
|
|
3
|
+
import "./agent-scope-C7A_L0Z6.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import "./logger-BSEmTtz1.js";
|
|
6
|
+
import "./exec-g-Nx0X6p.js";
|
|
7
|
+
import { Aa as writeDisposition, Sa as resumeManifests, ga as clearManifest, ha as advancePhase, pa as archiveReplayedSource } from "./model-selection-Xe4QEYsC.js";
|
|
8
8
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
9
|
-
import "./pid-alive-
|
|
9
|
+
import "./pid-alive-C3qbS2SA.js";
|
|
10
10
|
import "./boolean-C6Pbt2Ue.js";
|
|
11
|
-
import "./env-
|
|
11
|
+
import "./env-uQrKrEGz.js";
|
|
12
12
|
import "./version-C459_ZQ5.js";
|
|
13
|
-
import "./artifacts-
|
|
13
|
+
import "./artifacts-CSUzSsVF.js";
|
|
14
14
|
import "./retry-policy-FBwX2QEP.js";
|
|
15
15
|
import "./task-run-types-B6n0W8Rb.js";
|
|
16
16
|
import "./redact-B7cMn_vp.js";
|
|
17
17
|
import "./errors-CtrilAlY.js";
|
|
18
18
|
import "./static-server-DQBHPXOZ.js";
|
|
19
|
-
import { o as replaySource } from "./replay-
|
|
19
|
+
import { o as replaySource } from "./replay-BNSm4qb0.js";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fs from "node:fs/promises";
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
23
23
|
|
|
24
24
|
//#region src/config/sessions/recovery/live-repair.ts
|
|
@@ -49,7 +49,7 @@ function identityKeyOf(record) {
|
|
|
49
49
|
async function fileIdentity(filePath) {
|
|
50
50
|
let bytes;
|
|
51
51
|
try {
|
|
52
|
-
bytes = await
|
|
52
|
+
bytes = await fs.readFile(filePath);
|
|
53
53
|
} catch {
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
@@ -143,7 +143,7 @@ async function runLiveRepair(deps) {
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const replayRow = async (record) => {
|
|
146
|
-
const raw = await
|
|
146
|
+
const raw = await fs.readFile(record.canonicalPath, "utf8");
|
|
147
147
|
return (await replaySource({
|
|
148
148
|
ctxStore: conversationStore,
|
|
149
149
|
manifest: record,
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId } from "./agent-scope-B5BtLhIC.js";
|
|
2
2
|
import "./paths-Cvc9EM8Y.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { bo as DEFAULT_PROVIDER, l as parseModelRef, yo as DEFAULT_MODEL } from "./model-selection-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CnnjiGCl.js";
|
|
4
|
+
import "./workspace-DpuyoXQY.js";
|
|
5
|
+
import "./logger-uA4S-xj7.js";
|
|
6
|
+
import { bo as DEFAULT_PROVIDER, l as parseModelRef, yo as DEFAULT_MODEL } from "./model-selection-RcRokpsG.js";
|
|
7
7
|
import "./github-copilot-token-WSjo05vB.js";
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./redact-
|
|
10
|
-
import "./send-
|
|
11
|
-
import "./send-
|
|
12
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
13
|
-
import "./agent-turn-runner-
|
|
14
|
-
import "./tokens-
|
|
15
|
-
import "./outbound-message-hooks-
|
|
16
|
-
import "./diagnostic-
|
|
8
|
+
import "./legacy-names-DnKoTzf4.js";
|
|
9
|
+
import "./redact-CFlw_DPT.js";
|
|
10
|
+
import "./send-NC1Swsc7.js";
|
|
11
|
+
import "./send-DFDs0YVo.js";
|
|
12
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-OmBDo0DF.js";
|
|
13
|
+
import "./agent-turn-runner-iiGV_xDS.js";
|
|
14
|
+
import "./tokens-CtSIDTuO.js";
|
|
15
|
+
import "./outbound-message-hooks-DJIHczZE.js";
|
|
16
|
+
import "./diagnostic-CGl139nm.js";
|
|
17
17
|
import "./diagnostic-session-state-Bnyx-w0F.js";
|
|
18
|
-
import "./command-queue-
|
|
19
|
-
import "./send-
|
|
20
|
-
import "./image-ops-
|
|
21
|
-
import "./pi-model-discovery-
|
|
22
|
-
import "./chat-content-
|
|
23
|
-
import "./chrome-
|
|
24
|
-
import "./frontmatter-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./path-alias-guards-
|
|
27
|
-
import "./fs-safe-
|
|
28
|
-
import "./proxy-env-
|
|
29
|
-
import "./store-
|
|
18
|
+
import "./command-queue-Bwh4Cjht.js";
|
|
19
|
+
import "./send-D3ylt51d.js";
|
|
20
|
+
import "./image-ops-BM9FiJs0.js";
|
|
21
|
+
import "./pi-model-discovery-RM-t2m70.js";
|
|
22
|
+
import "./chat-content-CpbqvcYj.js";
|
|
23
|
+
import "./chrome-QHHEijm4.js";
|
|
24
|
+
import "./frontmatter-AubDiZG0.js";
|
|
25
|
+
import "./skills-BJ7s0Wfe.js";
|
|
26
|
+
import "./path-alias-guards-CM0vBH_Z.js";
|
|
27
|
+
import "./fs-safe-Ckd0hSqX.js";
|
|
28
|
+
import "./proxy-env-B_4G-Zvx.js";
|
|
29
|
+
import "./store-DwfBHQl9.js";
|
|
30
30
|
import "./thinking-ByzpB79Q.js";
|
|
31
|
-
import "./models-config-
|
|
32
|
-
import "./audio-transcription-runner-
|
|
33
|
-
import "./pi-embedded-utils-
|
|
34
|
-
import "./provider-image-
|
|
35
|
-
import "./fetch-
|
|
36
|
-
import "./fetch-guard-
|
|
37
|
-
import "./proxy-fetch-
|
|
38
|
-
import "./api-key-rotation-
|
|
39
|
-
import "./reply-prefix-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./markdown-tables-
|
|
42
|
-
import "./ir-
|
|
31
|
+
import "./models-config-xlk6m7OT.js";
|
|
32
|
+
import "./audio-transcription-runner-DskeI69N.js";
|
|
33
|
+
import "./pi-embedded-utils-BRaMXyni.js";
|
|
34
|
+
import "./provider-image-RrciW1DD.js";
|
|
35
|
+
import "./fetch-fy8exuqj.js";
|
|
36
|
+
import "./fetch-guard-tWQjMK2l.js";
|
|
37
|
+
import "./proxy-fetch-BdB5Hb7r.js";
|
|
38
|
+
import "./api-key-rotation-DLl0JScq.js";
|
|
39
|
+
import "./reply-prefix-JMlWztfO.js";
|
|
40
|
+
import "./chunk-DjzPpjFE.js";
|
|
41
|
+
import "./markdown-tables-BhZ9rtSx.js";
|
|
42
|
+
import "./ir-YDUZgbxp.js";
|
|
43
43
|
import "./render-BZdJrUxT.js";
|
|
44
|
-
import "./commands-registry-
|
|
45
|
-
import "./user-run-recording-
|
|
46
|
-
import "./recorder-
|
|
47
|
-
import "./skill-commands-
|
|
48
|
-
import "./runs-
|
|
49
|
-
import "./deliver-
|
|
44
|
+
import "./commands-registry-Ccpns1_9.js";
|
|
45
|
+
import "./user-run-recording-Cx6DoQwH.js";
|
|
46
|
+
import "./recorder-CQ4TEexc.js";
|
|
47
|
+
import "./skill-commands-BjOR0izt.js";
|
|
48
|
+
import "./runs-PqmTA3bR.js";
|
|
49
|
+
import "./deliver-Bm3KCC7N.js";
|
|
50
50
|
import "./fetch-DiSGHy2U.js";
|
|
51
|
-
import "./channel-activity-
|
|
52
|
-
import "./tables-
|
|
53
|
-
import "./reply-directives-
|
|
54
|
-
import "./send-
|
|
55
|
-
import "./outbound-attachment-
|
|
56
|
-
import "./send-
|
|
57
|
-
import "./resolve-route-
|
|
58
|
-
import "./proxy-
|
|
59
|
-
import "./replies-
|
|
60
|
-
import "./session-meta-
|
|
61
|
-
import "./manager-
|
|
62
|
-
import "./query-expansion-
|
|
51
|
+
import "./channel-activity-D6C30I8U.js";
|
|
52
|
+
import "./tables-CwG3ab8g.js";
|
|
53
|
+
import "./reply-directives-Ba6CeI2G.js";
|
|
54
|
+
import "./send-DIo9GaAd.js";
|
|
55
|
+
import "./outbound-attachment-papyIJq7.js";
|
|
56
|
+
import "./send-BetYjLRt.js";
|
|
57
|
+
import "./resolve-route-CgDtn6OF.js";
|
|
58
|
+
import "./proxy-BaYXOmCA.js";
|
|
59
|
+
import "./replies-CyFLfpjN.js";
|
|
60
|
+
import "./session-meta-qJ09DaOQ.js";
|
|
61
|
+
import "./manager-CAhprKqm.js";
|
|
62
|
+
import "./query-expansion-AnpCkyvK.js";
|
|
63
63
|
import fs from "node:fs/promises";
|
|
64
64
|
import os from "node:os";
|
|
65
65
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { jt as resolvePreferredOpenClawTmpDir } from "./utils-
|
|
3
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { Nt as loadConfig } from "./model-selection-
|
|
2
|
+
import { jt as resolvePreferredOpenClawTmpDir } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
4
|
+
import { Nt as loadConfig } from "./model-selection-Xe4QEYsC.js";
|
|
5
5
|
import { n as redactSensitiveText } from "./redact-B7cMn_vp.js";
|
|
6
6
|
import { r as formatErrorChainMessage } from "./errors-CtrilAlY.js";
|
|
7
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CfI8OeSj.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DhnW7HyB.js";
|
|
9
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
9
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-C0lTPxIN.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
|
|
12
12
|
//#region src/media/read-response-with-limit.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { U as formatLocalDate, r as clamp } from "./utils-
|
|
1
|
+
import { U as formatLocalDate, r as clamp } from "./utils-RlDPCeiE.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/log-tail.ts
|
|
6
6
|
const MAX_LIMIT = 5e3;
|
|
@@ -10,14 +10,14 @@ function isRollingLogFile(file) {
|
|
|
10
10
|
return ROLLING_LOG_RE.test(path.basename(file));
|
|
11
11
|
}
|
|
12
12
|
async function resolveActiveLogFile(file) {
|
|
13
|
-
if (await
|
|
13
|
+
if (await fs.stat(file).catch(() => null)) return file;
|
|
14
14
|
if (!isRollingLogFile(file)) return file;
|
|
15
15
|
const dir = path.dirname(file);
|
|
16
|
-
const entries = await
|
|
16
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => null);
|
|
17
17
|
if (!entries) return file;
|
|
18
18
|
return (await Promise.all(entries.filter((entry) => entry.isFile() && ROLLING_LOG_RE.test(entry.name)).map(async (entry) => {
|
|
19
19
|
const fullPath = path.join(dir, entry.name);
|
|
20
|
-
const fileStat = await
|
|
20
|
+
const fileStat = await fs.stat(fullPath).catch(() => null);
|
|
21
21
|
return fileStat ? {
|
|
22
22
|
path: fullPath,
|
|
23
23
|
mtimeMs: fileStat.mtimeMs
|
|
@@ -25,7 +25,7 @@ async function resolveActiveLogFile(file) {
|
|
|
25
25
|
}))).filter((entry) => Boolean(entry)).toSorted((a, b) => b.mtimeMs - a.mtimeMs)[0]?.path ?? file;
|
|
26
26
|
}
|
|
27
27
|
async function readLogSlice(params) {
|
|
28
|
-
const stat = await
|
|
28
|
+
const stat = await fs.stat(params.file).catch(() => null);
|
|
29
29
|
if (!stat) return {
|
|
30
30
|
cursor: 0,
|
|
31
31
|
size: 0,
|
|
@@ -33,7 +33,7 @@ async function readLogSlice(params) {
|
|
|
33
33
|
truncated: false,
|
|
34
34
|
reset: false
|
|
35
35
|
};
|
|
36
|
-
const handle = await
|
|
36
|
+
const handle = await fs.open(params.file, "r");
|
|
37
37
|
try {
|
|
38
38
|
return await readLogSliceFromHandle(handle, stat.size, params);
|
|
39
39
|
} finally {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as warn, R as getLogger, T as info, k as logVerboseConsole, w as danger } from "./utils-
|
|
2
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { N as warn, R as getLogger, T as info, k as logVerboseConsole, w as danger } from "./utils-RlDPCeiE.js";
|
|
2
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
3
3
|
|
|
4
4
|
//#region src/logger.ts
|
|
5
5
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as info, g as warn, o as defaultRuntime, p as logVerboseConsole, t as createSubsystemLogger, u as danger, x as getLogger } from "./subsystem-
|
|
1
|
+
import { d as info, g as warn, o as defaultRuntime, p as logVerboseConsole, t as createSubsystemLogger, u as danger, x as getLogger } from "./subsystem-CnnjiGCl.js";
|
|
2
2
|
|
|
3
3
|
//#region src/logger.ts
|
|
4
4
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { o as displayPath } from "./utils-
|
|
3
|
+
import { o as displayPath } from "./utils-RlDPCeiE.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/logging.ts
|
|
6
6
|
var logging_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { F as isRich, H as isValidTimeZone, I as theme, P as colorize, V as formatLocalIsoWithOffset, z as getResolvedLoggerSettings } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { g as clearActiveProgressLine } from "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import { Nt as loadConfig } from "./model-selection-
|
|
2
|
+
import { F as isRich, H as isValidTimeZone, I as theme, P as colorize, V as formatLocalIsoWithOffset, z as getResolvedLoggerSettings } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import "./agent-scope-C7A_L0Z6.js";
|
|
4
|
+
import { g as clearActiveProgressLine } from "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import "./logger-BSEmTtz1.js";
|
|
6
|
+
import "./exec-g-Nx0X6p.js";
|
|
7
|
+
import { Nt as loadConfig } from "./model-selection-Xe4QEYsC.js";
|
|
8
8
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
9
|
-
import "./pid-alive-
|
|
9
|
+
import "./pid-alive-C3qbS2SA.js";
|
|
10
10
|
import "./boolean-C6Pbt2Ue.js";
|
|
11
|
-
import "./env-
|
|
11
|
+
import "./env-uQrKrEGz.js";
|
|
12
12
|
import "./version-C459_ZQ5.js";
|
|
13
|
-
import "./artifacts-
|
|
13
|
+
import "./artifacts-CSUzSsVF.js";
|
|
14
14
|
import "./retry-policy-FBwX2QEP.js";
|
|
15
15
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
16
16
|
import "./task-run-types-B6n0W8Rb.js";
|
|
17
17
|
import "./redact-B7cMn_vp.js";
|
|
18
18
|
import "./errors-CtrilAlY.js";
|
|
19
19
|
import "./static-server-DQBHPXOZ.js";
|
|
20
|
-
import "./tailnet-
|
|
21
|
-
import "./ws-
|
|
22
|
-
import "./client-
|
|
23
|
-
import { b as resolveLeastPrivilegeOperatorScopesForMethod, t as buildGatewayConnectionDetails } from "./call-
|
|
20
|
+
import "./tailnet-CQ7A44gN.js";
|
|
21
|
+
import "./ws-1r6e9Dys.js";
|
|
22
|
+
import "./client-CfK_daL3.js";
|
|
23
|
+
import { b as resolveLeastPrivilegeOperatorScopesForMethod, t as buildGatewayConnectionDetails } from "./call-DcUNQRRs.js";
|
|
24
24
|
import "./pairing-token-BgE_TsqE.js";
|
|
25
|
-
import { t as formatDocsLink } from "./links-
|
|
26
|
-
import "./progress-
|
|
27
|
-
import { n as callGatewayFromCli, r as openGatewayCliSessionFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
25
|
+
import { t as formatDocsLink } from "./links-DA_gi3gE.js";
|
|
26
|
+
import "./progress-Cbn-oYkW.js";
|
|
27
|
+
import { n as callGatewayFromCli, r as openGatewayCliSessionFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CiALr93w.js";
|
|
28
28
|
import { t as parseLogLine } from "./parse-log-line-68J0mrtc.js";
|
|
29
|
-
import { i as resolveActiveLogFile, r as readLogSliceFromHandle, t as createLogFileResolver } from "./log-tail
|
|
30
|
-
import
|
|
29
|
+
import { i as resolveActiveLogFile, r as readLogSliceFromHandle, t as createLogFileResolver } from "./log-tail-FFb_BPrV.js";
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
import { setTimeout } from "node:timers/promises";
|
|
32
32
|
import { StringDecoder } from "node:string_decoder";
|
|
33
33
|
|
|
@@ -38,7 +38,7 @@ const MAX_PARTIAL_BYTES = 1048576;
|
|
|
38
38
|
async function tryOpen(file) {
|
|
39
39
|
let handle;
|
|
40
40
|
try {
|
|
41
|
-
handle = await
|
|
41
|
+
handle = await fs.open(file, "r");
|
|
42
42
|
} catch {
|
|
43
43
|
return null;
|
|
44
44
|
}
|
|
@@ -164,7 +164,7 @@ async function followLogFile(opts, emit) {
|
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
166
|
const target = await opts.resolveFile();
|
|
167
|
-
const st = await
|
|
167
|
+
const st = await fs.stat(target).catch(() => null);
|
|
168
168
|
if (!state.handle) {
|
|
169
169
|
if (st) {
|
|
170
170
|
const opened = await tryOpen(target);
|
|
@@ -412,7 +412,7 @@ async function resolveFollowSource(opts) {
|
|
|
412
412
|
const configuredFile = getResolvedLoggerSettings().file;
|
|
413
413
|
try {
|
|
414
414
|
const resolved = await resolveActiveLogFile(configuredFile);
|
|
415
|
-
await
|
|
415
|
+
await fs.access(resolved, fs.constants.R_OK);
|
|
416
416
|
return {
|
|
417
417
|
kind: "file",
|
|
418
418
|
configuredFile
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-B5BtLhIC.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
|
|
4
|
-
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { A as requireApiKey, M as resolveEnvApiKey, U as loadConfig, ar as formatErrorMessage, do as normalizeOptionalSecretInput, eo as isTruthyEnvValue, ho as normalizeResolvedSecretInputString, j as resolveApiKeyForProvider, tr as onSessionTranscriptUpdate, x as retryAsync } from "./model-selection-
|
|
6
|
-
import { h as resolveSessionTranscriptsDirForAgent } from "./redact-
|
|
4
|
+
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-CnnjiGCl.js";
|
|
5
|
+
import { A as requireApiKey, M as resolveEnvApiKey, U as loadConfig, ar as formatErrorMessage, do as normalizeOptionalSecretInput, eo as isTruthyEnvValue, ho as normalizeResolvedSecretInputString, j as resolveApiKeyForProvider, tr as onSessionTranscriptUpdate, x as retryAsync } from "./model-selection-RcRokpsG.js";
|
|
6
|
+
import { h as resolveSessionTranscriptsDirForAgent } from "./redact-CFlw_DPT.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CWMxbvLB.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-tWQjMK2l.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DLl0JScq.js";
|
|
10
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-AnpCkyvK.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { C as truncateUtf16Safe, a as clampNumber, g as resolveUserPath, i as clampInt } from "./utils-
|
|
4
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { B as retryAsync, Nt as loadConfig, Qu as normalizeOptionalSecretInput, at as resolveEnvApiKey, eo as onSessionTranscriptUpdate, nt as requireApiKey, od as normalizeResolvedSecretInputString, rt as resolveApiKeyForProvider } from "./model-selection-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-
|
|
3
|
+
import { C as truncateUtf16Safe, a as clampNumber, g as resolveUserPath, i as clampInt } from "./utils-RlDPCeiE.js";
|
|
4
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
6
|
+
import { B as retryAsync, Nt as loadConfig, Qu as normalizeOptionalSecretInput, at as resolveEnvApiKey, eo as onSessionTranscriptUpdate, nt as requireApiKey, od as normalizeResolvedSecretInputString, rt as resolveApiKeyForProvider } from "./model-selection-Xe4QEYsC.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-uQrKrEGz.js";
|
|
8
|
+
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-CSUzSsVF.js";
|
|
9
9
|
import { i as formatErrorMessage } from "./errors-CtrilAlY.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CfI8OeSj.js";
|
|
11
11
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DhnW7HyB.js";
|
|
12
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
13
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
12
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-Vhef3tyV.js";
|
|
13
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-96au1v0j.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs/promises";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import chokidar from "chokidar";
|
|
@@ -1078,7 +1078,7 @@ async function extractTimestamp(params) {
|
|
|
1078
1078
|
if (!params.workspaceDir) return null;
|
|
1079
1079
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1080
1080
|
try {
|
|
1081
|
-
const stat = await
|
|
1081
|
+
const stat = await fs$1.stat(absolutePath);
|
|
1082
1082
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1083
1083
|
return new Date(stat.mtimeMs);
|
|
1084
1084
|
} catch {
|
|
@@ -2239,7 +2239,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2239
2239
|
const source = `${sourceBase}${suffix}`;
|
|
2240
2240
|
const target = `${targetBase}${suffix}`;
|
|
2241
2241
|
try {
|
|
2242
|
-
await
|
|
2242
|
+
await fs$1.rename(source, target);
|
|
2243
2243
|
} catch (err) {
|
|
2244
2244
|
if (err.code !== "ENOENT") throw err;
|
|
2245
2245
|
}
|
|
@@ -2250,7 +2250,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2250
2250
|
"",
|
|
2251
2251
|
"-wal",
|
|
2252
2252
|
"-shm"
|
|
2253
|
-
].map((suffix) =>
|
|
2253
|
+
].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
|
|
2254
2254
|
}
|
|
2255
2255
|
ensureSchema() {
|
|
2256
2256
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2345,7 +2345,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2345
2345
|
if (!thresholds) return null;
|
|
2346
2346
|
let stat;
|
|
2347
2347
|
try {
|
|
2348
|
-
stat = await
|
|
2348
|
+
stat = await fs$1.stat(sessionFile);
|
|
2349
2349
|
} catch {
|
|
2350
2350
|
return null;
|
|
2351
2351
|
}
|
|
@@ -2387,7 +2387,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2387
2387
|
if (end <= start) return 0;
|
|
2388
2388
|
let handle;
|
|
2389
2389
|
try {
|
|
2390
|
-
handle = await
|
|
2390
|
+
handle = await fs$1.open(absPath, "r");
|
|
2391
2391
|
} catch (err) {
|
|
2392
2392
|
if (isFileMissingError(err)) return 0;
|
|
2393
2393
|
throw err;
|
|
@@ -3330,7 +3330,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3330
3330
|
});
|
|
3331
3331
|
return;
|
|
3332
3332
|
}
|
|
3333
|
-
const content = options.content ?? await
|
|
3333
|
+
const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
|
|
3334
3334
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3335
3335
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3336
3336
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3749,7 +3749,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3749
3749
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3750
3750
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3751
3751
|
for (const additionalPath of additionalPaths) try {
|
|
3752
|
-
const stat = await
|
|
3752
|
+
const stat = await fs$1.lstat(additionalPath);
|
|
3753
3753
|
if (stat.isSymbolicLink()) continue;
|
|
3754
3754
|
if (stat.isDirectory()) {
|
|
3755
3755
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3774,7 +3774,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3774
3774
|
};
|
|
3775
3775
|
let content;
|
|
3776
3776
|
try {
|
|
3777
|
-
content = await
|
|
3777
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
3778
3778
|
} catch (err) {
|
|
3779
3779
|
if (isFileMissingError(err)) return {
|
|
3780
3780
|
text: "",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { O as logVerbose } from "./utils-
|
|
4
|
-
import { m as resolveSessionAgentId } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { I as parseAgentSessionKey, M as isAcpSessionKey, p as normalizeAgentId } from "./session-key-
|
|
7
|
-
import { Nt as loadConfig, ns as mergeSessionEntry, si as loadSessionStore, yi as updateSessionStore } from "./model-selection-
|
|
8
|
-
import { m as resolveStorePath } from "./artifacts-
|
|
3
|
+
import { O as logVerbose } from "./utils-RlDPCeiE.js";
|
|
4
|
+
import { m as resolveSessionAgentId } from "./agent-scope-C7A_L0Z6.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
6
|
+
import { I as parseAgentSessionKey, M as isAcpSessionKey, p as normalizeAgentId } from "./session-key-BxmJDkEI.js";
|
|
7
|
+
import { Nt as loadConfig, ns as mergeSessionEntry, si as loadSessionStore, yi as updateSessionStore } from "./model-selection-Xe4QEYsC.js";
|
|
8
|
+
import { m as resolveStorePath } from "./artifacts-CSUzSsVF.js";
|
|
9
9
|
import { t as redactIdentifier } from "./redact-identifier-CSPL9LuH.js";
|
|
10
|
-
import { l as isGatewayDraining } from "./command-queue-
|
|
11
|
-
import { t as startUserSessionRun } from "./user-run-recording-
|
|
10
|
+
import { l as isGatewayDraining } from "./command-queue-BeqPo1FP.js";
|
|
11
|
+
import { t as startUserSessionRun } from "./user-run-recording-CboLnb8e.js";
|
|
12
12
|
import { t as withTimeout } from "./with-timeout-_mEWvGRU.js";
|
|
13
13
|
import { t as KeyedAsyncQueue } from "./keyed-async-queue-C8wMGzFN.js";
|
|
14
14
|
import path, { isAbsolute } from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fs from "node:fs/promises";
|
|
16
16
|
|
|
17
17
|
//#region src/acp/runtime/errors.ts
|
|
18
18
|
const ACP_ERROR_CODES = [
|
|
@@ -635,7 +635,7 @@ async function resolveAgentSessionDirs(stateDir) {
|
|
|
635
635
|
const agentsDir = path.join(stateDir, "agents");
|
|
636
636
|
let entries = [];
|
|
637
637
|
try {
|
|
638
|
-
entries = await
|
|
638
|
+
entries = await fs.readdir(agentsDir, { withFileTypes: true });
|
|
639
639
|
} catch (err) {
|
|
640
640
|
if (err.code === "ENOENT") return [];
|
|
641
641
|
throw err;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { T as normalizeAccountId } from "./session-key-
|
|
3
|
-
import { ms as normalizeChannelId, tc as resolveAccountEntry } from "./model-selection-
|
|
2
|
+
import { T as normalizeAccountId } from "./session-key-BxmJDkEI.js";
|
|
3
|
+
import { ms as normalizeChannelId, tc as resolveAccountEntry } from "./model-selection-Xe4QEYsC.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { Di as resolveAccountEntry, Xr as normalizeChannelId } from "./model-selection-
|
|
2
|
+
import { R as normalizeAccountId } from "./workspace-DpuyoXQY.js";
|
|
3
|
+
import { Di as resolveAccountEntry, Xr as normalizeChannelId } from "./model-selection-RcRokpsG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|