autohand-cli 0.9.1 → 0.9.2
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 +103 -79
- package/dist/AgentRegistry-BBQRODQC.cjs +18 -0
- package/dist/AgentRegistry-JBXZUPML.js +18 -0
- package/dist/{CommunitySkillsCache-ZACDPD4J.js → CommunitySkillsCache-CI7UN2DX.js} +2 -2
- package/dist/CommunitySkillsCache-XTQ6RMTA.cjs +8 -0
- package/dist/{HookManager-2S6AHOC3.js → HookManager-BELBPQQI.js} +1 -1
- package/dist/{HookManager-TVEQI5ZU.cjs → HookManager-ZL2CLAJW.cjs} +2 -2
- package/dist/{ImportWizard-AF2XL6DS.cjs → ImportWizard-U6CIJREW.cjs} +12 -12
- package/dist/{ImportWizard-AEBMAKXE.js → ImportWizard-VJFSWSUQ.js} +3 -3
- package/dist/LearnAdvisor-LAURA3IB.cjs +9 -0
- package/dist/LearnAdvisor-RFOBXFG7.js +9 -0
- package/dist/MemoryManager-3A2VRPF2.js +9 -0
- package/dist/MemoryManager-UOEQZIDC.cjs +9 -0
- package/dist/{NVIDIAProvider-SJPY3ONR.js → NVIDIAProvider-AFNJNWJM.js} +1 -1
- package/dist/NVIDIAProvider-L5GTYRCQ.cjs +14 -0
- package/dist/{PermissionManager-MT7KBNNR.js → PermissionManager-N2LDSOYF.js} +3 -3
- package/dist/PermissionManager-ZNURIEYR.cjs +11 -0
- package/dist/ProviderFactory-3BFS65V7.cjs +13 -0
- package/dist/{ProviderFactory-RB4RVAF6.js → ProviderFactory-XUT6BSGB.js} +4 -3
- package/dist/SessionManager-LGPQIA57.cjs +10 -0
- package/dist/{SessionManager-554PHVPC.js → SessionManager-OR4KDDDS.js} +2 -2
- package/dist/{SkillsRegistry-NHHMIUYJ.js → SkillsRegistry-IL3GWROU.js} +2 -2
- package/dist/SkillsRegistry-PM34DQNA.cjs +9 -0
- package/dist/SubAgent-2WG4QQB5.cjs +13 -0
- package/dist/SubAgent-ICGN23TQ.js +13 -0
- package/dist/{about-3USFSGOH.js → about-OYVGQMJJ.js} +3 -3
- package/dist/{about-QR52U5DD.cjs → about-U2BH7HDR.cjs} +4 -4
- package/dist/{acp-5Y2W6OZP.js → acp-JWHGXZL5.js} +169 -103
- package/dist/{acp-GSYE75OB.cjs → acp-S37JOBCS.cjs} +184 -118
- package/dist/{actionExecutor-KHUU3Z3Q.cjs → actionExecutor-2QEPMELQ.cjs} +13 -13
- package/dist/{actionExecutor-PLQJZLZV.js → actionExecutor-6NCCORRB.js} +12 -12
- package/dist/add-dir-KFUHSIR2.cjs +11 -0
- package/dist/{add-dir-HCERJDBR.js → add-dir-MM2BM2Z2.js} +2 -2
- package/dist/agent-DUIYLIVN.js +132 -0
- package/dist/agent-YYEHGDAK.cjs +132 -0
- package/dist/agents-GBGG4CW7.cjs +19 -0
- package/dist/agents-ZH34C72F.js +19 -0
- package/dist/agents-new-ERXLS7SB.cjs +17 -0
- package/dist/{agents-new-7GAQ25EK.js → agents-new-EVTGPTA4.js} +6 -6
- package/dist/{autoSkill-66PKCYTW.js → autoSkill-HEWKJ5JV.js} +2 -2
- package/dist/autoSkill-YL6PN6AV.cjs +20 -0
- package/dist/automode-4BJ7FNPL.cjs +10 -0
- package/dist/{automode-BUF3VGXU.js → automode-S4U7A7Q2.js} +2 -2
- package/dist/chrome-45ZXHL5N.cjs +22 -0
- package/dist/{chrome-Y3T7EIHG.js → chrome-BBSRVG6S.js} +2 -2
- package/dist/chrome-IFVZRHAT.cjs +50 -0
- package/dist/chrome-MYE6DNA2.js +22 -0
- package/dist/{chunk-45CHNQM6.cjs → chunk-24CEJYEG.cjs} +93 -31
- package/dist/{chunk-6JWCGQJU.cjs → chunk-255GIVM2.cjs} +6 -6
- package/dist/{chunk-D546G7DA.cjs → chunk-2BDSR2OW.cjs} +98 -75
- package/dist/{chunk-PGFLPURU.js → chunk-2BPIR7LA.js} +121 -4
- package/dist/{chunk-AOKXYGBQ.cjs → chunk-2NY7OHBF.cjs} +41 -26
- package/dist/chunk-2WUNHTXL.js +303 -0
- package/dist/{chunk-PQBYFEBL.cjs → chunk-34B6ZO6W.cjs} +124 -7
- package/dist/{chunk-5JTTM5SC.js → chunk-3BJN7GAH.js} +1 -1
- package/dist/{chunk-3UC6DMFI.cjs → chunk-3CAXECWJ.cjs} +15 -15
- package/dist/{chunk-YWH55BWK.cjs → chunk-3CBYUBZC.cjs} +6 -9
- package/dist/chunk-3DF3GZQ7.js +277 -0
- package/dist/{chunk-KASXKDF2.cjs → chunk-3JURXAL6.cjs} +58 -7
- package/dist/{chunk-JV5HVCHU.cjs → chunk-3KWAP2Y3.cjs} +88 -9
- package/dist/{chunk-WPE2XHVX.js → chunk-3MCK6UBL.js} +1 -1
- package/dist/{chunk-U2QUMKCB.js → chunk-3TH7IK4M.js} +62 -9
- package/dist/{chunk-YXM6SA7P.js → chunk-3V77OB3W.js} +3 -3
- package/dist/{chunk-MZN6JBRZ.cjs → chunk-3Y5UEK7K.cjs} +4 -4
- package/dist/{chunk-BP37FVBM.js → chunk-4GPPSBEZ.js} +3 -3
- package/dist/{chunk-4XVLNOFA.js → chunk-5CMBAJ6K.js} +20 -3
- package/dist/{chunk-PNIAIOMZ.cjs → chunk-5YRXFBYZ.cjs} +35 -6
- package/dist/chunk-6AC2TT26.js +156 -0
- package/dist/{chunk-PSAH4ZQB.cjs → chunk-6EIQ6A6U.cjs} +2 -2
- package/dist/{chunk-YQDI753V.js → chunk-6HSEDXVF.js} +4 -4
- package/dist/{chunk-O5GI6SR3.js → chunk-6NUXK62F.js} +1 -1
- package/dist/{chunk-HVCIB4SW.cjs → chunk-6TGCAPYH.cjs} +62 -9
- package/dist/{chunk-HZWU6IO3.js → chunk-6W3SZCSP.js} +2 -5
- package/dist/{chunk-Q3BS6FPM.js → chunk-73LV3DDZ.js} +4 -4
- package/dist/{chunk-ZNGRLCFQ.js → chunk-7BGGLIQF.js} +83 -1
- package/dist/{chunk-ZNYZB7XY.cjs → chunk-7EEK7CRR.cjs} +83 -1
- package/dist/{chunk-HK5A54AV.cjs → chunk-7TO3PDMV.cjs} +48 -4
- package/dist/chunk-7UU22RSH.cjs +277 -0
- package/dist/{chunk-XNIMSVS6.cjs → chunk-A3GAM6FM.cjs} +11 -11
- package/dist/{chunk-W5QLA6WP.cjs → chunk-A7DJU75T.cjs} +8 -8
- package/dist/{chunk-7XTUL7ZD.cjs → chunk-AAAO4ERQ.cjs} +9 -9
- package/dist/{chunk-M5DK524Z.js → chunk-AAJLMP57.js} +2 -2
- package/dist/chunk-ABR756QN.js +529 -0
- package/dist/{chunk-OIGYWOL6.js → chunk-APFGDIPD.js} +3 -1
- package/dist/{chunk-PTTZI4QZ.js → chunk-APQYRMYL.js} +4 -4
- package/dist/{chunk-CO2AADYU.cjs → chunk-AZKOIF2G.cjs} +55 -17
- package/dist/{chunk-P6SLT2F4.cjs → chunk-AZLHUPNC.cjs} +2 -2
- package/dist/chunk-B55VCYSQ.cjs +30 -0
- package/dist/{chunk-JMJRFSNJ.js → chunk-BLQUMSM3.js} +1 -1
- package/dist/{chunk-MGNXABSU.cjs → chunk-BXKPX6K4.cjs} +9 -9
- package/dist/{chunk-MQQH4XQH.cjs → chunk-C66FN2LP.cjs} +4 -4
- package/dist/{chunk-CECH6QQP.js → chunk-CH7KUFAS.js} +10 -10
- package/dist/{chunk-PIXQ2AVM.cjs → chunk-CILSXOPI.cjs} +17 -17
- package/dist/{chunk-IEPLQ47J.js → chunk-CM24K6ZT.js} +89 -12
- package/dist/chunk-CMEZ42F2.cjs +303 -0
- package/dist/{chunk-X5P6QQOB.cjs → chunk-CNQKIWIS.cjs} +100 -23
- package/dist/{chunk-AQ5PVHOC.cjs → chunk-CSUGNNJY.cjs} +4 -3
- package/dist/{chunk-QRQF3556.js → chunk-D6HB3H3L.js} +25 -10
- package/dist/{chunk-XZVDYC5U.js → chunk-D7AYKVKW.js} +2 -2
- package/dist/{chunk-3UHRCHKB.cjs → chunk-DLCXWOWT.cjs} +23 -23
- package/dist/{chunk-CK4HAHVY.cjs → chunk-DMM2BKSV.cjs} +118 -25
- package/dist/{chunk-SPQ7QIQ6.js → chunk-DW3DPV77.js} +1 -1
- package/dist/chunk-ECQD2QC3.cjs +33 -0
- package/dist/{chunk-SNDDZG5H.js → chunk-EEYOS3UC.js} +90 -70
- package/dist/{chunk-DGBPWODD.js → chunk-EF2EN5CR.js} +2 -2
- package/dist/{chunk-M7B7RRBK.cjs → chunk-EFXFURDY.cjs} +138 -51
- package/dist/chunk-EK34UZPB.cjs +40 -0
- package/dist/{chunk-CRTCZ4WL.cjs → chunk-FJR6EZLO.cjs} +3834 -2337
- package/dist/{chunk-TYBPTKFT.js → chunk-FPO7YNPQ.js} +1 -1
- package/dist/{chunk-X3TI5TJJ.js → chunk-FS4I6BNR.js} +1 -1
- package/dist/{chunk-WNJXIACY.js → chunk-FSJ2MNOC.js} +3 -3
- package/dist/{chunk-44ZWOBTI.js → chunk-GEHZMC4G.js} +12 -9
- package/dist/{chunk-Y5BDE24P.cjs → chunk-GO6C2RAR.cjs} +3 -0
- package/dist/{chunk-XW3XCK4E.cjs → chunk-GSMR6V36.cjs} +4 -4
- package/dist/{chunk-H426KOGY.js → chunk-GSZWATME.js} +1 -1
- package/dist/{chunk-S5JNQIGL.cjs → chunk-GYLGCR6F.cjs} +5 -5
- package/dist/{chunk-ONVYXTUT.cjs → chunk-H3OOWNYQ.cjs} +3 -3
- package/dist/{chunk-V5ELP2XE.js → chunk-H65446XW.js} +110 -15
- package/dist/{chunk-LANGD5CO.js → chunk-H7HXRRHK.js} +45 -1
- package/dist/{chunk-RBXBH6EB.cjs → chunk-HN2JTDN5.cjs} +17 -17
- package/dist/{chunk-SOVR7S3T.cjs → chunk-HNXUZ5OY.cjs} +2 -2
- package/dist/{chunk-AZ47LKD5.cjs → chunk-HOYT3E65.cjs} +3 -3
- package/dist/{chunk-P4FUTSVK.js → chunk-HTPY5ESD.js} +3 -3
- package/dist/{chunk-5SFV2NCY.cjs → chunk-HVLWH2AF.cjs} +10 -10
- package/dist/{chunk-VQHSYAPZ.cjs → chunk-HZTEU4W5.cjs} +62 -93
- package/dist/{chunk-4XFHP2SN.cjs → chunk-I5T7LPFP.cjs} +7 -7
- package/dist/{chunk-ZPLCAXJW.js → chunk-IB5CJXE7.js} +7 -7
- package/dist/{chunk-KM7R5YPS.cjs → chunk-INNXFLDR.cjs} +9 -6
- package/dist/{chunk-2ESQR35E.cjs → chunk-JFLEP3T7.cjs} +10 -10
- package/dist/chunk-JJGDOBFL.js +40 -0
- package/dist/{chunk-5A7ZL64N.js → chunk-JSU46T6K.js} +1 -1
- package/dist/{chunk-NB6M6ESM.js → chunk-K6WN6BT4.js} +1 -1
- package/dist/{chunk-QQ64HEHP.cjs → chunk-KIQH3SMT.cjs} +34 -31
- package/dist/{chunk-MANJ67D3.js → chunk-KPRXHIE2.js} +52 -83
- package/dist/{chunk-6HF6XSCC.js → chunk-LIO3RX2Z.js} +2 -2
- package/dist/{chunk-NZ3ZWLUW.js → chunk-LOSXLH7P.js} +109 -16
- package/dist/{chunk-NZ7GCK7Y.cjs → chunk-LSOR72PB.cjs} +23 -23
- package/dist/{chunk-6AYJCDTA.js → chunk-MA3AVDCC.js} +47 -9
- package/dist/{chunk-PZZMIYII.js → chunk-ME3S2WIR.js} +3 -3
- package/dist/{chunk-2IW5YFJ4.js → chunk-NC2I2M4P.js} +4 -4
- package/dist/{chunk-AE2ILW25.cjs → chunk-NC4A4LVC.cjs} +13 -13
- package/dist/{chunk-EEHWALXA.js → chunk-NGEK5FCJ.js} +85 -3
- package/dist/{chunk-MMKZSJUN.js → chunk-NKW6CHXQ.js} +1 -1
- package/dist/{chunk-JB3JCYBJ.js → chunk-NOWCRKP2.js} +4 -3
- package/dist/{chunk-3ZOOH44N.js → chunk-NUB2LMB6.js} +2 -2
- package/dist/chunk-O246MKIW.cjs +267 -0
- package/dist/{chunk-SRMGWMQO.js → chunk-OGFWL2PS.js} +1 -1
- package/dist/{chunk-YISPVAXO.cjs → chunk-ONNGAR6W.cjs} +340 -597
- package/dist/{chunk-7WAUCLLQ.js → chunk-OOFR6A62.js} +33 -4
- package/dist/{chunk-4E7SHPNQ.js → chunk-OZ7FHO7J.js} +2 -2
- package/dist/{chunk-NV6LCD2I.cjs → chunk-P5EWGUI2.cjs} +109 -27
- package/dist/{chunk-YC5OBZQU.js → chunk-P6BQJPAI.js} +41 -18
- package/dist/{chunk-SHRLFX6F.js → chunk-PG2JIU5M.js} +57 -6
- package/dist/{chunk-6OECOAK5.cjs → chunk-PI27G2ED.cjs} +25 -8
- package/dist/{chunk-TR6NECEZ.js → chunk-PI7LRPL6.js} +1 -1
- package/dist/{chunk-GAOPJ5S3.cjs → chunk-PMPEC5HN.cjs} +18 -15
- package/dist/{chunk-5GCQ5UMV.cjs → chunk-PYUP7AKY.cjs} +14 -14
- package/dist/{chunk-S5QKRA2V.js → chunk-QC5Z3ZT5.js} +2 -2
- package/dist/chunk-QDO4L2A7.cjs +156 -0
- package/dist/{chunk-LFDPTJYF.cjs → chunk-QDXRI5AM.cjs} +1 -1
- package/dist/{chunk-26G7YGOW.js → chunk-QVXMSQOG.js} +84 -21
- package/dist/{chunk-SVVP4UUZ.cjs → chunk-R4UKBKDY.cjs} +11 -11
- package/dist/{chunk-HG3ZASBH.cjs → chunk-R75AWII3.cjs} +112 -17
- package/dist/{chunk-TE4SYTWR.cjs → chunk-RD5PLUIX.cjs} +8 -8
- package/dist/{chunk-FFHSCM5M.js → chunk-RGB34CV5.js} +3 -3
- package/dist/{chunk-SY2P3Z5W.cjs → chunk-RJCZLFHE.cjs} +96 -32
- package/dist/{chunk-22SCR3EV.cjs → chunk-RKWNM2BJ.cjs} +2 -2
- package/dist/{chunk-FBQJZKFX.js → chunk-RMVONICR.js} +3 -3
- package/dist/{chunk-PY73W5MQ.cjs → chunk-RPSYRJL7.cjs} +10 -4
- package/dist/{chunk-HXHE2KAO.js → chunk-RWKU2X7O.js} +7 -4
- package/dist/{chunk-NQZH5CR2.cjs → chunk-RZLEGVMH.cjs} +102 -5
- package/dist/{chunk-KMP6Y3LJ.js → chunk-S2L3Y677.js} +1 -1
- package/dist/{chunk-GSDV75A5.js → chunk-S7KVUIOS.js} +1 -1
- package/dist/{chunk-7PT646AL.cjs → chunk-SACJJ6NO.cjs} +5 -3
- package/dist/{chunk-LEZEWKPA.js → chunk-SJQU2ZFR.js} +96 -32
- package/dist/{chunk-65LRPW5W.js → chunk-SKAQKQFF.js} +12 -2
- package/dist/chunk-T4DXP5OP.js +30 -0
- package/dist/{chunk-EYHKL4QC.js → chunk-T6FTB6K2.js} +1 -1
- package/dist/{chunk-DNSD7DVJ.js → chunk-T6N6GRFT.js} +13 -10
- package/dist/{chunk-575PXZX7.js → chunk-TJFKA6A7.js} +82 -3
- package/dist/{chunk-HSWWM6AM.js → chunk-TJZUPS4Z.js} +34 -291
- package/dist/{chunk-DHUQZ53B.cjs → chunk-TLKHZ425.cjs} +2 -2
- package/dist/{chunk-VLGGMQUN.cjs → chunk-TQ24NLXO.cjs} +6 -6
- package/dist/{chunk-LUMV3DB2.js → chunk-TWBAU46X.js} +1 -1
- package/dist/{chunk-EA2MS25U.cjs → chunk-TZB5XADL.cjs} +4 -4
- package/dist/{chunk-U6PLSPMD.cjs → chunk-UAYXZXWU.cjs} +4 -4
- package/dist/{chunk-OV3T5MUH.cjs → chunk-UKBFNBDO.cjs} +11 -11
- package/dist/{chunk-SZD45IDG.js → chunk-UMJYX5KD.js} +101 -4
- package/dist/{chunk-B76FJKEJ.cjs → chunk-USKYTHDL.cjs} +69 -18
- package/dist/{chunk-NZQFKXM3.cjs → chunk-VAJUSZMC.cjs} +15 -15
- package/dist/{chunk-SDLY4X3G.js → chunk-VGQG4NBJ.js} +2 -2
- package/dist/{chunk-KWXGDSYT.js → chunk-VLUIVJ3J.js} +58 -7
- package/dist/{chunk-KJ26T7GM.cjs → chunk-VOBINVMV.cjs} +105 -42
- package/dist/{chunk-C5QIQQ37.js → chunk-VSHKKCSH.js} +16 -5
- package/dist/{chunk-L46OUKW5.cjs → chunk-VSZU3MGA.cjs} +28 -17
- package/dist/{chunk-YFXTE422.cjs → chunk-VWHAUB77.cjs} +8 -3
- package/dist/{chunk-UWZ4G3SQ.js → chunk-VXGYFX45.js} +4 -4
- package/dist/{chunk-C46B72VK.js → chunk-WH6YUQDB.js} +141 -54
- package/dist/{chunk-SFFEKZGC.js → chunk-WQ6TD55V.js} +2 -2
- package/dist/{chunk-7PJKTSRN.js → chunk-WQWECXTY.js} +3 -3
- package/dist/{chunk-DSSCERHI.cjs → chunk-WVDJUJH6.cjs} +2 -2
- package/dist/{chunk-JPFRI4L4.js → chunk-X24VIVDZ.js} +210 -26
- package/dist/{chunk-7IRQ7JEH.js → chunk-X4NRTLXD.js} +7 -1
- package/dist/{chunk-7MY4JHER.js → chunk-X53SHYCG.js} +2 -2
- package/dist/{chunk-RFUKZIJF.cjs → chunk-XB2Z4ZAK.cjs} +5 -5
- package/dist/{chunk-WJYFLQ7G.cjs → chunk-Y47OJGLB.cjs} +3 -3
- package/dist/{chunk-HC2Q6A3E.cjs → chunk-Y4MN27V3.cjs} +361 -177
- package/dist/{chunk-ZK6HOR62.js → chunk-YEHFYZFU.js} +7 -2
- package/dist/{chunk-FFBDRUO5.cjs → chunk-YICIUY23.cjs} +1 -1
- package/dist/{chunk-63ANVAOJ.cjs → chunk-YMXYC777.cjs} +3 -3
- package/dist/{chunk-X7XMITIL.cjs → chunk-Z3GRWK6O.cjs} +8 -8
- package/dist/{chunk-3ICORF7M.cjs → chunk-Z5GG2KSL.cjs} +4 -4
- package/dist/{chunk-I2ZK3AOD.js → chunk-ZER7DYQK.js} +2 -2
- package/dist/{chunk-V3SZLWEQ.cjs → chunk-ZFDXZEZJ.cjs} +11 -11
- package/dist/{chunk-QBYGMMDD.js → chunk-ZFV4HJA6.js} +66 -4
- package/dist/chunk-ZHMYTI5D.cjs +529 -0
- package/dist/{chunk-4567QNRB.js → chunk-ZLR2TFBC.js} +3 -0
- package/dist/{chunk-OCATAKXV.cjs → chunk-ZTWNU5QZ.cjs} +20 -20
- package/dist/{chunk-CCIDL4SA.js → chunk-ZVLVLDYN.js} +2915 -1418
- package/dist/clear-AJGXD2BB.cjs +12 -0
- package/dist/{clear-Y5TO3RZA.js → clear-HAHDSWKW.js} +3 -3
- package/dist/communityInstaller-IRR6M3N6.cjs +22 -0
- package/dist/{communityInstaller-RVL4STPS.js → communityInstaller-OLKEUGMX.js} +5 -5
- package/dist/completion-G7Z436TF.cjs +17 -0
- package/dist/{completion-SE3XYG74.js → completion-ZS3AXJ6A.js} +4 -4
- package/dist/{config-7KPHKFTP.js → config-OWYAQPCX.js} +5 -4
- package/dist/config-W2BHT2QE.cjs +22 -0
- package/dist/{constants-EJFAWJQI.js → constants-AS6K67AA.js} +5 -3
- package/dist/constants-B4W5BT7F.cjs +23 -0
- package/dist/{export-BJVIDZC4.js → export-5HIU3KMD.js} +4 -4
- package/dist/export-GFD32UY2.cjs +15 -0
- package/dist/{extractSessionMemories-A2JX5WJ2.js → extractSessionMemories-K6ZVAW2F.js} +1 -1
- package/dist/{extractSessionMemories-XL3MS37F.cjs → extractSessionMemories-LLOIJR5U.cjs} +2 -2
- package/dist/feature-KP74CZ3F.cjs +14 -0
- package/dist/{feature-V4JF5TNJ.js → feature-OPNVMB2E.js} +2 -2
- package/dist/features-LT55MURX.cjs +24 -0
- package/dist/features-ZDIU26WX.js +24 -0
- package/dist/feedback-7WTJFQ6S.js +18 -0
- package/dist/feedback-CEOJ3453.cjs +18 -0
- package/dist/go-2CY5SZNR.js +16 -0
- package/dist/go-O2CSQON4.cjs +16 -0
- package/dist/goal-DL2N2AWT.cjs +16 -0
- package/dist/goal-IJS7VZSG.js +16 -0
- package/dist/help-RNOGDEBA.cjs +12 -0
- package/dist/{help-MLIROWKM.js → help-TCWD2IRH.js} +2 -2
- package/dist/{history-GQJ6RZD6.js → history-ATOR5OQV.js} +2 -2
- package/dist/history-UUSGX2AL.cjs +14 -0
- package/dist/{hooks-PPFHCF7T.js → hooks-R3Z5QKUP.js} +5 -5
- package/dist/hooks-RWM5UY67.cjs +18 -0
- package/dist/{i18n-Q7UZJRPL.js → i18n-4QI4TD4I.js} +1 -1
- package/dist/i18n-MFAEU5RV.cjs +33 -0
- package/dist/{ide-BUSVE54P.js → ide-6PBTCCUQ.js} +4 -4
- package/dist/ide-UE3G7NMQ.cjs +15 -0
- package/dist/{import-C7S6UJMW.cjs → import-2IG76KAN.cjs} +6 -4
- package/dist/{import-U47DXCA7.js → import-E47QL4DW.js} +2 -2
- package/dist/import-NQDNBFUL.cjs +10 -0
- package/dist/{import-3VBKI6BN.js → import-VQIHGJWS.js} +6 -4
- package/dist/index.cjs +444 -334
- package/dist/index.d.cts +38 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +324 -214
- package/dist/init-DX3RDGDT.cjs +10 -0
- package/dist/{init-Q2O4R42R.js → init-Q54OAAFZ.js} +2 -2
- package/dist/{inputPrompt-3CFZDUBH.js → inputPrompt-V2VBDRM7.js} +2 -2
- package/dist/inputPrompt-WVGVWAHS.cjs +90 -0
- package/dist/language-I6KXAOXD.js +23 -0
- package/dist/language-XMIVOH5E.cjs +23 -0
- package/dist/learn-JPVVGTKU.js +23 -0
- package/dist/learn-NLSHI2MZ.cjs +23 -0
- package/dist/login-NABQYLYC.cjs +28 -0
- package/dist/login-XPOVFSWN.js +28 -0
- package/dist/logout-HNHCGB4Q.js +25 -0
- package/dist/logout-SKGDXJSW.cjs +25 -0
- package/dist/{mcp-AH3MMUBU.js → mcp-EN73YFGZ.js} +8 -7
- package/dist/mcp-TADZCPJQ.cjs +22 -0
- package/dist/{mcp-install-IA4ZS2SV.cjs → mcp-install-2GKWWBAS.cjs} +14 -13
- package/dist/{mcp-install-222PCKSW.js → mcp-install-3TBTVSHW.js} +9 -8
- package/dist/memory-GRXFTDIN.cjs +10 -0
- package/dist/{memory-VB46T5H3.js → memory-K2P3CDCH.js} +2 -2
- package/dist/{model-SJJG64AM.js → model-DEG22OWA.js} +2 -2
- package/dist/model-OSD74T7Z.cjs +10 -0
- package/dist/new-4NWBOATU.cjs +12 -0
- package/dist/{new-ERZ5C6CN.js → new-KJAP2MB6.js} +3 -3
- package/dist/{onboarding-ZQXMPSMJ.js → onboarding-2U5WE2OA.js} +17 -14
- package/dist/onboarding-5DZFCO5Q.cjs +39 -0
- package/dist/permissions-KY5I6YQ3.cjs +10 -0
- package/dist/{permissions-7ACNFK7A.js → permissions-TKYON7PP.js} +2 -2
- package/dist/{plan-YYUAXPTL.js → plan-DYHHLZSS.js} +1 -1
- package/dist/plan-PYKP652W.cjs +13 -0
- package/dist/quit-GSKJL42O.js +14 -0
- package/dist/quit-TQSRTBUT.cjs +14 -0
- package/dist/{registry-4DXUDKJN.js → registry-EZ4V4TUQ.js} +1339 -1
- package/dist/{registry-UEO3ETZ7.cjs → registry-LCWYI4IB.cjs} +1378 -40
- package/dist/resume-4VWJXARX.cjs +17 -0
- package/dist/{resume-XSXZMDMD.js → resume-TLHWWWFN.js} +5 -5
- package/dist/{review-QHP2KP4Q.js → review-CSK4IYTO.js} +1 -1
- package/dist/review-XLJEUH5K.cjs +9 -0
- package/dist/{rpc-XH7QLN4H.js → rpc-3DLQBDWU.js} +151 -124
- package/dist/{rpc-YF54T7JU.cjs → rpc-O36WUU3L.cjs} +169 -142
- package/dist/search-DSX2CY4A.cjs +22 -0
- package/dist/search-I3QUDUQL.js +22 -0
- package/dist/sessionBranching-DVNOUWJT.cjs +19 -0
- package/dist/sessionBranching-FKV4CR36.js +19 -0
- package/dist/sessions-3JUOT3ED.cjs +10 -0
- package/dist/{sessions-NJYHJOEL.js → sessions-VWMDIPOS.js} +2 -2
- package/dist/{settings-ZXUQH3DO.js → settings-FT2LZZUV.js} +11 -8
- package/dist/settings-RL4KNWHB.cjs +45 -0
- package/dist/setup-HQEJVOYT.js +32 -0
- package/dist/setup-MN54LKOL.cjs +32 -0
- package/dist/share-BUAFZNBX.cjs +17 -0
- package/dist/{share-WFAGZ5PY.js → share-CGB6MAVJ.js} +6 -6
- package/dist/skills/builtin/code-reviewer/SKILL.md +64 -0
- package/dist/skills/builtin/goal-writer/SKILL.md +124 -0
- package/dist/{skills-NBTNDVAY.js → skills-7DKR3HRZ.js} +7 -7
- package/dist/{skills-OB6RDW7D.js → skills-BBBENOEY.js} +9 -9
- package/dist/skills-OQM7IHAF.cjs +29 -0
- package/dist/{skills-ZROBG3RZ.cjs → skills-RA2PKL63.cjs} +9 -9
- package/dist/{skills-install-ILX6QVEF.cjs → skills-install-D7K476SL.cjs} +15 -15
- package/dist/{skills-install-BHTIEMKH.js → skills-install-T4SOKJSL.js} +8 -8
- package/dist/{skills-new-YMRP2HNO.js → skills-new-S33NGEU3.js} +6 -6
- package/dist/skills-new-UVYH53MD.cjs +18 -0
- package/dist/slashCommands-MWOUDSQP.js +111 -0
- package/dist/slashCommands-XASURUTV.cjs +111 -0
- package/dist/squad-PIIYDFVH.cjs +15 -0
- package/dist/squad-VHYOVEJP.js +15 -0
- package/dist/status-GHFTXQBL.js +25 -0
- package/dist/status-WXMIJIU3.cjs +25 -0
- package/dist/statusline-2K7AC6ZQ.js +21 -0
- package/dist/statusline-GROI4HOC.cjs +21 -0
- package/dist/sync-254WF6JI.cjs +42 -0
- package/dist/sync-2DIZN4EH.cjs +24 -0
- package/dist/{sync-OCJN4ZSO.js → sync-J6I2ZUKQ.js} +5 -3
- package/dist/{sync-7C25MOT2.js → sync-Z3LVSEEV.js} +8 -6
- package/dist/{teammate-D77B6QRT.cjs → teammate-EXR76PEQ.cjs} +5 -5
- package/dist/{teammate-EZCMHOIL.js → teammate-K4DAOFEQ.js} +5 -5
- package/dist/theme-MVQDSU47.js +23 -0
- package/dist/theme-QAKEYWJG.cjs +23 -0
- package/dist/ui/questionModal.cjs +5 -5
- package/dist/ui/questionModal.js +4 -4
- package/dist/{undo-GNUTFXCW.js → undo-5AU47JHF.js} +2 -2
- package/dist/undo-ME6WKUXZ.cjs +10 -0
- package/dist/{usage-QSTNSDAO.js → usage-QTKO2YMD.js} +6 -5
- package/dist/usage-TYNJKVER.cjs +25 -0
- package/package.json +4 -3
- package/dist/AgentRegistry-GOV7FN2O.js +0 -10
- package/dist/AgentRegistry-J2C6JBZ3.cjs +0 -10
- package/dist/CommunitySkillsCache-22BB3J6H.cjs +0 -8
- package/dist/LearnAdvisor-KKEQ5QCV.js +0 -9
- package/dist/LearnAdvisor-Q7RAYLPF.cjs +0 -9
- package/dist/MemoryManager-PMNAEZMB.cjs +0 -8
- package/dist/MemoryManager-QZRLTUB5.js +0 -8
- package/dist/NVIDIAProvider-C3FWQOBZ.cjs +0 -14
- package/dist/PermissionManager-URCNP5EC.cjs +0 -11
- package/dist/ProviderFactory-56N3ECE4.cjs +0 -12
- package/dist/SessionManager-2IZGWASQ.cjs +0 -10
- package/dist/SkillsRegistry-GMRVONOQ.cjs +0 -9
- package/dist/SubAgent-4GOR2FIJ.js +0 -13
- package/dist/SubAgent-ZJMDH4FI.cjs +0 -13
- package/dist/add-dir-BTAD5OZS.cjs +0 -11
- package/dist/agent-B3EVT7NN.cjs +0 -126
- package/dist/agent-SATQ3WZ3.js +0 -126
- package/dist/agents-44CRJGM7.cjs +0 -18
- package/dist/agents-NN4ZAJ7R.js +0 -18
- package/dist/agents-new-6D6G4QS6.cjs +0 -17
- package/dist/autoSkill-VQLGBELN.cjs +0 -20
- package/dist/automode-45DWV4TN.cjs +0 -10
- package/dist/chrome-Q2U73HZB.cjs +0 -50
- package/dist/chrome-Q54OALOK.cjs +0 -21
- package/dist/chrome-ZNJ46OYW.js +0 -21
- package/dist/chunk-JCUHCH37.cjs +0 -247
- package/dist/chunk-VKOXFT4L.cjs +0 -23
- package/dist/clear-QJXU25IF.cjs +0 -12
- package/dist/communityInstaller-LXMVKVAV.cjs +0 -22
- package/dist/completion-JX4T2ONW.cjs +0 -17
- package/dist/config-3224PRW4.cjs +0 -21
- package/dist/constants-MCCGUU5F.cjs +0 -21
- package/dist/export-KU4557HK.cjs +0 -15
- package/dist/feature-K3LG5IJP.cjs +0 -14
- package/dist/features-5OJTLKS7.js +0 -23
- package/dist/features-VCBJQXCX.cjs +0 -23
- package/dist/feedback-D4437VE4.js +0 -18
- package/dist/feedback-VZPEHGFY.cjs +0 -18
- package/dist/go-X4E6BCD6.js +0 -12
- package/dist/go-XREVFS5I.cjs +0 -12
- package/dist/goal-4M3J6JS2.cjs +0 -16
- package/dist/goal-EI66BV7W.js +0 -16
- package/dist/help-GGFS7WHY.cjs +0 -12
- package/dist/history-J4LUIOSI.cjs +0 -14
- package/dist/hooks-FSRIUS6A.cjs +0 -18
- package/dist/i18n-CI6VFXL5.cjs +0 -33
- package/dist/ide-YR27BPGM.cjs +0 -15
- package/dist/import-DBK4OCDF.cjs +0 -10
- package/dist/init-OXTYS72D.cjs +0 -10
- package/dist/inputPrompt-JMACL4EB.cjs +0 -90
- package/dist/language-EK3M6UBV.cjs +0 -22
- package/dist/language-Q3RUGGOW.js +0 -22
- package/dist/learn-3DSX7DYG.cjs +0 -23
- package/dist/learn-OPOH5L43.js +0 -23
- package/dist/login-GST7MWXJ.cjs +0 -27
- package/dist/login-Q7DZKAX4.js +0 -27
- package/dist/logout-2G7OUK7I.cjs +0 -24
- package/dist/logout-FNBBL2UI.js +0 -24
- package/dist/mcp-DW7R63IB.cjs +0 -21
- package/dist/memory-6NX3DAIY.cjs +0 -10
- package/dist/model-64NAELFS.cjs +0 -10
- package/dist/new-DU5SOOOY.cjs +0 -12
- package/dist/onboarding-2U2BV2KE.cjs +0 -36
- package/dist/permissions-GSNNV7RJ.cjs +0 -10
- package/dist/plan-XEJMOT55.cjs +0 -13
- package/dist/quit-WY6T267G.js +0 -10
- package/dist/quit-XIRE2KRE.cjs +0 -10
- package/dist/resume-RQZ3WXBP.cjs +0 -17
- package/dist/review-UWHWQHCB.cjs +0 -9
- package/dist/search-VXXFGZWU.cjs +0 -21
- package/dist/search-YAWGX7P7.js +0 -21
- package/dist/sessions-OSG3UJEZ.cjs +0 -10
- package/dist/settings-SO2UIGWV.cjs +0 -42
- package/dist/setup-KG7EGKF5.js +0 -30
- package/dist/setup-RSOPCQ57.cjs +0 -30
- package/dist/share-ZU3SGACF.cjs +0 -17
- package/dist/skills-KBVAQAD2.cjs +0 -29
- package/dist/skills-new-B45VQ2PP.cjs +0 -18
- package/dist/slashCommands-53VYIBJU.js +0 -105
- package/dist/slashCommands-BG2RGGZ6.cjs +0 -105
- package/dist/status-CQ2IUOVK.cjs +0 -24
- package/dist/status-E7IGNVPC.js +0 -24
- package/dist/sync-XRP46IVG.cjs +0 -40
- package/dist/sync-ZMFVE7T4.cjs +0 -22
- package/dist/theme-KKRDE6P7.cjs +0 -22
- package/dist/theme-XF7XIWBQ.js +0 -22
- package/dist/undo-U4KN7QQM.cjs +0 -10
- package/dist/usage-YDEMQBNQ.cjs +0 -24
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
t
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SJQU2ZFR.js";
|
|
4
4
|
|
|
5
5
|
// src/commands/quit.ts
|
|
6
6
|
async function quit() {
|
|
7
7
|
return "/quit";
|
|
8
8
|
}
|
|
9
|
+
async function exit() {
|
|
10
|
+
return "/exit";
|
|
11
|
+
}
|
|
9
12
|
var metadata = {
|
|
10
13
|
command: "/quit",
|
|
11
14
|
description: t("commands.quit.description"),
|
|
12
15
|
implemented: true
|
|
13
16
|
};
|
|
17
|
+
var exitMetadata = {
|
|
18
|
+
command: "/exit",
|
|
19
|
+
description: t("commands.quit.description"),
|
|
20
|
+
implemented: true
|
|
21
|
+
};
|
|
14
22
|
|
|
15
23
|
export {
|
|
16
24
|
quit,
|
|
17
|
-
|
|
25
|
+
exit,
|
|
26
|
+
metadata,
|
|
27
|
+
exitMetadata
|
|
18
28
|
};
|
|
19
29
|
/**
|
|
20
30
|
* @license
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/sync/runtimeSyncService.ts
|
|
2
|
+
var globalSyncService = null;
|
|
3
|
+
var pendingBackgroundSync = false;
|
|
4
|
+
function setSyncService(service) {
|
|
5
|
+
globalSyncService = service;
|
|
6
|
+
}
|
|
7
|
+
function getSyncService() {
|
|
8
|
+
return globalSyncService;
|
|
9
|
+
}
|
|
10
|
+
function scheduleBackgroundSync() {
|
|
11
|
+
const syncService = globalSyncService;
|
|
12
|
+
if (!syncService?.isRunning || pendingBackgroundSync) return;
|
|
13
|
+
pendingBackgroundSync = true;
|
|
14
|
+
setTimeout(() => {
|
|
15
|
+
pendingBackgroundSync = false;
|
|
16
|
+
void syncService.sync().catch(() => {
|
|
17
|
+
});
|
|
18
|
+
}, 0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
setSyncService,
|
|
23
|
+
getSyncService,
|
|
24
|
+
scheduleBackgroundSync
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2025 Autohand AI LLC
|
|
29
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
30
|
+
*/
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getSyncService,
|
|
3
|
+
setSyncService
|
|
4
|
+
} from "./chunk-T4DXP5OP.js";
|
|
1
5
|
import {
|
|
2
6
|
createCommandTheme
|
|
3
7
|
} from "./chunk-46MTALKD.js";
|
|
4
8
|
import {
|
|
5
9
|
loadConfig,
|
|
6
10
|
saveConfig
|
|
7
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CM24K6ZT.js";
|
|
8
12
|
import {
|
|
9
13
|
t
|
|
10
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SJQU2ZFR.js";
|
|
11
15
|
|
|
12
16
|
// src/commands/sync.ts
|
|
13
17
|
import readline from "readline";
|
|
@@ -16,12 +20,11 @@ var metadata = {
|
|
|
16
20
|
description: t("commands.sync.description"),
|
|
17
21
|
implemented: true
|
|
18
22
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
globalSyncService = service;
|
|
23
|
+
function setSyncService2(service) {
|
|
24
|
+
setSyncService(service);
|
|
22
25
|
}
|
|
23
|
-
function
|
|
24
|
-
return
|
|
26
|
+
function getSyncService2() {
|
|
27
|
+
return getSyncService();
|
|
25
28
|
}
|
|
26
29
|
async function sync(ctx) {
|
|
27
30
|
const config = await loadConfig();
|
|
@@ -37,7 +40,7 @@ async function sync(ctx) {
|
|
|
37
40
|
return null;
|
|
38
41
|
}
|
|
39
42
|
async function gatherSyncData(ctx, config) {
|
|
40
|
-
const syncService =
|
|
43
|
+
const syncService = getSyncService();
|
|
41
44
|
let status = {
|
|
42
45
|
enabled: false,
|
|
43
46
|
syncing: false,
|
|
@@ -278,8 +281,8 @@ function sleep(ms) {
|
|
|
278
281
|
|
|
279
282
|
export {
|
|
280
283
|
metadata,
|
|
281
|
-
setSyncService,
|
|
282
|
-
getSyncService,
|
|
284
|
+
setSyncService2 as setSyncService,
|
|
285
|
+
getSyncService2 as getSyncService,
|
|
283
286
|
sync
|
|
284
287
|
};
|
|
285
288
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AUTOHAND_PATHS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PG2JIU5M.js";
|
|
4
4
|
|
|
5
5
|
// src/core/agents/AgentRegistry.ts
|
|
6
6
|
import fs from "fs/promises";
|
|
@@ -13,6 +13,44 @@ var AgentConfigSchema = z.object({
|
|
|
13
13
|
tools: z.array(z.string()),
|
|
14
14
|
model: z.string().optional()
|
|
15
15
|
});
|
|
16
|
+
var InlineAgentInputSchema = z.object({
|
|
17
|
+
description: z.string().min(1, 'agent "description" is required'),
|
|
18
|
+
prompt: z.string().min(1, 'agent "prompt" is required'),
|
|
19
|
+
tools: z.union([z.array(z.string()), z.string()]).optional(),
|
|
20
|
+
model: z.string().optional()
|
|
21
|
+
});
|
|
22
|
+
var InlineAgentsInputSchema = z.record(z.string().min(1, "agent name is required"), InlineAgentInputSchema).refine((value) => Object.keys(value).length > 0, { message: "no agents defined" });
|
|
23
|
+
function looksLikeInlineAgents(value) {
|
|
24
|
+
return value.trim().startsWith("{");
|
|
25
|
+
}
|
|
26
|
+
function normalizeInlineTools(tools) {
|
|
27
|
+
const values = Array.isArray(tools) ? tools : typeof tools === "string" ? tools.split(",") : [];
|
|
28
|
+
const cleaned = values.map((tool) => tool.trim()).filter(Boolean);
|
|
29
|
+
return cleaned.length > 0 ? cleaned : ["*"];
|
|
30
|
+
}
|
|
31
|
+
function parseInlineAgents(input) {
|
|
32
|
+
let raw = input;
|
|
33
|
+
if (typeof input === "string") {
|
|
34
|
+
try {
|
|
35
|
+
raw = JSON.parse(input);
|
|
36
|
+
} catch (error) {
|
|
37
|
+
throw new Error(`invalid JSON (${error.message})`);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
const result = InlineAgentsInputSchema.safeParse(raw);
|
|
41
|
+
if (!result.success) {
|
|
42
|
+
const issue = result.error.issues[0];
|
|
43
|
+
const location = issue?.path?.length ? `${issue.path.join(".")}: ` : "";
|
|
44
|
+
throw new Error(`${location}${issue?.message ?? "invalid agents definition"}`);
|
|
45
|
+
}
|
|
46
|
+
return Object.entries(result.data).map(([name, def]) => ({
|
|
47
|
+
name,
|
|
48
|
+
description: def.description,
|
|
49
|
+
systemPrompt: def.prompt,
|
|
50
|
+
tools: normalizeInlineTools(def.tools),
|
|
51
|
+
model: def.model
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
16
54
|
function extractMarkdownTitle(content) {
|
|
17
55
|
const lines = content.split(/\r?\n/);
|
|
18
56
|
for (const line of lines) {
|
|
@@ -52,6 +90,12 @@ function parseMarkdownAgent(content) {
|
|
|
52
90
|
var AgentRegistry = class _AgentRegistry {
|
|
53
91
|
static instance;
|
|
54
92
|
agents = /* @__PURE__ */ new Map();
|
|
93
|
+
/**
|
|
94
|
+
* Session-scoped agents injected via `--agents <json>`. Kept separate from
|
|
95
|
+
* file-loaded agents so they survive `loadAgents()` (which clears `agents`)
|
|
96
|
+
* and take precedence over agents with the same name.
|
|
97
|
+
*/
|
|
98
|
+
sessionAgents = /* @__PURE__ */ new Map();
|
|
55
99
|
agentsDir;
|
|
56
100
|
externalPaths = [];
|
|
57
101
|
constructor() {
|
|
@@ -133,10 +177,41 @@ var AgentRegistry = class _AgentRegistry {
|
|
|
133
177
|
}
|
|
134
178
|
}
|
|
135
179
|
getAgent(name) {
|
|
136
|
-
return this.agents.get(name);
|
|
180
|
+
return this.sessionAgents.get(name) ?? this.agents.get(name);
|
|
137
181
|
}
|
|
138
182
|
getAllAgents() {
|
|
139
|
-
|
|
183
|
+
const merged = /* @__PURE__ */ new Map();
|
|
184
|
+
for (const agent of this.agents.values()) {
|
|
185
|
+
merged.set(agent.name, agent);
|
|
186
|
+
}
|
|
187
|
+
for (const agent of this.sessionAgents.values()) {
|
|
188
|
+
merged.set(agent.name, agent);
|
|
189
|
+
}
|
|
190
|
+
return Array.from(merged.values());
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Replace the set of session-scoped agents (injected via `--agents <json>`).
|
|
194
|
+
* Passing an empty array clears any previously registered session agents.
|
|
195
|
+
*/
|
|
196
|
+
setSessionAgents(defs) {
|
|
197
|
+
this.sessionAgents.clear();
|
|
198
|
+
for (const def of defs) {
|
|
199
|
+
this.sessionAgents.set(def.name, {
|
|
200
|
+
name: def.name,
|
|
201
|
+
path: `<inline:${def.name}>`,
|
|
202
|
+
source: "session",
|
|
203
|
+
description: def.description,
|
|
204
|
+
systemPrompt: def.systemPrompt,
|
|
205
|
+
tools: def.tools.length > 0 ? def.tools : ["*"],
|
|
206
|
+
model: def.model
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
clearSessionAgents() {
|
|
211
|
+
this.sessionAgents.clear();
|
|
212
|
+
}
|
|
213
|
+
getSessionAgents() {
|
|
214
|
+
return Array.from(this.sessionAgents.values());
|
|
140
215
|
}
|
|
141
216
|
getAgentsDirectory() {
|
|
142
217
|
return this.agentsDir;
|
|
@@ -194,6 +269,10 @@ var AgentRegistry = class _AgentRegistry {
|
|
|
194
269
|
|
|
195
270
|
export {
|
|
196
271
|
AgentConfigSchema,
|
|
272
|
+
InlineAgentInputSchema,
|
|
273
|
+
InlineAgentsInputSchema,
|
|
274
|
+
looksLikeInlineAgents,
|
|
275
|
+
parseInlineAgents,
|
|
197
276
|
AgentRegistry
|
|
198
277
|
};
|
|
199
278
|
/**
|
|
@@ -10,6 +10,8 @@ import {
|
|
|
10
10
|
DEEPSEEK_DEFAULT_BASE_URL,
|
|
11
11
|
DEEPSEEK_MODELS,
|
|
12
12
|
ProviderFactory,
|
|
13
|
+
SAKANA_DEFAULT_BASE_URL,
|
|
14
|
+
SAKANA_MODELS,
|
|
13
15
|
VERTEX_AI_CODING_MODELS,
|
|
14
16
|
ZAI_DEFAULT_BASE_URL,
|
|
15
17
|
ZAI_MODELS,
|
|
@@ -21,10 +23,13 @@ import {
|
|
|
21
23
|
isGcloudInstalled,
|
|
22
24
|
resolveBedrockAuthMode,
|
|
23
25
|
resolveBedrockEndpoint
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-X24VIVDZ.js";
|
|
27
|
+
import {
|
|
28
|
+
AgentsGenerator
|
|
29
|
+
} from "./chunk-2WUNHTXL.js";
|
|
25
30
|
import {
|
|
26
31
|
getAuthClient
|
|
27
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MA3AVDCC.js";
|
|
28
33
|
import {
|
|
29
34
|
ASCII_FRIEND
|
|
30
35
|
} from "./chunk-7DJJGKM6.js";
|
|
@@ -33,16 +38,16 @@ import {
|
|
|
33
38
|
showInput,
|
|
34
39
|
showModal,
|
|
35
40
|
showPassword
|
|
36
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LOSXLH7P.js";
|
|
37
42
|
import {
|
|
38
43
|
getProviderConfig
|
|
39
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CM24K6ZT.js";
|
|
40
45
|
import {
|
|
41
46
|
getBuiltInThemeNames
|
|
42
47
|
} from "./chunk-NBGOIFKP.js";
|
|
43
48
|
import {
|
|
44
49
|
AUTH_CONFIG
|
|
45
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PG2JIU5M.js";
|
|
46
51
|
import {
|
|
47
52
|
checkWorkspaceSafety,
|
|
48
53
|
printDangerousWorkspaceWarning
|
|
@@ -53,7 +58,7 @@ import {
|
|
|
53
58
|
changeLanguage,
|
|
54
59
|
detectLocale,
|
|
55
60
|
t
|
|
56
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-SJQU2ZFR.js";
|
|
57
62
|
|
|
58
63
|
// src/onboarding/projectAnalyzer.ts
|
|
59
64
|
import fse from "fs-extra";
|
|
@@ -297,287 +302,6 @@ var ProjectAnalyzer = class {
|
|
|
297
302
|
}
|
|
298
303
|
};
|
|
299
304
|
|
|
300
|
-
// src/onboarding/agentsGenerator.ts
|
|
301
|
-
var AgentsGenerator = class {
|
|
302
|
-
/**
|
|
303
|
-
* Generate AGENTS.md content
|
|
304
|
-
*/
|
|
305
|
-
generateContent(info, options) {
|
|
306
|
-
const sections = [];
|
|
307
|
-
sections.push("# AGENTS.md");
|
|
308
|
-
sections.push("");
|
|
309
|
-
sections.push("This file helps Autohand understand how to work with this project.");
|
|
310
|
-
sections.push("");
|
|
311
|
-
sections.push(this.generateProjectOverview(info));
|
|
312
|
-
if (info.packageManager) {
|
|
313
|
-
sections.push(this.generateCommandsSection(info));
|
|
314
|
-
}
|
|
315
|
-
if (info.testFramework) {
|
|
316
|
-
sections.push(this.generateTestingSection(info));
|
|
317
|
-
}
|
|
318
|
-
if (info.framework) {
|
|
319
|
-
const frameworkSection = this.generateFrameworkSection(info);
|
|
320
|
-
if (frameworkSection) {
|
|
321
|
-
sections.push(frameworkSection);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
sections.push(this.generateCodeStyleSection(info));
|
|
325
|
-
sections.push(this.generateConstraintsSection());
|
|
326
|
-
if (options?.customSections) {
|
|
327
|
-
for (const section of options.customSections) {
|
|
328
|
-
sections.push(`## ${section.title}`);
|
|
329
|
-
sections.push("");
|
|
330
|
-
sections.push(section.content);
|
|
331
|
-
sections.push("");
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
return sections.join("\n");
|
|
335
|
-
}
|
|
336
|
-
/**
|
|
337
|
-
* Generate project overview section
|
|
338
|
-
*/
|
|
339
|
-
generateProjectOverview(info) {
|
|
340
|
-
const lines = [];
|
|
341
|
-
lines.push("## Project Overview");
|
|
342
|
-
lines.push("");
|
|
343
|
-
if (info.language) {
|
|
344
|
-
lines.push(`- **Language**: ${info.language}`);
|
|
345
|
-
}
|
|
346
|
-
if (info.framework) {
|
|
347
|
-
lines.push(`- **Framework**: ${info.framework}`);
|
|
348
|
-
}
|
|
349
|
-
if (info.packageManager) {
|
|
350
|
-
lines.push(`- **Package Manager**: ${info.packageManager}`);
|
|
351
|
-
}
|
|
352
|
-
if (info.testFramework) {
|
|
353
|
-
lines.push(`- **Test Framework**: ${info.testFramework}`);
|
|
354
|
-
}
|
|
355
|
-
if (info.buildTool) {
|
|
356
|
-
lines.push(`- **Build Tool**: ${info.buildTool}`);
|
|
357
|
-
}
|
|
358
|
-
lines.push("");
|
|
359
|
-
return lines.join("\n");
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* Generate commands section based on package manager
|
|
363
|
-
*/
|
|
364
|
-
generateCommandsSection(info) {
|
|
365
|
-
const lines = [];
|
|
366
|
-
lines.push("## Commands");
|
|
367
|
-
lines.push("");
|
|
368
|
-
const pm = info.packageManager;
|
|
369
|
-
if (info.language === "Rust") {
|
|
370
|
-
lines.push("- **Build**: `cargo build`");
|
|
371
|
-
lines.push("- **Build (release)**: `cargo build --release`");
|
|
372
|
-
lines.push("- **Run**: `cargo run`");
|
|
373
|
-
lines.push("- **Test**: `cargo test`");
|
|
374
|
-
lines.push("- **Check**: `cargo check`");
|
|
375
|
-
lines.push("- **Format**: `cargo fmt`");
|
|
376
|
-
lines.push("- **Lint**: `cargo clippy`");
|
|
377
|
-
} else if (info.language === "Go") {
|
|
378
|
-
lines.push("- **Build**: `go build`");
|
|
379
|
-
lines.push("- **Run**: `go run .`");
|
|
380
|
-
lines.push("- **Test**: `go test ./...`");
|
|
381
|
-
lines.push("- **Format**: `go fmt ./...`");
|
|
382
|
-
lines.push("- **Vet**: `go vet ./...`");
|
|
383
|
-
} else if (info.language === "Python") {
|
|
384
|
-
if (pm === "poetry") {
|
|
385
|
-
lines.push("- **Install**: `poetry install`");
|
|
386
|
-
lines.push("- **Run**: `poetry run python main.py`");
|
|
387
|
-
lines.push("- **Add dependency**: `poetry add <package>`");
|
|
388
|
-
if (info.testFramework) {
|
|
389
|
-
lines.push(`- **Test**: \`poetry run pytest\``);
|
|
390
|
-
}
|
|
391
|
-
} else if (pm === "pipenv") {
|
|
392
|
-
lines.push("- **Install**: `pipenv install`");
|
|
393
|
-
lines.push("- **Run**: `pipenv run python main.py`");
|
|
394
|
-
if (info.testFramework) {
|
|
395
|
-
lines.push(`- **Test**: \`pipenv run pytest\``);
|
|
396
|
-
}
|
|
397
|
-
} else {
|
|
398
|
-
lines.push("- **Install**: `pip install -r requirements.txt`");
|
|
399
|
-
lines.push("- **Run**: `python main.py`");
|
|
400
|
-
if (info.testFramework) {
|
|
401
|
-
lines.push(`- **Test**: \`pytest\``);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
} else {
|
|
405
|
-
const run = pm === "npm" ? "npm run" : pm;
|
|
406
|
-
const install = pm === "npm" ? "npm install" : `${pm} install`;
|
|
407
|
-
lines.push(`- **Install**: \`${install}\``);
|
|
408
|
-
lines.push(`- **Dev**: \`${run} dev\``);
|
|
409
|
-
lines.push(`- **Build**: \`${run} build\``);
|
|
410
|
-
if (info.testFramework) {
|
|
411
|
-
lines.push(`- **Test**: \`${run} test\``);
|
|
412
|
-
}
|
|
413
|
-
if (info.linter) {
|
|
414
|
-
lines.push(`- **Lint**: \`${run} lint\``);
|
|
415
|
-
}
|
|
416
|
-
if (info.formatter) {
|
|
417
|
-
lines.push(`- **Format**: \`${run} format\``);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
lines.push("");
|
|
421
|
-
return lines.join("\n");
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* Generate testing section
|
|
425
|
-
*/
|
|
426
|
-
generateTestingSection(info) {
|
|
427
|
-
const lines = [];
|
|
428
|
-
lines.push("## Testing");
|
|
429
|
-
lines.push("");
|
|
430
|
-
lines.push(`This project uses **${info.testFramework}** for testing.`);
|
|
431
|
-
lines.push("");
|
|
432
|
-
lines.push("- Write tests for new features before implementation");
|
|
433
|
-
lines.push("- Run tests before committing changes");
|
|
434
|
-
lines.push("- Aim for good test coverage on critical paths");
|
|
435
|
-
if (info.testFramework === "Vitest" || info.testFramework === "Jest") {
|
|
436
|
-
lines.push("- Use `describe` and `it` blocks to organize tests");
|
|
437
|
-
lines.push("- Mock external dependencies when appropriate");
|
|
438
|
-
} else if (info.testFramework === "pytest") {
|
|
439
|
-
lines.push("- Use fixtures for shared test setup");
|
|
440
|
-
lines.push("- Use `pytest.mark` for test categorization");
|
|
441
|
-
} else if (info.testFramework === "Playwright" || info.testFramework === "Cypress") {
|
|
442
|
-
lines.push("- Write E2E tests for critical user flows");
|
|
443
|
-
lines.push("- Keep selectors stable and meaningful");
|
|
444
|
-
}
|
|
445
|
-
lines.push("");
|
|
446
|
-
return lines.join("\n");
|
|
447
|
-
}
|
|
448
|
-
/**
|
|
449
|
-
* Generate framework-specific section
|
|
450
|
-
*/
|
|
451
|
-
generateFrameworkSection(info) {
|
|
452
|
-
const lines = [];
|
|
453
|
-
switch (info.framework) {
|
|
454
|
-
case "Next.js":
|
|
455
|
-
lines.push("## Next.js Guidelines");
|
|
456
|
-
lines.push("");
|
|
457
|
-
lines.push("- Use the App Router for new pages (`app/` directory)");
|
|
458
|
-
lines.push("- Prefer Server Components by default");
|
|
459
|
-
lines.push('- Use `"use client"` only when needed for interactivity');
|
|
460
|
-
lines.push("- Keep API routes in `app/api/`");
|
|
461
|
-
lines.push("- Use `next/image` for optimized images");
|
|
462
|
-
lines.push("- Use `next/link` for client-side navigation");
|
|
463
|
-
break;
|
|
464
|
-
case "React":
|
|
465
|
-
lines.push("## React Guidelines");
|
|
466
|
-
lines.push("");
|
|
467
|
-
lines.push("- Use functional components with hooks");
|
|
468
|
-
lines.push("- Keep components small and focused");
|
|
469
|
-
lines.push("- Use custom hooks to share logic");
|
|
470
|
-
lines.push("- Prefer composition over inheritance");
|
|
471
|
-
lines.push("- Use TypeScript interfaces for props");
|
|
472
|
-
break;
|
|
473
|
-
case "Vue":
|
|
474
|
-
lines.push("## Vue Guidelines");
|
|
475
|
-
lines.push("");
|
|
476
|
-
lines.push("- Use Composition API for new components");
|
|
477
|
-
lines.push("- Keep components in single-file format (.vue)");
|
|
478
|
-
lines.push("- Use composables to share logic");
|
|
479
|
-
break;
|
|
480
|
-
case "Express":
|
|
481
|
-
lines.push("## Express Guidelines");
|
|
482
|
-
lines.push("");
|
|
483
|
-
lines.push("- Use middleware for cross-cutting concerns");
|
|
484
|
-
lines.push("- Keep route handlers thin, delegate to services");
|
|
485
|
-
lines.push("- Use async/await with proper error handling");
|
|
486
|
-
lines.push("- Validate request input before processing");
|
|
487
|
-
break;
|
|
488
|
-
case "FastAPI":
|
|
489
|
-
lines.push("## FastAPI Guidelines");
|
|
490
|
-
lines.push("");
|
|
491
|
-
lines.push("- Use Pydantic models for request/response validation");
|
|
492
|
-
lines.push("- Use dependency injection for shared resources");
|
|
493
|
-
lines.push("- Keep endpoints in organized routers");
|
|
494
|
-
lines.push("- Use async functions for I/O operations");
|
|
495
|
-
break;
|
|
496
|
-
case "Django":
|
|
497
|
-
lines.push("## Django Guidelines");
|
|
498
|
-
lines.push("");
|
|
499
|
-
lines.push("- Follow Django project structure conventions");
|
|
500
|
-
lines.push("- Use class-based views where appropriate");
|
|
501
|
-
lines.push("- Keep business logic in models or services");
|
|
502
|
-
lines.push("- Use Django ORM for database operations");
|
|
503
|
-
break;
|
|
504
|
-
case "Flask":
|
|
505
|
-
lines.push("## Flask Guidelines");
|
|
506
|
-
lines.push("");
|
|
507
|
-
lines.push("- Use blueprints to organize routes");
|
|
508
|
-
lines.push("- Keep route handlers focused");
|
|
509
|
-
lines.push("- Use Flask extensions for common functionality");
|
|
510
|
-
break;
|
|
511
|
-
case "NestJS":
|
|
512
|
-
lines.push("## NestJS Guidelines");
|
|
513
|
-
lines.push("");
|
|
514
|
-
lines.push("- Follow module-based architecture");
|
|
515
|
-
lines.push("- Use dependency injection");
|
|
516
|
-
lines.push("- Use decorators for metadata");
|
|
517
|
-
lines.push("- Keep controllers thin, services fat");
|
|
518
|
-
break;
|
|
519
|
-
default:
|
|
520
|
-
return null;
|
|
521
|
-
}
|
|
522
|
-
lines.push("");
|
|
523
|
-
return lines.join("\n");
|
|
524
|
-
}
|
|
525
|
-
/**
|
|
526
|
-
* Generate code style section
|
|
527
|
-
*/
|
|
528
|
-
generateCodeStyleSection(info) {
|
|
529
|
-
const lines = [];
|
|
530
|
-
lines.push("## Code Style");
|
|
531
|
-
lines.push("");
|
|
532
|
-
if (info.language === "TypeScript") {
|
|
533
|
-
lines.push("- Use strict TypeScript settings");
|
|
534
|
-
lines.push("- Define types/interfaces for data structures");
|
|
535
|
-
lines.push("- Avoid `any` type - use `unknown` if type is truly unknown");
|
|
536
|
-
lines.push("- Use type inference where obvious");
|
|
537
|
-
} else if (info.language === "Python") {
|
|
538
|
-
lines.push("- Follow PEP 8 style guidelines");
|
|
539
|
-
lines.push("- Use type hints for function signatures");
|
|
540
|
-
lines.push("- Use docstrings for public functions");
|
|
541
|
-
} else if (info.language === "Rust") {
|
|
542
|
-
lines.push("- Follow Rust naming conventions (snake_case for functions)");
|
|
543
|
-
lines.push("- Use descriptive error types");
|
|
544
|
-
lines.push("- Prefer `Result` over panicking");
|
|
545
|
-
} else if (info.language === "Go") {
|
|
546
|
-
lines.push("- Follow Go idioms and conventions");
|
|
547
|
-
lines.push("- Use short variable names in small scopes");
|
|
548
|
-
lines.push("- Handle errors explicitly");
|
|
549
|
-
}
|
|
550
|
-
lines.push("- Follow existing patterns in the codebase");
|
|
551
|
-
lines.push("- Use meaningful variable and function names");
|
|
552
|
-
lines.push("- Add comments for complex logic");
|
|
553
|
-
lines.push("- Keep functions focused and small");
|
|
554
|
-
if (info.linter) {
|
|
555
|
-
lines.push(`- Run **${info.linter}** before committing`);
|
|
556
|
-
}
|
|
557
|
-
if (info.formatter) {
|
|
558
|
-
lines.push(`- Format code with **${info.formatter}**`);
|
|
559
|
-
}
|
|
560
|
-
lines.push("");
|
|
561
|
-
return lines.join("\n");
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* Generate constraints section
|
|
565
|
-
*/
|
|
566
|
-
generateConstraintsSection() {
|
|
567
|
-
const lines = [];
|
|
568
|
-
lines.push("## Constraints");
|
|
569
|
-
lines.push("");
|
|
570
|
-
lines.push("- Do not modify files outside the project directory");
|
|
571
|
-
lines.push("- Ask before making breaking changes");
|
|
572
|
-
lines.push("- Prefer editing existing files over creating new ones");
|
|
573
|
-
lines.push("- Do not delete files without confirmation");
|
|
574
|
-
lines.push("- Keep dependencies minimal - avoid adding new ones without good reason");
|
|
575
|
-
lines.push("- Do not commit sensitive data (API keys, secrets, credentials)");
|
|
576
|
-
lines.push("");
|
|
577
|
-
return lines.join("\n");
|
|
578
|
-
}
|
|
579
|
-
};
|
|
580
|
-
|
|
581
305
|
// src/onboarding/setupWizard.ts
|
|
582
306
|
import chalk from "chalk";
|
|
583
307
|
import fse2 from "fs-extra";
|
|
@@ -1040,6 +764,23 @@ var SetupWizard = class {
|
|
|
1040
764
|
this.state.model = result.value;
|
|
1041
765
|
return this.state.model;
|
|
1042
766
|
}
|
|
767
|
+
if (provider === "sakana") {
|
|
768
|
+
const options = SAKANA_MODELS.map((modelName) => ({
|
|
769
|
+
label: modelName,
|
|
770
|
+
value: modelName
|
|
771
|
+
}));
|
|
772
|
+
const defaultIndex = Math.max(0, SAKANA_MODELS.indexOf(defaultModel));
|
|
773
|
+
const result = await showModal({
|
|
774
|
+
title: t("providers.config.selectModel"),
|
|
775
|
+
options,
|
|
776
|
+
initialIndex: defaultIndex >= 0 ? defaultIndex : 0
|
|
777
|
+
});
|
|
778
|
+
if (!result) {
|
|
779
|
+
return null;
|
|
780
|
+
}
|
|
781
|
+
this.state.model = result.value;
|
|
782
|
+
return this.state.model;
|
|
783
|
+
}
|
|
1043
784
|
if (provider === "cerebras") {
|
|
1044
785
|
const options = CEREBRAS_MODELS.map((modelName) => ({
|
|
1045
786
|
label: modelName,
|
|
@@ -1090,7 +831,7 @@ var SetupWizard = class {
|
|
|
1090
831
|
return this.state.model;
|
|
1091
832
|
}
|
|
1092
833
|
if (provider === "nvidia") {
|
|
1093
|
-
const { NVIDIA_MODELS } = await import("./NVIDIAProvider-
|
|
834
|
+
const { NVIDIA_MODELS } = await import("./NVIDIAProvider-AFNJNWJM.js");
|
|
1094
835
|
const options = [...NVIDIA_MODELS].map((modelName) => ({
|
|
1095
836
|
label: modelName,
|
|
1096
837
|
value: modelName
|
|
@@ -2234,7 +1975,7 @@ var SetupWizard = class {
|
|
|
2234
1975
|
}
|
|
2235
1976
|
// Helper methods
|
|
2236
1977
|
requiresApiKey(provider) {
|
|
2237
|
-
return provider === "openrouter" || provider === "llmgateway" || provider === "zai" || provider === "vertexai" || provider === "xai" || provider === "cerebras" || provider === "nvidia" || provider === "deepseek";
|
|
1978
|
+
return provider === "openrouter" || provider === "llmgateway" || provider === "zai" || provider === "sakana" || provider === "vertexai" || provider === "xai" || provider === "cerebras" || provider === "nvidia" || provider === "deepseek";
|
|
2238
1979
|
}
|
|
2239
1980
|
getProviderDisplayName(provider) {
|
|
2240
1981
|
return t(`providers.${provider}`);
|
|
@@ -2248,6 +1989,7 @@ var SetupWizard = class {
|
|
|
2248
1989
|
openai: t("providers.wizard.openai.apiKeyUrl"),
|
|
2249
1990
|
llmgateway: t("providers.wizard.llmgateway.apiKeyUrl"),
|
|
2250
1991
|
zai: t("providers.wizard.zai.apiKeyUrl"),
|
|
1992
|
+
sakana: t("providers.wizard.sakana.apiKeyUrl"),
|
|
2251
1993
|
nvidia: t("providers.wizard.nvidia.apiKeyUrl"),
|
|
2252
1994
|
deepseek: t("providers.wizard.deepseek.apiKeyUrl"),
|
|
2253
1995
|
bedrock: t("providers.wizard.bedrock.apiKeyUrl")
|
|
@@ -2263,7 +2005,8 @@ var SetupWizard = class {
|
|
|
2263
2005
|
mlx: "mlx-community/Llama-3.2-3B-Instruct-4bit",
|
|
2264
2006
|
llmgateway: "gpt-4o",
|
|
2265
2007
|
azure: "gpt-5.3-codex",
|
|
2266
|
-
zai: "glm-
|
|
2008
|
+
zai: "glm-5.2",
|
|
2009
|
+
sakana: "fugu",
|
|
2267
2010
|
vertexai: "zai-org/glm-5-maas",
|
|
2268
2011
|
xai: "grok-4.20-reasoning",
|
|
2269
2012
|
cerebras: "zai-glm-4.7",
|
|
@@ -2283,6 +2026,7 @@ var SetupWizard = class {
|
|
|
2283
2026
|
llmgateway: "https://api.llmgateway.io/v1",
|
|
2284
2027
|
azure: "https://{resourceName}.openai.azure.com",
|
|
2285
2028
|
zai: ZAI_DEFAULT_BASE_URL,
|
|
2029
|
+
sakana: SAKANA_DEFAULT_BASE_URL,
|
|
2286
2030
|
vertexai: "https://aiplatform.googleapis.com",
|
|
2287
2031
|
xai: "https://api.x.ai/v1",
|
|
2288
2032
|
cerebras: CEREBRAS_DEFAULT_BASE_URL,
|
|
@@ -2328,7 +2072,6 @@ var SetupWizard = class {
|
|
|
2328
2072
|
|
|
2329
2073
|
export {
|
|
2330
2074
|
ProjectAnalyzer,
|
|
2331
|
-
AgentsGenerator,
|
|
2332
2075
|
probeLlamaCppEnvironment,
|
|
2333
2076
|
installLlamaCpp,
|
|
2334
2077
|
SetupWizard
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkRJCZLFHEcjs = require('./chunk-RJCZLFHE.cjs');
|
|
4
4
|
|
|
5
5
|
// src/commands/model.ts
|
|
6
6
|
async function model(ctx) {
|
|
@@ -14,7 +14,7 @@ async function model(ctx) {
|
|
|
14
14
|
}
|
|
15
15
|
var metadata = {
|
|
16
16
|
command: "/model",
|
|
17
|
-
description:
|
|
17
|
+
description: _chunkRJCZLFHEcjs.t.call(void 0, "commands.model.description"),
|
|
18
18
|
implemented: true
|
|
19
19
|
};
|
|
20
20
|
|