@visorcraft/idlehands 4.0.20 → 4.1.0
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-BDVs8LTu.js → accounts-B8cGzkjD.js} +1 -1
- package/dist/{accounts-Dk8mJIrQ.js → accounts-BQC_GRUB.js} +6 -6
- package/dist/{accounts-DLTODa_Z.js → accounts-D-hQsUw-.js} +1 -1
- package/dist/{accounts-CIvVRRHb.js → accounts-D5tB_lO0.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-BEpWQbqb.js → acp-cli-BEHYc8ty.js} +7 -7
- package/dist/{agent-scope-RA0zXRpu.js → agent-scope-Bn39ugK4.js} +18 -18
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-Bxq1eWbA.js} +4 -4
- package/dist/{agent-via-gateway-CqzpAXCd.js → agent-via-gateway-CM7X6sKJ.js} +60 -60
- package/dist/{agent-via-gateway-CUQG6kii.js → agent-via-gateway-bS6seBwg.js} +4 -4
- package/dist/{agents.config-CHtoYxr6.js → agents.config-CPUPtcKt.js} +2 -2
- package/dist/{anton-DLsQ7Igk.js → anton-C7-Qxyij.js} +5 -5
- package/dist/{anton-x7f6kIFP.js → anton-D9tZAGaj.js} +20 -20
- package/dist/{api-key-rotation-B-FTJm5p.js → api-key-rotation-nXQVJErE.js} +1 -1
- package/dist/{audio-preflight-Dl1TO10w.js → audio-preflight-DzjXupNO.js} +31 -31
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-qkU2lsDn.js} +35 -35
- package/dist/{audit-CKeZnjft.js → audit-C5VPFgbJ.js} +22 -22
- package/dist/{auth-choice-D12Wsf7w.js → auth-choice-BDndThZZ.js} +12 -12
- package/dist/{auth-choice-DRR52LJT.js → auth-choice-CQqV1VIf.js} +10 -10
- package/dist/{auth-choice.apply-helpers-CGcniL1T.js → auth-choice.apply-helpers-pTqMTYmi.js} +1 -1
- package/dist/{auth-store-DXT-l7fO.js → auth-store-Bb4aajHu.js} +12 -12
- 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/{bindings-D3b5Fmc9.js → bindings-CLZIJ0Eo.js} +2 -2
- package/dist/{bindings-B59Q7nsk.js → bindings-DZjkLUU_.js} +1 -1
- package/dist/{browser-cli-Ci6DpTnS.js → browser-cli-qU0I-Gla.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{call-BpWhjuOg.js → call-Du-oBD99.js} +9 -9
- package/dist/{channel-account-context-CDbY5AIr.js → channel-account-context-B4nJPU2N.js} +5 -5
- package/dist/{channel-activity-D_TMOGQ0.js → channel-activity-DdL3RAv_.js} +3 -3
- package/dist/{channel-options-B4oF7_V2.js → channel-options-B1cfZ5uQ.js} +3 -3
- package/dist/{channel-selection-ZxRkxpuF.js → channel-selection-3jUl-PyW.js} +1 -1
- package/dist/{channel-web-0icuasR6.js → channel-web-CzrJ-6X4.js} +22 -22
- package/dist/{channels-cli-B2w32z11.js → channels-cli-B4o-qohk.js} +88 -88
- package/dist/{channels-status-issues-CDpWjdI3.js → channels-status-issues-hgASw9UA.js} +1 -1
- package/dist/{chrome-BcJB6PcM.js → chrome-CT_a9OgI.js} +17 -17
- package/dist/{chrome-VBsQfIrt.js → chrome-YguTEaLx.js} +2 -2
- package/dist/{chunk-CMpX7Jaz.js → chunk-Djk-9JeT.js} +1 -1
- package/dist/{clawbot-cli-uFgYrysW.js → clawbot-cli-C5cDal-5.js} +5 -5
- package/dist/{cli-BVw2ja-q.js → cli-DXyOlvH2.js} +70 -70
- package/dist/{client-DtnD-ee9.js → client-Dl5EAvfO.js} +1 -1
- package/dist/{command-registry-CWDCVzZv.js → command-registry-esizscE2.js} +5 -5
- 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/{commands-registry-j4vAzcF2.js → commands-registry-_TBHHpvt.js} +5 -5
- package/dist/{completion-cli-f5M3WVf8.js → completion-cli-CXDILt8-.js} +12 -12
- package/dist/{completion-cli-CjERsZ27.js → completion-cli-c4blaZPQ.js} +2 -2
- package/dist/{config-cli-Bt7n6ZJS.js → config-cli-98ASrAou.js} +1 -1
- package/dist/{config-cli-B2gc8CV1.js → config-cli-D_mH5-FH.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-BXsptBk3.js → configure-PKG58EzI.js} +16 -16
- package/dist/{control-ui-assets-C7ZpN9hN.js → control-ui-assets-CiaCDBvZ.js} +1 -1
- package/dist/{cron-cli-DQsnGQKs.js → cron-cli-BIfVPc5K.js} +12 -12
- package/dist/{daemon-cli-DUg-s4LG.js → daemon-cli-DpyQu0Dp.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-BUiQ-9fE.js → deliver-Db2xqgLg.js} +20 -20
- package/dist/{deliver--kttnrER.js → deliver-yTpXc5sv.js} +7 -7
- package/dist/{deps-CwPrf7RC.js → deps-BotXja4Z.js} +6 -6
- package/dist/{deps-BhCzAj5E.js → deps-CC5E5LXB.js} +6 -6
- package/dist/{devices-cli-DKK65S9Z.js → devices-cli-B7fkQKei.js} +7 -7
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-BvlZ0Sot.js} +1 -1
- 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/{dock-BgOmHcbh.js → dock-ejUetwTC.js} +6 -6
- package/dist/{docs-cli-cHkrTB2e.js → docs-cli-SF7es4Zs.js} +4 -4
- package/dist/{doctor-completion-C2-SDBd6.js → doctor-completion-Co_xszXC.js} +2 -2
- package/dist/{doctor-completion-DB151YdP.js → doctor-completion-DFr8_h-z.js} +1 -1
- package/dist/{doctor-config-flow-Ck4oCjfl.js → doctor-config-flow-8qXzBx09.js} +14 -14
- package/dist/{emergency-stop-DpNGtfb4.js → emergency-stop-DtVFxCO1.js} +70 -70
- package/dist/emergency-stop-DyQna_P0.js +113 -0
- package/dist/{enable-o_s6PBsC.js → enable-DaA_orGN.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-B5G1qwGc.js → env-q-PhWbb_.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → errors-C4SHjIZK.js} +1 -1
- package/dist/{exec-approvals-allowlist-Co2tJSEo.js → exec-approvals-allowlist-8AkOwwIr.js} +1 -1
- package/dist/{exec-approvals-cli-D6XUzs4j.js → exec-approvals-cli-CbcJzCt0.js} +15 -15
- package/dist/{exec-safe-bin-runtime-policy-DaoU9-ni.js → exec-safe-bin-runtime-policy-DYXuBKqH.js} +2 -2
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-CcfDZXe9.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-pTUG4Sx_.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-2l05hI1Y.js} +2 -2
- package/dist/{fs-safe-_JQUGpZf.js → fs-safe-DNFrxDS-.js} +15 -15
- package/dist/{gateway-cli-Ccd1ukWq.js → gateway-cli-DjCBMnUT.js} +2 -2
- package/dist/{gateway-cli-lNUOd2_i.js → gateway-cli-poVGdgAz.js} +148 -148
- package/dist/{gateway-rpc-BBFG1T-M.js → gateway-rpc-IpZymG6F.js} +1 -1
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-DLSGffQK.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
- package/dist/{health--GQAFTBr.js → health-lZsCLX6p.js} +13 -13
- package/dist/{hooks-cli-Di8qrzIB.js → hooks-cli-EbzkZ1Xh.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-D8b_rlQC.js → image-Dlu13Ebx.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-BkoEFRYH.js} +11 -11
- package/dist/{image-ops-BU-VdLZu.js → image-ops-J8P5zOFm.js} +2 -2
- 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-B7IBoKLy.js → ir-BT5aAdU9.js} +5 -5
- 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 +60 -60
- package/dist/{local-roots-q0xbefkf.js → local-roots-Cco87A2_.js} +2 -2
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-d4y0lvs2.js} +5 -5
- package/dist/{login-CFr5vJmR.js → login-C2X0In6m.js} +6 -6
- 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/{login-qr-CFFFOjOl.js → login-qr-C17PY0rr.js} +11 -11
- package/dist/{logs-cli-4VQ9Iwiw.js → logs-cli-DHCG25JA.js} +8 -8
- package/dist/{manager-BMAFgXyU.js → manager-BBeTPO2h.js} +13 -13
- package/dist/{manager-BE_76jWB.js → manager-CgzA1hKo.js} +15 -15
- 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/{markdown-tables-CzsockiZ.js → markdown-tables-R8VTpfE9.js} +1 -1
- package/dist/{memory-cli-CUGwnVIY.js → memory-cli-4wfelGdK.js} +12 -12
- package/dist/{message-channel-C8QtrwEU.js → message-channel-ZdI1-uUh.js} +1 -1
- 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-1MMYqY6M.js → model-selection-C5hI1dum.js} +41 -41
- package/dist/{model-selection-0dGxYGp8.js → model-selection-CSn9tUuH.js} +16 -16
- package/dist/{models-cli-CMwszgSD.js → models-cli-umEUn4Xu.js} +79 -79
- package/dist/{models-config-C5A1wDWh.js → models-config-lQpqp472.js} +6 -6
- package/dist/{node-cli-BYzjxmUY.js → node-cli-7gQ7xfOh.js} +32 -32
- package/dist/{node-service-C3vyxHLA.js → node-service-GpI0jzKr.js} +1 -1
- package/dist/{nodes-cli-kNOtp0U0.js → nodes-cli-CDXLGCox.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-DLSA4PTO.js → npm-resolution-By6en78P.js} +3 -3
- package/dist/{onboard-CbXlbAx2.js → onboard-BmDmDXYf.js} +6 -6
- package/dist/{onboard-B6eOxpDM.js → onboard-Dw-URWpt.js} +1 -1
- package/dist/{onboard-channels-BISq46-i.js → onboard-channels-DCDhpz9s.js} +20 -20
- package/dist/{onboard-custom-DUbzMMu7.js → onboard-custom-D2sCP3_S.js} +4 -4
- package/dist/{onboard-helpers-mzy38DiC.js → onboard-helpers-CdzbIhrm.js} +8 -8
- package/dist/{onboard-hooks-D9teGxfH.js → onboard-hooks-_1Jgimeu.js} +4 -4
- package/dist/{onboard-remote-LCBHijVE.js → onboard-remote-pCRaL_Ey.js} +1 -1
- package/dist/{onboard-skills-jFY9gaOu.js → onboard-skills-DvwRvBvj.js} +4 -4
- package/dist/{onboarding-Da3n7Rvs.js → onboarding-Cf3JxJxY.js} +13 -13
- package/dist/{onboarding-DikyMlYG.js → onboarding-DIorhVOJ.js} +1 -1
- package/dist/{onboarding.finalize-CwYx5n3Z.js → onboarding.finalize-BCmAqhLV.js} +4 -4
- package/dist/{onboarding.finalize-Bp2ufMd0.js → onboarding.finalize-BH4WHo75.js} +82 -82
- package/dist/{onboarding.gateway-config-Btu2gzgr.js → onboarding.gateway-config-Sj7zQKsE.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/{outbound-BNh6PpQb.js → outbound-CdY_AskB.js} +6 -6
- package/dist/{outbound-attachment-Bot3bRnK.js → outbound-attachment-IfeZJAKk.js} +2 -2
- package/dist/{outbound-attachment-3I6GzwDe.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-alias-guards-Cu1nXNMM.js → path-alias-guards-BZmt6hFb.js} +1 -1
- 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/{paths-D_qUel1T.js → paths-D3p7ZvM6.js} +3 -3
- package/dist/{paths-BYNVLNi_.js → paths-DQpv9a3Q.js} +5 -5
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-B3ceCcxm.js} +24 -24
- package/dist/{pi-embedded-helpers-BCsfqpDt.js → pi-embedded-helpers-BkzrQ5bZ.js} +6 -6
- package/dist/{pi-embedded-6dr9Wi77.js → pi-embedded-mKozULng.js} +179 -179
- package/dist/{pi-model-discovery-BIP3RjXl.js → pi-model-discovery-Bt79ifyi.js} +1 -1
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-Dlx4RLWo.js} +7 -7
- 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-DROWinG6.js → plugin-registry-BIoGoN5y.js} +3 -3
- package/dist/{plugins-D46VZh7u.js → plugins-B4hASNc2.js} +2 -2
- package/dist/{plugins-CRB60mCJ.js → plugins-DYr-HHj0.js} +10 -10
- package/dist/{plugins-cli-b_o3IL7x.js → plugins-cli-Dlb8QO-K.js} +80 -80
- package/dist/{ports-B2o0FSFD.js → ports-B07M55Gr.js} +1 -1
- package/dist/{ports-SQy1d-RL.js → ports-DWJO5S52.js} +2 -2
- package/dist/{program-vH6RTUOw.js → program-Do2-I4y3.js} +2 -2
- package/dist/{program-context-D6irLwPo.js → program-context-B_byBfwR.js} +43 -43
- package/dist/{prompt-select-styled-CDoDFWo7.js → prompt-select-styled-CBF_I30O.js} +37 -37
- package/dist/{prompt-select-styled-DFVvU0TH.js → prompt-select-styled-VWGHu3e1.js} +1 -1
- package/dist/{provider-auth-helpers-CNRz0SFC.js → provider-auth-helpers-BGGSUXOH.js} +5 -5
- package/dist/{push-apns-e2xmxGGE.js → push-apns-CuwLAoXk.js} +5 -5
- package/dist/{pw-ai-7i9eGnLh.js → pw-ai-BGALvhDi.js} +11 -11
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-DIV4PcIo.js} +13 -13
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-BRvg3Rx2.js} +8 -8
- 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-DEq020GG.js → query-expansion-DHuNyU-_.js} +5 -5
- package/dist/{query-expansion-Clts_AGz.js → query-expansion-i5I3yavb.js} +12 -12
- package/dist/{redact-Bvpf-ATQ.js → redact-1Y0KPNtr.js} +1 -1
- package/dist/{redact-snapshot-Cc8Brktr.js → redact-snapshot-K5EFkIbD.js} +14 -0
- package/dist/{redact-snapshot-BBNDQZIe.js → redact-snapshot-KMo22a85.js} +15 -1
- package/dist/{register.agent-HWcFMr6h.js → register.agent-CDcuj79y.js} +95 -95
- package/dist/register.configure-CxwdWRSG.js +168 -0
- package/dist/{register.maintenance-BYiX9iOa.js → register.maintenance-BcFR1fGQ.js} +5 -5
- package/dist/{register.maintenance-C6o2WuQx.js → register.maintenance-wv8PzmVy.js} +90 -90
- package/dist/{register.message-BewFLd-k.js → register.message-DUAiI9J7.js} +71 -71
- package/dist/{register.onboard-BVm-2XAx.js → register.onboard-BMNBXD29.js} +2 -2
- package/dist/{register.onboard-a0kqiCTa.js → register.onboard-F09brfSb.js} +18 -18
- package/dist/{register.orchestrator-anton-BYyjV8R-.js → register.orchestrator-anton-CGhKIDjJ.js} +14 -14
- package/dist/{register.setup-BJ0WBUpt.js → register.setup-DqbGSLoJ.js} +2 -2
- package/dist/{register.setup-BwPJaqpH.js → register.setup-jzek547p.js} +21 -21
- package/dist/{register.status-health-sessions-Clzt8hbv.js → register.status-health-sessions-ByfydR_f.js} +82 -82
- package/dist/{register.subclis-CrcOefJY.js → register.subclis-CuNL7Zgu.js} +3 -3
- package/dist/{replies-6_GxvQYe.js → replies-2C16fnBP.js} +3 -3
- package/dist/{replies-hSFVxL4h.js → replies-Czp4hvpS.js} +1 -1
- package/dist/{reply-D5gCiiGr.js → reply-CdFdL9nL.js} +153 -153
- package/dist/{reply-prefix-C3y4zpTl.js → reply-prefix-BMEdvSpA.js} +1 -1
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-DCljZiIB.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-ClcifpKn.js} +4 -4
- package/dist/{resolve-route-D_AbcmD6.js → resolve-route-Ef_Yt2Dw.js} +2 -2
- package/dist/{retry-BeB9WenR.js → retry-CG6cMRDQ.js} +1 -1
- package/dist/{rpc-Cf9OK5Yk.js → rpc-CNqnw2FL.js} +1 -1
- package/dist/{run-main-BCX3UZMR.js → run-main-9A7FdIR1.js} +5 -5
- package/dist/{runner-DzszLzI4.js → runner-BFG54hnb.js} +20 -20
- package/dist/{runner-PgRFPYUj.js → runner-BkCU-kqs.js} +11 -11
- 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-CR3h2TBy.js → secrets-cli-DP718vNZ.js} +9 -9
- package/dist/{security-cli-B9_LV2po.js → security-cli-CG2_SV7b.js} +39 -39
- package/dist/{send-C4v0Leny.js → send-BCPkAE2k.js} +6 -6
- package/dist/{send-D4bMycQu.js → send-BOxJ4QXF.js} +7 -7
- 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/{send-BeIZJuy4.js → send-DZa8fWSm.js} +7 -7
- package/dist/{send-Dfa3sn6r.js → send-FLdrx-oF.js} +24 -24
- package/dist/{send-DmLC7aEF.js → send-IlPMLAH-.js} +10 -10
- package/dist/{send-C1hvd3bt.js → send-Y1hD4tQ1.js} +6 -6
- 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-DvStFPGi.js → server-node-events-BSPxvn7O.js} +71 -71
- package/dist/{service-C8NMS3m_.js → service-Bj2oSfpw.js} +15 -15
- package/dist/{session-CdnrRhb4.js → session-BKVySI8q.js} +1 -1
- package/dist/{session-F_YDS_1V.js → session-nUPBXeEa.js} +7 -7
- package/dist/{sessions-BtPXimXQ.js → sessions-BqWocozB.js} +14 -14
- package/dist/{sessions-3ioSeOA1.js → sessions-DRA4oaxz.js} +41 -41
- package/dist/{shared-CpDPo3hJ.js → shared-DnQ4iyXk.js} +2 -2
- package/dist/{shared-DpLSpJIl.js → shared-Jzrx8DfN.js} +1 -1
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-BHTBXXVn.js} +9 -9
- 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/{skills-CnAPWfca.js → skills-umlGvChF.js} +22 -22
- package/dist/{status-CWnPokQF.js → status-YWasgjym.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/{store-CvMgrKWx.js → store-D-ZicQeo.js} +2 -2
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-D7ZepYT1.js} +1 -1
- package/dist/{system-cli-DyVZ5udc.js → system-cli-BfjZ6QvH.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/{tables-5k-zOZ-s.js → tables-Co_R_WKs.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-B1mcM4WR.js} +2 -2
- package/dist/{target-errors-bLIVFsbF.js → target-errors-BYuWhuLU.js} +4 -4
- package/dist/{tokens-BRLyURxW.js → tokens-DGajj8M9.js} +1 -1
- package/dist/{tool-images-CHqepyF_.js → tool-images-DZHrc4pq.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → tool-images-Duuqr4bN.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-CjWRg_4q.js} +3 -3
- package/dist/{tui-Bne3YNiw.js → tui-B2bAseIB.js} +6 -6
- package/dist/{tui-cli-D0Z-rcUe.js → tui-cli-cewAjqAk.js} +30 -30
- package/dist/{update-cli-CxZD0ekr.js → update-cli-Cxp_mYOH.js} +5 -5
- package/dist/{update-cli-BTNcddEX.js → update-cli-D7gDHoEE.js} +99 -99
- package/dist/{update-D79ppbMQ.js → update-la2AdLf3.js} +3 -3
- package/dist/{update-runner-CN7Dm9tg.js → update-runner-DRglQgXe.js} +15 -15
- package/dist/{upgrade-command-909a7QUc.js → upgrade-command-28wRHZZ2.js} +3 -3
- package/dist/{utils-CTFLl_ji.js → utils-D9wGoiU9.js} +18 -18
- package/dist/{web-C1BMClkN.js → web-BuIXrrsp.js} +66 -66
- package/dist/web-DESq0zCM.js +123 -0
- package/dist/{webhooks-cli-2N03q0iY.js → webhooks-cli-BnmVPYkU.js} +6 -6
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-BJ6kVDXi.js} +25 -25
- 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/{workspace-DBFSzT6O.js → workspace-tAtkoD_r.js} +18 -18
- 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 +12 -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 +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -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 +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-8dcFF6tw.js +0 -113
- package/dist/register.configure-k8gocsJw.js +0 -168
- package/dist/web-BV-BEZj6.js +0 -123
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { on as hasHelpOrVersion, rn as getPrimaryCommand } from "./entry.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-CuNL7Zgu.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-DqbGSLoJ.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-BMNBXD29.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -52,7 +52,7 @@ const coreEntries = [
|
|
|
52
52
|
hasSubcommands: true
|
|
53
53
|
}],
|
|
54
54
|
register: async ({ program }) => {
|
|
55
|
-
(await import("./config-cli-
|
|
55
|
+
(await import("./config-cli-98ASrAou.js")).registerConfigCli(program);
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-BcFR1fGQ.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as isPlainObject } from "./utils-CXzXXV2o.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-B4hASNc2.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config/commands.ts
|
|
5
5
|
function resolveAutoDefault(providerId) {
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { l as escapeRegExp } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import { i as listThinkingLevels } from "./thinking-EAliFiVK.js";
|
|
4
4
|
import { b as getActivePluginRegistry } from "./subsystem-CGZX2PBV.js";
|
|
5
|
-
import { $r as DEFAULT_PROVIDER, Qr as DEFAULT_MODEL, m as resolveConfiguredModelRef } from "./model-selection-
|
|
6
|
-
import { n as listChannelDocks } from "./dock-
|
|
7
|
-
import { t as isCommandFlagEnabled } from "./commands-
|
|
5
|
+
import { $r as DEFAULT_PROVIDER, Qr as DEFAULT_MODEL, m as resolveConfiguredModelRef } from "./model-selection-CSn9tUuH.js";
|
|
6
|
+
import { n as listChannelDocks } from "./dock-CzF5XYGd.js";
|
|
7
|
+
import { t as isCommandFlagEnabled } from "./commands-D3BU_t7G.js";
|
|
8
8
|
|
|
9
9
|
//#region src/auto-reply/commands-args.ts
|
|
10
10
|
function normalizeArgValue(value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as getActivePluginRegistry } from "./subsystem-
|
|
3
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { bn as DEFAULT_PROVIDER, u as resolveConfiguredModelRef, yn as DEFAULT_MODEL } from "./model-selection-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { l as getActivePluginRegistry } from "./subsystem-D7ZepYT1.js";
|
|
3
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-D9wGoiU9.js";
|
|
4
|
+
import { bn as DEFAULT_PROVIDER, u as resolveConfiguredModelRef, yn as DEFAULT_MODEL } from "./model-selection-C5hI1dum.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-ejUetwTC.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-DYr-HHj0.js";
|
|
7
7
|
import { r as listThinkingLevels } from "./thinking-z4_linel.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/commands.ts
|
|
@@ -3,10 +3,10 @@ import { g as resolveStateDir } from "./paths-Cn44w-EB.js";
|
|
|
3
3
|
import { B as theme, h as pathExists } from "./utils-CXzXXV2o.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-B_byBfwR.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import { Option } from "commander";
|
|
11
11
|
|
|
12
12
|
//#region src/cli/completion-fish.ts
|
|
@@ -89,11 +89,11 @@ function getCompletionScript(shell, program) {
|
|
|
89
89
|
}
|
|
90
90
|
async function writeCompletionCache(params) {
|
|
91
91
|
const cacheDir = resolveCompletionCacheDir();
|
|
92
|
-
await
|
|
92
|
+
await fsPromises.mkdir(cacheDir, { recursive: true });
|
|
93
93
|
for (const shell of params.shells) {
|
|
94
94
|
const script = getCompletionScript(shell, params.program);
|
|
95
95
|
const targetPath = resolveCompletionCachePath(shell, params.binName);
|
|
96
|
-
await
|
|
96
|
+
await fsPromises.writeFile(targetPath, script, "utf-8");
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function formatCompletionSourceLine(shell, binName, cachePath) {
|
|
@@ -151,7 +151,7 @@ async function isCompletionInstalled(shell, binName = "idlehands") {
|
|
|
151
151
|
if (!await pathExists(profilePath)) return false;
|
|
152
152
|
const cachePathCandidate = resolveCompletionCachePath(shell, binName);
|
|
153
153
|
const cachedPath = await pathExists(cachePathCandidate) ? cachePathCandidate : null;
|
|
154
|
-
return (await
|
|
154
|
+
return (await fsPromises.readFile(profilePath, "utf-8")).split("\n").some((line) => isCompletionProfileHeader(line) || isCompletionProfileLine(line, binName, cachedPath));
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
157
|
* Check if the profile uses the slow dynamic completion pattern.
|
|
@@ -161,7 +161,7 @@ async function usesSlowDynamicCompletion(shell, binName = "idlehands") {
|
|
|
161
161
|
const profilePath = getShellProfilePath(shell);
|
|
162
162
|
if (!await pathExists(profilePath)) return false;
|
|
163
163
|
const cachePath = resolveCompletionCachePath(shell, binName);
|
|
164
|
-
const lines = (await
|
|
164
|
+
const lines = (await fsPromises.readFile(profilePath, "utf-8")).split("\n");
|
|
165
165
|
for (const line of lines) if (isSlowDynamicCompletionLine(line, binName) && !line.includes(cachePath)) return true;
|
|
166
166
|
return false;
|
|
167
167
|
}
|
|
@@ -210,7 +210,7 @@ async function installCompletion(shell, yes, binName = "idlehands") {
|
|
|
210
210
|
} else if (shell === "bash") {
|
|
211
211
|
profilePath = path.join(home, ".bashrc");
|
|
212
212
|
try {
|
|
213
|
-
await
|
|
213
|
+
await fsPromises.access(profilePath);
|
|
214
214
|
} catch {
|
|
215
215
|
profilePath = path.join(home, ".bash_profile");
|
|
216
216
|
}
|
|
@@ -224,13 +224,13 @@ async function installCompletion(shell, yes, binName = "idlehands") {
|
|
|
224
224
|
}
|
|
225
225
|
try {
|
|
226
226
|
try {
|
|
227
|
-
await
|
|
227
|
+
await fsPromises.access(profilePath);
|
|
228
228
|
} catch {
|
|
229
229
|
if (!yes) console.warn(`Profile not found at ${profilePath}. Created a new one.`);
|
|
230
|
-
await
|
|
231
|
-
await
|
|
230
|
+
await fsPromises.mkdir(path.dirname(profilePath), { recursive: true });
|
|
231
|
+
await fsPromises.writeFile(profilePath, "", "utf-8");
|
|
232
232
|
}
|
|
233
|
-
const update = updateCompletionProfile(await
|
|
233
|
+
const update = updateCompletionProfile(await fsPromises.readFile(profilePath, "utf-8"), binName, cachePath, sourceLine);
|
|
234
234
|
if (!update.changed) {
|
|
235
235
|
if (!yes) console.log(`Completion already installed in ${profilePath}`);
|
|
236
236
|
return;
|
|
@@ -239,7 +239,7 @@ async function installCompletion(shell, yes, binName = "idlehands") {
|
|
|
239
239
|
const action = update.hadExisting ? "Updating" : "Installing";
|
|
240
240
|
console.log(`${action} completion in ${profilePath}...`);
|
|
241
241
|
}
|
|
242
|
-
await
|
|
242
|
+
await fsPromises.writeFile(profilePath, update.next, "utf-8");
|
|
243
243
|
if (!yes) console.log(`Completion installed. Restart your shell or run: source ${profilePath}`);
|
|
244
244
|
} catch (err) {
|
|
245
245
|
console.error(`Failed to install completion: ${err}`);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { St as theme, Z as pathExists, qt as resolveStateDir, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
4
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
5
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
4
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-CuNL7Zgu.js";
|
|
5
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-esizscE2.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-BrqeiWcA.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -11,7 +11,7 @@ import "./host-env-security-VbAkcANc.js";
|
|
|
11
11
|
import "./env-vars-I4LX5XSX.js";
|
|
12
12
|
import "./manifest-registry-ChP7-gzj.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
14
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
14
|
+
import { t as redactConfigObject } from "./redact-snapshot-K5EFkIbD.js";
|
|
15
15
|
import JSON5 from "json5";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/config-cli.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, O as danger, S as shortenHomePath, 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
6
|
import { _ as isBlockedObjectKey } from "./session-key-Cuihcz_O.js";
|
|
7
|
-
import "./idlehands-root-
|
|
7
|
+
import "./idlehands-root-DFL2GrNW.js";
|
|
8
8
|
import "./exec-CKHMT0tZ.js";
|
|
9
|
-
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-
|
|
9
|
+
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-CSn9tUuH.js";
|
|
10
10
|
import "./github-copilot-token-D7lpquOO.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-Bx-F45X5.js";
|
|
14
14
|
import "./host-env-security-DkAVVuaw.js";
|
|
15
15
|
import "./env-vars-sTMVGyld.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-RfRn8HJx.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
18
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
18
|
+
import { t as redactConfigObject } from "./redact-snapshot-KMo22a85.js";
|
|
19
19
|
import JSON5 from "json5";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/config-cli.ts
|
|
@@ -217,7 +217,7 @@ async function runConfigUnset(opts) {
|
|
|
217
217
|
}
|
|
218
218
|
function registerConfigCli(program) {
|
|
219
219
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.idlehands.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
220
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
220
|
+
const { configureCommandFromSectionsArg } = await import("./configure-PKG58EzI.js").then((n) => n.t);
|
|
221
221
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
222
222
|
});
|
|
223
223
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import "./agent-scope-
|
|
3
|
+
import "./agent-scope-Bn39ugK4.js";
|
|
4
4
|
import "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import "./runtime-44j_X4Y6.js";
|
|
6
|
-
import "./idlehands-root-
|
|
6
|
+
import "./idlehands-root-DFL2GrNW.js";
|
|
7
7
|
import "./exec-CKHMT0tZ.js";
|
|
8
|
-
import { Rt as readConfigFileSnapshot } from "./model-selection-
|
|
8
|
+
import { Rt as readConfigFileSnapshot } from "./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-
|
|
16
|
-
import "./dock-
|
|
15
|
+
import "./manifest-registry-RfRn8HJx.js";
|
|
16
|
+
import "./dock-CzF5XYGd.js";
|
|
17
17
|
import "./message-channel-DVauVtrg.js";
|
|
18
|
-
import "./sessions-
|
|
19
|
-
import "./plugins-
|
|
20
|
-
import "./accounts-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./accounts-
|
|
23
|
-
import "./bindings-
|
|
18
|
+
import "./sessions-BqWocozB.js";
|
|
19
|
+
import "./plugins-B4hASNc2.js";
|
|
20
|
+
import "./accounts-D-hQsUw-.js";
|
|
21
|
+
import "./accounts-DsVN0UNw.js";
|
|
22
|
+
import "./accounts-D87a1Y_K.js";
|
|
23
|
+
import "./bindings-DZjkLUU_.js";
|
|
24
24
|
import "./logging-q4KyMmY-.js";
|
|
25
|
-
import "./auth-store-
|
|
25
|
+
import "./auth-store-CMyrmmSF.js";
|
|
26
26
|
import "./paths-DRz46q00.js";
|
|
27
27
|
import "./chat-envelope-Bebo3vwl.js";
|
|
28
|
-
import "./pairing-store-
|
|
29
|
-
import "./exec-approvals-allowlist-
|
|
30
|
-
import "./exec-safe-bin-runtime-policy-
|
|
31
|
-
import "./plugin-auto-enable-
|
|
28
|
+
import "./pairing-store-qvpPoWL_.js";
|
|
29
|
+
import "./exec-approvals-allowlist-8AkOwwIr.js";
|
|
30
|
+
import "./exec-safe-bin-runtime-policy-DYXuBKqH.js";
|
|
31
|
+
import "./plugin-auto-enable-BMuSi4aV.js";
|
|
32
32
|
import "./prompt-style-kmKiCZnm.js";
|
|
33
33
|
import { c as shouldMigrateStateFromPath } from "./argv-BWjW98Xn.js";
|
|
34
34
|
import "./note-69EfBEU-.js";
|
|
35
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
35
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-8qXzBx09.js";
|
|
36
36
|
|
|
37
37
|
//#region src/cli/program/config-guard.ts
|
|
38
38
|
const ALLOWED_INVALID_COMMANDS = new Set([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
2
|
-
import { Rt as readConfigFileSnapshot } from "./model-selection-
|
|
2
|
+
import { Rt as readConfigFileSnapshot } from "./model-selection-CSn9tUuH.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-B4hASNc2.js";
|
|
5
5
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/agents.bindings.ts
|
|
@@ -2,34 +2,34 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
3
3
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
5
|
-
import { Ht as writeConfigFile, It as loadConfig, Rt as readConfigFileSnapshot, kr as ensureAuthProfileStore } from "./model-selection-
|
|
5
|
+
import { Ht as writeConfigFile, It as loadConfig, Rt as readConfigFileSnapshot, kr as ensureAuthProfileStore } from "./model-selection-CSn9tUuH.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
7
7
|
import { a as findTailscaleBinary } from "./tailscale-B5Irc_Bi.js";
|
|
8
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-B4hASNc2.js";
|
|
9
9
|
import { n as withProgress } from "./progress-BQLz1r3L.js";
|
|
10
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
10
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-CdzbIhrm.js";
|
|
11
11
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-kmKiCZnm.js";
|
|
12
12
|
import { t as note$1 } from "./note-69EfBEU-.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-CvbZsmjW.js";
|
|
15
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
16
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
15
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-DCDhpz9s.js";
|
|
16
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-Bug_GYuy.js";
|
|
17
17
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
18
|
-
import { t as resolveGatewayService } from "./service-
|
|
19
|
-
import { r as healthCommand } from "./health
|
|
20
|
-
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
18
|
+
import { t as resolveGatewayService } from "./service-Bj2oSfpw.js";
|
|
19
|
+
import { r as healthCommand } from "./health-lZsCLX6p.js";
|
|
20
|
+
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CiaCDBvZ.js";
|
|
21
21
|
import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
|
|
22
22
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CiRp6avH.js";
|
|
23
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
24
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
25
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
26
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
23
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-CQqV1VIf.js";
|
|
24
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-D3U0wJCO.js";
|
|
25
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DrhGd61G.js";
|
|
26
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-D2sCP3_S.js";
|
|
27
27
|
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-Bk6piTDQ.js";
|
|
28
28
|
import { t as formatHealthCheckFailure } from "./health-format-Ba_hOaT2.js";
|
|
29
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
30
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
29
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-pCRaL_Ey.js";
|
|
30
|
+
import { n as setupSkills } from "./onboard-skills-DvwRvBvj.js";
|
|
31
31
|
import path from "node:path";
|
|
32
|
-
import
|
|
32
|
+
import fsPromises from "node:fs/promises";
|
|
33
33
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
34
34
|
|
|
35
35
|
//#region src/commands/configure.shared.ts
|
|
@@ -817,7 +817,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
|
|
|
817
817
|
].map((name) => path.join(workspaceDir, name));
|
|
818
818
|
if ((await Promise.all(indicators.map(async (candidate) => {
|
|
819
819
|
try {
|
|
820
|
-
await
|
|
820
|
+
await fsPromises.access(candidate);
|
|
821
821
|
return true;
|
|
822
822
|
} catch {
|
|
823
823
|
return false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
2
|
-
import { n as resolveIdleHandsPackageRootSync, t as resolveIdleHandsPackageRoot } from "./idlehands-root-
|
|
2
|
+
import { n as resolveIdleHandsPackageRootSync, t as resolveIdleHandsPackageRoot } from "./idlehands-root-DFL2GrNW.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, O as danger, R as colorize, z as isRich } 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
6
|
import { d as sanitizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
7
|
-
import "./idlehands-root-
|
|
7
|
+
import "./idlehands-root-DFL2GrNW.js";
|
|
8
8
|
import "./exec-CKHMT0tZ.js";
|
|
9
|
-
import "./model-selection-
|
|
9
|
+
import "./model-selection-CSn9tUuH.js";
|
|
10
10
|
import "./github-copilot-token-D7lpquOO.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 { n as listChannelPlugins } from "./plugins-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./bindings-
|
|
20
|
+
import { n as listChannelPlugins } from "./plugins-B4hASNc2.js";
|
|
21
|
+
import "./accounts-D-hQsUw-.js";
|
|
22
|
+
import "./bindings-DZjkLUU_.js";
|
|
23
23
|
import "./logging-q4KyMmY-.js";
|
|
24
|
-
import "./auth-store-
|
|
25
|
-
import "./client-
|
|
26
|
-
import "./call-
|
|
27
|
-
import "./pairing-token-
|
|
24
|
+
import "./auth-store-CMyrmmSF.js";
|
|
25
|
+
import "./client-Dl5EAvfO.js";
|
|
26
|
+
import "./call-Du-oBD99.js";
|
|
27
|
+
import "./pairing-token-3hoCgQqp.js";
|
|
28
28
|
import { n as formatDurationHuman } from "./format-duration-C9ZBnsdW.js";
|
|
29
29
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
30
30
|
import "./progress-BQLz1r3L.js";
|
|
31
31
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-rQoQSWkz.js";
|
|
32
32
|
import { n as parsePositiveIntOrUndefined } from "./helpers-Cj6f8SPZ.js";
|
|
33
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
33
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-IpZymG6F.js";
|
|
34
34
|
|
|
35
35
|
//#region src/cli/cron-cli/shared.ts
|
|
36
36
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -2,28 +2,28 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
3
3
|
import { B as theme, C as sleep, R as colorize, S as shortenHomePath, U as getResolvedLoggerSettings, z as isRich } from "./utils-CXzXXV2o.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
5
|
-
import { Ft as createConfigIO, Ht as writeConfigFile, It as loadConfig, Rt as readConfigFileSnapshot } from "./model-selection-
|
|
5
|
+
import { Ft as createConfigIO, Ht as writeConfigFile, It as loadConfig, Rt as readConfigFileSnapshot } from "./model-selection-CSn9tUuH.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
7
7
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DVauVtrg.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-C9lH_YnG.js";
|
|
9
9
|
import { d as resolveGatewayBindHost } from "./ws-XBTtYpJc.js";
|
|
10
10
|
import { a as resolveGatewayAuth } from "./auth-heRVBxh2.js";
|
|
11
|
-
import { a as inspectPortUsage, c as classifyPortListener, l as formatPortDiagnostics } from "./ports-
|
|
12
|
-
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-
|
|
13
|
-
import { r as isWSLEnv } from "./wsl-
|
|
11
|
+
import { a as inspectPortUsage, c as classifyPortListener, l as formatPortDiagnostics } from "./ports-DWJO5S52.js";
|
|
12
|
+
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-Du-oBD99.js";
|
|
13
|
+
import { r as isWSLEnv } from "./wsl-CgXDjE09.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
15
15
|
import { n as withProgress } from "./progress-BQLz1r3L.js";
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-CdzbIhrm.js";
|
|
17
17
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-Z_TnY4pX.js";
|
|
18
18
|
import { n as inheritOptionFromParent } from "./command-options-D4MmqoOd.js";
|
|
19
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
19
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-Bug_GYuy.js";
|
|
20
20
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
21
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
22
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
23
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
21
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Bj2oSfpw.js";
|
|
22
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-DOScNyOv.js";
|
|
23
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BoKKzRI_.js";
|
|
24
24
|
import { t as parsePort } from "./parse-port-l2c0Yyf3.js";
|
|
25
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
26
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
25
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-CdUgLS0N.js";
|
|
26
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-Dg16DMLn.js";
|
|
27
27
|
|
|
28
28
|
//#region src/cli/daemon-cli/install.ts
|
|
29
29
|
async function runDaemonInstall(opts) {
|
|
@@ -8,11 +8,11 @@ import "./env-vars-sTMVGyld.js";
|
|
|
8
8
|
import "./prompt-style-kmKiCZnm.js";
|
|
9
9
|
import "./runtime-guard-X6f4YmTM.js";
|
|
10
10
|
import "./note-69EfBEU-.js";
|
|
11
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
11
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-Bug_GYuy.js";
|
|
12
12
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
13
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
14
|
-
import { t as resolveGatewayService } from "./service-
|
|
15
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
13
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-DyrVLTI0.js";
|
|
14
|
+
import { t as resolveGatewayService } from "./service-Bj2oSfpw.js";
|
|
15
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-DrhGd61G.js";
|
|
16
16
|
|
|
17
17
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
18
18
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -6,7 +6,7 @@ import { n as isNodeRuntime, t as isBunRuntime } from "./runtime-binary-DXpdutvP
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import { execFile } from "node:child_process";
|
|
11
11
|
|
|
12
12
|
//#region src/daemon/program-args.ts
|
|
@@ -16,23 +16,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
16
16
|
const normalized = path.resolve(argv1);
|
|
17
17
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
18
18
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
19
|
-
await
|
|
19
|
+
await fsPromises.access(resolvedPath);
|
|
20
20
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
21
|
-
await
|
|
21
|
+
await fsPromises.access(normalized);
|
|
22
22
|
return normalized;
|
|
23
23
|
} catch {}
|
|
24
24
|
return resolvedPath;
|
|
25
25
|
}
|
|
26
26
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
27
27
|
for (const candidate of distCandidates) try {
|
|
28
|
-
await
|
|
28
|
+
await fsPromises.access(candidate);
|
|
29
29
|
return candidate;
|
|
30
30
|
} catch {}
|
|
31
31
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
32
32
|
}
|
|
33
33
|
async function resolveRealpathSafe(inputPath) {
|
|
34
34
|
try {
|
|
35
|
-
return await
|
|
35
|
+
return await fsPromises.realpath(inputPath);
|
|
36
36
|
} catch {
|
|
37
37
|
return inputPath;
|
|
38
38
|
}
|
|
@@ -92,7 +92,7 @@ async function resolveBinaryPath(binary) {
|
|
|
92
92
|
try {
|
|
93
93
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
94
94
|
if (!resolved) throw new Error("empty");
|
|
95
|
-
await
|
|
95
|
+
await fsPromises.access(resolved);
|
|
96
96
|
return resolved;
|
|
97
97
|
} catch {
|
|
98
98
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -111,7 +111,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
111
111
|
if (params.dev) {
|
|
112
112
|
const repoRoot = resolveRepoRootForDev();
|
|
113
113
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
114
|
-
await
|
|
114
|
+
await fsPromises.access(devCliPath);
|
|
115
115
|
return {
|
|
116
116
|
programArguments: [
|
|
117
117
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -139,7 +139,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
139
139
|
}
|
|
140
140
|
const repoRoot = resolveRepoRootForDev();
|
|
141
141
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
142
|
-
await
|
|
142
|
+
await fsPromises.access(devCliPath);
|
|
143
143
|
if (isBunRuntime(execPath)) return {
|
|
144
144
|
programArguments: [
|
|
145
145
|
execPath,
|
|
@@ -252,7 +252,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
252
252
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
253
253
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
254
254
|
for (const candidate of candidates) try {
|
|
255
|
-
await
|
|
255
|
+
await fsPromises.access(candidate);
|
|
256
256
|
return candidate;
|
|
257
257
|
} catch {}
|
|
258
258
|
return null;
|