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,14 +1,14 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { E as isVerbose } from "./utils-
|
|
3
|
-
import { V as sniffMimeFromBase64 } from "./reply-
|
|
4
|
-
import { c as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { I as parseAgentSessionKey } from "./session-key-
|
|
6
|
-
import { Ma as readJsonFile, Na as writeJsonAtomic, ja as createAsyncLock } from "./model-selection-
|
|
2
|
+
import { E as isVerbose } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import { V as sniffMimeFromBase64 } from "./reply-BBWUbEms.js";
|
|
4
|
+
import { c as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import { I as parseAgentSessionKey } from "./session-key-BxmJDkEI.js";
|
|
6
|
+
import { Ma as readJsonFile, Na as writeJsonAtomic, ja as createAsyncLock } from "./model-selection-Xe4QEYsC.js";
|
|
7
7
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-B7cMn_vp.js";
|
|
8
|
-
import { G as estimateBase64DecodedBytes } from "./pi-embedded-helpers-
|
|
9
|
-
import { i as saveMediaBuffer } from "./store-
|
|
8
|
+
import { G as estimateBase64DecodedBytes } from "./pi-embedded-helpers-CjMOJlwL.js";
|
|
9
|
+
import { i as saveMediaBuffer } from "./store-DS83zC6I.js";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
14
14
|
import http2 from "node:http2";
|
|
@@ -402,7 +402,7 @@ async function parseMessageWithAttachments(message, attachments, opts) {
|
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
} catch (error) {
|
|
405
|
-
await Promise.allSettled(savedPaths.map((savedPath) =>
|
|
405
|
+
await Promise.allSettled(savedPaths.map((savedPath) => fs.unlink(savedPath)));
|
|
406
406
|
throw error;
|
|
407
407
|
}
|
|
408
408
|
return {
|
|
@@ -564,7 +564,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
564
564
|
value: {
|
|
565
565
|
teamId,
|
|
566
566
|
keyId,
|
|
567
|
-
privateKey: normalizePrivateKey(await
|
|
567
|
+
privateKey: normalizePrivateKey(await fs.readFile(keyPath, "utf8"))
|
|
568
568
|
}
|
|
569
569
|
};
|
|
570
570
|
} catch (err) {
|
|
@@ -5,7 +5,7 @@ import "./logger-KgEcdxzc.js";
|
|
|
5
5
|
import { lr as formatErrorMessage, xi as formatCliCommand } from "./model-selection-DSn9ivMK.js";
|
|
6
6
|
import "./github-copilot-token-Wgn3tC_h.js";
|
|
7
7
|
import "./redact-CcXQzMDq.js";
|
|
8
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
8
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-3_0KrCjl.js";
|
|
9
9
|
import "./path-alias-guards-DTXviWB0.js";
|
|
10
10
|
import { s as writeFileFromPathWithinRoot } from "./fs-safe-4C2TMvQJ.js";
|
|
11
11
|
import "./proxy-env-CSUORFjS.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
1
|
+
import "./agent-scope-B5BtLhIC.js";
|
|
2
2
|
import "./paths-Cvc9EM8Y.js";
|
|
3
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { _i as formatCliCommand, ar as formatErrorMessage } from "./model-selection-
|
|
3
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-CnnjiGCl.js";
|
|
4
|
+
import "./workspace-DpuyoXQY.js";
|
|
5
|
+
import "./logger-uA4S-xj7.js";
|
|
6
|
+
import { _i as formatCliCommand, ar as formatErrorMessage } from "./model-selection-RcRokpsG.js";
|
|
7
7
|
import "./github-copilot-token-WSjo05vB.js";
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./redact-
|
|
10
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
11
|
-
import "./path-alias-guards-
|
|
12
|
-
import { s as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
13
|
-
import "./proxy-env-
|
|
8
|
+
import "./legacy-names-DnKoTzf4.js";
|
|
9
|
+
import "./redact-CFlw_DPT.js";
|
|
10
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-QHHEijm4.js";
|
|
11
|
+
import "./path-alias-guards-CM0vBH_Z.js";
|
|
12
|
+
import { s as writeFileFromPathWithinRoot } from "./fs-safe-Ckd0hSqX.js";
|
|
13
|
+
import "./proxy-env-B_4G-Zvx.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import crypto from "node:crypto";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { jt as resolvePreferredOpenClawTmpDir } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import "./model-selection-
|
|
2
|
+
import { jt as resolvePreferredOpenClawTmpDir } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import "./agent-scope-C7A_L0Z6.js";
|
|
4
|
+
import "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import "./logger-BSEmTtz1.js";
|
|
6
|
+
import "./exec-g-Nx0X6p.js";
|
|
7
|
+
import "./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 { i as formatErrorMessage } from "./errors-CtrilAlY.js";
|
|
19
19
|
import "./static-server-DQBHPXOZ.js";
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
22
|
-
import "./ssrf-
|
|
23
|
-
import { a as DEFAULT_DOWNLOAD_DIR, d as DEFAULT_FILL_FIELD_TYPE, l as resolveStrictExistingPathsWithinRoot, o as DEFAULT_TRACE_DIR, s as DEFAULT_UPLOAD_DIR } from "./extension-relay-auth-
|
|
24
|
-
import "./tailnet-
|
|
25
|
-
import "./ws-
|
|
26
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
27
|
-
import "./ports-
|
|
28
|
-
import { n as markPwAiLoaded } from "./pi-embedded-recovery-adapter-
|
|
20
|
+
import "./path-alias-guards-CgeH2aSH.js";
|
|
21
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-LwswEc9h.js";
|
|
22
|
+
import "./ssrf-CUBo6TIZ.js";
|
|
23
|
+
import { a as DEFAULT_DOWNLOAD_DIR, d as DEFAULT_FILL_FIELD_TYPE, l as resolveStrictExistingPathsWithinRoot, o as DEFAULT_TRACE_DIR, s as DEFAULT_UPLOAD_DIR } from "./extension-relay-auth-NxDK9Fke.js";
|
|
24
|
+
import "./tailnet-CQ7A44gN.js";
|
|
25
|
+
import "./ws-1r6e9Dys.js";
|
|
26
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-BmOe128y.js";
|
|
27
|
+
import "./ports-DJ_M8scl.js";
|
|
28
|
+
import { n as markPwAiLoaded } from "./pi-embedded-recovery-adapter-Ded_keBv.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
32
|
import { chromium, devices } from "playwright-core";
|
|
33
33
|
|
|
@@ -563,7 +563,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
563
563
|
});
|
|
564
564
|
renameSucceeded = true;
|
|
565
565
|
} finally {
|
|
566
|
-
if (!renameSucceeded) await
|
|
566
|
+
if (!renameSucceeded) await fs.rm(tempPath, { force: true }).catch(() => {});
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
|
|
@@ -954,7 +954,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
954
954
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
955
955
|
const requestedPath = outPath?.trim();
|
|
956
956
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
957
|
-
await
|
|
957
|
+
await fs.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
958
958
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
959
959
|
else await writeViaSiblingTempPath({
|
|
960
960
|
rootDir: DEFAULT_DOWNLOAD_DIR,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-B5BtLhIC.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { K as parseAgentSessionKey } from "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./redact-
|
|
7
|
-
import "./path-alias-guards-
|
|
8
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CnnjiGCl.js";
|
|
4
|
+
import { K as parseAgentSessionKey } from "./workspace-DpuyoXQY.js";
|
|
5
|
+
import "./logger-uA4S-xj7.js";
|
|
6
|
+
import "./redact-CFlw_DPT.js";
|
|
7
|
+
import "./path-alias-guards-CM0vBH_Z.js";
|
|
8
|
+
import { c as writeFileWithinRoot } from "./fs-safe-Ckd0hSqX.js";
|
|
9
9
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Dxm0ejq_.js";
|
|
10
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
10
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, 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,19 +1,19 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { I as parseAgentSessionKey } from "./session-key-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import "./artifacts-
|
|
2
|
+
import "./utils-RlDPCeiE.js";
|
|
3
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import { I as parseAgentSessionKey } from "./session-key-BxmJDkEI.js";
|
|
6
|
+
import "./logger-BSEmTtz1.js";
|
|
7
|
+
import "./exec-g-Nx0X6p.js";
|
|
8
|
+
import "./artifacts-CSUzSsVF.js";
|
|
9
9
|
import "./redact-B7cMn_vp.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
11
|
-
import { l as writeFileWithinRoot } from "./fs-safe-
|
|
10
|
+
import "./path-alias-guards-CgeH2aSH.js";
|
|
11
|
+
import { l as writeFileWithinRoot } from "./fs-safe-LwswEc9h.js";
|
|
12
12
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-HV9iNU7R.js";
|
|
13
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
13
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-96au1v0j.js";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import fs from "node:fs/promises";
|
|
17
17
|
import { spawn } from "node:child_process";
|
|
18
18
|
import readline from "node:readline";
|
|
19
19
|
|
|
@@ -291,10 +291,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
291
291
|
async initialize(mode) {
|
|
292
292
|
this.bootstrapCollections();
|
|
293
293
|
if (mode === "status") return;
|
|
294
|
-
await
|
|
295
|
-
await
|
|
296
|
-
await
|
|
297
|
-
if (this.sessionExporter) await
|
|
294
|
+
await fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
295
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
296
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
297
|
+
if (this.sessionExporter) await fs.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
298
298
|
await this.symlinkSharedModels();
|
|
299
299
|
await this.ensureCollections();
|
|
300
300
|
if (this.qmd.update.onBoot) {
|
|
@@ -387,7 +387,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
387
387
|
}
|
|
388
388
|
async ensureCollectionPath(collection) {
|
|
389
389
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
390
|
-
await
|
|
390
|
+
await fs.mkdir(collection.path, { recursive: true });
|
|
391
391
|
}
|
|
392
392
|
isDirectoryGlobPattern(pattern) {
|
|
393
393
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -835,19 +835,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
835
835
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
836
836
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
837
837
|
try {
|
|
838
|
-
if (!(await
|
|
838
|
+
if (!(await fs.stat(defaultModelsDir).catch((err) => {
|
|
839
839
|
if (err.code === "ENOENT") return null;
|
|
840
840
|
throw err;
|
|
841
841
|
}))?.isDirectory()) return;
|
|
842
842
|
try {
|
|
843
|
-
await
|
|
843
|
+
await fs.lstat(targetModelsDir);
|
|
844
844
|
return;
|
|
845
845
|
} catch {}
|
|
846
846
|
try {
|
|
847
|
-
await
|
|
847
|
+
await fs.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
848
848
|
} catch (symlinkErr) {
|
|
849
849
|
const code = symlinkErr.code;
|
|
850
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
850
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fs.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
851
851
|
else throw symlinkErr;
|
|
852
852
|
}
|
|
853
853
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1023,7 +1023,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1023
1023
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1024
1024
|
let handle;
|
|
1025
1025
|
try {
|
|
1026
|
-
handle = await
|
|
1026
|
+
handle = await fs.open(absPath);
|
|
1027
1027
|
} catch (err) {
|
|
1028
1028
|
if (isFileMissingError(err)) return { missing: true };
|
|
1029
1029
|
throw err;
|
|
@@ -1055,7 +1055,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1055
1055
|
try {
|
|
1056
1056
|
return {
|
|
1057
1057
|
missing: false,
|
|
1058
|
-
text: await
|
|
1058
|
+
text: await fs.readFile(absPath, "utf-8")
|
|
1059
1059
|
};
|
|
1060
1060
|
} catch (err) {
|
|
1061
1061
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1072,7 +1072,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1072
1072
|
async exportSessions() {
|
|
1073
1073
|
if (!this.sessionExporter) return;
|
|
1074
1074
|
const exportDir = this.sessionExporter.dir;
|
|
1075
|
-
await
|
|
1075
|
+
await fs.mkdir(exportDir, { recursive: true });
|
|
1076
1076
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1077
1077
|
const keep = /* @__PURE__ */ new Set();
|
|
1078
1078
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1098,11 +1098,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1098
1098
|
});
|
|
1099
1099
|
keep.add(target);
|
|
1100
1100
|
}
|
|
1101
|
-
const exported = await
|
|
1101
|
+
const exported = await fs.readdir(exportDir).catch(() => []);
|
|
1102
1102
|
for (const name of exported) {
|
|
1103
1103
|
if (!name.endsWith(".md")) continue;
|
|
1104
1104
|
const full = path.join(exportDir, name);
|
|
1105
|
-
if (!keep.has(full)) await
|
|
1105
|
+
if (!keep.has(full)) await fs.rm(full, { force: true });
|
|
1106
1106
|
}
|
|
1107
1107
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1108
1108
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { I as theme } from "./utils-
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
6
|
-
import { Nt as loadConfig, bc as normalizeGatewayClientId, bn as isRfc1918Ipv4Address, cd as resolveSecretInputRef, du as secretRefKey, pn as isCarrierGradeNatIpv4Address, sd as normalizeSecretInputString, tu as resolveSecretRefValues } from "./model-selection-
|
|
7
|
-
import { Kn as PAIRING_SETUP_BOOTSTRAP_PROFILE, jn as issueDeviceBootstrapToken } from "./client-
|
|
8
|
-
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
9
|
-
import { t as formatDocsLink } from "./links-
|
|
10
|
-
import { i as resolveGatewayClientProfile, n as listGatewayClientIdsWithBootstrapProfile, r as resolveClientOriginAllowlistConfigKey } from "./client-profiles-
|
|
3
|
+
import { I as theme } from "./utils-RlDPCeiE.js";
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import { t as runCommandWithTimeout } from "./exec-g-Nx0X6p.js";
|
|
6
|
+
import { Nt as loadConfig, bc as normalizeGatewayClientId, bn as isRfc1918Ipv4Address, cd as resolveSecretInputRef, du as secretRefKey, pn as isCarrierGradeNatIpv4Address, sd as normalizeSecretInputString, tu as resolveSecretRefValues } from "./model-selection-Xe4QEYsC.js";
|
|
7
|
+
import { Kn as PAIRING_SETUP_BOOTSTRAP_PROFILE, jn as issueDeviceBootstrapToken } from "./client-CfK_daL3.js";
|
|
8
|
+
import { a as getQrRemoteCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-Gl-QK3RO.js";
|
|
9
|
+
import { t as formatDocsLink } from "./links-DA_gi3gE.js";
|
|
10
|
+
import { i as resolveGatewayClientProfile, n as listGatewayClientIdsWithBootstrapProfile, r as resolveClientOriginAllowlistConfigKey } from "./client-profiles-DXMSQ3LL.js";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import qrcode from "qrcode-terminal";
|
|
13
13
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { h as runTasksWithConcurrency, n as isPrimarySessionTranscriptFileName, p as resolveSessionTranscriptsDirForAgent } from "./artifacts-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
2
|
+
import { h as runTasksWithConcurrency, n as isPrimarySessionTranscriptFileName, p as resolveSessionTranscriptsDirForAgent } from "./artifacts-CSUzSsVF.js";
|
|
3
3
|
import { n as redactSensitiveText } from "./redact-B7cMn_vp.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs/promises";
|
|
8
8
|
import crypto from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/memory/fs-utils.ts
|
|
@@ -14,7 +14,7 @@ function isFileMissingError(err) {
|
|
|
14
14
|
async function statRegularFile(absPath) {
|
|
15
15
|
let stat;
|
|
16
16
|
try {
|
|
17
|
-
stat = await
|
|
17
|
+
stat = await fs$1.lstat(absPath);
|
|
18
18
|
} catch (err) {
|
|
19
19
|
if (isFileMissingError(err)) return { missing: true };
|
|
20
20
|
throw err;
|
|
@@ -49,7 +49,7 @@ function isMemoryPath(relPath) {
|
|
|
49
49
|
return normalized.startsWith("memory/");
|
|
50
50
|
}
|
|
51
51
|
async function walkDir(dir, files) {
|
|
52
|
-
const entries = await
|
|
52
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
53
53
|
for (const entry of entries) {
|
|
54
54
|
const full = path.join(dir, entry.name);
|
|
55
55
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -69,7 +69,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
69
69
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
70
70
|
const addMarkdownFile = async (absPath) => {
|
|
71
71
|
try {
|
|
72
|
-
const stat = await
|
|
72
|
+
const stat = await fs$1.lstat(absPath);
|
|
73
73
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
74
74
|
if (!absPath.endsWith(".md")) return;
|
|
75
75
|
result.push(absPath);
|
|
@@ -78,12 +78,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
78
78
|
await addMarkdownFile(memoryFile);
|
|
79
79
|
await addMarkdownFile(altMemoryFile);
|
|
80
80
|
try {
|
|
81
|
-
const dirStat = await
|
|
81
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
82
82
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
83
83
|
} catch {}
|
|
84
84
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
85
85
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
86
|
-
const stat = await
|
|
86
|
+
const stat = await fs$1.lstat(inputPath);
|
|
87
87
|
if (stat.isSymbolicLink()) continue;
|
|
88
88
|
if (stat.isDirectory()) {
|
|
89
89
|
await walkDir(inputPath, result);
|
|
@@ -97,7 +97,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
97
97
|
for (const entry of result) {
|
|
98
98
|
let key = entry;
|
|
99
99
|
try {
|
|
100
|
-
key = await
|
|
100
|
+
key = await fs$1.realpath(entry);
|
|
101
101
|
} catch {}
|
|
102
102
|
if (seen.has(key)) continue;
|
|
103
103
|
seen.add(key);
|
|
@@ -111,14 +111,14 @@ function hashText(value) {
|
|
|
111
111
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
112
112
|
let stat;
|
|
113
113
|
try {
|
|
114
|
-
stat = await
|
|
114
|
+
stat = await fs$1.stat(absPath);
|
|
115
115
|
} catch (err) {
|
|
116
116
|
if (isFileMissingError(err)) return null;
|
|
117
117
|
throw err;
|
|
118
118
|
}
|
|
119
119
|
let content;
|
|
120
120
|
try {
|
|
121
|
-
content = await
|
|
121
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
122
122
|
} catch (err) {
|
|
123
123
|
if (isFileMissingError(err)) return null;
|
|
124
124
|
throw err;
|
|
@@ -252,7 +252,7 @@ const log = createSubsystemLogger("memory");
|
|
|
252
252
|
async function listSessionFilesForAgent(agentId) {
|
|
253
253
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
254
254
|
try {
|
|
255
|
-
return (await
|
|
255
|
+
return (await fs$1.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => isPrimarySessionTranscriptFileName(name)).map((name) => path.join(dir, name));
|
|
256
256
|
} catch {
|
|
257
257
|
return [];
|
|
258
258
|
}
|
|
@@ -282,8 +282,8 @@ function extractSessionText(content) {
|
|
|
282
282
|
}
|
|
283
283
|
async function buildSessionEntry(absPath) {
|
|
284
284
|
try {
|
|
285
|
-
const stat = await
|
|
286
|
-
const lines = (await
|
|
285
|
+
const stat = await fs$1.stat(absPath);
|
|
286
|
+
const lines = (await fs$1.readFile(absPath, "utf-8")).split("\n");
|
|
287
287
|
const collected = [];
|
|
288
288
|
const lineMap = [];
|
|
289
289
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { _ as runTasksWithConcurrency, h as resolveSessionTranscriptsDirForAgent, o as isPrimarySessionTranscriptFileName, t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CnnjiGCl.js";
|
|
2
|
+
import { _ as runTasksWithConcurrency, h as resolveSessionTranscriptsDirForAgent, o as isPrimarySessionTranscriptFileName, t as redactSensitiveText } from "./redact-CFlw_DPT.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as resolveUserPath } from "./utils-
|
|
2
|
-
import { Zn as resolveBundledPluginSources, tr as loadPluginManifest } from "./model-selection-
|
|
3
|
-
import { n as recordPluginInstall, o as resolvePluginInstallDir } from "./installs-
|
|
1
|
+
import { g as resolveUserPath } from "./utils-RlDPCeiE.js";
|
|
2
|
+
import { Zn as resolveBundledPluginSources, tr as loadPluginManifest } from "./model-selection-Xe4QEYsC.js";
|
|
3
|
+
import { n as recordPluginInstall, o as resolvePluginInstallDir } from "./installs-BZ7QGLTH.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { t as DEFAULT_AGENT_ID } from "./session-key-
|
|
3
|
-
import { Wo as createJsonlSessionRunStore, ai as getConfiguredSessionStorageRuntime, co as instrumentSessionRunsForRunInvalidation } from "./model-selection-
|
|
4
|
-
import { o as resolveDefaultSessionRunStorePath } from "./artifacts-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
2
|
+
import { t as DEFAULT_AGENT_ID } from "./session-key-BxmJDkEI.js";
|
|
3
|
+
import { Wo as createJsonlSessionRunStore, ai as getConfiguredSessionStorageRuntime, co as instrumentSessionRunsForRunInvalidation } from "./model-selection-Xe4QEYsC.js";
|
|
4
|
+
import { o as resolveDefaultSessionRunStorePath } from "./artifacts-CSUzSsVF.js";
|
|
5
5
|
import { s as emitDiagnosticEvent } from "./task-run-types-B6n0W8Rb.js";
|
|
6
6
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-BbiOFq3_.js";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { y as DEFAULT_AGENT_ID } from "./workspace-
|
|
3
|
-
import { dn as getConfiguredSessionStorageRuntime, fr as instrumentSessionRunsForRunInvalidation, jr as createJsonlSessionRunStore, wr as emitDiagnosticEvent } from "./model-selection-
|
|
4
|
-
import { l as resolveDefaultSessionRunStorePath } from "./redact-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CnnjiGCl.js";
|
|
2
|
+
import { y as DEFAULT_AGENT_ID } from "./workspace-DpuyoXQY.js";
|
|
3
|
+
import { dn as getConfiguredSessionStorageRuntime, fr as instrumentSessionRunsForRunInvalidation, jr as createJsonlSessionRunStore, wr as emitDiagnosticEvent } from "./model-selection-RcRokpsG.js";
|
|
4
|
+
import { l as resolveDefaultSessionRunStorePath } from "./redact-CFlw_DPT.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { createHash, randomUUID } from "node:crypto";
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./pid-alive-
|
|
2
|
+
import "./utils-RlDPCeiE.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
4
|
+
import "./pid-alive-C3qbS2SA.js";
|
|
5
5
|
import { r as isTerminalSessionRunStatus } from "./session-run-types-lJlXTkc1.js";
|
|
6
|
-
import "./agent-turn-enqueue-
|
|
7
|
-
import { a as REASON_UNSUPPORTED_RUNTIME } from "./controller-
|
|
8
|
-
import { n as SESSION_RUN_RECOVERED_MARKER, r as SESSION_RUN_RECOVERY_MODE_OFF, t as SESSION_RUN_RECOVERED_EVENT } from "./recovery-adapter-
|
|
9
|
-
import "./recovery-prompt-
|
|
6
|
+
import "./agent-turn-enqueue-oYjYy4W3.js";
|
|
7
|
+
import { a as REASON_UNSUPPORTED_RUNTIME } from "./controller-CwG8Zp_n.js";
|
|
8
|
+
import { n as SESSION_RUN_RECOVERED_MARKER, r as SESSION_RUN_RECOVERY_MODE_OFF, t as SESSION_RUN_RECOVERED_EVENT } from "./recovery-adapter-G2cG0rVa.js";
|
|
9
|
+
import "./recovery-prompt-9MKTTZMu.js";
|
|
10
10
|
import { createHash, randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/acp/runtime/recovery-adapter.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
3
3
|
import { r as isTerminalSessionRunStatus } from "./session-run-types-lJlXTkc1.js";
|
|
4
|
-
import { r as AGENT_TURN_TOPIC } from "./agent-turn-enqueue-
|
|
5
|
-
import { i as recoveryTurnOperationId, n as buildRecoveryPrompt, r as enqueueRecoveryTurn, t as SESSION_RUN_RECOVERY_TURN_STAGE_FAILED } from "./recovery-prompt-
|
|
4
|
+
import { r as AGENT_TURN_TOPIC } from "./agent-turn-enqueue-oYjYy4W3.js";
|
|
5
|
+
import { i as recoveryTurnOperationId, n as buildRecoveryPrompt, r as enqueueRecoveryTurn, t as SESSION_RUN_RECOVERY_TURN_STAGE_FAILED } from "./recovery-prompt-9MKTTZMu.js";
|
|
6
6
|
import { createHash, randomUUID } from "node:crypto";
|
|
7
7
|
|
|
8
8
|
//#region src/sessions/session-runs/recovery-classifier.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { p as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
3
|
+
import { p as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BxmJDkEI.js";
|
|
4
4
|
import { r as isRetryExhausted } from "./retry-policy-FBwX2QEP.js";
|
|
5
5
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-Bl55A6V9.js";
|
|
6
|
-
import { a as normalizeHttpWebhookUrl, c as normalizeOptionalSessionKey, d as normalizeRequiredName, l as normalizeOptionalText, s as normalizeOptionalAgentId, t as HEARTBEAT_TICK_RETRY_POLICY, u as normalizePayloadToSystemText } from "./heartbeat-tick-
|
|
6
|
+
import { a as normalizeHttpWebhookUrl, c as normalizeOptionalSessionKey, d as normalizeRequiredName, l as normalizeOptionalText, s as normalizeOptionalAgentId, t as HEARTBEAT_TICK_RETRY_POLICY, u as normalizePayloadToSystemText } from "./heartbeat-tick-gDighXQe.js";
|
|
7
7
|
import crypto, { createHash, randomUUID } from "node:crypto";
|
|
8
8
|
import { Cron } from "croner";
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-Cvc9EM8Y.js";
|
|
2
|
-
import { S as resolveNodeRequireFromMeta } from "./subsystem-
|
|
3
|
-
import { k as normalizeAgentId, y as DEFAULT_AGENT_ID } from "./workspace-
|
|
2
|
+
import { S as resolveNodeRequireFromMeta } from "./subsystem-CnnjiGCl.js";
|
|
3
|
+
import { k as normalizeAgentId, y as DEFAULT_AGENT_ID } from "./workspace-DpuyoXQY.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { $t as sensitive } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
2
|
+
import { $t as sensitive } from "./model-selection-Xe4QEYsC.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|