@opencode/core 0.0.0-dev-19530 → 2.0.0
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/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-zav06jzw.js → aisdk-native-06x8he3q.js} +4 -4
- package/dist/chunks/{model-0artwwxx.js → aisdk-native-0artwwxx.js} +1 -1
- package/dist/chunks/{model-w6tw9skw.js → aisdk-native-0cpfncfh.js} +10 -10
- package/dist/chunks/{model-8e5vt1qx.js → aisdk-native-0fm13a2s.js} +28 -28
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{model-ncxt770z.js → aisdk-native-0nzv5c2w.js} +8 -8
- package/dist/chunks/{model-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-0pb75hch.js → aisdk-native-0pb75hch.js} +1 -1
- package/dist/chunks/{model-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-1kcksn9e.js → aisdk-native-111hscse.js} +32 -32
- package/dist/chunks/{model-v7bpw0rx.js → aisdk-native-11nvngjf.js} +16 -16
- package/dist/chunks/{model-pwqcks32.js → aisdk-native-15rsv8cs.js} +5 -5
- package/dist/chunks/{model-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-g3vfgj64.js → aisdk-native-1jdcek6j.js} +13 -13
- package/dist/chunks/aisdk-native-1x11rq2a.js +18 -0
- package/dist/chunks/{model-e5yeyj5b.js → aisdk-native-1xqm2dzv.js} +11 -11
- package/dist/chunks/{model-219neeqh.js → aisdk-native-219neeqh.js} +2 -2
- package/dist/chunks/{model-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{model-htza7hdd.js → aisdk-native-21sebrtn.js} +22 -22
- package/dist/chunks/{model-1gbs1kbt.js → aisdk-native-21vc9929.js} +9 -9
- package/dist/chunks/{model-7m5f9412.js → aisdk-native-23279rje.js} +8 -8
- package/dist/chunks/{model-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
- package/dist/chunks/{model-265kqrgy.js → aisdk-native-265kqrgy.js} +1 -1
- package/dist/chunks/{model-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-f1zva5d5.js → aisdk-native-2q85qjqp.js} +5 -5
- package/dist/chunks/{model-zm3pd5tb.js → aisdk-native-2scecyhc.js} +46 -46
- package/dist/chunks/{model-nn17eg7m.js → aisdk-native-2se0afp6.js} +19 -19
- package/dist/chunks/{model-r0ztwh7r.js → aisdk-native-2sqe2en6.js} +60 -60
- package/dist/chunks/{model-exatzf7p.js → aisdk-native-3175eqdp.js} +16 -16
- package/dist/chunks/{model-2xrspd6r.js → aisdk-native-33f8ypwy.js} +22 -22
- package/dist/chunks/{model-33n3bzdy.js → aisdk-native-33n3bzdy.js} +1 -1
- package/dist/chunks/{model-35wynegs.js → aisdk-native-35wynegs.js} +2 -2
- package/dist/chunks/{model-aqjqj2ff.js → aisdk-native-361ty1x8.js} +6 -6
- package/dist/chunks/{model-qbngxwj5.js → aisdk-native-39dcxt5x.js} +22 -22
- package/dist/chunks/{model-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-a0mw1hja.js → aisdk-native-3v5c85g8.js} +15 -15
- package/dist/chunks/{model-xzzk44db.js → aisdk-native-3wx0ktdp.js} +15 -15
- package/dist/chunks/{model-phc8pspp.js → aisdk-native-3x8gcmrs.js} +6 -6
- package/dist/chunks/{model-nncchp3m.js → aisdk-native-40s62c95.js} +5 -5
- package/dist/chunks/{model-0d16ff4w.js → aisdk-native-45smdebh.js} +28 -28
- package/dist/chunks/{model-jv3cv6p3.js → aisdk-native-467byya2.js} +10 -10
- package/dist/chunks/{model-y2bvvrzc.js → aisdk-native-4b9mceyk.js} +15 -15
- package/dist/chunks/{model-99em0p16.js → aisdk-native-4exee4de.js} +11 -11
- package/dist/chunks/{model-c179hq9v.js → aisdk-native-4kkrbspp.js} +38 -38
- package/dist/chunks/{model-3rqkssp8.js → aisdk-native-4ns3h2re.js} +8 -8
- package/dist/chunks/{model-4y66k410.js → aisdk-native-4y66k410.js} +2 -2
- package/dist/chunks/{model-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{model-rr6fm4cb.js → aisdk-native-5pkvz399.js} +32 -32
- package/dist/chunks/{model-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-2k8khapm.js → aisdk-native-607tc6va.js} +5 -5
- package/dist/chunks/{model-wgwrm75m.js → aisdk-native-62zc03d1.js} +168 -168
- package/dist/chunks/{model-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{model-bya8prfn.js → aisdk-native-686tv8fb.js} +8 -8
- package/dist/chunks/{model-gg3hj2sp.js → aisdk-native-6aywe8nf.js} +22 -22
- package/dist/chunks/{model-qwrxphsy.js → aisdk-native-6fyvx278.js} +17 -17
- package/dist/chunks/{model-5b2dqtre.js → aisdk-native-6g46d628.js} +7 -7
- package/dist/chunks/{model-nv5vn7qx.js → aisdk-native-6kyz0a76.js} +4 -4
- package/dist/chunks/{model-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-0m04t0a0.js → aisdk-native-6yxvt9sa.js} +16 -16
- package/dist/chunks/{model-70d2s7af.js → aisdk-native-70d2s7af.js} +1 -1
- package/dist/chunks/{model-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{model-px2sqpay.js → aisdk-native-76xfeaks.js} +26 -26
- package/dist/chunks/{model-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-y7gn77t5.js → aisdk-native-7zdm33ac.js} +10 -10
- package/dist/chunks/{model-hq8zt1th.js → aisdk-native-81rrwt6s.js} +6 -6
- package/dist/chunks/{model-gkt6z8r9.js → aisdk-native-82asvwff.js} +20 -20
- package/dist/chunks/{model-4mddsdbt.js → aisdk-native-82j2mrwz.js} +16 -16
- package/dist/chunks/{model-mdy2tqts.js → aisdk-native-83nmqw0w.js} +40 -40
- package/dist/chunks/{model-8n9190v4.js → aisdk-native-83s1p0p4.js} +9 -9
- package/dist/chunks/{model-v4hmzr0r.js → aisdk-native-844ef7ks.js} +8 -8
- package/dist/chunks/{model-6895yszx.js → aisdk-native-87j3jmrh.js} +9 -9
- package/dist/chunks/{model-ajegdr06.js → aisdk-native-8a24hghq.js} +25 -25
- package/dist/chunks/{model-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-npevzfsy.js → aisdk-native-8qqh30s3.js} +16 -16
- package/dist/chunks/{model-9q9jdv8e.js → aisdk-native-8qr4v3ea.js} +32 -32
- package/dist/chunks/{model-dgdas7td.js → aisdk-native-8y0t5gr9.js} +12 -12
- package/dist/chunks/{model-6vq97qmv.js → aisdk-native-94s48bjb.js} +5 -5
- package/dist/chunks/{model-n4m2mkxj.js → aisdk-native-9jdakqgh.js} +12 -12
- package/dist/chunks/{model-1f3wjap0.js → aisdk-native-9r7q4bhe.js} +23 -23
- package/dist/chunks/{model-w5me5d90.js → aisdk-native-9sjxd60t.js} +14 -14
- package/dist/chunks/{model-mtc9q228.js → aisdk-native-9vfhq93a.js} +31 -31
- package/dist/chunks/{model-vf5jgz4g.js → aisdk-native-9z45pttg.js} +46 -46
- package/dist/chunks/{model-n7hjcbvg.js → aisdk-native-9zvzf66v.js} +11 -11
- package/dist/chunks/{model-yt0fqk68.js → aisdk-native-a1a50ys5.js} +5 -5
- package/dist/chunks/{model-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-wycsdkc3.js → aisdk-native-a5fqa70n.js} +11 -11
- package/dist/chunks/{model-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{model-bz2p45ry.js → aisdk-native-ackkwfcq.js} +28 -28
- package/dist/chunks/{model-ymca8mtq.js → aisdk-native-ajy029q4.js} +14 -14
- package/dist/chunks/{model-9d3a58tj.js → aisdk-native-aqpgmyrr.js} +13 -13
- package/dist/chunks/{model-brp8zeym.js → aisdk-native-as4zy6vm.js} +6 -6
- package/dist/chunks/{model-qa2mkktq.js → aisdk-native-as531t2x.js} +30 -30
- package/dist/chunks/{model-czs7xmcn.js → aisdk-native-axpme2c5.js} +15 -15
- package/dist/chunks/{model-y7j7ndb6.js → aisdk-native-b00gradr.js} +47 -47
- package/dist/chunks/{model-ff0svapt.js → aisdk-native-b09hzw3k.js} +2 -2
- package/dist/chunks/{model-h56egzzg.js → aisdk-native-b5vcnazb.js} +4 -4
- package/dist/chunks/{model-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-ps77swb3.js → aisdk-native-bfexjxds.js} +3 -3
- package/dist/chunks/{model-ayv404k4.js → aisdk-native-bp3wckns.js} +4 -4
- package/dist/chunks/{model-atjxpbab.js → aisdk-native-bqaq7pjn.js} +37 -37
- package/dist/chunks/{model-5nyvja88.js → aisdk-native-bqe1qhvg.js} +29 -29
- package/dist/chunks/{model-5tgjep30.js → aisdk-native-btm2ep20.js} +4 -4
- package/dist/chunks/{model-xtd5dz6n.js → aisdk-native-bxz5a0az.js} +89 -89
- package/dist/chunks/{model-vg018stg.js → aisdk-native-c8k0fn6w.js} +51 -51
- package/dist/chunks/{model-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-3ad4bd0a.js → aisdk-native-ch22x6z2.js} +7 -7
- package/dist/chunks/{model-3hf7z3yq.js → aisdk-native-cjg4xdhd.js} +11 -11
- package/dist/chunks/{model-bajakh74.js → aisdk-native-cq37gk0t.js} +4 -4
- package/dist/chunks/{model-03y65m91.js → aisdk-native-cry8ta6n.js} +4 -4
- package/dist/chunks/{model-cvtmmhw6.js → aisdk-native-cvtmmhw6.js} +1 -1
- package/dist/chunks/{model-6pnccst9.js → aisdk-native-cxvbe4d1.js} +23 -23
- package/dist/chunks/{model-0snep097.js → aisdk-native-d1g6sxjm.js} +23 -23
- package/dist/chunks/{model-sp8m6a9q.js → aisdk-native-deehc0cj.js} +9 -9
- package/dist/chunks/{model-sxwk9xb8.js → aisdk-native-dgf53888.js} +23 -23
- package/dist/chunks/{model-cebcabsx.js → aisdk-native-dk95gbn1.js} +61 -61
- package/dist/chunks/{model-9s353mxg.js → aisdk-native-dp3vq9x5.js} +18 -18
- package/dist/chunks/{model-e6hmchc5.js → aisdk-native-e6hmchc5.js} +2 -2
- package/dist/chunks/{model-nhy5jxhy.js → aisdk-native-e82z9tr0.js} +7 -7
- package/dist/chunks/aisdk-native-ees1bheg.js +22 -0
- package/dist/chunks/{model-vfqqz6ex.js → aisdk-native-em766tcz.js} +9 -9
- package/dist/chunks/{model-3hdw1vhc.js → aisdk-native-es98n7aa.js} +53 -53
- package/dist/chunks/{model-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{model-v5dkyp31.js → aisdk-native-fdv30zvt.js} +7 -7
- package/dist/chunks/{model-25gn6xf8.js → aisdk-native-fex1jrgj.js} +8 -8
- package/dist/chunks/{model-v0pkrfgq.js → aisdk-native-fggaw9y4.js} +11 -11
- package/dist/chunks/{model-7y4pbgtc.js → aisdk-native-fjc0rzqy.js} +15 -15
- package/dist/chunks/{model-a6kqfaee.js → aisdk-native-fx1wdxnv.js} +9 -9
- package/dist/chunks/{model-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-vtjb7z8s.js → aisdk-native-g27wjat6.js} +25 -27
- package/dist/chunks/{model-j181hgc5.js → aisdk-native-g5eyeasx.js} +7 -7
- package/dist/chunks/{model-0247gmrw.js → aisdk-native-gbt8yvwm.js} +18 -18
- package/dist/chunks/{model-p52t23z3.js → aisdk-native-gd0e60kd.js} +38 -38
- package/dist/chunks/{model-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-cw6d4prj.js → aisdk-native-ge3a0kr9.js} +20 -20
- package/dist/chunks/{model-vshq87yh.js → aisdk-native-gfewnhh8.js} +33 -33
- package/dist/chunks/{model-ttzta52k.js → aisdk-native-ghjjbadh.js} +32 -32
- package/dist/chunks/{model-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-hxevvepb.js → aisdk-native-h05a6ep0.js} +53 -53
- package/dist/chunks/{model-p87gvwbv.js → aisdk-native-h251t0cq.js} +15 -15
- package/dist/chunks/{model-jj5vypy3.js → aisdk-native-h6t842eb.js} +30 -30
- package/dist/chunks/{model-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-bgtgk6cp.js → aisdk-native-h7ch2b13.js} +9 -9
- package/dist/chunks/{model-p2h53nt6.js → aisdk-native-hamfyrt4.js} +28 -28
- package/dist/chunks/{model-qrq421eh.js → aisdk-native-hf4q8sgp.js} +22 -22
- package/dist/chunks/{model-bvha1vq7.js → aisdk-native-hj31wtn3.js} +7 -7
- package/dist/chunks/{model-v6a8s5gf.js → aisdk-native-hyq5kv93.js} +32 -32
- package/dist/chunks/{model-1crpa11v.js → aisdk-native-hzekcpqj.js} +28 -28
- package/dist/chunks/{model-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{model-7pkhtfns.js → aisdk-native-jghsd1wz.js} +12 -12
- package/dist/chunks/{model-mwr2btvq.js → aisdk-native-jwx4y25k.js} +2 -2
- package/dist/chunks/{model-yeqyw0z5.js → aisdk-native-jx8g4evx.js} +9 -9
- package/dist/chunks/{model-19yq3b24.js → aisdk-native-jz5sxy2v.js} +6 -6
- package/dist/chunks/{model-20355881.js → aisdk-native-k8z4brtb.js} +9 -9
- package/dist/chunks/{model-6psebnbx.js → aisdk-native-k996mbzp.js} +32 -32
- package/dist/chunks/{model-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{model-cq9pat89.js → aisdk-native-km19zyfq.js} +26 -26
- package/dist/chunks/{model-fvkgc8rm.js → aisdk-native-kns4vs3f.js} +13 -13
- package/dist/chunks/{model-yhq7b4d8.js → aisdk-native-kwn61asm.js} +11 -11
- package/dist/chunks/{model-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-31jd4e8t.js → aisdk-native-mb3974r6.js} +1 -1
- package/dist/chunks/{model-33w4ejhs.js → aisdk-native-mfqp6xfm.js} +9 -9
- package/dist/chunks/{model-mhkvc446.js → aisdk-native-mhkvc446.js} +1 -1
- package/dist/chunks/{model-qj8eh1ht.js → aisdk-native-mjymc32g.js} +4 -4
- package/dist/chunks/{model-6csep4d6.js → aisdk-native-ms882c9x.js} +24 -24
- package/dist/chunks/{model-5c0f1prt.js → aisdk-native-msq0jde0.js} +4 -4
- package/dist/chunks/{model-mz6ae2yf.js → aisdk-native-mz6ae2yf.js} +1 -1
- package/dist/chunks/{model-q44n8009.js → aisdk-native-n09f2zd2.js} +17 -17
- package/dist/chunks/{model-sgfa6f2r.js → aisdk-native-n0xcs1rn.js} +6 -6
- package/dist/chunks/{model-xkc587sw.js → aisdk-native-n88zggmf.js} +13 -13
- package/dist/chunks/{model-y7gk6gsz.js → aisdk-native-nhqh66qs.js} +12 -12
- package/dist/chunks/{model-45fdndrg.js → aisdk-native-p2fyeaa4.js} +8 -8
- package/dist/chunks/{model-b3t12aqp.js → aisdk-native-p33ejz0k.js} +1 -1
- package/dist/chunks/{model-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{model-6rbveq4m.js → aisdk-native-pt1wzm9p.js} +4 -4
- package/dist/chunks/{model-0s3pzcqz.js → aisdk-native-pvvztgda.js} +8 -8
- package/dist/chunks/{model-0cebr7hk.js → aisdk-native-pwb5z5tv.js} +4 -4
- package/dist/chunks/{model-3d6q6ejm.js → aisdk-native-q5az2q1p.js} +20 -20
- package/dist/chunks/{model-wb1tzt4d.js → aisdk-native-qb9gpeer.js} +29 -29
- package/dist/chunks/{model-5q82gfck.js → aisdk-native-qfw56etf.js} +9 -9
- package/dist/chunks/{model-97mdmb9a.js → aisdk-native-qh3awkqg.js} +16 -16
- package/dist/chunks/{model-dq8fe4ed.js → aisdk-native-qjwa214h.js} +9 -9
- package/dist/chunks/{model-bv88jg6f.js → aisdk-native-qm5vd5ej.js} +35 -35
- package/dist/chunks/{model-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{model-wbq0a8cf.js → aisdk-native-qv308p2a.js} +32 -32
- package/dist/chunks/{model-9n8nxpxn.js → aisdk-native-qx0n0hnh.js} +21 -22
- package/dist/chunks/{model-e4f6pw00.js → aisdk-native-r4kwqy5f.js} +25 -25
- package/dist/chunks/{model-r9mregkx.js → aisdk-native-r9mregkx.js} +2 -2
- package/dist/chunks/{model-dnc4tg6k.js → aisdk-native-ra3qct3x.js} +8 -8
- package/dist/chunks/{model-5rgh8ask.js → aisdk-native-rd6pz67j.js} +26 -26
- package/dist/chunks/{model-dwgpa5q5.js → aisdk-native-rdzxvy4m.js} +20 -20
- package/dist/chunks/{model-a9759q1q.js → aisdk-native-rga4dawr.js} +6 -6
- package/dist/chunks/{model-t550f9t1.js → aisdk-native-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-pdy42dnd.js → aisdk-native-rmbt0h7x.js} +29 -29
- package/dist/chunks/{model-q13p9eja.js → aisdk-native-rn79xn25.js} +15 -15
- package/dist/chunks/{model-5kqd1r0d.js → aisdk-native-rqysayyh.js} +89 -89
- package/dist/chunks/{model-vze96k0n.js → aisdk-native-rrbca1ec.js} +4 -4
- package/dist/chunks/{model-y5mrfvw4.js → aisdk-native-rsym84ch.js} +9 -9
- package/dist/chunks/{model-s0esgemt.js → aisdk-native-s0hza5ac.js} +4 -4
- package/dist/chunks/{model-1v6ba5ez.js → aisdk-native-s5ga8gke.js} +16 -16
- package/dist/chunks/aisdk-native-sembr0kd.js +462 -0
- package/dist/chunks/{model-91xeb72v.js → aisdk-native-sjbct61y.js} +11 -11
- package/dist/chunks/{model-t8na6qa3.js → aisdk-native-smbad60v.js} +15 -15
- package/dist/chunks/{model-f24vq1c7.js → aisdk-native-st09aja5.js} +27 -27
- package/dist/chunks/{model-bvg29jbq.js → aisdk-native-svw2bsx3.js} +18 -18
- package/dist/chunks/{model-p6sp61vg.js → aisdk-native-sxnsykqc.js} +34 -34
- package/dist/chunks/{model-3w0fmcng.js → aisdk-native-t0fxg8b9.js} +5 -5
- package/dist/chunks/{model-t0x5rdq8.js → aisdk-native-t0x5rdq8.js} +2 -2
- package/dist/chunks/{model-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{model-gv6a8nnw.js → aisdk-native-th5km1p3.js} +5 -5
- package/dist/chunks/{model-257a402r.js → aisdk-native-tmmjahvp.js} +13 -13
- package/dist/chunks/{model-r8x9m1qg.js → aisdk-native-tpbhnsa4.js} +27 -27
- package/dist/chunks/{model-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{model-6kny798m.js → aisdk-native-twwx0ekz.js} +29 -35
- package/dist/chunks/{model-se0t50fj.js → aisdk-native-v2ctr6fa.js} +23 -23
- package/dist/chunks/{model-2fwd9rb4.js → aisdk-native-v3hym01v.js} +13 -13
- package/dist/chunks/{model-mb2y4s57.js → aisdk-native-v5dw3fed.js} +12 -12
- package/dist/chunks/{model-n649fndv.js → aisdk-native-v6yxqhem.js} +5 -5
- package/dist/chunks/{model-677w9byw.js → aisdk-native-v9kga7nj.js} +7 -7
- package/dist/chunks/{model-c5nvra9m.js → aisdk-native-vcmavarf.js} +2 -2
- package/dist/chunks/{model-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{model-jx3c22rf.js → aisdk-native-vfccn5yp.js} +11 -11
- package/dist/chunks/{model-91y7rpnn.js → aisdk-native-vhbgy75s.js} +4 -4
- package/dist/chunks/{model-znz7rtxh.js → aisdk-native-vv78xzwk.js} +11 -11
- package/dist/chunks/{model-mkhznv56.js → aisdk-native-vy36sswr.js} +9 -9
- package/dist/chunks/{model-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-35agz59w.js → aisdk-native-w4arg62q.js} +4 -4
- package/dist/chunks/{model-zdrvw4c2.js → aisdk-native-w69f1nhp.js} +27 -27
- package/dist/chunks/{model-wavq5vqb.js → aisdk-native-wavq5vqb.js} +1 -1
- package/dist/chunks/{model-bya8x26g.js → aisdk-native-wb8tnnnp.js} +8 -8
- package/dist/chunks/{model-qfpa574x.js → aisdk-native-wbvqwd2e.js} +20 -20
- package/dist/chunks/{model-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{model-whsrbek6.js → aisdk-native-wf1cyng1.js} +12 -12
- package/dist/chunks/{model-pqwf4bge.js → aisdk-native-wggajky5.js} +2 -2
- package/dist/chunks/{model-zc27a7bm.js → aisdk-native-wh6nx8gk.js} +4 -4
- package/dist/chunks/{model-z9pwsk94.js → aisdk-native-whczfbjh.js} +13 -13
- package/dist/chunks/{model-a04ypazz.js → aisdk-native-wvvbdh4b.js} +37 -37
- package/dist/chunks/{model-5akxe5k1.js → aisdk-native-wzcb8dk1.js} +5 -5
- package/dist/chunks/{model-ev82ehxs.js → aisdk-native-x0v86zgp.js} +24 -24
- package/dist/chunks/{model-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-hjejd8rj.js → aisdk-native-xbfgt74t.js} +13 -13
- package/dist/chunks/{model-s8bz6z4k.js → aisdk-native-xbrnje9f.js} +8 -8
- package/dist/chunks/{model-6jnybvqn.js → aisdk-native-xekzrwwc.js} +9 -9
- package/dist/chunks/{model-m7bfq9wr.js → aisdk-native-xkq70t77.js} +7 -7
- package/dist/chunks/{model-jerxsvsx.js → aisdk-native-xmvvg8ty.js} +29 -29
- package/dist/chunks/{model-hyhy14jr.js → aisdk-native-xpf9b544.js} +21 -21
- package/dist/chunks/{model-1cd9yk0n.js → aisdk-native-xrekznn2.js} +20 -20
- package/dist/chunks/{model-c0pa16pn.js → aisdk-native-xv61b48b.js} +3 -3
- package/dist/chunks/{model-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-0sfsr3zt.js → aisdk-native-y3z1zdtj.js} +22 -22
- package/dist/chunks/{model-6bsje7ws.js → aisdk-native-y6f0p4jw.js} +3 -3
- package/dist/chunks/{model-c462van6.js → aisdk-native-y6jb2tes.js} +33 -33
- package/dist/chunks/{model-jwcy2c2z.js → aisdk-native-y71avatq.js} +4 -4
- package/dist/chunks/{model-wwcafvtr.js → aisdk-native-y9f55719.js} +17 -17
- package/dist/chunks/{model-sh0rasge.js → aisdk-native-y9tfvs3x.js} +50 -99
- package/dist/chunks/{model-a5r6p83p.js → aisdk-native-ybc7xzk8.js} +19 -19
- package/dist/chunks/{model-dn3t1y0q.js → aisdk-native-ykq8g6tf.js} +45 -45
- package/dist/chunks/{model-tsfgabrd.js → aisdk-native-ynnjbwyb.js} +40 -40
- package/dist/chunks/{model-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-cztasbnk.js → aisdk-native-yppnjwr8.js} +10 -10
- package/dist/chunks/{model-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
- package/dist/chunks/{model-e758m3vy.js → aisdk-native-z7tgbaqx.js} +12 -12
- package/dist/chunks/{model-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-r0gpwmmm.js → aisdk-native-znwg340w.js} +15 -15
- package/dist/chunks/{model-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-vncycja5.js → aisdk-native-zzabxn0f.js} +4 -4
- package/dist/chunks/aisdk-native-zzet69ff.js +247 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -350
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -341
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +80 -80
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/config.d.ts +1 -5
- package/dist/types/filesystem.d.ts +1 -6
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/shell/select.d.ts +0 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/model-5hac0djz.js +0 -462
- package/dist/chunks/model-gbadjzag.js +0 -4
- package/dist/chunks/model-nnzt82h0.js +0 -26
- package/dist/chunks/model-phz3h32g.js +0 -18
- package/dist/chunks/model-qj7q8b1b.js +0 -247
- package/dist/chunks/model-wmf56hzh.js +0 -76
- package/dist/plugin/websearch/tinyfish.js +0 -13
- package/dist/types/plugin/websearch/tinyfish.d.ts +0 -5
- /package/dist/chunks/{model-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{model-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-paphc93g.js → aisdk-native-paphc93g.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node56
|
|
4
|
+
} from "./aisdk-native-cjg4xdhd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./aisdk-native-11nvngjf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service62,
|
|
12
|
+
node66
|
|
13
|
+
} from "./aisdk-native-x0v86zgp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID18
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-33n3bzdy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./aisdk-native-qjwa214h.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./aisdk-native-jghsd1wz.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-111hscse.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID11,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./aisdk-native-tpbhnsa4.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service65,
|
|
38
|
+
node69
|
|
39
|
+
} from "./aisdk-native-r4kwqy5f.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service54,
|
|
42
|
+
node58
|
|
43
|
+
} from "./aisdk-native-ackkwfcq.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service58,
|
|
46
|
+
node62
|
|
47
|
+
} from "./aisdk-native-1xqm2dzv.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./aisdk-native-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
52
|
+
Info30,
|
|
53
|
+
Ref4,
|
|
54
|
+
Service73,
|
|
55
|
+
node78
|
|
56
|
+
} from "./aisdk-native-6fyvx278.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service43,
|
|
59
|
+
node46
|
|
60
|
+
} from "./aisdk-native-nhqh66qs.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID15
|
|
63
|
+
} from "./aisdk-native-8a24hghq.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service31,
|
|
66
|
+
node35
|
|
67
|
+
} from "./aisdk-native-es98n7aa.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service63,
|
|
70
|
+
node67
|
|
71
|
+
} from "./aisdk-native-ra3qct3x.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service59,
|
|
74
|
+
node63
|
|
75
|
+
} from "./aisdk-native-h05a6ep0.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service34,
|
|
78
|
+
node38
|
|
79
|
+
} from "./aisdk-native-g27wjat6.js";
|
|
80
80
|
import {
|
|
81
81
|
Source3,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service44,
|
|
83
|
+
node47
|
|
84
|
+
} from "./aisdk-native-xmvvg8ty.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info18,
|
|
87
|
+
Service50,
|
|
88
|
+
node53
|
|
89
|
+
} from "./aisdk-native-rd6pz67j.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service19,
|
|
92
|
+
node23
|
|
93
|
+
} from "./aisdk-native-rqysayyh.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service77,
|
|
96
|
+
node82
|
|
97
|
+
} from "./aisdk-native-9vfhq93a.js";
|
|
98
98
|
import {
|
|
99
99
|
Service45,
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
100
|
+
node48
|
|
101
|
+
} from "./aisdk-native-2se0afp6.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service69,
|
|
104
|
+
node73
|
|
105
|
+
} from "./aisdk-native-cxvbe4d1.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID6,
|
|
108
|
+
Service56,
|
|
109
|
+
node60
|
|
110
|
+
} from "./aisdk-native-76xfeaks.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info17,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service49,
|
|
117
|
+
node52
|
|
118
|
+
} from "./aisdk-native-9z45pttg.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service37,
|
|
121
|
+
node41
|
|
122
|
+
} from "./aisdk-native-hf4q8sgp.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
126
126
|
|
|
127
127
|
// src/plugin/host.ts
|
|
128
128
|
var exports_host = {};
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
147
|
-
const bus = yield*
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
152
|
-
const reference = yield*
|
|
143
|
+
const agents = yield* Service62;
|
|
144
|
+
const aisdk = yield* Service76;
|
|
145
|
+
const catalog = yield* Service65;
|
|
146
|
+
const commands = yield* Service54;
|
|
147
|
+
const bus = yield* Service79;
|
|
148
|
+
const integration = yield* Service66;
|
|
149
|
+
const kv = yield* Service58;
|
|
150
|
+
const mcp = yield* Service31;
|
|
151
|
+
const location = yield* Service73;
|
|
152
|
+
const reference = yield* Service44;
|
|
153
153
|
const rpc = yield* Service45;
|
|
154
|
-
const skill = yield*
|
|
155
|
-
const tools = yield*
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
161
|
-
const sessions = yield*
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
154
|
+
const skill = yield* Service50;
|
|
155
|
+
const tools = yield* Service34;
|
|
156
|
+
const vcs = yield* Service69;
|
|
157
|
+
const websearch = yield* Service56;
|
|
158
|
+
const generate = yield* Service37;
|
|
159
|
+
const permission = yield* Service59;
|
|
160
|
+
const hooks = yield* Service63;
|
|
161
|
+
const sessions = yield* Service19;
|
|
162
|
+
const persistentPty = yield* Service77;
|
|
163
|
+
const locations = yield* Service43;
|
|
164
|
+
const worktrees = yield* Service49;
|
|
165
|
+
const locationInfo = () => new Info30({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID15.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service49;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info17);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service73;
|
|
193
|
+
const agents = yield* Service62;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info30({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID9.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -278,12 +278,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
278
278
|
remove: (id) => editor.provider.remove(ID18.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID),
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID),
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID),
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID13.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID13.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID13.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID),
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID13.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
307
307
|
},
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
|
-
get: (input) => response(integration.get(
|
|
310
|
+
get: (input) => response(integration.get(ID11.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID11.make(input.integrationID),
|
|
314
314
|
key: input.key,
|
|
315
315
|
answer: input.answer,
|
|
316
316
|
label: input.label
|
|
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
318
318
|
},
|
|
319
319
|
oauth: {
|
|
320
320
|
connect: (input) => response(integration.oauth.connect({
|
|
321
|
-
integrationID:
|
|
321
|
+
integrationID: ID11.make(input.integrationID),
|
|
322
322
|
methodID: MethodID2.make(input.methodID),
|
|
323
323
|
answer: input.answer,
|
|
324
324
|
label: input.label
|
|
325
325
|
})),
|
|
326
326
|
status: (input) => response(integration.oauth.status({
|
|
327
|
-
integrationID:
|
|
327
|
+
integrationID: ID11.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID11.make(input.integrationID),
|
|
332
332
|
attemptID: AttemptID2.make(input.attemptID),
|
|
333
333
|
code: input.code
|
|
334
334
|
}),
|
|
335
335
|
cancel: (input) => integration.oauth.cancel({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID11.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})
|
|
339
339
|
},
|
|
340
340
|
command: {
|
|
341
341
|
connect: (input) => response(integration.command.connect({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID11.make(input.integrationID),
|
|
343
343
|
methodID: MethodID2.make(input.methodID),
|
|
344
344
|
label: input.label
|
|
345
345
|
})),
|
|
346
346
|
status: (input) => response(integration.command.status({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID11.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID11.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
reload: integration.reload,
|
|
356
356
|
connection: {
|
|
357
|
-
active: (id) => integration.connection.active(
|
|
358
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
357
|
+
active: (id) => integration.connection.active(ID11.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID12.make(connection.id) } : connection)
|
|
359
359
|
},
|
|
360
360
|
transform: (callback) => integration.transform((editor) => {
|
|
361
361
|
callback({
|
|
362
362
|
list: () => mutable(editor.list()),
|
|
363
|
-
get: (id) => mutable(editor.get(
|
|
364
|
-
update: (id, update) => editor.update(
|
|
365
|
-
remove: (id) => editor.remove(
|
|
363
|
+
get: (id) => mutable(editor.get(ID11.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID11.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID11.make(id)),
|
|
368
368
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
369
|
-
remove: (id, method) => editor.method.remove(
|
|
369
|
+
remove: (id, method) => editor.method.remove(ID11.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
376
376
|
const ref = locationRef(input);
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
|
-
const location = yield*
|
|
380
|
-
const mcp = yield*
|
|
379
|
+
const location = yield* Service73;
|
|
380
|
+
const mcp = yield* Service31;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info30({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -429,7 +429,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
429
429
|
callback({
|
|
430
430
|
list: () => mutable(editor.list()),
|
|
431
431
|
get: editor.get,
|
|
432
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
432
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info18)(value)),
|
|
433
433
|
update: editor.update,
|
|
434
434
|
remove: editor.remove
|
|
435
435
|
});
|
|
@@ -457,19 +457,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
providers: () => response(websearch.providers()),
|
|
458
458
|
query: (input) => response(websearch.query({
|
|
459
459
|
query: input.query,
|
|
460
|
-
providerID: input.providerID === undefined ? undefined :
|
|
460
|
+
providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
|
|
461
461
|
})),
|
|
462
462
|
reload: websearch.reload,
|
|
463
463
|
transform: (callback) => websearch.transform((editor) => {
|
|
464
464
|
callback({
|
|
465
465
|
add: (definition) => editor.add({
|
|
466
|
-
id:
|
|
466
|
+
id: ID6.make(definition.id),
|
|
467
467
|
name: definition.name,
|
|
468
468
|
execute: definition.execute
|
|
469
469
|
}),
|
|
470
470
|
default: {
|
|
471
471
|
get: editor.default.get,
|
|
472
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
472
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
})
|
|
@@ -498,7 +498,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
498
498
|
model: input?.model,
|
|
499
499
|
metadata: input?.metadata,
|
|
500
500
|
permissions: input?.permissions,
|
|
501
|
-
location: input?.location ??
|
|
501
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
502
502
|
}),
|
|
503
503
|
get: (input) => sessions.get(input.sessionID),
|
|
504
504
|
switchAgent: sessions.switchAgent,
|
|
@@ -517,29 +517,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
517
517
|
return context;
|
|
518
518
|
});
|
|
519
519
|
var requirements3 = LayerNode.group([
|
|
520
|
-
|
|
521
|
-
node64,
|
|
520
|
+
node56,
|
|
522
521
|
node66,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
node77,
|
|
522
|
+
node81,
|
|
523
|
+
node69,
|
|
526
524
|
node58,
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
node32,
|
|
531
|
-
node49,
|
|
532
|
-
node38,
|
|
533
|
-
node78,
|
|
534
|
-
node34,
|
|
535
|
-
node37,
|
|
536
|
-
node33,
|
|
537
|
-
node36,
|
|
538
|
-
node61,
|
|
539
|
-
node80,
|
|
540
|
-
node18,
|
|
525
|
+
node84,
|
|
526
|
+
node70,
|
|
527
|
+
node62,
|
|
541
528
|
node35,
|
|
542
|
-
|
|
529
|
+
node78,
|
|
530
|
+
node47,
|
|
531
|
+
node48,
|
|
532
|
+
node53,
|
|
533
|
+
node38,
|
|
534
|
+
node73,
|
|
535
|
+
node60,
|
|
536
|
+
node52,
|
|
537
|
+
node41,
|
|
538
|
+
node63,
|
|
539
|
+
node67,
|
|
540
|
+
node23,
|
|
541
|
+
node82,
|
|
542
|
+
node46
|
|
543
543
|
]);
|
|
544
544
|
function storage2(kv, pluginID) {
|
|
545
545
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -566,7 +566,7 @@ function methodImplementation(input) {
|
|
|
566
566
|
if ("authorize" in input) {
|
|
567
567
|
const refresh = input.refresh;
|
|
568
568
|
return {
|
|
569
|
-
integrationID:
|
|
569
|
+
integrationID: ID11.make(input.integrationID),
|
|
570
570
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
571
571
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
572
572
|
if (authorization.mode === "auto") {
|
|
@@ -586,18 +586,18 @@ function methodImplementation(input) {
|
|
|
586
586
|
}
|
|
587
587
|
if (input.method.type === "env") {
|
|
588
588
|
return {
|
|
589
|
-
integrationID:
|
|
589
|
+
integrationID: ID11.make(input.integrationID),
|
|
590
590
|
method: input.method
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
593
|
if (input.method.type === "command") {
|
|
594
594
|
return {
|
|
595
|
-
integrationID:
|
|
595
|
+
integrationID: ID11.make(input.integrationID),
|
|
596
596
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
599
|
return {
|
|
600
|
-
integrationID:
|
|
600
|
+
integrationID: ID11.make(input.integrationID),
|
|
601
601
|
method: input.method
|
|
602
602
|
};
|
|
603
603
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-cjg4xdhd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin19 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin19 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin23, exports_tavily };
|