autohand-cli 0.9.0 → 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 +118 -76
- package/dist/AgentRegistry-BBQRODQC.cjs +18 -0
- package/dist/AgentRegistry-JBXZUPML.js +18 -0
- package/dist/{CommunitySkillsCache-ZEQWP6YM.js → CommunitySkillsCache-CI7UN2DX.js} +2 -2
- package/dist/CommunitySkillsCache-XTQ6RMTA.cjs +8 -0
- package/dist/{HookManager-CWLTFKWO.js → HookManager-BELBPQQI.js} +1 -1
- package/dist/{HookManager-TMAJQU4S.cjs → HookManager-ZL2CLAJW.cjs} +2 -2
- package/dist/{ImportWizard-MQXEED2U.cjs → ImportWizard-U6CIJREW.cjs} +13 -13
- package/dist/{ImportWizard-QBKQEXDW.js → ImportWizard-VJFSWSUQ.js} +4 -4
- 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-2HR737UE.js → NVIDIAProvider-AFNJNWJM.js} +1 -1
- package/dist/NVIDIAProvider-L5GTYRCQ.cjs +14 -0
- package/dist/{PermissionManager-KMYILJ4Z.js → PermissionManager-N2LDSOYF.js} +3 -3
- package/dist/PermissionManager-ZNURIEYR.cjs +11 -0
- package/dist/ProviderFactory-3BFS65V7.cjs +13 -0
- package/dist/{ProviderFactory-HFPRVQ25.js → ProviderFactory-XUT6BSGB.js} +4 -2
- package/dist/SessionManager-LGPQIA57.cjs +10 -0
- package/dist/{SessionManager-PNBTJJTQ.js → SessionManager-OR4KDDDS.js} +2 -2
- package/dist/{SkillsRegistry-4RRD5GMX.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/{SyncApiClient-LRPFNCKJ.js → SyncApiClient-G3FM65IV.js} +1 -1
- package/dist/SyncApiClient-ODBDECOG.cjs +11 -0
- package/dist/{about-BW3PDZUU.js → about-OYVGQMJJ.js} +5 -4
- package/dist/about-U2BH7HDR.cjs +15 -0
- package/dist/{acp-VHEL7BOW.js → acp-JWHGXZL5.js} +207 -102
- package/dist/{acp-EOETGAHC.cjs → acp-S37JOBCS.cjs} +226 -121
- package/dist/actionExecutor-2QEPMELQ.cjs +28 -0
- package/dist/actionExecutor-6NCCORRB.js +28 -0
- package/dist/add-dir-KFUHSIR2.cjs +11 -0
- package/dist/{add-dir-VFX7QT4E.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-EVTGPTA4.js +17 -0
- package/dist/{autoSkill-EFMK6WU6.js → autoSkill-HEWKJ5JV.js} +2 -2
- package/dist/autoSkill-YL6PN6AV.cjs +20 -0
- package/dist/automode-4BJ7FNPL.cjs +10 -0
- package/dist/{automode-BMYSRM34.js → automode-S4U7A7Q2.js} +2 -2
- package/dist/chrome-45ZXHL5N.cjs +22 -0
- package/dist/{chrome-NHJ44WUN.js → chrome-BBSRVG6S.js} +2 -2
- package/dist/chrome-IFVZRHAT.cjs +50 -0
- package/dist/chrome-MYE6DNA2.js +22 -0
- package/dist/chunk-24CEJYEG.cjs +579 -0
- package/dist/{chunk-47PHDKNW.cjs → chunk-255GIVM2.cjs} +6 -6
- package/dist/{chunk-DIZTWFVR.cjs → chunk-2BDSR2OW.cjs} +238 -61
- package/dist/{chunk-BL2UC7HC.js → chunk-2BPIR7LA.js} +121 -4
- package/dist/{chunk-BQ22N3TX.cjs → chunk-2NY7OHBF.cjs} +47 -27
- package/dist/chunk-2WUNHTXL.js +303 -0
- package/dist/{chunk-HQWQZML5.cjs → chunk-34B6ZO6W.cjs} +124 -7
- package/dist/{chunk-5JTTM5SC.js → chunk-3BJN7GAH.js} +1 -1
- package/dist/{chunk-4256YRCO.cjs → chunk-3CAXECWJ.cjs} +30 -17
- package/dist/{chunk-KNTUI4TZ.cjs → chunk-3CBYUBZC.cjs} +5 -5
- package/dist/chunk-3DF3GZQ7.js +277 -0
- package/dist/{chunk-E26KKI46.cjs → chunk-3JURXAL6.cjs} +61 -8
- package/dist/{chunk-MOJ7ADW4.cjs → chunk-3KWAP2Y3.cjs} +88 -9
- package/dist/{chunk-OHWMWKJQ.js → chunk-3MCK6UBL.js} +1 -1
- package/dist/{chunk-5VHP6HDQ.js → chunk-3TH7IK4M.js} +62 -9
- package/dist/{chunk-ACDQGA4Z.js → chunk-3V77OB3W.js} +7 -72
- package/dist/{chunk-HS4USDND.cjs → chunk-3Y5UEK7K.cjs} +4 -4
- package/dist/{chunk-XV2HXRHX.js → chunk-4GPPSBEZ.js} +3 -3
- package/dist/chunk-5CMBAJ6K.js +377 -0
- package/dist/{chunk-MO4KP6XS.cjs → chunk-5YRXFBYZ.cjs} +35 -6
- package/dist/chunk-5ZNYX4VH.cjs +71 -0
- package/dist/chunk-6AC2TT26.js +156 -0
- package/dist/{chunk-UGFVM77J.cjs → chunk-6EIQ6A6U.cjs} +2 -2
- package/dist/{chunk-SWCQM52V.js → chunk-6HSEDXVF.js} +4 -4
- package/dist/{chunk-QQ7PANOP.js → chunk-6NUXK62F.js} +1 -1
- package/dist/{chunk-5CMYEM3R.cjs → chunk-6TGCAPYH.cjs} +62 -9
- package/dist/{chunk-NMQ47RCG.js → chunk-6W3SZCSP.js} +1 -1
- package/dist/{chunk-VRMZO6TB.js → chunk-73LV3DDZ.js} +7 -6
- package/dist/{chunk-3GUEUCZK.js → chunk-7BGGLIQF.js} +85 -1
- package/dist/{chunk-RBHANOYY.js → chunk-7DJJGKM6.js} +47 -3
- package/dist/{chunk-LQBONA55.cjs → chunk-7EEK7CRR.cjs} +85 -1
- package/dist/chunk-7TO3PDMV.cjs +324 -0
- package/dist/chunk-7UU22RSH.cjs +277 -0
- package/dist/{chunk-E6GFD7VR.cjs → chunk-A3GAM6FM.cjs} +11 -11
- package/dist/{chunk-DEQVRSV5.cjs → chunk-A7DJU75T.cjs} +8 -8
- package/dist/{chunk-DPSIGY6L.cjs → chunk-AAAO4ERQ.cjs} +9 -9
- package/dist/{chunk-FQAVGSPW.js → chunk-AAJLMP57.js} +2 -2
- package/dist/chunk-ABR756QN.js +529 -0
- package/dist/{chunk-JYKPWK5O.js → chunk-APFGDIPD.js} +3 -1
- package/dist/{chunk-Y3M2DABP.js → chunk-APQYRMYL.js} +4 -4
- package/dist/{chunk-Q2IL4DDI.cjs → chunk-AZKOIF2G.cjs} +62 -19
- package/dist/{chunk-MXVIDIC6.cjs → chunk-AZLHUPNC.cjs} +2 -2
- package/dist/chunk-B55VCYSQ.cjs +30 -0
- package/dist/{chunk-WZV6UVPY.js → chunk-BLQUMSM3.js} +1 -1
- package/dist/{chunk-PHJO5YAL.cjs → chunk-BXKPX6K4.cjs} +9 -9
- package/dist/{chunk-3KLSNNRW.cjs → chunk-C66FN2LP.cjs} +4 -4
- package/dist/{chunk-OV3PVUYN.js → chunk-CH7KUFAS.js} +9 -9
- package/dist/{chunk-CWINVFRI.cjs → chunk-CILSXOPI.cjs} +17 -17
- package/dist/{chunk-3UT7R3XV.js → chunk-CM24K6ZT.js} +145 -12
- package/dist/chunk-CMEZ42F2.cjs +303 -0
- package/dist/{chunk-46C73ZKK.cjs → chunk-CNQKIWIS.cjs} +152 -19
- package/dist/{chunk-5JFTY3VU.js → chunk-CSTUTDTH.js} +2 -1
- package/dist/{chunk-REMGR23V.cjs → chunk-CSUGNNJY.cjs} +10 -4
- package/dist/{chunk-TBOLJDUG.js → chunk-D6HB3H3L.js} +31 -11
- package/dist/{chunk-OM24WXEE.js → chunk-D7AYKVKW.js} +2 -2
- package/dist/{chunk-6GUODJKM.cjs → chunk-DLCXWOWT.cjs} +23 -23
- package/dist/{chunk-CH2J4PVE.cjs → chunk-DMM2BKSV.cjs} +121 -28
- package/dist/{chunk-M4KNC5BQ.js → chunk-DW3DPV77.js} +1 -1
- package/dist/chunk-ECQD2QC3.cjs +33 -0
- package/dist/{chunk-UEIXJG45.js → chunk-EEYOS3UC.js} +116 -80
- package/dist/{chunk-7HPWMALN.js → chunk-EF2EN5CR.js} +2 -2
- package/dist/{chunk-7LWQCE4Y.cjs → chunk-EFXFURDY.cjs} +192 -58
- package/dist/chunk-EK34UZPB.cjs +40 -0
- package/dist/{chunk-7JLT2VNW.cjs → chunk-FJR6EZLO.cjs} +9666 -7201
- package/dist/{chunk-GZ6DV2UG.js → chunk-FPO7YNPQ.js} +1 -1
- package/dist/{chunk-O64I2GYI.js → chunk-FS4I6BNR.js} +1 -1
- package/dist/{chunk-MX75JYIY.js → chunk-FSJ2MNOC.js} +3 -3
- package/dist/{chunk-7RFJB75Y.js → chunk-GEHZMC4G.js} +11 -8
- package/dist/{chunk-UWFG2R2I.cjs → chunk-GO6C2RAR.cjs} +36 -9
- package/dist/{chunk-WGLBC5AY.cjs → chunk-GSMR6V36.cjs} +4 -4
- package/dist/{chunk-Z3XSSF7B.js → chunk-GSZWATME.js} +1 -1
- package/dist/{chunk-7MU7LWF3.cjs → chunk-GYLGCR6F.cjs} +5 -5
- package/dist/{chunk-O6TQP7U7.cjs → chunk-H3OOWNYQ.cjs} +3 -3
- package/dist/{chunk-2QL6MNXG.js → chunk-H65446XW.js} +115 -20
- package/dist/chunk-H7HXRRHK.js +324 -0
- package/dist/{chunk-ZZ63NW7A.cjs → chunk-HN2JTDN5.cjs} +17 -17
- package/dist/{chunk-AOKCI722.cjs → chunk-HNXUZ5OY.cjs} +2 -2
- package/dist/{chunk-AUYSIEVV.cjs → chunk-HOYT3E65.cjs} +3 -3
- package/dist/{chunk-DMRXF5DU.js → chunk-HTPY5ESD.js} +3 -3
- package/dist/chunk-HTU4W3GB.js +183 -0
- package/dist/{chunk-3DDL2E55.cjs → chunk-HVLWH2AF.cjs} +10 -10
- package/dist/{chunk-HSCUPEA4.cjs → chunk-HZTEU4W5.cjs} +74 -105
- package/dist/{chunk-XGMI6IYB.cjs → chunk-I5T7LPFP.cjs} +7 -7
- package/dist/{chunk-XIVFAD2L.js → chunk-IB5CJXE7.js} +173 -12
- package/dist/chunk-INNXFLDR.cjs +388 -0
- package/dist/{chunk-75EDROHL.cjs → chunk-JFLEP3T7.cjs} +10 -10
- package/dist/chunk-JJGDOBFL.js +40 -0
- package/dist/{chunk-VBOFPU5M.cjs → chunk-JM3ZTQUK.cjs} +13 -9
- package/dist/{chunk-HJIXWGQZ.js → chunk-JSU46T6K.js} +1 -1
- package/dist/{chunk-AT7OWLY5.js → chunk-K6WN6BT4.js} +1 -1
- package/dist/{chunk-LN7D3EJZ.js → chunk-KA2U6MY2.js} +4 -3
- package/dist/{chunk-3S563FNF.cjs → chunk-KIQH3SMT.cjs} +34 -31
- package/dist/{chunk-BWF4VDYE.js → chunk-KPRXHIE2.js} +54 -85
- package/dist/{chunk-Z4LIPMPM.js → chunk-L6OH44HL.js} +13 -9
- package/dist/{chunk-A7HHCIDQ.js → chunk-LIO3RX2Z.js} +2 -2
- package/dist/{chunk-DLP436GI.js → chunk-LOSXLH7P.js} +110 -17
- package/dist/{chunk-IEXKKKOF.cjs → chunk-LSOR72PB.cjs} +23 -23
- package/dist/{chunk-IAGCRVJ3.js → chunk-MA3AVDCC.js} +55 -12
- package/dist/{chunk-B5CGDNMR.js → chunk-ME3S2WIR.js} +3 -3
- package/dist/{chunk-HKYZSUQ5.js → chunk-NC2I2M4P.js} +4 -4
- package/dist/{chunk-GBMDFWJX.cjs → chunk-NC4A4LVC.cjs} +13 -13
- package/dist/{chunk-E46DJH5S.js → chunk-NGEK5FCJ.js} +176 -3
- package/dist/{chunk-TQ33WBY5.cjs → chunk-NHWHEW7M.cjs} +2 -1
- package/dist/{chunk-62RTC3XX.js → chunk-NKW6CHXQ.js} +1 -1
- package/dist/{chunk-3PXKRVCW.js → chunk-NOWCRKP2.js} +10 -4
- package/dist/{chunk-HXJEGMGB.js → chunk-NUB2LMB6.js} +2 -2
- package/dist/chunk-NVATU4V6.cjs +44 -0
- package/dist/chunk-O246MKIW.cjs +267 -0
- package/dist/{chunk-QCHIDZBA.js → chunk-OGFWL2PS.js} +1 -1
- package/dist/{chunk-JJ4KA7HK.cjs → chunk-ONNGAR6W.cjs} +415 -551
- package/dist/{chunk-TKKN34TV.js → chunk-OOFR6A62.js} +33 -4
- package/dist/{chunk-6NVAK6CK.js → chunk-OZ7FHO7J.js} +2 -2
- package/dist/{chunk-2CGE7ZV3.cjs → chunk-P5EWGUI2.cjs} +201 -28
- package/dist/{chunk-GGLKUENP.js → chunk-P6BQJPAI.js} +191 -14
- package/dist/{chunk-TWQDAUZU.js → chunk-PG2JIU5M.js} +60 -7
- package/dist/chunk-PI27G2ED.cjs +377 -0
- package/dist/{chunk-YV63VW4K.js → chunk-PI7LRPL6.js} +1 -1
- package/dist/{chunk-TXPSTCG7.cjs → chunk-PMPEC5HN.cjs} +18 -15
- package/dist/{chunk-ROLA6EFO.cjs → chunk-PYUP7AKY.cjs} +14 -14
- package/dist/{chunk-BFQDQRDE.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-3LJJG5YY.cjs → chunk-QLZOMZO5.cjs} +4 -3
- package/dist/chunk-QVXMSQOG.js +430 -0
- package/dist/{chunk-ZHJ7JGME.cjs → chunk-R4UKBKDY.cjs} +11 -11
- package/dist/{chunk-IGMPWJ2I.cjs → chunk-R75AWII3.cjs} +118 -23
- package/dist/{chunk-VGEV44V2.cjs → chunk-RD5PLUIX.cjs} +191 -30
- package/dist/{chunk-I24CWKKK.js → chunk-RGB34CV5.js} +3 -3
- package/dist/{chunk-CHI52KFR.cjs → chunk-RJCZLFHE.cjs} +246 -39
- package/dist/{chunk-D2OSPLYC.cjs → chunk-RKWNM2BJ.cjs} +2 -2
- package/dist/{chunk-FGT6KK6T.js → chunk-RMVONICR.js} +3 -3
- package/dist/{chunk-Q6AC3PHY.cjs → chunk-RPSYRJL7.cjs} +10 -4
- package/dist/chunk-RS2E32YB.js +71 -0
- package/dist/chunk-RWKU2X7O.js +388 -0
- package/dist/chunk-RZLEGVMH.cjs +565 -0
- package/dist/{chunk-5F6ZKSHO.js → chunk-S2L3Y677.js} +1 -1
- package/dist/{chunk-ARBEHFCG.js → chunk-S7KVUIOS.js} +1 -1
- package/dist/{chunk-AC7DZ6SK.cjs → chunk-SACJJ6NO.cjs} +5 -3
- package/dist/{chunk-IKUMVBCW.cjs → chunk-SD3NTC7D.cjs} +48 -4
- package/dist/{chunk-CBFH2J3O.js → chunk-SJQU2ZFR.js} +246 -39
- package/dist/{chunk-GWO66KBI.js → chunk-SKAQKQFF.js} +12 -2
- package/dist/chunk-T4DXP5OP.js +30 -0
- package/dist/{chunk-CFFE4VA3.js → chunk-T6FTB6K2.js} +1 -1
- package/dist/{chunk-U4C3HW6P.js → chunk-T6N6GRFT.js} +13 -10
- package/dist/{chunk-D6GZBSOX.js → chunk-TJFKA6A7.js} +82 -3
- package/dist/{chunk-2HOLOHVK.js → chunk-TJZUPS4Z.js} +163 -299
- package/dist/{chunk-RBZ7AFX7.cjs → chunk-TLKHZ425.cjs} +2 -2
- package/dist/{chunk-J2K57QM7.cjs → chunk-TQ24NLXO.cjs} +6 -6
- package/dist/{chunk-LUMV3DB2.js → chunk-TWBAU46X.js} +1 -1
- package/dist/{chunk-OPNI6O7F.cjs → chunk-TZB5XADL.cjs} +4 -4
- package/dist/{chunk-6HH236FV.cjs → chunk-UAYXZXWU.cjs} +4 -4
- package/dist/{chunk-MPULXVC4.cjs → chunk-UKBFNBDO.cjs} +11 -11
- package/dist/chunk-UMJYX5KD.js +565 -0
- package/dist/chunk-USKYTHDL.cjs +235 -0
- package/dist/chunk-V4HGZSKQ.cjs +183 -0
- package/dist/{chunk-MQESBFBZ.cjs → chunk-VAJUSZMC.cjs} +21 -20
- package/dist/{chunk-PQLKJCIE.js → chunk-VGQG4NBJ.js} +2 -2
- package/dist/chunk-VLUIVJ3J.js +235 -0
- package/dist/chunk-VOBINVMV.cjs +430 -0
- package/dist/{chunk-L4F7SUYL.js → chunk-VSHKKCSH.js} +16 -5
- package/dist/{chunk-LDJQ5QHG.cjs → chunk-VSZU3MGA.cjs} +28 -17
- package/dist/{chunk-YFXTE422.cjs → chunk-VWHAUB77.cjs} +8 -3
- package/dist/{chunk-EZJHLOWP.js → chunk-VXGYFX45.js} +20 -7
- package/dist/{chunk-JIMSII7R.js → chunk-WH6YUQDB.js} +193 -59
- package/dist/{chunk-VKBIE6I6.js → chunk-WQ6TD55V.js} +2 -2
- package/dist/{chunk-ZR46OJNZ.js → chunk-WQWECXTY.js} +3 -3
- package/dist/{chunk-SOLBYSLY.cjs → chunk-WVDJUJH6.cjs} +2 -2
- package/dist/{chunk-QKP772OZ.js → chunk-X24VIVDZ.js} +963 -103
- package/dist/{chunk-37M5UM6I.js → chunk-X4NRTLXD.js} +7 -1
- package/dist/chunk-X53SHYCG.js +27 -0
- package/dist/{chunk-PUD76XQT.cjs → chunk-XB2Z4ZAK.cjs} +5 -5
- package/dist/chunk-Y47OJGLB.cjs +27 -0
- package/dist/{chunk-WRTXCQ3V.cjs → chunk-Y4MN27V3.cjs} +1080 -220
- package/dist/{chunk-ZK6HOR62.js → chunk-YEHFYZFU.js} +7 -2
- package/dist/{chunk-FFBDRUO5.cjs → chunk-YICIUY23.cjs} +1 -1
- package/dist/{chunk-PDHT7LQS.cjs → chunk-YMXYC777.cjs} +3 -3
- package/dist/{chunk-TJNBASFD.cjs → chunk-Z3GRWK6O.cjs} +8 -8
- package/dist/{chunk-JP3YHTQ2.cjs → chunk-Z5GG2KSL.cjs} +4 -4
- package/dist/{chunk-ZPD2AO3U.js → chunk-ZER7DYQK.js} +2 -2
- package/dist/{chunk-UXLW45ZE.cjs → chunk-ZFDXZEZJ.cjs} +25 -90
- package/dist/chunk-ZFV4HJA6.js +579 -0
- package/dist/chunk-ZHMYTI5D.cjs +529 -0
- package/dist/{chunk-CCVMREXI.js → chunk-ZLR2TFBC.js} +35 -8
- package/dist/{chunk-J5ADZN6V.cjs → chunk-ZTWNU5QZ.cjs} +20 -20
- package/dist/chunk-ZUYYHKQA.js +44 -0
- package/dist/{chunk-AUFNACED.js → chunk-ZVLVLDYN.js} +9086 -6621
- package/dist/clear-AJGXD2BB.cjs +12 -0
- package/dist/{clear-OFLFQ3MR.js → clear-HAHDSWKW.js} +3 -3
- package/dist/communityInstaller-IRR6M3N6.cjs +22 -0
- package/dist/{communityInstaller-COB2KTOW.js → communityInstaller-OLKEUGMX.js} +6 -6
- package/dist/completion-G7Z436TF.cjs +17 -0
- package/dist/{completion-PT4VM2H2.js → completion-ZS3AXJ6A.js} +5 -5
- package/dist/{config-R4O7GBTY.js → config-OWYAQPCX.js} +5 -3
- package/dist/config-W2BHT2QE.cjs +22 -0
- package/dist/{constants-HVCHVQAF.js → constants-AS6K67AA.js} +5 -3
- package/dist/constants-B4W5BT7F.cjs +23 -0
- package/dist/{export-3PK3VFCE.js → export-5HIU3KMD.js} +5 -5
- 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-OPNVMB2E.js +14 -0
- 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-X3OAZ3CY.js → help-TCWD2IRH.js} +2 -2
- package/dist/{history-YKFPHBJN.js → history-ATOR5OQV.js} +2 -2
- package/dist/history-UUSGX2AL.cjs +14 -0
- package/dist/{hooks-7TA4PIIB.js → hooks-R3Z5QKUP.js} +6 -6
- package/dist/hooks-RWM5UY67.cjs +18 -0
- package/dist/{i18n-2KBUU7XL.js → i18n-4QI4TD4I.js} +1 -1
- package/dist/i18n-MFAEU5RV.cjs +33 -0
- package/dist/ide-6PBTCCUQ.js +15 -0
- package/dist/ide-UE3G7NMQ.cjs +15 -0
- package/dist/{import-I7T4ZHYL.cjs → import-2IG76KAN.cjs} +6 -4
- package/dist/{import-JWPYKXCZ.js → import-E47QL4DW.js} +2 -2
- package/dist/import-NQDNBFUL.cjs +10 -0
- package/dist/{import-4CHYLS4K.js → import-VQIHGJWS.js} +6 -4
- package/dist/index.cjs +512 -305
- package/dist/index.d.cts +40 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +402 -195
- package/dist/init-DX3RDGDT.cjs +10 -0
- package/dist/{init-262MWZV4.js → init-Q54OAAFZ.js} +2 -2
- package/dist/{inputPrompt-YGBHDUEP.js → inputPrompt-V2VBDRM7.js} +3 -3
- 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-5O6PUL4G.js → mcp-EN73YFGZ.js} +8 -6
- package/dist/mcp-TADZCPJQ.cjs +22 -0
- package/dist/{mcp-install-P6DHES7V.cjs → mcp-install-2GKWWBAS.cjs} +15 -13
- package/dist/{mcp-install-6XWXLFVY.js → mcp-install-3TBTVSHW.js} +10 -8
- package/dist/memory-GRXFTDIN.cjs +10 -0
- package/dist/{memory-Q54CESNM.js → memory-K2P3CDCH.js} +2 -2
- package/dist/{model-6AJ77PJG.js → model-DEG22OWA.js} +2 -2
- package/dist/model-OSD74T7Z.cjs +10 -0
- package/dist/new-4NWBOATU.cjs +12 -0
- package/dist/{new-ZXHEWC2S.js → new-KJAP2MB6.js} +3 -3
- package/dist/onboarding-2U5WE2OA.js +39 -0
- package/dist/onboarding-5DZFCO5Q.cjs +39 -0
- package/dist/permissions-KY5I6YQ3.cjs +10 -0
- package/dist/{permissions-YHJMVA6L.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-34GL6BNJ.js → registry-EZ4V4TUQ.js} +1339 -1
- package/dist/{registry-V24W7YK6.cjs → registry-LCWYI4IB.cjs} +1378 -40
- package/dist/resume-4VWJXARX.cjs +17 -0
- package/dist/resume-TLHWWWFN.js +17 -0
- package/dist/{review-QHP2KP4Q.js → review-CSK4IYTO.js} +1 -1
- package/dist/review-XLJEUH5K.cjs +9 -0
- package/dist/{rpc-S3DGW6KV.js → rpc-3DLQBDWU.js} +301 -130
- package/dist/{rpc-NPS3PU4O.cjs → rpc-O36WUU3L.cjs} +399 -228
- 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-IYAXMK23.js → sessions-VWMDIPOS.js} +2 -2
- package/dist/settings-FT2LZZUV.js +45 -0
- 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-CGB6MAVJ.js +17 -0
- package/dist/skills/builtin/code-reviewer/SKILL.md +64 -0
- package/dist/skills/builtin/goal-writer/SKILL.md +124 -0
- package/dist/{skills-VWOMV3CR.js → skills-7DKR3HRZ.js} +8 -8
- package/dist/{skills-MVIZNHT4.js → skills-BBBENOEY.js} +9 -9
- package/dist/skills-OQM7IHAF.cjs +29 -0
- package/dist/{skills-GGMZOVIE.cjs → skills-RA2PKL63.cjs} +10 -10
- package/dist/{skills-install-VTAMCNNY.cjs → skills-install-D7K476SL.cjs} +16 -16
- package/dist/{skills-install-QBA5RCV6.js → skills-install-T4SOKJSL.js} +9 -9
- package/dist/skills-new-S33NGEU3.js +18 -0
- 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-7BILIQHP.js → sync-J6I2ZUKQ.js} +6 -4
- package/dist/{sync-7OKF6636.js → sync-Z3LVSEEV.js} +8 -5
- package/dist/{teammate-J6PHGL23.cjs → teammate-EXR76PEQ.cjs} +9 -8
- package/dist/{teammate-GZQSCIMS.js → teammate-K4DAOFEQ.js} +8 -7
- package/dist/templates-ARG2VRWW.cjs +11 -0
- package/dist/templates-UGVZV3KJ.js +11 -0
- package/dist/theme-MVQDSU47.js +23 -0
- package/dist/theme-QAKEYWJG.cjs +23 -0
- package/dist/ui/questionModal.cjs +6 -6
- package/dist/ui/questionModal.js +5 -5
- package/dist/{undo-SZEHLX7X.js → undo-5AU47JHF.js} +2 -2
- package/dist/undo-ME6WKUXZ.cjs +10 -0
- package/dist/usage-QTKO2YMD.js +25 -0
- package/dist/usage-TYNJKVER.cjs +25 -0
- package/package.json +10 -4
- package/dist/AgentRegistry-EGBDIUAK.cjs +0 -10
- package/dist/AgentRegistry-XPWSVO3Q.js +0 -10
- package/dist/CommunitySkillsCache-2OIUV227.cjs +0 -8
- package/dist/LearnAdvisor-46FG2XIP.js +0 -9
- package/dist/LearnAdvisor-XBRDNAGH.cjs +0 -9
- package/dist/MemoryManager-34L4YOKA.cjs +0 -8
- package/dist/MemoryManager-WJMLPWGU.js +0 -8
- package/dist/NVIDIAProvider-MVTL62PR.cjs +0 -14
- package/dist/PermissionManager-5OOJ7FAT.cjs +0 -11
- package/dist/ProviderFactory-C3YPXTDD.cjs +0 -11
- package/dist/SessionManager-WAPTFMDO.cjs +0 -10
- package/dist/SkillsRegistry-7AJP74GJ.cjs +0 -9
- package/dist/SubAgent-FDIH3DXB.js +0 -11
- package/dist/SubAgent-HVL2ICVZ.cjs +0 -11
- package/dist/SyncApiClient-VMBOLQ6H.cjs +0 -11
- package/dist/about-FCAX37YC.cjs +0 -14
- package/dist/actionExecutor-33I47NZS.js +0 -24
- package/dist/actionExecutor-4YBMR3YH.cjs +0 -24
- package/dist/add-dir-7SS6KSH5.cjs +0 -11
- package/dist/agent-DMRUFU4M.cjs +0 -116
- package/dist/agent-WCJEYQJT.js +0 -116
- package/dist/agents-CHROO3VU.cjs +0 -17
- package/dist/agents-UVDUL65K.js +0 -17
- package/dist/agents-new-AUBWSOXP.js +0 -17
- package/dist/agents-new-Y562WC47.cjs +0 -17
- package/dist/autoSkill-YOLLFTP2.cjs +0 -20
- package/dist/automode-DBLKTTKD.cjs +0 -10
- package/dist/chrome-ATC4OO5I.cjs +0 -20
- package/dist/chrome-O62WXV7F.js +0 -20
- package/dist/chrome-XHJLCO4M.cjs +0 -50
- package/dist/chunk-6XVVIY54.cjs +0 -256
- package/dist/chunk-AU6JAGZJ.cjs +0 -231
- package/dist/chunk-N6O3XUZ2.cjs +0 -23
- package/dist/chunk-VDWJMWDF.js +0 -256
- package/dist/clear-33TWQ2ES.cjs +0 -12
- package/dist/communityInstaller-TWMGPSYM.cjs +0 -22
- package/dist/completion-IIZMHXYP.cjs +0 -17
- package/dist/config-KL6WU7R2.cjs +0 -20
- package/dist/constants-RLMJ5D5P.cjs +0 -21
- package/dist/export-WLGNWEMJ.cjs +0 -15
- package/dist/feedback-G635NCLJ.js +0 -18
- package/dist/feedback-LLMK3TZH.cjs +0 -18
- package/dist/help-BAXLP2M2.cjs +0 -12
- package/dist/history-6HOJSEMT.cjs +0 -14
- package/dist/hooks-XVFU67T2.cjs +0 -18
- package/dist/i18n-MUJMKTFM.cjs +0 -33
- package/dist/ide-CCQ33PGC.cjs +0 -15
- package/dist/ide-VLVFBZ5F.js +0 -15
- package/dist/import-J46F54JY.cjs +0 -10
- package/dist/init-EE5Y7RBL.cjs +0 -10
- package/dist/inputPrompt-IIFKCX5Q.cjs +0 -90
- package/dist/language-CVLPB7OV.js +0 -21
- package/dist/language-ZTWFHUSV.cjs +0 -21
- package/dist/learn-PON7I5QS.js +0 -23
- package/dist/learn-XLRSVNA3.cjs +0 -23
- package/dist/login-223QTGBG.cjs +0 -26
- package/dist/login-6IKTBUBY.js +0 -26
- package/dist/logout-RN2AG6SI.js +0 -23
- package/dist/logout-U3M4FFX7.cjs +0 -23
- package/dist/mcp-NUQ76QQB.cjs +0 -20
- package/dist/memory-CYMDQ2YC.cjs +0 -10
- package/dist/model-IDRCKDML.cjs +0 -10
- package/dist/new-7LEWOUF2.cjs +0 -12
- package/dist/onboarding-FXX7YHSJ.cjs +0 -35
- package/dist/onboarding-JYNMK6NI.js +0 -35
- package/dist/permissions-YBNSANIA.cjs +0 -10
- package/dist/plan-XEJMOT55.cjs +0 -13
- package/dist/quit-B43SJ6E4.cjs +0 -10
- package/dist/quit-GWTNHQSP.js +0 -10
- package/dist/resume-DYVOQN5L.cjs +0 -16
- package/dist/resume-M25UQKOX.js +0 -16
- package/dist/review-UWHWQHCB.cjs +0 -9
- package/dist/search-CPX4PWHP.js +0 -20
- package/dist/search-VUF3M4N3.cjs +0 -20
- package/dist/sessions-JODKER5D.cjs +0 -10
- package/dist/settings-55BNW6BF.js +0 -33
- package/dist/settings-BKTS7OMC.cjs +0 -33
- package/dist/setup-IRC5HQG2.js +0 -29
- package/dist/setup-MMQ7TWOP.cjs +0 -29
- package/dist/share-6JRQECAH.cjs +0 -17
- package/dist/share-YM5MJKMO.js +0 -17
- package/dist/skills-LWSOKOSH.cjs +0 -29
- package/dist/skills-new-GPL46YV2.js +0 -18
- package/dist/skills-new-L5BEZN5V.cjs +0 -18
- package/dist/slashCommands-FBPCIWM5.cjs +0 -95
- package/dist/slashCommands-FCWY5DXW.js +0 -95
- package/dist/status-3B5SDZPL.js +0 -17
- package/dist/status-TTGRF6NC.cjs +0 -17
- package/dist/sync-77CXVVTK.cjs +0 -21
- package/dist/sync-EH4K5U3N.cjs +0 -40
- package/dist/theme-64BYGJ57.cjs +0 -21
- package/dist/theme-YJE6HEON.js +0 -21
- package/dist/undo-PRTEGL2J.cjs +0 -10
|
@@ -1,16 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
package_default
|
|
3
|
-
} from "./chunk-3PXKRVCW.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;
|
|
@@ -388,7 +459,7 @@ var TelemetryClient = class {
|
|
|
388
459
|
// 1 minute
|
|
389
460
|
maxQueueSize: 500,
|
|
390
461
|
maxRetries: 3,
|
|
391
|
-
enableSessionSync:
|
|
462
|
+
enableSessionSync: true,
|
|
392
463
|
companySecret: "",
|
|
393
464
|
clientType: "cli",
|
|
394
465
|
clientVersion: void 0,
|
|
@@ -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 {
|
|
@@ -688,13 +762,19 @@ var TelemetryManager = class {
|
|
|
688
762
|
client;
|
|
689
763
|
sessionId = null;
|
|
690
764
|
sessionStartTime = null;
|
|
765
|
+
heartbeatTimer = null;
|
|
691
766
|
interactionCount = 0;
|
|
692
767
|
toolsUsed = /* @__PURE__ */ new Set();
|
|
693
768
|
errorsCount = 0;
|
|
694
769
|
currentModel = null;
|
|
695
770
|
currentProvider = null;
|
|
771
|
+
currentProviderMetadata = {};
|
|
772
|
+
telemetryEnabled;
|
|
773
|
+
heartbeatIntervalMs;
|
|
696
774
|
constructor(config = {}) {
|
|
697
775
|
this.client = new TelemetryClient(config);
|
|
776
|
+
this.telemetryEnabled = config.enabled === true;
|
|
777
|
+
this.heartbeatIntervalMs = 6e4;
|
|
698
778
|
}
|
|
699
779
|
/**
|
|
700
780
|
* Get system info for events
|
|
@@ -730,17 +810,20 @@ var TelemetryManager = class {
|
|
|
730
810
|
/**
|
|
731
811
|
* Start a new session
|
|
732
812
|
*/
|
|
733
|
-
async startSession(sessionId, model, provider) {
|
|
813
|
+
async startSession(sessionId, model, provider, startedAt, providerMetadata = {}) {
|
|
734
814
|
this.sessionId = sessionId;
|
|
735
|
-
this.sessionStartTime =
|
|
815
|
+
this.sessionStartTime = this.normalizeSessionStartTime(startedAt);
|
|
736
816
|
this.interactionCount = 0;
|
|
737
817
|
this.toolsUsed.clear();
|
|
738
818
|
this.errorsCount = 0;
|
|
739
819
|
this.currentModel = model || null;
|
|
740
820
|
this.currentProvider = provider || null;
|
|
821
|
+
this.currentProviderMetadata = providerMetadata;
|
|
822
|
+
this.startHeartbeatTimer();
|
|
741
823
|
await this.trackEvent("session_start", {
|
|
742
824
|
model,
|
|
743
|
-
provider
|
|
825
|
+
provider,
|
|
826
|
+
...providerMetadata
|
|
744
827
|
});
|
|
745
828
|
await this.client.syncQueuedSessions();
|
|
746
829
|
}
|
|
@@ -748,12 +831,14 @@ var TelemetryManager = class {
|
|
|
748
831
|
* End current session
|
|
749
832
|
*/
|
|
750
833
|
async endSession(status = "completed") {
|
|
751
|
-
|
|
834
|
+
this.stopHeartbeatTimer();
|
|
835
|
+
const duration = this.getSessionDurationSeconds();
|
|
752
836
|
await this.trackEvent("session_end", {
|
|
753
837
|
status,
|
|
754
838
|
duration,
|
|
755
839
|
model: this.currentModel,
|
|
756
|
-
provider: this.currentProvider
|
|
840
|
+
provider: this.currentProvider,
|
|
841
|
+
...this.currentProviderMetadata
|
|
757
842
|
});
|
|
758
843
|
await this.client.syncAll();
|
|
759
844
|
}
|
|
@@ -837,10 +922,17 @@ var TelemetryManager = class {
|
|
|
837
922
|
const previousModel = this.currentModel;
|
|
838
923
|
this.currentModel = data.toModel;
|
|
839
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
|
+
};
|
|
840
931
|
await this.trackEvent("model_switch", {
|
|
841
932
|
fromModel: previousModel || data.fromModel,
|
|
842
933
|
toModel: data.toModel,
|
|
843
|
-
provider: data.provider
|
|
934
|
+
provider: data.provider,
|
|
935
|
+
...this.currentProviderMetadata
|
|
844
936
|
});
|
|
845
937
|
}
|
|
846
938
|
/**
|
|
@@ -848,7 +940,7 @@ var TelemetryManager = class {
|
|
|
848
940
|
*/
|
|
849
941
|
async trackHeartbeat() {
|
|
850
942
|
await this.trackEvent("heartbeat", {
|
|
851
|
-
uptime: this.
|
|
943
|
+
uptime: this.getSessionDurationSeconds()
|
|
852
944
|
});
|
|
853
945
|
}
|
|
854
946
|
/**
|
|
@@ -864,15 +956,20 @@ var TelemetryManager = class {
|
|
|
864
956
|
if (!this.sessionId) {
|
|
865
957
|
return { success: false, error: "No active session" };
|
|
866
958
|
}
|
|
959
|
+
const endTimeMs = Date.now();
|
|
960
|
+
const startTime = data.metadata?.startTime ?? this.sessionStartTime?.toISOString();
|
|
961
|
+
const durationSeconds = data.metadata?.durationSeconds ?? this.getSessionDurationSeconds(endTimeMs);
|
|
867
962
|
return this.client.uploadSession({
|
|
868
963
|
sessionId: this.sessionId,
|
|
869
964
|
messages: data.messages,
|
|
870
965
|
metadata: {
|
|
871
966
|
model: this.currentModel || void 0,
|
|
872
967
|
provider: this.currentProvider || void 0,
|
|
968
|
+
...this.currentProviderMetadata,
|
|
873
969
|
totalTokens: data.metadata?.totalTokens,
|
|
874
|
-
startTime
|
|
875
|
-
endTime:
|
|
970
|
+
startTime,
|
|
971
|
+
...data.metadata?.endTime ? { endTime: data.metadata.endTime } : {},
|
|
972
|
+
durationSeconds,
|
|
876
973
|
workspaceRoot: data.metadata?.workspaceRoot
|
|
877
974
|
}
|
|
878
975
|
});
|
|
@@ -899,7 +996,7 @@ var TelemetryManager = class {
|
|
|
899
996
|
interactionCount: this.interactionCount,
|
|
900
997
|
toolsUsed: Array.from(this.toolsUsed),
|
|
901
998
|
errorsCount: this.errorsCount,
|
|
902
|
-
sessionDuration: this.
|
|
999
|
+
sessionDuration: this.getSessionDurationSeconds()
|
|
903
1000
|
};
|
|
904
1001
|
}
|
|
905
1002
|
/**
|
|
@@ -912,21 +1009,56 @@ var TelemetryManager = class {
|
|
|
912
1009
|
* Disable telemetry
|
|
913
1010
|
*/
|
|
914
1011
|
disable() {
|
|
1012
|
+
this.telemetryEnabled = false;
|
|
1013
|
+
this.stopHeartbeatTimer();
|
|
915
1014
|
this.client.disable();
|
|
916
1015
|
}
|
|
917
1016
|
/**
|
|
918
1017
|
* Enable telemetry
|
|
919
1018
|
*/
|
|
920
1019
|
enable() {
|
|
1020
|
+
this.telemetryEnabled = true;
|
|
1021
|
+
if (this.sessionId) {
|
|
1022
|
+
this.startHeartbeatTimer();
|
|
1023
|
+
}
|
|
921
1024
|
this.client.enable();
|
|
922
1025
|
}
|
|
923
1026
|
/**
|
|
924
1027
|
* Stop and cleanup
|
|
925
1028
|
*/
|
|
926
1029
|
async shutdown() {
|
|
1030
|
+
this.stopHeartbeatTimer();
|
|
927
1031
|
this.client.stopFlushTimer();
|
|
928
1032
|
await this.client.syncAll();
|
|
929
1033
|
}
|
|
1034
|
+
normalizeSessionStartTime(startedAt) {
|
|
1035
|
+
if (startedAt instanceof Date) {
|
|
1036
|
+
return Number.isFinite(startedAt.getTime()) ? startedAt : new Date(Date.now());
|
|
1037
|
+
}
|
|
1038
|
+
if (typeof startedAt === "number" || typeof startedAt === "string") {
|
|
1039
|
+
const parsed = new Date(startedAt);
|
|
1040
|
+
return Number.isFinite(parsed.getTime()) ? parsed : new Date(Date.now());
|
|
1041
|
+
}
|
|
1042
|
+
return new Date(Date.now());
|
|
1043
|
+
}
|
|
1044
|
+
getSessionDurationSeconds(nowMs = Date.now()) {
|
|
1045
|
+
if (!this.sessionStartTime) return 0;
|
|
1046
|
+
return Math.max(0, Math.round((nowMs - this.sessionStartTime.getTime()) / 1e3));
|
|
1047
|
+
}
|
|
1048
|
+
startHeartbeatTimer() {
|
|
1049
|
+
this.stopHeartbeatTimer();
|
|
1050
|
+
if (!this.telemetryEnabled) return;
|
|
1051
|
+
this.heartbeatTimer = setInterval(() => {
|
|
1052
|
+
this.trackHeartbeat().catch(() => {
|
|
1053
|
+
});
|
|
1054
|
+
}, this.heartbeatIntervalMs);
|
|
1055
|
+
this.heartbeatTimer.unref?.();
|
|
1056
|
+
}
|
|
1057
|
+
stopHeartbeatTimer() {
|
|
1058
|
+
if (!this.heartbeatTimer) return;
|
|
1059
|
+
clearInterval(this.heartbeatTimer);
|
|
1060
|
+
this.heartbeatTimer = null;
|
|
1061
|
+
}
|
|
930
1062
|
};
|
|
931
1063
|
|
|
932
1064
|
export {
|
|
@@ -936,6 +1068,8 @@ export {
|
|
|
936
1068
|
TelemetryManager,
|
|
937
1069
|
isSessionWorktreeEnabled,
|
|
938
1070
|
prepareSessionWorktree,
|
|
1071
|
+
BARE_SLASH_COMMANDS_DISABLED_MESSAGE,
|
|
1072
|
+
prepareBareModeConfig,
|
|
939
1073
|
formatStartupBanner,
|
|
940
1074
|
formatWelcomeVersionPrefix,
|
|
941
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.");
|