autohand-cli 0.9.0 → 0.9.1
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/README.md +20 -2
- package/dist/{AgentRegistry-XPWSVO3Q.js → AgentRegistry-GOV7FN2O.js} +2 -2
- package/dist/AgentRegistry-J2C6JBZ3.cjs +10 -0
- package/dist/CommunitySkillsCache-22BB3J6H.cjs +8 -0
- package/dist/{CommunitySkillsCache-ZEQWP6YM.js → CommunitySkillsCache-ZACDPD4J.js} +2 -2
- package/dist/{HookManager-CWLTFKWO.js → HookManager-2S6AHOC3.js} +1 -1
- package/dist/{HookManager-TMAJQU4S.cjs → HookManager-TVEQI5ZU.cjs} +2 -2
- package/dist/{ImportWizard-QBKQEXDW.js → ImportWizard-AEBMAKXE.js} +4 -4
- package/dist/{ImportWizard-MQXEED2U.cjs → ImportWizard-AF2XL6DS.cjs} +13 -13
- package/dist/LearnAdvisor-KKEQ5QCV.js +9 -0
- package/dist/LearnAdvisor-Q7RAYLPF.cjs +9 -0
- package/dist/MemoryManager-PMNAEZMB.cjs +8 -0
- package/dist/{MemoryManager-WJMLPWGU.js → MemoryManager-QZRLTUB5.js} +2 -2
- package/dist/NVIDIAProvider-C3FWQOBZ.cjs +14 -0
- package/dist/{NVIDIAProvider-2HR737UE.js → NVIDIAProvider-SJPY3ONR.js} +1 -1
- package/dist/{PermissionManager-KMYILJ4Z.js → PermissionManager-MT7KBNNR.js} +3 -3
- package/dist/PermissionManager-URCNP5EC.cjs +11 -0
- package/dist/ProviderFactory-56N3ECE4.cjs +12 -0
- package/dist/{ProviderFactory-HFPRVQ25.js → ProviderFactory-RB4RVAF6.js} +3 -2
- package/dist/SessionManager-2IZGWASQ.cjs +10 -0
- package/dist/{SessionManager-PNBTJJTQ.js → SessionManager-554PHVPC.js} +2 -2
- package/dist/SkillsRegistry-GMRVONOQ.cjs +9 -0
- package/dist/{SkillsRegistry-4RRD5GMX.js → SkillsRegistry-NHHMIUYJ.js} +2 -2
- package/dist/SubAgent-4GOR2FIJ.js +13 -0
- package/dist/SubAgent-ZJMDH4FI.cjs +13 -0
- package/dist/{SyncApiClient-LRPFNCKJ.js → SyncApiClient-G3FM65IV.js} +1 -1
- package/dist/SyncApiClient-ODBDECOG.cjs +11 -0
- package/dist/{about-BW3PDZUU.js → about-3USFSGOH.js} +5 -4
- package/dist/about-QR52U5DD.cjs +15 -0
- package/dist/{acp-VHEL7BOW.js → acp-5Y2W6OZP.js} +129 -90
- package/dist/{acp-EOETGAHC.cjs → acp-GSYE75OB.cjs} +135 -96
- package/dist/actionExecutor-KHUU3Z3Q.cjs +28 -0
- package/dist/{actionExecutor-33I47NZS.js → actionExecutor-PLQJZLZV.js} +12 -8
- package/dist/add-dir-BTAD5OZS.cjs +11 -0
- package/dist/{add-dir-VFX7QT4E.js → add-dir-HCERJDBR.js} +2 -2
- package/dist/agent-B3EVT7NN.cjs +126 -0
- package/dist/agent-SATQ3WZ3.js +126 -0
- package/dist/agents-44CRJGM7.cjs +18 -0
- package/dist/agents-NN4ZAJ7R.js +18 -0
- package/dist/agents-new-6D6G4QS6.cjs +17 -0
- package/dist/agents-new-7GAQ25EK.js +17 -0
- package/dist/{autoSkill-EFMK6WU6.js → autoSkill-66PKCYTW.js} +2 -2
- package/dist/autoSkill-VQLGBELN.cjs +20 -0
- package/dist/automode-45DWV4TN.cjs +10 -0
- package/dist/{automode-BMYSRM34.js → automode-BUF3VGXU.js} +2 -2
- package/dist/chrome-Q2U73HZB.cjs +50 -0
- package/dist/chrome-Q54OALOK.cjs +21 -0
- package/dist/{chrome-NHJ44WUN.js → chrome-Y3T7EIHG.js} +2 -2
- package/dist/chrome-ZNJ46OYW.js +21 -0
- package/dist/{chunk-D2OSPLYC.cjs → chunk-22SCR3EV.cjs} +2 -2
- package/dist/chunk-26G7YGOW.js +367 -0
- package/dist/{chunk-75EDROHL.cjs → chunk-2ESQR35E.cjs} +10 -10
- package/dist/{chunk-HKYZSUQ5.js → chunk-2IW5YFJ4.js} +4 -4
- package/dist/{chunk-JP3YHTQ2.cjs → chunk-3ICORF7M.cjs} +4 -4
- package/dist/{chunk-4256YRCO.cjs → chunk-3UC6DMFI.cjs} +30 -17
- package/dist/{chunk-6GUODJKM.cjs → chunk-3UHRCHKB.cjs} +23 -23
- package/dist/{chunk-HXJEGMGB.js → chunk-3ZOOH44N.js} +2 -2
- package/dist/{chunk-7RFJB75Y.js → chunk-44ZWOBTI.js} +9 -9
- package/dist/{chunk-CCVMREXI.js → chunk-4567QNRB.js} +32 -8
- package/dist/chunk-45CHNQM6.cjs +517 -0
- package/dist/{chunk-6NVAK6CK.js → chunk-4E7SHPNQ.js} +2 -2
- package/dist/{chunk-XGMI6IYB.cjs → chunk-4XFHP2SN.cjs} +7 -7
- package/dist/chunk-4XVLNOFA.js +360 -0
- package/dist/{chunk-D6GZBSOX.js → chunk-575PXZX7.js} +1 -1
- package/dist/{chunk-HJIXWGQZ.js → chunk-5A7ZL64N.js} +1 -1
- package/dist/{chunk-ROLA6EFO.cjs → chunk-5GCQ5UMV.cjs} +14 -14
- package/dist/{chunk-3DDL2E55.cjs → chunk-5SFV2NCY.cjs} +10 -10
- package/dist/chunk-5ZNYX4VH.cjs +71 -0
- package/dist/{chunk-PDHT7LQS.cjs → chunk-63ANVAOJ.cjs} +3 -3
- package/dist/{chunk-GWO66KBI.js → chunk-65LRPW5W.js} +1 -1
- package/dist/{chunk-IAGCRVJ3.js → chunk-6AYJCDTA.js} +14 -9
- package/dist/{chunk-A7HHCIDQ.js → chunk-6HF6XSCC.js} +2 -2
- package/dist/{chunk-47PHDKNW.cjs → chunk-6JWCGQJU.cjs} +6 -6
- package/dist/chunk-6OECOAK5.cjs +360 -0
- package/dist/{chunk-RBHANOYY.js → chunk-7DJJGKM6.js} +47 -3
- package/dist/{chunk-37M5UM6I.js → chunk-7IRQ7JEH.js} +1 -1
- package/dist/chunk-7MY4JHER.js +27 -0
- package/dist/{chunk-ZR46OJNZ.js → chunk-7PJKTSRN.js} +3 -3
- package/dist/{chunk-AC7DZ6SK.cjs → chunk-7PT646AL.cjs} +3 -3
- package/dist/{chunk-TKKN34TV.js → chunk-7WAUCLLQ.js} +3 -3
- package/dist/{chunk-DPSIGY6L.cjs → chunk-7XTUL7ZD.cjs} +9 -9
- package/dist/{chunk-GBMDFWJX.cjs → chunk-AE2ILW25.cjs} +13 -13
- package/dist/{chunk-BQ22N3TX.cjs → chunk-AOKXYGBQ.cjs} +27 -22
- package/dist/{chunk-REMGR23V.cjs → chunk-AQ5PVHOC.cjs} +7 -2
- package/dist/{chunk-AUYSIEVV.cjs → chunk-AZ47LKD5.cjs} +3 -3
- package/dist/chunk-B76FJKEJ.cjs +184 -0
- package/dist/{chunk-XV2HXRHX.js → chunk-BP37FVBM.js} +3 -3
- package/dist/{chunk-JIMSII7R.js → chunk-C46B72VK.js} +57 -10
- package/dist/{chunk-L4F7SUYL.js → chunk-C5QIQQ37.js} +3 -3
- package/dist/{chunk-AUFNACED.js → chunk-CCIDL4SA.js} +7094 -6126
- package/dist/{chunk-OV3PVUYN.js → chunk-CECH6QQP.js} +11 -11
- package/dist/{chunk-CH2J4PVE.cjs → chunk-CK4HAHVY.cjs} +13 -13
- package/dist/{chunk-Q2IL4DDI.cjs → chunk-CO2AADYU.cjs} +19 -14
- package/dist/{chunk-7JLT2VNW.cjs → chunk-CRTCZ4WL.cjs} +7533 -6565
- package/dist/{chunk-5JFTY3VU.js → chunk-CSTUTDTH.js} +2 -1
- package/dist/{chunk-DIZTWFVR.cjs → chunk-D546G7DA.cjs} +209 -55
- package/dist/{chunk-7HPWMALN.js → chunk-DGBPWODD.js} +1 -1
- package/dist/{chunk-RBZ7AFX7.cjs → chunk-DHUQZ53B.cjs} +2 -2
- package/dist/{chunk-U4C3HW6P.js → chunk-DNSD7DVJ.js} +2 -2
- package/dist/{chunk-SOLBYSLY.cjs → chunk-DSSCERHI.cjs} +2 -2
- package/dist/{chunk-OPNI6O7F.cjs → chunk-EA2MS25U.cjs} +4 -4
- package/dist/{chunk-E46DJH5S.js → chunk-EEHWALXA.js} +94 -3
- package/dist/{chunk-CFFE4VA3.js → chunk-EYHKL4QC.js} +1 -1
- package/dist/{chunk-FGT6KK6T.js → chunk-FBQJZKFX.js} +3 -3
- package/dist/{chunk-I24CWKKK.js → chunk-FFHSCM5M.js} +3 -3
- package/dist/{chunk-TXPSTCG7.cjs → chunk-GAOPJ5S3.cjs} +8 -8
- package/dist/{chunk-ARBEHFCG.js → chunk-GSDV75A5.js} +1 -1
- package/dist/{chunk-Z3XSSF7B.js → chunk-H426KOGY.js} +1 -1
- package/dist/{chunk-WRTXCQ3V.cjs → chunk-HC2Q6A3E.cjs} +858 -182
- package/dist/{chunk-IGMPWJ2I.cjs → chunk-HG3ZASBH.cjs} +8 -8
- package/dist/chunk-HK5A54AV.cjs +280 -0
- package/dist/{chunk-2HOLOHVK.js → chunk-HSWWM6AM.js} +136 -15
- package/dist/chunk-HTU4W3GB.js +183 -0
- package/dist/{chunk-5CMYEM3R.cjs → chunk-HVCIB4SW.cjs} +3 -3
- package/dist/chunk-HXHE2KAO.js +385 -0
- package/dist/{chunk-NMQ47RCG.js → chunk-HZWU6IO3.js} +5 -2
- package/dist/{chunk-ZPD2AO3U.js → chunk-I2ZK3AOD.js} +2 -2
- package/dist/{chunk-3UT7R3XV.js → chunk-IEPLQ47J.js} +61 -5
- package/dist/{chunk-3PXKRVCW.js → chunk-JB3JCYBJ.js} +7 -2
- package/dist/chunk-JCUHCH37.cjs +247 -0
- package/dist/{chunk-VBOFPU5M.cjs → chunk-JM3ZTQUK.cjs} +13 -9
- package/dist/{chunk-WZV6UVPY.js → chunk-JMJRFSNJ.js} +1 -1
- package/dist/{chunk-QKP772OZ.js → chunk-JPFRI4L4.js} +756 -80
- package/dist/{chunk-MOJ7ADW4.cjs → chunk-JV5HVCHU.cjs} +2 -2
- package/dist/{chunk-LN7D3EJZ.js → chunk-KA2U6MY2.js} +4 -3
- package/dist/{chunk-E26KKI46.cjs → chunk-KASXKDF2.cjs} +3 -1
- package/dist/chunk-KJ26T7GM.cjs +367 -0
- package/dist/chunk-KM7R5YPS.cjs +385 -0
- package/dist/{chunk-5F6ZKSHO.js → chunk-KMP6Y3LJ.js} +1 -1
- package/dist/chunk-KWXGDSYT.js +184 -0
- package/dist/{chunk-LDJQ5QHG.cjs → chunk-L46OUKW5.cjs} +15 -15
- package/dist/{chunk-Z4LIPMPM.js → chunk-L6OH44HL.js} +13 -9
- package/dist/chunk-LANGD5CO.js +280 -0
- package/dist/{chunk-CBFH2J3O.js → chunk-LEZEWKPA.js} +150 -7
- package/dist/{chunk-FQAVGSPW.js → chunk-M5DK524Z.js} +2 -2
- package/dist/{chunk-7LWQCE4Y.cjs → chunk-M7B7RRBK.cjs} +72 -25
- package/dist/{chunk-BWF4VDYE.js → chunk-MANJ67D3.js} +2 -2
- package/dist/{chunk-PHJO5YAL.cjs → chunk-MGNXABSU.cjs} +9 -9
- package/dist/{chunk-62RTC3XX.js → chunk-MMKZSJUN.js} +1 -1
- package/dist/{chunk-3KLSNNRW.cjs → chunk-MQQH4XQH.cjs} +4 -4
- package/dist/{chunk-HS4USDND.cjs → chunk-MZN6JBRZ.cjs} +2 -2
- package/dist/{chunk-AT7OWLY5.js → chunk-NB6M6ESM.js} +1 -1
- package/dist/{chunk-TQ33WBY5.cjs → chunk-NHWHEW7M.cjs} +2 -1
- package/dist/chunk-NQZH5CR2.cjs +468 -0
- package/dist/{chunk-2CGE7ZV3.cjs → chunk-NV6LCD2I.cjs} +119 -28
- package/dist/chunk-NVATU4V6.cjs +44 -0
- package/dist/{chunk-DLP436GI.js → chunk-NZ3ZWLUW.js} +2 -2
- package/dist/{chunk-IEXKKKOF.cjs → chunk-NZ7GCK7Y.cjs} +23 -23
- package/dist/{chunk-MQESBFBZ.cjs → chunk-NZQFKXM3.cjs} +21 -20
- package/dist/{chunk-QQ7PANOP.js → chunk-O5GI6SR3.js} +1 -1
- package/dist/{chunk-J5ADZN6V.cjs → chunk-OCATAKXV.cjs} +20 -20
- package/dist/{chunk-JYKPWK5O.js → chunk-OIGYWOL6.js} +1 -1
- package/dist/{chunk-O6TQP7U7.cjs → chunk-ONVYXTUT.cjs} +3 -3
- package/dist/{chunk-MPULXVC4.cjs → chunk-OV3T5MUH.cjs} +11 -11
- package/dist/{chunk-DMRXF5DU.js → chunk-P4FUTSVK.js} +3 -3
- package/dist/{chunk-MXVIDIC6.cjs → chunk-P6SLT2F4.cjs} +2 -2
- package/dist/{chunk-BL2UC7HC.js → chunk-PGFLPURU.js} +1 -1
- package/dist/{chunk-CWINVFRI.cjs → chunk-PIXQ2AVM.cjs} +17 -17
- package/dist/{chunk-MO4KP6XS.cjs → chunk-PNIAIOMZ.cjs} +5 -5
- package/dist/{chunk-HQWQZML5.cjs → chunk-PQBYFEBL.cjs} +2 -2
- package/dist/{chunk-UGFVM77J.cjs → chunk-PSAH4ZQB.cjs} +2 -2
- package/dist/{chunk-Y3M2DABP.js → chunk-PTTZI4QZ.js} +4 -4
- package/dist/{chunk-Q6AC3PHY.cjs → chunk-PY73W5MQ.cjs} +4 -4
- package/dist/{chunk-B5CGDNMR.js → chunk-PZZMIYII.js} +3 -3
- package/dist/{chunk-VRMZO6TB.js → chunk-Q3BS6FPM.js} +7 -6
- package/dist/chunk-QBYGMMDD.js +517 -0
- package/dist/{chunk-3LJJG5YY.cjs → chunk-QLZOMZO5.cjs} +4 -3
- package/dist/{chunk-3S563FNF.cjs → chunk-QQ64HEHP.cjs} +31 -31
- package/dist/{chunk-TBOLJDUG.js → chunk-QRQF3556.js} +12 -7
- package/dist/{chunk-ZZ63NW7A.cjs → chunk-RBXBH6EB.cjs} +17 -17
- package/dist/{chunk-PUD76XQT.cjs → chunk-RFUKZIJF.cjs} +5 -5
- package/dist/chunk-RS2E32YB.js +71 -0
- package/dist/{chunk-7MU7LWF3.cjs → chunk-S5JNQIGL.cjs} +5 -5
- package/dist/{chunk-BFQDQRDE.js → chunk-S5QKRA2V.js} +2 -2
- package/dist/{chunk-IKUMVBCW.cjs → chunk-SD3NTC7D.cjs} +48 -4
- package/dist/{chunk-PQLKJCIE.js → chunk-SDLY4X3G.js} +2 -2
- package/dist/{chunk-VKBIE6I6.js → chunk-SFFEKZGC.js} +2 -2
- package/dist/{chunk-TWQDAUZU.js → chunk-SHRLFX6F.js} +3 -1
- package/dist/{chunk-UEIXJG45.js → chunk-SNDDZG5H.js} +88 -72
- package/dist/{chunk-AOKCI722.cjs → chunk-SOVR7S3T.cjs} +2 -2
- package/dist/{chunk-M4KNC5BQ.js → chunk-SPQ7QIQ6.js} +1 -1
- package/dist/{chunk-QCHIDZBA.js → chunk-SRMGWMQO.js} +1 -1
- package/dist/{chunk-ZHJ7JGME.cjs → chunk-SVVP4UUZ.cjs} +11 -11
- package/dist/{chunk-CHI52KFR.cjs → chunk-SY2P3Z5W.cjs} +150 -7
- package/dist/chunk-SZD45IDG.js +468 -0
- package/dist/{chunk-VGEV44V2.cjs → chunk-TE4SYTWR.cjs} +189 -28
- package/dist/{chunk-YV63VW4K.js → chunk-TR6NECEZ.js} +1 -1
- package/dist/{chunk-GZ6DV2UG.js → chunk-TYBPTKFT.js} +1 -1
- package/dist/{chunk-5VHP6HDQ.js → chunk-U2QUMKCB.js} +1 -1
- package/dist/{chunk-6HH236FV.cjs → chunk-U6PLSPMD.cjs} +2 -2
- package/dist/{chunk-EZJHLOWP.js → chunk-UWZ4G3SQ.js} +20 -7
- package/dist/{chunk-UXLW45ZE.cjs → chunk-V3SZLWEQ.cjs} +25 -90
- package/dist/chunk-V4HGZSKQ.cjs +183 -0
- package/dist/{chunk-2QL6MNXG.js → chunk-V5ELP2XE.js} +6 -6
- package/dist/{chunk-N6O3XUZ2.cjs → chunk-VKOXFT4L.cjs} +2 -2
- package/dist/{chunk-J2K57QM7.cjs → chunk-VLGGMQUN.cjs} +6 -6
- package/dist/{chunk-HSCUPEA4.cjs → chunk-VQHSYAPZ.cjs} +11 -11
- package/dist/{chunk-DEQVRSV5.cjs → chunk-W5QLA6WP.cjs} +8 -8
- package/dist/chunk-WJYFLQ7G.cjs +27 -0
- package/dist/{chunk-MX75JYIY.js → chunk-WNJXIACY.js} +3 -3
- package/dist/{chunk-OHWMWKJQ.js → chunk-WPE2XHVX.js} +1 -1
- package/dist/{chunk-O64I2GYI.js → chunk-X3TI5TJJ.js} +1 -1
- package/dist/{chunk-46C73ZKK.cjs → chunk-X5P6QQOB.cjs} +66 -10
- package/dist/{chunk-TJNBASFD.cjs → chunk-X7XMITIL.cjs} +8 -8
- package/dist/{chunk-E6GFD7VR.cjs → chunk-XNIMSVS6.cjs} +11 -11
- package/dist/{chunk-WGLBC5AY.cjs → chunk-XW3XCK4E.cjs} +4 -4
- package/dist/{chunk-OM24WXEE.js → chunk-XZVDYC5U.js} +1 -1
- package/dist/{chunk-UWFG2R2I.cjs → chunk-Y5BDE24P.cjs} +33 -9
- package/dist/{chunk-GGLKUENP.js → chunk-YC5OBZQU.js} +161 -7
- package/dist/{chunk-JJ4KA7HK.cjs → chunk-YISPVAXO.cjs} +371 -250
- package/dist/{chunk-SWCQM52V.js → chunk-YQDI753V.js} +4 -4
- package/dist/{chunk-KNTUI4TZ.cjs → chunk-YWH55BWK.cjs} +9 -6
- package/dist/{chunk-ACDQGA4Z.js → chunk-YXM6SA7P.js} +7 -72
- package/dist/{chunk-3GUEUCZK.js → chunk-ZNGRLCFQ.js} +2 -0
- package/dist/{chunk-LQBONA55.cjs → chunk-ZNYZB7XY.cjs} +2 -0
- package/dist/{chunk-XIVFAD2L.js → chunk-ZPLCAXJW.js} +172 -11
- package/dist/chunk-ZUYYHKQA.js +44 -0
- package/dist/clear-QJXU25IF.cjs +12 -0
- package/dist/{clear-OFLFQ3MR.js → clear-Y5TO3RZA.js} +2 -2
- package/dist/communityInstaller-LXMVKVAV.cjs +22 -0
- package/dist/{communityInstaller-COB2KTOW.js → communityInstaller-RVL4STPS.js} +6 -6
- package/dist/completion-JX4T2ONW.cjs +17 -0
- package/dist/{completion-PT4VM2H2.js → completion-SE3XYG74.js} +5 -5
- package/dist/config-3224PRW4.cjs +21 -0
- package/dist/{config-R4O7GBTY.js → config-7KPHKFTP.js} +4 -3
- package/dist/{constants-HVCHVQAF.js → constants-EJFAWJQI.js} +1 -1
- package/dist/constants-MCCGUU5F.cjs +21 -0
- package/dist/{export-3PK3VFCE.js → export-BJVIDZC4.js} +5 -5
- package/dist/export-KU4557HK.cjs +15 -0
- package/dist/feature-K3LG5IJP.cjs +14 -0
- package/dist/feature-V4JF5TNJ.js +14 -0
- package/dist/features-5OJTLKS7.js +23 -0
- package/dist/features-VCBJQXCX.cjs +23 -0
- package/dist/feedback-D4437VE4.js +18 -0
- package/dist/feedback-VZPEHGFY.cjs +18 -0
- package/dist/go-X4E6BCD6.js +12 -0
- package/dist/go-XREVFS5I.cjs +12 -0
- package/dist/goal-4M3J6JS2.cjs +16 -0
- package/dist/goal-EI66BV7W.js +16 -0
- package/dist/help-GGFS7WHY.cjs +12 -0
- package/dist/{help-X3OAZ3CY.js → help-MLIROWKM.js} +2 -2
- package/dist/{history-YKFPHBJN.js → history-GQJ6RZD6.js} +2 -2
- package/dist/history-J4LUIOSI.cjs +14 -0
- package/dist/hooks-FSRIUS6A.cjs +18 -0
- package/dist/{hooks-7TA4PIIB.js → hooks-PPFHCF7T.js} +6 -6
- package/dist/i18n-CI6VFXL5.cjs +33 -0
- package/dist/{i18n-2KBUU7XL.js → i18n-Q7UZJRPL.js} +1 -1
- package/dist/ide-BUSVE54P.js +15 -0
- package/dist/ide-YR27BPGM.cjs +15 -0
- package/dist/{import-4CHYLS4K.js → import-3VBKI6BN.js} +3 -3
- package/dist/{import-I7T4ZHYL.cjs → import-C7S6UJMW.cjs} +3 -3
- package/dist/import-DBK4OCDF.cjs +10 -0
- package/dist/{import-JWPYKXCZ.js → import-U47DXCA7.js} +2 -2
- package/dist/index.cjs +267 -170
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +165 -68
- package/dist/init-OXTYS72D.cjs +10 -0
- package/dist/{init-262MWZV4.js → init-Q2O4R42R.js} +2 -2
- package/dist/{inputPrompt-YGBHDUEP.js → inputPrompt-3CFZDUBH.js} +2 -2
- package/dist/inputPrompt-JMACL4EB.cjs +90 -0
- package/dist/language-EK3M6UBV.cjs +22 -0
- package/dist/language-Q3RUGGOW.js +22 -0
- package/dist/learn-3DSX7DYG.cjs +23 -0
- package/dist/learn-OPOH5L43.js +23 -0
- package/dist/login-GST7MWXJ.cjs +27 -0
- package/dist/login-Q7DZKAX4.js +27 -0
- package/dist/logout-2G7OUK7I.cjs +24 -0
- package/dist/logout-FNBBL2UI.js +24 -0
- package/dist/{mcp-5O6PUL4G.js → mcp-AH3MMUBU.js} +7 -6
- package/dist/mcp-DW7R63IB.cjs +21 -0
- package/dist/{mcp-install-6XWXLFVY.js → mcp-install-222PCKSW.js} +9 -8
- package/dist/{mcp-install-P6DHES7V.cjs → mcp-install-IA4ZS2SV.cjs} +14 -13
- package/dist/memory-6NX3DAIY.cjs +10 -0
- package/dist/{memory-Q54CESNM.js → memory-VB46T5H3.js} +2 -2
- package/dist/model-64NAELFS.cjs +10 -0
- package/dist/{model-6AJ77PJG.js → model-SJJG64AM.js} +2 -2
- package/dist/new-DU5SOOOY.cjs +12 -0
- package/dist/{new-ZXHEWC2S.js → new-ERZ5C6CN.js} +2 -2
- package/dist/onboarding-2U2BV2KE.cjs +36 -0
- package/dist/{onboarding-JYNMK6NI.js → onboarding-ZQXMPSMJ.js} +14 -13
- package/dist/{permissions-YHJMVA6L.js → permissions-7ACNFK7A.js} +2 -2
- package/dist/permissions-GSNNV7RJ.cjs +10 -0
- package/dist/{quit-GWTNHQSP.js → quit-WY6T267G.js} +2 -2
- package/dist/quit-XIRE2KRE.cjs +10 -0
- package/dist/{registry-34GL6BNJ.js → registry-4DXUDKJN.js} +1 -1
- package/dist/{registry-V24W7YK6.cjs → registry-UEO3ETZ7.cjs} +21 -21
- package/dist/resume-RQZ3WXBP.cjs +17 -0
- package/dist/resume-XSXZMDMD.js +17 -0
- package/dist/{rpc-S3DGW6KV.js → rpc-XH7QLN4H.js} +251 -107
- package/dist/{rpc-NPS3PU4O.cjs → rpc-YF54T7JU.cjs} +347 -203
- package/dist/search-VXXFGZWU.cjs +21 -0
- package/dist/search-YAWGX7P7.js +21 -0
- package/dist/{sessions-IYAXMK23.js → sessions-NJYHJOEL.js} +2 -2
- package/dist/sessions-OSG3UJEZ.cjs +10 -0
- package/dist/settings-SO2UIGWV.cjs +42 -0
- package/dist/{settings-55BNW6BF.js → settings-ZXUQH3DO.js} +17 -8
- package/dist/setup-KG7EGKF5.js +30 -0
- package/dist/setup-RSOPCQ57.cjs +30 -0
- package/dist/share-WFAGZ5PY.js +17 -0
- package/dist/share-ZU3SGACF.cjs +17 -0
- package/dist/skills-KBVAQAD2.cjs +29 -0
- package/dist/{skills-VWOMV3CR.js → skills-NBTNDVAY.js} +8 -8
- package/dist/{skills-MVIZNHT4.js → skills-OB6RDW7D.js} +9 -9
- package/dist/{skills-GGMZOVIE.cjs → skills-ZROBG3RZ.cjs} +10 -10
- package/dist/{skills-install-QBA5RCV6.js → skills-install-BHTIEMKH.js} +7 -7
- package/dist/{skills-install-VTAMCNNY.cjs → skills-install-ILX6QVEF.cjs} +15 -15
- package/dist/skills-new-B45VQ2PP.cjs +18 -0
- package/dist/skills-new-YMRP2HNO.js +18 -0
- package/dist/slashCommands-53VYIBJU.js +105 -0
- package/dist/slashCommands-BG2RGGZ6.cjs +105 -0
- package/dist/status-CQ2IUOVK.cjs +24 -0
- package/dist/status-E7IGNVPC.js +24 -0
- package/dist/{sync-7OKF6636.js → sync-7C25MOT2.js} +6 -5
- package/dist/{sync-7BILIQHP.js → sync-OCJN4ZSO.js} +3 -3
- package/dist/sync-XRP46IVG.cjs +40 -0
- package/dist/sync-ZMFVE7T4.cjs +22 -0
- package/dist/{teammate-J6PHGL23.cjs → teammate-D77B6QRT.cjs} +9 -8
- package/dist/{teammate-GZQSCIMS.js → teammate-EZCMHOIL.js} +8 -7
- package/dist/templates-ARG2VRWW.cjs +11 -0
- package/dist/templates-UGVZV3KJ.js +11 -0
- package/dist/theme-KKRDE6P7.cjs +22 -0
- package/dist/theme-XF7XIWBQ.js +22 -0
- package/dist/ui/questionModal.cjs +6 -6
- package/dist/ui/questionModal.js +5 -5
- package/dist/{undo-SZEHLX7X.js → undo-GNUTFXCW.js} +2 -2
- package/dist/undo-U4KN7QQM.cjs +10 -0
- package/dist/usage-QSTNSDAO.js +24 -0
- package/dist/usage-YDEMQBNQ.cjs +24 -0
- package/package.json +7 -2
- package/dist/AgentRegistry-EGBDIUAK.cjs +0 -10
- package/dist/CommunitySkillsCache-2OIUV227.cjs +0 -8
- package/dist/LearnAdvisor-46FG2XIP.js +0 -9
- package/dist/LearnAdvisor-XBRDNAGH.cjs +0 -9
- package/dist/MemoryManager-34L4YOKA.cjs +0 -8
- package/dist/NVIDIAProvider-MVTL62PR.cjs +0 -14
- package/dist/PermissionManager-5OOJ7FAT.cjs +0 -11
- package/dist/ProviderFactory-C3YPXTDD.cjs +0 -11
- package/dist/SessionManager-WAPTFMDO.cjs +0 -10
- package/dist/SkillsRegistry-7AJP74GJ.cjs +0 -9
- package/dist/SubAgent-FDIH3DXB.js +0 -11
- package/dist/SubAgent-HVL2ICVZ.cjs +0 -11
- package/dist/SyncApiClient-VMBOLQ6H.cjs +0 -11
- package/dist/about-FCAX37YC.cjs +0 -14
- package/dist/actionExecutor-4YBMR3YH.cjs +0 -24
- package/dist/add-dir-7SS6KSH5.cjs +0 -11
- package/dist/agent-DMRUFU4M.cjs +0 -116
- package/dist/agent-WCJEYQJT.js +0 -116
- package/dist/agents-CHROO3VU.cjs +0 -17
- package/dist/agents-UVDUL65K.js +0 -17
- package/dist/agents-new-AUBWSOXP.js +0 -17
- package/dist/agents-new-Y562WC47.cjs +0 -17
- package/dist/autoSkill-YOLLFTP2.cjs +0 -20
- package/dist/automode-DBLKTTKD.cjs +0 -10
- package/dist/chrome-ATC4OO5I.cjs +0 -20
- package/dist/chrome-O62WXV7F.js +0 -20
- package/dist/chrome-XHJLCO4M.cjs +0 -50
- package/dist/chunk-6XVVIY54.cjs +0 -256
- package/dist/chunk-AU6JAGZJ.cjs +0 -231
- package/dist/chunk-VDWJMWDF.js +0 -256
- package/dist/clear-33TWQ2ES.cjs +0 -12
- package/dist/communityInstaller-TWMGPSYM.cjs +0 -22
- package/dist/completion-IIZMHXYP.cjs +0 -17
- package/dist/config-KL6WU7R2.cjs +0 -20
- package/dist/constants-RLMJ5D5P.cjs +0 -21
- package/dist/export-WLGNWEMJ.cjs +0 -15
- package/dist/feedback-G635NCLJ.js +0 -18
- package/dist/feedback-LLMK3TZH.cjs +0 -18
- package/dist/help-BAXLP2M2.cjs +0 -12
- package/dist/history-6HOJSEMT.cjs +0 -14
- package/dist/hooks-XVFU67T2.cjs +0 -18
- package/dist/i18n-MUJMKTFM.cjs +0 -33
- package/dist/ide-CCQ33PGC.cjs +0 -15
- package/dist/ide-VLVFBZ5F.js +0 -15
- package/dist/import-J46F54JY.cjs +0 -10
- package/dist/init-EE5Y7RBL.cjs +0 -10
- package/dist/inputPrompt-IIFKCX5Q.cjs +0 -90
- package/dist/language-CVLPB7OV.js +0 -21
- package/dist/language-ZTWFHUSV.cjs +0 -21
- package/dist/learn-PON7I5QS.js +0 -23
- package/dist/learn-XLRSVNA3.cjs +0 -23
- package/dist/login-223QTGBG.cjs +0 -26
- package/dist/login-6IKTBUBY.js +0 -26
- package/dist/logout-RN2AG6SI.js +0 -23
- package/dist/logout-U3M4FFX7.cjs +0 -23
- package/dist/mcp-NUQ76QQB.cjs +0 -20
- package/dist/memory-CYMDQ2YC.cjs +0 -10
- package/dist/model-IDRCKDML.cjs +0 -10
- package/dist/new-7LEWOUF2.cjs +0 -12
- package/dist/onboarding-FXX7YHSJ.cjs +0 -35
- package/dist/permissions-YBNSANIA.cjs +0 -10
- package/dist/quit-B43SJ6E4.cjs +0 -10
- package/dist/resume-DYVOQN5L.cjs +0 -16
- package/dist/resume-M25UQKOX.js +0 -16
- package/dist/search-CPX4PWHP.js +0 -20
- package/dist/search-VUF3M4N3.cjs +0 -20
- package/dist/sessions-JODKER5D.cjs +0 -10
- package/dist/settings-BKTS7OMC.cjs +0 -33
- package/dist/setup-IRC5HQG2.js +0 -29
- package/dist/setup-MMQ7TWOP.cjs +0 -29
- package/dist/share-6JRQECAH.cjs +0 -17
- package/dist/share-YM5MJKMO.js +0 -17
- package/dist/skills-LWSOKOSH.cjs +0 -29
- package/dist/skills-new-GPL46YV2.js +0 -18
- package/dist/skills-new-L5BEZN5V.cjs +0 -18
- package/dist/slashCommands-FBPCIWM5.cjs +0 -95
- package/dist/slashCommands-FCWY5DXW.js +0 -95
- package/dist/status-3B5SDZPL.js +0 -17
- package/dist/status-TTGRF6NC.cjs +0 -17
- package/dist/sync-77CXVVTK.cjs +0 -21
- package/dist/sync-EH4K5U3N.cjs +0 -40
- package/dist/theme-64BYGJ57.cjs +0 -21
- package/dist/theme-YJE6HEON.js +0 -21
- package/dist/undo-PRTEGL2J.cjs +0 -10
package/dist/index.d.cts
CHANGED
|
@@ -23,6 +23,8 @@ interface CLIOptions {
|
|
|
23
23
|
unrestricted?: boolean;
|
|
24
24
|
/** Run in restricted mode - deny all dangerous operations */
|
|
25
25
|
restricted?: boolean;
|
|
26
|
+
/** Non-interactive /goal command input. Empty value prints goal status. */
|
|
27
|
+
goal?: string;
|
|
26
28
|
/** Client context for tool filtering (default: 'cli') */
|
|
27
29
|
clientContext?: ClientContext;
|
|
28
30
|
/** Auto-commit with LLM-generated message (runs lint & test first) */
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ interface CLIOptions {
|
|
|
23
23
|
unrestricted?: boolean;
|
|
24
24
|
/** Run in restricted mode - deny all dangerous operations */
|
|
25
25
|
restricted?: boolean;
|
|
26
|
+
/** Non-interactive /goal command input. Empty value prints goal status. */
|
|
27
|
+
goal?: string;
|
|
26
28
|
/** Client context for tool filtering (default: 'cli') */
|
|
27
29
|
clientContext?: ClientContext;
|
|
28
30
|
/** Auto-commit with LLM-generated message (runs lint & test first) */
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
installProcessErrorHandlers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7WAUCLLQ.js";
|
|
5
|
+
import {
|
|
6
|
+
printStartupCheckResults,
|
|
7
|
+
runStartupChecks,
|
|
8
|
+
validateWorkspacePath
|
|
9
|
+
} from "./chunk-KA2U6MY2.js";
|
|
5
10
|
import {
|
|
6
11
|
formatInstallHint,
|
|
7
12
|
formatStartupBanner,
|
|
@@ -14,12 +19,7 @@ import {
|
|
|
14
19
|
formatWelcomeVersionPrefix,
|
|
15
20
|
isSessionWorktreeEnabled,
|
|
16
21
|
prepareSessionWorktree
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
printStartupCheckResults,
|
|
20
|
-
runStartupChecks,
|
|
21
|
-
validateWorkspacePath
|
|
22
|
-
} from "./chunk-LN7D3EJZ.js";
|
|
22
|
+
} from "./chunk-C46B72VK.js";
|
|
23
23
|
import {
|
|
24
24
|
normalizeMcpCommandForConfig
|
|
25
25
|
} from "./chunk-WQ3VJXZB.js";
|
|
@@ -32,40 +32,42 @@ import {
|
|
|
32
32
|
normalizeBrowsers,
|
|
33
33
|
openChromeContinuation,
|
|
34
34
|
resolveCliLaunchSpec
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GSDV75A5.js";
|
|
36
36
|
import {
|
|
37
37
|
ensureAuthenticated,
|
|
38
38
|
getAuthClient
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6AYJCDTA.js";
|
|
40
40
|
import {
|
|
41
41
|
checkForUpdates,
|
|
42
42
|
getInstallHint
|
|
43
43
|
} from "./chunk-GLBAF54O.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
getTerminalColumns,
|
|
46
|
+
renderAutohandLogo
|
|
47
|
+
} from "./chunk-7DJJGKM6.js";
|
|
47
48
|
import {
|
|
48
49
|
package_default
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JB3JCYBJ.js";
|
|
50
51
|
import "./chunk-FQVG6ZHF.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-NZ3ZWLUW.js";
|
|
53
|
+
import "./chunk-HZWU6IO3.js";
|
|
54
|
+
import "./chunk-CSTUTDTH.js";
|
|
54
55
|
import {
|
|
55
56
|
getProviderConfig,
|
|
56
57
|
loadConfig,
|
|
57
58
|
resolveWorkspaceRoot,
|
|
58
59
|
saveConfig
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-IEPLQ47J.js";
|
|
61
|
+
import "./chunk-5A7ZL64N.js";
|
|
61
62
|
import "./chunk-YZWE7XSM.js";
|
|
63
|
+
import "./chunk-LANGD5CO.js";
|
|
62
64
|
import "./chunk-NBGOIFKP.js";
|
|
63
65
|
import "./chunk-JAQO6XDB.js";
|
|
64
66
|
import {
|
|
65
67
|
AUTOHAND_FILES,
|
|
66
68
|
AUTOHAND_HOME,
|
|
67
69
|
PROJECT_DIR_NAME
|
|
68
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-SHRLFX6F.js";
|
|
69
71
|
import "./chunk-UOQECODR.js";
|
|
70
72
|
import {
|
|
71
73
|
checkWorkspaceSafety,
|
|
@@ -74,7 +76,7 @@ import {
|
|
|
74
76
|
import {
|
|
75
77
|
detectLocale,
|
|
76
78
|
initI18n
|
|
77
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-LEZEWKPA.js";
|
|
78
80
|
import "./chunk-QGM4M3NI.js";
|
|
79
81
|
|
|
80
82
|
// src/index.ts
|
|
@@ -444,7 +446,7 @@ function getCommitFromAlphaVersion(version) {
|
|
|
444
446
|
}
|
|
445
447
|
function getGitCommit() {
|
|
446
448
|
if (true) {
|
|
447
|
-
return "
|
|
449
|
+
return "da69f79";
|
|
448
450
|
}
|
|
449
451
|
const alphaCommit = getCommitFromAlphaVersion(package_default.version);
|
|
450
452
|
if (alphaCommit) {
|
|
@@ -521,7 +523,7 @@ async function validateAuthOnStartup(config) {
|
|
|
521
523
|
installProcessErrorHandlers();
|
|
522
524
|
var program = new Command();
|
|
523
525
|
registerChromeCommand(program);
|
|
524
|
-
program.name("autohand").description("Autonomous coding agent").version(getVersionString(), "-v, --version", "output the current version").argument("[prompt]", "Run a single instruction in command mode (same as -p)").option("-p, --prompt [text]", "Run a single instruction in command mode").option("--path <path>", "Workspace path to operate in").option("-y, --yes", "Auto-confirm risky actions", false).option("--dry-run", "Preview actions without applying mutations", false).option("-d, --debug", "Enable debug output (verbose logging)", false).option("--model <model>", "Override the configured LLM model").option("--config <path>", "Path to config file (default ~/.autohand/config.json)").option("--temperature <value>", "Sampling temperature", parseFloat).option("--thinking [level]", "Set thinking/reasoning depth (none, normal, extended)").option("-c, --auto-commit", "Auto-commit with LLM-generated message (runs lint & test first)", false).option("--unrestricted", "Run without any approval prompts (use with caution)", false).option("--restricted", "Deny all dangerous operations automatically", false).option("--auto-skill", "Auto-generate skills based on project analysis", false).option("--learn", "Run /learn skill advisor non-interactively (analyze and install recommended skills)", false).option("--learn-update", "Re-analyze project and regenerate outdated LLM-generated skills", false).option("--skill-install [skill-name]", "Install a community skill (opens browser if no name)").option("--project", "Install skill to project level (with --skill-install)", false).option("--permissions", "Display current permission settings and exit", false).option("--settings", "Configure Autohand settings (same as /settings in interactive mode)", false).option("--login", "Sign in to your Autohand account", false).option("--logout", "Sign out of your Autohand account", false).option("--sync-settings [bool]", "Enable/disable settings sync (default: true for logged users)").option("--patch", "Generate git patch without applying changes (requires --prompt)", false).option("--output <file>", "Output file for patch (default: stdout, used with --patch)").option("--mode <mode>", "Run mode: interactive (default), rpc, or acp", "interactive").option("--acp", "Shorthand for --mode acp (Agent Client Protocol over stdio)", false).option("--teammate-mode <mode>", "Team display mode: auto, in-process, or tmux").option("--worktree [name]", "Run session in isolated git worktree (optional name)").option("--tmux", "Launch in a dedicated tmux session (implies --worktree)").option("--auto-mode [prompt]", "Enable interactive auto-mode, or start a standalone loop with an inline task").option("--max-iterations <n>", "Max auto-mode iterations (default: 50)", parseInt).option("--completion-promise <text>", 'Completion marker text (default: "DONE")').option("--no-worktree", "Disable git worktree isolation in auto-mode").option("--checkpoint-interval <n>", "Git commit every N iterations (default: 5)", parseInt).option("--max-runtime <m>", "Max runtime in minutes (default: 120)", parseInt).option("--max-cost <d>", "Max API cost in dollars (default: 10)", parseFloat).option("--interactive-on-complete", "After auto-mode ends, hand off directly to interactive mode (TTY only)", false).option("--setup", "Run the setup wizard to configure or reconfigure Autohand", false).option("--about", "Show information about Autohand", false).option("--feedback", "Submit feedback", false).option("--add-dir <path...>", "Add additional directories to workspace scope (can be used multiple times)").option("--display-language <locale>", "Set display language (e.g., en, zh-cn, fr, de, ja)").option("--cc, --context-compact", "Enable context compaction (default: on)").option("--no-cc, --no-context-compact", "Disable context compaction").option("--search-engine <provider>", "Set web search provider (google, brave, duckduckgo, parallel)").option("--sys-prompt <value>", "Replace entire system prompt (inline string or file path)").option("--append-sys-prompt <value>", "Append to system prompt (inline string or file path)").option("--yolo [pattern]", "Auto-approve tool calls matching pattern (e.g., allow:read,write or deny:delete)").option("--timeout <seconds>", "Timeout in seconds for auto-approve mode", parseInt).option("--chrome", "Enable Chrome browser integration (same as /chrome)").option("--no-chrome", "Disable Chrome browser integration").action(async (positionalPrompt, opts) => {
|
|
526
|
+
program.name("autohand").description("Autonomous coding agent").version(getVersionString(), "-v, --version", "output the current version").argument("[prompt]", "Run a single instruction in command mode (same as -p)").option("-p, --prompt [text]", "Run a single instruction in command mode").option("--path <path>", "Workspace path to operate in").option("-y, --yes", "Auto-confirm risky actions", false).option("--dry-run", "Preview actions without applying mutations", false).option("-d, --debug", "Enable debug output (verbose logging)", false).option("--model <model>", "Override the configured LLM model").option("--config <path>", "Path to config file (default ~/.autohand/config.json)").option("--temperature <value>", "Sampling temperature", parseFloat).option("--thinking [level]", "Set thinking/reasoning depth (none, normal, extended)").option("-c, --auto-commit", "Auto-commit with LLM-generated message (runs lint & test first)", false).option("--unrestricted", "Run without any approval prompts (use with caution)", false).option("--restricted", "Deny all dangerous operations automatically", false).option("--goal [input]", "Run /goal non-interactively (status when omitted, otherwise same arguments as /goal)").option("--auto-skill", "Auto-generate skills based on project analysis", false).option("--learn", "Run /learn skill advisor non-interactively (analyze and install recommended skills)", false).option("--learn-update", "Re-analyze project and regenerate outdated LLM-generated skills", false).option("--skill-install [skill-name]", "Install a community skill (opens browser if no name)").option("--project", "Install skill to project level (with --skill-install)", false).option("--permissions", "Display current permission settings and exit", false).option("--settings", "Configure Autohand settings (same as /settings in interactive mode)", false).option("--login", "Sign in to your Autohand account", false).option("--logout", "Sign out of your Autohand account", false).option("--sync-settings [bool]", "Enable/disable settings sync (default: true for logged users)").option("--patch", "Generate git patch without applying changes (requires --prompt)", false).option("--output <file>", "Output file for patch (default: stdout, used with --patch)").option("--mode <mode>", "Run mode: interactive (default), rpc, or acp", "interactive").option("--acp", "Shorthand for --mode acp (Agent Client Protocol over stdio)", false).option("--teammate-mode <mode>", "Team display mode: auto, in-process, or tmux").option("--worktree [name]", "Run session in isolated git worktree (optional name)").option("--tmux", "Launch in a dedicated tmux session (implies --worktree)").option("--auto-mode [prompt]", "Enable interactive auto-mode, or start a standalone loop with an inline task").option("--max-iterations <n>", "Max auto-mode iterations (default: 50)", parseInt).option("--completion-promise <text>", 'Completion marker text (default: "DONE")').option("--no-worktree", "Disable git worktree isolation in auto-mode").option("--checkpoint-interval <n>", "Git commit every N iterations (default: 5)", parseInt).option("--max-runtime <m>", "Max runtime in minutes (default: 120)", parseInt).option("--max-cost <d>", "Max API cost in dollars (default: 10)", parseFloat).option("--interactive-on-complete", "After auto-mode ends, hand off directly to interactive mode (TTY only)", false).option("--setup", "Run the setup wizard to configure or reconfigure Autohand", false).option("--about", "Show information about Autohand", false).option("--feedback", "Submit feedback", false).option("--add-dir <path...>", "Add additional directories to workspace scope (can be used multiple times)").option("--display-language <locale>", "Set display language (e.g., en, id, zh-cn, fr, de, ja)").option("--cc, --context-compact", "Enable context compaction (default: on)").option("--no-cc, --no-context-compact", "Disable context compaction").option("--search-engine <provider>", "Set web search provider (google, brave, duckduckgo, parallel)").option("--sys-prompt <value>", "Replace entire system prompt (inline string or file path)").option("--append-sys-prompt <value>", "Append to system prompt (inline string or file path)").option("--yolo [pattern]", "Auto-approve tool calls matching pattern (e.g., allow:read,write or deny:delete)").option("--timeout <seconds>", "Timeout in seconds for auto-approve mode", parseInt).option("--chrome", "Enable Chrome browser integration (same as /chrome)").option("--no-chrome", "Disable Chrome browser integration").action(async (positionalPrompt, opts) => {
|
|
525
527
|
if (process.stdout.isTTY && process.env.AUTOHAND_NO_BANNER !== "1") {
|
|
526
528
|
process.stdout.write("\x1B[3J\x1B[2J\x1B[H");
|
|
527
529
|
}
|
|
@@ -531,6 +533,9 @@ program.name("autohand").description("Autonomous coding agent").version(getVersi
|
|
|
531
533
|
if (opts.autoMode === true) {
|
|
532
534
|
opts.autoMode = void 0;
|
|
533
535
|
}
|
|
536
|
+
if (opts.goal === true) {
|
|
537
|
+
opts.goal = "";
|
|
538
|
+
}
|
|
534
539
|
if (positionalPrompt && !opts.prompt) {
|
|
535
540
|
opts.prompt = positionalPrompt;
|
|
536
541
|
}
|
|
@@ -567,33 +572,34 @@ program.name("autohand").description("Autonomous coding agent").version(getVersi
|
|
|
567
572
|
}
|
|
568
573
|
if (opts.settings) {
|
|
569
574
|
const config = await loadConfig(opts.config, process.cwd());
|
|
570
|
-
const { settings } = await import("./settings-
|
|
575
|
+
const { settings } = await import("./settings-ZXUQH3DO.js");
|
|
571
576
|
await settings({ config });
|
|
572
577
|
process.exit(0);
|
|
573
578
|
}
|
|
574
579
|
if (opts.login) {
|
|
575
|
-
const { login } = await import("./login-
|
|
580
|
+
const { login } = await import("./login-Q7DZKAX4.js");
|
|
576
581
|
const config = await loadConfig(opts.config);
|
|
577
582
|
await login({ config });
|
|
578
583
|
process.exit(0);
|
|
579
584
|
}
|
|
580
585
|
if (opts.logout) {
|
|
581
|
-
const { logout } = await import("./logout-
|
|
586
|
+
const { logout } = await import("./logout-FNBBL2UI.js");
|
|
582
587
|
const config = await loadConfig(opts.config);
|
|
583
588
|
await logout({ config });
|
|
584
589
|
process.exit(0);
|
|
585
590
|
}
|
|
586
591
|
if (opts.about) {
|
|
587
|
-
const { initI18n: initI18n2, detectLocale: detectLocale2 } = await import("./i18n-
|
|
588
|
-
const { about } = await import("./about-
|
|
592
|
+
const { initI18n: initI18n2, detectLocale: detectLocale2 } = await import("./i18n-Q7UZJRPL.js");
|
|
593
|
+
const { about } = await import("./about-3USFSGOH.js");
|
|
589
594
|
const { locale } = detectLocale2();
|
|
590
595
|
await initI18n2(locale);
|
|
591
|
-
await
|
|
596
|
+
const config = await loadConfig(opts.config);
|
|
597
|
+
await about({ config });
|
|
592
598
|
process.exit(0);
|
|
593
599
|
}
|
|
594
600
|
if (opts.feedback) {
|
|
595
|
-
const { initI18n: initI18n2, detectLocale: detectLocale2 } = await import("./i18n-
|
|
596
|
-
const { feedback } = await import("./feedback-
|
|
601
|
+
const { initI18n: initI18n2, detectLocale: detectLocale2 } = await import("./i18n-Q7UZJRPL.js");
|
|
602
|
+
const { feedback } = await import("./feedback-D4437VE4.js");
|
|
597
603
|
const { locale } = detectLocale2();
|
|
598
604
|
await initI18n2(locale);
|
|
599
605
|
const config = await loadConfig(opts.config);
|
|
@@ -613,7 +619,7 @@ program.name("autohand").description("Autonomous coding agent").version(getVersi
|
|
|
613
619
|
printDangerousWorkspaceWarning(workspaceRoot, safetyCheck);
|
|
614
620
|
process.exit(1);
|
|
615
621
|
}
|
|
616
|
-
const { SetupWizard } = await import("./onboarding-
|
|
622
|
+
const { SetupWizard } = await import("./onboarding-ZQXMPSMJ.js");
|
|
617
623
|
const wizard = new SetupWizard(workspaceRoot, config);
|
|
618
624
|
const result = await wizard.run({ skipWelcome: false });
|
|
619
625
|
if (result.cancelled) {
|
|
@@ -653,6 +659,12 @@ program.name("autohand").description("Autonomous coding agent").version(getVersi
|
|
|
653
659
|
if (opts.cc !== void 0) {
|
|
654
660
|
opts.contextCompact = opts.cc;
|
|
655
661
|
}
|
|
662
|
+
if (opts.goal !== void 0) {
|
|
663
|
+
await runGoalFlag(opts);
|
|
664
|
+
if (!opts.prompt) {
|
|
665
|
+
return;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
656
668
|
if (opts.noChrome) {
|
|
657
669
|
const config = await loadConfig(opts.config, process.cwd());
|
|
658
670
|
if (config.chrome) {
|
|
@@ -671,17 +683,17 @@ program.name("autohand").description("Autonomous coding agent").version(getVersi
|
|
|
671
683
|
}
|
|
672
684
|
}
|
|
673
685
|
if (opts.mode === "rpc") {
|
|
674
|
-
const { runRpcMode } = await import("./rpc-
|
|
686
|
+
const { runRpcMode } = await import("./rpc-XH7QLN4H.js");
|
|
675
687
|
await runRpcMode(opts);
|
|
676
688
|
return;
|
|
677
689
|
}
|
|
678
690
|
if (opts.mode === "acp") {
|
|
679
|
-
const { runAcpMode } = await import("./acp-
|
|
691
|
+
const { runAcpMode } = await import("./acp-5Y2W6OZP.js");
|
|
680
692
|
await runAcpMode(opts);
|
|
681
693
|
return;
|
|
682
694
|
}
|
|
683
695
|
if (opts.mode === "teammate") {
|
|
684
|
-
const { parseTeammateOptions, runTeammateMode } = await import("./teammate-
|
|
696
|
+
const { parseTeammateOptions, runTeammateMode } = await import("./teammate-EZCMHOIL.js");
|
|
685
697
|
const teammateOpts = parseTeammateOptions(process.argv);
|
|
686
698
|
if (!teammateOpts) {
|
|
687
699
|
console.error("Error: --mode teammate requires --team, --name, --agent, and --lead-session");
|
|
@@ -718,23 +730,32 @@ program.command("resume <sessionId>").description("Resume a previous session").o
|
|
|
718
730
|
await runCLI({ ...opts, resumeSessionId: sessionId });
|
|
719
731
|
});
|
|
720
732
|
program.command("login").description("Sign in to your Autohand account").action(async () => {
|
|
721
|
-
const { login } = await import("./login-
|
|
733
|
+
const { login } = await import("./login-Q7DZKAX4.js");
|
|
722
734
|
const config = await loadConfig();
|
|
723
735
|
await login({ config });
|
|
724
736
|
process.exit(0);
|
|
725
737
|
});
|
|
726
738
|
program.command("logout").description("Sign out of your Autohand account").action(async () => {
|
|
727
|
-
const { logout } = await import("./logout-
|
|
739
|
+
const { logout } = await import("./logout-FNBBL2UI.js");
|
|
728
740
|
const config = await loadConfig();
|
|
729
741
|
await logout({ config });
|
|
730
742
|
process.exit(0);
|
|
731
743
|
});
|
|
732
|
-
program.command("config").description("Configure Autohand settings
|
|
733
|
-
const config = await loadConfig();
|
|
734
|
-
const { settings } = await import("./settings-
|
|
744
|
+
var configCmd = program.command("config").description("Configure Autohand settings").action(async () => {
|
|
745
|
+
const config = await loadConfig(program.opts().config);
|
|
746
|
+
const { settings } = await import("./settings-ZXUQH3DO.js");
|
|
735
747
|
await settings({ config });
|
|
736
748
|
process.exit(0);
|
|
737
749
|
});
|
|
750
|
+
configCmd.command("set <parts...>").description("Set a config value, e.g. autohand config set verbs activity false").action(async (parts) => {
|
|
751
|
+
const config = await loadConfig(program.opts().config);
|
|
752
|
+
const { parseConfigSetArgs, setConfigSetting } = await import("./settings-ZXUQH3DO.js");
|
|
753
|
+
const { key, value } = parseConfigSetArgs(parts);
|
|
754
|
+
const result = setConfigSetting(config, key, value);
|
|
755
|
+
await saveConfig(config);
|
|
756
|
+
console.log(chalk2.green(`Set ${result.key} = ${String(result.value)}`));
|
|
757
|
+
process.exit(0);
|
|
758
|
+
});
|
|
738
759
|
var mcpCmd = program.command("mcp").description("Manage MCP (Model Context Protocol) servers");
|
|
739
760
|
mcpCmd.command("add <name> <target> [args...]").description("Add an MCP server to config and auto-connect on next session").option("-t, --transport <transport>", "Transport type: stdio | http | sse", "stdio").option("-s, --scope <scope>", "Config scope: user | project", "user").action(async (name, target, serverArgs, options) => {
|
|
740
761
|
let config;
|
|
@@ -893,18 +914,72 @@ mcpCmd.command("install [server-name]").description("Browse and install communit
|
|
|
893
914
|
}
|
|
894
915
|
const { McpClientManager } = await import("./McpClientManager-SL35BR24.js");
|
|
895
916
|
const manager = new McpClientManager();
|
|
896
|
-
const { mcpInstall } = await import("./mcp-install-
|
|
917
|
+
const { mcpInstall } = await import("./mcp-install-222PCKSW.js");
|
|
897
918
|
const result = await mcpInstall({ mcpManager: manager, config }, serverName);
|
|
898
919
|
if (result) console.log(result);
|
|
899
920
|
await manager.disconnectAll().catch(() => {
|
|
900
921
|
});
|
|
901
922
|
process.exit(0);
|
|
902
923
|
});
|
|
924
|
+
var featuresCmd = program.command("features").description("List and toggle Autohand feature switches").action(async () => {
|
|
925
|
+
const { features } = await import("./features-5OJTLKS7.js");
|
|
926
|
+
const config = await loadConfig(program.opts().config);
|
|
927
|
+
const result = await features({ config }, ["list"]);
|
|
928
|
+
if (result) console.log(result);
|
|
929
|
+
process.exit(0);
|
|
930
|
+
});
|
|
931
|
+
featuresCmd.command("list").alias("ls").description("List feature switches and current state").action(async () => {
|
|
932
|
+
const { features } = await import("./features-5OJTLKS7.js");
|
|
933
|
+
const config = await loadConfig(program.opts().config);
|
|
934
|
+
const result = await features({ config }, ["list"]);
|
|
935
|
+
if (result) console.log(result);
|
|
936
|
+
process.exit(0);
|
|
937
|
+
});
|
|
938
|
+
featuresCmd.command("status <feature>").alias("show").description("Show one feature switch").action(async (featureId) => {
|
|
939
|
+
const { features } = await import("./features-5OJTLKS7.js");
|
|
940
|
+
const config = await loadConfig(program.opts().config);
|
|
941
|
+
const result = await features({ config }, ["status", featureId]);
|
|
942
|
+
if (result?.startsWith("Unknown feature")) {
|
|
943
|
+
console.log(chalk2.red(result));
|
|
944
|
+
process.exit(1);
|
|
945
|
+
}
|
|
946
|
+
if (result) console.log(result);
|
|
947
|
+
process.exit(0);
|
|
948
|
+
});
|
|
949
|
+
featuresCmd.command("refresh").description("Download remote feature flags from the Autohand API").action(async () => {
|
|
950
|
+
const { features } = await import("./features-5OJTLKS7.js");
|
|
951
|
+
const config = await loadConfig(program.opts().config);
|
|
952
|
+
const result = await features({ config }, ["refresh"]);
|
|
953
|
+
if (result) console.log(result);
|
|
954
|
+
process.exit(0);
|
|
955
|
+
});
|
|
956
|
+
featuresCmd.command("enable <feature>").description("Enable a feature switch").action(async (featureId) => {
|
|
957
|
+
const { setFeatureEnabled } = await import("./features-5OJTLKS7.js");
|
|
958
|
+
const config = await loadConfig(program.opts().config);
|
|
959
|
+
const result = await setFeatureEnabled(config, featureId, true);
|
|
960
|
+
if (result.startsWith("Unknown feature")) {
|
|
961
|
+
console.log(chalk2.red(result));
|
|
962
|
+
process.exit(1);
|
|
963
|
+
}
|
|
964
|
+
console.log(result);
|
|
965
|
+
process.exit(0);
|
|
966
|
+
});
|
|
967
|
+
featuresCmd.command("disable <feature>").description("Disable a feature switch").action(async (featureId) => {
|
|
968
|
+
const { setFeatureEnabled } = await import("./features-5OJTLKS7.js");
|
|
969
|
+
const config = await loadConfig(program.opts().config);
|
|
970
|
+
const result = await setFeatureEnabled(config, featureId, false);
|
|
971
|
+
if (result.startsWith("Unknown feature")) {
|
|
972
|
+
console.log(chalk2.red(result));
|
|
973
|
+
process.exit(1);
|
|
974
|
+
}
|
|
975
|
+
console.log(result);
|
|
976
|
+
process.exit(0);
|
|
977
|
+
});
|
|
903
978
|
program.command("sessions").description("List saved sessions").option("--project <name>", "Filter sessions by project name").action(async (opts) => {
|
|
904
|
-
const { SessionManager } = await import("./SessionManager-
|
|
979
|
+
const { SessionManager } = await import("./SessionManager-554PHVPC.js");
|
|
905
980
|
const sessionManager = new SessionManager();
|
|
906
981
|
await sessionManager.initialize();
|
|
907
|
-
const { sessions } = await import("./sessions-
|
|
982
|
+
const { sessions } = await import("./sessions-NJYHJOEL.js");
|
|
908
983
|
const args = opts.project ? ["--project", opts.project] : [];
|
|
909
984
|
await sessions({ sessionManager, args });
|
|
910
985
|
process.exit(0);
|
|
@@ -937,7 +1012,7 @@ program.command("init").description("Create an AGENTS.md file in the workspace")
|
|
|
937
1012
|
process.exit(0);
|
|
938
1013
|
});
|
|
939
1014
|
program.command("completion <shell>").description("Generate shell completion scripts (bash, zsh, fish)").action(async (shell) => {
|
|
940
|
-
const { runCompletionCommand } = await import("./completion-
|
|
1015
|
+
const { runCompletionCommand } = await import("./completion-SE3XYG74.js");
|
|
941
1016
|
await runCompletionCommand(shell);
|
|
942
1017
|
process.exit(0);
|
|
943
1018
|
});
|
|
@@ -956,7 +1031,7 @@ program.command("upgrade").description("Check for updates and install if availab
|
|
|
956
1031
|
});
|
|
957
1032
|
});
|
|
958
1033
|
program.command("import [source]").description("Import data from other coding agents (claude, codex, gemini, cursor, cline, continue, augment)").option("--all", "Import all available categories without prompting").option("--categories <list>", "Comma-separated list of categories to import (sessions,settings,skills,memory,mcp,hooks)", (val) => val.split(",")).option("--dry-run", "Preview what would be imported without making changes").option("--retry-failed", "Retry previously failed import items").action(async (source, opts) => {
|
|
959
|
-
const { runImport } = await import("./import-
|
|
1034
|
+
const { runImport } = await import("./import-3VBKI6BN.js");
|
|
960
1035
|
await runImport({
|
|
961
1036
|
source,
|
|
962
1037
|
categories: opts.categories,
|
|
@@ -999,7 +1074,7 @@ async function runCLI(options) {
|
|
|
999
1074
|
const providerName = config.provider ?? "openrouter";
|
|
1000
1075
|
const providerConfig = getProviderConfig(config, providerName);
|
|
1001
1076
|
if (!providerConfig) {
|
|
1002
|
-
const { SetupWizard } = await import("./onboarding-
|
|
1077
|
+
const { SetupWizard } = await import("./onboarding-ZQXMPSMJ.js");
|
|
1003
1078
|
const wizard = new SetupWizard(originalWorkspaceRoot, config);
|
|
1004
1079
|
const result = await wizard.run({ skipWelcome: !config.isNewConfig });
|
|
1005
1080
|
if (result.cancelled) {
|
|
@@ -1110,8 +1185,8 @@ async function runCLI(options) {
|
|
|
1110
1185
|
const syncEnabled = options.syncSettings !== false && config.sync?.enabled !== false;
|
|
1111
1186
|
if (syncEnabled) {
|
|
1112
1187
|
try {
|
|
1113
|
-
const { createSyncService, DEFAULT_SYNC_CONFIG } = await import("./sync-
|
|
1114
|
-
const { setSyncService } = await import("./sync-
|
|
1188
|
+
const { createSyncService, DEFAULT_SYNC_CONFIG } = await import("./sync-OCJN4ZSO.js");
|
|
1189
|
+
const { setSyncService } = await import("./sync-7C25MOT2.js");
|
|
1115
1190
|
const syncService = createSyncService({
|
|
1116
1191
|
authToken: config.auth.token,
|
|
1117
1192
|
userId: authUser.id,
|
|
@@ -1125,7 +1200,7 @@ async function runCLI(options) {
|
|
|
1125
1200
|
if (agentHolder.current) {
|
|
1126
1201
|
agentHolder.current.notifyUser(message);
|
|
1127
1202
|
} else {
|
|
1128
|
-
const { promptNotify } = await import("./inputPrompt-
|
|
1203
|
+
const { promptNotify } = await import("./inputPrompt-3CFZDUBH.js");
|
|
1129
1204
|
promptNotify(chalk2.yellow(message));
|
|
1130
1205
|
}
|
|
1131
1206
|
}
|
|
@@ -1156,13 +1231,13 @@ async function runCLI(options) {
|
|
|
1156
1231
|
config.agent = config.agent ?? {};
|
|
1157
1232
|
config.agent.debug = true;
|
|
1158
1233
|
}
|
|
1159
|
-
const { ProviderFactory } = await import("./ProviderFactory-
|
|
1234
|
+
const { ProviderFactory } = await import("./ProviderFactory-RB4RVAF6.js");
|
|
1160
1235
|
const { FileActionManager } = await import("./filesystem-L6DQKGWK.js");
|
|
1161
1236
|
const llmProvider = ProviderFactory.create(config);
|
|
1162
1237
|
const files = new FileActionManager(workspaceRoot, runtime.additionalDirs);
|
|
1163
1238
|
if (options.autoSkill) {
|
|
1164
1239
|
console.log(chalk2.cyan("\nAuto-generating skills for this project...\n"));
|
|
1165
|
-
const { runAutoSkillGeneration } = await import("./autoSkill-
|
|
1240
|
+
const { runAutoSkillGeneration } = await import("./autoSkill-66PKCYTW.js");
|
|
1166
1241
|
const result = await runAutoSkillGeneration(workspaceRoot, llmProvider);
|
|
1167
1242
|
if (!result.success) {
|
|
1168
1243
|
console.log(chalk2.yellow(result.error || "Failed to generate skills"));
|
|
@@ -1212,11 +1287,11 @@ async function runCLI(options) {
|
|
|
1212
1287
|
}
|
|
1213
1288
|
}
|
|
1214
1289
|
}
|
|
1215
|
-
const { AutohandAgent } = await import("./agent-
|
|
1290
|
+
const { AutohandAgent } = await import("./agent-SATQ3WZ3.js");
|
|
1216
1291
|
const agent = new AutohandAgent(llmProvider, files, runtime);
|
|
1217
1292
|
agentHolder.current = agent;
|
|
1218
1293
|
if (options.chrome) {
|
|
1219
|
-
const { ensureNativeHostInstalled, createBrowserHandoff, buildChromeOpenUrl: buildChromeOpenUrl2, openChromeContinuation: openChromeContinuation2 } = await import("./chrome-
|
|
1294
|
+
const { ensureNativeHostInstalled, createBrowserHandoff, buildChromeOpenUrl: buildChromeOpenUrl2, openChromeContinuation: openChromeContinuation2 } = await import("./chrome-Y3T7EIHG.js");
|
|
1220
1295
|
const extensionId = config.chrome?.extensionId;
|
|
1221
1296
|
await ensureNativeHostInstalled({ extensionId }).catch(() => {
|
|
1222
1297
|
});
|
|
@@ -1269,7 +1344,7 @@ function printBanner() {
|
|
|
1269
1344
|
}
|
|
1270
1345
|
if (process.stdout.isTTY) {
|
|
1271
1346
|
process.stdout.write("\x1B[3J\x1B[2J\x1B[H");
|
|
1272
|
-
console.log(formatStartupBanner(
|
|
1347
|
+
console.log(formatStartupBanner(renderAutohandLogo({ columns: getTerminalColumns(process.stdout) })));
|
|
1273
1348
|
} else {
|
|
1274
1349
|
console.log("autohand");
|
|
1275
1350
|
}
|
|
@@ -1339,9 +1414,9 @@ async function runSkillInstall(opts) {
|
|
|
1339
1414
|
printDangerousWorkspaceWarning(workspaceRoot, safetyCheck);
|
|
1340
1415
|
process.exit(1);
|
|
1341
1416
|
}
|
|
1342
|
-
const { SkillsRegistry } = await import("./SkillsRegistry-
|
|
1343
|
-
const { AUTOHAND_PATHS } = await import("./constants-
|
|
1344
|
-
const { skillsInstall } = await import("./skills-install-
|
|
1417
|
+
const { SkillsRegistry } = await import("./SkillsRegistry-NHHMIUYJ.js");
|
|
1418
|
+
const { AUTOHAND_PATHS } = await import("./constants-EJFAWJQI.js");
|
|
1419
|
+
const { skillsInstall } = await import("./skills-install-BHTIEMKH.js");
|
|
1345
1420
|
const skillsRegistry = new SkillsRegistry(AUTOHAND_PATHS.skills);
|
|
1346
1421
|
await skillsRegistry.initialize();
|
|
1347
1422
|
await skillsRegistry.setWorkspace(workspaceRoot);
|
|
@@ -1359,14 +1434,14 @@ async function runLearnNonInteractive(opts, subcommand) {
|
|
|
1359
1434
|
printDangerousWorkspaceWarning(workspaceRoot, safetyCheck);
|
|
1360
1435
|
process.exit(1);
|
|
1361
1436
|
}
|
|
1362
|
-
const { learn } = await import("./learn-
|
|
1363
|
-
const { SkillsRegistry } = await import("./SkillsRegistry-
|
|
1364
|
-
const { AUTOHAND_PATHS } = await import("./constants-
|
|
1365
|
-
const { HookManager } = await import("./HookManager-
|
|
1437
|
+
const { learn } = await import("./learn-OPOH5L43.js");
|
|
1438
|
+
const { SkillsRegistry } = await import("./SkillsRegistry-NHHMIUYJ.js");
|
|
1439
|
+
const { AUTOHAND_PATHS } = await import("./constants-EJFAWJQI.js");
|
|
1440
|
+
const { HookManager } = await import("./HookManager-2S6AHOC3.js");
|
|
1366
1441
|
const skillsRegistry = new SkillsRegistry(AUTOHAND_PATHS.skills);
|
|
1367
1442
|
await skillsRegistry.initialize();
|
|
1368
1443
|
await skillsRegistry.setWorkspace(workspaceRoot);
|
|
1369
|
-
const { ProviderFactory } = await import("./ProviderFactory-
|
|
1444
|
+
const { ProviderFactory } = await import("./ProviderFactory-RB4RVAF6.js");
|
|
1370
1445
|
const llmProvider = ProviderFactory.create(config);
|
|
1371
1446
|
const hookManager = new HookManager({ workspaceRoot });
|
|
1372
1447
|
const args = subcommand === "update" ? ["update"] : [];
|
|
@@ -1381,6 +1456,28 @@ async function runLearnNonInteractive(opts, subcommand) {
|
|
|
1381
1456
|
console.log(result);
|
|
1382
1457
|
}
|
|
1383
1458
|
}
|
|
1459
|
+
async function runGoalFlag(opts) {
|
|
1460
|
+
const config = opts._authConfig ?? await loadConfig(opts.config, process.cwd());
|
|
1461
|
+
const { GOAL_FEATURE_DISABLED_MESSAGE, isGoalFeatureEnabled } = await import("./feature-V4JF5TNJ.js");
|
|
1462
|
+
if (!isGoalFeatureEnabled(config)) {
|
|
1463
|
+
console.error(chalk2.yellow(GOAL_FEATURE_DISABLED_MESSAGE));
|
|
1464
|
+
process.exit(1);
|
|
1465
|
+
}
|
|
1466
|
+
const workspaceRoot = resolveWorkspaceRoot(config, opts.path);
|
|
1467
|
+
const workspacePathValidation = await validateWorkspacePath(workspaceRoot);
|
|
1468
|
+
if (!workspacePathValidation.valid) {
|
|
1469
|
+
console.error(chalk2.red(`Error: ${workspacePathValidation.error}`));
|
|
1470
|
+
process.exit(1);
|
|
1471
|
+
}
|
|
1472
|
+
const safetyCheck = checkWorkspaceSafety(workspaceRoot);
|
|
1473
|
+
if (!safetyCheck.safe) {
|
|
1474
|
+
printDangerousWorkspaceWarning(workspaceRoot, safetyCheck);
|
|
1475
|
+
process.exit(1);
|
|
1476
|
+
}
|
|
1477
|
+
const { runGoalCli } = await import("./goal-EI66BV7W.js");
|
|
1478
|
+
const result = await runGoalCli(workspaceRoot, opts.goal ?? "", config);
|
|
1479
|
+
console.log(result);
|
|
1480
|
+
}
|
|
1384
1481
|
function renderPermissionScope(title, pathLabel, allowList, denyList) {
|
|
1385
1482
|
console.log(chalk2.bold(title));
|
|
1386
1483
|
console.log(chalk2.gray(pathLabel));
|
|
@@ -1410,7 +1507,7 @@ async function displayPermissions(opts) {
|
|
|
1410
1507
|
printDangerousWorkspaceWarning(workspaceRoot, safetyCheck);
|
|
1411
1508
|
process.exit(1);
|
|
1412
1509
|
}
|
|
1413
|
-
const { PermissionManager } = await import("./PermissionManager-
|
|
1510
|
+
const { PermissionManager } = await import("./PermissionManager-MT7KBNNR.js");
|
|
1414
1511
|
const manager = new PermissionManager({
|
|
1415
1512
|
settings: config.permissions,
|
|
1416
1513
|
workspaceRoot
|
|
@@ -1506,7 +1603,7 @@ async function runPatchMode(opts) {
|
|
|
1506
1603
|
config[providerName].model = opts.model;
|
|
1507
1604
|
}
|
|
1508
1605
|
}
|
|
1509
|
-
const { ProviderFactory } = await import("./ProviderFactory-
|
|
1606
|
+
const { ProviderFactory } = await import("./ProviderFactory-RB4RVAF6.js");
|
|
1510
1607
|
const { FileActionManager } = await import("./filesystem-L6DQKGWK.js");
|
|
1511
1608
|
const llmProvider = ProviderFactory.create(config);
|
|
1512
1609
|
const files = new FileActionManager(workspaceRoot, additionalDirs);
|
|
@@ -1534,7 +1631,7 @@ async function runPatchMode(opts) {
|
|
|
1534
1631
|
parallelApiKey: searchConfig.parallelApiKey ?? process.env.PARALLEL_API_KEY
|
|
1535
1632
|
});
|
|
1536
1633
|
try {
|
|
1537
|
-
const { AutohandAgent } = await import("./agent-
|
|
1634
|
+
const { AutohandAgent } = await import("./agent-SATQ3WZ3.js");
|
|
1538
1635
|
const agent = new AutohandAgent(llmProvider, files, runtime);
|
|
1539
1636
|
await agent.runCommandMode(opts.prompt);
|
|
1540
1637
|
const changes = files.getPendingChanges();
|
|
@@ -1612,9 +1709,9 @@ async function runAutoMode(opts) {
|
|
|
1612
1709
|
config.agent.debug = true;
|
|
1613
1710
|
}
|
|
1614
1711
|
const { AutomodeManager, getAutomodeOptions } = await import("./AutomodeManager-APLLPEYJ.js");
|
|
1615
|
-
const { HookManager } = await import("./HookManager-
|
|
1616
|
-
const { SessionManager } = await import("./SessionManager-
|
|
1617
|
-
const { MemoryManager } = await import("./MemoryManager-
|
|
1712
|
+
const { HookManager } = await import("./HookManager-2S6AHOC3.js");
|
|
1713
|
+
const { SessionManager } = await import("./SessionManager-554PHVPC.js");
|
|
1714
|
+
const { MemoryManager } = await import("./MemoryManager-QZRLTUB5.js");
|
|
1618
1715
|
const readline = await import("readline");
|
|
1619
1716
|
const automodeOptions = getAutomodeOptions(opts, config);
|
|
1620
1717
|
if (!automodeOptions) {
|
|
@@ -1655,7 +1752,7 @@ async function runAutoMode(opts) {
|
|
|
1655
1752
|
}
|
|
1656
1753
|
}
|
|
1657
1754
|
console.log();
|
|
1658
|
-
const { ProviderFactory } = await import("./ProviderFactory-
|
|
1755
|
+
const { ProviderFactory } = await import("./ProviderFactory-RB4RVAF6.js");
|
|
1659
1756
|
const llmProvider = ProviderFactory.create(config);
|
|
1660
1757
|
const { FileActionManager } = await import("./filesystem-L6DQKGWK.js");
|
|
1661
1758
|
const files = new FileActionManager(effectiveWorkspace, additionalDirs);
|
|
@@ -1696,7 +1793,7 @@ async function runAutoMode(opts) {
|
|
|
1696
1793
|
braveApiKey: searchConfig.braveApiKey ?? process.env.BRAVE_SEARCH_API_KEY,
|
|
1697
1794
|
parallelApiKey: searchConfig.parallelApiKey ?? process.env.PARALLEL_API_KEY
|
|
1698
1795
|
});
|
|
1699
|
-
const { AutohandAgent } = await import("./agent-
|
|
1796
|
+
const { AutohandAgent } = await import("./agent-SATQ3WZ3.js");
|
|
1700
1797
|
const agent = new AutohandAgent(llmProvider, files, runtime);
|
|
1701
1798
|
const runIteration = async (iteration, prompt, _abortSignal) => {
|
|
1702
1799
|
const iterationPrompt = buildIterationPrompt(prompt, iteration);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkSOVR7S3Tcjs = require('./chunk-SOVR7S3T.cjs');
|
|
5
|
+
require('./chunk-SY2P3Z5W.cjs');
|
|
6
|
+
require('./chunk-3HT76LNN.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.init = _chunkSOVR7S3Tcjs.init; exports.metadata = _chunkSOVR7S3Tcjs.metadata;
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
resetPromptRenderState,
|
|
39
39
|
safeEmitKeypressEvents,
|
|
40
40
|
shouldAutoHideShortcutHelp
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MANJ67D3.js";
|
|
42
42
|
import "./chunk-VUGOOGHB.js";
|
|
43
43
|
import "./chunk-LUMV3DB2.js";
|
|
44
44
|
import "./chunk-BQU3HAE7.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-CSTUTDTH.js";
|
|
46
46
|
import "./chunk-YZWE7XSM.js";
|
|
47
47
|
import "./chunk-NBGOIFKP.js";
|
|
48
48
|
import "./chunk-JAQO6XDB.js";
|