@visorcraft/idlehands 4.0.15 → 4.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/{accounts-DLTODa_Z.js → accounts-D-hQsUw-.js} +1 -1
- package/dist/{accounts-DgbTKQoW.js → accounts-D87a1Y_K.js} +1 -1
- package/dist/{accounts-3HS_UAhJ.js → accounts-DsVN0UNw.js} +1 -1
- package/dist/{acp-cli-B-7CXaeS.js → acp-cli-D52jj29o.js} +7 -7
- package/dist/{agent-scope-RA0zXRpu.js → agent-scope-Bn39ugK4.js} +18 -18
- package/dist/{agent-via-gateway-CcaPUQrc.js → agent-via-gateway-BDWomN2t.js} +4 -4
- package/dist/{agent-via-gateway-BvXS1sXv.js → agent-via-gateway-BVY7w5-N.js} +1 -1
- package/dist/{agent-via-gateway-CIM26Dxl.js → agent-via-gateway-BlRwv6D6.js} +2 -2
- package/dist/{agent-via-gateway-BFtbpQpT.js → agent-via-gateway-DSZK5iRF.js} +2 -2
- package/dist/{agents-DPlb4UQu.js → agents-BLa67Gdv.js} +4 -4
- package/dist/{agents.config-8pxRoZvL.js → agents.config-ADCeu0yD.js} +1 -1
- package/dist/{agents.config-BKoyeUnK.js → agents.config-CyEkgCQE.js} +2 -2
- package/dist/{anton-DKA8iAQE.js → anton-CZ5moxh6.js} +22 -4
- package/dist/{anton-BTjKlGm7.js → anton-D-0SP_5T.js} +22 -4
- package/dist/{anton-DhBvDNcB.js → anton-DYEYyPJ1.js} +40 -22
- package/dist/{anton-Dyhtv3C8.js → anton-llLwn1lp.js} +22 -4
- package/dist/{api-key-rotation-B-FTJm5p.js → api-key-rotation-nXQVJErE.js} +1 -1
- package/dist/{audio-preflight-Dl1TO10w.js → audio-preflight-DzjXupNO.js} +31 -31
- package/dist/{audit-BmaVRZSd.js → audit-D12wg2tV.js} +22 -22
- package/dist/{auth-choice-D-_AVWgJ.js → auth-choice-01ELTnLA.js} +1 -1
- package/dist/{auth-choice-D12Wsf7w.js → auth-choice-BDndThZZ.js} +12 -12
- package/dist/{auth-choice-CMUzxwaw.js → auth-choice-CqbTnCYz.js} +10 -10
- package/dist/{auth-choice.apply-helpers-CGcniL1T.js → auth-choice.apply-helpers-pTqMTYmi.js} +1 -1
- package/dist/{auth-store-DDzIMy8_.js → auth-store-CMyrmmSF.js} +7 -7
- package/dist/{auth-token-BJq87X3o.js → auth-token-fKt_cHOj.js} +1 -1
- package/dist/{banner-B6ih1A5q.js → banner-Dv_eAAWw.js} +1 -1
- package/dist/{bindings-B59Q7nsk.js → bindings-DZjkLUU_.js} +1 -1
- package/dist/{browser-cli-Ny1nHwqv.js → browser-cli-Da-0lyq2.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{call-BRL23UCk.js → call-DnTBT02D.js} +9 -9
- package/dist/{channel-account-context-CDbY5AIr.js → channel-account-context-B4nJPU2N.js} +5 -5
- package/dist/{channel-options-DqOp64vm.js → channel-options-BilcK806.js} +1 -1
- package/dist/{channel-options-DdT_iiu2.js → channel-options-BvOLgXCF.js} +3 -3
- package/dist/{channel-selection-ZxRkxpuF.js → channel-selection-3jUl-PyW.js} +1 -1
- package/dist/{channel-web-DjS8VQYO.js → channel-web-B1IazKKL.js} +22 -22
- package/dist/{channel-web-PG7u76pG.js → channel-web-BptLTwvg.js} +2 -2
- package/dist/{channels-cli-1tt6zmdw.js → channels-cli-DejBZZ85.js} +7 -7
- package/dist/{channels-cli-CWxVX3_x.js → channels-cli-FssbSykQ.js} +88 -88
- package/dist/{channels-status-issues-CDpWjdI3.js → channels-status-issues-hgASw9UA.js} +1 -1
- package/dist/{chrome-VBsQfIrt.js → chrome-YguTEaLx.js} +2 -2
- package/dist/{clawbot-cli-uFgYrysW.js → clawbot-cli-C5cDal-5.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-D4FV736E.js → cli-BrQZTuUX.js} +70 -70
- package/dist/{cli-CmOlEYcx.js → cli-j1A8WKSj.js} +2 -2
- package/dist/{client-DxH9hwLn.js → client-DIckPnsi.js} +1 -1
- package/dist/{command-registry-CQ_cgvak.js → command-registry-DZZAmcbA.js} +10 -10
- package/dist/{commands-Dj5LalLo.js → commands-D3BU_t7G.js} +1 -1
- package/dist/{commands-registry-CURlRZQJ.js → commands-registry-Cj4D_1tw.js} +3 -3
- package/dist/{completion-cli-UytEAOmM.js → completion-cli-Cxvf8clb.js} +2 -2
- package/dist/{completion-cli-y9BFk5F6.js → completion-cli-ktxbWAiG.js} +12 -12
- package/dist/{config-cli-DUb0ZGdL.js → config-cli-Bq_MWzp9.js} +1 -1
- package/dist/{config-cli-5c6A3y5U.js → config-cli-CogA71uD.js} +6 -6
- package/dist/{config-guard-BdsOumqh.js → config-guard-DnAyuF6T.js} +17 -17
- package/dist/{config-validation-BvKX6fPw.js → config-validation-DIomLMwH.js} +2 -2
- package/dist/{configure-AlSS40po.js → configure-CPDGJFyt.js} +3 -3
- package/dist/{configure-BPwYKVb4.js → configure-CZUn--aN.js} +16 -16
- package/dist/{control-ui-assets-C7ZpN9hN.js → control-ui-assets-CiaCDBvZ.js} +1 -1
- package/dist/{cron-cli-Xml0Uww8.js → cron-cli-B8uqoogS.js} +12 -12
- package/dist/{daemon-cli-B1Ti51bt.js → daemon-cli-CMBNTpSS.js} +11 -11
- package/dist/{daemon-install-CYPo4M1M.js → daemon-install-DeqQiAad.js} +4 -4
- package/dist/{daemon-install-helpers-BZY9-jNW.js → daemon-install-helpers-Bug_GYuy.js} +9 -9
- package/dist/{deliver--kttnrER.js → deliver-yTpXc5sv.js} +7 -7
- package/dist/{deps-DxMLbT7t.js → deps-BUUwigzc.js} +1 -1
- package/dist/{deps-KIFYHxig.js → deps-B_5kPH1Q.js} +1 -1
- package/dist/{deps-BYfE_aIY.js → deps-CH8f3TJK.js} +6 -6
- package/dist/{deps-TwKaIh1I.js → deps-PAzfFs3Q.js} +1 -1
- package/dist/{devices-cli-BNkO0Fey.js → devices-cli-DVLF8Yvw.js} +7 -7
- package/dist/{diagnostics-DmZbQ8Nc.js → diagnostics-CdUgLS0N.js} +5 -5
- package/dist/{directory-cli-Dz9iXeut.js → directory-cli-BAMS8f9U.js} +9 -9
- package/dist/{dns-cli-DD6hWsdc.js → dns-cli-BdxBk-k_.js} +4 -4
- package/dist/{dock-Y96MzKuM.js → dock-CzF5XYGd.js} +4 -4
- package/dist/{docs-cli-cHkrTB2e.js → docs-cli-SF7es4Zs.js} +4 -4
- package/dist/{doctor-completion-S-XHygGb.js → doctor-completion-i04j1TGW.js} +1 -1
- package/dist/{doctor-completion-HzTBPNbS.js → doctor-completion-iWmUY3B4.js} +2 -2
- package/dist/{doctor-config-flow-Ck4oCjfl.js → doctor-config-flow-8qXzBx09.js} +14 -14
- package/dist/{emergency-stop-BDwI4Cyl.js → emergency-stop-CfKEsUr_.js} +70 -70
- package/dist/{emergency-stop-DpMAMIiz.js → emergency-stop-CzExWKhr.js} +2 -2
- package/dist/{emergency-stop-DOi-rKmj.js → emergency-stop-DAmKucxm.js} +2 -2
- package/dist/{emergency-stop--ScwariE.js → emergency-stop-tKLAiFAG.js} +2 -2
- package/dist/{enable-o_s6PBsC.js → enable-DaA_orGN.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-allowlist-Co2tJSEo.js → exec-approvals-allowlist-8AkOwwIr.js} +1 -1
- package/dist/{exec-approvals-cli-CyjTnYfk.js → exec-approvals-cli-CtoJW2K-.js} +15 -15
- package/dist/{exec-safe-bin-runtime-policy-DaoU9-ni.js → exec-safe-bin-runtime-policy-DYXuBKqH.js} +2 -2
- package/dist/extensionAPI.js +2 -2
- package/dist/{fs-safe-_JQUGpZf.js → fs-safe-DNFrxDS-.js} +15 -15
- package/dist/{gateway-cli-DQcjWJr7.js → gateway-cli-C8P5BVto.js} +148 -148
- package/dist/{gateway-cli-B4T44JsM.js → gateway-cli-DSJcNJYR.js} +9 -9
- package/dist/{gateway-rpc-Du-ZpDjh.js → gateway-rpc-6vnhO4v8.js} +1 -1
- package/dist/{health-D7UCYzfy.js → health-BN8WNyon.js} +1 -1
- package/dist/{health--39yieH5.js → health-CNZK5D2k.js} +13 -13
- package/dist/{hooks-cli-CGB7TcZZ.js → hooks-cli-L32lBsp7.js} +3 -3
- package/dist/{hooks-cli-Cko_uweG.js → hooks-cli-t7tiLn8P.js} +84 -84
- package/dist/{hooks-status-DNGo2G8Q.js → hooks-status-CPIWc_bx.js} +1 -1
- package/dist/{idlehands-root-B8cUs-5M.js → idlehands-root-DFL2GrNW.js} +8 -8
- package/dist/{image-DSDEbSiO.js → image-C2JZiK-6.js} +5 -5
- package/dist/{image-ops-BU-VdLZu.js → image-ops-BkoEFRYH.js} +10 -10
- package/dist/index.js +80 -80
- package/dist/{inspect-ISQZuNM5.js → inspect-Dg16DMLn.js} +4 -4
- package/dist/{install-safe-path-ChNR9pl6.js → install-safe-path-CNNMzJl9.js} +19 -19
- package/dist/{installs-CNubze2L.js → installs-ST3UaUVJ.js} +9 -9
- package/dist/{ir-VncGpwA1.js → ir-DV0Hszc8.js} +6 -6
- package/dist/{lifecycle-core-B6UoqYTJ.js → lifecycle-core-DOScNyOv.js} +5 -5
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{local-roots-q0xbefkf.js → local-roots-Cco87A2_.js} +2 -2
- package/dist/{login-CfUhrgWT.js → login-Dl_lsEHS.js} +4 -4
- package/dist/{login-qr-DBMsUxgL.js → login-qr-B68cBRH0.js} +7 -7
- package/dist/{logs-cli-CH4mFhUt.js → logs-cli-BluGGq03.js} +8 -8
- package/dist/{manager-BMAFgXyU.js → manager-BBeTPO2h.js} +13 -13
- package/dist/{manifest-registry-Bak1x76G.js → manifest-registry-RfRn8HJx.js} +1 -1
- package/dist/{markdown-tables-DZClqsNo.js → markdown-tables-C5hTDqNm.js} +1 -1
- package/dist/{memory-cli-CUGwnVIY.js → memory-cli-4wfelGdK.js} +12 -12
- package/dist/{model-C-icShH2.js → model-Bd-05WpB.js} +2 -2
- package/dist/{model-catalog-D9no0CH2.js → model-catalog-BCsDrrvq.js} +3 -3
- package/dist/{model-picker-BkXoTOiA.js → model-picker-D3U0wJCO.js} +4 -4
- package/dist/{model-selection-0dGxYGp8.js → model-selection-CSn9tUuH.js} +16 -16
- package/dist/{models-cli-d_ead6LU.js → models-cli-ChStpcQY.js} +79 -79
- package/dist/{models-cli-NlT2N74B.js → models-cli-dd-wJvj0.js} +4 -4
- package/dist/{models-config-C5A1wDWh.js → models-config-lQpqp472.js} +6 -6
- package/dist/{models-CWfcMshO.js → models-mQeB9JXZ.js} +2 -2
- package/dist/{node-cli-Ch7K7WtL.js → node-cli-DhD8-NHR.js} +32 -32
- package/dist/{node-service-C3vyxHLA.js → node-service-GpI0jzKr.js} +1 -1
- package/dist/{nodes-cli-D_hUCPNt.js → nodes-cli-DPzxQ0mY.js} +14 -14
- package/dist/{nodes-screen-CcpPaFxa.js → nodes-screen-CIAn0wXq.js} +4 -4
- package/dist/{npm-registry-spec-BCbbfIhX.js → npm-registry-spec-BfeHLbIQ.js} +16 -16
- package/dist/{npm-resolution-Dpn9DNPz.js → npm-resolution-WKW4cIrd.js} +1 -1
- package/dist/{npm-resolution-DIJeEhoa.js → npm-resolution-tT1BUac2.js} +3 -3
- package/dist/{onboard-DFseyAG9.js → onboard-D1wKkHHC.js} +2 -2
- package/dist/{onboard-channels-mLWuxUlN.js → onboard-channels-CG1R8Ozs.js} +1 -1
- package/dist/{onboard-channels-CG1HcORq.js → onboard-channels-CRHp5hA-.js} +20 -20
- package/dist/{onboard-custom-DUbzMMu7.js → onboard-custom-D2sCP3_S.js} +4 -4
- package/dist/{onboard-helpers-BQmbMJxJ.js → onboard-helpers-ByhJg2ST.js} +8 -8
- package/dist/{onboard-hooks-D9teGxfH.js → onboard-hooks-_1Jgimeu.js} +4 -4
- package/dist/{onboard-remote-CIjhaP2W.js → onboard-remote-DuhWSiAO.js} +1 -1
- package/dist/{onboard-Raw5nkGc.js → onboard-rze7pzoW.js} +6 -6
- package/dist/{onboard-skills-BsaUIuq6.js → onboard-skills-vFwEasAg.js} +4 -4
- package/dist/{onboarding-CzzjhwRf.js → onboarding-BgHfZNln.js} +3 -3
- package/dist/{onboarding-DYlNLV9R.js → onboarding-BxvY_aEE.js} +13 -13
- package/dist/{onboarding.finalize-CIOBj6Jy.js → onboarding.finalize-5_UCPMAw.js} +7 -7
- package/dist/{onboarding.finalize-BJYuOTPe.js → onboarding.finalize-DnCFQEPR.js} +82 -82
- package/dist/{onboarding.gateway-config-CEQMyj8l.js → onboarding.gateway-config-qVAY6x7I.js} +16 -16
- package/dist/{openai-model-default-7J6cw1rA.js → openai-model-default-OPCCNNS0.js} +2 -2
- package/dist/{outbound-DPTxwchq.js → outbound-CG19kl0w.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-BisU5Vji.js → outbound-attachment-jYdMgCml.js} +2 -2
- package/dist/{pairing-cli-jwx6hMsM.js → pairing-cli-QJYYDcIK.js} +10 -10
- package/dist/{pairing-labels-ChQJzbS9.js → pairing-labels-DuZ7ih-T.js} +1 -1
- package/dist/{pairing-store-CPpEEQJO.js → pairing-store-qvpPoWL_.js} +2 -2
- package/dist/{pairing-token-lKXTMQ_M.js → pairing-token-3hoCgQqp.js} +7 -7
- package/dist/{path-alias-guards-FXBVVTLw.js → path-alias-guards-BCskHdfJ.js} +3 -3
- package/dist/{path-safety-DwibX65n.js → path-safety-C1Y004P_.js} +1 -1
- package/dist/{paths-B-CLQ5RT.js → paths-Bt0fZexW.js} +9 -9
- package/dist/{pi-embedded-Swc7dke2.js → pi-embedded-BcmA23Ak.js} +12 -12
- package/dist/{pi-embedded-7XGjNojd.js → pi-embedded-D_8x2ll-.js} +12 -12
- package/dist/{pi-embedded-helpers-BCsfqpDt.js → pi-embedded-helpers-BkzrQ5bZ.js} +6 -6
- package/dist/{pi-model-discovery-BIP3RjXl.js → pi-model-discovery-Bt79ifyi.js} +1 -1
- package/dist/{pi-tools.policy-DfITIKZj.js → pi-tools.policy-B_ME3yF6.js} +5 -5
- package/dist/{plugin-auto-enable-7DUxMy6A.js → plugin-auto-enable-BMuSi4aV.js} +3 -3
- package/dist/{plugin-registry-BAd0SoEv.js → plugin-registry-C3IHwz9i.js} +3 -3
- package/dist/{plugin-registry-D9Z1bMNt.js → plugin-registry-CncOKeD3.js} +1 -1
- package/dist/plugin-sdk/{accounts-CBVAw5_G.js → accounts-B9nfRzyn.js} +1 -1
- package/dist/plugin-sdk/{accounts-BLYMokxV.js → accounts-Kt6ygPsC.js} +2 -2
- package/dist/plugin-sdk/{accounts-C5tHm1UI.js → accounts-mjFAny5F.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-jl80I5G9.js → agent-scope-CU41EMlR.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-B3F-royZ.js → agent-via-gateway-CDKZ0Jk9.js} +55 -55
- package/dist/plugin-sdk/{anton-DfpQdXJJ.js → anton-Bp5L7uaN.js} +25 -7
- package/dist/plugin-sdk/{api-key-rotation-D6nK54XH.js → api-key-rotation-CZhCWd61.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CKqqN8ty.js → audio-preflight-CRgDehfO.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DaPWgQTx.js → auth-store-DycBvVqL.js} +1 -1
- package/dist/plugin-sdk/{bindings-xXgmJGxj.js → bindings-BDKKHGv-.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-loOg1DRw.js → channel-activity-TcS_VfJk.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BWE_kecR.js → channel-web-DcgShj6y.js} +24 -24
- package/dist/plugin-sdk/{chrome-Cb9FgiCI.js → chrome-BCTizrZD.js} +6 -6
- package/dist/plugin-sdk/{chunk-PW4MBmaN.js → chunk-DZr5xuqv.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-B5m2EsHz.js → commands-registry-BqJLwZYh.js} +5 -5
- package/dist/plugin-sdk/{config-CEgzwk0J.js → config-BzPMtEKA.js} +10 -10
- package/dist/plugin-sdk/{deliver-BNfMF0Nb.js → deliver-Cfc1UCre.js} +10 -10
- package/dist/plugin-sdk/{deps-B0MfJgDH.js → deps-B5eQTF_d.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-ByA6zvzu.js → diagnostic-B8VzcqLf.js} +1 -1
- package/dist/plugin-sdk/{dock-DKQYtT6-.js → dock-CMURqoee.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-rTRWpk26.js → emergency-stop-DQppo4RU.js} +55 -55
- package/dist/plugin-sdk/{env-5XecRTLs.js → env-qurSiOO2.js} +1 -1
- package/dist/plugin-sdk/{errors-CMcD8Lhh.js → errors-UqLewZJL.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DwdUEdmT.js → fetch-guard-C174s8ZV.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-qsx2_8-o.js → fs-safe-CCXTOK7j.js} +2 -2
- package/dist/plugin-sdk/{image-C_1tftC8.js → image-DDuK8tyO.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CXSUo-AM.js → image-ops-BRYGGDwL.js} +1 -1
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/plugin-sdk/{ir-kdDGpPMq.js → ir-Bv0Zbp2E.js} +5 -5
- package/dist/plugin-sdk/{local-roots-DjB6DYeI.js → local-roots-bHCsSVt_.js} +4 -4
- package/dist/plugin-sdk/{login-DIwO5D5Y.js → login-CkQrnY2G.js} +6 -6
- package/dist/plugin-sdk/{login-qr-CpCAJuvT.js → login-qr-DAeHibH_.js} +8 -8
- package/dist/plugin-sdk/{manager-Dox9r7og.js → manager-CTC1S_c9.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-Drtwd4J5.js → markdown-tables-DfUQHRZY.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CQ0qkGHj.js → message-channel-DiMXmQeQ.js} +1 -1
- package/dist/plugin-sdk/{outbound-Dx_q6JAI.js → outbound-B1twcfz5.js} +6 -6
- package/dist/{outbound-attachment-Bot3bRnK.js → plugin-sdk/outbound-attachment-Bs7fNaqv.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-C_uBEYb4.js → path-alias-guards-yyy61qHh.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B68z4sHq.js → pi-embedded-helpers-BAm9cWol.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Dt6899be.js → pi-model-discovery-Bt6JtUFr.js} +1 -1
- package/dist/plugin-sdk/{plugins-NTjIvHYk.js → plugins-DRPlVBr_.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-Dk2PTZzq.js → pw-ai-CY0evCZ2.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-juzrnopq.js → qmd-manager-BckPBwZX.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-xBXvzdkL.js → query-expansion-CPqK-tTR.js} +2 -2
- package/dist/plugin-sdk/{redact-B6VQH3UQ.js → redact-Ub8sMBBC.js} +1 -1
- package/dist/plugin-sdk/{replies-ZovJp-3F.js → replies-DwTNZJgi.js} +3 -3
- package/dist/plugin-sdk/{reply-C2G4DKTN.js → reply-BtQHoQT3.js} +96 -96
- package/dist/plugin-sdk/{reply-prefix--mxmTL7A.js → reply-prefix-BqV0o7_7.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CnUtsDch.js → resolve-outbound-target-DAdNGEqG.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BZABUE4J.js → resolve-route-C5mAwY-o.js} +3 -3
- package/dist/plugin-sdk/{retry-Bh7jveNm.js → retry-2OVzZJMZ.js} +1 -1
- package/dist/plugin-sdk/{runner-CZz1tOIR.js → runner-Ck0w3rcz.js} +10 -10
- package/dist/plugin-sdk/{send-Cb5NIN8s.js → send-A4Lv5nrg.js} +7 -7
- package/dist/plugin-sdk/{send-0EVlThEG.js → send-BBD-m-nM.js} +10 -10
- package/dist/plugin-sdk/{send-BCjVQhp3.js → send-CPeuqOlq.js} +13 -13
- package/dist/plugin-sdk/{send-B26cNPqY.js → send-CaPoBwby.js} +6 -6
- package/dist/plugin-sdk/{send-CHUGIZs9.js → send-SsqudCMv.js} +7 -7
- package/dist/plugin-sdk/{session-DdJj6_DW.js → session-DpL4uk1J.js} +3 -3
- package/dist/plugin-sdk/{sessions-DNx9c2O2.js → sessions-CQ5iD4Uq.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-DorIK8kn.js → skill-commands-C_O9I71g.js} +5 -5
- package/dist/plugin-sdk/{skills-Dh_Cf2PA.js → skills-DmiIiX4l.js} +8 -8
- package/dist/plugin-sdk/{store-CCCXwngh.js → store-BI3rLJdW.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DWPzKeZ0.js → subsystem-lJo9gqAK.js} +1 -1
- package/dist/plugin-sdk/{tables-CF9W23Rd.js → tables-C4X_nAUQ.js} +1 -1
- package/dist/plugin-sdk/{target-errors-DaH0qYtL.js → target-errors-CXh6e9ZE.js} +2 -2
- package/dist/plugin-sdk/{tokens-Y97UKh4C.js → tokens-CU9S3S7t.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BMRkn_yk.js → tool-images-Cf9aWlVu.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-Cv8wyfAi.js → tool-loop-detection-DuwkSqZL.js} +2 -2
- package/dist/plugin-sdk/{upgrade-command-DKUGbn8D.js → upgrade-command-y1YvsJbf.js} +12 -2
- package/dist/plugin-sdk/{utils-Dyj2wV4e.js → utils-dP-FpIgu.js} +2 -2
- package/dist/plugin-sdk/web-Cg6vlkku.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-B5g-Rywy.js → whatsapp-actions-Bcknq6EZ.js} +23 -23
- package/dist/{plugins-D46VZh7u.js → plugins-B4hASNc2.js} +2 -2
- package/dist/{plugins-cli-BYfDyWXn.js → plugins-cli-BMptU-1l.js} +80 -80
- package/dist/{plugins-cli-DP46ipIu.js → plugins-cli-CMYlin6k.js} +3 -3
- package/dist/{ports-B2o0FSFD.js → ports-B07M55Gr.js} +1 -1
- package/dist/{ports-SQy1d-RL.js → ports-DWJO5S52.js} +2 -2
- package/dist/{program-BlV0XOMu.js → program-DyMaBEqF.js} +8 -8
- package/dist/{program-context-PC7Knx3s.js → program-context-BxflGz_G.js} +43 -43
- package/dist/{prompt-select-styled-BgfuPDVv.js → prompt-select-styled-CI3hobey.js} +37 -37
- package/dist/{prompt-select-styled-BEnn1bwr.js → prompt-select-styled-es3PJxfH.js} +4 -4
- package/dist/{provider-auth-helpers-CrjXAqYu.js → provider-auth-helpers-CrGScfnN.js} +1 -1
- package/dist/{provider-auth-helpers-CKIkgNDk.js → provider-auth-helpers-DYxaYmlq.js} +5 -5
- package/dist/{push-apns-B4sxQAG3.js → push-apns-BNxgGXQy.js} +1 -1
- package/dist/{push-apns-BPmS_f8e.js → push-apns-CjAXPy2N.js} +5 -5
- package/dist/{pw-ai-7i9eGnLh.js → pw-ai-BGALvhDi.js} +11 -11
- package/dist/{qmd-manager-B-qeywfQ.js → qmd-manager-CVcPfkhL.js} +19 -19
- package/dist/{qr-cli-CSt5ihwG.js → qr-cli-D2Oh8f0U.js} +1 -1
- package/dist/{query-expansion-Clts_AGz.js → query-expansion-i5I3yavb.js} +12 -12
- package/dist/{redact-snapshot-BBNDQZIe.js → redact-snapshot-CtIVs92s.js} +1 -1
- package/dist/{register.agent-DRcOj2U3.js → register.agent-B9f0mtlc.js} +9 -9
- package/dist/{register.agent-uaM-OgFM.js → register.agent-DrVFgVpf.js} +95 -95
- package/dist/register.configure-BxZRBEJ9.js +168 -0
- package/dist/{register.configure-BebpNVXc.js → register.configure-DAlBU97I.js} +8 -8
- package/dist/{register.maintenance-CjWtRkPb.js → register.maintenance-BThQUyMI.js} +9 -9
- package/dist/{register.maintenance-Cr0SJRGa.js → register.maintenance-G_dZOyQA.js} +90 -90
- package/dist/{register.message-BNqRwnPx.js → register.message-BVTuvjQA.js} +71 -71
- package/dist/{register.message-DMAqqNBh.js → register.message-DKaxesxx.js} +3 -3
- package/dist/{register.onboard-9Z1ghVgM.js → register.onboard-CnoQ56yq.js} +18 -18
- package/dist/{register.onboard-DDLj9mJ2.js → register.onboard-CwtL9YYR.js} +2 -2
- package/dist/{register.orchestrator-anton-BybNaYi1.js → register.orchestrator-anton-2LtPHPXM.js} +14 -14
- package/dist/{register.orchestrator-anton-9Al8Av8i.js → register.orchestrator-anton-Ce55Lxt0.js} +2 -2
- package/dist/{register.setup-yqN0SXow.js → register.setup-Dg5LmRxd.js} +2 -2
- package/dist/{register.setup-Z1tBfa9d.js → register.setup-_s2CQaBF.js} +21 -21
- package/dist/{register.status-health-sessions-r-mpQR1m.js → register.status-health-sessions-DX2OgAeG.js} +4 -4
- package/dist/{register.status-health-sessions-Di92AnoH.js → register.status-health-sessions-iSQzPXD0.js} +82 -82
- package/dist/{register.subclis-DPQqxIZd.js → register.subclis-YeKuHCRg.js} +10 -10
- package/dist/{replies-hSFVxL4h.js → replies-Czp4hvpS.js} +1 -1
- package/dist/{reply-ZWOav11z.js → reply-DKIv9jez.js} +153 -153
- package/dist/{reply-prefix-C3y4zpTl.js → reply-prefix-BMEdvSpA.js} +1 -1
- package/dist/{resolve-route-D_AbcmD6.js → resolve-route-Ef_Yt2Dw.js} +2 -2
- package/dist/{rpc-CCimHATv.js → rpc-DDTp_J6f.js} +1 -1
- package/dist/{run-main-DDbBATo6.js → run-main-BwWO5erE.js} +15 -15
- package/dist/{runner-DzszLzI4.js → runner-BFG54hnb.js} +20 -20
- package/dist/{runtime-XmXLaHNk.js → runtime-DEmy759r.js} +2 -2
- package/dist/{sandbox-DcUw5h3p.js → sandbox-CfPbhDY_.js} +20 -20
- package/dist/{sandbox-cli-DGvJ7Eeq.js → sandbox-cli-B4wLJr21.js} +22 -22
- package/dist/{secrets-cli-Bgp_H_bH.js → secrets-cli-CidAOBfl.js} +9 -9
- package/dist/{security-cli-MQ__Ca6v.js → security-cli-Ch7AhbhS.js} +39 -39
- package/dist/{send-C4v0Leny.js → send-BCPkAE2k.js} +6 -6
- package/dist/{send-DuwdEkLw.js → send-BPwTl4-K.js} +4 -4
- package/dist/{send-DQiw_nGD.js → send-CEavqqEz.js} +6 -6
- package/dist/{send-DwdHiC7_.js → send-CVIXqubC.js} +13 -13
- package/dist/{send--lzpNy4f.js → send-DDMaLJAQ.js} +7 -7
- package/dist/{server-D6MltJIF.js → server-BpSbZAwg.js} +14 -14
- package/dist/{server-context-DI0W_H7R.js → server-context-BxNSTpH6.js} +10 -10
- package/dist/{server-lifecycle-B5PlrlbG.js → server-lifecycle-CGKrGrhM.js} +2 -2
- package/dist/{server-node-events-DNJLKEMT.js → server-node-events-CZ5OkouD.js} +71 -71
- package/dist/{server-node-events-BcZPS5tj.js → server-node-events-lbb8M18B.js} +3 -3
- package/dist/{service-C8NMS3m_.js → service-Bj2oSfpw.js} +15 -15
- package/dist/{session-CdnrRhb4.js → session-BKVySI8q.js} +1 -1
- package/dist/{sessions-BtPXimXQ.js → sessions-BqWocozB.js} +14 -14
- package/dist/{shared-CpDPo3hJ.js → shared-DnQ4iyXk.js} +2 -2
- package/dist/{shared-DpLSpJIl.js → shared-Jzrx8DfN.js} +1 -1
- package/dist/{skill-commands-BFzmZAfo.js → skill-commands-BwIRWSCI.js} +5 -5
- package/dist/{skill-scanner-D7mzXRXd.js → skill-scanner-B4Ftsbd2.js} +5 -5
- package/dist/{skills-DlvDyK8L.js → skills-TIyQDZx7.js} +3 -3
- package/dist/{skills-cli-BhKGhjbO.js → skills-cli-5lbXi4Lh.js} +5 -5
- package/dist/{skills-install-tr6wRWZj.js → skills-install-D0JHP5uM.js} +4 -4
- package/dist/{skills-status-qjQ8XP0h.js → skills-status-Q9skQExW.js} +1 -1
- package/dist/{status-geIYZraQ.js → status-BE1Y0CKS.js} +2 -2
- package/dist/{status-BXSiFfmy.js → status-Bd9NYE1U.js} +24 -24
- package/dist/{status.update-CTi6vuWj.js → status.update-C3uRz7W6.js} +2 -2
- package/dist/{store-kH9wHHbO.js → store-CLNuI8-G.js} +5 -5
- package/dist/{subagent-registry-C6uygQa1.js → subagent-registry-CTZmDdGV.js} +12 -12
- package/dist/{system-cli-3T-OTIKv.js → system-cli-DBp9Zmvt.js} +8 -8
- package/dist/{system-run-approval-context-CISBXlNw.js → system-run-approval-context-xZVoE4nS.js} +1 -1
- package/dist/{system-run-command-qJdgzxLp.js → system-run-command-BIhrK3OI.js} +1 -1
- package/dist/{systemd-CaCR5CyM.js → systemd-DyrVLTI0.js} +9 -9
- package/dist/{systemd-hints-DHu-HVFx.js → systemd-hints-BoKKzRI_.js} +6 -6
- package/dist/{systemd-linger-B7XlUHk_.js → systemd-linger-DrhGd61G.js} +1 -1
- package/dist/{tables-g9xkflht.js → tables-CZSD889r.js} +1 -1
- package/dist/{target-errors-bLIVFsbF.js → target-errors-BYuWhuLU.js} +4 -4
- package/dist/{tool-images-CHqepyF_.js → tool-images-DZHrc4pq.js} +1 -1
- package/dist/{tui-lalhRHve.js → tui-DWGHGeZ3.js} +6 -6
- package/dist/{tui-cli-BVKWJ9X7.js → tui-cli-DKyA5pZ2.js} +30 -30
- package/dist/{update-cli-BxVcRBy_.js → update-cli-D-4_OhRR.js} +9 -9
- package/dist/{update-cli-VlK55yII.js → update-cli-DvUx2El6.js} +99 -99
- package/dist/{update-D79ppbMQ.js → update-la2AdLf3.js} +3 -3
- package/dist/{update-runner-bFqEARFN.js → update-runner-BvaywdEe.js} +1 -1
- package/dist/{update-runner-Cw7BbjGv.js → update-runner-n2snlf-4.js} +15 -15
- package/dist/{upgrade-command-Bh61DpzA.js → upgrade-command-28wRHZZ2.js} +15 -5
- package/dist/{upgrade-command-CvbcPPIF.js → upgrade-command-BOG7TpIq.js} +12 -2
- package/dist/{upgrade-command-Bvrv4iDU.js → upgrade-command-CWP8S_lt.js} +12 -2
- package/dist/{upgrade-command-L9y3xbza.js → upgrade-command-eqla-KnV.js} +12 -2
- package/dist/{web-BjMMu9l1.js → web-BedV4zGE.js} +3 -3
- package/dist/{web-DptF9st7.js → web-BjP-D0Iz.js} +3 -3
- package/dist/web-CDFWB79W.js +123 -0
- package/dist/{web-TRTzT6rm.js → web-Dbrx58hF.js} +3 -3
- package/dist/{webhooks-cli-2N03q0iY.js → webhooks-cli-BnmVPYkU.js} +6 -6
- package/dist/{whatsapp-actions-Cms8wQM1.js → whatsapp-actions-D2mBFzmK.js} +18 -18
- package/dist/{with-timeout-DEdycYxq.js → with-timeout-BodPmGCY.js} +3 -3
- package/dist/{workspace-D3pARwoB.js → workspace-CDw87aZG.js} +1 -1
- package/dist/{workspace-dirs-SsExQ3Bz.js → workspace-dirs-D3bousoX.js} +1 -1
- package/dist/{wsl-BJW8nTyL.js → wsl-CgXDjE09.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +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/plugin-sdk/web-bxu2RRVS.js +0 -71
- package/dist/register.configure-B0i1vobR.js +0 -168
- package/dist/web-Bjj9WtlF.js +0 -123
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
3
|
-
import { a as extractArchive, c as resolveArchiveKind, l as resolvePackedRootDir, o as fileExists } from "./install-safe-path-
|
|
3
|
+
import { a as extractArchive, c as resolveArchiveKind, l as resolvePackedRootDir, o as fileExists } from "./install-safe-path-CNNMzJl9.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
async function withTempDir(prefix, fn) {
|
|
10
|
-
const tmpDir = await
|
|
10
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
11
11
|
try {
|
|
12
12
|
return await fn(tmpDir);
|
|
13
13
|
} finally {
|
|
14
|
-
await
|
|
14
|
+
await fsPromises.rm(tmpDir, {
|
|
15
15
|
recursive: true,
|
|
16
16
|
force: true
|
|
17
17
|
}).catch(() => void 0);
|
|
@@ -96,12 +96,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
async function findPackedArchiveInDir(cwd) {
|
|
99
|
-
const archives = (await
|
|
99
|
+
const archives = (await fsPromises.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
100
100
|
if (archives.length === 0) return;
|
|
101
101
|
if (archives.length === 1) return archives[0]?.name;
|
|
102
102
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
103
103
|
name: entry.name,
|
|
104
|
-
mtimeMs: (await
|
|
104
|
+
mtimeMs: (await fsPromises.stat(path.join(cwd, entry.name))).mtimeMs
|
|
105
105
|
})));
|
|
106
106
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
107
107
|
return sortedByMtime[0]?.name;
|
|
@@ -166,13 +166,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
166
166
|
return {
|
|
167
167
|
ok: true,
|
|
168
168
|
resolvedPath,
|
|
169
|
-
stat: await
|
|
169
|
+
stat: await fsPromises.stat(resolvedPath)
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
172
|
async function withExtractedArchiveRoot(params) {
|
|
173
173
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
174
174
|
const extractDir = path.join(tmpDir, "extract");
|
|
175
|
-
await
|
|
175
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
176
176
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
177
177
|
try {
|
|
178
178
|
await extractArchive({
|
|
@@ -225,7 +225,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
225
225
|
const manifestPath = path.join(targetDir, "package.json");
|
|
226
226
|
let manifestRaw = "";
|
|
227
227
|
try {
|
|
228
|
-
manifestRaw = await
|
|
228
|
+
manifestRaw = await fsPromises.readFile(manifestPath, "utf-8");
|
|
229
229
|
} catch {
|
|
230
230
|
return;
|
|
231
231
|
}
|
|
@@ -245,7 +245,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
245
245
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
246
246
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
247
247
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
248
|
-
await
|
|
248
|
+
await fsPromises.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
249
249
|
}
|
|
250
250
|
async function installPackageDir(params) {
|
|
251
251
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
@@ -253,19 +253,19 @@ async function installPackageDir(params) {
|
|
|
253
253
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
254
254
|
const backupRoot = path.join(path.dirname(params.targetDir), ".idlehands-install-backups");
|
|
255
255
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
256
|
-
await
|
|
257
|
-
await
|
|
256
|
+
await fsPromises.mkdir(backupRoot, { recursive: true });
|
|
257
|
+
await fsPromises.rename(params.targetDir, backupDir);
|
|
258
258
|
}
|
|
259
259
|
const rollback = async () => {
|
|
260
260
|
if (!backupDir) return;
|
|
261
|
-
await
|
|
261
|
+
await fsPromises.rm(params.targetDir, {
|
|
262
262
|
recursive: true,
|
|
263
263
|
force: true
|
|
264
264
|
}).catch(() => void 0);
|
|
265
|
-
await
|
|
265
|
+
await fsPromises.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
266
266
|
};
|
|
267
267
|
try {
|
|
268
|
-
await
|
|
268
|
+
await fsPromises.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
269
269
|
} catch (err) {
|
|
270
270
|
await rollback();
|
|
271
271
|
return {
|
|
@@ -303,7 +303,7 @@ async function installPackageDir(params) {
|
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
if (backupDir) await
|
|
306
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
307
307
|
recursive: true,
|
|
308
308
|
force: true
|
|
309
309
|
}).catch(() => void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { j as loadConfig } from "./auth-profiles-Baj5ImDJ.js";
|
|
3
3
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
4
|
-
import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-CTZmDdGV.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-
|
|
2
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-DKIv9jez.js";
|
|
2
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
4
|
-
import { It as loadConfig } from "./model-selection-
|
|
4
|
+
import { It as loadConfig } from "./model-selection-CSn9tUuH.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -7,7 +7,7 @@ import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
|
7
7
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
|
|
9
9
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
10
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
10
|
+
import { t as runOnboardingWizard } from "./onboarding-BgHfZNln.js";
|
|
11
11
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
12
12
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DHfeIfN6.js";
|
|
13
13
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D12380q3.js";
|
|
@@ -250,7 +250,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
250
250
|
}
|
|
251
251
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
252
252
|
if (!opts.skipHealth) {
|
|
253
|
-
const { healthCommand } = await import("./health-
|
|
253
|
+
const { healthCommand } = await import("./health-BN8WNyon.js").then((n) => n.i);
|
|
254
254
|
await waitForGatewayReachable({
|
|
255
255
|
url: resolveControlUiLinks({
|
|
256
256
|
bind: gatewayResult.bind,
|
|
@@ -9,7 +9,7 @@ import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveD
|
|
|
9
9
|
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-frp6YB8O.js";
|
|
10
10
|
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-COaz4Gk1.js";
|
|
11
11
|
import { dt as normalizeDiscordSlug } from "./send-CCiDIuX4.js";
|
|
12
|
-
import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
12
|
+
import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-CTZmDdGV.js";
|
|
13
13
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-dpNitoNd.js";
|
|
14
14
|
import { s as normalizeIMessageHandle } from "./send-YcXS-UZJ.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-DKIv9jez.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn39ugK4.js";
|
|
5
5
|
import { g as listChatChannels, m as formatChannelSelectionLine, p as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
6
6
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-Cuihcz_O.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
9
|
-
import { dt as normalizeDiscordSlug } from "./send-
|
|
10
|
-
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, d as resolveTelegramAccount, h as resolveSlackAccount, l as listTelegramAccountIds, m as resolveDefaultSlackAccountId, n as listChannelPlugins, p as listSlackAccountIds, t as getChannelPlugin, u as resolveDefaultTelegramAccountId } from "./plugins-
|
|
11
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
12
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
13
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
9
|
+
import { dt as normalizeDiscordSlug } from "./send-CVIXqubC.js";
|
|
10
|
+
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, d as resolveTelegramAccount, h as resolveSlackAccount, l as listTelegramAccountIds, m as resolveDefaultSlackAccountId, n as listChannelPlugins, p as listSlackAccountIds, t as getChannelPlugin, u as resolveDefaultTelegramAccountId } from "./plugins-B4hASNc2.js";
|
|
11
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-D-hQsUw-.js";
|
|
12
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-DsVN0UNw.js";
|
|
13
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-D87a1Y_K.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { a as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
18
|
-
import { t as loginWeb } from "./login-
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BMuSi4aV.js";
|
|
16
|
+
import { a as normalizeIMessageHandle } from "./send-CEavqqEz.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-ByhJg2ST.js";
|
|
18
|
+
import { t as loginWeb } from "./login-Dl_lsEHS.js";
|
|
19
19
|
import { t as resolveBrewExecutable } from "./brew-DJAghU-4.js";
|
|
20
20
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-DK3_W0VC.js";
|
|
21
21
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
22
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
23
|
-
import { a as extractArchive } from "./install-safe-path-
|
|
24
|
-
import { n as recordPluginInstall, r as installPluginFromNpmSpec, t as buildNpmResolutionInstallFields } from "./installs-
|
|
22
|
+
import { t as enablePluginInConfig } from "./enable-DaA_orGN.js";
|
|
23
|
+
import { a as extractArchive } from "./install-safe-path-CNNMzJl9.js";
|
|
24
|
+
import { n as recordPluginInstall, r as installPluginFromNpmSpec, t as buildNpmResolutionInstallFields } from "./installs-ST3UaUVJ.js";
|
|
25
25
|
import fs, { createWriteStream } from "node:fs";
|
|
26
26
|
import os from "node:os";
|
|
27
27
|
import path from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fsPromises from "node:fs/promises";
|
|
29
29
|
import { request } from "node:https";
|
|
30
30
|
import { pipeline } from "node:stream/promises";
|
|
31
31
|
|
|
@@ -1050,7 +1050,7 @@ async function findSignalCliBinary(root) {
|
|
|
1050
1050
|
const candidates = [];
|
|
1051
1051
|
const enqueue = async (dir, depth) => {
|
|
1052
1052
|
if (depth > 3) return;
|
|
1053
|
-
const entries = await
|
|
1053
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1054
1054
|
for (const entry of entries) {
|
|
1055
1055
|
const full = path.join(dir, entry.name);
|
|
1056
1056
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1071,7 +1071,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1071
1071
|
const prefix = result.stdout.trim();
|
|
1072
1072
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1073
1073
|
try {
|
|
1074
|
-
await
|
|
1074
|
+
await fsPromises.access(candidate);
|
|
1075
1075
|
return candidate;
|
|
1076
1076
|
} catch {
|
|
1077
1077
|
return findSignalCliBinary(prefix);
|
|
@@ -1127,12 +1127,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1127
1127
|
ok: false,
|
|
1128
1128
|
error: "No compatible release asset found for this platform."
|
|
1129
1129
|
};
|
|
1130
|
-
const tmpDir = await
|
|
1130
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "idlehands-signal-"));
|
|
1131
1131
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1132
1132
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1133
1133
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1134
1134
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1135
|
-
await
|
|
1135
|
+
await fsPromises.mkdir(installRoot, { recursive: true });
|
|
1136
1136
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1137
1137
|
ok: false,
|
|
1138
1138
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1151,7 +1151,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1151
1151
|
ok: false,
|
|
1152
1152
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1153
1153
|
};
|
|
1154
|
-
await
|
|
1154
|
+
await fsPromises.chmod(cliPath, 493).catch(() => {});
|
|
1155
1155
|
return {
|
|
1156
1156
|
ok: true,
|
|
1157
1157
|
cliPath,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $r as DEFAULT_PROVIDER, Ur as normalizeOptionalSecretInput, Wr as normalizeSecretInput, Yr as isSecretRef, c as modelKey, r as buildModelAliasIndex } from "./model-selection-
|
|
2
|
+
import { $r as DEFAULT_PROVIDER, Ur as normalizeOptionalSecretInput, Wr as normalizeSecretInput, Yr as isSecretRef, c as modelKey, r as buildModelAliasIndex } from "./model-selection-CSn9tUuH.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-Tud5uP5n.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
5
|
-
import { i as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
6
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-DnQ4iyXk.js";
|
|
5
|
+
import { i as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-pTqMTYmi.js";
|
|
6
|
+
import { r as applyPrimaryModel } from "./model-picker-D3U0wJCO.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-custom.ts
|
|
9
9
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-Cn44w-EB.js";
|
|
3
3
|
import { C as sleep, S as shortenHomePath, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
4
|
-
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
4
|
+
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-Bn39ugK4.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
6
|
-
import { _n as looksLikeAvatarPath, fn as isAvatarHttpUrl, pn as isAvatarImageDataUrl, rr as isSafeExecutableValue } from "./model-selection-
|
|
6
|
+
import { _n as looksLikeAvatarPath, fn as isAvatarHttpUrl, pn as isAvatarImageDataUrl, rr as isSafeExecutableValue } from "./model-selection-CSn9tUuH.js";
|
|
7
7
|
import { r as VERSION } from "./env-vars-sTMVGyld.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DVauVtrg.js";
|
|
9
9
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-C9lH_YnG.js";
|
|
10
10
|
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-XBTtYpJc.js";
|
|
11
11
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-DRz46q00.js";
|
|
12
|
-
import { n as callGateway } from "./call-
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
12
|
+
import { n as callGateway } from "./call-DnTBT02D.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-CgXDjE09.js";
|
|
14
14
|
import { r as stylePromptTitle } from "./prompt-style-kmKiCZnm.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { cancel, isCancel } from "@clack/prompts";
|
|
20
20
|
|
|
@@ -246,7 +246,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
246
246
|
});
|
|
247
247
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
248
248
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
249
|
-
await
|
|
249
|
+
await fsPromises.mkdir(sessionsDir, { recursive: true });
|
|
250
250
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
251
251
|
}
|
|
252
252
|
function resolveNodeManagerOptions() {
|
|
@@ -268,7 +268,7 @@ function resolveNodeManagerOptions() {
|
|
|
268
268
|
async function moveToTrash(pathname, runtime) {
|
|
269
269
|
if (!pathname) return;
|
|
270
270
|
try {
|
|
271
|
-
await
|
|
271
|
+
await fsPromises.access(pathname);
|
|
272
272
|
} catch {
|
|
273
273
|
return;
|
|
274
274
|
}
|
|
@@ -291,7 +291,7 @@ async function detectBinary(name) {
|
|
|
291
291
|
if (!isSafeExecutableValue(name)) return false;
|
|
292
292
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
293
293
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
294
|
-
await
|
|
294
|
+
await fsPromises.access(resolved);
|
|
295
295
|
return true;
|
|
296
296
|
} catch {
|
|
297
297
|
return false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import "./utils-CXzXXV2o.js";
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./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
8
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./frontmatter-D-sQ_Hqk.js";
|
|
11
|
-
import "./workspace-
|
|
12
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
11
|
+
import "./workspace-CDw87aZG.js";
|
|
12
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-CPIWc_bx.js";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/onboard-hooks.ts
|
|
15
15
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as isSecureWebSocketUrl } from "./ws-XBTtYpJc.js";
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-ByhJg2ST.js";
|
|
4
4
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-FDdFH5E8.js";
|
|
5
5
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-DMslm8Hx.js";
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import { i as restoreTerminalState, n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
4
|
-
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-
|
|
4
|
+
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-CSn9tUuH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-ByhJg2ST.js";
|
|
7
7
|
import { t as assertSupportedRuntime } from "./runtime-guard-X6f4YmTM.js";
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-CvbZsmjW.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-BxvY_aEE.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-CWpV5eF5.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DWHdfsgm.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-BDndThZZ.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-DeqQiAad.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health
|
|
254
|
+
const { healthCommand } = await import("./health-CNZK5D2k.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Wr as normalizeSecretInput } from "./model-selection-
|
|
2
|
+
import { Wr as normalizeSecretInput } from "./model-selection-CSn9tUuH.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
4
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
5
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-ByhJg2ST.js";
|
|
5
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Q9skQExW.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-D0JHP5uM.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -230,7 +230,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
230
230
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Baj5ImDJ.js").then((n) => n.t);
|
|
231
231
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-kycZqH8q.js").then((n) => n.t);
|
|
232
232
|
const { promptCustomApiConfig } = await import("./onboard-custom-BjUK6yP5.js").then((n) => n.r);
|
|
233
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
233
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-01ELTnLA.js").then((n) => n.t);
|
|
234
234
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D_yngXMe.js").then((n) => n.i);
|
|
235
235
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
236
236
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
285
285
|
else {
|
|
286
286
|
const { listChannelPlugins } = await import("./plugins-CCrfZ49T.js").then((n) => n.i);
|
|
287
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
287
|
+
const { setupChannels } = await import("./onboard-channels-CG1R8Ozs.js").then((n) => n.n);
|
|
288
288
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
289
289
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
290
290
|
allowSignalInstall: true,
|
|
@@ -310,7 +310,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
310
310
|
mode
|
|
311
311
|
});
|
|
312
312
|
await writeConfigFile(nextConfig);
|
|
313
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
313
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-5_UCPMAw.js");
|
|
314
314
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
315
315
|
flow,
|
|
316
316
|
opts,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
4
|
-
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-
|
|
4
|
+
import { Ht as writeConfigFile, Rt as readConfigFileSnapshot } from "./model-selection-CSn9tUuH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
42
42
|
})) throw new WizardCancelledError("risk not accepted");
|
|
43
43
|
}
|
|
44
44
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
45
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
45
|
+
const onboardHelpers = await import("./onboard-helpers-ByhJg2ST.js").then((n) => n.d);
|
|
46
46
|
onboardHelpers.printWizardHeader(runtime);
|
|
47
47
|
await prompter.intro("IdleHands onboarding");
|
|
48
48
|
await requireRiskAcknowledgement({
|
|
@@ -210,7 +210,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
210
210
|
}]
|
|
211
211
|
}));
|
|
212
212
|
if (mode === "remote") {
|
|
213
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
213
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-DuhWSiAO.js").then((n) => n.t);
|
|
214
214
|
const { logConfigUpdated } = await import("./logging-B0-9lotb.js").then((n) => n.r);
|
|
215
215
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
216
216
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -228,11 +228,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
228
228
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
229
229
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-DWHdfsgm.js").then((n) => n.n);
|
|
230
230
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
231
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
231
|
+
const { ensureAuthProfileStore } = await import("./model-selection-CSn9tUuH.js").then((n) => n.ot);
|
|
232
232
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CiRp6avH.js").then((n) => n.t);
|
|
233
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
234
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
235
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
233
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-D2sCP3_S.js").then((n) => n.r);
|
|
234
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CqbTnCYz.js").then((n) => n.t);
|
|
235
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D3U0wJCO.js").then((n) => n.i);
|
|
236
236
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
237
237
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
238
238
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -270,7 +270,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
270
270
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
271
271
|
}
|
|
272
272
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
273
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
273
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-qVAY6x7I.js");
|
|
274
274
|
const gateway = await configureGatewayForOnboarding({
|
|
275
275
|
flow,
|
|
276
276
|
baseConfig,
|
|
@@ -284,8 +284,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
const settings = gateway.settings;
|
|
285
285
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
286
286
|
else {
|
|
287
|
-
const { listChannelPlugins } = await import("./plugins-
|
|
288
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
287
|
+
const { listChannelPlugins } = await import("./plugins-B4hASNc2.js").then((n) => n.i);
|
|
288
|
+
const { setupChannels } = await import("./onboard-channels-CRHp5hA-.js").then((n) => n.n);
|
|
289
289
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
290
290
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
291
291
|
allowSignalInstall: true,
|
|
@@ -301,17 +301,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
301
301
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
302
302
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
303
303
|
else {
|
|
304
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
304
|
+
const { setupSkills } = await import("./onboard-skills-vFwEasAg.js").then((n) => n.t);
|
|
305
305
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
306
306
|
}
|
|
307
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
307
|
+
const { setupInternalHooks } = await import("./onboard-hooks-_1Jgimeu.js");
|
|
308
308
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
309
309
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
310
310
|
command: "onboard",
|
|
311
311
|
mode
|
|
312
312
|
});
|
|
313
313
|
await writeConfigFile(nextConfig);
|
|
314
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
314
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DnCFQEPR.js");
|
|
315
315
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
316
316
|
flow,
|
|
317
317
|
opts,
|
|
@@ -26,7 +26,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
26
26
|
import "./auth-store-D9BmR4S6.js";
|
|
27
27
|
import "./send-m4lQkQcY.js";
|
|
28
28
|
import "./send-CCiDIuX4.js";
|
|
29
|
-
import "./subagent-registry-
|
|
29
|
+
import "./subagent-registry-CTZmDdGV.js";
|
|
30
30
|
import "./paths-CC17i2eK.js";
|
|
31
31
|
import "./chat-envelope-Dedaetiq.js";
|
|
32
32
|
import "./client-Brv1GCwX.js";
|
|
@@ -109,24 +109,24 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
109
109
|
import "./help-format-CldHB7lS.js";
|
|
110
110
|
import "./progress-B76RkFx7.js";
|
|
111
111
|
import "./replies-DSfpze17.js";
|
|
112
|
-
import "./deps-
|
|
112
|
+
import "./deps-BUUwigzc.js";
|
|
113
113
|
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-Dp6wXNs7.js";
|
|
114
114
|
import "./prompt-style-XmK49QYK.js";
|
|
115
115
|
import "./pairing-labels-D7xcHkxi.js";
|
|
116
116
|
import "./note-C2HHth6G.js";
|
|
117
|
-
import { r as installCompletion } from "./completion-cli-
|
|
118
|
-
import "./register.subclis-
|
|
119
|
-
import "./command-registry-
|
|
117
|
+
import { r as installCompletion } from "./completion-cli-Cxvf8clb.js";
|
|
118
|
+
import "./register.subclis-YeKuHCRg.js";
|
|
119
|
+
import "./command-registry-DZZAmcbA.js";
|
|
120
120
|
import "./program-context-BrqeiWcA.js";
|
|
121
121
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DUHqeg5Y.js";
|
|
122
122
|
import "./runtime-guard-DTSD0F6o.js";
|
|
123
123
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
124
124
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CYLBa7fG.js";
|
|
125
125
|
import { t as resolveGatewayService } from "./service-BzgRt9im.js";
|
|
126
|
-
import { r as healthCommand } from "./health-
|
|
126
|
+
import { r as healthCommand } from "./health-BN8WNyon.js";
|
|
127
127
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5haX6bT.js";
|
|
128
128
|
import { t as formatHealthCheckFailure } from "./health-format-wax5NzZB.js";
|
|
129
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
129
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-i04j1TGW.js";
|
|
130
130
|
import { t as runTui } from "./tui-BPgLehyv.js";
|
|
131
131
|
import os from "node:os";
|
|
132
132
|
import path from "node:path";
|