@visorcraft/idlehands 4.0.16 → 4.0.17
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/CHANGELOG.md +7 -0
- package/dist/{accounts-DLTODa_Z.js → accounts-D-hQsUw-.js} +1 -1
- package/dist/{accounts-DgbTKQoW.js → accounts-D87a1Y_K.js} +1 -1
- package/dist/{accounts-3HS_UAhJ.js → accounts-DsVN0UNw.js} +1 -1
- package/dist/{acp-cli-B-7CXaeS.js → acp-cli-D52jj29o.js} +7 -7
- package/dist/{agent-scope-RA0zXRpu.js → agent-scope-Bn39ugK4.js} +18 -18
- package/dist/{agent-via-gateway-F1Zu0slF.js → agent-via-gateway-BDWomN2t.js} +4 -4
- package/dist/{agent-via-gateway-DIfwOe7Y.js → agent-via-gateway-BVY7w5-N.js} +1 -1
- package/dist/{agent-via-gateway-Ceb_VeXS.js → agent-via-gateway-BlRwv6D6.js} +7 -7
- package/dist/{agent-via-gateway-7SDhvcBa.js → agent-via-gateway-DSZK5iRF.js} +7 -7
- package/dist/{agents-idaLog48.js → agents-BLa67Gdv.js} +4 -4
- package/dist/{agents.config-DP_bqTwg.js → agents.config-ADCeu0yD.js} +1 -1
- package/dist/{agents.config-w0ZcfpyW.js → agents.config-CyEkgCQE.js} +2 -2
- package/dist/{anton-B7VZSQo-.js → anton-CZ5moxh6.js} +22 -4
- package/dist/{anton-BomwkDBv.js → anton-D-0SP_5T.js} +22 -4
- package/dist/{anton-Cs1JPzv4.js → anton-DYEYyPJ1.js} +40 -22
- package/dist/{anton-CzWIEEiT.js → anton-llLwn1lp.js} +22 -4
- package/dist/{api-key-rotation-B-FTJm5p.js → api-key-rotation-nXQVJErE.js} +1 -1
- package/dist/{audio-preflight-BSlR2jEq.js → audio-preflight-CW8IH1lU.js} +4 -4
- package/dist/{audio-preflight-Dl1TO10w.js → audio-preflight-DzjXupNO.js} +31 -31
- package/dist/{audio-preflight-CSSlgO89.js → audio-preflight-vD3mDc6w.js} +4 -4
- package/dist/{audit-BmaVRZSd.js → audit-D12wg2tV.js} +22 -22
- package/dist/{auth-choice-D-TtZtMR.js → auth-choice-01ELTnLA.js} +1 -1
- package/dist/{auth-choice-D12Wsf7w.js → auth-choice-BDndThZZ.js} +12 -12
- package/dist/{auth-choice-C49o8owq.js → auth-choice-CqbTnCYz.js} +10 -10
- package/dist/{auth-choice.apply-helpers-CGcniL1T.js → auth-choice.apply-helpers-pTqMTYmi.js} +1 -1
- package/dist/{auth-store-DDzIMy8_.js → auth-store-CMyrmmSF.js} +7 -7
- package/dist/{auth-token-BJq87X3o.js → auth-token-fKt_cHOj.js} +1 -1
- package/dist/{banner-DmFqQvFd.js → banner-Dv_eAAWw.js} +1 -1
- package/dist/{bindings-B59Q7nsk.js → bindings-DZjkLUU_.js} +1 -1
- package/dist/{browser-cli-Ny1nHwqv.js → browser-cli-Da-0lyq2.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{call-BRL23UCk.js → call-DnTBT02D.js} +9 -9
- package/dist/{channel-account-context-CDbY5AIr.js → channel-account-context-B4nJPU2N.js} +5 -5
- package/dist/{channel-options-CsEgIwgu.js → channel-options-BilcK806.js} +1 -1
- package/dist/{channel-options-1Dqo0zkg.js → channel-options-BvOLgXCF.js} +3 -3
- package/dist/{channel-selection-ZxRkxpuF.js → channel-selection-3jUl-PyW.js} +1 -1
- package/dist/{channel-web-BicbbO9_.js → channel-web-B1IazKKL.js} +22 -22
- package/dist/{channel-web-C7s5QLXL.js → channel-web-BptLTwvg.js} +2 -2
- package/dist/{channels-cli-CWb-B8BT.js → channels-cli-DejBZZ85.js} +7 -7
- package/dist/{channels-cli-REwO9h_a.js → channels-cli-FssbSykQ.js} +88 -88
- package/dist/{channels-status-issues-CDpWjdI3.js → channels-status-issues-hgASw9UA.js} +1 -1
- package/dist/{chrome-Do5potHV.js → chrome-BcJB6PcM.js} +9 -9
- package/dist/{chrome-_2tzVjVl.js → chrome-DEnkfZ9p.js} +9 -9
- package/dist/{chrome-VBsQfIrt.js → chrome-YguTEaLx.js} +2 -2
- package/dist/{clawbot-cli-uFgYrysW.js → clawbot-cli-C5cDal-5.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-B9ARC6CF.js → cli-BrQZTuUX.js} +70 -70
- package/dist/{cli-B4rP4MXJ.js → cli-j1A8WKSj.js} +2 -2
- package/dist/{client-DxH9hwLn.js → client-DIckPnsi.js} +1 -1
- package/dist/{command-registry-0e5VHciB.js → command-registry-DZZAmcbA.js} +10 -10
- package/dist/{commands-Dj5LalLo.js → commands-D3BU_t7G.js} +1 -1
- package/dist/{commands-registry-CURlRZQJ.js → commands-registry-Cj4D_1tw.js} +3 -3
- package/dist/{completion-cli-BTtvgatl.js → completion-cli-Cxvf8clb.js} +2 -2
- package/dist/{completion-cli-C1StqVUs.js → completion-cli-ktxbWAiG.js} +12 -12
- package/dist/{config-cli-B-yirt2T.js → config-cli-Bq_MWzp9.js} +1 -1
- package/dist/{config-cli-C3As38Z_.js → config-cli-CogA71uD.js} +6 -6
- package/dist/{config-guard-BdsOumqh.js → config-guard-DnAyuF6T.js} +17 -17
- package/dist/{config-validation-BvKX6fPw.js → config-validation-DIomLMwH.js} +2 -2
- package/dist/{configure-BEd8nUOe.js → configure-CPDGJFyt.js} +3 -3
- package/dist/{configure-Cw6aeqBy.js → configure-CZUn--aN.js} +16 -16
- package/dist/{control-ui-assets-C7ZpN9hN.js → control-ui-assets-CiaCDBvZ.js} +1 -1
- package/dist/{cron-cli-Xml0Uww8.js → cron-cli-B8uqoogS.js} +12 -12
- package/dist/{daemon-cli-B1Ti51bt.js → daemon-cli-CMBNTpSS.js} +11 -11
- package/dist/{daemon-install-CYPo4M1M.js → daemon-install-DeqQiAad.js} +4 -4
- package/dist/{daemon-install-helpers-BZY9-jNW.js → daemon-install-helpers-Bug_GYuy.js} +9 -9
- package/dist/{deliver-whAbSPLk.js → deliver-5FLCa6tB.js} +1 -1
- package/dist/{deliver-CVTXl0Cv.js → deliver-BUiQ-9fE.js} +1 -1
- package/dist/{deliver--kttnrER.js → deliver-yTpXc5sv.js} +7 -7
- package/dist/{deps-Cn32rOjf.js → deps-BUUwigzc.js} +1 -1
- package/dist/{deps-CVb-kfIX.js → deps-B_5kPH1Q.js} +1 -1
- package/dist/{deps-CYAKIzhf.js → deps-CH8f3TJK.js} +6 -6
- package/dist/{deps-C28cWNmF.js → deps-PAzfFs3Q.js} +1 -1
- package/dist/{devices-cli-BNkO0Fey.js → devices-cli-DVLF8Yvw.js} +7 -7
- package/dist/{diagnostics-DmZbQ8Nc.js → diagnostics-CdUgLS0N.js} +5 -5
- package/dist/{directory-cli-Dz9iXeut.js → directory-cli-BAMS8f9U.js} +9 -9
- package/dist/{dns-cli-DD6hWsdc.js → dns-cli-BdxBk-k_.js} +4 -4
- package/dist/{dock-Y96MzKuM.js → dock-CzF5XYGd.js} +4 -4
- package/dist/{docs-cli-cHkrTB2e.js → docs-cli-SF7es4Zs.js} +4 -4
- package/dist/{doctor-completion-T5sq7t8L.js → doctor-completion-i04j1TGW.js} +1 -1
- package/dist/{doctor-completion-o6QBkVYG.js → doctor-completion-iWmUY3B4.js} +2 -2
- package/dist/{doctor-config-flow-Ck4oCjfl.js → doctor-config-flow-8qXzBx09.js} +14 -14
- package/dist/{emergency-stop-CMeSxuEg.js → emergency-stop-CfKEsUr_.js} +70 -70
- package/dist/{emergency-stop-h5_WOPZT.js → emergency-stop-CzExWKhr.js} +7 -7
- package/dist/{emergency-stop-D-dp9zCO.js → emergency-stop-DAmKucxm.js} +2 -2
- package/dist/{emergency-stop-w0AyIMs7.js → emergency-stop-tKLAiFAG.js} +7 -7
- package/dist/{enable-o_s6PBsC.js → enable-DaA_orGN.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-allowlist-Co2tJSEo.js → exec-approvals-allowlist-8AkOwwIr.js} +1 -1
- package/dist/{exec-approvals-cli-CyjTnYfk.js → exec-approvals-cli-CtoJW2K-.js} +15 -15
- package/dist/{exec-safe-bin-runtime-policy-DaoU9-ni.js → exec-safe-bin-runtime-policy-DYXuBKqH.js} +2 -2
- package/dist/extensionAPI.js +7 -7
- package/dist/{fs-safe-_JQUGpZf.js → fs-safe-DNFrxDS-.js} +15 -15
- package/dist/{gateway-cli-bZXsaQkU.js → gateway-cli-C8P5BVto.js} +148 -148
- package/dist/{gateway-cli-Dxoh3sSC.js → gateway-cli-DSJcNJYR.js} +9 -9
- package/dist/{gateway-rpc-Du-ZpDjh.js → gateway-rpc-6vnhO4v8.js} +1 -1
- package/dist/{health-dLZas7f8.js → health-BN8WNyon.js} +1 -1
- package/dist/{health-OvNY74XL.js → health-CNZK5D2k.js} +13 -13
- package/dist/{hooks-cli-DOH-i33b.js → hooks-cli-L32lBsp7.js} +3 -3
- package/dist/{hooks-cli-DZr1MB1B.js → hooks-cli-t7tiLn8P.js} +84 -84
- package/dist/{hooks-status-DNGo2G8Q.js → hooks-status-CPIWc_bx.js} +1 -1
- package/dist/{idlehands-root-B8cUs-5M.js → idlehands-root-DFL2GrNW.js} +8 -8
- package/dist/{image-DSDEbSiO.js → image-C2JZiK-6.js} +5 -5
- package/dist/{image-BAsQlUqT.js → image-C_aN5P6-.js} +1 -1
- package/dist/{image-COw__ACq.js → image-D8b_rlQC.js} +1 -1
- package/dist/{image-ops-BU-VdLZu.js → image-ops-BkoEFRYH.js} +10 -10
- package/dist/index.js +80 -80
- package/dist/{inspect-ISQZuNM5.js → inspect-Dg16DMLn.js} +4 -4
- package/dist/{install-safe-path-ChNR9pl6.js → install-safe-path-CNNMzJl9.js} +19 -19
- package/dist/{installs-CNubze2L.js → installs-ST3UaUVJ.js} +9 -9
- package/dist/{ir-VncGpwA1.js → ir-DV0Hszc8.js} +6 -6
- package/dist/{lifecycle-core-B6UoqYTJ.js → lifecycle-core-DOScNyOv.js} +5 -5
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{local-roots-q0xbefkf.js → local-roots-Cco87A2_.js} +2 -2
- package/dist/{login-CfUhrgWT.js → login-Dl_lsEHS.js} +4 -4
- package/dist/{login-qr-DBMsUxgL.js → login-qr-B68cBRH0.js} +7 -7
- package/dist/{logs-cli-CH4mFhUt.js → logs-cli-BluGGq03.js} +8 -8
- package/dist/{manager-BMAFgXyU.js → manager-BBeTPO2h.js} +13 -13
- package/dist/{manifest-registry-Bak1x76G.js → manifest-registry-RfRn8HJx.js} +1 -1
- package/dist/{markdown-tables-DZClqsNo.js → markdown-tables-C5hTDqNm.js} +1 -1
- package/dist/{memory-cli-CUGwnVIY.js → memory-cli-4wfelGdK.js} +12 -12
- package/dist/{model-C-icShH2.js → model-Bd-05WpB.js} +2 -2
- package/dist/{model-catalog-D9no0CH2.js → model-catalog-BCsDrrvq.js} +3 -3
- package/dist/{model-picker-BkXoTOiA.js → model-picker-D3U0wJCO.js} +4 -4
- package/dist/{model-selection-0dGxYGp8.js → model-selection-CSn9tUuH.js} +16 -16
- package/dist/{models-cli-CKRL4j3x.js → models-cli-ChStpcQY.js} +79 -79
- package/dist/{models-cli-Dtzht0md.js → models-cli-dd-wJvj0.js} +4 -4
- package/dist/{models-config-C5A1wDWh.js → models-config-lQpqp472.js} +6 -6
- package/dist/{models-Dvyot3-o.js → models-mQeB9JXZ.js} +2 -2
- package/dist/{node-cli-Ch7K7WtL.js → node-cli-DhD8-NHR.js} +32 -32
- package/dist/{node-service-C3vyxHLA.js → node-service-GpI0jzKr.js} +1 -1
- package/dist/{nodes-cli-D_hUCPNt.js → nodes-cli-DPzxQ0mY.js} +14 -14
- package/dist/{nodes-screen-CcpPaFxa.js → nodes-screen-CIAn0wXq.js} +4 -4
- package/dist/{npm-registry-spec-BCbbfIhX.js → npm-registry-spec-BfeHLbIQ.js} +16 -16
- package/dist/{npm-resolution-iEXmU1Ol.js → npm-resolution-WKW4cIrd.js} +1 -1
- package/dist/{npm-resolution-BpruvRIr.js → npm-resolution-tT1BUac2.js} +3 -3
- package/dist/{onboard-Ck4SwhZB.js → onboard-D1wKkHHC.js} +2 -2
- package/dist/{onboard-channels-CM4puuWQ.js → onboard-channels-CG1R8Ozs.js} +1 -1
- package/dist/{onboard-channels-DzNjXM6f.js → onboard-channels-CRHp5hA-.js} +20 -20
- package/dist/{onboard-custom-DUbzMMu7.js → onboard-custom-D2sCP3_S.js} +4 -4
- package/dist/{onboard-helpers-BQmbMJxJ.js → onboard-helpers-ByhJg2ST.js} +8 -8
- package/dist/{onboard-hooks-D9teGxfH.js → onboard-hooks-_1Jgimeu.js} +4 -4
- package/dist/{onboard-remote-CIjhaP2W.js → onboard-remote-DuhWSiAO.js} +1 -1
- package/dist/{onboard-CS6IQorr.js → onboard-rze7pzoW.js} +6 -6
- package/dist/{onboard-skills-BsaUIuq6.js → onboard-skills-vFwEasAg.js} +4 -4
- package/dist/{onboarding-0Pop0Cex.js → onboarding-BgHfZNln.js} +3 -3
- package/dist/{onboarding-DMEJRAg4.js → onboarding-BxvY_aEE.js} +13 -13
- package/dist/{onboarding.finalize-BZW1kZw7.js → onboarding.finalize-5_UCPMAw.js} +7 -7
- package/dist/{onboarding.finalize-f2qChM_N.js → onboarding.finalize-DnCFQEPR.js} +82 -82
- package/dist/{onboarding.gateway-config-CEQMyj8l.js → onboarding.gateway-config-qVAY6x7I.js} +16 -16
- package/dist/{openai-model-default-7J6cw1rA.js → openai-model-default-OPCCNNS0.js} +2 -2
- package/dist/{outbound-DPTxwchq.js → outbound-CG19kl0w.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-BisU5Vji.js → outbound-attachment-jYdMgCml.js} +2 -2
- package/dist/{pairing-cli-jwx6hMsM.js → pairing-cli-QJYYDcIK.js} +10 -10
- package/dist/{pairing-labels-ChQJzbS9.js → pairing-labels-DuZ7ih-T.js} +1 -1
- package/dist/{pairing-store-CPpEEQJO.js → pairing-store-qvpPoWL_.js} +2 -2
- package/dist/{pairing-token-lKXTMQ_M.js → pairing-token-3hoCgQqp.js} +7 -7
- package/dist/{path-alias-guards-FXBVVTLw.js → path-alias-guards-BCskHdfJ.js} +3 -3
- package/dist/{path-safety-DwibX65n.js → path-safety-C1Y004P_.js} +1 -1
- package/dist/{paths-B-CLQ5RT.js → paths-Bt0fZexW.js} +9 -9
- package/dist/{pi-embedded-BKTKQn_9.js → pi-embedded-BcmA23Ak.js} +26 -26
- package/dist/{pi-embedded-Oto02Ard.js → pi-embedded-D_8x2ll-.js} +26 -26
- package/dist/{pi-embedded-helpers-BCsfqpDt.js → pi-embedded-helpers-BkzrQ5bZ.js} +6 -6
- package/dist/{pi-embedded-helpers-Ct2rwp-P.js → pi-embedded-helpers-C2j0LfJC.js} +4 -4
- package/dist/{pi-embedded-helpers-CyTpDKo5.js → pi-embedded-helpers-CghCLoPo.js} +4 -4
- package/dist/{pi-model-discovery-BIP3RjXl.js → pi-model-discovery-Bt79ifyi.js} +1 -1
- package/dist/{pi-tools.policy-DfITIKZj.js → pi-tools.policy-B_ME3yF6.js} +5 -5
- package/dist/{plugin-auto-enable-7DUxMy6A.js → plugin-auto-enable-BMuSi4aV.js} +3 -3
- package/dist/{plugin-registry-PcN7mK-d.js → plugin-registry-C3IHwz9i.js} +3 -3
- package/dist/{plugin-registry-BfNJBiAr.js → plugin-registry-CncOKeD3.js} +1 -1
- package/dist/plugin-sdk/{accounts-CBVAw5_G.js → accounts-B9nfRzyn.js} +1 -1
- package/dist/plugin-sdk/{accounts-BLYMokxV.js → accounts-Kt6ygPsC.js} +2 -2
- package/dist/plugin-sdk/{accounts-C5tHm1UI.js → accounts-mjFAny5F.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-jl80I5G9.js → agent-scope-CU41EMlR.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-l3LvRB7r.js → agent-via-gateway-CDKZ0Jk9.js} +55 -55
- package/dist/plugin-sdk/{anton-DJn2RPpW.js → anton-Bp5L7uaN.js} +25 -7
- package/dist/plugin-sdk/{api-key-rotation-D6nK54XH.js → api-key-rotation-CZhCWd61.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CKqqN8ty.js → audio-preflight-CRgDehfO.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DaPWgQTx.js → auth-store-DycBvVqL.js} +1 -1
- package/dist/plugin-sdk/{bindings-xXgmJGxj.js → bindings-BDKKHGv-.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-loOg1DRw.js → channel-activity-TcS_VfJk.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DvztgyXI.js → channel-web-DcgShj6y.js} +24 -24
- package/dist/plugin-sdk/{chrome-Cb9FgiCI.js → chrome-BCTizrZD.js} +6 -6
- package/dist/plugin-sdk/{chunk-PW4MBmaN.js → chunk-DZr5xuqv.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-B5m2EsHz.js → commands-registry-BqJLwZYh.js} +5 -5
- package/dist/plugin-sdk/{config-CEgzwk0J.js → config-BzPMtEKA.js} +10 -10
- package/dist/plugin-sdk/{deliver-BNfMF0Nb.js → deliver-Cfc1UCre.js} +10 -10
- package/dist/plugin-sdk/{deps-B1DxdYuU.js → deps-B5eQTF_d.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-ByA6zvzu.js → diagnostic-B8VzcqLf.js} +1 -1
- package/dist/plugin-sdk/{dock-DKQYtT6-.js → dock-CMURqoee.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-CVZuzTM7.js → emergency-stop-DQppo4RU.js} +55 -55
- package/dist/plugin-sdk/{env-5XecRTLs.js → env-qurSiOO2.js} +1 -1
- package/dist/plugin-sdk/{errors-CMcD8Lhh.js → errors-UqLewZJL.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DwdUEdmT.js → fetch-guard-C174s8ZV.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-qsx2_8-o.js → fs-safe-CCXTOK7j.js} +2 -2
- package/dist/plugin-sdk/{image-C_1tftC8.js → image-DDuK8tyO.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CXSUo-AM.js → image-ops-BRYGGDwL.js} +1 -1
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/plugin-sdk/{ir-kdDGpPMq.js → ir-Bv0Zbp2E.js} +5 -5
- package/dist/plugin-sdk/{local-roots-DjB6DYeI.js → local-roots-bHCsSVt_.js} +4 -4
- package/dist/plugin-sdk/{login-DIwO5D5Y.js → login-CkQrnY2G.js} +6 -6
- package/dist/plugin-sdk/{login-qr-CpCAJuvT.js → login-qr-DAeHibH_.js} +8 -8
- package/dist/plugin-sdk/{manager-Dox9r7og.js → manager-CTC1S_c9.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-Drtwd4J5.js → markdown-tables-DfUQHRZY.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CQ0qkGHj.js → message-channel-DiMXmQeQ.js} +1 -1
- package/dist/plugin-sdk/{outbound-Dx_q6JAI.js → outbound-B1twcfz5.js} +6 -6
- package/dist/{outbound-attachment-Bot3bRnK.js → plugin-sdk/outbound-attachment-Bs7fNaqv.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-C_uBEYb4.js → path-alias-guards-yyy61qHh.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B68z4sHq.js → pi-embedded-helpers-BAm9cWol.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Dt6899be.js → pi-model-discovery-Bt6JtUFr.js} +1 -1
- package/dist/plugin-sdk/{plugins-NTjIvHYk.js → plugins-DRPlVBr_.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-Dk2PTZzq.js → pw-ai-CY0evCZ2.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-juzrnopq.js → qmd-manager-BckPBwZX.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-xBXvzdkL.js → query-expansion-CPqK-tTR.js} +2 -2
- package/dist/plugin-sdk/{redact-B6VQH3UQ.js → redact-Ub8sMBBC.js} +1 -1
- package/dist/plugin-sdk/{replies-ZovJp-3F.js → replies-DwTNZJgi.js} +3 -3
- package/dist/plugin-sdk/{reply-BhGucE6k.js → reply-BtQHoQT3.js} +95 -95
- package/dist/plugin-sdk/{reply-prefix--mxmTL7A.js → reply-prefix-BqV0o7_7.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CnUtsDch.js → resolve-outbound-target-DAdNGEqG.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BZABUE4J.js → resolve-route-C5mAwY-o.js} +3 -3
- package/dist/plugin-sdk/{retry-Bh7jveNm.js → retry-2OVzZJMZ.js} +1 -1
- package/dist/plugin-sdk/{runner-CZz1tOIR.js → runner-Ck0w3rcz.js} +10 -10
- package/dist/plugin-sdk/{send-Cb5NIN8s.js → send-A4Lv5nrg.js} +7 -7
- package/dist/plugin-sdk/{send-0EVlThEG.js → send-BBD-m-nM.js} +10 -10
- package/dist/plugin-sdk/{send-BCjVQhp3.js → send-CPeuqOlq.js} +13 -13
- package/dist/plugin-sdk/{send-B26cNPqY.js → send-CaPoBwby.js} +6 -6
- package/dist/plugin-sdk/{send-CHUGIZs9.js → send-SsqudCMv.js} +7 -7
- package/dist/plugin-sdk/{session-DdJj6_DW.js → session-DpL4uk1J.js} +3 -3
- package/dist/plugin-sdk/{sessions-DNx9c2O2.js → sessions-CQ5iD4Uq.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-DorIK8kn.js → skill-commands-C_O9I71g.js} +5 -5
- package/dist/plugin-sdk/{skills-Dh_Cf2PA.js → skills-DmiIiX4l.js} +8 -8
- package/dist/plugin-sdk/{store-CCCXwngh.js → store-BI3rLJdW.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DWPzKeZ0.js → subsystem-lJo9gqAK.js} +1 -1
- package/dist/plugin-sdk/{tables-CF9W23Rd.js → tables-C4X_nAUQ.js} +1 -1
- package/dist/plugin-sdk/{target-errors-DaH0qYtL.js → target-errors-CXh6e9ZE.js} +2 -2
- package/dist/plugin-sdk/{tokens-Y97UKh4C.js → tokens-CU9S3S7t.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BMRkn_yk.js → tool-images-Cf9aWlVu.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-Cv8wyfAi.js → tool-loop-detection-DuwkSqZL.js} +2 -2
- package/dist/plugin-sdk/{utils-Dyj2wV4e.js → utils-dP-FpIgu.js} +2 -2
- package/dist/plugin-sdk/web-Cg6vlkku.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-B5g-Rywy.js → whatsapp-actions-Bcknq6EZ.js} +23 -23
- package/dist/{plugins-D46VZh7u.js → plugins-B4hASNc2.js} +2 -2
- package/dist/{plugins-cli-DOTZBHc7.js → plugins-cli-BMptU-1l.js} +80 -80
- package/dist/{plugins-cli-s1bEnfMn.js → plugins-cli-CMYlin6k.js} +3 -3
- package/dist/{ports-B2o0FSFD.js → ports-B07M55Gr.js} +1 -1
- package/dist/{ports-SQy1d-RL.js → ports-DWJO5S52.js} +2 -2
- package/dist/{program-Blak4A0H.js → program-DyMaBEqF.js} +8 -8
- package/dist/{program-context-DtHO30yM.js → program-context-BxflGz_G.js} +43 -43
- package/dist/{prompt-select-styled-D8vDTRY8.js → prompt-select-styled-CI3hobey.js} +37 -37
- package/dist/{prompt-select-styled-DuHE5c_O.js → prompt-select-styled-es3PJxfH.js} +4 -4
- package/dist/{provider-auth-helpers-CnqcE5__.js → provider-auth-helpers-CrGScfnN.js} +1 -1
- package/dist/{provider-auth-helpers-PdlgGx1Z.js → provider-auth-helpers-DYxaYmlq.js} +5 -5
- package/dist/{push-apns-DkGS3lmo.js → push-apns-BNxgGXQy.js} +1 -1
- package/dist/{push-apns-CNVtKEbW.js → push-apns-CjAXPy2N.js} +5 -5
- package/dist/{pw-ai-7i9eGnLh.js → pw-ai-BGALvhDi.js} +11 -11
- package/dist/{pw-ai-CowTfhOG.js → pw-ai-CfYaR1K2.js} +1 -1
- package/dist/{pw-ai-yrIWfcWX.js → pw-ai-DjmrIQle.js} +1 -1
- package/dist/{qmd-manager-B-qeywfQ.js → qmd-manager-CVcPfkhL.js} +19 -19
- package/dist/{qr-cli-CSt5ihwG.js → qr-cli-D2Oh8f0U.js} +1 -1
- package/dist/{query-expansion-Clts_AGz.js → query-expansion-i5I3yavb.js} +12 -12
- package/dist/{redact-snapshot-BBNDQZIe.js → redact-snapshot-CtIVs92s.js} +1 -1
- package/dist/{register.agent-BGs6wEo-.js → register.agent-B9f0mtlc.js} +9 -9
- package/dist/{register.agent-DliuXWG0.js → register.agent-DrVFgVpf.js} +95 -95
- package/dist/register.configure-BxZRBEJ9.js +168 -0
- package/dist/{register.configure-D9bNPRml.js → register.configure-DAlBU97I.js} +8 -8
- package/dist/{register.maintenance-B7ZM7NqF.js → register.maintenance-BThQUyMI.js} +9 -9
- package/dist/{register.maintenance-B-36Avrl.js → register.maintenance-G_dZOyQA.js} +90 -90
- package/dist/{register.message-Cm5P_dls.js → register.message-BVTuvjQA.js} +71 -71
- package/dist/{register.message-CmEzaYEw.js → register.message-DKaxesxx.js} +3 -3
- package/dist/{register.onboard-cB-UkXhL.js → register.onboard-CnoQ56yq.js} +18 -18
- package/dist/{register.onboard-ByUSn1hy.js → register.onboard-CwtL9YYR.js} +2 -2
- package/dist/{register.orchestrator-anton-D_mAceTk.js → register.orchestrator-anton-2LtPHPXM.js} +14 -14
- package/dist/{register.orchestrator-anton-CADua5Nr.js → register.orchestrator-anton-Ce55Lxt0.js} +2 -2
- package/dist/{register.setup-CA3WwC1V.js → register.setup-Dg5LmRxd.js} +2 -2
- package/dist/{register.setup-DOnWysTP.js → register.setup-_s2CQaBF.js} +21 -21
- package/dist/{register.status-health-sessions-DgR30NBl.js → register.status-health-sessions-DX2OgAeG.js} +4 -4
- package/dist/{register.status-health-sessions-Dsvbkrhh.js → register.status-health-sessions-iSQzPXD0.js} +82 -82
- package/dist/{register.subclis-CvN5J3oh.js → register.subclis-YeKuHCRg.js} +9 -9
- package/dist/{replies-hSFVxL4h.js → replies-Czp4hvpS.js} +1 -1
- package/dist/{reply-D6y5faqD.js → reply-DKIv9jez.js} +153 -153
- package/dist/{reply-prefix-C3y4zpTl.js → reply-prefix-BMEdvSpA.js} +1 -1
- package/dist/{resolve-route-D_AbcmD6.js → resolve-route-Ef_Yt2Dw.js} +2 -2
- package/dist/{rpc-CCimHATv.js → rpc-DDTp_J6f.js} +1 -1
- package/dist/{run-main-BBYeikWD.js → run-main-BwWO5erE.js} +15 -15
- package/dist/{runner-DzszLzI4.js → runner-BFG54hnb.js} +20 -20
- package/dist/{runner-Bv_BA3vd.js → runner-CZW_eyf2.js} +1 -1
- package/dist/{runner-BzNdfqDz.js → runner-PgRFPYUj.js} +1 -1
- package/dist/{runtime-XmXLaHNk.js → runtime-DEmy759r.js} +2 -2
- package/dist/{sandbox-DcUw5h3p.js → sandbox-CfPbhDY_.js} +20 -20
- package/dist/{sandbox-cli-DGvJ7Eeq.js → sandbox-cli-B4wLJr21.js} +22 -22
- package/dist/{secrets-cli-Bgp_H_bH.js → secrets-cli-CidAOBfl.js} +9 -9
- package/dist/{security-cli-MQ__Ca6v.js → security-cli-Ch7AhbhS.js} +39 -39
- package/dist/{send-C4v0Leny.js → send-BCPkAE2k.js} +6 -6
- package/dist/{send-DuwdEkLw.js → send-BPwTl4-K.js} +4 -4
- package/dist/{send-DQiw_nGD.js → send-CEavqqEz.js} +6 -6
- package/dist/{send-DwdHiC7_.js → send-CVIXqubC.js} +13 -13
- package/dist/{send--lzpNy4f.js → send-DDMaLJAQ.js} +7 -7
- package/dist/{server-D6MltJIF.js → server-BpSbZAwg.js} +14 -14
- package/dist/{server-context-DI0W_H7R.js → server-context-BxNSTpH6.js} +10 -10
- package/dist/{server-lifecycle-B5PlrlbG.js → server-lifecycle-CGKrGrhM.js} +2 -2
- package/dist/{server-node-events-CcAiA2an.js → server-node-events-CZ5OkouD.js} +71 -71
- package/dist/{server-node-events-DeBYOK05.js → server-node-events-lbb8M18B.js} +3 -3
- package/dist/{service-C8NMS3m_.js → service-Bj2oSfpw.js} +15 -15
- package/dist/{session-CdnrRhb4.js → session-BKVySI8q.js} +1 -1
- package/dist/{sessions-BtPXimXQ.js → sessions-BqWocozB.js} +14 -14
- package/dist/{shared-CpDPo3hJ.js → shared-DnQ4iyXk.js} +2 -2
- package/dist/{shared-DpLSpJIl.js → shared-Jzrx8DfN.js} +1 -1
- package/dist/{skill-commands-BFzmZAfo.js → skill-commands-BwIRWSCI.js} +5 -5
- package/dist/{skill-scanner-D7mzXRXd.js → skill-scanner-B4Ftsbd2.js} +5 -5
- package/dist/{skills-DlvDyK8L.js → skills-TIyQDZx7.js} +3 -3
- package/dist/{skills-cli-BhKGhjbO.js → skills-cli-5lbXi4Lh.js} +5 -5
- package/dist/{skills-install-tr6wRWZj.js → skills-install-D0JHP5uM.js} +4 -4
- package/dist/{skills-status-qjQ8XP0h.js → skills-status-Q9skQExW.js} +1 -1
- package/dist/{status-Dd0rJBTD.js → status-BE1Y0CKS.js} +2 -2
- package/dist/{status-BW8aF7xu.js → status-Bd9NYE1U.js} +24 -24
- package/dist/{status.update-CTi6vuWj.js → status.update-C3uRz7W6.js} +2 -2
- package/dist/{store-kH9wHHbO.js → store-CLNuI8-G.js} +5 -5
- package/dist/{subagent-registry-DeXWDNty.js → subagent-registry-CTZmDdGV.js} +11 -11
- package/dist/{system-cli-3T-OTIKv.js → system-cli-DBp9Zmvt.js} +8 -8
- package/dist/{system-run-approval-context-CISBXlNw.js → system-run-approval-context-xZVoE4nS.js} +1 -1
- package/dist/{system-run-command-qJdgzxLp.js → system-run-command-BIhrK3OI.js} +1 -1
- package/dist/{systemd-CaCR5CyM.js → systemd-DyrVLTI0.js} +9 -9
- package/dist/{systemd-hints-DHu-HVFx.js → systemd-hints-BoKKzRI_.js} +6 -6
- package/dist/{systemd-linger-B7XlUHk_.js → systemd-linger-DrhGd61G.js} +1 -1
- package/dist/{tables-g9xkflht.js → tables-CZSD889r.js} +1 -1
- package/dist/{target-errors-bLIVFsbF.js → target-errors-BYuWhuLU.js} +4 -4
- package/dist/{tool-images-CHqepyF_.js → tool-images-DZHrc4pq.js} +1 -1
- package/dist/{tui-lalhRHve.js → tui-DWGHGeZ3.js} +6 -6
- package/dist/{tui-cli-BVKWJ9X7.js → tui-cli-DKyA5pZ2.js} +30 -30
- package/dist/{update-cli-C97163Ne.js → update-cli-D-4_OhRR.js} +9 -9
- package/dist/{update-cli-DLWAR9u6.js → update-cli-DvUx2El6.js} +99 -99
- package/dist/{update-D79ppbMQ.js → update-la2AdLf3.js} +3 -3
- package/dist/{update-runner-BV9LWTCG.js → update-runner-BvaywdEe.js} +1 -1
- package/dist/{update-runner-Cft2lh5r.js → update-runner-n2snlf-4.js} +15 -15
- package/dist/{upgrade-command-909a7QUc.js → upgrade-command-28wRHZZ2.js} +3 -3
- package/dist/{web-Da_aB4Vm.js → web-BedV4zGE.js} +3 -3
- package/dist/{web-DGPTqAhk.js → web-BjP-D0Iz.js} +8 -8
- package/dist/web-CDFWB79W.js +123 -0
- package/dist/{web-BwZ1OGaX.js → web-Dbrx58hF.js} +8 -8
- package/dist/{webhooks-cli-2N03q0iY.js → webhooks-cli-BnmVPYkU.js} +6 -6
- package/dist/{whatsapp-actions-Cms8wQM1.js → whatsapp-actions-D2mBFzmK.js} +18 -18
- package/dist/{with-timeout-DEdycYxq.js → with-timeout-BodPmGCY.js} +3 -3
- package/dist/{workspace-D3pARwoB.js → workspace-CDw87aZG.js} +1 -1
- package/dist/{workspace-dirs-SsExQ3Bz.js → workspace-dirs-D3bousoX.js} +1 -1
- package/dist/{wsl-BJW8nTyL.js → wsl-CgXDjE09.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- 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-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-BzmXmmAo.js +0 -71
- package/dist/register.configure-DJsShg2l.js +0 -168
- package/dist/web-D8zB-Qkg.js +0 -123
|
@@ -2,11 +2,11 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { I as success, O as danger, k as info } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
4
4
|
import { o as logInfo } from "./exec-CKHMT0tZ.js";
|
|
5
|
-
import { It as loadConfig } from "./model-selection-
|
|
5
|
+
import { It as loadConfig } from "./model-selection-CSn9tUuH.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
7
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
8
|
-
import { a as logoutWeb } from "./auth-store-
|
|
9
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
7
|
+
import { i as resolveWhatsAppAccount } from "./accounts-D-hQsUw-.js";
|
|
8
|
+
import { a as logoutWeb } from "./auth-store-CMyrmmSF.js";
|
|
9
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BKVySI8q.js";
|
|
10
10
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
11
11
|
|
|
12
12
|
//#region src/web/login.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { I as success, O as danger, k as info } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import "./agent-scope-
|
|
3
|
+
import "./agent-scope-Bn39ugK4.js";
|
|
4
4
|
import "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
6
|
-
import "./idlehands-root-
|
|
6
|
+
import "./idlehands-root-DFL2GrNW.js";
|
|
7
7
|
import { o as logInfo } from "./exec-CKHMT0tZ.js";
|
|
8
|
-
import { It as loadConfig } from "./model-selection-
|
|
8
|
+
import { It as loadConfig } from "./model-selection-CSn9tUuH.js";
|
|
9
9
|
import "./github-copilot-token-D7lpquOO.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-Bx-F45X5.js";
|
|
12
12
|
import "./host-env-security-DkAVVuaw.js";
|
|
13
13
|
import "./env-vars-sTMVGyld.js";
|
|
14
|
-
import "./manifest-registry-
|
|
15
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
14
|
+
import "./manifest-registry-RfRn8HJx.js";
|
|
15
|
+
import { i as resolveWhatsAppAccount } from "./accounts-D-hQsUw-.js";
|
|
16
16
|
import "./logging-q4KyMmY-.js";
|
|
17
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-
|
|
18
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
17
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-CMyrmmSF.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BKVySI8q.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
21
21
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, R as colorize, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import "./agent-scope-
|
|
3
|
+
import "./agent-scope-Bn39ugK4.js";
|
|
4
4
|
import { c as formatLocalIsoWithOffset } from "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import { a as clearActiveProgressLine } from "./runtime-44j_X4Y6.js";
|
|
6
|
-
import "./idlehands-root-
|
|
6
|
+
import "./idlehands-root-DFL2GrNW.js";
|
|
7
7
|
import "./exec-CKHMT0tZ.js";
|
|
8
|
-
import "./model-selection-
|
|
8
|
+
import "./model-selection-CSn9tUuH.js";
|
|
9
9
|
import "./github-copilot-token-D7lpquOO.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
12
|
import "./env-Bx-F45X5.js";
|
|
13
13
|
import "./host-env-security-DkAVVuaw.js";
|
|
14
14
|
import "./env-vars-sTMVGyld.js";
|
|
15
|
-
import "./manifest-registry-
|
|
15
|
+
import "./manifest-registry-RfRn8HJx.js";
|
|
16
16
|
import "./message-channel-DVauVtrg.js";
|
|
17
17
|
import "./ip-DJ5wsTQn.js";
|
|
18
18
|
import "./tailnet-C9lH_YnG.js";
|
|
19
19
|
import "./ws-XBTtYpJc.js";
|
|
20
|
-
import "./client-
|
|
21
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
22
|
-
import "./pairing-token-
|
|
20
|
+
import "./client-DIckPnsi.js";
|
|
21
|
+
import { t as buildGatewayConnectionDetails } from "./call-DnTBT02D.js";
|
|
22
|
+
import "./pairing-token-3hoCgQqp.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
24
24
|
import "./progress-BQLz1r3L.js";
|
|
25
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
25
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-6vnhO4v8.js";
|
|
26
26
|
import { t as parseLogLine } from "./parse-log-line-Csn1jHbq.js";
|
|
27
27
|
import { setTimeout } from "node:timers/promises";
|
|
28
28
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
3
3
|
import { E as truncateUtf16Safe, a as clampNumber, i as clampInt, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
4
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
6
|
-
import { J as requireApiKey, Y as resolveApiKeyForProvider } from "./model-selection-
|
|
6
|
+
import { J as requireApiKey, Y as resolveApiKeyForProvider } from "./model-selection-CSn9tUuH.js";
|
|
7
7
|
import { t as isTruthyEnvValue } from "./env-Bx-F45X5.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-DZDuPc3M.js";
|
|
9
9
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-DRz46q00.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DvLx8VNH.js";
|
|
11
11
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-yUZu1Vzc.js";
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-nXQVJErE.js";
|
|
13
13
|
import { n as retryAsync } from "./retry-Db05aSB8.js";
|
|
14
|
-
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-
|
|
14
|
+
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-i5I3yavb.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { createInterface } from "node:readline";
|
|
21
21
|
import { Readable } from "node:stream";
|
|
@@ -948,7 +948,7 @@ async function extractTimestamp(params) {
|
|
|
948
948
|
if (!params.workspaceDir) return null;
|
|
949
949
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
950
950
|
try {
|
|
951
|
-
const stat = await
|
|
951
|
+
const stat = await fsPromises.stat(absolutePath);
|
|
952
952
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
953
953
|
return new Date(stat.mtimeMs);
|
|
954
954
|
} catch {
|
|
@@ -2100,7 +2100,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2100
2100
|
const source = `${sourceBase}${suffix}`;
|
|
2101
2101
|
const target = `${targetBase}${suffix}`;
|
|
2102
2102
|
try {
|
|
2103
|
-
await
|
|
2103
|
+
await fsPromises.rename(source, target);
|
|
2104
2104
|
} catch (err) {
|
|
2105
2105
|
if (err.code !== "ENOENT") throw err;
|
|
2106
2106
|
}
|
|
@@ -2111,7 +2111,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2111
2111
|
"",
|
|
2112
2112
|
"-wal",
|
|
2113
2113
|
"-shm"
|
|
2114
|
-
].map((suffix) =>
|
|
2114
|
+
].map((suffix) => fsPromises.rm(`${basePath}${suffix}`, { force: true })));
|
|
2115
2115
|
}
|
|
2116
2116
|
ensureSchema() {
|
|
2117
2117
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2206,7 +2206,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2206
2206
|
if (!thresholds) return null;
|
|
2207
2207
|
let stat;
|
|
2208
2208
|
try {
|
|
2209
|
-
stat = await
|
|
2209
|
+
stat = await fsPromises.stat(sessionFile);
|
|
2210
2210
|
} catch {
|
|
2211
2211
|
return null;
|
|
2212
2212
|
}
|
|
@@ -2248,7 +2248,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2248
2248
|
if (end <= start) return 0;
|
|
2249
2249
|
let handle;
|
|
2250
2250
|
try {
|
|
2251
|
-
handle = await
|
|
2251
|
+
handle = await fsPromises.open(absPath, "r");
|
|
2252
2252
|
} catch (err) {
|
|
2253
2253
|
if (isFileMissingError(err)) return 0;
|
|
2254
2254
|
throw err;
|
|
@@ -3182,7 +3182,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3182
3182
|
});
|
|
3183
3183
|
return;
|
|
3184
3184
|
}
|
|
3185
|
-
const content = options.content ?? await
|
|
3185
|
+
const content = options.content ?? await fsPromises.readFile(entry.absPath, "utf-8");
|
|
3186
3186
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3187
3187
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3188
3188
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3516,7 +3516,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3516
3516
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3517
3517
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3518
3518
|
for (const additionalPath of additionalPaths) try {
|
|
3519
|
-
const stat = await
|
|
3519
|
+
const stat = await fsPromises.lstat(additionalPath);
|
|
3520
3520
|
if (stat.isSymbolicLink()) continue;
|
|
3521
3521
|
if (stat.isDirectory()) {
|
|
3522
3522
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3541,7 +3541,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3541
3541
|
};
|
|
3542
3542
|
let content;
|
|
3543
3543
|
try {
|
|
3544
|
-
content = await
|
|
3544
|
+
content = await fsPromises.readFile(absPath, "utf-8");
|
|
3545
3545
|
} catch (err) {
|
|
3546
3546
|
if (isFileMissingError(err)) return {
|
|
3547
3547
|
text: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as isRecord, g as resolveConfigDir, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
2
2
|
import { y as normalizeChatChannelId } from "./subsystem-CGZX2PBV.js";
|
|
3
|
-
import { a as openBoundaryFileSync, f as isPathInside$1 } from "./idlehands-root-
|
|
3
|
+
import { a as openBoundaryFileSync, f as isPathInside$1 } from "./idlehands-root-DFL2GrNW.js";
|
|
4
4
|
import { n as MANIFEST_KEY } from "./legacy-names-DB161qHh.js";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as normalizeAccountId } from "./session-key-Cuihcz_O.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BtMY6XyP.js";
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-B4hASNc2.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/markdown-tables.ts
|
|
7
7
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
3
3
|
import { B as theme, P as setVerbose, R as colorize, S as shortenHomePath, x as shortenHomeInString, y as resolveUserPath, z as isRich } from "./utils-CXzXXV2o.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
6
6
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
7
|
-
import { It as loadConfig, Zn as splitShellArgs, cn as parseDurationMs } from "./model-selection-
|
|
7
|
+
import { It as loadConfig, Zn as splitShellArgs, cn as parseDurationMs } from "./model-selection-CSn9tUuH.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-DZDuPc3M.js";
|
|
9
9
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-DRz46q00.js";
|
|
10
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
10
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-i5I3yavb.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-CH2y4E2f.js";
|
|
13
13
|
import { t as formatHelpExamples } from "./help-format-CMAqOikG.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-BQLz1r3L.
|
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
|
|
20
20
|
//#region src/memory/backend-config.ts
|
|
21
21
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -227,7 +227,7 @@ async function getMemorySearchManager(params) {
|
|
|
227
227
|
if (cached) return { manager: cached };
|
|
228
228
|
}
|
|
229
229
|
try {
|
|
230
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
230
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CVcPfkhL.js");
|
|
231
231
|
const primary = await QmdMemoryManager.create({
|
|
232
232
|
cfg: params.cfg,
|
|
233
233
|
agentId: params.agentId,
|
|
@@ -239,7 +239,7 @@ async function getMemorySearchManager(params) {
|
|
|
239
239
|
const wrapper = new FallbackMemoryManager({
|
|
240
240
|
primary,
|
|
241
241
|
fallbackFactory: async () => {
|
|
242
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
242
|
+
const { MemoryIndexManager } = await import("./manager-BBeTPO2h.js").then((n) => n.t);
|
|
243
243
|
return await MemoryIndexManager.get(params);
|
|
244
244
|
}
|
|
245
245
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -252,7 +252,7 @@ async function getMemorySearchManager(params) {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
try {
|
|
255
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
255
|
+
const { MemoryIndexManager } = await import("./manager-BBeTPO2h.js").then((n) => n.t);
|
|
256
256
|
return { manager: await MemoryIndexManager.get(params) };
|
|
257
257
|
} catch (err) {
|
|
258
258
|
return {
|
|
@@ -434,7 +434,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
434
434
|
}
|
|
435
435
|
async function checkReadableFile(pathname) {
|
|
436
436
|
try {
|
|
437
|
-
await
|
|
437
|
+
await fsPromises.access(pathname, fs.constants.R_OK);
|
|
438
438
|
return { exists: true };
|
|
439
439
|
} catch (err) {
|
|
440
440
|
const code = err.code;
|
|
@@ -451,7 +451,7 @@ async function scanSessionFiles(agentId) {
|
|
|
451
451
|
try {
|
|
452
452
|
return {
|
|
453
453
|
source: "sessions",
|
|
454
|
-
totalFiles: (await
|
|
454
|
+
totalFiles: (await fsPromises.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
455
455
|
issues
|
|
456
456
|
};
|
|
457
457
|
} catch (err) {
|
|
@@ -483,7 +483,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
483
483
|
if (alt.issue) issues.push(alt.issue);
|
|
484
484
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
485
485
|
for (const extraPath of resolvedExtraPaths) try {
|
|
486
|
-
if ((await
|
|
486
|
+
if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
|
|
487
487
|
const extraCheck = await checkReadableFile(extraPath);
|
|
488
488
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
489
489
|
} catch (err) {
|
|
@@ -493,7 +493,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
493
493
|
}
|
|
494
494
|
let dirReadable = null;
|
|
495
495
|
try {
|
|
496
|
-
await
|
|
496
|
+
await fsPromises.access(memoryDir, fs.constants.R_OK);
|
|
497
497
|
dirReadable = true;
|
|
498
498
|
} catch (err) {
|
|
499
499
|
const code = err.code;
|
|
@@ -541,7 +541,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
541
541
|
if (!dbPath) return null;
|
|
542
542
|
let stat;
|
|
543
543
|
try {
|
|
544
|
-
stat = await
|
|
544
|
+
stat = await fsPromises.stat(dbPath);
|
|
545
545
|
} catch (err) {
|
|
546
546
|
const code = err.code;
|
|
547
547
|
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 { Ir as resolveIdleHandsAgentDir, Zr as DEFAULT_CONTEXT_TOKENS, u as normalizeProviderId } from "./model-selection-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { Ir as resolveIdleHandsAgentDir, Zr as DEFAULT_CONTEXT_TOKENS, u as normalizeProviderId } from "./model-selection-CSn9tUuH.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Bt79ifyi.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
2
|
-
import { Ir as resolveIdleHandsAgentDir, It as loadConfig } from "./model-selection-
|
|
3
|
-
import { t as ensureIdleHandsModelsJson } from "./models-config-
|
|
2
|
+
import { Ir as resolveIdleHandsAgentDir, It as loadConfig } from "./model-selection-CSn9tUuH.js";
|
|
3
|
+
import { t as ensureIdleHandsModelsJson } from "./models-config-lQpqp472.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-Bt79ifyi.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 { N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
3
|
-
import { $r as DEFAULT_PROVIDER, Cr as listProfilesForProvider, Dr as upsertAuthProfileWithLock, Qr as DEFAULT_MODEL, X as resolveEnvApiKey, c as modelKey, kr as ensureAuthProfileStore, m as resolveConfiguredModelRef, q as getCustomProviderApiKey, r as buildModelAliasIndex, t as buildAllowedModelSet, u as normalizeProviderId } from "./model-selection-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-Bn39ugK4.js";
|
|
3
|
+
import { $r as DEFAULT_PROVIDER, Cr as listProfilesForProvider, Dr as upsertAuthProfileWithLock, Qr as DEFAULT_MODEL, X as resolveEnvApiKey, c as modelKey, kr as ensureAuthProfileStore, m as resolveConfiguredModelRef, q as getCustomProviderApiKey, r as buildModelAliasIndex, t as buildAllowedModelSet, u as normalizeProviderId } from "./model-selection-CSn9tUuH.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-BCsDrrvq.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-DnQ4iyXk.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,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as expandHomePrefix, a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cn44w-EB.js";
|
|
3
3
|
import { D as isPlainObject$2, d as isRecord$3, g as resolveConfigDir, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
4
|
-
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
|
|
5
5
|
import { d as CHANNEL_IDS, t as createSubsystemLogger, y as normalizeChatChannelId } from "./subsystem-CGZX2PBV.js";
|
|
6
6
|
import { _ as isBlockedObjectKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-Cuihcz_O.js";
|
|
7
|
-
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./idlehands-root-
|
|
7
|
+
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./idlehands-root-DFL2GrNW.js";
|
|
8
8
|
import { n as runExec } from "./exec-CKHMT0tZ.js";
|
|
9
9
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D7lpquOO.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
@@ -12,15 +12,15 @@ import { t as isTruthyEnvValue } from "./env-Bx-F45X5.js";
|
|
|
12
12
|
import { i as sanitizeHostExecEnv } from "./host-env-security-DkAVVuaw.js";
|
|
13
13
|
import { r as VERSION, t as applyConfigEnvVars } from "./env-vars-sTMVGyld.js";
|
|
14
14
|
import { n as isPathInside } from "./scan-paths-DE00o1Lk.js";
|
|
15
|
-
import { d as resolveEffectiveEnableState, f as resolveMemorySlotDecision, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-
|
|
16
|
-
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-
|
|
15
|
+
import { d as resolveEffectiveEnableState, f as resolveMemorySlotDecision, n as loadPluginManifestRegistry, u as normalizePluginsConfig } from "./manifest-registry-RfRn8HJx.js";
|
|
16
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-CzF5XYGd.js";
|
|
17
17
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-CLARJMM7.js";
|
|
18
18
|
import fs from "node:fs";
|
|
19
19
|
import os from "node:os";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import JSON5 from "json5";
|
|
22
22
|
import { isDeepStrictEqual } from "node:util";
|
|
23
|
-
import
|
|
23
|
+
import fsPromises from "node:fs/promises";
|
|
24
24
|
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
25
25
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
26
26
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -279,7 +279,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
279
279
|
}
|
|
280
280
|
async function readLockPayload(lockPath) {
|
|
281
281
|
try {
|
|
282
|
-
const raw = await
|
|
282
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
283
283
|
const parsed = JSON.parse(raw);
|
|
284
284
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
285
285
|
return {
|
|
@@ -293,9 +293,9 @@ async function readLockPayload(lockPath) {
|
|
|
293
293
|
async function resolveNormalizedFilePath(filePath) {
|
|
294
294
|
const resolved = path.resolve(filePath);
|
|
295
295
|
const dir = path.dirname(resolved);
|
|
296
|
-
await
|
|
296
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
297
297
|
try {
|
|
298
|
-
const realDir = await
|
|
298
|
+
const realDir = await fsPromises.realpath(dir);
|
|
299
299
|
return path.join(realDir, path.basename(resolved));
|
|
300
300
|
} catch {
|
|
301
301
|
return resolved;
|
|
@@ -309,7 +309,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
309
309
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
310
310
|
}
|
|
311
311
|
try {
|
|
312
|
-
const stat = await
|
|
312
|
+
const stat = await fsPromises.stat(lockPath);
|
|
313
313
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
314
314
|
} catch {
|
|
315
315
|
return true;
|
|
@@ -322,7 +322,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
322
322
|
if (current.count > 0) return;
|
|
323
323
|
HELD_LOCKS.delete(normalizedFile);
|
|
324
324
|
await current.handle.close().catch(() => void 0);
|
|
325
|
-
await
|
|
325
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
326
326
|
}
|
|
327
327
|
async function acquireFileLock(filePath, options) {
|
|
328
328
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -337,7 +337,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
337
337
|
}
|
|
338
338
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
339
339
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
340
|
-
const handle = await
|
|
340
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
341
341
|
await handle.writeFile(JSON.stringify({
|
|
342
342
|
pid: process.pid,
|
|
343
343
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -354,7 +354,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
354
354
|
} catch (err) {
|
|
355
355
|
if (err.code !== "EEXIST") throw err;
|
|
356
356
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
357
|
-
await
|
|
357
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
358
358
|
continue;
|
|
359
359
|
}
|
|
360
360
|
if (attempt >= attempts - 1) break;
|
|
@@ -10682,7 +10682,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
10682
10682
|
//#region src/security/audit-fs.ts
|
|
10683
10683
|
async function safeStat(targetPath) {
|
|
10684
10684
|
try {
|
|
10685
|
-
const lst = await
|
|
10685
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
10686
10686
|
return {
|
|
10687
10687
|
ok: true,
|
|
10688
10688
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -10721,7 +10721,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
10721
10721
|
let effectiveMode = st.mode;
|
|
10722
10722
|
let effectiveIsDir = st.isDir;
|
|
10723
10723
|
if (st.isSymlink) try {
|
|
10724
|
-
const target = await
|
|
10724
|
+
const target = await fsPromises.stat(targetPath);
|
|
10725
10725
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
10726
10726
|
effectiveIsDir = target.isDirectory();
|
|
10727
10727
|
} catch {}
|
|
@@ -10920,7 +10920,7 @@ async function assertSecurePath(params) {
|
|
|
10920
10920
|
if (stat.isSymlink) {
|
|
10921
10921
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
10922
10922
|
try {
|
|
10923
|
-
effectivePath = await
|
|
10923
|
+
effectivePath = await fsPromises.realpath(effectivePath);
|
|
10924
10924
|
} catch {
|
|
10925
10925
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
10926
10926
|
}
|
|
@@ -10968,7 +10968,7 @@ async function readFileProviderPayload(params) {
|
|
|
10968
10968
|
}, timeoutMs);
|
|
10969
10969
|
});
|
|
10970
10970
|
try {
|
|
10971
|
-
const payload = await Promise.race([
|
|
10971
|
+
const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
10972
10972
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
10973
10973
|
const text = payload.toString("utf8");
|
|
10974
10974
|
if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
|