wednesdayai 0.4.12-dev.720 → 0.4.12-dev.722
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-pyfXjm-X.js → acp-cli-DXVeP5by.js} +11 -11
- package/dist/{agent-scope-Dw728gHk.js → agent-scope-Dt0TVWFY.js} +20 -20
- package/dist/{agent-turn-enqueue-BNvNiMpq.js → agent-turn-enqueue-CsHMHVsf.js} +5 -5
- package/dist/{agent-turn-enqueue-Ca6nDySG.js → agent-turn-enqueue-QcHb-Wlq.js} +4 -4
- package/dist/{agent-turn-execute-DLS3hVZN.js → agent-turn-execute-pkDSwyuf.js} +186 -186
- package/dist/{agent-turn-recovery-adapter-D2yM42JV.js → agent-turn-recovery-adapter-CL4IrGUo.js} +1 -1
- package/dist/{agent-turn-recovery-adapter-BhqXEKaC.js → agent-turn-recovery-adapter-Dw5-XbMI.js} +3 -3
- package/dist/{agent-turn-runner-CNzxqAVO.js → agent-turn-runner-CUoz_Fkl.js} +1 -1
- package/dist/{agent-turn-runner-BDS9k--2.js → agent-turn-runner-DoHGgNPh.js} +4 -4
- package/dist/{agent-turn-runner-lDarvfDi.js → agent-turn-runner-LlrD6k2x.js} +3 -3
- package/dist/{agents-CCi5d3rh.js → agents-TOaKn6gk.js} +17 -17
- package/dist/{agents.config-D1RGbjKF.js → agents.config-96ueVlOH.js} +2 -2
- package/dist/{agents.config-BiZOgm5C.js → agents.config-DWMgN4qH.js} +1 -1
- package/dist/{api-key-rotation-BDa6RvrU.js → api-key-rotation-DiMQTef3.js} +1 -1
- package/dist/{audio-preflight-DvDzBaci.js → audio-preflight-B_5sTSyb.js} +5 -5
- package/dist/{audio-preflight-DxY7sUFD.js → audio-preflight-CO3ozqOb.js} +35 -35
- package/dist/{audio-preflight-DK8V6rCg.js → audio-preflight-p84ph4C7.js} +6 -6
- package/dist/{audio-transcription-runner-D-iXNE6Y.js → audio-transcription-runner-CsQR8LpS.js} +1 -1
- package/dist/{audio-transcription-runner-N8I-G4DN.js → audio-transcription-runner-Gr8vN3AS.js} +26 -26
- package/dist/{audio-transcription-runner-DFQtapUX.js → audio-transcription-runner-XFfvRPXl.js} +1 -1
- package/dist/{audit-3p1cCyN-.js → audit-8O6sjQPv.js} +29 -29
- package/dist/{audit-Dz2E9h1H.js → audit-CzREkjwC.js} +3 -3
- package/dist/{auth-BdqTyBRn.js → auth-Cx-Q9zgv.js} +4 -4
- package/dist/{auth-choice-Bn539iDJ.js → auth-choice-C0dQwQuu.js} +15 -15
- package/dist/{auth-choice-BjBu2HIJ.js → auth-choice-DtRePxUx.js} +13 -13
- package/dist/{auth-choice-CtjeyUxN.js → auth-choice-s0pWvSbn.js} +1 -1
- package/dist/{auth-choice.apply-helpers-BjbwkC61.js → auth-choice.apply-helpers-Bplvajjf.js} +1 -1
- package/dist/{auth-token-BhGJiF3k.js → auth-token-xxEJDMxh.js} +2 -2
- package/dist/{banner-DeTwUKJw.js → banner-BwICuMvl.js} +4 -4
- package/dist/{bonjour-discovery-Df2P-Q7o.js → bonjour-discovery-B1GbNHC3.js} +3 -3
- package/dist/{browser-cli-CM2fkqWj.js → browser-cli-NV-pdj3F.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +12 -12
- package/dist/bundled/session-journal/handler.js +12 -12
- package/dist/bundled/session-memory/handler.js +12 -12
- package/dist/{call-UfwN5rR7.js → call-PE59cW0J.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BeP04lVU.js → channel-account-context-DM1npKXX.js} +6 -6
- package/dist/{channel-activity-DF1lamZi.js → channel-activity-SqK9nKf7.js} +2 -2
- package/dist/{channel-options-HOe8Wb7T.js → channel-options-BmfLwNE6.js} +3 -3
- package/dist/{channel-options-CPd94dTo.js → channel-options-CurDeT7Z.js} +1 -1
- package/dist/{channel-selection-CNMEexgg.js → channel-selection-DfNPCJXK.js} +1 -1
- package/dist/{channels-cli-CvJYuVVM.js → channels-cli-CZqlXMjZ.js} +114 -114
- package/dist/{channels-cli-BJlbTkJA.js → channels-cli-D2PB80Ed.js} +23 -23
- package/dist/{channels-status-issues-CdhIpbIH.js → channels-status-issues-B4p6AXBG.js} +1 -1
- package/dist/{chrome-Ch-PRzot.js → chrome-BsgpiutB.js} +6 -6
- package/dist/{chrome-nLlFTBUI.js → chrome-FHxGdLnd.js} +8 -8
- package/dist/{chunk-dZYOJUMQ.js → chunk-DiXpyRAz.js} +2 -2
- package/dist/{clack-prompter-DGDmJDVW.js → clack-prompter-fldgCPEr.js} +5 -5
- package/dist/{clawbot-cli-krI9B7O9.js → clawbot-cli-C91sysrP.js} +15 -15
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-DJUeQG1g.js +164 -0
- package/dist/{cli-Clb9hAIp.js → cli-YKA_HQlq.js} +17 -17
- package/dist/{client-BGqFY5o-.js → client-DN-SMVBn.js} +3 -3
- package/dist/{client-profiles-CRejJ0SL.js → client-profiles-DEoACLX5.js} +2 -2
- package/dist/{clipboard-DnrCtTv6.js → clipboard-DczD_L5d.js} +1 -1
- package/dist/{command-queue-BoBsMaob.js → command-queue-B3_VRNOr.js} +1 -1
- package/dist/{command-queue-CK20dQVc.js → command-queue-Bn2PHabT.js} +1 -1
- package/dist/{command-queue-DmPFhCm2.js → command-queue-CkNuNlmY.js} +1 -1
- package/dist/{command-registry-C7V01SL9.js → command-registry-Dok3-b8T.js} +14 -14
- package/dist/{command-secret-targets-DtnfBTvl.js → command-secret-targets-CJ1czw_Q.js} +4 -4
- package/dist/{commands-Byb21m-W.js → commands-Csxgimkc.js} +1 -1
- package/dist/{commands-registry-fXBoHxbT.js → commands-registry-Dx5QvNqH.js} +3 -3
- package/dist/{completion-cli-C1TbI3Nq.js → completion-cli-Ctg9QIDB.js} +16 -16
- package/dist/{completion-cli-Nhp2rZs6.js → completion-cli-DzgbSYNf.js} +1 -1
- package/dist/{config-CRFk9Bjq.js → config-BPACL-n5.js} +51 -51
- package/dist/{config-cli-BbSkPwpp.js → config-cli-BUrIABmo.js} +1 -1
- package/dist/{config-cli-BZACiXqP.js → config-cli-Bp3NVXJ8.js} +10 -10
- package/dist/{config-guard-D407qaoD.js → config-guard-CdfLkwSv.js} +4 -4
- package/dist/{config-validation-KuIoSFk6.js → config-validation-BdrPl8og.js} +2 -2
- package/dist/{configure-DPlcHPb2.js → configure-CAdfZJx3.js} +3 -3
- package/dist/{configure-Cqjr_du7.js → configure-CFjjPHas.js} +25 -25
- package/dist/{control-ui-assets-CZc_jZ5P.js → control-ui-assets-BXkk_vKO.js} +3 -3
- package/dist/{controller-DhhnKGZm.js → controller-CyFBTP5K.js} +1 -1
- package/dist/{credentials-QcQyEdJH.js → credentials-DVI9X-9y.js} +1 -1
- package/dist/{cron-cli-CaA0d8t9.js → cron-cli-BuVrA_FU.js} +13 -13
- package/dist/{daemon-cli-BHHTg_VA.js → daemon-cli-D874Hxry.js} +19 -19
- package/dist/daemon-cli.js +7 -7
- package/dist/{daemon-install-E2_ktpUO.js → daemon-install-BuETscSF.js} +11 -11
- package/dist/{daemon-install-helpers-Di-kgTCh.js → daemon-install-helpers-CKbnFsNZ.js} +13 -13
- package/dist/{deliver-CaBp0YZL.js → deliver-BLp1Q7uO.js} +9 -9
- package/dist/{deliver-DFUO2CfJ.js → deliver-CXqNQ8yi.js} +1 -1
- package/dist/{deliver-DZG38ZGm.js → deliver-rLn-23ud.js} +1 -1
- package/dist/{devices-cli-CyO1xf6G.js → devices-cli-PIMtgiCQ.js} +12 -12
- package/dist/{diagnostic-DBbvGWxf.js → diagnostic-85mWzvQi.js} +1 -1
- package/dist/{diagnostic-DgDaUn7q.js → diagnostic-Bbg-zObh.js} +1 -1
- package/dist/{diagnostic-CyH49cpU.js → diagnostic-u64kcpDQ.js} +3 -3
- package/dist/{diagnostics-BMCo9z-e.js → diagnostics-C6ntZHc3.js} +5 -5
- package/dist/{directory-cli-Bp8CPJAj.js → directory-cli-ByC5Q1X3.js} +10 -10
- package/dist/{dm-policy-shared-DFPi7Zr2.js → dm-policy-shared-CV1uWhMc.js} +4 -4
- package/dist/{dns-cli-BIvl-4eO.js → dns-cli-BlEBJkZs.js} +10 -10
- package/dist/{docs-cli-C96pCTO9.js → docs-cli-DC1z-BLX.js} +9 -9
- package/dist/{doctor-completion-aQBy29mi.js → doctor-completion-Cfe2nTpN.js} +1 -1
- package/dist/{doctor-completion-BeQ5D1_M.js → doctor-completion-CpGKbe63.js} +3 -3
- package/dist/{doctor-config-flow-C2Gtj2Ld.js → doctor-config-flow-gOmD0dFV.js} +14 -14
- package/dist/{enable-DW_1rt5K.js → enable-p_l_FcJp.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-approvals-BL3RknaU.js → exec-approvals-C3o7bTbp.js} +1 -1
- package/dist/{exec-approvals-allowlist-UZiLlQZY.js → exec-approvals-allowlist-CNWI56tZ.js} +1 -1
- package/dist/{exec-approvals-cli-vu_X-YzH.js → exec-approvals-cli-BShAvkW4.js} +22 -22
- package/dist/{exec-safe-bin-runtime-policy-kCGsE7iL.js → exec-safe-bin-runtime-policy-C3eU8CKJ.js} +2 -2
- package/dist/{exec-DirIo9VQ.js → exec-vJi_ETQy.js} +2 -2
- package/dist/{extension-relay-auth-BE4YupGc.js → extension-relay-auth-DD-U9VUc.js} +10 -10
- package/dist/{fetch-cHZPcwpd.js → fetch-ByEEe-Yd.js} +5 -5
- package/dist/{fetch-guard-Dp0XbWAV.js → fetch-guard-BzXFjlMV.js} +3 -3
- package/dist/{fs-safe-D7SLKk8k.js → fs-safe-CByGgR59.js} +25 -25
- package/dist/{gateway-cli-k85i40XY.js → gateway-cli-3YUOWIal.js} +524 -283
- package/dist/{gateway-cli-DO1ZdC57.js → gateway-cli-CDCwUJ0Z.js} +356 -115
- package/dist/{gateway-rpc-DU3hSTzG.js → gateway-rpc-DOfMq6W1.js} +3 -3
- package/dist/{globals-BvFc3LRQ.js → globals-ZyVsnNcg.js} +7 -7
- package/dist/{gmail-setup-utils-DxQW0vvG.js → gmail-setup-utils-BzuIKryU.js} +2 -2
- package/dist/{health-joZ3P32_.js → health-B5jHSu9i.js} +8 -8
- package/dist/{health-yflM7Rsw.js → health-BEgp6PEF.js} +2 -2
- package/dist/{health-format-DxSGV0xs.js → health-format-DX1WwWnG.js} +1 -1
- package/dist/{heartbeat-tick-D26lWjWr.js → heartbeat-tick-By0WI8YD.js} +1 -1
- package/dist/{help-format-BuYYzCrK.js → help-format-DuL_Y84f.js} +1 -1
- package/dist/{hooks-cli-Bqx4BeE7.js → hooks-cli-D1_UuIh4.js} +19 -19
- package/dist/{hooks-cli-HMujIPDt.js → hooks-cli-Dy5LfGKt.js} +105 -105
- package/dist/{hooks-status-BIpoTNG2.js → hooks-status-C6mtKL68.js} +2 -2
- package/dist/{image-ops-BH5tZFXZ.js → image-ops-Cq6SZYWW.js} +11 -11
- package/dist/{incident-install-BVVufsbF.js → incident-install-B626HvYY.js} +11 -11
- package/dist/index.js +21 -21
- package/dist/{inspect-ALwqX-AP.js → inspect-LfUprDjx.js} +4 -4
- package/dist/{install-safe-path-B8ogENI2.js → install-safe-path-4YfMRsxN.js} +25 -25
- package/dist/{installs-BZc_r32M.js → installs-4lGALZOo.js} +10 -10
- package/dist/{installs-DhvxSfA2.js → installs-puN7yKHH.js} +1 -1
- package/dist/{ipv4-BQfY4Nz0.js → ipv4-BA1qFtVZ.js} +2 -2
- package/dist/{ir-Bphccx2x.js → ir-B3r0eIJW.js} +8 -8
- package/dist/{issue-format-eKDAjB9C.js → issue-format-BG8o87sf.js} +1 -1
- package/dist/{lifecycle-core-CIW7Nndu.js → lifecycle-core-CuMY0U_8.js} +9 -9
- package/dist/{links-oxBAdiT5.js → links-BZDTcdHU.js} +1 -1
- package/dist/{live-repair-CK2uu1bb.js → live-repair-BF2elTcB.js} +10 -10
- package/dist/llm-slug-generator.js +12 -12
- package/dist/{log-tail-Cu_iMzte.js → log-tail-Dg2oYTZ6.js} +7 -7
- package/dist/{logger-DygiqHXJ.js → logger-B1oXl7GT.js} +2 -2
- package/dist/{logging-DT83g6VT.js → logging-DgKdQHpc.js} +1 -1
- package/dist/{logs-cli-OJbjnEG9.js → logs-cli-CrUZySOS.js} +18 -18
- package/dist/{manager-DbUdXsY9.js → manager-PSj0t5kg.js} +16 -16
- package/dist/{markdown-tables-DBBxKcll.js → markdown-tables-BcUNsqVQ.js} +1 -1
- package/dist/{memory-cli-OhwCkNE-.js → memory-cli-DVqLwNhN.js} +18 -18
- package/dist/{model-D56FsZ1w.js → model-BbeosLtF.js} +2 -2
- package/dist/{model-catalog-CLFSsgfj.js → model-catalog-Bjfzg68Q.js} +4 -4
- package/dist/{model-picker-DBwSCw_9.js → model-picker-JQM5rw_w.js} +4 -4
- package/dist/{models-m1jUnKvs.js → models-Kq9m-LfF.js} +23 -23
- package/dist/{models-cli-BWXMokU_.js → models-cli-B4wVcMjJ.js} +105 -105
- package/dist/{models-cli-CC42HgJD.js → models-cli-dyUiDMqX.js} +17 -17
- package/dist/{models-config-BDhVodK4.js → models-config-BMgEFu57.js} +7 -7
- package/dist/{node-cli-Cd6_BySw.js → node-cli-DGi3DELS.js} +41 -41
- package/dist/{node-cli-CR7U5VZ3.js → node-cli-Dm9lnwVF.js} +3 -3
- package/dist/{node-command-policy-B4-mf1hM.js → node-command-policy-C1Fy9dcA.js} +1 -1
- package/dist/{node-service-DlskRE2h.js → node-service-Ys7JZFz-.js} +1 -1
- package/dist/{nodes-cli-B_iLcTCz.js → nodes-cli-Bp2RePXd.js} +24 -24
- package/dist/{nodes-screen-DGsjKglY.js → nodes-screen-DANf1hC-.js} +8 -8
- package/dist/{note-QFI8C-0H.js → note-CWaaN_Hi.js} +2 -2
- package/dist/{npm-pack-install-BNQ7dpDL.js → npm-pack-install-BgBpeTJk.js} +1 -1
- package/dist/{npm-pack-install-DrAALuzR.js → npm-pack-install-Dlm0MIZy.js} +24 -24
- package/dist/{npm-resolution-DWT08Jg9.js → npm-resolution-DWE5khjC.js} +2 -2
- package/dist/{npm-resolution-CznyJdS_.js → npm-resolution-Ey8dK3VI.js} +5 -5
- package/dist/{oauth-tls-preflight-iGljnxA8.js → oauth-tls-preflight-DJESrRid.js} +1 -1
- package/dist/{onboard-DprdwW6T.js → onboard-CneU0GqJ.js} +11 -11
- package/dist/{onboard-channels-eDRUfcgC.js → onboard-channels-B1oC1rop.js} +2 -2
- package/dist/{onboard-channels-BN5zmpQb.js → onboard-channels-Bm2XVN3C.js} +21 -21
- package/dist/{onboard-custom-rapGXTfP.js → onboard-custom-Bz-7TT12.js} +4 -4
- package/dist/{onboard-helpers-BlOvn-As.js → onboard-helpers-DNbkQX5v.js} +13 -13
- package/dist/{onboard-hooks-C2X1aAwg.js → onboard-hooks-CCtE4bqF.js} +7 -7
- package/dist/{onboard-remote-CmifKZ42.js → onboard-remote-DsBkNMeO.js} +5 -5
- package/dist/{onboard-skills-Cbv5AZ8C.js → onboard-skills-DX_x-MfC.js} +4 -4
- package/dist/{onboard-DRGIVMAs.js → onboard-trNO818c.js} +2 -2
- package/dist/{onboarding-1IkfvnYe.js → onboarding-BKoaWOxQ.js} +3 -3
- package/dist/{onboarding-DjLzxd2p.js → onboarding-R2m4j7Dp.js} +18 -18
- package/dist/{onboarding.finalize-CCnljJ0b.js → onboarding.finalize-B6K3hYJZ.js} +113 -113
- package/dist/{onboarding.finalize-xkxyNe63.js → onboarding.finalize-C0X_xaHh.js} +22 -22
- package/dist/{onboarding.gateway-config-DOTfpREQ.js → onboarding.gateway-config-DKLUe3Ul.js} +16 -16
- package/dist/{onboarding.secret-input-DH2Ce8GL.js → onboarding.secret-input-YvW1rg1V.js} +1 -1
- package/dist/{openai-model-default-DsBVhW_k.js → openai-model-default-CuWReftl.js} +2 -2
- package/dist/{openclaw-root-CvJ5CJns.js → openclaw-root-B6Tk0FH8.js} +2 -2
- package/dist/{operator-commands-JUXdOhQX.js → operator-commands-BmGo9Ngv.js} +5 -5
- package/dist/{operator-commands-DX-cb3Ye.js → operator-commands-EsKoI4yV.js} +2 -2
- package/dist/{outbound-attachment-DXvNKE87.js → outbound-attachment-DJ3uYvUI.js} +2 -2
- package/dist/{outbound-message-hooks-C0BAHo6-.js → outbound-message-hooks-BBtH97ZV.js} +4 -4
- package/dist/{pairing-cli-Cl5sMYgP.js → pairing-cli-CzdmBLwS.js} +10 -10
- package/dist/{pairing-labels-BMQWK5UC.js → pairing-labels-DYgJqxe0.js} +1 -1
- package/dist/{pairing-store-CVHmKK9w.js → pairing-store-BZFrD-fJ.js} +2 -2
- package/dist/{path-alias-guards-Dwpja4Ts.js → path-alias-guards-CHFrrzxZ.js} +3 -3
- package/dist/{path-safety-tNRAPoSe.js → path-safety-CCSB65fm.js} +1 -1
- package/dist/{pi-embedded-CZ0PhG7T.js → pi-embedded-COs_yO7U.js} +28 -28
- package/dist/{pi-embedded-helpers-CcG8tJG8.js → pi-embedded-helpers-BYLOFsUc.js} +3 -3
- package/dist/{pi-embedded-helpers-C6VayjB1.js → pi-embedded-helpers-C9XqX-Jq.js} +8 -8
- package/dist/{pi-embedded-helpers-D__rRuFh.js → pi-embedded-helpers-DIUrv2Ua.js} +1 -1
- package/dist/pi-embedded-recovery-adapter-8xq2SINa.js +60 -0
- package/dist/{pi-embedded-recovery-adapter-BJvKUFHn.js → pi-embedded-recovery-adapter-BHTdeEKa.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-BtqhGYD7.js → pi-embedded-recovery-adapter-DPjgp8q4.js} +3 -3
- package/dist/{pi-embedded-recovery-adapter-DS_uqVd7.js → pi-embedded-recovery-adapter-DytV4fjp.js} +2 -2
- package/dist/{pi-embedded-utils-CBwHE9Fa.js → pi-embedded-utils-BV_Dtzrw.js} +2 -2
- package/dist/{pi-embedded-utils-BOgoLC6a.js → pi-embedded-utils-BetZbS6i.js} +1 -1
- package/dist/{pi-embedded-utils-Wab6FAbw.js → pi-embedded-utils-DOtaZ7KV.js} +1 -1
- package/dist/{pi-model-discovery-dD_F5Zs_.js → pi-model-discovery-CZ9wxcE8.js} +1 -1
- package/dist/{pi-tools.policy-D-HUyDCX.js → pi-tools.policy-B7YiM0PW.js} +1 -1
- package/dist/{plugin-owned-work-recovery-adapter-DSTbgdf1.js → plugin-owned-work-recovery-adapter-CCMhA7pp.js} +7 -7
- package/dist/{plugin-registry-NO8bBmB-.js → plugin-registry-AEemJBCl.js} +1 -1
- package/dist/{plugin-registry-D1W5p4FN.js → plugin-registry-BjZ0q-dW.js} +4 -4
- package/dist/plugin-sdk/{agent-turn-execute-rfDl5JIk.js → agent-turn-execute-DoRgVKVO.js} +12 -12
- package/dist/plugin-sdk/{agent-turn-runner-CWFiK-TQ.js → agent-turn-runner-pU0RGvg6.js} +3 -3
- package/dist/plugin-sdk/{audio-preflight-Ch7wu2kR.js → audio-preflight-8hRbl8Io.js} +5 -5
- package/dist/plugin-sdk/{audio-transcription-runner-PQrzjXaP.js → audio-transcription-runner-CUsZFiEA.js} +1 -1
- package/dist/plugin-sdk/{chrome-nvzkZjx1.js → chrome-VZ0Zuu2w.js} +8 -8
- package/dist/plugin-sdk/{command-queue-Ctf3I4mj.js → command-queue-CbgNIrv6.js} +1 -1
- package/dist/plugin-sdk/{deliver-CvAny_u3.js → deliver-B7W4NNsR.js} +1 -1
- package/dist/plugin-sdk/{deliver-CLdBSfw5.js → deliver-CJP9TznW.js} +3 -3
- package/dist/plugin-sdk/{diagnostic-HwC2DvTv.js → diagnostic-BRUM6uNI.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-Cgger0dQ.js → pi-embedded-helpers-B-OOYT64.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-utils-BSR4yhc7.js → pi-embedded-utils-BoSGTbYO.js} +1 -1
- package/dist/plugin-sdk/{provider-dispatcher-UGV7dmN-.js → provider-dispatcher-CNLIHg-v.js} +12 -12
- package/dist/plugin-sdk/{provider-image-DWx_4D5v.js → provider-image-L_SRDPHU.js} +4 -4
- package/dist/plugin-sdk/{provider-image-CHcGL0EF.js → provider-image-zNa1Cccq.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0hna1cK.js → pw-ai-JJrE-B1e.js} +1 -1
- package/dist/plugin-sdk/{runs-BW0cihzp.js → runs-CPA1-H-2.js} +5 -5
- package/dist/plugin-sdk/{runs-CljUZhIq.js → runs-H2FY7UEk.js} +3 -3
- package/dist/plugin-sdk/{send-BBYSrSTF.js → send-CF3PEjRy.js} +1 -1
- package/dist/plugin-sdk/{send-DXmuCfmg.js → send-CzxwgKvR.js} +2 -2
- package/dist/plugin-sdk/src/gateway/storage-startup-gate.d.ts +28 -8
- package/dist/plugin-sdk/{subagent-registry-C-Vy-p1q.js → subagent-registry-CAdT47aY.js} +12 -12
- package/dist/plugin-sdk/testing.js +12 -12
- package/dist/plugin-sdk/{tools--CF9HsHp.js → tools-3raTfdu5.js} +32 -32
- package/dist/{plugins-cli-DJJuzULB.js → plugins-cli-CjgLVUxJ.js} +108 -108
- package/dist/{plugins-cli-6f208X2l.js → plugins-cli-Di9VhU7J.js} +22 -22
- package/dist/{polling-timeout-L7Tp4szs.js → polling-timeout-DoMlNx_D.js} +2 -2
- package/dist/{ports-CwKtoFkm.js → ports-BxjQwKMc.js} +2 -2
- package/dist/{ports-J_cZ4_9V.js → ports-QWAeZ9Is.js} +3 -3
- package/dist/{program-P3xjiqt2.js → program-Dus5j4vB.js} +104 -104
- package/dist/{program-context-BnUPq4h0.js → program-context-CQrxOpXH.js} +22 -22
- package/dist/{progress-DFaFyDmB.js → progress-Dc4ihErK.js} +2 -2
- package/dist/{prompt-select-styled-BqvHWNWF.js → prompt-select-styled-D1Kc5Amb.js} +47 -47
- package/dist/{prompt-select-styled-zQtF-vV8.js → prompt-select-styled-D3Li9uy2.js} +6 -6
- package/dist/{prompt-style-CO6JkEel.js → prompt-style-XoPngT10.js} +1 -1
- package/dist/{provider-auth-helpers-BYuzSj8t.js → provider-auth-helpers-B5HQVptJ.js} +6 -6
- package/dist/{provider-image-DysCwCWi.js → provider-image-BICZzOki.js} +1 -1
- package/dist/{provider-image-NyTXaEL4.js → provider-image-BllyLBJM.js} +1 -1
- package/dist/{provider-image-BVRCttNV.js → provider-image-Bsivqxw8.js} +6 -6
- package/dist/{proxy-m4Mv3Vy0.js → proxy-Ba9wFNmC.js} +1 -1
- package/dist/{proxy-env-BVlcuMzr.js → proxy-env-DzG6q8Hh.js} +1 -1
- package/dist/{proxy-fetch-D1upsMhs.js → proxy-fetch-BqVhGKFd.js} +1 -1
- package/dist/{push-apns-RSo8eOEB.js → push-apns-BcZzA03X.js} +8 -8
- package/dist/{push-apns-D356cj0x.js → push-apns-qUm5cL9P.js} +2 -2
- package/dist/{pw-ai-B8pA3baY.js → pw-ai-CXSJw34w.js} +1 -1
- package/dist/{pw-ai-DAv_QGa9.js → pw-ai-Ci1kADkJ.js} +18 -18
- package/dist/{pw-ai-BXBbuCbh.js → pw-ai-DT3fj2Kt.js} +1 -1
- package/dist/{qmd-manager-qYKR5h5G.js → qmd-manager-IztYub3L.js} +23 -23
- package/dist/{qr-cli-BauN15DE.js → qr-cli-DhJ37DZK.js} +8 -8
- package/dist/{query-expansion-Bf7wd2Iw.js → query-expansion-BydaUlRH.js} +13 -13
- package/dist/{reconcile-bundled-DyXp6UFb.js → reconcile-bundled-CAKTvY-C.js} +3 -3
- package/dist/{reconcile-bundled-CYRLOXKB.js → reconcile-bundled-DJKaKSgk.js} +1 -1
- package/dist/{recorder-CMNhAFwu.js → recorder-Ca_njjjH.js} +2 -2
- package/dist/{recovery-adapter-DcDYSG4s.js → recovery-adapter-BT12fVyO.js} +8 -8
- package/dist/{recovery-adapter-Dp82nx48.js → recovery-adapter-CPQ9-014.js} +2 -2
- package/dist/{recovery-adapter-Cd74qcsK.js → recovery-adapter-DF25-zSH.js} +1 -1
- package/dist/{recovery-adapter-eslk30An.js → recovery-adapter-Df87xZQp.js} +34 -34
- package/dist/{recovery-adapter-ClfDS4Ov.js → recovery-adapter-okaOo6tO.js} +4 -4
- package/dist/{recovery-prompt-TVvxel5J.js → recovery-prompt-CRcPgKcT.js} +1 -1
- package/dist/{redact-snapshot-D7BZusrG.js → redact-snapshot--nD7TrF-.js} +2 -2
- package/dist/{register.agent-DHl47XYk.js → register.agent-BCNYDn8G.js} +22 -22
- package/dist/{register.agent-9DDYWINr.js → register.agent-CqGVQ2N1.js} +117 -117
- package/dist/{register.configure-CndtmXxY.js → register.configure-CPTDt8eL.js} +23 -23
- package/dist/register.configure-DxdNTBIk.js +168 -0
- package/dist/{register.maintenance-BWVbf3vi.js → register.maintenance-BOCv2N1t.js} +23 -23
- package/dist/{register.maintenance-B0m4vFl_.js → register.maintenance-CFjB31Z5.js} +125 -125
- package/dist/{register.message-BTvJee4k.js → register.message-CiT53tgD.js} +98 -98
- package/dist/{register.message-D_XRcga3.js → register.message-dqrK9EsG.js} +18 -18
- package/dist/{register.onboard-C9pmJhys.js → register.onboard-BKoeYDAF.js} +21 -21
- package/dist/{register.onboard-BOHf4ODS.js → register.onboard-xtBBqce9.js} +2 -2
- package/dist/{register.setup-Dc4c4RwB.js → register.setup-qHCNX6LC.js} +2 -2
- package/dist/{register.setup-CmChnAXy.js → register.setup-xIVMlLYx.js} +24 -24
- package/dist/{register.status-health-sessions-DcfcD5-d.js → register.status-health-sessions-CaxJw1rr.js} +20 -20
- package/dist/{register.status-health-sessions-HmPpPcsK.js → register.status-health-sessions-D4hMq0I7.js} +115 -115
- package/dist/{register.subclis-BlaRgswl.js → register.subclis-srwCZnD0.js} +34 -34
- package/dist/{replay-C9MQSD5C.js → replay-B9P8F4Td.js} +1 -1
- package/dist/{replies-aExjMxzn.js → replies-BNP-F_lm.js} +4 -4
- package/dist/{reply-C9VXFn4R.js → reply-B_SiN91-.js} +24 -24
- package/dist/{reply-directives-B3iuHT4J.js → reply-directives-Bc2RQAcJ.js} +2 -2
- package/dist/{reply-prefix-V-IxyeUB.js → reply-prefix-B8M4IWrd.js} +1 -1
- package/dist/{resolve-route-D0rmcC0-.js → resolve-route-KBL5oj6U.js} +4 -4
- package/dist/{rpc-DpE8vp-c.js → rpc-htgXg_yf.js} +3 -3
- package/dist/{run-main-BZA73lMf.js → run-main-BzfK-GcH.js} +117 -117
- package/dist/{runs-RYsbIfCS.js → runs-BW5fW5nB.js} +3 -3
- package/dist/{runs-BAm5mg_D.js → runs-BjLs5ozo.js} +6 -6
- package/dist/{runs-CHfKOgl6.js → runs-DGWNXyKA.js} +3 -3
- package/dist/{runtime-CK9AbML9.js → runtime-ACR3KU8j.js} +4 -4
- package/dist/{runtime-config-collectors-Q9nEWUTc.js → runtime-config-collectors-BVWO6FhK.js} +1 -1
- package/dist/{runtime-guard-fIvyv07S.js → runtime-guard-DchtXvGj.js} +1 -1
- package/dist/{sandbox-BqX3VN9w.js → sandbox-7YCCMJoM.js} +1 -1
- package/dist/{sandbox-DzgYdBHo.js → sandbox-BpdiWabc.js} +18 -18
- package/dist/{sandbox-cli-DS0rOY-2.js → sandbox-cli-Dv0Viev8.js} +2 -2
- package/dist/{sandbox-cli-Bdiy-JBA.js → sandbox-cli-UfXu5kvh.js} +25 -25
- package/dist/{secrets-cli-BgSYbUnm.js → secrets-cli-DD5pd5lU.js} +15 -15
- package/dist/{security-cli-DmfWrKBb.js → security-cli-DCKCspHc.js} +42 -42
- package/dist/{security-cli-BmLzna2E.js → security-cli-DRALCMFL.js} +4 -4
- package/dist/{send-DVTzquty.js → send-BBFfvgK9.js} +14 -14
- package/dist/{send-o7L9XTU3.js → send-BVisLSq7.js} +6 -6
- package/dist/{send-DVEBYs7q.js → send-B_t3X0hK.js} +7 -7
- package/dist/{send-CDuS9tHa.js → send-CZsC4D3G.js} +12 -12
- package/dist/{send-DSEM68Bg.js → send-CwCEyog7.js} +6 -6
- package/dist/{send-BFS-Gw56.js → send-DEFcgo-1.js} +1 -1
- package/dist/{send-PUOLKFU6.js → send-s0RNLFLX.js} +1 -1
- package/dist/{server-Cxvaq-2t.js → server-DWJmtex3.js} +4 -4
- package/dist/{server-context-RkR0AfjN.js → server-context-BEjWhzMi.js} +12 -12
- package/dist/{server-context-Ckaq9jDj.js → server-context-CQQ6Q5Kp.js} +2 -2
- package/dist/{server-lifecycle-nFfq19cU.js → server-lifecycle-B9IQKSom.js} +1 -1
- package/dist/{server-lifecycle-B8yCvRvX.js → server-lifecycle-C3hCCbXm.js} +3 -3
- package/dist/{server-middleware-B6bN1rYO.js → server-middleware-CrJMxxfQ.js} +1 -1
- package/dist/{server-node-events-CgVi6hsa.js → server-node-events-8k0OLCvW.js} +97 -97
- package/dist/{server-node-events-BYL12z2h.js → server-node-events-BYTgaAay.js} +18 -18
- package/dist/{server-CtXro2Oa.js → server-y8WhCQvu.js} +24 -24
- package/dist/{service-BVB5AQS4.js → service-Dkcqg-rd.js} +15 -15
- package/dist/{session-consumer-agents-WuG2FJYp.js → session-consumer-agents-5ORspv9c.js} +1 -1
- package/dist/{session-consumer-claim-sweep-BcfThIOH.js → session-consumer-claim-sweep-eBEe4crh.js} +7 -7
- package/dist/{session-key-resolution-D__Pd_mB.js → session-key-resolution-CvnTXaSw.js} +4 -4
- package/dist/{session-meta-YzxyVCeI.js → session-meta-Bd0mS7MT.js} +1 -1
- package/dist/{session-storage-DFsXIZwp.js → session-storage-Pnf4SMXY.js} +6 -6
- package/dist/{session-utils-B2PSRqVy.js → session-utils-CrCJ-7yK.js} +5 -5
- package/dist/{sessions-CJHCMakP.js → sessions-BlXxa7bM.js} +4 -4
- package/dist/{sessions-Q3WrKAAg.js → sessions-DFDrcshi.js} +16 -16
- package/dist/{sessions-CfKrfL19.js → sessions-ck0v65PE.js} +4 -4
- package/dist/{sessions-claims-status-k3n7GnFf.js → sessions-claims-status-BWkOZDb1.js} +11 -11
- package/dist/{shared-D__JxAlY.js → shared-BZXtBEEK.js} +3 -3
- package/dist/{shared-DerjPYzv.js → shared-Cj18nzyW.js} +2 -2
- package/dist/{skill-commands-DbmH_7xm.js → skill-commands-uhWJKPrM.js} +7 -7
- package/dist/{skill-scanner-CZhas7UB.js → skill-scanner-BrEkff8K.js} +7 -7
- package/dist/{skills-ZklHNqsc.js → skills-D3kpiNaJ.js} +6 -6
- package/dist/{skills-cli-Dj4NTcCE.js → skills-cli-DAJDC2x2.js} +9 -9
- package/dist/{skills-install-B7k9HIIw.js → skills-install-B23U6yk5.js} +9 -9
- package/dist/{skills-status-BEsBhRkz.js → skills-status-DEdp3c6y.js} +3 -3
- package/dist/{status-CbJxUaE5.js → status-BacPIpt6.js} +35 -35
- package/dist/{status-BBq1TMwB.js → status-BsGjriqM.js} +4 -4
- package/dist/{status.update-Dhleef_a.js → status.update-C4YRQzqD.js} +2 -2
- package/dist/{store-AQt3mu5T.js → store-BFf8dvdk.js} +7 -7
- package/dist/{subsystem-CXwk-lx3.js → subsystem-DLKs6VzZ.js} +1 -1
- package/dist/{supervisor-recovery-adapter-DVA_i7Fv.js → supervisor-recovery-adapter-BIN1RCIY.js} +7 -7
- package/dist/{system-cli-Dja3Rqeg.js → system-cli-LSxX4WjX.js} +13 -13
- package/dist/{system-run-command-Cv1h27tf.js → system-run-command-Dl8UC6hO.js} +2 -2
- package/dist/{systemd-Cjr55Dzl.js → systemd-BJqlwupF.js} +11 -11
- package/dist/{systemd-hints-Dd6VtLsV.js → systemd-hints-Cp0IfOPD.js} +9 -9
- package/dist/{systemd-linger-CoejU-0l.js → systemd-linger-Dk1GWduD.js} +2 -2
- package/dist/{table-CuH5YX2S.js → table-H366JkfJ.js} +2 -2
- package/dist/{tables-BBiYzs81.js → tables-CCEXTXTG.js} +1 -1
- package/dist/{tailnet-cZK3OCUB.js → tailnet-BSKE3pk_.js} +1 -1
- package/dist/{tailscale-DVz4yfpc.js → tailscale-BrZL_MiW.js} +2 -2
- package/dist/{task-pipeline-boot-yTQaBch8.js → task-pipeline-boot-CM-3tH09.js} +97 -97
- package/dist/{task-pipeline-boot-CUdpZ3t3.js → task-pipeline-boot-Dihxq0Tg.js} +18 -18
- package/dist/{task-runlog-retention-BdL6aGzZ.js → task-runlog-retention-DCbMK2T8.js} +67 -12
- package/dist/{task-runlog-retention-DhORDPYJ.js → task-runlog-retention-GZu-QuBY.js} +64 -9
- package/dist/{tasks-DKKuqmaV.js → tasks-Dm1ljmuN.js} +11 -11
- package/dist/{tokens-x3WbTUiR.js → tokens-B6PaaeVv.js} +1 -1
- package/dist/{tool-display-CO_Gj1t5.js → tool-display-DiZGbhL2.js} +1 -1
- package/dist/{tool-loop-detection-CGxEpEyN.js → tool-loop-detection-DHQv318m.js} +2 -2
- package/dist/{trash-BDCU6Fb2.js → trash-DNkuLhfz.js} +3 -3
- package/dist/{tui-DgQvXSe6.js → tui-DQwfx20_.js} +1 -1
- package/dist/{tui-wtR2jl1B.js → tui-X8LP2ykY.js} +8 -8
- package/dist/{tui-cli-CNz7Mg8b.js → tui-cli-DFen3XYb.js} +4 -4
- package/dist/{tui-cli-D4GLKISY.js → tui-cli-Dhj11694.js} +31 -31
- package/dist/{update-BEgLahg5.js → update-CYcHPlAS.js} +3 -3
- package/dist/{update-CVYwBE80.js → update-VuewNwzn.js} +1 -1
- package/dist/{update-cli-DhfSepno.js → update-cli-DE0ttohR.js} +26 -26
- package/dist/{update-cli-D-GilQk7.js → update-cli-DECVfh7L.js} +135 -135
- package/dist/{update-runner-ha2YJZBG.js → update-runner-C8NxlRy7.js} +18 -18
- package/dist/{update-runner-BTMpYRTQ.js → update-runner-CBbs-iN_.js} +1 -1
- package/dist/{user-run-recording-BR_U9osf.js → user-run-recording-DXNyfjMq.js} +2 -2
- package/dist/{validation-cli-hVAwTijW.js → validation-cli-D8dTZ830.js} +18 -18
- package/dist/{validation-cli-BwvVf8tp.js → validation-cli-Di7B-mhn.js} +97 -97
- package/dist/{web-cli-BtQrD08h.js → web-cli-B0hbvEsp.js} +3 -3
- package/dist/{web-client-assets-COSve3Rq.js → web-client-assets-nkeo2cLh.js} +1 -1
- package/dist/{webhooks-cli-B7OIieVk.js → webhooks-cli-Rne_IilT.js} +10 -10
- package/dist/{widearea-dns-B9lNb6ro.js → widearea-dns-B1ALOpPn.js} +1 -1
- package/dist/{with-timeout-CuFl-tDg.js → with-timeout-BfG7k9-4.js} +2 -2
- package/dist/{with-timeout-DIENRALL.js → with-timeout-CpZZ4mMw.js} +6 -6
- package/dist/{workspace-Dt30ZPzK.js → workspace-DkkkJ4GX.js} +2 -2
- package/dist/{workspace-dirs-CCmfLlPy.js → workspace-dirs-mzsfTPed.js} +1 -1
- package/dist/{ws-CBDMKFAM.js → ws-DESjYW7M.js} +2 -2
- package/dist/{wsl-C9d12M7y.js → wsl-BisEqrSr.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/elevenlabs/src/streaming-speech-provider-faults.test.ts +2 -2
- package/extensions/elevenlabs/src/streaming-speech-provider.test.ts +19 -5
- package/extensions/elevenlabs/src/streaming-speech-provider.ts +3 -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/cli-CAr3GVB1.js +0 -164
- package/dist/pi-embedded-recovery-adapter-CpGvtObS.js +0 -60
- package/dist/register.configure-C2X-xBB6.js +0 -168
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as formatLocalDate, ct as clamp } from "./globals-
|
|
1
|
+
import { b as formatLocalDate, ct as clamp } from "./globals-ZyVsnNcg.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 { h as getLogger, n as info, o as logVerboseConsole, t as danger, u as warn } from "./globals-
|
|
2
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { h as getLogger, n as info, o as logVerboseConsole, t as danger, u as warn } from "./globals-ZyVsnNcg.js";
|
|
2
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/logger.ts
|
|
5
5
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { dt as displayPath } from "./globals-
|
|
2
|
+
import { dt as displayPath } from "./globals-ZyVsnNcg.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/logging.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme, v as formatLocalIsoWithOffset, y as isValidTimeZone } from "./globals-
|
|
1
|
+
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme, v as formatLocalIsoWithOffset, y as isValidTimeZone } from "./globals-ZyVsnNcg.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { g as clearActiveProgressLine } from "./subsystem-
|
|
3
|
+
import { g as clearActiveProgressLine } from "./subsystem-DLKs6VzZ.js";
|
|
4
4
|
import "./boolean-Bb19hm9Y.js";
|
|
5
|
-
import { o as loadConfig } from "./config-
|
|
5
|
+
import { o as loadConfig } from "./config-BPACL-n5.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./logger-
|
|
9
|
-
import "./exec-
|
|
7
|
+
import "./agent-scope-Dt0TVWFY.js";
|
|
8
|
+
import "./logger-B1oXl7GT.js";
|
|
9
|
+
import "./exec-vJi_ETQy.js";
|
|
10
10
|
import "./github-copilot-token-CvN6iidT.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-N4aQiv3X.js";
|
|
12
12
|
import "./retry-policy-BdHwnvOa.js";
|
|
@@ -14,17 +14,17 @@ import "./artifacts-C9Cr_S5Y.js";
|
|
|
14
14
|
import "./chat-envelope-DfuAGxmg.js";
|
|
15
15
|
import "./task-run-types-B6n0W8Rb.js";
|
|
16
16
|
import "./static-server-CRGPIP-a.js";
|
|
17
|
-
import "./tailnet-
|
|
18
|
-
import "./ws-
|
|
19
|
-
import "./client-
|
|
20
|
-
import { b as resolveLeastPrivilegeOperatorScopesForMethod, t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
+
import "./tailnet-BSKE3pk_.js";
|
|
18
|
+
import "./ws-DESjYW7M.js";
|
|
19
|
+
import "./client-DN-SMVBn.js";
|
|
20
|
+
import { b as resolveLeastPrivilegeOperatorScopesForMethod, t as buildGatewayConnectionDetails } from "./call-PE59cW0J.js";
|
|
21
21
|
import "./pairing-token-BfRB0jVM.js";
|
|
22
|
-
import { t as formatDocsLink } from "./links-
|
|
23
|
-
import "./progress-
|
|
24
|
-
import { n as callGatewayFromCli, r as openGatewayCliSessionFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
22
|
+
import { t as formatDocsLink } from "./links-BZDTcdHU.js";
|
|
23
|
+
import "./progress-Dc4ihErK.js";
|
|
24
|
+
import { n as callGatewayFromCli, r as openGatewayCliSessionFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DOfMq6W1.js";
|
|
25
25
|
import { t as parseLogLine } from "./parse-log-line-pij_xhtE.js";
|
|
26
|
-
import { i as resolveActiveLogFile, r as readLogSliceFromHandle, t as createLogFileResolver } from "./log-tail-
|
|
27
|
-
import
|
|
26
|
+
import { i as resolveActiveLogFile, r as readLogSliceFromHandle, t as createLogFileResolver } from "./log-tail-Dg2oYTZ6.js";
|
|
27
|
+
import fs from "node:fs/promises";
|
|
28
28
|
import { setTimeout } from "node:timers/promises";
|
|
29
29
|
import { StringDecoder } from "node:string_decoder";
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ const MAX_PARTIAL_BYTES = 1048576;
|
|
|
35
35
|
async function tryOpen(file) {
|
|
36
36
|
let handle;
|
|
37
37
|
try {
|
|
38
|
-
handle = await
|
|
38
|
+
handle = await fs.open(file, "r");
|
|
39
39
|
} catch {
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
@@ -161,7 +161,7 @@ async function followLogFile(opts, emit) {
|
|
|
161
161
|
break;
|
|
162
162
|
}
|
|
163
163
|
const target = await opts.resolveFile();
|
|
164
|
-
const st = await
|
|
164
|
+
const st = await fs.stat(target).catch(() => null);
|
|
165
165
|
if (!state.handle) {
|
|
166
166
|
if (st) {
|
|
167
167
|
const opened = await tryOpen(target);
|
|
@@ -409,7 +409,7 @@ async function resolveFollowSource(opts) {
|
|
|
409
409
|
const configuredFile = getResolvedLoggerSettings().file;
|
|
410
410
|
try {
|
|
411
411
|
const resolved = await resolveActiveLogFile(configuredFile);
|
|
412
|
-
await
|
|
412
|
+
await fs.access(resolved, fs.constants.R_OK);
|
|
413
413
|
return {
|
|
414
414
|
kind: "file",
|
|
415
415
|
configuredFile
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Dt as truncateUtf16Safe, lt as clampInt, ut as clampNumber, xt as resolveUserPath } from "./globals-
|
|
2
|
+
import { Dt as truncateUtf16Safe, lt as clampInt, ut as clampNumber, xt as resolveUserPath } from "./globals-ZyVsnNcg.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
5
5
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
6
|
-
import { Fu as normalizeOptionalSecretInput, Uu as normalizeResolvedSecretInputString, _l as requireApiKey, bi as onSessionTranscriptUpdate, bl as resolveEnvApiKey, o as loadConfig, tl as retryAsync, vl as resolveApiKeyForProvider } from "./config-
|
|
7
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { Fu as normalizeOptionalSecretInput, Uu as normalizeResolvedSecretInputString, _l as requireApiKey, bi as onSessionTranscriptUpdate, bl as resolveEnvApiKey, o as loadConfig, tl as retryAsync, vl as resolveApiKeyForProvider } from "./config-BPACL-n5.js";
|
|
7
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-Dt0TVWFY.js";
|
|
8
8
|
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-C9Cr_S5Y.js";
|
|
9
9
|
import { i as formatErrorMessage } from "./errors-Bf0TUXNT.js";
|
|
10
10
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-C60x4trY.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
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-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BzXFjlMV.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DiMQTef3.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-BydaUlRH.js";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Oa as normalizeChannelId, ho as resolveAccountEntry } from "./config-
|
|
2
|
+
import { Oa as normalizeChannelId, ho as resolveAccountEntry } from "./config-BPACL-n5.js";
|
|
3
3
|
import { S as normalizeAccountId } from "./session-key-D4YLCjDF.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ct as shortenHomeInString, d as colorize, f as isRich, p as theme, s as setVerbose, wt as shortenHomePath, xt as resolveUserPath } from "./globals-
|
|
2
|
+
import { Ct as shortenHomeInString, d as colorize, f as isRich, p as theme, s as setVerbose, wt as shortenHomePath, xt as resolveUserPath } from "./globals-ZyVsnNcg.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { Ws as splitShellArgs, o as loadConfig, ri as parseDurationMs } from "./config-
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
5
|
+
import { Ws as splitShellArgs, o as loadConfig, ri as parseDurationMs } from "./config-BPACL-n5.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dt0TVWFY.js";
|
|
7
7
|
import { n as isPrimarySessionTranscriptFileName, p as resolveSessionTranscriptsDirForAgent } from "./artifacts-C9Cr_S5Y.js";
|
|
8
8
|
import { i as formatErrorMessage } from "./errors-Bf0TUXNT.js";
|
|
9
|
-
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
10
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
11
|
-
import { t as formatDocsLink } from "./links-
|
|
9
|
+
import { r as getMemoryCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-CJ1czw_Q.js";
|
|
10
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BydaUlRH.js";
|
|
11
|
+
import { t as formatDocsLink } from "./links-BZDTcdHU.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-aSBNHQae.js";
|
|
13
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
14
|
-
import { n as withProgress, r as withProgressTotals } from "./progress-
|
|
13
|
+
import { t as formatHelpExamples } from "./help-format-DuL_Y84f.js";
|
|
14
|
+
import { n as withProgress, r as withProgressTotals } from "./progress-Dc4ihErK.js";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import fs from "node:fs";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
|
|
20
20
|
//#region src/memory/backend-config.ts
|
|
21
21
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -233,7 +233,7 @@ async function getMemorySearchManager(params) {
|
|
|
233
233
|
if (cached) return { manager: cached };
|
|
234
234
|
}
|
|
235
235
|
try {
|
|
236
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
236
|
+
const { QmdMemoryManager } = await import("./qmd-manager-IztYub3L.js");
|
|
237
237
|
const primary = await QmdMemoryManager.create({
|
|
238
238
|
cfg: params.cfg,
|
|
239
239
|
agentId: params.agentId,
|
|
@@ -245,7 +245,7 @@ async function getMemorySearchManager(params) {
|
|
|
245
245
|
const wrapper = new FallbackMemoryManager({
|
|
246
246
|
primary,
|
|
247
247
|
fallbackFactory: async () => {
|
|
248
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
248
|
+
const { MemoryIndexManager } = await import("./manager-PSj0t5kg.js").then((n) => n.t);
|
|
249
249
|
return await MemoryIndexManager.get(params);
|
|
250
250
|
}
|
|
251
251
|
}, () => {
|
|
@@ -260,7 +260,7 @@ async function getMemorySearchManager(params) {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
try {
|
|
263
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
263
|
+
const { MemoryIndexManager } = await import("./manager-PSj0t5kg.js").then((n) => n.t);
|
|
264
264
|
return { manager: await MemoryIndexManager.get(params) };
|
|
265
265
|
} catch (err) {
|
|
266
266
|
return {
|
|
@@ -451,7 +451,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
451
451
|
}
|
|
452
452
|
async function checkReadableFile(pathname) {
|
|
453
453
|
try {
|
|
454
|
-
await
|
|
454
|
+
await fs$1.access(pathname, fs.constants.R_OK);
|
|
455
455
|
return { exists: true };
|
|
456
456
|
} catch (err) {
|
|
457
457
|
const code = err.code;
|
|
@@ -468,7 +468,7 @@ async function scanSessionFiles(agentId) {
|
|
|
468
468
|
try {
|
|
469
469
|
return {
|
|
470
470
|
source: "sessions",
|
|
471
|
-
totalFiles: (await
|
|
471
|
+
totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && isPrimarySessionTranscriptFileName(entry.name)).length,
|
|
472
472
|
issues
|
|
473
473
|
};
|
|
474
474
|
} catch (err) {
|
|
@@ -500,7 +500,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
500
500
|
if (alt.issue) issues.push(alt.issue);
|
|
501
501
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
502
502
|
for (const extraPath of resolvedExtraPaths) try {
|
|
503
|
-
if ((await
|
|
503
|
+
if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
|
|
504
504
|
const extraCheck = await checkReadableFile(extraPath);
|
|
505
505
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
506
506
|
} catch (err) {
|
|
@@ -510,7 +510,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
510
510
|
}
|
|
511
511
|
let dirReadable = null;
|
|
512
512
|
try {
|
|
513
|
-
await
|
|
513
|
+
await fs$1.access(memoryDir, fs.constants.R_OK);
|
|
514
514
|
dirReadable = true;
|
|
515
515
|
} catch (err) {
|
|
516
516
|
const code = err.code;
|
|
@@ -558,7 +558,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
558
558
|
if (!dbPath) return null;
|
|
559
559
|
let stat;
|
|
560
560
|
try {
|
|
561
|
-
stat = await
|
|
561
|
+
stat = await fs$1.stat(dbPath);
|
|
562
562
|
} catch (err) {
|
|
563
563
|
const code = err.code;
|
|
564
564
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ec as normalizeProviderId, Eu as resolveOpenClawAgentDir, qu as DEFAULT_CONTEXT_TOKENS } from "./config-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { Ec as normalizeProviderId, Eu as resolveOpenClawAgentDir, qu as DEFAULT_CONTEXT_TOKENS } from "./config-BPACL-n5.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CZ9wxcE8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { Eu as resolveOpenClawAgentDir, o as loadConfig } from "./config-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
2
|
+
import { Eu as resolveOpenClawAgentDir, o as loadConfig } from "./config-BPACL-n5.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-BMgEFu57.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
const log = createSubsystemLogger("model-catalog");
|
|
7
7
|
let modelCatalogPromise = null;
|
|
8
8
|
let hasLoggedModelCatalogError = false;
|
|
9
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
9
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-CZ9wxcE8.js").then((n) => n.r);
|
|
10
10
|
let importPiSdk = defaultImportPiSdk;
|
|
11
11
|
const CODEX_PROVIDER = "openai-codex";
|
|
12
12
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Cc as modelKey, Ec as normalizeProviderId, Ju as DEFAULT_MODEL, Yu as DEFAULT_PROVIDER, bl as resolveEnvApiKey, fu as listProfilesForProvider, gc as buildAllowedModelSet, gl as getCustomProviderApiKey, gu as upsertAuthProfileWithLock, jc as resolveConfiguredModelRef, vc as buildModelAliasIndex, vu as ensureAuthProfileStore } from "./config-
|
|
3
|
-
import { F as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Cc as modelKey, Ec as normalizeProviderId, Ju as DEFAULT_MODEL, Yu as DEFAULT_PROVIDER, bl as resolveEnvApiKey, fu as listProfilesForProvider, gc as buildAllowedModelSet, gl as getCustomProviderApiKey, gu as upsertAuthProfileWithLock, jc as resolveConfiguredModelRef, vc as buildModelAliasIndex, vu as ensureAuthProfileStore } from "./config-BPACL-n5.js";
|
|
3
|
+
import { F as resolveAgentModelPrimaryValue } from "./agent-scope-Dt0TVWFY.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-Bjfzg68Q.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-BZXtBEEK.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as colorize, f as isRich$1, p as theme, wt as shortenHomePath } from "./globals-
|
|
2
|
+
import { d as colorize, f as isRich$1, p as theme, wt as shortenHomePath } from "./globals-ZyVsnNcg.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { $u as shouldEnableShellEnvFallback, Cc as modelKey, Ec as normalizeProviderId, Eu as resolveOpenClawAgentDir, Il as resolveProfileUnusableUntilForDisplay, Ju as DEFAULT_MODEL, Mc as resolveDefaultModelForAgent, Oc as parseModelRef, Pc as resolveModelRefFromString, Tu as resolveAuthStorePathForDisplay, Xu as getShellEnvAppliedKeys, Yu as DEFAULT_PROVIDER, bl as resolveEnvApiKey, fu as listProfilesForProvider, gl as getCustomProviderApiKey, hu as upsertAuthProfile, jc as resolveConfiguredModelRef, jl as resolveAuthProfileOrder, ju as resolveAuthProfileDisplayLabel, mu as setAuthProfileOrder, o as loadConfig, ri as parseDurationMs, vc as buildModelAliasIndex, vl as resolveApiKeyForProvider, vu as ensureAuthProfileStore, yc as findNormalizedProviderValue, yl as resolveAwsSdkEnvVarName } from "./config-
|
|
5
|
-
import { A as resolveDefaultAgentWorkspaceDir, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { $u as shouldEnableShellEnvFallback, Cc as modelKey, Ec as normalizeProviderId, Eu as resolveOpenClawAgentDir, Il as resolveProfileUnusableUntilForDisplay, Ju as DEFAULT_MODEL, Mc as resolveDefaultModelForAgent, Oc as parseModelRef, Pc as resolveModelRefFromString, Tu as resolveAuthStorePathForDisplay, Xu as getShellEnvAppliedKeys, Yu as DEFAULT_PROVIDER, bl as resolveEnvApiKey, fu as listProfilesForProvider, gl as getCustomProviderApiKey, hu as upsertAuthProfile, jc as resolveConfiguredModelRef, jl as resolveAuthProfileOrder, ju as resolveAuthProfileDisplayLabel, mu as setAuthProfileOrder, o as loadConfig, ri as parseDurationMs, vc as buildModelAliasIndex, vl as resolveApiKeyForProvider, vu as ensureAuthProfileStore, yc as findNormalizedProviderValue, yl as resolveAwsSdkEnvVarName } from "./config-BPACL-n5.js";
|
|
5
|
+
import { A as resolveDefaultAgentWorkspaceDir, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Dt0TVWFY.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-N4aQiv3X.js";
|
|
7
7
|
import { p as resolveSessionTranscriptsDirForAgent, u as resolveSessionTranscriptPath } from "./artifacts-C9Cr_S5Y.js";
|
|
8
|
-
import { Et as describeFailoverError, Jt as buildAuthHealthSummary, Yt as formatRemainingShort, b as resolvePluginProviders, fn as formatUsageWindowSummary, g as runEmbeddedPiAgent, mn as maskApiKey, pn as resolveUsageProviderId, qt as DEFAULT_OAUTH_WARN_MS, un as loadProviderUsageSummary } from "./agent-turn-execute-
|
|
9
|
-
import { r as resolveForwardCompatModel } from "./model-
|
|
10
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
11
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
12
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
13
|
-
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
14
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
15
|
-
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-
|
|
16
|
-
import { r as withProgressTotals } from "./progress-
|
|
17
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
18
|
-
import { t as renderTable } from "./table-
|
|
8
|
+
import { Et as describeFailoverError, Jt as buildAuthHealthSummary, Yt as formatRemainingShort, b as resolvePluginProviders, fn as formatUsageWindowSummary, g as runEmbeddedPiAgent, mn as maskApiKey, pn as resolveUsageProviderId, qt as DEFAULT_OAUTH_WARN_MS, un as loadProviderUsageSummary } from "./agent-turn-execute-pkDSwyuf.js";
|
|
9
|
+
import { r as resolveForwardCompatModel } from "./model-BbeosLtF.js";
|
|
10
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CZ9wxcE8.js";
|
|
11
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-BMgEFu57.js";
|
|
12
|
+
import { n as loadModelCatalog } from "./model-catalog-Bjfzg68Q.js";
|
|
13
|
+
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-CJ1czw_Q.js";
|
|
14
|
+
import { f as openUrl } from "./onboard-helpers-DNbkQX5v.js";
|
|
15
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-XoPngT10.js";
|
|
16
|
+
import { r as withProgressTotals } from "./progress-Dc4ihErK.js";
|
|
17
|
+
import { t as createClackPrompter } from "./clack-prompter-fldgCPEr.js";
|
|
18
|
+
import { t as renderTable } from "./table-H366JkfJ.js";
|
|
19
19
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BCRDjJEJ.js";
|
|
20
20
|
import { n as redactSecrets } from "./format-yQZNwAF2.js";
|
|
21
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
22
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
23
|
-
import { n as logConfigUpdated } from "./logging-
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
21
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-BZXtBEEK.js";
|
|
22
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-xxEJDMxh.js";
|
|
23
|
+
import { n as logConfigUpdated } from "./logging-DgKdQHpc.js";
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, t as applyDefaultModel } from "./provider-auth-helpers-B5HQVptJ.js";
|
|
25
25
|
import path from "node:path";
|
|
26
|
-
import
|
|
26
|
+
import fs from "node:fs/promises";
|
|
27
27
|
import crypto from "node:crypto";
|
|
28
28
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
29
29
|
import { Type } from "@sinclair/typebox";
|
|
@@ -854,7 +854,7 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
854
854
|
//#region src/commands/models/list.list-command.ts
|
|
855
855
|
async function modelsListCommand(opts, runtime) {
|
|
856
856
|
ensureFlagCompatibility(opts);
|
|
857
|
-
const { ensureAuthProfileStore } = await import("./config-
|
|
857
|
+
const { ensureAuthProfileStore } = await import("./config-BPACL-n5.js").then((n) => n.Al);
|
|
858
858
|
const cfg = await loadModelsConfig({
|
|
859
859
|
commandName: "models list",
|
|
860
860
|
runtime
|
|
@@ -917,7 +917,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
if (!model) {
|
|
920
|
-
const { resolveModel } = await import("./model-
|
|
920
|
+
const { resolveModel } = await import("./model-BbeosLtF.js").then((n) => n.t);
|
|
921
921
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
922
922
|
}
|
|
923
923
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1192,7 +1192,7 @@ async function probeTarget(params) {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1194
1194
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1195
|
-
await
|
|
1195
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1196
1196
|
const start = Date.now();
|
|
1197
1197
|
try {
|
|
1198
1198
|
await runEmbeddedPiAgent({
|
|
@@ -1247,7 +1247,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1247
1247
|
const agentDir = resolveOpenClawAgentDir();
|
|
1248
1248
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1249
1249
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1250
|
-
await
|
|
1250
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1251
1251
|
let completed = 0;
|
|
1252
1252
|
const results = Array.from({ length: targets.length });
|
|
1253
1253
|
let cursor = 0;
|