@visorcraft/idlehands 4.0.7 → 4.0.8
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/{accounts-DsVN0UNw.js → accounts-3HS_UAhJ.js} +1 -1
- package/dist/{accounts-D-hQsUw-.js → accounts-DLTODa_Z.js} +1 -1
- package/dist/{accounts-D87a1Y_K.js → accounts-DgbTKQoW.js} +1 -1
- package/dist/{acp-cli-D52jj29o.js → acp-cli-B-7CXaeS.js} +7 -7
- package/dist/{agent-scope-Bn39ugK4.js → agent-scope-RA0zXRpu.js} +18 -18
- package/dist/{agent-via-gateway-DHSAoHG7.js → agent-via-gateway-BNqWa2KY.js} +1 -1
- package/dist/{agent-via-gateway-DKv0lYbJ.js → agent-via-gateway-DAWRXgBZ.js} +7 -7
- package/dist/{agent-via-gateway-DpOnWB8B.js → agent-via-gateway-DnukWgYg.js} +4 -4
- package/dist/{agent-via-gateway-iOxURXfD.js → agent-via-gateway-ot70omgC.js} +2 -2
- package/dist/{agents-lCACO44K.js → agents-etUqQ3vM.js} +4 -4
- package/dist/{agents.config-CCY6Cz20.js → agents.config-DGaSmPdW.js} +2 -2
- package/dist/{agents.config-B9LFlgTL.js → agents.config-FFOmEBpp.js} +1 -1
- package/dist/anton-B7cGl-93.js +579 -0
- package/dist/{anton-eVW4p18G.js → anton-BV_xSUQi.js} +1 -1
- package/dist/{anton-BBGfJxOA.js → anton-CZliSAOv.js} +1 -1
- package/dist/{anton-BAc6lLhA.js → anton-CdYcHDXy.js} +1 -1
- package/dist/{api-key-rotation-nXQVJErE.js → api-key-rotation-B-FTJm5p.js} +1 -1
- package/dist/{audio-preflight-vD3mDc6w.js → audio-preflight-CSSlgO89.js} +4 -4
- package/dist/{audio-preflight-DzjXupNO.js → audio-preflight-Dl1TO10w.js} +31 -31
- package/dist/{audit-D12wg2tV.js → audit-BmaVRZSd.js} +22 -22
- package/dist/{auth-choice-FtlZRCkf.js → auth-choice-CdEVNS6t.js} +1 -1
- package/dist/{auth-choice-BDndThZZ.js → auth-choice-D12Wsf7w.js} +12 -12
- package/dist/{auth-choice-CB74F1Wg.js → auth-choice-qQO5MWz8.js} +10 -10
- package/dist/{auth-choice.apply-helpers-pTqMTYmi.js → auth-choice.apply-helpers-CGcniL1T.js} +1 -1
- package/dist/{auth-store-CMyrmmSF.js → auth-store-DDzIMy8_.js} +7 -7
- package/dist/{auth-token-fKt_cHOj.js → auth-token-BJq87X3o.js} +1 -1
- package/dist/{banner-B_5dznlS.js → banner-DKPFtm9j.js} +1 -1
- package/dist/{bindings-DZjkLUU_.js → bindings-B59Q7nsk.js} +1 -1
- package/dist/{browser-cli-Da-0lyq2.js → browser-cli-Ny1nHwqv.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{call-DnTBT02D.js → call-BRL23UCk.js} +9 -9
- package/dist/{channel-account-context-B4nJPU2N.js → channel-account-context-CDbY5AIr.js} +5 -5
- package/dist/{channel-options-h5L1S2Jw.js → channel-options-BNcsrd0d.js} +3 -3
- package/dist/{channel-options-DXRwdUX9.js → channel-options-CSurZCfX.js} +1 -1
- package/dist/{channel-selection-3jUl-PyW.js → channel-selection-ZxRkxpuF.js} +1 -1
- package/dist/{channel-web-DERdVSsP.js → channel-web-COYnY8sZ.js} +2 -2
- package/dist/{channel-web-BRQth7bT.js → channel-web-DfBOK5if.js} +22 -22
- package/dist/{channels-cli-DhVgXBQN.js → channels-cli-BTIg3DJP.js} +7 -7
- package/dist/{channels-cli-tiO1k2nS.js → channels-cli-GZ16c99F.js} +88 -88
- package/dist/{channels-status-issues-hgASw9UA.js → channels-status-issues-CDpWjdI3.js} +1 -1
- package/dist/{chrome-DEnkfZ9p.js → chrome-Do5potHV.js} +9 -9
- package/dist/{chrome-YguTEaLx.js → chrome-VBsQfIrt.js} +2 -2
- package/dist/{clawbot-cli-C5cDal-5.js → clawbot-cli-uFgYrysW.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-LY72rmrU.js → cli-CBXoKbJn.js} +2 -2
- package/dist/{cli-5gUCiFfL.js → cli-CnjJnIx0.js} +70 -70
- package/dist/{client-DIckPnsi.js → client-DxH9hwLn.js} +1 -1
- package/dist/{command-registry-DiTM7FaG.js → command-registry-D3iSv7Of.js} +10 -10
- package/dist/{commands-D3BU_t7G.js → commands-Dj5LalLo.js} +1 -1
- package/dist/{commands-registry-Cj4D_1tw.js → commands-registry-CURlRZQJ.js} +3 -3
- package/dist/{completion-cli-nnpHTGC-.js → completion-cli-Dkh-Zrqo.js} +2 -2
- package/dist/{completion-cli-ComrmOxR.js → completion-cli-Zaylny55.js} +12 -12
- package/dist/{config-cli-eBJoaO3_.js → config-cli-B8R8eDUm.js} +1 -1
- package/dist/{config-cli-CyFGv1-x.js → config-cli-DOf-CodQ.js} +6 -6
- package/dist/{config-guard-DnAyuF6T.js → config-guard-BdsOumqh.js} +17 -17
- package/dist/{config-validation-DIomLMwH.js → config-validation-BvKX6fPw.js} +2 -2
- package/dist/{configure-CxKJRv-R.js → configure-3o91R4Qd.js} +3 -3
- package/dist/{configure-BDbf-55B.js → configure-Wh7ZMjiP.js} +16 -16
- package/dist/{control-ui-assets-CiaCDBvZ.js → control-ui-assets-C7ZpN9hN.js} +1 -1
- package/dist/{cron-cli-B8uqoogS.js → cron-cli-Xml0Uww8.js} +12 -12
- package/dist/{daemon-cli-CMBNTpSS.js → daemon-cli-B1Ti51bt.js} +11 -11
- package/dist/{daemon-install-DeqQiAad.js → daemon-install-CYPo4M1M.js} +4 -4
- package/dist/{daemon-install-helpers-Bug_GYuy.js → daemon-install-helpers-BZY9-jNW.js} +9 -9
- package/dist/{deliver-yTpXc5sv.js → deliver--kttnrER.js} +7 -7
- package/dist/{deliver-5FLCa6tB.js → deliver-whAbSPLk.js} +1 -1
- package/dist/{deps-CNuk_Lqe.js → deps-0GRTVtgy.js} +1 -1
- package/dist/{deps-DGHlGKcG.js → deps-Bdrf7UsT.js} +1 -1
- package/dist/{deps-j4ERP1vX.js → deps-Ci76e_07.js} +1 -1
- package/dist/{deps-r93HSLuk.js → deps-DB6dI42Y.js} +6 -6
- package/dist/{devices-cli-DVLF8Yvw.js → devices-cli-BNkO0Fey.js} +7 -7
- package/dist/{diagnostics-CdUgLS0N.js → diagnostics-DmZbQ8Nc.js} +5 -5
- package/dist/{directory-cli-BAMS8f9U.js → directory-cli-Dz9iXeut.js} +9 -9
- package/dist/{dns-cli-BdxBk-k_.js → dns-cli-DD6hWsdc.js} +4 -4
- package/dist/{dock-CzF5XYGd.js → dock-Y96MzKuM.js} +4 -4
- package/dist/{docs-cli-SF7es4Zs.js → docs-cli-cHkrTB2e.js} +4 -4
- package/dist/{doctor-completion-B1zfgEgx.js → doctor-completion-BeqR17ft.js} +1 -1
- package/dist/{doctor-completion-k4Y6iVow.js → doctor-completion-CeD_GwXj.js} +2 -2
- package/dist/{doctor-config-flow-8qXzBx09.js → doctor-config-flow-Ck4oCjfl.js} +14 -14
- package/dist/{emergency-stop-CZrc3yGJ.js → emergency-stop-B1ycCthl.js} +7 -7
- package/dist/{emergency-stop-EXYMl2Ho.js → emergency-stop-BpudAT0i.js} +2 -2
- package/dist/{emergency-stop-rAr2AFYc.js → emergency-stop-D8XCYE8L.js} +2 -2
- package/dist/{emergency-stop-ChZeaOFx.js → emergency-stop-fApFDnLR.js} +70 -70
- package/dist/{enable-DaA_orGN.js → enable-o_s6PBsC.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-allowlist-8AkOwwIr.js → exec-approvals-allowlist-Co2tJSEo.js} +1 -1
- package/dist/{exec-approvals-cli-CtoJW2K-.js → exec-approvals-cli-CyjTnYfk.js} +15 -15
- package/dist/{exec-safe-bin-runtime-policy-DYXuBKqH.js → exec-safe-bin-runtime-policy-DaoU9-ni.js} +2 -2
- package/dist/extensionAPI.js +7 -7
- package/dist/{fs-safe-DNFrxDS-.js → fs-safe-_JQUGpZf.js} +15 -15
- package/dist/{gateway-cli-DUEnEMPj.js → gateway-cli-D3b05F0y.js} +9 -9
- package/dist/{gateway-cli-BzhusJ6G.js → gateway-cli-D9wmLKfn.js} +148 -148
- package/dist/{gateway-rpc-6vnhO4v8.js → gateway-rpc-Du-ZpDjh.js} +1 -1
- package/dist/{health-H258IqdH.js → health-D6PJPflH.js} +1 -1
- package/dist/{health-DUdnHqnW.js → health-cUQV1hzf.js} +13 -13
- package/dist/{hooks-cli-BQhTkmIs.js → hooks-cli-Cg5joAHH.js} +3 -3
- package/dist/{hooks-cli-h8tcMsfo.js → hooks-cli-Cs51IGnr.js} +84 -84
- package/dist/{hooks-status-CPIWc_bx.js → hooks-status-DNGo2G8Q.js} +1 -1
- package/dist/{idlehands-root-DFL2GrNW.js → idlehands-root-B8cUs-5M.js} +8 -8
- package/dist/{image-C_aN5P6-.js → image-BAsQlUqT.js} +1 -1
- package/dist/{image-C2JZiK-6.js → image-DSDEbSiO.js} +5 -5
- package/dist/{plugin-sdk/image-ops-BRYGGDwL.js → image-ops-BU-VdLZu.js} +2 -2
- package/dist/index.js +80 -80
- package/dist/{inspect-Dg16DMLn.js → inspect-ISQZuNM5.js} +4 -4
- package/dist/{install-safe-path-CNNMzJl9.js → install-safe-path-ChNR9pl6.js} +19 -19
- package/dist/{installs-ST3UaUVJ.js → installs-CNubze2L.js} +9 -9
- package/dist/{ir-DV0Hszc8.js → ir-VncGpwA1.js} +6 -6
- package/dist/{lifecycle-core-DOScNyOv.js → lifecycle-core-B6UoqYTJ.js} +5 -5
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{local-roots-Cco87A2_.js → local-roots-q0xbefkf.js} +2 -2
- package/dist/{login-Dl_lsEHS.js → login-CfUhrgWT.js} +4 -4
- package/dist/{login-qr-B68cBRH0.js → login-qr-DBMsUxgL.js} +7 -7
- package/dist/{logs-cli-BluGGq03.js → logs-cli-CH4mFhUt.js} +8 -8
- package/dist/{manager-BBeTPO2h.js → manager-BMAFgXyU.js} +13 -13
- package/dist/{manifest-registry-RfRn8HJx.js → manifest-registry-Bak1x76G.js} +1 -1
- package/dist/{markdown-tables-C5hTDqNm.js → markdown-tables-DZClqsNo.js} +1 -1
- package/dist/{memory-cli-4wfelGdK.js → memory-cli-CUGwnVIY.js} +12 -12
- package/dist/{model-Bd-05WpB.js → model-C-icShH2.js} +2 -2
- package/dist/{model-catalog-BCsDrrvq.js → model-catalog-D9no0CH2.js} +3 -3
- package/dist/{model-picker-D3U0wJCO.js → model-picker-BkXoTOiA.js} +4 -4
- package/dist/{model-selection-CSn9tUuH.js → model-selection-0dGxYGp8.js} +16 -16
- package/dist/{models-cli-C2VBtXFK.js → models-cli-D6CVD4Jl.js} +79 -79
- package/dist/{models-cli-DBi6iuAc.js → models-cli-Va0ILYmK.js} +4 -4
- package/dist/{models-config-lQpqp472.js → models-config-C5A1wDWh.js} +6 -6
- package/dist/{models-Coc4CuFb.js → models-tqBGSD-X.js} +2 -2
- package/dist/{node-cli-DhD8-NHR.js → node-cli-Ch7K7WtL.js} +32 -32
- package/dist/{node-service-GpI0jzKr.js → node-service-C3vyxHLA.js} +1 -1
- package/dist/{nodes-cli-DPzxQ0mY.js → nodes-cli-D_hUCPNt.js} +14 -14
- package/dist/{nodes-screen-CIAn0wXq.js → nodes-screen-CcpPaFxa.js} +4 -4
- package/dist/{npm-registry-spec-BfeHLbIQ.js → npm-registry-spec-BCbbfIhX.js} +16 -16
- package/dist/{npm-resolution-DaNJYnTG.js → npm-resolution-CCdELgCy.js} +1 -1
- package/dist/{npm-resolution-B6vPFolU.js → npm-resolution-DgW-oSJa.js} +3 -3
- package/dist/{onboard-bK4jkGRa.js → onboard-Bfd4q7HR.js} +6 -6
- package/dist/{onboard-CM-Fu2Ee.js → onboard-Br7oW1Sf.js} +2 -2
- package/dist/{onboard-channels-CWZXe89N.js → onboard-channels-BpCQ5nQX.js} +1 -1
- package/dist/{onboard-channels-BYRL9eyC.js → onboard-channels-wDbxIOXH.js} +20 -20
- package/dist/{onboard-custom-D2sCP3_S.js → onboard-custom-DUbzMMu7.js} +4 -4
- package/dist/{onboard-helpers-ByhJg2ST.js → onboard-helpers-BQmbMJxJ.js} +8 -8
- package/dist/{onboard-hooks-_1Jgimeu.js → onboard-hooks-D9teGxfH.js} +4 -4
- package/dist/{onboard-remote-DuhWSiAO.js → onboard-remote-CIjhaP2W.js} +1 -1
- package/dist/{onboard-skills-vFwEasAg.js → onboard-skills-BsaUIuq6.js} +4 -4
- package/dist/{onboarding-CNGvwRqq.js → onboarding-CegT14jj.js} +13 -13
- package/dist/{onboarding-Ds1add5x.js → onboarding-rD-jdAK3.js} +3 -3
- package/dist/{onboarding.finalize-B4o0pRn2.js → onboarding.finalize-C50Cd_QG.js} +82 -82
- package/dist/{onboarding.finalize-CBIKuTsi.js → onboarding.finalize-CHq5hQxh.js} +7 -7
- package/dist/{onboarding.gateway-config-qVAY6x7I.js → onboarding.gateway-config-CEQMyj8l.js} +16 -16
- package/dist/{openai-model-default-OPCCNNS0.js → openai-model-default-7J6cw1rA.js} +2 -2
- package/dist/{outbound-CG19kl0w.js → outbound-DPTxwchq.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-Bs7fNaqv.js → outbound-attachment-Bot3bRnK.js} +2 -2
- package/dist/{pairing-cli-QJYYDcIK.js → pairing-cli-jwx6hMsM.js} +10 -10
- package/dist/{pairing-labels-DuZ7ih-T.js → pairing-labels-ChQJzbS9.js} +1 -1
- package/dist/{pairing-store-qvpPoWL_.js → pairing-store-CPpEEQJO.js} +2 -2
- package/dist/{pairing-token-3hoCgQqp.js → pairing-token-lKXTMQ_M.js} +7 -7
- package/dist/{path-alias-guards-BCskHdfJ.js → path-alias-guards-FXBVVTLw.js} +3 -3
- package/dist/{path-safety-C1Y004P_.js → path-safety-DwibX65n.js} +1 -1
- package/dist/{paths-Bt0fZexW.js → paths-B-CLQ5RT.js} +9 -9
- package/dist/{pi-embedded-BnjDF31C.js → pi-embedded-2EqYdroP.js} +96 -42
- package/dist/{pi-embedded-helpers-BkzrQ5bZ.js → pi-embedded-helpers-BCsfqpDt.js} +6 -6
- package/dist/{pi-embedded-helpers-C2j0LfJC.js → pi-embedded-helpers-Ct2rwp-P.js} +4 -4
- package/dist/{pi-embedded-CxYEstRZ.js → pi-embedded-znVFwmix.js} +81 -27
- package/dist/{pi-model-discovery-Bt79ifyi.js → pi-model-discovery-BIP3RjXl.js} +1 -1
- package/dist/{pi-tools.policy-B_ME3yF6.js → pi-tools.policy-DfITIKZj.js} +5 -5
- package/dist/{plugin-auto-enable-BMuSi4aV.js → plugin-auto-enable-7DUxMy6A.js} +3 -3
- package/dist/{plugin-registry-avBJMf8D.js → plugin-registry-CYXCwXDq.js} +3 -3
- package/dist/{plugin-registry-COLTpSWs.js → plugin-registry-DAtKgBy3.js} +1 -1
- package/dist/plugin-sdk/{accounts-Kt6ygPsC.js → accounts-BLYMokxV.js} +2 -2
- package/dist/plugin-sdk/{accounts-mjFAny5F.js → accounts-C5tHm1UI.js} +1 -1
- package/dist/plugin-sdk/{accounts-B9nfRzyn.js → accounts-CBVAw5_G.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CU41EMlR.js → agent-scope-jl80I5G9.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-DruTfj9D.js → agent-via-gateway-BeEBACUq.js} +55 -55
- package/dist/plugin-sdk/{anton-lKxGN-F2.js → anton-DXocufH_.js} +4 -4
- package/dist/plugin-sdk/{api-key-rotation-CZhCWd61.js → api-key-rotation-D6nK54XH.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CRgDehfO.js → audio-preflight-CKqqN8ty.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DycBvVqL.js → auth-store-DaPWgQTx.js} +1 -1
- package/dist/plugin-sdk/{bindings-BDKKHGv-.js → bindings-xXgmJGxj.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-TcS_VfJk.js → channel-activity-loOg1DRw.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DFBbK8o7.js → channel-web-DOG4rb7e.js} +24 -24
- package/dist/plugin-sdk/{chrome-BCTizrZD.js → chrome-Cb9FgiCI.js} +6 -6
- package/dist/plugin-sdk/{chunk-DZr5xuqv.js → chunk-PW4MBmaN.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BqJLwZYh.js → commands-registry-B5m2EsHz.js} +5 -5
- package/dist/plugin-sdk/{config-BzPMtEKA.js → config-CEgzwk0J.js} +10 -10
- package/dist/plugin-sdk/{deliver-Cfc1UCre.js → deliver-BNfMF0Nb.js} +10 -10
- package/dist/plugin-sdk/{deps-C2JklbCf.js → deps--J_OAyWa.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-B8VzcqLf.js → diagnostic-ByA6zvzu.js} +1 -1
- package/dist/plugin-sdk/{dock-CMURqoee.js → dock-DKQYtT6-.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-DaCLgoNM.js → emergency-stop-CAC-_dk-.js} +55 -55
- package/dist/plugin-sdk/{env-qurSiOO2.js → env-5XecRTLs.js} +1 -1
- package/dist/plugin-sdk/{errors-UqLewZJL.js → errors-CMcD8Lhh.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-C174s8ZV.js → fetch-guard-DwdUEdmT.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CCXTOK7j.js → fs-safe-qsx2_8-o.js} +2 -2
- package/dist/plugin-sdk/{image-DDuK8tyO.js → image-C_1tftC8.js} +6 -6
- package/dist/{image-ops-BkoEFRYH.js → plugin-sdk/image-ops-CXSUo-AM.js} +12 -12
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/plugin-sdk/{ir-Bv0Zbp2E.js → ir-kdDGpPMq.js} +5 -5
- package/dist/plugin-sdk/{local-roots-bHCsSVt_.js → local-roots-DjB6DYeI.js} +4 -4
- package/dist/plugin-sdk/{login-CkQrnY2G.js → login-DIwO5D5Y.js} +6 -6
- package/dist/plugin-sdk/{login-qr-DAeHibH_.js → login-qr-CpCAJuvT.js} +8 -8
- package/dist/plugin-sdk/{manager-CTC1S_c9.js → manager-Dox9r7og.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-DfUQHRZY.js → markdown-tables-Drtwd4J5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DiMXmQeQ.js → message-channel-CQ0qkGHj.js} +1 -1
- package/dist/plugin-sdk/{outbound-B1twcfz5.js → outbound-Dx_q6JAI.js} +6 -6
- package/dist/{outbound-attachment-jYdMgCml.js → plugin-sdk/outbound-attachment-BisU5Vji.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-yyy61qHh.js → path-alias-guards-C_uBEYb4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BAm9cWol.js → pi-embedded-helpers-B68z4sHq.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bt6JtUFr.js → pi-model-discovery-Dt6899be.js} +1 -1
- package/dist/plugin-sdk/{plugins-DRPlVBr_.js → plugins-NTjIvHYk.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-CY0evCZ2.js → pw-ai-Dk2PTZzq.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-BckPBwZX.js → qmd-manager-juzrnopq.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-CPqK-tTR.js → query-expansion-xBXvzdkL.js} +2 -2
- package/dist/plugin-sdk/{redact-Ub8sMBBC.js → redact-B6VQH3UQ.js} +1 -1
- package/dist/plugin-sdk/{replies-DwTNZJgi.js → replies-ZovJp-3F.js} +3 -3
- package/dist/plugin-sdk/{reply-BKLT5LXW.js → reply-5pZsGmq0.js} +165 -111
- package/dist/plugin-sdk/{reply-prefix-BqV0o7_7.js → reply-prefix--mxmTL7A.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DAdNGEqG.js → resolve-outbound-target-CnUtsDch.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-C5mAwY-o.js → resolve-route-BZABUE4J.js} +3 -3
- package/dist/plugin-sdk/{retry-2OVzZJMZ.js → retry-Bh7jveNm.js} +1 -1
- package/dist/plugin-sdk/{runner-Ck0w3rcz.js → runner-CZz1tOIR.js} +10 -10
- package/dist/plugin-sdk/{send-BBD-m-nM.js → send-0EVlThEG.js} +10 -10
- package/dist/plugin-sdk/{send-CaPoBwby.js → send-B26cNPqY.js} +6 -6
- package/dist/plugin-sdk/{send-CPeuqOlq.js → send-BCjVQhp3.js} +13 -13
- package/dist/plugin-sdk/{send-SsqudCMv.js → send-CHUGIZs9.js} +7 -7
- package/dist/plugin-sdk/{send-A4Lv5nrg.js → send-Cb5NIN8s.js} +7 -7
- package/dist/plugin-sdk/{session-DpL4uk1J.js → session-DdJj6_DW.js} +3 -3
- package/dist/plugin-sdk/{sessions-CQ5iD4Uq.js → sessions-DNx9c2O2.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-C_O9I71g.js → skill-commands-DorIK8kn.js} +5 -5
- package/dist/plugin-sdk/{skills-DmiIiX4l.js → skills-Dh_Cf2PA.js} +8 -8
- package/dist/plugin-sdk/{store-BI3rLJdW.js → store-CCCXwngh.js} +2 -2
- package/dist/plugin-sdk/{subsystem-lJo9gqAK.js → subsystem-DWPzKeZ0.js} +1 -1
- package/dist/plugin-sdk/{tables-C4X_nAUQ.js → tables-CF9W23Rd.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CXh6e9ZE.js → target-errors-DaH0qYtL.js} +2 -2
- package/dist/plugin-sdk/{tokens-CU9S3S7t.js → tokens-Y97UKh4C.js} +1 -1
- package/dist/plugin-sdk/{tool-images-Cf9aWlVu.js → tool-images-BMRkn_yk.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DuwkSqZL.js → tool-loop-detection-Cv8wyfAi.js} +2 -2
- package/dist/plugin-sdk/{utils-dP-FpIgu.js → utils-Dyj2wV4e.js} +2 -2
- package/dist/plugin-sdk/web-B-T8tUvc.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bcknq6EZ.js → whatsapp-actions-B5g-Rywy.js} +23 -23
- package/dist/{plugins-B4hASNc2.js → plugins-D46VZh7u.js} +2 -2
- package/dist/{plugins-cli-C-uo9LAy.js → plugins-cli-CAbzpQdE.js} +3 -3
- package/dist/{plugins-cli-B6_9syjW.js → plugins-cli-Di1X-utw.js} +80 -80
- package/dist/{ports-B07M55Gr.js → ports-B2o0FSFD.js} +1 -1
- package/dist/{ports-DWJO5S52.js → ports-SQy1d-RL.js} +2 -2
- package/dist/{program-CRsDka5E.js → program-DCfsqP_8.js} +8 -8
- package/dist/{program-context-BTsKVJG-.js → program-context-Dhec-fGX.js} +43 -43
- package/dist/{prompt-select-styled-DzubrMFT.js → prompt-select-styled-C1aw6YAJ.js} +37 -37
- package/dist/{prompt-select-styled-7hzJWrd9.js → prompt-select-styled-CJ2ux4O0.js} +4 -4
- package/dist/{provider-auth-helpers-YtnVtfHM.js → provider-auth-helpers-BPsTPi3e.js} +1 -1
- package/dist/{provider-auth-helpers-dm-wozHr.js → provider-auth-helpers-aWibl0HT.js} +5 -5
- package/dist/{push-apns-BV7zUKu7.js → push-apns-BracxehR.js} +1 -1
- package/dist/{push-apns-A-7U4OK4.js → push-apns-By39WpiH.js} +5 -5
- package/dist/{pw-ai-BGALvhDi.js → pw-ai-7i9eGnLh.js} +11 -11
- package/dist/{pw-ai-DjmrIQle.js → pw-ai-yrIWfcWX.js} +1 -1
- package/dist/{qmd-manager-CVcPfkhL.js → qmd-manager-B-qeywfQ.js} +19 -19
- package/dist/{qr-cli-D2Oh8f0U.js → qr-cli-CSt5ihwG.js} +1 -1
- package/dist/{query-expansion-i5I3yavb.js → query-expansion-Clts_AGz.js} +12 -12
- package/dist/{redact-snapshot-CtIVs92s.js → redact-snapshot-BBNDQZIe.js} +1 -1
- package/dist/{register.agent-rHf18cUW.js → register.agent-BaVrC6Ay.js} +9 -9
- package/dist/{register.agent-D5bvlE12.js → register.agent-CyZyt49k.js} +95 -95
- package/dist/{register.configure-9NQauTQK.js → register.configure-CqmHvWcB.js} +8 -8
- package/dist/register.configure-DmjP2LTb.js +168 -0
- package/dist/{register.maintenance-BIVd22Yn.js → register.maintenance-DYYx-jCe.js} +9 -9
- package/dist/{register.maintenance-QBWMAGg5.js → register.maintenance-DfWWglhS.js} +90 -90
- package/dist/{register.message-C4xi8EEY.js → register.message-C3tFRLbl.js} +3 -3
- package/dist/{register.message-SchCSbTL.js → register.message-Cke7XTrc.js} +71 -71
- package/dist/{register.onboard-DV8DYRTN.js → register.onboard-BXK-V33E.js} +18 -18
- package/dist/{register.onboard-PcPjyLxN.js → register.onboard-DLZNgT0T.js} +2 -2
- package/dist/{register.orchestrator-anton-BcfMp8Cz.js → register.orchestrator-anton-D2g_KbgY.js} +14 -14
- package/dist/{register.orchestrator-anton-D8yY6nax.js → register.orchestrator-anton-rvqNZKP1.js} +2 -2
- package/dist/{register.setup-CrajCApG.js → register.setup-DBL7rrRW.js} +2 -2
- package/dist/{register.setup-B0CVTHFW.js → register.setup-Dr-v5BSC.js} +21 -21
- package/dist/{register.status-health-sessions-CsrQlTwE.js → register.status-health-sessions-BDG_QnIw.js} +4 -4
- package/dist/{register.status-health-sessions-MOhlrdZM.js → register.status-health-sessions-BrnK4KEW.js} +82 -82
- package/dist/{register.subclis-Bsrxn7je.js → register.subclis-SGnxsMrq.js} +9 -9
- package/dist/{replies-Czp4hvpS.js → replies-hSFVxL4h.js} +1 -1
- package/dist/{reply-prefix-BMEdvSpA.js → reply-prefix-C3y4zpTl.js} +1 -1
- package/dist/{reply-DlbLp0Yj.js → reply-tuqCy_5s.js} +223 -169
- package/dist/{resolve-route-Ef_Yt2Dw.js → resolve-route-D_AbcmD6.js} +2 -2
- package/dist/{rpc-DDTp_J6f.js → rpc-CCimHATv.js} +1 -1
- package/dist/{run-main-BIzE50C9.js → run-main-KfdXYi7n.js} +15 -15
- package/dist/{runner-CZW_eyf2.js → runner-Bv_BA3vd.js} +1 -1
- package/dist/{runner-BFG54hnb.js → runner-DzszLzI4.js} +20 -20
- package/dist/{runtime-DEmy759r.js → runtime-XmXLaHNk.js} +2 -2
- package/dist/{sandbox-CfPbhDY_.js → sandbox-DcUw5h3p.js} +20 -20
- package/dist/{sandbox-cli-B4wLJr21.js → sandbox-cli-DGvJ7Eeq.js} +22 -22
- package/dist/{secrets-cli-CidAOBfl.js → secrets-cli-Bgp_H_bH.js} +9 -9
- package/dist/{security-cli-Ch7AhbhS.js → security-cli-MQ__Ca6v.js} +39 -39
- package/dist/{send-DDMaLJAQ.js → send--lzpNy4f.js} +7 -7
- package/dist/{send-BCPkAE2k.js → send-C4v0Leny.js} +6 -6
- package/dist/{send-CEavqqEz.js → send-DQiw_nGD.js} +6 -6
- package/dist/{send-BPwTl4-K.js → send-DuwdEkLw.js} +4 -4
- package/dist/{send-CVIXqubC.js → send-DwdHiC7_.js} +13 -13
- package/dist/{server-BpSbZAwg.js → server-D6MltJIF.js} +14 -14
- package/dist/{server-context-BxNSTpH6.js → server-context-DI0W_H7R.js} +10 -10
- package/dist/{server-lifecycle-CGKrGrhM.js → server-lifecycle-B5PlrlbG.js} +2 -2
- package/dist/{server-node-events-CJo-LhWK.js → server-node-events-BLSMmXyp.js} +71 -71
- package/dist/{server-node-events-Ca-vBB7y.js → server-node-events-Brm38g1H.js} +3 -3
- package/dist/{service-Bj2oSfpw.js → service-C8NMS3m_.js} +15 -15
- package/dist/{session-BKVySI8q.js → session-CdnrRhb4.js} +1 -1
- package/dist/{sessions-BqWocozB.js → sessions-BtPXimXQ.js} +14 -14
- package/dist/{shared-DnQ4iyXk.js → shared-CpDPo3hJ.js} +2 -2
- package/dist/{shared-Jzrx8DfN.js → shared-DpLSpJIl.js} +1 -1
- package/dist/{skill-commands-BwIRWSCI.js → skill-commands-BFzmZAfo.js} +5 -5
- package/dist/{skill-scanner-B4Ftsbd2.js → skill-scanner-D7mzXRXd.js} +5 -5
- package/dist/{skills-TIyQDZx7.js → skills-DlvDyK8L.js} +3 -3
- package/dist/{skills-cli-5lbXi4Lh.js → skills-cli-BhKGhjbO.js} +5 -5
- package/dist/{skills-install-D0JHP5uM.js → skills-install-tr6wRWZj.js} +4 -4
- package/dist/{skills-status-Q9skQExW.js → skills-status-qjQ8XP0h.js} +1 -1
- package/dist/{status-Bq62ab72.js → status-CLNSJORR.js} +2 -2
- package/dist/{status-Dkbgc9sr.js → status-CmG_xHAm.js} +24 -24
- package/dist/{status.update-C3uRz7W6.js → status.update-CTi6vuWj.js} +2 -2
- package/dist/{store-CLNuI8-G.js → store-kH9wHHbO.js} +5 -5
- package/dist/{subagent-registry-DdXcwxHN.js → subagent-registry-B-ciR-Ya.js} +81 -27
- package/dist/{system-cli-DBp9Zmvt.js → system-cli-3T-OTIKv.js} +8 -8
- package/dist/{system-run-approval-context-xZVoE4nS.js → system-run-approval-context-CISBXlNw.js} +1 -1
- package/dist/{system-run-command-BIhrK3OI.js → system-run-command-qJdgzxLp.js} +1 -1
- package/dist/{systemd-DyrVLTI0.js → systemd-CaCR5CyM.js} +9 -9
- package/dist/{systemd-hints-BoKKzRI_.js → systemd-hints-DHu-HVFx.js} +6 -6
- package/dist/{systemd-linger-DrhGd61G.js → systemd-linger-B7XlUHk_.js} +1 -1
- package/dist/{tables-CZSD889r.js → tables-g9xkflht.js} +1 -1
- package/dist/{target-errors-BYuWhuLU.js → target-errors-bLIVFsbF.js} +4 -4
- package/dist/{tool-images-DZHrc4pq.js → tool-images-CHqepyF_.js} +1 -1
- package/dist/{tui-cli-DKyA5pZ2.js → tui-cli-BVKWJ9X7.js} +30 -30
- package/dist/{tui-DWGHGeZ3.js → tui-lalhRHve.js} +6 -6
- package/dist/{update-la2AdLf3.js → update-D79ppbMQ.js} +3 -3
- package/dist/{update-cli-DazNo7rK.js → update-cli-B-RzWiVk.js} +99 -99
- package/dist/{update-cli-DaMRO-aG.js → update-cli-ButEdTeQ.js} +9 -9
- package/dist/{update-runner-y0ygXgsr.js → update-runner-Cxg4n1sn.js} +15 -15
- package/dist/{update-runner-BVkF5g4U.js → update-runner-DizoiA2w.js} +1 -1
- package/dist/{upgrade-command-CRivS_8q.js → upgrade-command-DP6F1cjV.js} +3 -3
- package/dist/web-C4Q6twkC.js +123 -0
- package/dist/{web-CZCgCfEk.js → web-D5dDa5kC.js} +3 -3
- package/dist/{web-DeCBCsXv.js → web-DWhjgVIf.js} +8 -8
- package/dist/{web-DBWzdQPi.js → web-DtCFqhdb.js} +3 -3
- package/dist/{webhooks-cli-BnmVPYkU.js → webhooks-cli-2N03q0iY.js} +6 -6
- package/dist/{whatsapp-actions-D2mBFzmK.js → whatsapp-actions-Cms8wQM1.js} +18 -18
- package/dist/{with-timeout-BodPmGCY.js → with-timeout-DEdycYxq.js} +3 -3
- package/dist/{workspace-CDw87aZG.js → workspace-D3pARwoB.js} +1 -1
- package/dist/{workspace-dirs-D3bousoX.js → workspace-dirs-SsExQ3Bz.js} +1 -1
- package/dist/{wsl-CgXDjE09.js → wsl-BJW8nTyL.js} +2 -2
- package/package.json +1 -1
- package/dist/anton-RLNAl1Wi.js +0 -579
- package/dist/plugin-sdk/web-CWWIv9mK.js +0 -71
- package/dist/register.configure-Cz-AvXU5.js +0 -168
- package/dist/web-k_Gtl1KZ.js +0 -123
|
@@ -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-RA0zXRpu.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-0dGxYGp8.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-B-FTJm5p.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-Clts_AGz.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 fs$1 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 fs$1.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 fs$1.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) => fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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-B8cUs-5M.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-D46VZh7u.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-RA0zXRpu.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-0dGxYGp8.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-Clts_AGz.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 fs$1 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-B-qeywfQ.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-BMAFgXyU.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-BMAFgXyU.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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-0dGxYGp8.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BIP3RjXl.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-0dGxYGp8.js";
|
|
3
|
+
import { t as ensureIdleHandsModelsJson } from "./models-config-C5A1wDWh.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-BIP3RjXl.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-RA0zXRpu.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-0dGxYGp8.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-D9no0CH2.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-CpDPo3hJ.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-RA0zXRpu.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-B8cUs-5M.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-Bak1x76G.js";
|
|
16
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-Y96MzKuM.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 fs$1 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 fs$1.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 fs$1.mkdir(dir, { recursive: true });
|
|
297
297
|
try {
|
|
298
|
-
const realDir = await
|
|
298
|
+
const realDir = await fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.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([fs$1.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$/, "");
|
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Jt as maskApiKey, St as resolveUsageProviderId, a as DEFAULT_OAUTH_WARN_MS, d as runEmbeddedPiAgent, o as buildAuthHealthSummary, qt as describeFailoverError, s as formatRemainingShort, xt as formatUsageWindowSummary, yt as loadProviderUsageSummary } from "./reply-
|
|
5
|
-
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { Jt as maskApiKey, St as resolveUsageProviderId, a as DEFAULT_OAUTH_WARN_MS, d as runEmbeddedPiAgent, o as buildAuthHealthSummary, qt as describeFailoverError, s as formatRemainingShort, xt as formatUsageWindowSummary, yt as loadProviderUsageSummary } from "./reply-tuqCy_5s.js";
|
|
5
|
+
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
8
|
-
import "./idlehands-root-
|
|
8
|
+
import "./idlehands-root-B8cUs-5M.js";
|
|
9
9
|
import "./exec-CKHMT0tZ.js";
|
|
10
|
-
import { $r as DEFAULT_PROVIDER, Br as resolveAuthProfileDisplayLabel, Cr as listProfilesForProvider, Er as upsertAuthProfile, Fr as resolveAuthStorePathForDisplay, Ir as resolveIdleHandsAgentDir, It as loadConfig, Qr as DEFAULT_MODEL, Tr as setAuthProfileOrder, X as resolveEnvApiKey, Y as resolveApiKeyForProvider, _ as resolveModelRefFromString, c as modelKey, cn as parseDurationMs, d as parseModelRef, ft as resolveProfileUnusableUntilForDisplay, h as resolveDefaultModelForAgent, hr as getShellEnvAppliedKeys, i as findNormalizedProviderValue, kr as ensureAuthProfileStore, m as resolveConfiguredModelRef, q as getCustomProviderApiKey, r as buildModelAliasIndex, st as resolveAuthProfileOrder, u as normalizeProviderId, vr as shouldEnableShellEnvFallback } from "./model-selection-
|
|
10
|
+
import { $r as DEFAULT_PROVIDER, Br as resolveAuthProfileDisplayLabel, Cr as listProfilesForProvider, Er as upsertAuthProfile, Fr as resolveAuthStorePathForDisplay, Ir as resolveIdleHandsAgentDir, It as loadConfig, Qr as DEFAULT_MODEL, Tr as setAuthProfileOrder, X as resolveEnvApiKey, Y as resolveApiKeyForProvider, _ as resolveModelRefFromString, c as modelKey, cn as parseDurationMs, d as parseModelRef, ft as resolveProfileUnusableUntilForDisplay, h as resolveDefaultModelForAgent, hr as getShellEnvAppliedKeys, i as findNormalizedProviderValue, kr as ensureAuthProfileStore, m as resolveConfiguredModelRef, q as getCustomProviderApiKey, r as buildModelAliasIndex, st as resolveAuthProfileOrder, u as normalizeProviderId, vr as shouldEnableShellEnvFallback } from "./model-selection-0dGxYGp8.js";
|
|
11
11
|
import "./github-copilot-token-D7lpquOO.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
13
13
|
import "./boolean-BsqeuxE6.js";
|
|
14
14
|
import "./env-Bx-F45X5.js";
|
|
15
15
|
import "./host-env-security-DkAVVuaw.js";
|
|
16
16
|
import "./env-vars-sTMVGyld.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
17
|
+
import "./manifest-registry-Bak1x76G.js";
|
|
18
|
+
import "./dock-Y96MzKuM.js";
|
|
19
19
|
import "./message-channel-DVauVtrg.js";
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./runner-
|
|
22
|
-
import "./image-
|
|
23
|
-
import { t as ensureIdleHandsModelsJson } from "./models-config-
|
|
24
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
25
|
-
import "./pi-embedded-helpers-
|
|
26
|
-
import "./sandbox-
|
|
20
|
+
import "./send-DwdHiC7_.js";
|
|
21
|
+
import "./runner-DzszLzI4.js";
|
|
22
|
+
import "./image-DSDEbSiO.js";
|
|
23
|
+
import { t as ensureIdleHandsModelsJson } from "./models-config-C5A1wDWh.js";
|
|
24
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BIP3RjXl.js";
|
|
25
|
+
import "./pi-embedded-helpers-BCsfqpDt.js";
|
|
26
|
+
import "./sandbox-DcUw5h3p.js";
|
|
27
27
|
import "./tool-catalog-4_Wxc542.js";
|
|
28
|
-
import "./chrome-
|
|
28
|
+
import "./chrome-VBsQfIrt.js";
|
|
29
29
|
import "./tailscale-B5Irc_Bi.js";
|
|
30
30
|
import "./ip-DJ5wsTQn.js";
|
|
31
31
|
import "./tailnet-C9lH_YnG.js";
|
|
32
32
|
import "./ws-XBTtYpJc.js";
|
|
33
33
|
import "./auth-heRVBxh2.js";
|
|
34
|
-
import "./server-context-
|
|
34
|
+
import "./server-context-DI0W_H7R.js";
|
|
35
35
|
import "./frontmatter-D-sQ_Hqk.js";
|
|
36
|
-
import "./skills-
|
|
37
|
-
import "./path-alias-guards-
|
|
38
|
-
import "./paths-
|
|
36
|
+
import "./skills-DlvDyK8L.js";
|
|
37
|
+
import "./path-alias-guards-FXBVVTLw.js";
|
|
38
|
+
import "./paths-B-CLQ5RT.js";
|
|
39
39
|
import "./redact-B_4KNlXs.js";
|
|
40
40
|
import "./errors-DZDuPc3M.js";
|
|
41
|
-
import "./fs-safe-
|
|
41
|
+
import "./fs-safe-_JQUGpZf.js";
|
|
42
42
|
import "./ssrf-Dw9zzKSM.js";
|
|
43
|
-
import "./image-ops-
|
|
44
|
-
import "./store-
|
|
45
|
-
import "./ports-
|
|
43
|
+
import "./image-ops-BU-VdLZu.js";
|
|
44
|
+
import "./store-kH9wHHbO.js";
|
|
45
|
+
import "./ports-SQy1d-RL.js";
|
|
46
46
|
import "./trash-CUFiyQN5.js";
|
|
47
47
|
import "./server-middleware-BC21xYvr.js";
|
|
48
|
-
import "./sessions-
|
|
49
|
-
import "./plugins-
|
|
50
|
-
import "./accounts-
|
|
51
|
-
import "./accounts-
|
|
52
|
-
import "./accounts-
|
|
53
|
-
import "./bindings-
|
|
48
|
+
import "./sessions-BtPXimXQ.js";
|
|
49
|
+
import "./plugins-D46VZh7u.js";
|
|
50
|
+
import "./accounts-DLTODa_Z.js";
|
|
51
|
+
import "./accounts-3HS_UAhJ.js";
|
|
52
|
+
import "./accounts-DgbTKQoW.js";
|
|
53
|
+
import "./bindings-B59Q7nsk.js";
|
|
54
54
|
import "./logging-q4KyMmY-.js";
|
|
55
|
-
import "./auth-store-
|
|
56
|
-
import "./send-
|
|
55
|
+
import "./auth-store-DDzIMy8_.js";
|
|
56
|
+
import "./send-DuwdEkLw.js";
|
|
57
57
|
import { l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath } from "./paths-DRz46q00.js";
|
|
58
58
|
import "./chat-envelope-Bebo3vwl.js";
|
|
59
|
-
import "./tool-images-
|
|
59
|
+
import "./tool-images-CHqepyF_.js";
|
|
60
60
|
import "./tool-display-Dac7lHGW.js";
|
|
61
61
|
import "./fetch-guard-yUZu1Vzc.js";
|
|
62
|
-
import "./api-key-rotation-
|
|
63
|
-
import "./local-roots-
|
|
64
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
62
|
+
import "./api-key-rotation-B-FTJm5p.js";
|
|
63
|
+
import "./local-roots-q0xbefkf.js";
|
|
64
|
+
import { n as loadModelCatalog } from "./model-catalog-D9no0CH2.js";
|
|
65
65
|
import "./tokens-Dg-QZ_pN.js";
|
|
66
|
-
import "./deliver
|
|
67
|
-
import "./commands-
|
|
68
|
-
import "./commands-registry-
|
|
69
|
-
import "./client-
|
|
70
|
-
import "./call-
|
|
71
|
-
import "./pairing-token-
|
|
66
|
+
import "./deliver--kttnrER.js";
|
|
67
|
+
import "./commands-Dj5LalLo.js";
|
|
68
|
+
import "./commands-registry-CURlRZQJ.js";
|
|
69
|
+
import "./client-DxH9hwLn.js";
|
|
70
|
+
import "./call-BRL23UCk.js";
|
|
71
|
+
import "./pairing-token-lKXTMQ_M.js";
|
|
72
72
|
import "./fetch-CYe1ekSh.js";
|
|
73
73
|
import "./retry-Db05aSB8.js";
|
|
74
|
-
import "./pairing-store-
|
|
74
|
+
import "./pairing-store-CPpEEQJO.js";
|
|
75
75
|
import "./exec-approvals-C2s2dPha.js";
|
|
76
|
-
import "./exec-approvals-allowlist-
|
|
77
|
-
import "./exec-safe-bin-runtime-policy-
|
|
78
|
-
import "./nodes-screen-
|
|
79
|
-
import "./target-errors-
|
|
76
|
+
import "./exec-approvals-allowlist-Co2tJSEo.js";
|
|
77
|
+
import "./exec-safe-bin-runtime-policy-DaoU9-ni.js";
|
|
78
|
+
import "./nodes-screen-CcpPaFxa.js";
|
|
79
|
+
import "./target-errors-bLIVFsbF.js";
|
|
80
80
|
import "./diagnostic-session-state-CJHdRyOy.js";
|
|
81
|
-
import "./with-timeout-
|
|
81
|
+
import "./with-timeout-DEdycYxq.js";
|
|
82
82
|
import "./diagnostic-ByHpt6q8.js";
|
|
83
|
-
import "./send
|
|
84
|
-
import { r as resolveForwardCompatModel } from "./model-
|
|
85
|
-
import "./reply-prefix-
|
|
86
|
-
import "./memory-cli-
|
|
87
|
-
import "./manager-
|
|
88
|
-
import "./query-expansion-
|
|
83
|
+
import "./send--lzpNy4f.js";
|
|
84
|
+
import { r as resolveForwardCompatModel } from "./model-C-icShH2.js";
|
|
85
|
+
import "./reply-prefix-C3y4zpTl.js";
|
|
86
|
+
import "./memory-cli-CUGwnVIY.js";
|
|
87
|
+
import "./manager-BMAFgXyU.js";
|
|
88
|
+
import "./query-expansion-Clts_AGz.js";
|
|
89
89
|
import "./chunk-ClMFHJu-.js";
|
|
90
|
-
import "./markdown-tables-
|
|
91
|
-
import "./ir-
|
|
90
|
+
import "./markdown-tables-DZClqsNo.js";
|
|
91
|
+
import "./ir-VncGpwA1.js";
|
|
92
92
|
import "./render-DC4qnRqG.js";
|
|
93
|
-
import "./pi-tools.policy-
|
|
93
|
+
import "./pi-tools.policy-DfITIKZj.js";
|
|
94
94
|
import "./channel-activity-DaCsrdWK.js";
|
|
95
|
-
import "./tables-
|
|
96
|
-
import "./send-
|
|
95
|
+
import "./tables-g9xkflht.js";
|
|
96
|
+
import "./send-C4v0Leny.js";
|
|
97
97
|
import "./proxy-yk1Oqe9p.js";
|
|
98
98
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
99
99
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-CH2y4E2f.js";
|
|
100
100
|
import "./help-format-CMAqOikG.js";
|
|
101
101
|
import { r as withProgressTotals } from "./progress-BQLz1r3L.js";
|
|
102
|
-
import "./resolve-route-
|
|
103
|
-
import "./replies-
|
|
104
|
-
import "./skill-commands-
|
|
105
|
-
import "./workspace-dirs-
|
|
106
|
-
import "./deps-
|
|
107
|
-
import "./plugin-auto-enable-
|
|
108
|
-
import "./channel-selection-
|
|
109
|
-
import "./outbound-attachment-
|
|
102
|
+
import "./resolve-route-D_AbcmD6.js";
|
|
103
|
+
import "./replies-hSFVxL4h.js";
|
|
104
|
+
import "./skill-commands-BFzmZAfo.js";
|
|
105
|
+
import "./workspace-dirs-SsExQ3Bz.js";
|
|
106
|
+
import "./deps-DB6dI42Y.js";
|
|
107
|
+
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
|
+
import "./channel-selection-ZxRkxpuF.js";
|
|
109
|
+
import "./outbound-attachment-Bot3bRnK.js";
|
|
110
110
|
import "./delivery-queue-BvDRo8CK.js";
|
|
111
111
|
import "./session-cost-usage-DS1rjzML.js";
|
|
112
|
-
import "./send-
|
|
113
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
112
|
+
import "./send-DQiw_nGD.js";
|
|
113
|
+
import { f as openUrl } from "./onboard-helpers-BQmbMJxJ.js";
|
|
114
114
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-kmKiCZnm.js";
|
|
115
|
-
import "./pairing-labels-
|
|
116
|
-
import "./server-lifecycle-
|
|
115
|
+
import "./pairing-labels-ChQJzbS9.js";
|
|
116
|
+
import "./server-lifecycle-B5PlrlbG.js";
|
|
117
117
|
import "./stagger-rQoQSWkz.js";
|
|
118
|
-
import "./system-run-command-
|
|
118
|
+
import "./system-run-command-qJdgzxLp.js";
|
|
119
119
|
import "./note-69EfBEU-.js";
|
|
120
120
|
import { t as createClackPrompter } from "./clack-prompter-CvbZsmjW.js";
|
|
121
121
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
122
122
|
import { t as inferParamBFromIdOrName } from "./model-param-b-DnD62yWY.js";
|
|
123
123
|
import { n as redactSecrets } from "./format-BK5XIv_A.js";
|
|
124
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
125
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
124
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-CpDPo3hJ.js";
|
|
125
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BJq87X3o.js";
|
|
126
126
|
import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
|
|
127
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
127
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-aWibl0HT.js";
|
|
128
128
|
import path from "node:path";
|
|
129
|
-
import
|
|
129
|
+
import fs from "node:fs/promises";
|
|
130
130
|
import crypto from "node:crypto";
|
|
131
131
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
132
132
|
import { Type } from "@sinclair/typebox";
|
|
@@ -930,8 +930,8 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
930
930
|
//#region src/commands/models/list.list-command.ts
|
|
931
931
|
async function modelsListCommand(opts, runtime) {
|
|
932
932
|
ensureFlagCompatibility(opts);
|
|
933
|
-
const { loadConfig } = await import("./model-selection-
|
|
934
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
933
|
+
const { loadConfig } = await import("./model-selection-0dGxYGp8.js").then((n) => n.Mt);
|
|
934
|
+
const { ensureAuthProfileStore } = await import("./model-selection-0dGxYGp8.js").then((n) => n.ot);
|
|
935
935
|
const cfg = loadConfig();
|
|
936
936
|
const authStore = ensureAuthProfileStore();
|
|
937
937
|
const providerFilter = (() => {
|
|
@@ -991,7 +991,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
993
|
if (!model) {
|
|
994
|
-
const { resolveModel } = await import("./model-
|
|
994
|
+
const { resolveModel } = await import("./model-C-icShH2.js").then((n) => n.t);
|
|
995
995
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
996
996
|
}
|
|
997
997
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1266,7 +1266,7 @@ async function probeTarget(params) {
|
|
|
1266
1266
|
};
|
|
1267
1267
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1268
1268
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1269
|
-
await
|
|
1269
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1270
1270
|
const start = Date.now();
|
|
1271
1271
|
try {
|
|
1272
1272
|
await runEmbeddedPiAgent({
|
|
@@ -1321,7 +1321,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1321
1321
|
const agentDir = resolveIdleHandsAgentDir();
|
|
1322
1322
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1323
1323
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1324
|
-
await
|
|
1324
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1325
1325
|
let completed = 0;
|
|
1326
1326
|
const results = Array.from({ length: targets.length });
|
|
1327
1327
|
let cursor = 0;
|