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,154 +1,176 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AutohandAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZVLVLDYN.js";
|
|
4
|
+
import "./chunk-7BGGLIQF.js";
|
|
4
5
|
import {
|
|
5
6
|
FileActionManager
|
|
6
7
|
} from "./chunk-ZQAT5VT5.js";
|
|
7
8
|
import "./chunk-XAV24VYN.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-2BPIR7LA.js";
|
|
9
10
|
import {
|
|
10
11
|
normalizePermissionPromptResponse
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-IB5CJXE7.js";
|
|
13
|
+
import "./chunk-X4NRTLXD.js";
|
|
14
|
+
import "./chunk-3TH7IK4M.js";
|
|
14
15
|
import {
|
|
15
16
|
McpClientManager
|
|
16
17
|
} from "./chunk-GNBBIAMD.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-5JTTM5SC.js";
|
|
21
|
-
import "./chunk-2H5O745H.js";
|
|
22
|
-
import "./chunk-XV2HXRHX.js";
|
|
18
|
+
import "./chunk-EEYOS3UC.js";
|
|
19
|
+
import "./chunk-QC5Z3ZT5.js";
|
|
20
|
+
import "./chunk-4GPPSBEZ.js";
|
|
23
21
|
import "./chunk-ES2HJQ4N.js";
|
|
24
22
|
import "./chunk-6R25D2H5.js";
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QVXMSQOG.js";
|
|
24
|
+
import "./chunk-VLUIVJ3J.js";
|
|
25
|
+
import "./chunk-ABR756QN.js";
|
|
26
|
+
import "./chunk-6AC2TT26.js";
|
|
27
|
+
import "./chunk-QEGOB6QV.js";
|
|
28
|
+
import "./chunk-AAJLMP57.js";
|
|
29
|
+
import "./chunk-JMN3GZU6.js";
|
|
30
|
+
import "./chunk-WQWECXTY.js";
|
|
31
|
+
import "./chunk-3BJN7GAH.js";
|
|
32
|
+
import "./chunk-2H5O745H.js";
|
|
33
|
+
import "./chunk-DW3DPV77.js";
|
|
34
|
+
import "./chunk-RGB34CV5.js";
|
|
35
|
+
import "./chunk-NUB2LMB6.js";
|
|
36
|
+
import "./chunk-3MCK6UBL.js";
|
|
37
|
+
import "./chunk-NC2I2M4P.js";
|
|
26
38
|
import "./chunk-HBXAA3XB.js";
|
|
27
39
|
import "./chunk-3OEDGIFW.js";
|
|
28
40
|
import "./chunk-WNUVPKBW.js";
|
|
29
|
-
import "./chunk-QEGOB6QV.js";
|
|
30
|
-
import "./chunk-FQAVGSPW.js";
|
|
31
|
-
import "./chunk-JMN3GZU6.js";
|
|
32
|
-
import "./chunk-AT7OWLY5.js";
|
|
33
|
-
import "./chunk-VRMZO6TB.js";
|
|
34
|
-
import "./chunk-U4C3HW6P.js";
|
|
35
|
-
import "./chunk-M4KNC5BQ.js";
|
|
36
|
-
import "./chunk-I24CWKKK.js";
|
|
37
|
-
import "./chunk-HXJEGMGB.js";
|
|
38
|
-
import "./chunk-OHWMWKJQ.js";
|
|
39
|
-
import "./chunk-HKYZSUQ5.js";
|
|
40
|
-
import "./chunk-7RFJB75Y.js";
|
|
41
|
-
import "./chunk-6NVAK6CK.js";
|
|
42
|
-
import "./chunk-QHPFA6OE.js";
|
|
43
41
|
import "./chunk-RAKO7UN7.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-7HPWMALN.js";
|
|
42
|
+
import "./chunk-CH7KUFAS.js";
|
|
43
|
+
import "./chunk-GSZWATME.js";
|
|
44
|
+
import "./chunk-RMVONICR.js";
|
|
45
|
+
import "./chunk-K6WN6BT4.js";
|
|
46
|
+
import "./chunk-73LV3DDZ.js";
|
|
47
|
+
import "./chunk-5CMBAJ6K.js";
|
|
48
|
+
import "./chunk-T6N6GRFT.js";
|
|
49
|
+
import "./chunk-T4DXP5OP.js";
|
|
50
|
+
import "./chunk-ZFV4HJA6.js";
|
|
51
|
+
import "./chunk-RWKU2X7O.js";
|
|
52
|
+
import "./chunk-6NUXK62F.js";
|
|
53
|
+
import "./chunk-VSHKKCSH.js";
|
|
54
|
+
import "./chunk-GEHZMC4G.js";
|
|
55
|
+
import "./chunk-OZ7FHO7J.js";
|
|
56
|
+
import "./chunk-QHPFA6OE.js";
|
|
57
|
+
import "./chunk-FSJ2MNOC.js";
|
|
58
|
+
import "./chunk-D7AYKVKW.js";
|
|
59
|
+
import "./chunk-EF2EN5CR.js";
|
|
63
60
|
import {
|
|
64
61
|
ConversationManager
|
|
65
62
|
} from "./chunk-HQUSEWT4.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-3DF3GZQ7.js";
|
|
64
|
+
import "./chunk-PI7LRPL6.js";
|
|
65
|
+
import "./chunk-24QIWILL.js";
|
|
66
|
+
import "./chunk-2NUX2RAI.js";
|
|
67
|
+
import "./chunk-APFGDIPD.js";
|
|
68
|
+
import "./chunk-VGQG4NBJ.js";
|
|
69
|
+
import "./chunk-FPO7YNPQ.js";
|
|
70
|
+
import "./chunk-SKAQKQFF.js";
|
|
71
|
+
import "./chunk-3V77OB3W.js";
|
|
72
|
+
import "./chunk-RS2E32YB.js";
|
|
73
|
+
import "./chunk-OGFWL2PS.js";
|
|
74
|
+
import "./chunk-SVLBJMYO.js";
|
|
75
|
+
import "./chunk-ME3S2WIR.js";
|
|
76
|
+
import "./chunk-LIO3RX2Z.js";
|
|
77
|
+
import "./chunk-T6FTB6K2.js";
|
|
78
|
+
import "./chunk-YVQI26H4.js";
|
|
79
|
+
import "./chunk-HTPY5ESD.js";
|
|
80
|
+
import "./chunk-P6BQJPAI.js";
|
|
68
81
|
import "./chunk-H4D2Q2AL.js";
|
|
82
|
+
import {
|
|
83
|
+
GoalManager
|
|
84
|
+
} from "./chunk-UMJYX5KD.js";
|
|
69
85
|
import "./chunk-W3X6PAC7.js";
|
|
70
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-BLQUMSM3.js";
|
|
71
87
|
import "./chunk-TSV4LVHK.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-ACDQGA4Z.js";
|
|
88
|
+
import "./chunk-WQ6TD55V.js";
|
|
89
|
+
import "./chunk-FP46B4X3.js";
|
|
90
|
+
import "./chunk-UR27UDTB.js";
|
|
76
91
|
import "./chunk-CFAWTLSC.js";
|
|
77
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-ZER7DYQK.js";
|
|
78
93
|
import {
|
|
79
94
|
buildPermissionSettingsFromYolo,
|
|
80
95
|
normalizeYoloInput,
|
|
81
96
|
parseYoloPattern
|
|
82
97
|
} from "./chunk-4LMUDS2K.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-2HOLOHVK.js";
|
|
98
|
+
import "./chunk-HTU4W3GB.js";
|
|
99
|
+
import "./chunk-S2L3Y677.js";
|
|
100
|
+
import "./chunk-TJZUPS4Z.js";
|
|
87
101
|
import "./chunk-TH26BQJG.js";
|
|
88
102
|
import {
|
|
89
103
|
ProviderFactory,
|
|
90
104
|
modelSupportsImages
|
|
91
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-X24VIVDZ.js";
|
|
106
|
+
import "./chunk-ZLR2TFBC.js";
|
|
92
107
|
import {
|
|
93
108
|
ImageManager
|
|
94
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-KPRXHIE2.js";
|
|
95
110
|
import "./chunk-VUGOOGHB.js";
|
|
96
111
|
import {
|
|
97
112
|
getPlanModeManager
|
|
98
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-TWBAU46X.js";
|
|
99
114
|
import "./chunk-BQU3HAE7.js";
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-YEHFYZFU.js";
|
|
116
|
+
import {
|
|
117
|
+
GOAL_FEATURE_DISABLED_MESSAGE,
|
|
118
|
+
isGoalFeatureEnabled
|
|
119
|
+
} from "./chunk-X53SHYCG.js";
|
|
120
|
+
import "./chunk-D6HB3H3L.js";
|
|
121
|
+
import "./chunk-H65446XW.js";
|
|
122
|
+
import "./chunk-NGEK5FCJ.js";
|
|
123
|
+
import "./chunk-APQYRMYL.js";
|
|
124
|
+
import "./chunk-VXGYFX45.js";
|
|
125
|
+
import "./chunk-ZUYYHKQA.js";
|
|
108
126
|
import "./chunk-46MTALKD.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-CCVMREXI.js";
|
|
127
|
+
import "./chunk-6HSEDXVF.js";
|
|
128
|
+
import "./chunk-NKW6CHXQ.js";
|
|
112
129
|
import {
|
|
113
130
|
isSessionWorktreeEnabled,
|
|
131
|
+
prepareBareModeConfig,
|
|
114
132
|
prepareSessionWorktree
|
|
115
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-WH6YUQDB.js";
|
|
116
134
|
import {
|
|
117
135
|
validateWorkspacePath
|
|
118
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-KA2U6MY2.js";
|
|
119
137
|
import "./chunk-WQ3VJXZB.js";
|
|
138
|
+
import "./chunk-2WUNHTXL.js";
|
|
139
|
+
import {
|
|
140
|
+
classifyApiError
|
|
141
|
+
} from "./chunk-FQVG6ZHF.js";
|
|
120
142
|
import {
|
|
121
143
|
attachBrowserHandoff,
|
|
122
144
|
attachLatestBrowserHandoff,
|
|
123
145
|
createBrowserHandoff
|
|
124
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-S7KVUIOS.js";
|
|
147
|
+
import "./chunk-TJFKA6A7.js";
|
|
125
148
|
import {
|
|
126
149
|
checkAuthenticated
|
|
127
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-MA3AVDCC.js";
|
|
128
151
|
import "./chunk-GLBAF54O.js";
|
|
129
|
-
import "./chunk-
|
|
130
|
-
import "./chunk-
|
|
131
|
-
import
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import "./chunk-DLP436GI.js";
|
|
136
|
-
import "./chunk-NMQ47RCG.js";
|
|
137
|
-
import "./chunk-5JFTY3VU.js";
|
|
152
|
+
import "./chunk-7DJJGKM6.js";
|
|
153
|
+
import "./chunk-NOWCRKP2.js";
|
|
154
|
+
import "./chunk-FS4I6BNR.js";
|
|
155
|
+
import "./chunk-LOSXLH7P.js";
|
|
156
|
+
import "./chunk-6W3SZCSP.js";
|
|
157
|
+
import "./chunk-CSTUTDTH.js";
|
|
138
158
|
import {
|
|
139
159
|
loadConfig
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-
|
|
160
|
+
} from "./chunk-CM24K6ZT.js";
|
|
161
|
+
import "./chunk-JSU46T6K.js";
|
|
162
|
+
import "./chunk-JJGDOBFL.js";
|
|
142
163
|
import "./chunk-YZWE7XSM.js";
|
|
164
|
+
import "./chunk-H7HXRRHK.js";
|
|
143
165
|
import "./chunk-NBGOIFKP.js";
|
|
144
166
|
import "./chunk-JAQO6XDB.js";
|
|
145
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-PG2JIU5M.js";
|
|
146
168
|
import "./chunk-UOQECODR.js";
|
|
147
169
|
import {
|
|
148
170
|
checkWorkspaceSafety
|
|
149
171
|
} from "./chunk-PB7W7R72.js";
|
|
150
|
-
import "./chunk-
|
|
151
|
-
import "./chunk-
|
|
172
|
+
import "./chunk-SJQU2ZFR.js";
|
|
173
|
+
import "./chunk-L6OH44HL.js";
|
|
152
174
|
import "./chunk-QGM4M3NI.js";
|
|
153
175
|
|
|
154
176
|
// src/modes/rpc/index.ts
|
|
@@ -233,7 +255,14 @@ var RPC_METHODS = {
|
|
|
233
255
|
// Context compaction control
|
|
234
256
|
SET_CONTEXT_COMPACT: "autohand.setContextCompact",
|
|
235
257
|
// Setup wizard
|
|
236
|
-
SETUP: "autohand.setup"
|
|
258
|
+
SETUP: "autohand.setup",
|
|
259
|
+
GOAL_GET: "autohand.goal.get",
|
|
260
|
+
GOAL_CREATE: "autohand.goal.create",
|
|
261
|
+
GOAL_UPDATE: "autohand.goal.update",
|
|
262
|
+
GOAL_CLEAR: "autohand.goal.clear",
|
|
263
|
+
GOAL_QUEUE: "autohand.goal.queue",
|
|
264
|
+
GOAL_START_QUEUED: "autohand.goal.startQueued",
|
|
265
|
+
GOAL_LIST_TEMPLATES: "autohand.goal.listTemplates"
|
|
237
266
|
};
|
|
238
267
|
var RPC_NOTIFICATIONS = {
|
|
239
268
|
AGENT_START: "autohand.agentStart",
|
|
@@ -686,6 +715,8 @@ var RPCAdapter = class {
|
|
|
686
715
|
// during long turns with no traffic.
|
|
687
716
|
keepaliveInterval = null;
|
|
688
717
|
KEEPALIVE_MS = 15e3;
|
|
718
|
+
yoloRevertTimer = null;
|
|
719
|
+
yoloRevertGeneration = 0;
|
|
689
720
|
// Config reference for runtime settings changes
|
|
690
721
|
config = {};
|
|
691
722
|
/**
|
|
@@ -702,11 +733,12 @@ var RPCAdapter = class {
|
|
|
702
733
|
/**
|
|
703
734
|
* Initialize the adapter with an agent instance
|
|
704
735
|
*/
|
|
705
|
-
initialize(agent, conversation, model, workspace, mcpServerConfigs) {
|
|
736
|
+
initialize(agent, conversation, model, workspace, config, mcpServerConfigs) {
|
|
706
737
|
this.agent = agent;
|
|
707
738
|
this.conversation = conversation;
|
|
708
739
|
this.model = model;
|
|
709
740
|
this.workspace = workspace;
|
|
741
|
+
this.config = config ? { ...config } : {};
|
|
710
742
|
this.sessionId = generateId("session");
|
|
711
743
|
this.mcpServerConfigs = mcpServerConfigs ?? [];
|
|
712
744
|
this.imageManager = agent.getImageManager?.() ?? new ImageManager();
|
|
@@ -738,6 +770,62 @@ var RPCAdapter = class {
|
|
|
738
770
|
messageCount: this.conversation?.history().length ?? 0
|
|
739
771
|
};
|
|
740
772
|
}
|
|
773
|
+
async handleGoalGet() {
|
|
774
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
775
|
+
return new GoalManager(this.workspace).getSnapshot();
|
|
776
|
+
}
|
|
777
|
+
async handleGoalCreate(params) {
|
|
778
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
779
|
+
return new GoalManager(this.workspace).createOrQueueGoal({
|
|
780
|
+
objective: params.objective,
|
|
781
|
+
source: "rpc",
|
|
782
|
+
tokenBudget: params.token_budget,
|
|
783
|
+
timeBudgetSeconds: params.time_budget_seconds,
|
|
784
|
+
minTokensBeforeWrapUp: params.min_tokens_before_wrap_up,
|
|
785
|
+
minTimeSecondsBeforeWrapUp: params.min_time_seconds_before_wrap_up
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
async handleGoalUpdate(params) {
|
|
789
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
790
|
+
return new GoalManager(this.workspace).updateGoal({
|
|
791
|
+
objective: params.objective,
|
|
792
|
+
status: parseRpcGoalStatus(params.status),
|
|
793
|
+
tokenBudget: params.token_budget,
|
|
794
|
+
timeBudgetSeconds: params.time_budget_seconds,
|
|
795
|
+
minTokensBeforeWrapUp: params.min_tokens_before_wrap_up,
|
|
796
|
+
minTimeSecondsBeforeWrapUp: params.min_time_seconds_before_wrap_up
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
async handleGoalClear() {
|
|
800
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
801
|
+
return new GoalManager(this.workspace).clearGoal();
|
|
802
|
+
}
|
|
803
|
+
async handleGoalQueue(params) {
|
|
804
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
805
|
+
const manager = new GoalManager(this.workspace);
|
|
806
|
+
return manager.enqueueGoal({
|
|
807
|
+
objective: params.objective,
|
|
808
|
+
source: "rpc",
|
|
809
|
+
tokenBudget: params.token_budget,
|
|
810
|
+
timeBudgetSeconds: params.time_budget_seconds,
|
|
811
|
+
minTokensBeforeWrapUp: params.min_tokens_before_wrap_up,
|
|
812
|
+
minTimeSecondsBeforeWrapUp: params.min_time_seconds_before_wrap_up
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
async handleGoalStartQueued() {
|
|
816
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
817
|
+
return new GoalManager(this.workspace).startQueuedGoal();
|
|
818
|
+
}
|
|
819
|
+
async handleGoalListTemplates() {
|
|
820
|
+
if (!this.isGoalFeatureEnabled()) return this.goalFeatureDisabledResult();
|
|
821
|
+
return new GoalManager(this.workspace).listTemplates();
|
|
822
|
+
}
|
|
823
|
+
isGoalFeatureEnabled() {
|
|
824
|
+
return isGoalFeatureEnabled(this.config);
|
|
825
|
+
}
|
|
826
|
+
goalFeatureDisabledResult() {
|
|
827
|
+
return { ok: false, message: GOAL_FEATURE_DISABLED_MESSAGE };
|
|
828
|
+
}
|
|
741
829
|
/**
|
|
742
830
|
* Get message history
|
|
743
831
|
*/
|
|
@@ -752,10 +840,25 @@ var RPCAdapter = class {
|
|
|
752
840
|
return messages.map((msg, index) => this.convertMessage(msg, index));
|
|
753
841
|
}
|
|
754
842
|
/**
|
|
755
|
-
*
|
|
756
|
-
*
|
|
843
|
+
* Accept a prompt request and run the turn in the background.
|
|
844
|
+
* Streaming clients get turn/message notifications and should not wait for
|
|
845
|
+
* the full agent run before the JSON-RPC request is acknowledged.
|
|
757
846
|
*/
|
|
758
|
-
|
|
847
|
+
startPrompt(requestId, params) {
|
|
848
|
+
const abortController = this.beginPrompt();
|
|
849
|
+
setImmediate(() => {
|
|
850
|
+
if (abortController.signal.aborted) {
|
|
851
|
+
return;
|
|
852
|
+
}
|
|
853
|
+
void this.runAcceptedPrompt(requestId, params).catch((error) => {
|
|
854
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
855
|
+
process.stderr.write(`[RPC] Prompt failed after acceptance: ${message}
|
|
856
|
+
`);
|
|
857
|
+
});
|
|
858
|
+
});
|
|
859
|
+
return { success: true };
|
|
860
|
+
}
|
|
861
|
+
beginPrompt() {
|
|
759
862
|
if (!this.agent) {
|
|
760
863
|
throw new Error("Agent not initialized");
|
|
761
864
|
}
|
|
@@ -764,6 +867,20 @@ var RPCAdapter = class {
|
|
|
764
867
|
}
|
|
765
868
|
this.status = "processing";
|
|
766
869
|
this.abortController = new AbortController();
|
|
870
|
+
return this.abortController;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* Handle a prompt request
|
|
874
|
+
* Returns result for JSON-RPC response
|
|
875
|
+
*/
|
|
876
|
+
async handlePrompt(requestId, params) {
|
|
877
|
+
this.beginPrompt();
|
|
878
|
+
return this.runAcceptedPrompt(requestId, params);
|
|
879
|
+
}
|
|
880
|
+
async runAcceptedPrompt(requestId, params) {
|
|
881
|
+
if (!this.agent) {
|
|
882
|
+
throw new Error("Agent not initialized");
|
|
883
|
+
}
|
|
767
884
|
this.startKeepalive();
|
|
768
885
|
this.currentTurnId = generateId("turn");
|
|
769
886
|
this.turnStartTime = Date.now();
|
|
@@ -949,7 +1066,8 @@ ${sel.text}
|
|
|
949
1066
|
await hookManager.executeHooks("stop", {
|
|
950
1067
|
sessionId: this.sessionId || void 0,
|
|
951
1068
|
turnDuration,
|
|
952
|
-
tokensUsed: snapshot2?.tokensUsed ?? 0
|
|
1069
|
+
tokensUsed: snapshot2?.tokensUsed ?? 0,
|
|
1070
|
+
tokensUsageStatus: snapshot2?.tokensUsageStatus
|
|
953
1071
|
});
|
|
954
1072
|
process.stderr.write(`[RPC DEBUG] Stop hooks completed
|
|
955
1073
|
`);
|
|
@@ -957,7 +1075,8 @@ ${sel.text}
|
|
|
957
1075
|
snapshot2?.tokensUsed ?? 0,
|
|
958
1076
|
0,
|
|
959
1077
|
// toolCallsCount - not tracked per turn currently
|
|
960
|
-
turnDuration
|
|
1078
|
+
turnDuration,
|
|
1079
|
+
snapshot2?.tokensUsageStatus
|
|
961
1080
|
);
|
|
962
1081
|
process.stderr.write(`[RPC DEBUG] HOOK_STOP emitted
|
|
963
1082
|
`);
|
|
@@ -1000,6 +1119,7 @@ ${sel.text}
|
|
|
1000
1119
|
timestamp: createTimestamp(),
|
|
1001
1120
|
contextPercent: this.contextPercent,
|
|
1002
1121
|
tokensUsed: snapshot?.tokensUsed,
|
|
1122
|
+
tokensUsageStatus: snapshot?.tokensUsageStatus,
|
|
1003
1123
|
durationMs
|
|
1004
1124
|
});
|
|
1005
1125
|
process.stderr.write(`[RPC DEBUG] TURN_END emitted successfully
|
|
@@ -1033,6 +1153,7 @@ ${sel.text}
|
|
|
1033
1153
|
timestamp: createTimestamp(),
|
|
1034
1154
|
contextPercent: this.contextPercent,
|
|
1035
1155
|
tokensUsed: snapshot?.tokensUsed,
|
|
1156
|
+
tokensUsageStatus: snapshot?.tokensUsageStatus,
|
|
1036
1157
|
durationMs
|
|
1037
1158
|
});
|
|
1038
1159
|
this.stopKeepalive();
|
|
@@ -1079,6 +1200,7 @@ ${sel.text}
|
|
|
1079
1200
|
timestamp: createTimestamp(),
|
|
1080
1201
|
contextPercent: this.contextPercent,
|
|
1081
1202
|
tokensUsed: snapshot?.tokensUsed,
|
|
1203
|
+
tokensUsageStatus: snapshot?.tokensUsageStatus,
|
|
1082
1204
|
durationMs
|
|
1083
1205
|
});
|
|
1084
1206
|
}
|
|
@@ -1097,7 +1219,7 @@ ${sel.text}
|
|
|
1097
1219
|
async handleReset(_requestId) {
|
|
1098
1220
|
if (this.agent && this.conversation) {
|
|
1099
1221
|
try {
|
|
1100
|
-
const { extractAndSaveSessionMemories } = await import("./extractSessionMemories-
|
|
1222
|
+
const { extractAndSaveSessionMemories } = await import("./extractSessionMemories-K6ZVAW2F.js");
|
|
1101
1223
|
await extractAndSaveSessionMemories({
|
|
1102
1224
|
llm: this.agent.getLlmProvider(),
|
|
1103
1225
|
memoryManager: this.agent.getMemoryManager(),
|
|
@@ -1534,9 +1656,10 @@ ${sel.text}
|
|
|
1534
1656
|
* Emit hook post-response notification
|
|
1535
1657
|
* Called after receiving a response from the LLM
|
|
1536
1658
|
*/
|
|
1537
|
-
emitHookPostResponse(tokensUsed, toolCallsCount, duration) {
|
|
1659
|
+
emitHookPostResponse(tokensUsed, toolCallsCount, duration, tokensUsageStatus = "actual") {
|
|
1538
1660
|
writeNotification(RPC_NOTIFICATIONS.HOOK_POST_RESPONSE, {
|
|
1539
1661
|
tokensUsed,
|
|
1662
|
+
tokensUsageStatus,
|
|
1540
1663
|
toolCallsCount,
|
|
1541
1664
|
duration,
|
|
1542
1665
|
timestamp: createTimestamp()
|
|
@@ -1558,9 +1681,10 @@ ${sel.text}
|
|
|
1558
1681
|
* Emit hook stop notification
|
|
1559
1682
|
* Called when agent finishes responding to a turn
|
|
1560
1683
|
*/
|
|
1561
|
-
emitHookStop(tokensUsed, toolCallsCount, duration) {
|
|
1684
|
+
emitHookStop(tokensUsed, toolCallsCount, duration, tokensUsageStatus = "actual") {
|
|
1562
1685
|
writeNotification(RPC_NOTIFICATIONS.HOOK_STOP, {
|
|
1563
1686
|
tokensUsed,
|
|
1687
|
+
tokensUsageStatus,
|
|
1564
1688
|
toolCallsCount,
|
|
1565
1689
|
duration,
|
|
1566
1690
|
timestamp: createTimestamp()
|
|
@@ -1677,7 +1801,7 @@ ${sel.text}
|
|
|
1677
1801
|
*/
|
|
1678
1802
|
async handleGetSkillsRegistry(requestId, params) {
|
|
1679
1803
|
try {
|
|
1680
|
-
const { CommunitySkillsCache } = await import("./CommunitySkillsCache-
|
|
1804
|
+
const { CommunitySkillsCache } = await import("./CommunitySkillsCache-CI7UN2DX.js");
|
|
1681
1805
|
const { GitHubRegistryFetcher } = await import("./GitHubRegistryFetcher-J2BWPXJF.js");
|
|
1682
1806
|
const cache = new CommunitySkillsCache();
|
|
1683
1807
|
const fetcher = new GitHubRegistryFetcher();
|
|
@@ -1737,9 +1861,9 @@ ${sel.text}
|
|
|
1737
1861
|
};
|
|
1738
1862
|
}
|
|
1739
1863
|
const workspaceRoot = this.workspace;
|
|
1740
|
-
const { CommunitySkillsCache } = await import("./CommunitySkillsCache-
|
|
1864
|
+
const { CommunitySkillsCache } = await import("./CommunitySkillsCache-CI7UN2DX.js");
|
|
1741
1865
|
const { GitHubRegistryFetcher } = await import("./GitHubRegistryFetcher-J2BWPXJF.js");
|
|
1742
|
-
const { AUTOHAND_PATHS, PROJECT_DIR_NAME } = await import("./constants-
|
|
1866
|
+
const { AUTOHAND_PATHS, PROJECT_DIR_NAME } = await import("./constants-AS6K67AA.js");
|
|
1743
1867
|
const path2 = await import("path");
|
|
1744
1868
|
const cache = new CommunitySkillsCache();
|
|
1745
1869
|
const fetcher = new GitHubRegistryFetcher();
|
|
@@ -1814,11 +1938,11 @@ ${sel.text}
|
|
|
1814
1938
|
*/
|
|
1815
1939
|
async handleLearnRecommend(requestId, params) {
|
|
1816
1940
|
try {
|
|
1817
|
-
const { ProjectAnalyzer } = await import("./autoSkill-
|
|
1818
|
-
const { CommunitySkillsCache } = await import("./CommunitySkillsCache-
|
|
1941
|
+
const { ProjectAnalyzer } = await import("./autoSkill-HEWKJ5JV.js");
|
|
1942
|
+
const { CommunitySkillsCache } = await import("./CommunitySkillsCache-CI7UN2DX.js");
|
|
1819
1943
|
const { GitHubRegistryFetcher } = await import("./GitHubRegistryFetcher-J2BWPXJF.js");
|
|
1820
|
-
const { fetchRegistryWithFallback } = await import("./communityInstaller-
|
|
1821
|
-
const { LearnAdvisor } = await import("./LearnAdvisor-
|
|
1944
|
+
const { fetchRegistryWithFallback } = await import("./communityInstaller-OLKEUGMX.js");
|
|
1945
|
+
const { LearnAdvisor } = await import("./LearnAdvisor-RFOBXFG7.js");
|
|
1822
1946
|
const workspace = this.workspace || process.cwd();
|
|
1823
1947
|
const deep = params?.deep ?? false;
|
|
1824
1948
|
writeNotification(RPC_NOTIFICATIONS.LEARN_PROGRESS, {
|
|
@@ -1886,9 +2010,9 @@ ${sel.text}
|
|
|
1886
2010
|
*/
|
|
1887
2011
|
async handleLearnUpdate(_requestId, _params) {
|
|
1888
2012
|
try {
|
|
1889
|
-
const { ProjectAnalyzer } = await import("./autoSkill-
|
|
1890
|
-
const { computeProjectHash, injectGeneratedMetadata } = await import("./communityInstaller-
|
|
1891
|
-
const { LearnAdvisor } = await import("./LearnAdvisor-
|
|
2013
|
+
const { ProjectAnalyzer } = await import("./autoSkill-HEWKJ5JV.js");
|
|
2014
|
+
const { computeProjectHash, injectGeneratedMetadata } = await import("./communityInstaller-OLKEUGMX.js");
|
|
2015
|
+
const { LearnAdvisor } = await import("./LearnAdvisor-RFOBXFG7.js");
|
|
1892
2016
|
const fse = await import("fs-extra");
|
|
1893
2017
|
const workspace = this.workspace || process.cwd();
|
|
1894
2018
|
writeNotification(RPC_NOTIFICATIONS.LEARN_PROGRESS, {
|
|
@@ -1964,10 +2088,10 @@ description: ${generated.description}
|
|
|
1964
2088
|
*/
|
|
1965
2089
|
async handleLearnGenerate(requestId, params) {
|
|
1966
2090
|
try {
|
|
1967
|
-
const { ProjectAnalyzer } = await import("./autoSkill-
|
|
1968
|
-
const { computeProjectHash, injectGeneratedMetadata } = await import("./communityInstaller-
|
|
1969
|
-
const { LearnAdvisor } = await import("./LearnAdvisor-
|
|
1970
|
-
const { AUTOHAND_PATHS, PROJECT_DIR_NAME } = await import("./constants-
|
|
2091
|
+
const { ProjectAnalyzer } = await import("./autoSkill-HEWKJ5JV.js");
|
|
2092
|
+
const { computeProjectHash, injectGeneratedMetadata } = await import("./communityInstaller-OLKEUGMX.js");
|
|
2093
|
+
const { LearnAdvisor } = await import("./LearnAdvisor-RFOBXFG7.js");
|
|
2094
|
+
const { AUTOHAND_PATHS, PROJECT_DIR_NAME } = await import("./constants-AS6K67AA.js");
|
|
1971
2095
|
const fse = await import("fs-extra");
|
|
1972
2096
|
const path2 = await import("path");
|
|
1973
2097
|
const workspace = this.workspace || process.cwd();
|
|
@@ -2119,17 +2243,27 @@ description: ${generated.description}
|
|
|
2119
2243
|
return { success: false };
|
|
2120
2244
|
}
|
|
2121
2245
|
try {
|
|
2246
|
+
const revertGeneration = ++this.yoloRevertGeneration;
|
|
2247
|
+
if (this.yoloRevertTimer) {
|
|
2248
|
+
clearTimeout(this.yoloRevertTimer);
|
|
2249
|
+
this.yoloRevertTimer = null;
|
|
2250
|
+
}
|
|
2122
2251
|
permissionManager.setMode("unrestricted");
|
|
2123
2252
|
process.stderr.write(`[RPC] YOLO mode enabled with pattern: ${params.pattern}
|
|
2124
2253
|
`);
|
|
2125
2254
|
let expiresIn;
|
|
2126
2255
|
if (params.timeoutSeconds && params.timeoutSeconds > 0) {
|
|
2127
2256
|
expiresIn = params.timeoutSeconds;
|
|
2128
|
-
setTimeout(() => {
|
|
2257
|
+
this.yoloRevertTimer = setTimeout(() => {
|
|
2258
|
+
if (this.yoloRevertGeneration !== revertGeneration) {
|
|
2259
|
+
return;
|
|
2260
|
+
}
|
|
2261
|
+
this.yoloRevertTimer = null;
|
|
2129
2262
|
permissionManager.setMode("interactive");
|
|
2130
2263
|
process.stderr.write(`[RPC] YOLO mode expired, reverted to interactive
|
|
2131
2264
|
`);
|
|
2132
2265
|
}, params.timeoutSeconds * 1e3);
|
|
2266
|
+
this.yoloRevertTimer.unref?.();
|
|
2133
2267
|
}
|
|
2134
2268
|
return { success: true, expiresIn };
|
|
2135
2269
|
} catch (error) {
|
|
@@ -2980,6 +3114,12 @@ description: ${generated.description}
|
|
|
2980
3114
|
}
|
|
2981
3115
|
}
|
|
2982
3116
|
};
|
|
3117
|
+
function parseRpcGoalStatus(value) {
|
|
3118
|
+
if (value === "active" || value === "paused" || value === "complete" || value === "budgetLimited") {
|
|
3119
|
+
return value;
|
|
3120
|
+
}
|
|
3121
|
+
return void 0;
|
|
3122
|
+
}
|
|
2983
3123
|
|
|
2984
3124
|
// src/modes/rpc/index.ts
|
|
2985
3125
|
var originalConsole = {
|
|
@@ -3026,7 +3166,10 @@ async function runRpcMode(options) {
|
|
|
3026
3166
|
let adapter = null;
|
|
3027
3167
|
let agent = null;
|
|
3028
3168
|
try {
|
|
3029
|
-
const config = await
|
|
3169
|
+
const config = await prepareBareModeConfig(
|
|
3170
|
+
options._authConfig ?? await loadConfig(options.config, process.cwd()),
|
|
3171
|
+
options
|
|
3172
|
+
);
|
|
3030
3173
|
const normalizedYolo = normalizeYoloInput(options.yolo);
|
|
3031
3174
|
if (normalizedYolo) {
|
|
3032
3175
|
try {
|
|
@@ -3133,6 +3276,7 @@ async function runRpcMode(options) {
|
|
|
3133
3276
|
conversation,
|
|
3134
3277
|
options.model ?? config.openrouter?.model ?? "unknown",
|
|
3135
3278
|
workspaceRoot,
|
|
3279
|
+
config,
|
|
3136
3280
|
config.mcp?.servers
|
|
3137
3281
|
);
|
|
3138
3282
|
agent.setConfirmationCallback(async (message, context) => {
|
|
@@ -3218,21 +3362,8 @@ async function handleSingleRequest(request, adapter) {
|
|
|
3218
3362
|
}
|
|
3219
3363
|
return null;
|
|
3220
3364
|
}
|
|
3221
|
-
adapter.
|
|
3222
|
-
|
|
3223
|
-
process.stdout.write(JSON.stringify(createResponse(id, promptResult)) + "\n");
|
|
3224
|
-
}
|
|
3225
|
-
}).catch((error) => {
|
|
3226
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
3227
|
-
if (shouldRespond) {
|
|
3228
|
-
process.stdout.write(JSON.stringify(createErrorResponse(
|
|
3229
|
-
id,
|
|
3230
|
-
JSON_RPC_ERROR_CODES.INTERNAL_ERROR,
|
|
3231
|
-
message
|
|
3232
|
-
)) + "\n");
|
|
3233
|
-
}
|
|
3234
|
-
});
|
|
3235
|
-
return null;
|
|
3365
|
+
result = adapter.startPrompt(id ?? null, promptParams);
|
|
3366
|
+
break;
|
|
3236
3367
|
}
|
|
3237
3368
|
case RPC_METHODS.ABORT: {
|
|
3238
3369
|
process.stderr.write(`[RPC DEBUG] ABORT received! id=${id}, isNotification=${!shouldRespond}
|
|
@@ -3600,6 +3731,46 @@ async function handleSingleRequest(request, adapter) {
|
|
|
3600
3731
|
result = await adapter.handleGetContextUsage();
|
|
3601
3732
|
break;
|
|
3602
3733
|
}
|
|
3734
|
+
case RPC_METHODS.GOAL_GET: {
|
|
3735
|
+
result = await adapter.handleGoalGet();
|
|
3736
|
+
break;
|
|
3737
|
+
}
|
|
3738
|
+
case RPC_METHODS.GOAL_CREATE: {
|
|
3739
|
+
const goalParams = params;
|
|
3740
|
+
if (!goalParams?.objective) {
|
|
3741
|
+
if (shouldRespond) {
|
|
3742
|
+
return createErrorResponse(id, JSON_RPC_ERROR_CODES.INVALID_PARAMS, "Missing required parameter: objective");
|
|
3743
|
+
}
|
|
3744
|
+
return null;
|
|
3745
|
+
}
|
|
3746
|
+
result = await adapter.handleGoalCreate(goalParams);
|
|
3747
|
+
break;
|
|
3748
|
+
}
|
|
3749
|
+
case RPC_METHODS.GOAL_UPDATE: {
|
|
3750
|
+
result = await adapter.handleGoalUpdate(params ?? {});
|
|
3751
|
+
break;
|
|
3752
|
+
}
|
|
3753
|
+
case RPC_METHODS.GOAL_CLEAR: {
|
|
3754
|
+
result = await adapter.handleGoalClear();
|
|
3755
|
+
break;
|
|
3756
|
+
}
|
|
3757
|
+
case RPC_METHODS.GOAL_QUEUE: {
|
|
3758
|
+
const queueParams = params;
|
|
3759
|
+
if (!queueParams?.objective) {
|
|
3760
|
+
result = await adapter.handleGoalGet();
|
|
3761
|
+
} else {
|
|
3762
|
+
result = await adapter.handleGoalQueue(queueParams);
|
|
3763
|
+
}
|
|
3764
|
+
break;
|
|
3765
|
+
}
|
|
3766
|
+
case RPC_METHODS.GOAL_START_QUEUED: {
|
|
3767
|
+
result = await adapter.handleGoalStartQueued();
|
|
3768
|
+
break;
|
|
3769
|
+
}
|
|
3770
|
+
case RPC_METHODS.GOAL_LIST_TEMPLATES: {
|
|
3771
|
+
result = await adapter.handleGoalListTemplates();
|
|
3772
|
+
break;
|
|
3773
|
+
}
|
|
3603
3774
|
case RPC_METHODS.SET_CONTEXT_COMPACT: {
|
|
3604
3775
|
const compactParams = params;
|
|
3605
3776
|
if (compactParams?.enabled === void 0) {
|