@visorcraft/idlehands 4.0.17 → 4.0.19
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 +15 -0
- package/dist/{accounts-DsVN0UNw.js → accounts-3HS_UAhJ.js} +1 -1
- package/dist/{accounts-D-hQsUw-.js → accounts-DLTODa_Z.js} +1 -1
- package/dist/{accounts-D87a1Y_K.js → accounts-DgbTKQoW.js} +1 -1
- package/dist/{acp-cli-COix-boa.js → acp-cli-B3uwVAGD.js} +2 -2
- package/dist/{acp-cli-D52jj29o.js → acp-cli-BEpWQbqb.js} +7 -7
- package/dist/{agent-scope-Bn39ugK4.js → agent-scope-RA0zXRpu.js} +18 -18
- package/dist/{agent-via-gateway-BVY7w5-N.js → agent-via-gateway-B03q92bw.js} +3 -2
- package/dist/{agent-via-gateway-DSZK5iRF.js → agent-via-gateway-B2Z_k_od.js} +8 -7
- package/dist/{agent-via-gateway-BDWomN2t.js → agent-via-gateway-CUQG6kii.js} +5 -4
- package/dist/{agent-via-gateway-BlRwv6D6.js → agent-via-gateway-Cn3iNSod.js} +3 -2
- package/dist/{agents-BLa67Gdv.js → agents-DdTECKDf.js} +5 -5
- package/dist/{agents.config-CyEkgCQE.js → agents.config-CHtoYxr6.js} +2 -2
- package/dist/{agents.config-ADCeu0yD.js → agents.config-D2EbQiOx.js} +1 -1
- package/dist/{anton-CZ5moxh6.js → anton-D4vpCj_q.js} +47 -10
- package/dist/{anton-llLwn1lp.js → anton-DsmttQbC.js} +47 -10
- package/dist/{anton-D-0SP_5T.js → anton-hH1PyE2C.js} +47 -10
- package/dist/anton-x7f6kIFP.js +777 -0
- package/dist/{api-key-rotation-nXQVJErE.js → api-key-rotation-B-FTJm5p.js} +1 -1
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-BSlR2jEq.js} +4 -4
- package/dist/{audio-preflight-DzjXupNO.js → audio-preflight-Dl1TO10w.js} +31 -31
- package/dist/{audit-Bkd4fvVb.js → audit-C9PrbHng.js} +2 -2
- package/dist/{audit-D12wg2tV.js → audit-CKeZnjft.js} +22 -22
- package/dist/{auth-choice-BDndThZZ.js → auth-choice-D12Wsf7w.js} +12 -12
- package/dist/{auth-choice-CqbTnCYz.js → auth-choice-DRR52LJT.js} +10 -10
- package/dist/{auth-choice-01ELTnLA.js → auth-choice-DVoPuwEs.js} +2 -2
- package/dist/{auth-choice.apply-helpers-pTqMTYmi.js → auth-choice.apply-helpers-CGcniL1T.js} +1 -1
- package/dist/{auth-store-CMyrmmSF.js → auth-store-DDzIMy8_.js} +7 -7
- package/dist/{auth-token-fKt_cHOj.js → auth-token-BJq87X3o.js} +1 -1
- package/dist/{banner-Dv_eAAWw.js → banner-CFKoGAzN.js} +1 -1
- package/dist/{bindings-DZjkLUU_.js → bindings-B59Q7nsk.js} +1 -1
- package/dist/{browser-cli-Ddh5zEZN.js → browser-cli-Brb82I5e.js} +3 -3
- package/dist/{browser-cli-Da-0lyq2.js → browser-cli-Ci6DpTnS.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{call-DnTBT02D.js → call-BpWhjuOg.js} +9 -9
- package/dist/{call-DuNslqj2.js → call-C82rD2Wn.js} +1 -1
- package/dist/{channel-account-context-B4nJPU2N.js → channel-account-context-CDbY5AIr.js} +5 -5
- package/dist/{channel-options-BvOLgXCF.js → channel-options-B4oF7_V2.js} +3 -3
- package/dist/{channel-options-BilcK806.js → channel-options-BU0E7BdU.js} +1 -1
- package/dist/{channel-selection-3jUl-PyW.js → channel-selection-ZxRkxpuF.js} +1 -1
- package/dist/{channel-web-B1IazKKL.js → channel-web-0icuasR6.js} +22 -22
- package/dist/{channel-web-BptLTwvg.js → channel-web-BDytDCrG.js} +2 -2
- package/dist/{channels-cli-FssbSykQ.js → channels-cli-B2w32z11.js} +88 -88
- package/dist/{channels-cli-DejBZZ85.js → channels-cli-DWaQsKP8.js} +10 -10
- package/dist/{channels-status-issues-hgASw9UA.js → channels-status-issues-CDpWjdI3.js} +1 -1
- package/dist/{chrome-YguTEaLx.js → chrome-VBsQfIrt.js} +2 -2
- package/dist/{chrome-BcJB6PcM.js → chrome-_2tzVjVl.js} +9 -9
- package/dist/{clawbot-cli-C5cDal-5.js → clawbot-cli-uFgYrysW.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BrQZTuUX.js → cli-BVw2ja-q.js} +70 -70
- package/dist/{cli-j1A8WKSj.js → cli-Hplv9sD1.js} +5 -5
- package/dist/{client-DIckPnsi.js → client-DtnD-ee9.js} +2 -1
- package/dist/{client-Brv1GCwX.js → client-udFMSDes.js} +1 -0
- package/dist/{command-registry-DZZAmcbA.js → command-registry-CWDCVzZv.js} +11 -11
- package/dist/{commands-D3BU_t7G.js → commands-Dj5LalLo.js} +1 -1
- package/dist/{commands-registry-Cj4D_1tw.js → commands-registry-CURlRZQJ.js} +3 -3
- package/dist/{completion-cli-Cxvf8clb.js → completion-cli-CjERsZ27.js} +2 -2
- package/dist/{completion-cli-ktxbWAiG.js → completion-cli-f5M3WVf8.js} +12 -12
- package/dist/{config-cli-CogA71uD.js → config-cli-B2gc8CV1.js} +6 -6
- package/dist/{config-cli-Bq_MWzp9.js → config-cli-Bt7n6ZJS.js} +1 -1
- package/dist/{config-guard-DnAyuF6T.js → config-guard-BdsOumqh.js} +17 -17
- package/dist/{config-validation-DIomLMwH.js → config-validation-BvKX6fPw.js} +2 -2
- package/dist/{configure-CZUn--aN.js → configure-BXsptBk3.js} +16 -16
- package/dist/{configure-CPDGJFyt.js → configure-CKspMrI1.js} +6 -6
- package/dist/{control-ui-assets-CiaCDBvZ.js → control-ui-assets-C7ZpN9hN.js} +1 -1
- package/dist/{cron-cli-B8uqoogS.js → cron-cli-DQsnGQKs.js} +12 -12
- package/dist/{cron-cli-D4DXiD1C.js → cron-cli-DXZzPHDQ.js} +3 -3
- package/dist/{daemon-cli-yC6gq-yv.js → daemon-cli-DOG5Mivy.js} +2 -2
- package/dist/{daemon-cli-CMBNTpSS.js → daemon-cli-DUg-s4LG.js} +11 -11
- package/dist/daemon-cli.js +1 -0
- package/dist/{daemon-install-DeqQiAad.js → daemon-install-CYPo4M1M.js} +4 -4
- package/dist/{daemon-install-helpers-Bug_GYuy.js → daemon-install-helpers-BZY9-jNW.js} +9 -9
- package/dist/{deliver-yTpXc5sv.js → deliver--kttnrER.js} +7 -7
- package/dist/{deliver-BUiQ-9fE.js → deliver-CVTXl0Cv.js} +1 -1
- package/dist/{deps-B_5kPH1Q.js → deps-BAMUVAdU.js} +1 -1
- package/dist/{deps-PAzfFs3Q.js → deps-BbipxGPW.js} +1 -1
- package/dist/{deps-BUUwigzc.js → deps-CjWcQwlX.js} +1 -1
- package/dist/{deps-CH8f3TJK.js → deps-CwPrf7RC.js} +6 -6
- package/dist/{devices-cli-DVLF8Yvw.js → devices-cli-DKK65S9Z.js} +7 -7
- package/dist/{devices-cli-Ck6s9sQQ.js → devices-cli-aiEJxYcN.js} +2 -2
- package/dist/{diagnostics-CdUgLS0N.js → diagnostics-DmZbQ8Nc.js} +5 -5
- package/dist/{directory-cli-BAMS8f9U.js → directory-cli-Dz9iXeut.js} +9 -9
- package/dist/{dns-cli-BdxBk-k_.js → dns-cli-DD6hWsdc.js} +4 -4
- package/dist/{dock-CzF5XYGd.js → dock-Y96MzKuM.js} +4 -4
- package/dist/{docs-cli-SF7es4Zs.js → docs-cli-cHkrTB2e.js} +4 -4
- package/dist/{doctor-completion-iWmUY3B4.js → doctor-completion-C2-SDBd6.js} +2 -2
- package/dist/{doctor-completion-i04j1TGW.js → doctor-completion-DB151YdP.js} +1 -1
- package/dist/{doctor-config-flow-8qXzBx09.js → doctor-config-flow-Ck4oCjfl.js} +14 -14
- package/dist/{emergency-stop-tKLAiFAG.js → emergency-stop-BldYLJq7.js} +7 -7
- package/dist/{emergency-stop-DAmKucxm.js → emergency-stop-CDozqde9.js} +5 -5
- package/dist/{emergency-stop-CfKEsUr_.js → emergency-stop-DpNGtfb4.js} +70 -70
- package/dist/{emergency-stop-CzExWKhr.js → emergency-stop-Lj33jqJJ.js} +2 -2
- package/dist/{enable-DaA_orGN.js → enable-o_s6PBsC.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-allowlist-8AkOwwIr.js → exec-approvals-allowlist-Co2tJSEo.js} +1 -1
- package/dist/{exec-approvals-cli-CtoJW2K-.js → exec-approvals-cli-D6XUzs4j.js} +15 -15
- package/dist/{exec-approvals-cli-CNWOtvwX.js → exec-approvals-cli-DRoaRYPn.js} +4 -4
- package/dist/{exec-safe-bin-runtime-policy-DYXuBKqH.js → exec-safe-bin-runtime-policy-DaoU9-ni.js} +2 -2
- package/dist/extensionAPI.js +2 -2
- package/dist/{fs-safe-DNFrxDS-.js → fs-safe-_JQUGpZf.js} +15 -15
- package/dist/{gateway-cli-DSJcNJYR.js → gateway-cli-Ccd1ukWq.js} +17 -14
- package/dist/{gateway-cli-C8P5BVto.js → gateway-cli-lNUOd2_i.js} +151 -148
- package/dist/{gateway-rpc-CdfF0Zt5.js → gateway-rpc-5PTvwEfj.js} +1 -1
- package/dist/{gateway-rpc-6vnhO4v8.js → gateway-rpc-BBFG1T-M.js} +1 -1
- package/dist/{health-CNZK5D2k.js → health--GQAFTBr.js} +13 -13
- package/dist/{health-BN8WNyon.js → health-HEN6Wk9G.js} +2 -2
- package/dist/{hooks-cli-L32lBsp7.js → hooks-cli-DFrttZGb.js} +6 -6
- package/dist/{hooks-cli-t7tiLn8P.js → hooks-cli-Di8qrzIB.js} +84 -84
- package/dist/{hooks-status-CPIWc_bx.js → hooks-status-DNGo2G8Q.js} +1 -1
- package/dist/{idlehands-root-DFL2GrNW.js → idlehands-root-B8cUs-5M.js} +8 -8
- package/dist/{image-D8b_rlQC.js → image-COw__ACq.js} +1 -1
- package/dist/{image-C2JZiK-6.js → image-DSDEbSiO.js} +5 -5
- package/dist/{plugin-sdk/image-ops-BRYGGDwL.js → image-ops-BU-VdLZu.js} +2 -2
- package/dist/index.js +80 -80
- package/dist/{inspect-Dg16DMLn.js → inspect-ISQZuNM5.js} +4 -4
- package/dist/{install-safe-path-CNNMzJl9.js → install-safe-path-ChNR9pl6.js} +19 -19
- package/dist/{installs-ST3UaUVJ.js → installs-CNubze2L.js} +9 -9
- package/dist/{ir-DV0Hszc8.js → ir-VncGpwA1.js} +6 -6
- package/dist/{lifecycle-core-DOScNyOv.js → lifecycle-core-B6UoqYTJ.js} +5 -5
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{local-roots-Cco87A2_.js → local-roots-q0xbefkf.js} +2 -2
- package/dist/{login-Dl_lsEHS.js → login-CfUhrgWT.js} +4 -4
- package/dist/{login-qr-B68cBRH0.js → login-qr-DBMsUxgL.js} +7 -7
- package/dist/{logs-cli-BluGGq03.js → logs-cli-4VQ9Iwiw.js} +8 -8
- package/dist/{logs-cli-BN5TN6bg.js → logs-cli-u0WmYxx7.js} +3 -3
- package/dist/{manager-BBeTPO2h.js → manager-BMAFgXyU.js} +13 -13
- package/dist/{manifest-registry-RfRn8HJx.js → manifest-registry-Bak1x76G.js} +1 -1
- package/dist/{markdown-tables-C5hTDqNm.js → markdown-tables-DZClqsNo.js} +1 -1
- package/dist/{memory-cli-4wfelGdK.js → memory-cli-CUGwnVIY.js} +12 -12
- package/dist/{model-Bd-05WpB.js → model-C-icShH2.js} +2 -2
- package/dist/{model-catalog-BCsDrrvq.js → model-catalog-D9no0CH2.js} +3 -3
- package/dist/{model-picker-D3U0wJCO.js → model-picker-BkXoTOiA.js} +4 -4
- package/dist/{model-selection-CSn9tUuH.js → model-selection-0dGxYGp8.js} +16 -16
- package/dist/{models-cli-ChStpcQY.js → models-cli-CMwszgSD.js} +79 -79
- package/dist/{models-cli-dd-wJvj0.js → models-cli-DVAyIZ63.js} +7 -7
- package/dist/{models-config-lQpqp472.js → models-config-C5A1wDWh.js} +6 -6
- package/dist/{models-mQeB9JXZ.js → models-tZYpgts_.js} +3 -3
- package/dist/{node-cli-DhD8-NHR.js → node-cli-BYzjxmUY.js} +32 -32
- package/dist/{node-cli-BiQaHamJ.js → node-cli-CgeiQGbv.js} +1 -1
- package/dist/{node-service-GpI0jzKr.js → node-service-C3vyxHLA.js} +1 -1
- package/dist/{nodes-cli-tVCIBdL1.js → nodes-cli-DaE0WsOH.js} +3 -3
- package/dist/{nodes-cli-DPzxQ0mY.js → nodes-cli-kNOtp0U0.js} +14 -14
- package/dist/{nodes-screen-CIAn0wXq.js → nodes-screen-CcpPaFxa.js} +4 -4
- package/dist/{npm-registry-spec-BfeHLbIQ.js → npm-registry-spec-BCbbfIhX.js} +16 -16
- package/dist/{npm-resolution-WKW4cIrd.js → npm-resolution-By6bZkA-.js} +1 -1
- package/dist/{npm-resolution-tT1BUac2.js → npm-resolution-DLSA4PTO.js} +3 -3
- package/dist/{onboard-D1wKkHHC.js → onboard-B6eOxpDM.js} +3 -3
- package/dist/{onboard-rze7pzoW.js → onboard-CbXlbAx2.js} +6 -6
- package/dist/{onboard-channels-CRHp5hA-.js → onboard-channels-BISq46-i.js} +20 -20
- package/dist/{onboard-channels-CG1R8Ozs.js → onboard-channels-JPltbNGL.js} +2 -2
- package/dist/{onboard-custom-D2sCP3_S.js → onboard-custom-DUbzMMu7.js} +4 -4
- package/dist/{onboard-helpers-Dp6wXNs7.js → onboard-helpers-DWivfzcc.js} +1 -1
- package/dist/{onboard-helpers-ByhJg2ST.js → onboard-helpers-mzy38DiC.js} +8 -8
- package/dist/{onboard-hooks-_1Jgimeu.js → onboard-hooks-D9teGxfH.js} +4 -4
- package/dist/{onboard-remote-1ZZd5lcX.js → onboard-remote-BMo2C9Ae.js} +1 -1
- package/dist/{onboard-remote-DuhWSiAO.js → onboard-remote-LCBHijVE.js} +1 -1
- package/dist/{onboard-skills-BD_AS1Iy.js → onboard-skills-BrqATIYg.js} +1 -1
- package/dist/{onboard-skills-vFwEasAg.js → onboard-skills-jFY9gaOu.js} +4 -4
- package/dist/{onboarding-BxvY_aEE.js → onboarding-Da3n7Rvs.js} +13 -13
- package/dist/{onboarding-BgHfZNln.js → onboarding-DikyMlYG.js} +7 -7
- package/dist/{onboarding.finalize-DnCFQEPR.js → onboarding.finalize-Bp2ufMd0.js} +82 -82
- package/dist/{onboarding.finalize-5_UCPMAw.js → onboarding.finalize-CwYx5n3Z.js} +11 -11
- package/dist/{onboarding.gateway-config-qVAY6x7I.js → onboarding.gateway-config-Btu2gzgr.js} +16 -16
- package/dist/{onboarding.gateway-config-Czn7jKsq.js → onboarding.gateway-config-w3C9Yj3B.js} +3 -3
- package/dist/{openai-model-default-OPCCNNS0.js → openai-model-default-7J6cw1rA.js} +2 -2
- package/dist/{outbound-CG19kl0w.js → outbound-DPTxwchq.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-Bs7fNaqv.js → outbound-attachment-Bot3bRnK.js} +2 -2
- package/dist/{pairing-cli-QJYYDcIK.js → pairing-cli-jwx6hMsM.js} +10 -10
- package/dist/{pairing-labels-DuZ7ih-T.js → pairing-labels-ChQJzbS9.js} +1 -1
- package/dist/{pairing-store-qvpPoWL_.js → pairing-store-CPpEEQJO.js} +2 -2
- package/dist/{pairing-token-3hoCgQqp.js → pairing-token-lKXTMQ_M.js} +7 -7
- package/dist/{path-alias-guards-BCskHdfJ.js → path-alias-guards-FXBVVTLw.js} +3 -3
- package/dist/{path-safety-C1Y004P_.js → path-safety-DwibX65n.js} +1 -1
- package/dist/{paths-Bt0fZexW.js → paths-B-CLQ5RT.js} +9 -9
- package/dist/{pi-embedded-BcmA23Ak.js → pi-embedded-Bc4KWuTe.js} +13 -12
- package/dist/{pi-embedded-D_8x2ll-.js → pi-embedded-BeyOxL6U.js} +28 -27
- package/dist/{pi-embedded-helpers-BkzrQ5bZ.js → pi-embedded-helpers-BCsfqpDt.js} +6 -6
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-CyTpDKo5.js} +4 -4
- package/dist/{pi-model-discovery-Bt79ifyi.js → pi-model-discovery-BIP3RjXl.js} +1 -1
- package/dist/{pi-tools.policy-B_ME3yF6.js → pi-tools.policy-DfITIKZj.js} +5 -5
- package/dist/{plugin-auto-enable-BMuSi4aV.js → plugin-auto-enable-7DUxMy6A.js} +3 -3
- package/dist/{plugin-registry-CncOKeD3.js → plugin-registry-BY85d-vE.js} +1 -1
- package/dist/{plugin-registry-C3IHwz9i.js → plugin-registry-DROWinG6.js} +3 -3
- package/dist/plugin-sdk/{accounts-Kt6ygPsC.js → accounts-BLYMokxV.js} +2 -2
- package/dist/plugin-sdk/{accounts-mjFAny5F.js → accounts-C5tHm1UI.js} +1 -1
- package/dist/plugin-sdk/{accounts-B9nfRzyn.js → accounts-CBVAw5_G.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CU41EMlR.js → agent-scope-jl80I5G9.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-CDKZ0Jk9.js → agent-via-gateway-CXtWg-qx.js} +56 -55
- package/dist/plugin-sdk/{anton-Bp5L7uaN.js → anton-CGYTy9vy.js} +50 -13
- package/dist/plugin-sdk/{api-key-rotation-CZhCWd61.js → api-key-rotation-D6nK54XH.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CRgDehfO.js → audio-preflight-CKqqN8ty.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DycBvVqL.js → auth-store-DaPWgQTx.js} +1 -1
- package/dist/plugin-sdk/{bindings-BDKKHGv-.js → bindings-xXgmJGxj.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-TcS_VfJk.js → channel-activity-loOg1DRw.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DcgShj6y.js → channel-web-EFRSObCG.js} +24 -24
- package/dist/plugin-sdk/{chrome-BCTizrZD.js → chrome-Cb9FgiCI.js} +6 -6
- package/dist/plugin-sdk/{chunk-DZr5xuqv.js → chunk-PW4MBmaN.js} +1 -1
- package/dist/plugin-sdk/commands/agent/types.d.ts +1 -0
- package/dist/plugin-sdk/commands/agent-via-gateway.d.ts +1 -0
- package/dist/plugin-sdk/{commands-registry-BqJLwZYh.js → commands-registry-B5m2EsHz.js} +5 -5
- package/dist/plugin-sdk/{config-BzPMtEKA.js → config-CEgzwk0J.js} +10 -10
- package/dist/plugin-sdk/{deliver-Cfc1UCre.js → deliver-BNfMF0Nb.js} +10 -10
- package/dist/plugin-sdk/{deps-B5eQTF_d.js → deps-qZxPlSgp.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-B8VzcqLf.js → diagnostic-ByA6zvzu.js} +1 -1
- package/dist/plugin-sdk/{dock-CMURqoee.js → dock-DKQYtT6-.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-DQppo4RU.js → emergency-stop-CxcBz-aQ.js} +55 -55
- package/dist/plugin-sdk/{env-qurSiOO2.js → env-5XecRTLs.js} +1 -1
- package/dist/plugin-sdk/{errors-UqLewZJL.js → errors-CMcD8Lhh.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-C174s8ZV.js → fetch-guard-DwdUEdmT.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CCXTOK7j.js → fs-safe-qsx2_8-o.js} +2 -2
- package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
- package/dist/plugin-sdk/{image-DDuK8tyO.js → image-C_1tftC8.js} +6 -6
- package/dist/{image-ops-BkoEFRYH.js → plugin-sdk/image-ops-CXSUo-AM.js} +12 -12
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/plugin-sdk/{ir-Bv0Zbp2E.js → ir-kdDGpPMq.js} +5 -5
- package/dist/plugin-sdk/{local-roots-bHCsSVt_.js → local-roots-DjB6DYeI.js} +4 -4
- package/dist/plugin-sdk/{login-CkQrnY2G.js → login-DIwO5D5Y.js} +6 -6
- package/dist/plugin-sdk/{login-qr-DAeHibH_.js → login-qr-CpCAJuvT.js} +8 -8
- package/dist/plugin-sdk/{manager-CTC1S_c9.js → manager-Dox9r7og.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-DfUQHRZY.js → markdown-tables-Drtwd4J5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DiMXmQeQ.js → message-channel-CQ0qkGHj.js} +1 -1
- package/dist/plugin-sdk/{outbound-B1twcfz5.js → outbound-Dx_q6JAI.js} +6 -6
- package/dist/{outbound-attachment-jYdMgCml.js → plugin-sdk/outbound-attachment-BisU5Vji.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-yyy61qHh.js → path-alias-guards-C_uBEYb4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BAm9cWol.js → pi-embedded-helpers-B68z4sHq.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bt6JtUFr.js → pi-model-discovery-Dt6899be.js} +1 -1
- package/dist/plugin-sdk/{plugins-DRPlVBr_.js → plugins-NTjIvHYk.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-CY0evCZ2.js → pw-ai-Dk2PTZzq.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-BckPBwZX.js → qmd-manager-juzrnopq.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-CPqK-tTR.js → query-expansion-xBXvzdkL.js} +2 -2
- package/dist/plugin-sdk/{redact-Ub8sMBBC.js → redact-B6VQH3UQ.js} +1 -1
- package/dist/plugin-sdk/{replies-DwTNZJgi.js → replies-ZovJp-3F.js} +3 -3
- package/dist/plugin-sdk/{reply-BtQHoQT3.js → reply-nUO1aM3T.js} +97 -96
- package/dist/plugin-sdk/{reply-prefix-BqV0o7_7.js → reply-prefix--mxmTL7A.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DAdNGEqG.js → resolve-outbound-target-CnUtsDch.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-C5mAwY-o.js → resolve-route-BZABUE4J.js} +3 -3
- package/dist/plugin-sdk/{retry-2OVzZJMZ.js → retry-Bh7jveNm.js} +1 -1
- package/dist/plugin-sdk/{runner-Ck0w3rcz.js → runner-CZz1tOIR.js} +10 -10
- package/dist/plugin-sdk/{send-BBD-m-nM.js → send-0EVlThEG.js} +10 -10
- package/dist/plugin-sdk/{send-CaPoBwby.js → send-B26cNPqY.js} +6 -6
- package/dist/plugin-sdk/{send-CPeuqOlq.js → send-BCjVQhp3.js} +13 -13
- package/dist/plugin-sdk/{send-SsqudCMv.js → send-CHUGIZs9.js} +7 -7
- package/dist/plugin-sdk/{send-A4Lv5nrg.js → send-Cb5NIN8s.js} +7 -7
- package/dist/plugin-sdk/{session-DpL4uk1J.js → session-DdJj6_DW.js} +3 -3
- package/dist/plugin-sdk/{sessions-CQ5iD4Uq.js → sessions-DNx9c2O2.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-C_O9I71g.js → skill-commands-DorIK8kn.js} +5 -5
- package/dist/plugin-sdk/{skills-DmiIiX4l.js → skills-Dh_Cf2PA.js} +8 -8
- package/dist/plugin-sdk/{store-BI3rLJdW.js → store-CCCXwngh.js} +2 -2
- package/dist/plugin-sdk/{subsystem-lJo9gqAK.js → subsystem-DWPzKeZ0.js} +1 -1
- package/dist/plugin-sdk/{tables-C4X_nAUQ.js → tables-CF9W23Rd.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CXh6e9ZE.js → target-errors-DaH0qYtL.js} +2 -2
- package/dist/plugin-sdk/{tokens-CU9S3S7t.js → tokens-Y97UKh4C.js} +1 -1
- package/dist/plugin-sdk/{tool-images-Cf9aWlVu.js → tool-images-BMRkn_yk.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DuwkSqZL.js → tool-loop-detection-Cv8wyfAi.js} +2 -2
- package/dist/plugin-sdk/{utils-dP-FpIgu.js → utils-Dyj2wV4e.js} +2 -2
- package/dist/plugin-sdk/web-CEtAvhaI.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bcknq6EZ.js → whatsapp-actions-B5g-Rywy.js} +23 -23
- package/dist/{plugins-B4hASNc2.js → plugins-D46VZh7u.js} +2 -2
- package/dist/{plugins-cli-CMYlin6k.js → plugins-cli-RFXGkaxP.js} +6 -6
- package/dist/{plugins-cli-BMptU-1l.js → plugins-cli-b_o3IL7x.js} +80 -80
- package/dist/{ports-B07M55Gr.js → ports-B2o0FSFD.js} +1 -1
- package/dist/{ports-DWJO5S52.js → ports-SQy1d-RL.js} +2 -2
- package/dist/{program-context-BxflGz_G.js → program-context-D6irLwPo.js} +43 -43
- package/dist/{program-DyMaBEqF.js → program-vH6RTUOw.js} +11 -11
- package/dist/{prompt-select-styled-CI3hobey.js → prompt-select-styled-CDoDFWo7.js} +37 -37
- package/dist/{prompt-select-styled-es3PJxfH.js → prompt-select-styled-DFVvU0TH.js} +6 -6
- package/dist/{provider-auth-helpers-CrGScfnN.js → provider-auth-helpers-BCc5UtUa.js} +1 -1
- package/dist/{provider-auth-helpers-DYxaYmlq.js → provider-auth-helpers-CNRz0SFC.js} +5 -5
- package/dist/{push-apns-BNxgGXQy.js → push-apns-CHmvuoMu.js} +1 -1
- package/dist/{push-apns-CjAXPy2N.js → push-apns-e2xmxGGE.js} +5 -5
- package/dist/{pw-ai-BGALvhDi.js → pw-ai-7i9eGnLh.js} +11 -11
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-CowTfhOG.js} +1 -1
- package/dist/{qmd-manager-CVcPfkhL.js → qmd-manager-B-qeywfQ.js} +19 -19
- package/dist/{qr-cli-D2Oh8f0U.js → qr-cli-CSt5ihwG.js} +1 -1
- package/dist/{query-expansion-i5I3yavb.js → query-expansion-Clts_AGz.js} +12 -12
- package/dist/{redact-snapshot-CtIVs92s.js → redact-snapshot-BBNDQZIe.js} +1 -1
- package/dist/{register.agent-B9f0mtlc.js → register.agent-Dx7ULz49.js} +12 -12
- package/dist/{register.agent-DrVFgVpf.js → register.agent-HWcFMr6h.js} +95 -95
- package/dist/{register.configure-DAlBU97I.js → register.configure-BctHAiWh.js} +13 -13
- package/dist/register.configure-k8gocsJw.js +168 -0
- package/dist/{register.maintenance-BThQUyMI.js → register.maintenance-BYiX9iOa.js} +12 -12
- package/dist/{register.maintenance-G_dZOyQA.js → register.maintenance-C6o2WuQx.js} +90 -90
- package/dist/{register.message-DKaxesxx.js → register.message-BLScF2fV.js} +6 -6
- package/dist/{register.message-BVTuvjQA.js → register.message-BewFLd-k.js} +71 -71
- package/dist/{register.onboard-CwtL9YYR.js → register.onboard-BVm-2XAx.js} +5 -5
- package/dist/{register.onboard-CnoQ56yq.js → register.onboard-a0kqiCTa.js} +18 -18
- package/dist/{register.orchestrator-anton-2LtPHPXM.js → register.orchestrator-anton-BYyjV8R-.js} +17 -16
- package/dist/{register.orchestrator-anton-Ce55Lxt0.js → register.orchestrator-anton-Tn_RaMLq.js} +5 -4
- package/dist/{register.setup-Dg5LmRxd.js → register.setup-BJ0WBUpt.js} +5 -5
- package/dist/{register.setup-_s2CQaBF.js → register.setup-BwPJaqpH.js} +21 -21
- package/dist/{register.status-health-sessions-iSQzPXD0.js → register.status-health-sessions-Clzt8hbv.js} +82 -82
- package/dist/{register.status-health-sessions-DX2OgAeG.js → register.status-health-sessions-wbopjGL-.js} +8 -8
- package/dist/{register.subclis-YeKuHCRg.js → register.subclis-CrcOefJY.js} +21 -21
- package/dist/{replies-Czp4hvpS.js → replies-hSFVxL4h.js} +1 -1
- package/dist/{reply-DKIv9jez.js → reply-D5gCiiGr.js} +154 -154
- package/dist/{reply-prefix-BMEdvSpA.js → reply-prefix-C3y4zpTl.js} +1 -1
- package/dist/{resolve-route-Ef_Yt2Dw.js → resolve-route-D_AbcmD6.js} +2 -2
- package/dist/{rpc-DDTp_J6f.js → rpc-Cf9OK5Yk.js} +1 -1
- package/dist/{rpc-CasD0keJ.js → rpc-DVTovtI3.js} +1 -1
- package/dist/{run-main-BwWO5erE.js → run-main-BCX3UZMR.js} +18 -18
- package/dist/{runner-PgRFPYUj.js → runner-BzNdfqDz.js} +1 -1
- package/dist/{runner-BFG54hnb.js → runner-DzszLzI4.js} +20 -20
- package/dist/{runtime-DEmy759r.js → runtime-XmXLaHNk.js} +2 -2
- package/dist/{sandbox-CfPbhDY_.js → sandbox-DcUw5h3p.js} +20 -20
- package/dist/{sandbox-cli-B4wLJr21.js → sandbox-cli-DGvJ7Eeq.js} +22 -22
- package/dist/{secrets-cli-Bx9bIigZ.js → secrets-cli-C4UBK_LV.js} +3 -3
- package/dist/{secrets-cli-CidAOBfl.js → secrets-cli-CR3h2TBy.js} +9 -9
- package/dist/{security-cli-Ch7AhbhS.js → security-cli-B9_LV2po.js} +39 -39
- package/dist/{security-cli-e1WjvhRm.js → security-cli-an5u-5Jb.js} +3 -3
- package/dist/{send-DDMaLJAQ.js → send--lzpNy4f.js} +7 -7
- package/dist/{send-BCPkAE2k.js → send-C4v0Leny.js} +6 -6
- package/dist/{send-CEavqqEz.js → send-DQiw_nGD.js} +6 -6
- package/dist/{send-BPwTl4-K.js → send-DuwdEkLw.js} +4 -4
- package/dist/{send-CVIXqubC.js → send-DwdHiC7_.js} +13 -13
- package/dist/{server-BpSbZAwg.js → server-D6MltJIF.js} +14 -14
- package/dist/{server-context-BxNSTpH6.js → server-context-DI0W_H7R.js} +10 -10
- package/dist/{server-lifecycle-CGKrGrhM.js → server-lifecycle-B5PlrlbG.js} +2 -2
- package/dist/{server-node-events-lbb8M18B.js → server-node-events-CbVkqOtV.js} +6 -6
- package/dist/{server-node-events-CZ5OkouD.js → server-node-events-DvStFPGi.js} +71 -71
- package/dist/{service-Bj2oSfpw.js → service-C8NMS3m_.js} +15 -15
- package/dist/{session-BKVySI8q.js → session-CdnrRhb4.js} +1 -1
- package/dist/{sessions-BqWocozB.js → sessions-BtPXimXQ.js} +14 -14
- package/dist/{shared-DnQ4iyXk.js → shared-CpDPo3hJ.js} +2 -2
- package/dist/{shared-Jzrx8DfN.js → shared-DpLSpJIl.js} +1 -1
- package/dist/{skill-commands-BwIRWSCI.js → skill-commands-BFzmZAfo.js} +5 -5
- package/dist/{skill-scanner-B4Ftsbd2.js → skill-scanner-D7mzXRXd.js} +5 -5
- package/dist/{skills-TIyQDZx7.js → skills-DlvDyK8L.js} +3 -3
- package/dist/{skills-cli-5lbXi4Lh.js → skills-cli-BhKGhjbO.js} +5 -5
- package/dist/{skills-install-D0JHP5uM.js → skills-install-tr6wRWZj.js} +4 -4
- package/dist/{skills-status-Q9skQExW.js → skills-status-qjQ8XP0h.js} +1 -1
- package/dist/{status-Bd9NYE1U.js → status-CWnPokQF.js} +24 -24
- package/dist/{status-BE1Y0CKS.js → status-ClMOrHdT.js} +5 -5
- package/dist/{status.update-C3uRz7W6.js → status.update-CTi6vuWj.js} +2 -2
- package/dist/{store-CLNuI8-G.js → store-kH9wHHbO.js} +5 -5
- package/dist/{subagent-registry-CTZmDdGV.js → subagent-registry-BH5O1rxK.js} +15 -15
- package/dist/{system-cli-CHiaS_zS.js → system-cli-Dd-gBN0t.js} +3 -3
- package/dist/{system-cli-DBp9Zmvt.js → system-cli-DyVZ5udc.js} +8 -8
- package/dist/{system-run-approval-context-xZVoE4nS.js → system-run-approval-context-CISBXlNw.js} +1 -1
- package/dist/{system-run-command-BIhrK3OI.js → system-run-command-qJdgzxLp.js} +1 -1
- package/dist/{systemd-DyrVLTI0.js → systemd-CaCR5CyM.js} +9 -9
- package/dist/{systemd-hints-BoKKzRI_.js → systemd-hints-DHu-HVFx.js} +6 -6
- package/dist/{systemd-linger-DrhGd61G.js → systemd-linger-B7XlUHk_.js} +1 -1
- package/dist/{tables-CZSD889r.js → tables-g9xkflht.js} +1 -1
- package/dist/{target-errors-BYuWhuLU.js → target-errors-bLIVFsbF.js} +4 -4
- package/dist/{tool-images-DZHrc4pq.js → tool-images-CHqepyF_.js} +1 -1
- package/dist/{tui-BPgLehyv.js → tui-2u2ZDhHV.js} +2 -2
- package/dist/{tui-DWGHGeZ3.js → tui-Bne3YNiw.js} +6 -6
- package/dist/{tui-cli-9z2Sm8Qg.js → tui-cli-BWnIeq57.js} +3 -3
- package/dist/{tui-cli-DKyA5pZ2.js → tui-cli-D0Z-rcUe.js} +30 -30
- package/dist/{update-la2AdLf3.js → update-D79ppbMQ.js} +3 -3
- package/dist/{update-cli-DvUx2El6.js → update-cli-BTNcddEX.js} +99 -99
- package/dist/{update-cli-D-4_OhRR.js → update-cli-CxZD0ekr.js} +13 -13
- package/dist/{update-runner-n2snlf-4.js → update-runner-CN7Dm9tg.js} +15 -15
- package/dist/{update-runner-BvaywdEe.js → update-runner-tu2Aiphu.js} +1 -1
- package/dist/{upgrade-command-28wRHZZ2.js → upgrade-command-909a7QUc.js} +3 -3
- package/dist/web-BV-BEZj6.js +123 -0
- package/dist/{web-Dbrx58hF.js → web-Csmkqx1W.js} +8 -8
- package/dist/{web-BjP-D0Iz.js → web-DiqHxfw7.js} +3 -3
- package/dist/{web-BedV4zGE.js → web-aRaB-CvF.js} +6 -6
- package/dist/{webhooks-cli-BnmVPYkU.js → webhooks-cli-2N03q0iY.js} +6 -6
- package/dist/{whatsapp-actions-D2mBFzmK.js → whatsapp-actions-Cms8wQM1.js} +18 -18
- package/dist/{with-timeout-BodPmGCY.js → with-timeout-DEdycYxq.js} +3 -3
- package/dist/{workspace-CDw87aZG.js → workspace-D3pARwoB.js} +1 -1
- package/dist/{workspace-dirs-D3bousoX.js → workspace-dirs-SsExQ3Bz.js} +1 -1
- package/dist/{wsl-CgXDjE09.js → wsl-BJW8nTyL.js} +2 -2
- package/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/anton-DYEYyPJ1.js +0 -740
- package/dist/plugin-sdk/web-Cg6vlkku.js +0 -71
- package/dist/register.configure-BxZRBEJ9.js +0 -168
- package/dist/web-CDFWB79W.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-ChNR9pl6.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs 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 fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
11
11
|
try {
|
|
12
12
|
return await fn(tmpDir);
|
|
13
13
|
} finally {
|
|
14
|
-
await
|
|
14
|
+
await fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.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 fs.mkdir(backupRoot, { recursive: true });
|
|
257
|
+
await fs.rename(params.targetDir, backupDir);
|
|
258
258
|
}
|
|
259
259
|
const rollback = async () => {
|
|
260
260
|
if (!backupDir) return;
|
|
261
|
-
await
|
|
261
|
+
await fs.rm(params.targetDir, {
|
|
262
262
|
recursive: true,
|
|
263
263
|
force: true
|
|
264
264
|
}).catch(() => void 0);
|
|
265
|
-
await
|
|
265
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
266
266
|
};
|
|
267
267
|
try {
|
|
268
|
-
await
|
|
268
|
+
await fs.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 fs.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-BH5O1rxK.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-D5gCiiGr.js";
|
|
2
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.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-0dGxYGp8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -2,12 +2,12 @@ import { i as restoreTerminalState, n as defaultRuntime } from "./runtime-CgcH_F
|
|
|
2
2
|
import { Vt as resolveGatewayPort, tt as resolveUserPath } from "./entry.js";
|
|
3
3
|
import { L as writeConfigFile, N as readConfigFileSnapshot } from "./auth-profiles-Baj5ImDJ.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
5
|
-
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-
|
|
5
|
+
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-DWivfzcc.js";
|
|
6
6
|
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-DikyMlYG.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-HEN6Wk9G.js").then((n) => n.i);
|
|
254
254
|
await waitForGatewayReachable({
|
|
255
255
|
url: resolveControlUiLinks({
|
|
256
256
|
bind: gatewayResult.bind,
|
|
@@ -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-0dGxYGp8.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-mzy38DiC.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-Da3n7Rvs.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-D12Wsf7w.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-CYPo4M1M.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--GQAFTBr.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -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-D5gCiiGr.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.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-DwdHiC7_.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-D46VZh7u.js";
|
|
11
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-DLTODa_Z.js";
|
|
12
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-3HS_UAhJ.js";
|
|
13
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-DgbTKQoW.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-7DUxMy6A.js";
|
|
16
|
+
import { a as normalizeIMessageHandle } from "./send-DQiw_nGD.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-mzy38DiC.js";
|
|
18
|
+
import { t as loginWeb } from "./login-CfUhrgWT.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-o_s6PBsC.js";
|
|
23
|
+
import { a as extractArchive } from "./install-safe-path-ChNR9pl6.js";
|
|
24
|
+
import { n as recordPluginInstall, r as installPluginFromNpmSpec, t as buildNpmResolutionInstallFields } from "./installs-CNubze2L.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 fs$1 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 fs$1.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 fs$1.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 fs$1.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 fs$1.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 fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1155
1155
|
return {
|
|
1156
1156
|
ok: true,
|
|
1157
1157
|
cliPath,
|
|
@@ -9,11 +9,11 @@ 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-BH5O1rxK.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";
|
|
16
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
16
|
+
import { r as detectBinary } from "./onboard-helpers-DWivfzcc.js";
|
|
17
17
|
import { t as loginWeb } from "./login-BaXwiEpr.js";
|
|
18
18
|
import { t as resolveBrewExecutable } from "./brew-DCzX9msb.js";
|
|
19
19
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-CR9Dgy-x.js";
|
|
@@ -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-0dGxYGp8.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-CpDPo3hJ.js";
|
|
5
|
+
import { i as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-CGcniL1T.js";
|
|
6
|
+
import { r as applyPrimaryModel } from "./model-picker-BkXoTOiA.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-custom.ts
|
|
9
9
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -6,7 +6,7 @@ import { t as runCommandWithTimeout } from "./exec-BrP9AmCw.js";
|
|
|
6
6
|
import { r as VERSION } from "./env-vars-I4LX5XSX.js";
|
|
7
7
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-Qpj4ExtQ.js";
|
|
8
8
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-CC17i2eK.js";
|
|
9
|
-
import { n as callGateway } from "./call-
|
|
9
|
+
import { n as callGateway } from "./call-C82rD2Wn.js";
|
|
10
10
|
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-CE_62H5R.js";
|
|
11
11
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-DQgxklZD.js";
|
|
12
12
|
import { t as isWSL } from "./wsl-D4WQkPZu.js";
|
|
@@ -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-RA0zXRpu.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-0dGxYGp8.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-BpWhjuOg.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-BJW8nTyL.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 fs 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 fs.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 fs.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 fs.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-RA0zXRpu.js";
|
|
4
4
|
import "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import "./runtime-44j_X4Y6.js";
|
|
6
|
-
import "./idlehands-root-
|
|
6
|
+
import "./idlehands-root-B8cUs-5M.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-D3pARwoB.js";
|
|
12
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-DNGo2G8Q.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 { i as isSecureWebSocketUrl } from "./net-CE_62H5R.js";
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-DWivfzcc.js";
|
|
4
4
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CDpGHfpS.js";
|
|
5
5
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-xjvAm8hU.js";
|
|
6
6
|
|
|
@@ -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-mzy38DiC.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
|
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Vr as normalizeSecretInput } from "./auth-profiles-Baj5ImDJ.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
4
4
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DEWCCZdI.js";
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-DWivfzcc.js";
|
|
6
6
|
import { t as installSkill } from "./skills-install-DkQ2ndc6.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
@@ -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-0dGxYGp8.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-mzy38DiC.js";
|
|
5
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-qjQ8XP0h.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-tr6wRWZj.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -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-0dGxYGp8.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-mzy38DiC.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-LCBHijVE.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-0dGxYGp8.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-DUbzMMu7.js").then((n) => n.r);
|
|
234
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-DRR52LJT.js").then((n) => n.t);
|
|
235
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BkXoTOiA.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-Btu2gzgr.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-D46VZh7u.js").then((n) => n.i);
|
|
288
|
+
const { setupChannels } = await import("./onboard-channels-BISq46-i.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-jFY9gaOu.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-D9teGxfH.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-Bp2ufMd0.js");
|
|
315
315
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
316
316
|
flow,
|
|
317
317
|
opts,
|
|
@@ -41,7 +41,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
41
41
|
})) throw new WizardCancelledError("risk not accepted");
|
|
42
42
|
}
|
|
43
43
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
44
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
44
|
+
const onboardHelpers = await import("./onboard-helpers-DWivfzcc.js").then((n) => n.d);
|
|
45
45
|
onboardHelpers.printWizardHeader(runtime);
|
|
46
46
|
await prompter.intro("IdleHands onboarding");
|
|
47
47
|
await requireRiskAcknowledgement({
|
|
@@ -209,7 +209,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
209
209
|
}]
|
|
210
210
|
}));
|
|
211
211
|
if (mode === "remote") {
|
|
212
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
212
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-BMo2C9Ae.js").then((n) => n.t);
|
|
213
213
|
const { logConfigUpdated } = await import("./logging-MF6Thoxk.js").then((n) => n.r);
|
|
214
214
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
215
215
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -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-DVoPuwEs.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;
|
|
@@ -269,7 +269,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
269
269
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
270
270
|
}
|
|
271
271
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
272
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
272
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-w3C9Yj3B.js");
|
|
273
273
|
const gateway = await configureGatewayForOnboarding({
|
|
274
274
|
flow,
|
|
275
275
|
baseConfig,
|
|
@@ -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-JPltbNGL.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,
|
|
@@ -300,7 +300,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
300
300
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
301
301
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
302
302
|
else {
|
|
303
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
303
|
+
const { setupSkills } = await import("./onboard-skills-BrqATIYg.js").then((n) => n.t);
|
|
304
304
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
305
305
|
}
|
|
306
306
|
const { setupInternalHooks } = await import("./onboard-hooks-DZBC0VSD.js");
|
|
@@ -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-CwYx5n3Z.js");
|
|
314
314
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
315
315
|
flow,
|
|
316
316
|
opts,
|