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
package/dist/{agent-turn-recovery-adapter-D2yM42JV.js → agent-turn-recovery-adapter-CL4IrGUo.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
2
|
import "./utils-CMEUUHmM.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
4
|
-
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID, u as isSessionRecoveryTurnPayload } from "./agent-turn-enqueue-
|
|
4
|
+
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID, u as isSessionRecoveryTurnPayload } from "./agent-turn-enqueue-QcHb-Wlq.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
|
|
7
7
|
//#region src/acp/control-plane/agent-turn-recovery.ts
|
package/dist/{agent-turn-recovery-adapter-BhqXEKaC.js → agent-turn-recovery-adapter-Dw5-XbMI.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./globals-
|
|
1
|
+
import "./globals-ZyVsnNcg.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID, u as isSessionRecoveryTurnPayload } from "./agent-turn-enqueue-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
4
|
+
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID, u as isSessionRecoveryTurnPayload } from "./agent-turn-enqueue-CsHMHVsf.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
|
|
7
7
|
//#region src/acp/control-plane/agent-turn-recovery.ts
|
|
@@ -4,7 +4,7 @@ import { N as parseAgentSessionKey } from "./session-key-B1wN38jV.js";
|
|
|
4
4
|
import { Qa as CLIENT_RESUME_RECORD_KIND, eo as isVerificationStoreError } from "./model-selection-k68XU4oS.js";
|
|
5
5
|
import { l as onDiagnosticEvent, s as emitDiagnosticEvent } from "./task-run-types-B5uIC1Y7.js";
|
|
6
6
|
import { t as redactIdentifier } from "./redact-identifier-CSPL9LuH.js";
|
|
7
|
-
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID } from "./agent-turn-enqueue-
|
|
7
|
+
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID } from "./agent-turn-enqueue-QcHb-Wlq.js";
|
|
8
8
|
import { n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-BntUAL0_.js";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
import { readFileSync } from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Di as isVerificationStoreError, Ti as CLIENT_RESUME_RECORD_KIND } from "./config-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
3
|
+
import { Di as isVerificationStoreError, Ti as CLIENT_RESUME_RECORD_KIND } from "./config-BPACL-n5.js";
|
|
4
4
|
import { N as parseAgentSessionKey } from "./session-key-D4YLCjDF.js";
|
|
5
5
|
import { l as onDiagnosticEvent, s as emitDiagnosticEvent } from "./task-run-types-B6n0W8Rb.js";
|
|
6
6
|
import { t as redactIdentifier } from "./redact-identifier-BcqQpFrh.js";
|
|
7
|
-
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID } from "./agent-turn-enqueue-
|
|
8
|
-
import { n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
7
|
+
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID } from "./agent-turn-enqueue-CsHMHVsf.js";
|
|
8
|
+
import { n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-Ca_njjjH.js";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
import { dirname, join, parse } from "node:path";
|
|
11
11
|
import { readFileSync } from "node:fs";
|
|
@@ -178,7 +178,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
178
178
|
return true;
|
|
179
179
|
}
|
|
180
180
|
async function defaultExecute(claim) {
|
|
181
|
-
const { runMainAgentTurn } = await import("./pi-embedded-
|
|
181
|
+
const { runMainAgentTurn } = await import("./pi-embedded-COs_yO7U.js").then((n) => n.o);
|
|
182
182
|
return runMainAgentTurn(claim.message.payload);
|
|
183
183
|
}
|
|
184
184
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -190,7 +190,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
190
190
|
startedAt: opts?.startedAt ?? Date.now()
|
|
191
191
|
};
|
|
192
192
|
waiters.set(sessionKey, handle);
|
|
193
|
-
const { getQueueSize } = await import("./command-queue-
|
|
193
|
+
const { getQueueSize } = await import("./command-queue-CkNuNlmY.js").then((n) => n.r);
|
|
194
194
|
if (handle.cancelled || closing) return;
|
|
195
195
|
const release = (force = false) => {
|
|
196
196
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -212,7 +212,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
212
212
|
}
|
|
213
213
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
214
214
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
215
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
215
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-CkNuNlmY.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
216
216
|
const policy = payload.busy ?? "skip";
|
|
217
217
|
const id = agentTurnIdempotencyKey(payload);
|
|
218
218
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { wt as shortenHomePath, xt as resolveUserPath } from "./globals-
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { Da as listChannelPlugins, Ea as getChannelPlugin, Oa as normalizeChannelId, f as writeConfigFile, vu as ensureAuthProfileStore, wu as resolveAuthStorePath } from "./config-
|
|
2
|
+
import { wt as shortenHomePath, xt as resolveUserPath } from "./globals-ZyVsnNcg.js";
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-DLKs6VzZ.js";
|
|
4
|
+
import { Da as listChannelPlugins, Ea as getChannelPlugin, Oa as normalizeChannelId, f as writeConfigFile, vu as ensureAuthProfileStore, wu as resolveAuthStorePath } from "./config-BPACL-n5.js";
|
|
5
5
|
import { d as normalizeAgentId, t as DEFAULT_AGENT_ID, x as DEFAULT_ACCOUNT_ID } from "./session-key-D4YLCjDF.js";
|
|
6
|
-
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-Dt0TVWFY.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-N4aQiv3X.js";
|
|
8
8
|
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-C9Cr_S5Y.js";
|
|
9
|
-
import { Q as parseIdentityMarkdown, X as identityHasValues } from "./agent-turn-execute-
|
|
9
|
+
import { Q as parseIdentityMarkdown, X as identityHasValues } from "./agent-turn-execute-pkDSwyuf.js";
|
|
10
10
|
import { n as docsSiteUrl } from "./docs-site-CknyeB6K.js";
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DNbkQX5v.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-BBkof-cQ.js";
|
|
13
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
13
|
+
import { t as createClackPrompter } from "./clack-prompter-fldgCPEr.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-GPI9o9AS.js";
|
|
15
|
-
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-
|
|
16
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
18
|
-
import { n as logConfigUpdated } from "./logging-
|
|
15
|
+
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-BdrPl8og.js";
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-96ueVlOH.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-Bm2XVN3C.js";
|
|
18
|
+
import { n as logConfigUpdated } from "./logging-DgKdQHpc.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-Dq98K1DB.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-DtRePxUx.js";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fs from "node:fs/promises";
|
|
23
23
|
|
|
24
24
|
//#region src/commands/agents.command-shared.ts
|
|
25
25
|
function createQuietRuntime(runtime) {
|
|
@@ -266,7 +266,7 @@ async function agentsUnbindCommand(opts, runtime = defaultRuntime) {
|
|
|
266
266
|
//#region src/commands/agents.commands.add.ts
|
|
267
267
|
async function fileExists(pathname) {
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fs.stat(pathname);
|
|
270
270
|
return true;
|
|
271
271
|
} catch {
|
|
272
272
|
return false;
|
|
@@ -408,8 +408,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
408
408
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
409
409
|
initialValue: false
|
|
410
410
|
})) {
|
|
411
|
-
await
|
|
412
|
-
await
|
|
411
|
+
await fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
412
|
+
await fs.copyFile(sourceAuthPath, destAuthPath);
|
|
413
413
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -557,7 +557,7 @@ const coerceTrimmed = (value) => {
|
|
|
557
557
|
};
|
|
558
558
|
async function loadIdentityFromFile(filePath) {
|
|
559
559
|
try {
|
|
560
|
-
const parsed = parseIdentityMarkdown(await
|
|
560
|
+
const parsed = parseIdentityMarkdown(await fs.readFile(filePath, "utf-8"));
|
|
561
561
|
if (!identityHasValues(parsed)) return null;
|
|
562
562
|
return parsed;
|
|
563
563
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as normalizeAgentId } from "./session-key-D4YLCjDF.js";
|
|
2
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { X as identityHasValues, Z as loadAgentIdentityFromWorkspace } from "./agent-turn-execute-
|
|
2
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-Dt0TVWFY.js";
|
|
3
|
+
import { X as identityHasValues, Z as loadAgentIdentityFromWorkspace } from "./agent-turn-execute-pkDSwyuf.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gn as loadAgentIdentityFromWorkspace, hn as identityHasValues } from "./reply-
|
|
1
|
+
import { gn as loadAgentIdentityFromWorkspace, hn as identityHasValues } from "./reply-B_SiN91-.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CWTkr4pS.js";
|
|
3
3
|
import { d as normalizeAgentId } from "./session-key-B1wN38jV.js";
|
|
4
4
|
|
|
@@ -10,8 +10,8 @@ import "./artifacts-QHme-vnS.js";
|
|
|
10
10
|
import "./redact-DZne_lu8.js";
|
|
11
11
|
import "./image-ops-D_fm2PuR.js";
|
|
12
12
|
import "./pi-model-discovery-B9KKtGuw.js";
|
|
13
|
-
import "./pi-embedded-helpers-
|
|
14
|
-
import "./chrome-
|
|
13
|
+
import "./pi-embedded-helpers-BYLOFsUc.js";
|
|
14
|
+
import "./chrome-FHxGdLnd.js";
|
|
15
15
|
import "./frontmatter-saAwiKEb.js";
|
|
16
16
|
import "./skills-ckuLxkyg.js";
|
|
17
17
|
import "./path-alias-guards-Zj-NwKjV.js";
|
|
@@ -19,13 +19,13 @@ import "./proxy-env-CzGKpJY_.js";
|
|
|
19
19
|
import "./fs-safe-LRpYbPaA.js";
|
|
20
20
|
import "./store-gQ6FSjVk.js";
|
|
21
21
|
import "./thinking-CwmtMy_H.js";
|
|
22
|
-
import "./provider-image-
|
|
23
|
-
import { b as isAudioAttachment, g as listAudioAttachments, h as findCarriedTranscript, i as normalizeMediaAttachments, m as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
22
|
+
import "./provider-image-BllyLBJM.js";
|
|
23
|
+
import { b as isAudioAttachment, g as listAudioAttachments, h as findCarriedTranscript, i as normalizeMediaAttachments, m as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-XFfvRPXl.js";
|
|
24
24
|
import "./fetch-BoHKSk-O.js";
|
|
25
25
|
import "./fetch-guard-TJjLK0FV.js";
|
|
26
26
|
import "./proxy-fetch-DCI0KuH6.js";
|
|
27
27
|
import "./api-key-rotation-Br7_jaAV.js";
|
|
28
|
-
import "./pi-embedded-utils-
|
|
28
|
+
import "./pi-embedded-utils-DOtaZ7KV.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { a as logVerbose, c as shouldLogVerbose } from "./globals-
|
|
1
|
+
import { a as logVerbose, c as shouldLogVerbose } from "./globals-ZyVsnNcg.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import "./subsystem-
|
|
3
|
+
import "./subsystem-DLKs6VzZ.js";
|
|
4
4
|
import "./boolean-Bb19hm9Y.js";
|
|
5
|
-
import "./config-
|
|
5
|
+
import "./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 "./retry-policy-BdHwnvOa.js";
|
|
12
12
|
import "./artifacts-C9Cr_S5Y.js";
|
|
13
13
|
import "./chat-envelope-DfuAGxmg.js";
|
|
14
14
|
import "./task-run-types-B6n0W8Rb.js";
|
|
15
15
|
import "./static-server-CRGPIP-a.js";
|
|
16
|
-
import "./pi-embedded-helpers-
|
|
17
|
-
import "./sandbox-
|
|
16
|
+
import "./pi-embedded-helpers-C9XqX-Jq.js";
|
|
17
|
+
import "./sandbox-BpdiWabc.js";
|
|
18
18
|
import "./tool-catalog-BWgva5h1.js";
|
|
19
|
-
import "./extension-relay-auth-
|
|
20
|
-
import "./tailscale-
|
|
21
|
-
import "./tailnet-
|
|
22
|
-
import "./ws-
|
|
23
|
-
import "./auth-
|
|
24
|
-
import "./server-context-
|
|
19
|
+
import "./extension-relay-auth-DD-U9VUc.js";
|
|
20
|
+
import "./tailscale-BrZL_MiW.js";
|
|
21
|
+
import "./tailnet-BSKE3pk_.js";
|
|
22
|
+
import "./ws-DESjYW7M.js";
|
|
23
|
+
import "./auth-Cx-Q9zgv.js";
|
|
24
|
+
import "./server-context-BEjWhzMi.js";
|
|
25
25
|
import "./frontmatter-Dn2qUSOb.js";
|
|
26
|
-
import "./skills-
|
|
27
|
-
import "./path-alias-guards-
|
|
26
|
+
import "./skills-D3kpiNaJ.js";
|
|
27
|
+
import "./path-alias-guards-CHFrrzxZ.js";
|
|
28
28
|
import "./redact-BWPFahWo.js";
|
|
29
29
|
import "./errors-Bf0TUXNT.js";
|
|
30
|
-
import "./fs-safe-
|
|
31
|
-
import "./proxy-env-
|
|
32
|
-
import "./image-ops-
|
|
33
|
-
import "./store-
|
|
34
|
-
import "./chrome-
|
|
35
|
-
import "./trash-
|
|
36
|
-
import "./ports-
|
|
37
|
-
import "./server-middleware-
|
|
30
|
+
import "./fs-safe-CByGgR59.js";
|
|
31
|
+
import "./proxy-env-DzG6q8Hh.js";
|
|
32
|
+
import "./image-ops-Cq6SZYWW.js";
|
|
33
|
+
import "./store-BFf8dvdk.js";
|
|
34
|
+
import "./chrome-BsgpiutB.js";
|
|
35
|
+
import "./trash-DNkuLhfz.js";
|
|
36
|
+
import "./ports-QWAeZ9Is.js";
|
|
37
|
+
import "./server-middleware-CrJMxxfQ.js";
|
|
38
38
|
import "./thinking-NawgaQgc.js";
|
|
39
|
-
import "./pi-model-discovery-
|
|
40
|
-
import "./models-config-
|
|
41
|
-
import "./model-catalog-
|
|
42
|
-
import "./fetch-
|
|
43
|
-
import { O as isAudioAttachment, S as listAudioAttachments, b as audioOrdinalOf, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription, x as findCarriedTranscript } from "./audio-transcription-runner-
|
|
44
|
-
import "./fetch-guard-
|
|
45
|
-
import "./proxy-fetch-
|
|
46
|
-
import "./api-key-rotation-
|
|
47
|
-
import "./provider-image-
|
|
48
|
-
import "./pi-embedded-utils-
|
|
49
|
-
import "./tool-display-
|
|
39
|
+
import "./pi-model-discovery-CZ9wxcE8.js";
|
|
40
|
+
import "./models-config-BMgEFu57.js";
|
|
41
|
+
import "./model-catalog-Bjfzg68Q.js";
|
|
42
|
+
import "./fetch-ByEEe-Yd.js";
|
|
43
|
+
import { O as isAudioAttachment, S as listAudioAttachments, b as audioOrdinalOf, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription, x as findCarriedTranscript } from "./audio-transcription-runner-Gr8vN3AS.js";
|
|
44
|
+
import "./fetch-guard-BzXFjlMV.js";
|
|
45
|
+
import "./proxy-fetch-BqVhGKFd.js";
|
|
46
|
+
import "./api-key-rotation-DiMQTef3.js";
|
|
47
|
+
import "./provider-image-Bsivqxw8.js";
|
|
48
|
+
import "./pi-embedded-utils-BV_Dtzrw.js";
|
|
49
|
+
import "./tool-display-DiZGbhL2.js";
|
|
50
50
|
|
|
51
51
|
//#region src/media-understanding/audio-preflight.ts
|
|
52
52
|
/**
|
|
@@ -17,11 +17,11 @@ import "./task-run-types-B5uIC1Y7.js";
|
|
|
17
17
|
import "./static-server-C-iTMRyz.js";
|
|
18
18
|
import "./path-alias-guards-BSmwo1rT.js";
|
|
19
19
|
import "./fs-safe-DD7KXuvI.js";
|
|
20
|
-
import { _ as isAudioAttachment, d as listAudioAttachments, i as normalizeMediaAttachments, l as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription, u as findCarriedTranscript } from "./audio-transcription-runner-
|
|
20
|
+
import { _ as isAudioAttachment, d as listAudioAttachments, i as normalizeMediaAttachments, l as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription, u as findCarriedTranscript } from "./audio-transcription-runner-CsQR8LpS.js";
|
|
21
21
|
import "./fetch-guard-CjyGDRXN.js";
|
|
22
22
|
import "./ssrf-B85AIIOO.js";
|
|
23
23
|
import "./proxy-fetch-Czv8kxaL.js";
|
|
24
|
-
import "./pi-embedded-helpers-
|
|
24
|
+
import "./pi-embedded-helpers-DIUrv2Ua.js";
|
|
25
25
|
import "./local-roots-_qt4-Ma5.js";
|
|
26
26
|
import "./image-ops-DcqCZEUY.js";
|
|
27
27
|
import "./redact-CQtYLB4a.js";
|
|
@@ -29,17 +29,17 @@ import "./errors-z_JCBnTo.js";
|
|
|
29
29
|
import "./models-config-Burwt3mB.js";
|
|
30
30
|
import "./model-catalog-C7itJJDM.js";
|
|
31
31
|
import "./api-key-rotation-BEt1ZchD.js";
|
|
32
|
-
import "./provider-image-
|
|
32
|
+
import "./provider-image-BICZzOki.js";
|
|
33
33
|
import "./pi-model-discovery-CfUi22Es.js";
|
|
34
|
-
import "./pi-embedded-utils-
|
|
35
|
-
import "./sandbox-
|
|
34
|
+
import "./pi-embedded-utils-BetZbS6i.js";
|
|
35
|
+
import "./sandbox-7YCCMJoM.js";
|
|
36
36
|
import "./tool-catalog-B6wH7-iE.js";
|
|
37
37
|
import "./extension-relay-auth-C-1c9CZk.js";
|
|
38
38
|
import "./tailscale-DbsrfsUT.js";
|
|
39
39
|
import "./tailnet-G5phL2pY.js";
|
|
40
40
|
import "./ws-BuVK_u9S.js";
|
|
41
41
|
import "./auth-DeLQvx-N.js";
|
|
42
|
-
import "./server-context-
|
|
42
|
+
import "./server-context-CQQ6Q5Kp.js";
|
|
43
43
|
import "./frontmatter-B8Zb_8go.js";
|
|
44
44
|
import "./skills-Buc1RWDY.js";
|
|
45
45
|
import "./store-DoqX9VsZ.js";
|
package/dist/{audio-transcription-runner-D-iXNE6Y.js → audio-transcription-runner-CsQR8LpS.js}
RENAMED
|
@@ -13,7 +13,7 @@ import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileE
|
|
|
13
13
|
import { a as formatUncaughtError, c as readErrorName, n as extractErrorCode, t as collectErrorGraphCandidates } from "./errors-z_JCBnTo.js";
|
|
14
14
|
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-C7itJJDM.js";
|
|
15
15
|
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BEt1ZchD.js";
|
|
16
|
-
import { t as describeImageWithModel } from "./provider-image-
|
|
16
|
+
import { t as describeImageWithModel } from "./provider-image-BICZzOki.js";
|
|
17
17
|
import process$1 from "node:process";
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
19
19
|
import { constants } from "node:fs";
|
package/dist/{audio-transcription-runner-N8I-G4DN.js → audio-transcription-runner-Gr8vN3AS.js}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { J as isNotFoundPathError, Ot as resolvePreferredOpenClawTmpDir, X as isSymlinkOpenError, a as logVerbose, c as shouldLogVerbose } from "./globals-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Ec as normalizeProviderId, Ht as getActivePluginRegistry, _l as requireApiKey, b as mergeInboundPathRoots, v as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, vl as resolveApiKeyForProvider, x as resolveIMessageAttachmentRoots, y as isInboundPathAllowed } from "./config-
|
|
4
|
-
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
5
|
-
import { n as runExec } from "./exec-
|
|
1
|
+
import { J as isNotFoundPathError, Ot as resolvePreferredOpenClawTmpDir, X as isSymlinkOpenError, a as logVerbose, c as shouldLogVerbose } from "./globals-ZyVsnNcg.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DLKs6VzZ.js";
|
|
3
|
+
import { Ec as normalizeProviderId, Ht as getActivePluginRegistry, _l as requireApiKey, b as mergeInboundPathRoots, v as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, vl as resolveApiKeyForProvider, x as resolveIMessageAttachmentRoots, y as isInboundPathAllowed } from "./config-BPACL-n5.js";
|
|
4
|
+
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues } from "./agent-scope-Dt0TVWFY.js";
|
|
5
|
+
import { n as runExec } from "./exec-vJi_ETQy.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BPhkn_eM.js";
|
|
7
7
|
import { a as formatUncaughtError, c as readErrorName, n as extractErrorCode, t as collectErrorGraphCandidates } from "./errors-Bf0TUXNT.js";
|
|
8
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-Cq6SZYWW.js";
|
|
9
9
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-C60x4trY.js";
|
|
10
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
11
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
10
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-Bjfzg68Q.js";
|
|
11
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-ByEEe-Yd.js";
|
|
12
12
|
import { n as fetchWithTimeout } from "./fetch-timeout-Wg2M0G8N.js";
|
|
13
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
14
|
-
import { i as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
15
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
16
|
-
import { t as describeImageWithModel } from "./provider-image-
|
|
13
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BzXFjlMV.js";
|
|
14
|
+
import { i as resolveProxyFetchFromEnv } from "./proxy-fetch-BqVhGKFd.js";
|
|
15
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DiMQTef3.js";
|
|
16
|
+
import { t as describeImageWithModel } from "./provider-image-Bsivqxw8.js";
|
|
17
17
|
import process$1 from "node:process";
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
19
19
|
import os from "node:os";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import { constants } from "node:fs";
|
|
22
|
-
import
|
|
22
|
+
import fs$1, { rm } from "node:fs/promises";
|
|
23
23
|
import crypto from "node:crypto";
|
|
24
24
|
|
|
25
25
|
//#region src/media-understanding/attachments.normalize.ts
|
|
@@ -435,7 +435,7 @@ var MediaAttachmentCache = class {
|
|
|
435
435
|
const size = await this.ensureLocalStat(entry);
|
|
436
436
|
if (entry.resolvedPath) {
|
|
437
437
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
438
|
-
const buffer = await
|
|
438
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
439
439
|
entry.buffer = buffer;
|
|
440
440
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
441
441
|
buffer,
|
|
@@ -504,10 +504,10 @@ var MediaAttachmentCache = class {
|
|
|
504
504
|
prefix: "openclaw-media",
|
|
505
505
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
506
506
|
});
|
|
507
|
-
await
|
|
507
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
508
508
|
entry.tempPath = tmpPath;
|
|
509
509
|
entry.tempCleanup = async () => {
|
|
510
|
-
await
|
|
510
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
511
511
|
};
|
|
512
512
|
return {
|
|
513
513
|
path: tmpPath,
|
|
@@ -555,13 +555,13 @@ var MediaAttachmentCache = class {
|
|
|
555
555
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
556
556
|
try {
|
|
557
557
|
const currentPath = entry.resolvedPath;
|
|
558
|
-
const stat = await
|
|
558
|
+
const stat = await fs$1.stat(currentPath);
|
|
559
559
|
if (!stat.isFile()) {
|
|
560
560
|
entry.resolvedPath = void 0;
|
|
561
561
|
entry.localPathSecurityRejected = true;
|
|
562
562
|
return;
|
|
563
563
|
}
|
|
564
|
-
const canonicalPath = await
|
|
564
|
+
const canonicalPath = await fs$1.realpath(currentPath);
|
|
565
565
|
if (!isInboundPathAllowed({
|
|
566
566
|
filePath: canonicalPath,
|
|
567
567
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -585,7 +585,7 @@ var MediaAttachmentCache = class {
|
|
|
585
585
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
586
586
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
587
587
|
if (root.includes("*")) return root;
|
|
588
|
-
return await
|
|
588
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
589
589
|
}))))();
|
|
590
590
|
return await this.canonicalLocalPathRoots;
|
|
591
591
|
}
|
|
@@ -651,7 +651,7 @@ function stripCarriedTranscriptFromBody(body, carried) {
|
|
|
651
651
|
async function fileExists(filePath) {
|
|
652
652
|
if (!filePath) return false;
|
|
653
653
|
try {
|
|
654
|
-
await
|
|
654
|
+
await fs$1.stat(filePath);
|
|
655
655
|
return true;
|
|
656
656
|
} catch {
|
|
657
657
|
return false;
|
|
@@ -1169,7 +1169,7 @@ async function resolveCliOutput(params) {
|
|
|
1169
1169
|
const commandId = commandBase(params.command);
|
|
1170
1170
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1171
1171
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1172
|
-
const content = await
|
|
1172
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1173
1173
|
if (content.trim()) return content.trim();
|
|
1174
1174
|
} catch {}
|
|
1175
1175
|
if (commandId === "gemini") {
|
|
@@ -1506,10 +1506,10 @@ async function runCliEntry(params) {
|
|
|
1506
1506
|
timeoutMs
|
|
1507
1507
|
});
|
|
1508
1508
|
if (capability === "audio") assertMinAudioSize({
|
|
1509
|
-
size: (await
|
|
1509
|
+
size: (await fs$1.stat(pathResult.path)).size,
|
|
1510
1510
|
attachmentIndex: params.attachmentIndex
|
|
1511
1511
|
});
|
|
1512
|
-
const outputDir = await
|
|
1512
|
+
const outputDir = await fs$1.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1513
1513
|
const mediaPath = pathResult.path;
|
|
1514
1514
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1515
1515
|
const templCtx = {
|
|
@@ -1543,7 +1543,7 @@ async function runCliEntry(params) {
|
|
|
1543
1543
|
model: command
|
|
1544
1544
|
};
|
|
1545
1545
|
} finally {
|
|
1546
|
-
await
|
|
1546
|
+
await fs$1.rm(outputDir, {
|
|
1547
1547
|
recursive: true,
|
|
1548
1548
|
force: true
|
|
1549
1549
|
}).catch(() => {});
|
|
@@ -1588,9 +1588,9 @@ function candidateBinaryNames(name) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
async function isExecutable(filePath) {
|
|
1590
1590
|
try {
|
|
1591
|
-
if (!(await
|
|
1591
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1592
1592
|
if (process.platform === "win32") return true;
|
|
1593
|
-
await
|
|
1593
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1594
1594
|
return true;
|
|
1595
1595
|
} catch {
|
|
1596
1596
|
return false;
|
package/dist/{audio-transcription-runner-DFQtapUX.js → audio-transcription-runner-XFfvRPXl.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { $ as mergeInboundPathRoots, A as requireApiKey, Gt as getActivePluginRe
|
|
|
5
5
|
import { r as normalizeChatType } from "./conversation-label-BnH5Yy9T.js";
|
|
6
6
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-D_fm2PuR.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CNiEVKpL.js";
|
|
8
|
-
import { c as ensureOpenClawModelsJson, t as describeImageWithModel } from "./provider-image-
|
|
8
|
+
import { c as ensureOpenClawModelsJson, t as describeImageWithModel } from "./provider-image-BllyLBJM.js";
|
|
9
9
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-BoHKSk-O.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-BfPtlUW6.js";
|
|
11
11
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-TJjLK0FV.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { L as extensionUsesSkippedScannerPath, N as INCLUDE_KEY, P as MAX_INCLUDE_DEPTH, R as isPathInside } from "./globals-
|
|
1
|
+
import { L as extensionUsesSkippedScannerPath, N as INCLUDE_KEY, P as MAX_INCLUDE_DEPTH, R as isPathInside } from "./globals-ZyVsnNcg.js";
|
|
2
2
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { Da as listChannelPlugins, M as isDangerousNetworkMode, Mo as GATEWAY_CLIENT_NAMES, N as normalizeNetworkMode, Ro as normalizeStringEntries, Vu as hasConfiguredSecretInput, _t as normalizePluginsConfig, a as createConfigIO, au as formatPermissionRemediation, iu as formatPermissionDetail, jo as GATEWAY_CLIENT_MODES, ou as inspectPathPermissions, su as safeStat, vs as normalizeTrustedSafeBinDirs } from "./config-
|
|
3
|
+
import { Da as listChannelPlugins, M as isDangerousNetworkMode, Mo as GATEWAY_CLIENT_NAMES, N as normalizeNetworkMode, Ro as normalizeStringEntries, Vu as hasConfiguredSecretInput, _t as normalizePluginsConfig, a as createConfigIO, au as formatPermissionRemediation, iu as formatPermissionDetail, jo as GATEWAY_CLIENT_MODES, ou as inspectPathPermissions, su as safeStat, vs as normalizeTrustedSafeBinDirs } from "./config-BPACL-n5.js";
|
|
4
4
|
import { d as normalizeAgentId } from "./session-key-D4YLCjDF.js";
|
|
5
|
-
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues, d as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
+
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues, d as resolveDefaultAgentId } from "./agent-scope-Dt0TVWFY.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-N4aQiv3X.js";
|
|
7
7
|
import { t as readManifestNamespace } from "./legacy-names-B-dBDyT6.js";
|
|
8
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
9
|
-
import { s as resolveGatewayAuth } from "./auth-
|
|
10
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
11
|
-
import { a as resolveBrowserControlAuth } from "./server-context-
|
|
12
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
8
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-BpdiWabc.js";
|
|
9
|
+
import { s as resolveGatewayAuth } from "./auth-Cx-Q9zgv.js";
|
|
10
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DVI9X-9y.js";
|
|
11
|
+
import { a as resolveBrowserControlAuth } from "./server-context-BEjWhzMi.js";
|
|
12
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-D3kpiNaJ.js";
|
|
13
13
|
import { i as formatErrorMessage } from "./errors-Bf0TUXNT.js";
|
|
14
|
-
import { i as resolveProfile, r as resolveBrowserConfig } from "./trash-
|
|
15
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
16
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
17
|
-
import { t as GatewayClient } from "./client-
|
|
18
|
-
import { p as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
20
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
21
|
-
import { l as isToolAllowedByPolicies, p as pickSandboxToolPolicy, r as resolveDmAllowState } from "./dm-policy-shared-
|
|
14
|
+
import { i as resolveProfile, r as resolveBrowserConfig } from "./trash-DNkuLhfz.js";
|
|
15
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-C3eU8CKJ.js";
|
|
16
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-Csxgimkc.js";
|
|
17
|
+
import { t as GatewayClient } from "./client-DN-SMVBn.js";
|
|
18
|
+
import { p as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-PE59cW0J.js";
|
|
19
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BZFrD-fJ.js";
|
|
20
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-mzsfTPed.js";
|
|
21
|
+
import { l as isToolAllowedByPolicies, p as pickSandboxToolPolicy, r as resolveDmAllowState } from "./dm-policy-shared-CV1uWhMc.js";
|
|
22
22
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-PRkNIyQj.js";
|
|
23
23
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-C2gmG0PE.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-GPI9o9AS.js";
|
|
25
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
26
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
25
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-BrEkff8K.js";
|
|
26
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-C1Fy9dcA.js";
|
|
27
27
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-4m-Kc8Kn.js";
|
|
28
28
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BCRDjJEJ.js";
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import JSON5 from "json5";
|
|
31
|
-
import * as fs from "node:fs/promises";
|
|
32
|
-
import
|
|
31
|
+
import * as fs$1 from "node:fs/promises";
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
import { randomUUID } from "node:crypto";
|
|
34
34
|
import { isIP } from "node:net";
|
|
35
35
|
|
|
@@ -1301,7 +1301,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1301
1301
|
if (visited.has(resolved)) continue;
|
|
1302
1302
|
visited.add(resolved);
|
|
1303
1303
|
result.push(resolved);
|
|
1304
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1304
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1305
1305
|
if (!rawText) continue;
|
|
1306
1306
|
const nestedParsed = (() => {
|
|
1307
1307
|
try {
|
|
@@ -1336,7 +1336,7 @@ function expandTilde(p, env) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1338
1338
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1339
|
-
const raw = await
|
|
1339
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1340
1340
|
if (!raw.trim()) return [];
|
|
1341
1341
|
const extensions = readManifestNamespace(JSON.parse(raw))?.extensions;
|
|
1342
1342
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1358,7 +1358,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1358
1358
|
};
|
|
1359
1359
|
return {
|
|
1360
1360
|
extensionsDir,
|
|
1361
|
-
pluginDirs: (await
|
|
1361
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1362
1362
|
params.onReadError?.(err);
|
|
1363
1363
|
return [];
|
|
1364
1364
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1421,7 +1421,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
async function readInstalledPackageVersion(dir) {
|
|
1423
1423
|
try {
|
|
1424
|
-
const raw = await
|
|
1424
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1425
1425
|
const parsed = JSON.parse(raw);
|
|
1426
1426
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1427
1427
|
} catch {
|
|
@@ -1457,10 +1457,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1457
1457
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1458
1458
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1459
1459
|
const dir = queue.shift();
|
|
1460
|
-
const dirRealPath = await
|
|
1460
|
+
const dirRealPath = await fs.realpath(dir).catch(() => path.resolve(dir));
|
|
1461
1461
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1462
1462
|
visitedDirs.add(dirRealPath);
|
|
1463
|
-
const entries = await
|
|
1463
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1464
1464
|
for (const entry of entries) {
|
|
1465
1465
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1466
1466
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1469,7 +1469,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1469
1469
|
continue;
|
|
1470
1470
|
}
|
|
1471
1471
|
if (entry.isSymbolicLink()) {
|
|
1472
|
-
const stat = await
|
|
1472
|
+
const stat = await fs.stat(fullPath).catch(() => null);
|
|
1473
1473
|
if (!stat) continue;
|
|
1474
1474
|
if (stat.isDirectory()) {
|
|
1475
1475
|
queue.push(fullPath);
|
|
@@ -1759,13 +1759,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1759
1759
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1760
1760
|
for (const workspaceDir of workspaceDirs) {
|
|
1761
1761
|
const workspacePath = path.resolve(workspaceDir);
|
|
1762
|
-
const workspaceRealPath = await
|
|
1762
|
+
const workspaceRealPath = await fs.realpath(workspacePath).catch(() => workspacePath);
|
|
1763
1763
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1764
1764
|
for (const skillFilePath of skillFilePaths) {
|
|
1765
1765
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1766
1766
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1767
1767
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1768
|
-
const skillRealPath = await
|
|
1768
|
+
const skillRealPath = await fs.realpath(canonicalSkillPath).catch(() => null);
|
|
1769
1769
|
if (!skillRealPath) continue;
|
|
1770
1770
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1771
1771
|
escapedSkillFiles.push({
|