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,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkGYLGCR6Fcjs = require('./chunk-GYLGCR6F.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDMM2BKSVcjs = require('./chunk-DMM2BKSV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRJCZLFHEcjs = require('./chunk-RJCZLFHE.cjs');
|
|
10
10
|
|
|
11
11
|
// src/commands/hooks.ts
|
|
12
12
|
var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
|
|
@@ -19,6 +19,7 @@ var HOOK_EVENTS = [
|
|
|
19
19
|
"post-tool",
|
|
20
20
|
"file-modified",
|
|
21
21
|
"stop",
|
|
22
|
+
"post-response",
|
|
22
23
|
"subagent-stop",
|
|
23
24
|
"permission-request",
|
|
24
25
|
"notification",
|
|
@@ -35,6 +36,8 @@ var HOOK_EVENTS = [
|
|
|
35
36
|
// Learn events
|
|
36
37
|
"pre-learn",
|
|
37
38
|
"post-learn",
|
|
39
|
+
// Goal authoring events
|
|
40
|
+
"goal-written:completed",
|
|
38
41
|
// Team events
|
|
39
42
|
"team-created",
|
|
40
43
|
"teammate-spawned",
|
|
@@ -49,7 +52,12 @@ var HOOK_EVENTS = [
|
|
|
49
52
|
"review:failed",
|
|
50
53
|
"review:completed",
|
|
51
54
|
// Mode events
|
|
52
|
-
"mode-change"
|
|
55
|
+
"mode-change",
|
|
56
|
+
// Context lifecycle events
|
|
57
|
+
"context:compact",
|
|
58
|
+
"context:overflow",
|
|
59
|
+
"context:warning",
|
|
60
|
+
"context:critical"
|
|
53
61
|
];
|
|
54
62
|
var EVENT_DESCRIPTIONS = {
|
|
55
63
|
"session-start": "When a session begins",
|
|
@@ -77,6 +85,8 @@ var EVENT_DESCRIPTIONS = {
|
|
|
77
85
|
// Learn events
|
|
78
86
|
"pre-learn": "Before a learn operation begins",
|
|
79
87
|
"post-learn": "After a learn operation completes",
|
|
88
|
+
// Goal authoring events
|
|
89
|
+
"goal-written:completed": "After a goal objective is created",
|
|
80
90
|
// Team events
|
|
81
91
|
"team-created": "When a team is created",
|
|
82
92
|
"teammate-spawned": "When a teammate process starts",
|
|
@@ -145,7 +155,8 @@ function getHookIcon(hook) {
|
|
|
145
155
|
"permission-request": "\u{1F510}",
|
|
146
156
|
"notification": "\u{1F514}",
|
|
147
157
|
"subagent-stop": "\u{1F916}",
|
|
148
|
-
"pre-prompt": "\u{1F4AD}"
|
|
158
|
+
"pre-prompt": "\u{1F4AD}",
|
|
159
|
+
"goal-written:completed": "\u{1F3C1}"
|
|
149
160
|
};
|
|
150
161
|
return eventIcons[hook.event] || "\u2022";
|
|
151
162
|
}
|
|
@@ -165,11 +176,11 @@ function getShortCommand(command) {
|
|
|
165
176
|
}
|
|
166
177
|
function displayHooksList(allHooks) {
|
|
167
178
|
console.log();
|
|
168
|
-
console.log(_chalk2.default.bold.cyan(
|
|
179
|
+
console.log(_chalk2.default.bold.cyan(_chunkRJCZLFHEcjs.t.call(void 0, "commands.hooks.title")));
|
|
169
180
|
console.log(_chalk2.default.gray(" Lifecycle hooks run shell commands on events"));
|
|
170
181
|
console.log();
|
|
171
182
|
if (allHooks.length === 0) {
|
|
172
|
-
console.log(_chalk2.default.gray(` ${
|
|
183
|
+
console.log(_chalk2.default.gray(` ${_chunkRJCZLFHEcjs.t.call(void 0, "commands.hooks.noHooks")}`));
|
|
173
184
|
console.log();
|
|
174
185
|
return;
|
|
175
186
|
}
|
|
@@ -249,7 +260,7 @@ async function hooks(ctx) {
|
|
|
249
260
|
const toggleLabel = settings.enabled !== false ? "\u25EF Disable all hooks" : "\u25CF Enable all hooks";
|
|
250
261
|
choices.push({ name: "toggle_global", message: toggleLabel });
|
|
251
262
|
}
|
|
252
|
-
const actionResult = await
|
|
263
|
+
const actionResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
253
264
|
type: "select",
|
|
254
265
|
name: "action",
|
|
255
266
|
message: "Action",
|
|
@@ -285,7 +296,7 @@ async function toggleHooksMulti(manager, allHooks) {
|
|
|
285
296
|
};
|
|
286
297
|
});
|
|
287
298
|
let toggleCount = 0;
|
|
288
|
-
await
|
|
299
|
+
await _chunkDMM2BKSVcjs.showModal.call(void 0, {
|
|
289
300
|
title: "Toggle hooks \u2014 spacebar to enable/disable",
|
|
290
301
|
options,
|
|
291
302
|
multiSelect: true,
|
|
@@ -311,26 +322,26 @@ async function addHook(manager) {
|
|
|
311
322
|
name: e,
|
|
312
323
|
message: `${e} ${_chalk2.default.dim(`- ${EVENT_DESCRIPTIONS[e]}`)}`
|
|
313
324
|
}));
|
|
314
|
-
const eventResult = await
|
|
325
|
+
const eventResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
315
326
|
type: "select",
|
|
316
327
|
name: "event",
|
|
317
328
|
message: "Event to hook into",
|
|
318
329
|
choices: eventChoices
|
|
319
330
|
});
|
|
320
331
|
if (!eventResult) return;
|
|
321
|
-
const commandResult = await
|
|
332
|
+
const commandResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
322
333
|
type: "input",
|
|
323
334
|
name: "command",
|
|
324
335
|
message: "Shell command to execute",
|
|
325
336
|
validate: (val) => typeof val === "string" && val.trim().length > 0 || "Command is required"
|
|
326
337
|
});
|
|
327
338
|
if (!commandResult || !commandResult.command) return;
|
|
328
|
-
const descResult = await
|
|
339
|
+
const descResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
329
340
|
type: "input",
|
|
330
341
|
name: "description",
|
|
331
342
|
message: "Description (optional)"
|
|
332
343
|
});
|
|
333
|
-
const asyncResult = await
|
|
344
|
+
const asyncResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
334
345
|
type: "confirm",
|
|
335
346
|
name: "async",
|
|
336
347
|
message: "Run asynchronously (non-blocking)?",
|
|
@@ -355,7 +366,7 @@ async function removeHook(manager, allHooks) {
|
|
|
355
366
|
message: `${eventTag} ${desc2}`
|
|
356
367
|
};
|
|
357
368
|
});
|
|
358
|
-
const selectResult = await
|
|
369
|
+
const selectResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
359
370
|
type: "select",
|
|
360
371
|
name: "hookIndex",
|
|
361
372
|
message: "Select hook to remove",
|
|
@@ -367,7 +378,7 @@ async function removeHook(manager, allHooks) {
|
|
|
367
378
|
const eventHooks = allHooks.filter((h) => h.event === hook.event);
|
|
368
379
|
const eventIndex = eventHooks.indexOf(hook);
|
|
369
380
|
const desc = hook.description || getShortCommand(hook.command);
|
|
370
|
-
const confirmResult = await
|
|
381
|
+
const confirmResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
371
382
|
type: "confirm",
|
|
372
383
|
name: "confirm",
|
|
373
384
|
message: `Remove "${desc}"?`,
|
|
@@ -390,7 +401,7 @@ async function testHook(manager, allHooks) {
|
|
|
390
401
|
message: `${eventTag} ${desc}`
|
|
391
402
|
};
|
|
392
403
|
});
|
|
393
|
-
const selectResult = await
|
|
404
|
+
const selectResult = await _chunkGYLGCR6Fcjs.safePrompt.call(void 0, {
|
|
394
405
|
type: "select",
|
|
395
406
|
name: "hookIndex",
|
|
396
407
|
message: "Select hook to test",
|
|
@@ -421,7 +432,7 @@ async function testHook(manager, allHooks) {
|
|
|
421
432
|
}
|
|
422
433
|
var metadata = {
|
|
423
434
|
command: "/hooks",
|
|
424
|
-
description:
|
|
435
|
+
description: _chunkRJCZLFHEcjs.t.call(void 0, "commands.hooks.description"),
|
|
425
436
|
implemented: true
|
|
426
437
|
};
|
|
427
438
|
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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; }// src/memory/extractSessionMemories.ts
|
|
2
2
|
var VALID_LEVELS = /* @__PURE__ */ new Set(["user", "project"]);
|
|
3
3
|
var MIN_USER_MESSAGES = 2;
|
|
4
4
|
var EXTRACTION_PROMPT = `Analyze this conversation and extract patterns, preferences, and insights worth remembering for future sessions.
|
|
5
5
|
|
|
6
6
|
Rules:
|
|
7
7
|
- Only extract genuinely useful patterns: coding style, tool preferences, workflow habits, project conventions, architectural decisions
|
|
8
|
+
- Look from the user perspective: what did the user reveal about preferences, expectations, workflow, terminology, or project rules?
|
|
9
|
+
- Look from the assistant perspective: what did the assistant learn about how to serve this user or this project more effectively next time?
|
|
8
10
|
- Classify as "user" (personal preferences that apply across all projects) or "project" (specific to this codebase/workspace)
|
|
9
11
|
- Be concise: each memory should be 1-2 sentences max
|
|
12
|
+
- Prefer updating/refining durable memories over restating obvious session facts
|
|
10
13
|
- Skip trivial, one-off, or context-specific observations
|
|
11
14
|
- If nothing is worth saving, return an empty array
|
|
12
15
|
|
|
@@ -32,7 +35,9 @@ function normaliseTags(raw) {
|
|
|
32
35
|
}
|
|
33
36
|
async function extractAndSaveSessionMemories(deps) {
|
|
34
37
|
const { llm, memoryManager, conversationHistory } = deps;
|
|
35
|
-
|
|
38
|
+
const minUserMessages = _nullishCoalesce(_optionalChain([deps, 'access', _ => _.options, 'optionalAccess', _2 => _2.minUserMessages]), () => ( MIN_USER_MESSAGES));
|
|
39
|
+
const source = _nullishCoalesce(_optionalChain([deps, 'access', _3 => _3.options, 'optionalAccess', _4 => _4.source]), () => ( "session-extraction"));
|
|
40
|
+
if (countUserMessages(conversationHistory) < minUserMessages) {
|
|
36
41
|
return [];
|
|
37
42
|
}
|
|
38
43
|
let rawContent;
|
|
@@ -73,7 +78,7 @@ async function extractAndSaveSessionMemories(deps) {
|
|
|
73
78
|
memory.content,
|
|
74
79
|
memory.level,
|
|
75
80
|
memory.tags,
|
|
76
|
-
|
|
81
|
+
source
|
|
77
82
|
);
|
|
78
83
|
saved.push(memory);
|
|
79
84
|
} catch (e3) {
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-7DJJGKM6.js";
|
|
11
11
|
import {
|
|
12
12
|
package_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NOWCRKP2.js";
|
|
14
14
|
import {
|
|
15
15
|
t
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SJQU2ZFR.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/about.ts
|
|
19
19
|
import { execSync } from "child_process";
|
|
@@ -24,7 +24,7 @@ function getCommitFromAlphaVersion(version) {
|
|
|
24
24
|
}
|
|
25
25
|
function getGitCommit() {
|
|
26
26
|
if (true) {
|
|
27
|
-
return "
|
|
27
|
+
return "1d7b7b1";
|
|
28
28
|
}
|
|
29
29
|
const alphaCommit = getCommitFromAlphaVersion(package_default.version);
|
|
30
30
|
if (alphaCommit) {
|
|
@@ -55,7 +55,7 @@ async function about(ctx = {}) {
|
|
|
55
55
|
lines.push(theme.text(`Hey ${greetingName}, here are a few suggestions for what you could do next:`));
|
|
56
56
|
lines.push(theme.text(` \u2022 Review model, context, and account usage: ${theme.accent("/usage")}`));
|
|
57
57
|
lines.push(theme.text(` \u2022 Check current session and runtime status: ${theme.accent("/status")}`));
|
|
58
|
-
lines.push(theme.text(` \u2022 Discover
|
|
58
|
+
lines.push(theme.text(` \u2022 Discover experiments available to you: ${theme.accent("/experiments")}`));
|
|
59
59
|
lines.push("");
|
|
60
60
|
}
|
|
61
61
|
const websiteUrl = "https://autohand.ai";
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
package_default
|
|
3
|
-
} from "./chunk-JB3JCYBJ.js";
|
|
4
1
|
import {
|
|
5
2
|
ApiError
|
|
6
3
|
} from "./chunk-FQVG6ZHF.js";
|
|
4
|
+
import {
|
|
5
|
+
looksLikeInlineAgents
|
|
6
|
+
} from "./chunk-TJFKA6A7.js";
|
|
7
|
+
import {
|
|
8
|
+
package_default
|
|
9
|
+
} from "./chunk-NOWCRKP2.js";
|
|
7
10
|
import {
|
|
8
11
|
themedFg
|
|
9
12
|
} from "./chunk-JAQO6XDB.js";
|
|
10
13
|
import {
|
|
11
14
|
AUTOHAND_FILES,
|
|
12
15
|
AUTOHAND_PATHS
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PG2JIU5M.js";
|
|
17
|
+
|
|
18
|
+
// src/utils/debugLog.ts
|
|
19
|
+
function isAutohandDebugEnabled(env = process.env) {
|
|
20
|
+
const value = env.AUTOHAND_DEBUG?.trim().toLowerCase();
|
|
21
|
+
return value === "1" || value === "true";
|
|
22
|
+
}
|
|
23
|
+
function writeAutohandDebugLine(message, writer) {
|
|
24
|
+
if (!isAutohandDebugEnabled()) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (writer) {
|
|
28
|
+
writer(message);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const line = message.endsWith("\n") ? message : `${message}
|
|
32
|
+
`;
|
|
33
|
+
process.stderr.write(line);
|
|
34
|
+
}
|
|
14
35
|
|
|
15
36
|
// src/utils/sessionWorktree.ts
|
|
16
37
|
import { spawnSync } from "child_process";
|
|
@@ -87,6 +108,74 @@ function prepareSessionWorktree(input) {
|
|
|
87
108
|
};
|
|
88
109
|
}
|
|
89
110
|
|
|
111
|
+
// src/runtime/bareMode.ts
|
|
112
|
+
import fs from "fs-extra";
|
|
113
|
+
import path2 from "path";
|
|
114
|
+
var BARE_SLASH_COMMANDS_DISABLED_MESSAGE = "Slash commands are disabled in bare mode.";
|
|
115
|
+
function applyBareModeConfig(config, options) {
|
|
116
|
+
const bareConfig = {
|
|
117
|
+
...config,
|
|
118
|
+
ui: {
|
|
119
|
+
...config.ui,
|
|
120
|
+
promptSuggestions: false,
|
|
121
|
+
checkForUpdates: false,
|
|
122
|
+
notifications: false
|
|
123
|
+
},
|
|
124
|
+
telemetry: {
|
|
125
|
+
...config.telemetry,
|
|
126
|
+
enabled: false,
|
|
127
|
+
enableSessionSync: false
|
|
128
|
+
},
|
|
129
|
+
autoReport: {
|
|
130
|
+
...config.autoReport,
|
|
131
|
+
enabled: false
|
|
132
|
+
},
|
|
133
|
+
communitySkills: {
|
|
134
|
+
...config.communitySkills,
|
|
135
|
+
enabled: false,
|
|
136
|
+
showSuggestionsOnStartup: false,
|
|
137
|
+
autoBackup: false
|
|
138
|
+
},
|
|
139
|
+
hooks: {
|
|
140
|
+
...config.hooks,
|
|
141
|
+
enabled: false,
|
|
142
|
+
hooks: []
|
|
143
|
+
},
|
|
144
|
+
mcp: options.mcpConfig ? config.mcp : {
|
|
145
|
+
...config.mcp,
|
|
146
|
+
enabled: false,
|
|
147
|
+
servers: []
|
|
148
|
+
},
|
|
149
|
+
sync: {
|
|
150
|
+
...config.sync,
|
|
151
|
+
enabled: false
|
|
152
|
+
},
|
|
153
|
+
externalAgents: options.agents && !looksLikeInlineAgents(options.agents) ? { enabled: true, paths: [path2.resolve(options.agents)] } : { enabled: false, paths: [] }
|
|
154
|
+
};
|
|
155
|
+
if (options.pluginDir) {
|
|
156
|
+
bareConfig.pluginDir = path2.resolve(options.pluginDir);
|
|
157
|
+
}
|
|
158
|
+
return bareConfig;
|
|
159
|
+
}
|
|
160
|
+
async function applyExplicitBareFiles(config, options) {
|
|
161
|
+
if (!options.mcpConfig) {
|
|
162
|
+
return config;
|
|
163
|
+
}
|
|
164
|
+
const mcpConfigPath = path2.resolve(options.mcpConfig);
|
|
165
|
+
const mcpConfig = await fs.readJson(mcpConfigPath);
|
|
166
|
+
return {
|
|
167
|
+
...config,
|
|
168
|
+
mcp: Array.isArray(mcpConfig?.servers) ? { enabled: true, servers: mcpConfig.servers } : mcpConfig
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
async function prepareBareModeConfig(config, options) {
|
|
172
|
+
if (!options.bare) {
|
|
173
|
+
return config;
|
|
174
|
+
}
|
|
175
|
+
process.env.AUTOHAND_CODE_SIMPLE = "1";
|
|
176
|
+
return applyExplicitBareFiles(applyBareModeConfig(config, options), options);
|
|
177
|
+
}
|
|
178
|
+
|
|
90
179
|
// src/ui/theme/startup.ts
|
|
91
180
|
import chalk from "chalk";
|
|
92
181
|
function formatStartupBanner(logo) {
|
|
@@ -139,30 +228,12 @@ function formatForceExit() {
|
|
|
139
228
|
return themedFg("muted", "\nForce exiting...", chalk.gray);
|
|
140
229
|
}
|
|
141
230
|
|
|
142
|
-
// src/utils/debugLog.ts
|
|
143
|
-
function isAutohandDebugEnabled(env = process.env) {
|
|
144
|
-
const value = env.AUTOHAND_DEBUG?.trim().toLowerCase();
|
|
145
|
-
return value === "1" || value === "true";
|
|
146
|
-
}
|
|
147
|
-
function writeAutohandDebugLine(message, writer) {
|
|
148
|
-
if (!isAutohandDebugEnabled()) {
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
|
-
if (writer) {
|
|
152
|
-
writer(message);
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
|
-
const line = message.endsWith("\n") ? message : `${message}
|
|
156
|
-
`;
|
|
157
|
-
process.stderr.write(line);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
231
|
// src/reporting/AutoReportManager.ts
|
|
161
232
|
import crypto3 from "crypto";
|
|
162
233
|
|
|
163
234
|
// src/reporting/AutoReportClient.ts
|
|
164
235
|
import crypto2 from "crypto";
|
|
165
|
-
import
|
|
236
|
+
import fs2 from "fs-extra";
|
|
166
237
|
import os from "os";
|
|
167
238
|
var DEVICE_ID_FILE = AUTOHAND_FILES.deviceId;
|
|
168
239
|
var AutoReportClient = class {
|
|
@@ -175,8 +246,8 @@ var AutoReportClient = class {
|
|
|
175
246
|
*/
|
|
176
247
|
getDeviceId() {
|
|
177
248
|
try {
|
|
178
|
-
if (
|
|
179
|
-
return
|
|
249
|
+
if (fs2.existsSync(DEVICE_ID_FILE)) {
|
|
250
|
+
return fs2.readFileSync(DEVICE_ID_FILE, "utf8").trim();
|
|
180
251
|
}
|
|
181
252
|
} catch {
|
|
182
253
|
}
|
|
@@ -367,8 +438,8 @@ var AutoReportManager = class _AutoReportManager {
|
|
|
367
438
|
};
|
|
368
439
|
|
|
369
440
|
// src/telemetry/TelemetryClient.ts
|
|
370
|
-
import
|
|
371
|
-
import
|
|
441
|
+
import fs3 from "fs-extra";
|
|
442
|
+
import path3 from "path";
|
|
372
443
|
import crypto4 from "crypto";
|
|
373
444
|
var TELEMETRY_DIR = AUTOHAND_PATHS.telemetry;
|
|
374
445
|
var QUEUE_FILE = AUTOHAND_FILES.telemetryQueue;
|
|
@@ -403,12 +474,12 @@ var TelemetryClient = class {
|
|
|
403
474
|
*/
|
|
404
475
|
getOrCreateDeviceId() {
|
|
405
476
|
try {
|
|
406
|
-
|
|
407
|
-
if (
|
|
408
|
-
return
|
|
477
|
+
fs3.ensureDirSync(path3.dirname(DEVICE_ID_FILE2));
|
|
478
|
+
if (fs3.existsSync(DEVICE_ID_FILE2)) {
|
|
479
|
+
return fs3.readFileSync(DEVICE_ID_FILE2, "utf8").trim();
|
|
409
480
|
}
|
|
410
481
|
const id = crypto4.randomUUID();
|
|
411
|
-
|
|
482
|
+
fs3.writeFileSync(DEVICE_ID_FILE2, id);
|
|
412
483
|
return id;
|
|
413
484
|
} catch {
|
|
414
485
|
return crypto4.randomUUID();
|
|
@@ -419,9 +490,9 @@ var TelemetryClient = class {
|
|
|
419
490
|
*/
|
|
420
491
|
loadQueue() {
|
|
421
492
|
try {
|
|
422
|
-
|
|
423
|
-
if (
|
|
424
|
-
const data =
|
|
493
|
+
fs3.ensureDirSync(TELEMETRY_DIR);
|
|
494
|
+
if (fs3.existsSync(QUEUE_FILE)) {
|
|
495
|
+
const data = fs3.readFileSync(QUEUE_FILE, "utf8");
|
|
425
496
|
this.queue = JSON.parse(data);
|
|
426
497
|
}
|
|
427
498
|
} catch {
|
|
@@ -433,8 +504,8 @@ var TelemetryClient = class {
|
|
|
433
504
|
*/
|
|
434
505
|
saveQueue() {
|
|
435
506
|
try {
|
|
436
|
-
|
|
437
|
-
|
|
507
|
+
fs3.ensureDirSync(TELEMETRY_DIR);
|
|
508
|
+
fs3.writeFileSync(QUEUE_FILE, JSON.stringify(this.queue, null, 2));
|
|
438
509
|
} catch {
|
|
439
510
|
}
|
|
440
511
|
}
|
|
@@ -578,34 +649,37 @@ var TelemetryClient = class {
|
|
|
578
649
|
* Upload session data for cloud sync
|
|
579
650
|
*/
|
|
580
651
|
async uploadSession(sessionData) {
|
|
581
|
-
if (!this.config.
|
|
652
|
+
if (!this.config.enableSessionSync) {
|
|
582
653
|
return { success: false, error: "Session sync disabled" };
|
|
583
654
|
}
|
|
655
|
+
if (!this.config.authToken) {
|
|
656
|
+
return { success: false, error: "Login required for session sync" };
|
|
657
|
+
}
|
|
584
658
|
const online = await this.isOnline();
|
|
585
659
|
if (!online) {
|
|
586
660
|
try {
|
|
587
|
-
const syncQueueFile =
|
|
661
|
+
const syncQueueFile = path3.join(TELEMETRY_DIR, "session-sync-queue.json");
|
|
588
662
|
let syncQueue = [];
|
|
589
|
-
if (
|
|
590
|
-
syncQueue = JSON.parse(
|
|
663
|
+
if (fs3.existsSync(syncQueueFile)) {
|
|
664
|
+
syncQueue = JSON.parse(fs3.readFileSync(syncQueueFile, "utf8"));
|
|
591
665
|
}
|
|
592
666
|
syncQueue.push(sessionData);
|
|
593
667
|
if (syncQueue.length > 10) {
|
|
594
668
|
syncQueue = syncQueue.slice(-10);
|
|
595
669
|
}
|
|
596
|
-
|
|
670
|
+
fs3.writeFileSync(syncQueueFile, JSON.stringify(syncQueue, null, 2));
|
|
597
671
|
return { success: false, error: "Offline - queued for sync" };
|
|
598
672
|
} catch {
|
|
599
673
|
return { success: false, error: "Failed to queue session" };
|
|
600
674
|
}
|
|
601
675
|
}
|
|
602
676
|
try {
|
|
603
|
-
const authToken = `${this.deviceId}.${this.config.companySecret}`;
|
|
604
677
|
const response = await fetch(`${this.config.apiBaseUrl}/v1/history`, {
|
|
605
678
|
method: "POST",
|
|
606
679
|
headers: {
|
|
607
680
|
"Content-Type": "application/json",
|
|
608
|
-
"Authorization": `Bearer ${authToken}
|
|
681
|
+
"Authorization": `Bearer ${this.config.authToken}`,
|
|
682
|
+
"X-CLI-Version": this.config.clientVersion || "unknown"
|
|
609
683
|
},
|
|
610
684
|
body: JSON.stringify({
|
|
611
685
|
deviceId: this.deviceId,
|
|
@@ -628,12 +702,12 @@ var TelemetryClient = class {
|
|
|
628
702
|
* Sync queued sessions (call when back online)
|
|
629
703
|
*/
|
|
630
704
|
async syncQueuedSessions() {
|
|
631
|
-
const syncQueueFile =
|
|
632
|
-
if (!
|
|
705
|
+
const syncQueueFile = path3.join(TELEMETRY_DIR, "session-sync-queue.json");
|
|
706
|
+
if (!fs3.existsSync(syncQueueFile)) {
|
|
633
707
|
return { synced: 0, failed: 0 };
|
|
634
708
|
}
|
|
635
709
|
try {
|
|
636
|
-
const syncQueue = JSON.parse(
|
|
710
|
+
const syncQueue = JSON.parse(fs3.readFileSync(syncQueueFile, "utf8"));
|
|
637
711
|
let synced = 0;
|
|
638
712
|
let failed = 0;
|
|
639
713
|
const remaining = [];
|
|
@@ -648,9 +722,9 @@ var TelemetryClient = class {
|
|
|
648
722
|
}
|
|
649
723
|
}
|
|
650
724
|
if (remaining.length > 0) {
|
|
651
|
-
|
|
725
|
+
fs3.writeFileSync(syncQueueFile, JSON.stringify(remaining, null, 2));
|
|
652
726
|
} else {
|
|
653
|
-
|
|
727
|
+
fs3.removeSync(syncQueueFile);
|
|
654
728
|
}
|
|
655
729
|
return { synced, failed };
|
|
656
730
|
} catch {
|
|
@@ -694,6 +768,7 @@ var TelemetryManager = class {
|
|
|
694
768
|
errorsCount = 0;
|
|
695
769
|
currentModel = null;
|
|
696
770
|
currentProvider = null;
|
|
771
|
+
currentProviderMetadata = {};
|
|
697
772
|
telemetryEnabled;
|
|
698
773
|
heartbeatIntervalMs;
|
|
699
774
|
constructor(config = {}) {
|
|
@@ -735,7 +810,7 @@ var TelemetryManager = class {
|
|
|
735
810
|
/**
|
|
736
811
|
* Start a new session
|
|
737
812
|
*/
|
|
738
|
-
async startSession(sessionId, model, provider, startedAt) {
|
|
813
|
+
async startSession(sessionId, model, provider, startedAt, providerMetadata = {}) {
|
|
739
814
|
this.sessionId = sessionId;
|
|
740
815
|
this.sessionStartTime = this.normalizeSessionStartTime(startedAt);
|
|
741
816
|
this.interactionCount = 0;
|
|
@@ -743,10 +818,12 @@ var TelemetryManager = class {
|
|
|
743
818
|
this.errorsCount = 0;
|
|
744
819
|
this.currentModel = model || null;
|
|
745
820
|
this.currentProvider = provider || null;
|
|
821
|
+
this.currentProviderMetadata = providerMetadata;
|
|
746
822
|
this.startHeartbeatTimer();
|
|
747
823
|
await this.trackEvent("session_start", {
|
|
748
824
|
model,
|
|
749
|
-
provider
|
|
825
|
+
provider,
|
|
826
|
+
...providerMetadata
|
|
750
827
|
});
|
|
751
828
|
await this.client.syncQueuedSessions();
|
|
752
829
|
}
|
|
@@ -760,7 +837,8 @@ var TelemetryManager = class {
|
|
|
760
837
|
status,
|
|
761
838
|
duration,
|
|
762
839
|
model: this.currentModel,
|
|
763
|
-
provider: this.currentProvider
|
|
840
|
+
provider: this.currentProvider,
|
|
841
|
+
...this.currentProviderMetadata
|
|
764
842
|
});
|
|
765
843
|
await this.client.syncAll();
|
|
766
844
|
}
|
|
@@ -844,10 +922,17 @@ var TelemetryManager = class {
|
|
|
844
922
|
const previousModel = this.currentModel;
|
|
845
923
|
this.currentModel = data.toModel;
|
|
846
924
|
this.currentProvider = data.provider;
|
|
925
|
+
this.currentProviderMetadata = {
|
|
926
|
+
providerDisplayName: data.providerDisplayName,
|
|
927
|
+
providerApiFormat: data.providerApiFormat,
|
|
928
|
+
reasoningEffort: data.reasoningEffort,
|
|
929
|
+
contextWindow: data.contextWindow
|
|
930
|
+
};
|
|
847
931
|
await this.trackEvent("model_switch", {
|
|
848
932
|
fromModel: previousModel || data.fromModel,
|
|
849
933
|
toModel: data.toModel,
|
|
850
|
-
provider: data.provider
|
|
934
|
+
provider: data.provider,
|
|
935
|
+
...this.currentProviderMetadata
|
|
851
936
|
});
|
|
852
937
|
}
|
|
853
938
|
/**
|
|
@@ -872,7 +957,6 @@ var TelemetryManager = class {
|
|
|
872
957
|
return { success: false, error: "No active session" };
|
|
873
958
|
}
|
|
874
959
|
const endTimeMs = Date.now();
|
|
875
|
-
const endTime = data.metadata?.endTime ?? new Date(endTimeMs).toISOString();
|
|
876
960
|
const startTime = data.metadata?.startTime ?? this.sessionStartTime?.toISOString();
|
|
877
961
|
const durationSeconds = data.metadata?.durationSeconds ?? this.getSessionDurationSeconds(endTimeMs);
|
|
878
962
|
return this.client.uploadSession({
|
|
@@ -881,9 +965,10 @@ var TelemetryManager = class {
|
|
|
881
965
|
metadata: {
|
|
882
966
|
model: this.currentModel || void 0,
|
|
883
967
|
provider: this.currentProvider || void 0,
|
|
968
|
+
...this.currentProviderMetadata,
|
|
884
969
|
totalTokens: data.metadata?.totalTokens,
|
|
885
970
|
startTime,
|
|
886
|
-
endTime,
|
|
971
|
+
...data.metadata?.endTime ? { endTime: data.metadata.endTime } : {},
|
|
887
972
|
durationSeconds,
|
|
888
973
|
workspaceRoot: data.metadata?.workspaceRoot
|
|
889
974
|
}
|
|
@@ -983,6 +1068,8 @@ export {
|
|
|
983
1068
|
TelemetryManager,
|
|
984
1069
|
isSessionWorktreeEnabled,
|
|
985
1070
|
prepareSessionWorktree,
|
|
1071
|
+
BARE_SLASH_COMMANDS_DISABLED_MESSAGE,
|
|
1072
|
+
prepareBareModeConfig,
|
|
986
1073
|
formatStartupBanner,
|
|
987
1074
|
formatWelcomeVersionPrefix,
|
|
988
1075
|
formatUpdateAvailable,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
showModal,
|
|
7
7
|
showPassword
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LOSXLH7P.js";
|
|
9
9
|
import {
|
|
10
10
|
saveConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CM24K6ZT.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/search.ts
|
|
14
14
|
import chalk from "chalk";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
getManifestTarget,
|
|
7
7
|
hasActiveHandoff,
|
|
8
8
|
openChromeContinuation
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S7KVUIOS.js";
|
|
10
10
|
import {
|
|
11
11
|
showModal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LOSXLH7P.js";
|
|
13
13
|
import {
|
|
14
14
|
saveConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CM24K6ZT.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/chrome.ts
|
|
18
18
|
import chalk from "chalk";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkTZB5XADLcjs = require('./chunk-TZB5XADL.cjs');
|
|
4
4
|
|
|
5
5
|
// src/skills/learnPrompts.ts
|
|
6
6
|
function buildLearnSystemPrompt() {
|
|
@@ -139,7 +139,7 @@ Return ONLY the JSON object, no other text.`;
|
|
|
139
139
|
}
|
|
140
140
|
function buildLearnGenerationUserPrompt(analysis, gapAnalysis, lowScoringSkills) {
|
|
141
141
|
const parts = [];
|
|
142
|
-
parts.push(
|
|
142
|
+
parts.push(_chunkTZB5XADLcjs.buildSkillGenerationPrompt.call(void 0, analysis));
|
|
143
143
|
parts.push("");
|
|
144
144
|
parts.push("## Context");
|
|
145
145
|
parts.push("No existing community skills matched well for this project.");
|