@opencode/core 0.0.0-dev-20500 → 0.0.0-dev-20502
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-activity-y7cr295m.js → state-00fpxpn5.js} +14 -14
- package/dist/chunks/{location-activity-dc9hv6dn.js → state-04gs4nsy.js} +28 -28
- package/dist/chunks/{location-activity-pwctwhe8.js → state-04qdqhm4.js} +76 -76
- package/dist/chunks/{location-activity-mbjkcgq4.js → state-0bxg4b7b.js} +5 -5
- package/dist/chunks/{location-activity-71rmkmqd.js → state-0dzb2fh1.js} +26 -26
- package/dist/chunks/{location-activity-qsjmfp8y.js → state-0kxqejyt.js} +20 -20
- package/dist/chunks/{location-activity-18zhr4wr.js → state-0mvxp7h8.js} +32 -32
- package/dist/chunks/{location-activity-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-jf6pjsy2.js → state-14q94ps1.js} +29 -29
- package/dist/chunks/{location-activity-r8xr0va3.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-activity-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-84h8c373.js → state-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-activity-xjvckg68.js → state-1pcxnx7b.js} +15 -15
- package/dist/chunks/{location-activity-w2h15q85.js → state-1pxz8ven.js} +5 -5
- package/dist/chunks/{location-activity-b2yqmgr8.js → state-1spa2br4.js} +25 -25
- package/dist/chunks/state-1x11rq2a.js +18 -0
- package/dist/chunks/{location-activity-hjhkbmax.js → state-1yap1j0z.js} +13 -13
- package/dist/chunks/{location-activity-yegmnrcf.js → state-1yd7h3h8.js} +11 -11
- package/dist/chunks/{location-activity-mfqp6xfm.js → state-1ygqh575.js} +6 -6
- package/dist/chunks/{location-activity-6xw19n4w.js → state-28mma7dt.js} +20 -20
- package/dist/chunks/{location-activity-yfez69s5.js → state-28t7fsxc.js} +13 -13
- package/dist/chunks/{location-activity-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-k6ehc7p5.js → state-2bthm84s.js} +57 -57
- package/dist/chunks/{location-activity-0x1x3bv9.js → state-2cntd9m5.js} +11 -11
- package/dist/chunks/{location-activity-mpqcdsgc.js → state-2dafkw8j.js} +10 -10
- package/dist/chunks/{location-activity-h1yvt719.js → state-2h54n0ee.js} +18 -18
- package/dist/chunks/state-2q1gdtj5.js +26 -0
- package/dist/chunks/{location-activity-350srhaq.js → state-2txgt396.js} +48 -48
- package/dist/chunks/{location-activity-2b5kbnky.js → state-33acgdzk.js} +49 -49
- package/dist/chunks/{location-activity-n2nn37za.js → state-3a1njz6g.js} +27 -27
- package/dist/chunks/{location-activity-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-ss2amrnn.js → state-40prtpnq.js} +44 -44
- package/dist/chunks/{location-activity-t0cz011w.js → state-43k6mxyp.js} +25 -25
- package/dist/chunks/{location-activity-30krspkn.js → state-44pdqs77.js} +4 -4
- package/dist/chunks/{location-activity-7qw5pe6x.js → state-4et8za5p.js} +11 -11
- package/dist/chunks/{location-activity-vd3qs992.js → state-4gpan3tv.js} +21 -21
- package/dist/chunks/{location-activity-npmyd0cc.js → state-4kqs1p7e.js} +46 -46
- package/dist/chunks/{location-activity-wfx1w319.js → state-4mqwqfx5.js} +25 -25
- package/dist/chunks/{location-activity-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-tbd6cyzm.js → state-4weqm6mh.js} +9 -9
- package/dist/chunks/{location-activity-b8b36prg.js → state-4xmcw5g1.js} +5 -5
- package/dist/chunks/{location-activity-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-hfgdd62m.js → state-552zmxxp.js} +3 -3
- package/dist/chunks/{location-activity-xn17k1w9.js → state-5axtk5nv.js} +11 -11
- package/dist/chunks/{location-activity-rge4jpvb.js → state-5d7h1caw.js} +20 -20
- package/dist/chunks/{location-activity-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-r33fmr05.js → state-5jfs6fcr.js} +88 -88
- package/dist/chunks/{location-activity-y2jnyesm.js → state-5nd31jak.js} +10 -10
- package/dist/chunks/{location-activity-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-activity-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-drnf6xwf.js → state-63db42yp.js} +2 -2
- package/dist/chunks/{location-activity-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-hntbmpkd.js → state-6dx8ajqs.js} +9 -9
- package/dist/chunks/{location-activity-wg8gh26w.js → state-6mqqbwyk.js} +17 -17
- package/dist/chunks/{location-activity-v7gwj56g.js → state-6yy2nrsp.js} +17 -17
- package/dist/chunks/{location-activity-f75zav2x.js → state-71az546q.js} +2 -2
- package/dist/chunks/{location-activity-3cg47sj7.js → state-73c1v7ws.js} +8 -8
- package/dist/chunks/{location-activity-j028xdjb.js → state-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-activity-gda1r8ym.js → state-78e73m81.js} +5 -5
- package/dist/chunks/{location-activity-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-53sad93v.js → state-7fqwg69p.js} +6 -6
- package/dist/chunks/{location-activity-4cbqv3gk.js → state-7j4r25vm.js} +20 -20
- package/dist/chunks/{location-activity-59g0s8dr.js → state-7ysgmthn.js} +16 -16
- package/dist/chunks/{location-activity-r0qcsft7.js → state-82ax3vh0.js} +18 -18
- package/dist/chunks/{location-activity-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-3b41fz3n.js → state-8958pznr.js} +17 -17
- package/dist/chunks/{location-activity-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-8rd7mgjq.js → state-8c1sptgz.js} +30 -30
- package/dist/chunks/{location-activity-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-tgenbts9.js → state-8e34b0x6.js} +11 -11
- package/dist/chunks/{location-activity-chrxq3ex.js → state-8qyfkx8k.js} +16 -16
- package/dist/chunks/{location-activity-p9esxrs0.js → state-8rn66pkq.js} +5 -5
- package/dist/chunks/{location-activity-ekssatwp.js → state-8sngcwq1.js} +33 -33
- package/dist/chunks/{location-activity-6w9mkn96.js → state-8v563t0s.js} +11 -11
- package/dist/chunks/{location-activity-zy43x3f1.js → state-8wbxkt1z.js} +4 -4
- package/dist/chunks/{location-activity-t6hpw5rz.js → state-952edfyj.js} +13 -13
- package/dist/chunks/{location-activity-kb9j3d72.js → state-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-activity-wg68nafb.js → state-9h4a5xab.js} +11 -11
- package/dist/chunks/{location-activity-8mk23zt3.js → state-9qxc37cz.js} +16 -16
- package/dist/chunks/{location-activity-3h2r7n3c.js → state-9wszy0je.js} +8 -8
- package/dist/chunks/{location-activity-rvevwjzn.js → state-a2mg75pg.js} +16 -16
- package/dist/chunks/{location-activity-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-74ksxchy.js → state-aern4wpy.js} +20 -20
- package/dist/chunks/{location-activity-y1qqcj8h.js → state-ahd542yp.js} +8 -8
- package/dist/chunks/{location-activity-0088bsaz.js → state-anzqh0py.js} +11 -11
- package/dist/chunks/{location-activity-9q5tzmyt.js → state-ap73x2p1.js} +4 -4
- package/dist/chunks/{location-activity-2emczhdf.js → state-axk49psg.js} +5 -5
- package/dist/chunks/{location-activity-zxj9yazw.js → state-ay8gqnx6.js} +8 -8
- package/dist/chunks/{location-activity-wg423nqg.js → state-azmj554m.js} +19 -19
- package/dist/chunks/{location-activity-2m1n7xtd.js → state-b1etsjzr.js} +20 -20
- package/dist/chunks/{location-activity-vh2b5q6q.js → state-b5gwpyg7.js} +20 -20
- package/dist/chunks/{location-activity-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-bdn2jqxx.js → state-bp8hqz04.js} +6 -6
- package/dist/chunks/{location-activity-0khjy9ec.js → state-bs8y318y.js} +33 -33
- package/dist/chunks/{location-activity-z6c3x22d.js → state-bx0gyb4h.js} +5 -5
- package/dist/chunks/{location-activity-s7b7m8gm.js → state-c276ajz9.js} +5 -5
- package/dist/chunks/{location-activity-ebh19h62.js → state-c8sjj9w2.js} +4 -4
- package/dist/chunks/{location-activity-75n2a8fh.js → state-cb2298qb.js} +15 -15
- package/dist/chunks/{location-activity-8sze2n9a.js → state-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-activity-2mwmrpq2.js → state-cg1vask2.js} +13 -13
- package/dist/chunks/{location-activity-pz72se8g.js → state-cmd29g7k.js} +24 -24
- package/dist/chunks/{location-activity-9hn6k4tm.js → state-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-activity-r4v44k83.js → state-cnc3hz65.js} +33 -33
- package/dist/chunks/{location-activity-ah6q2b7n.js → state-cqxgxmhy.js} +4 -4
- package/dist/chunks/{location-activity-3r57vsxn.js → state-cren2jfr.js} +11 -11
- package/dist/chunks/{location-activity-md6w79y2.js → state-cwjkr794.js} +16 -16
- package/dist/chunks/state-d0v57x60.js +253 -0
- package/dist/chunks/{location-activity-z0aj456m.js → state-d858xzj7.js} +4 -4
- package/dist/chunks/{location-activity-c0j408pk.js → state-da0zeymm.js} +1 -1
- package/dist/chunks/{location-activity-rjjes25b.js → state-dc42k26b.js} +9 -9
- package/dist/chunks/{location-activity-8gxqpgph.js → state-dhmh7aw6.js} +4 -4
- package/dist/chunks/{location-activity-w9a0vxq6.js → state-dhx4zg22.js} +3 -3
- package/dist/chunks/{location-activity-p1h07j1p.js → state-dmf0tg3n.js} +20 -20
- package/dist/chunks/{location-activity-gny09gtg.js → state-dne93ghm.js} +34 -34
- package/dist/chunks/{location-activity-nxm207yx.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-vw9et25q.js → state-dsepe0gs.js} +45 -45
- package/dist/chunks/{location-activity-z0p99b1b.js → state-e1327jd3.js} +14 -14
- package/dist/chunks/{location-activity-89za3yyg.js → state-e8vwfchq.js} +9 -9
- package/dist/chunks/{location-activity-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-cnm58bzr.js → state-eg6cnjkw.js} +11 -11
- package/dist/chunks/{location-activity-znf88vwq.js → state-eket8g0s.js} +9 -9
- package/dist/chunks/{location-activity-y14bx9tm.js → state-emjdsf9h.js} +12 -12
- package/dist/chunks/{location-activity-nh29y208.js → state-epcwd8bb.js} +21 -21
- package/dist/chunks/{location-activity-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-4z58m4b4.js → state-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-activity-5cd0f864.js → state-f2tgmaa5.js} +7 -7
- package/dist/chunks/{location-activity-ks91b70y.js → state-f5r29w5t.js} +10 -10
- package/dist/chunks/{location-activity-r4zgej02.js → state-fk671aj4.js} +1 -1
- package/dist/chunks/{location-activity-b24eg6ry.js → state-g0686x85.js} +23 -23
- package/dist/chunks/{location-activity-xfkkasph.js → state-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-activity-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-8bm8gygk.js → state-gg5anxjq.js} +25 -25
- package/dist/chunks/{location-activity-nvnab6fc.js → state-gqxhvq1m.js} +11 -11
- package/dist/chunks/{location-activity-3cegwx68.js → state-h2b79v29.js} +2 -2
- package/dist/chunks/{location-activity-qbdp3xnt.js → state-h3q04455.js} +13 -13
- package/dist/chunks/{location-activity-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-2p623br6.js → state-hbyhqfhs.js} +5 -5
- package/dist/chunks/{location-activity-567pkxz1.js → state-hd48tzav.js} +5 -5
- package/dist/chunks/{location-activity-v3tjrmtr.js → state-hda4pa2y.js} +4 -4
- package/dist/chunks/{location-activity-4w2h89yz.js → state-hktgrrj9.js} +7 -7
- package/dist/chunks/{location-activity-ca1cswfe.js → state-hq7za0k9.js} +8 -8
- package/dist/chunks/{location-activity-0zsbm5jj.js → state-hqy2492m.js} +6 -6
- package/dist/chunks/{location-activity-n6nrhf01.js → state-hrn7p0dv.js} +33 -33
- package/dist/chunks/{location-activity-kw5sw8fc.js → state-hv12hhzw.js} +34 -34
- package/dist/chunks/{location-activity-adkbmeq0.js → state-hvvbh0a1.js} +13 -13
- package/dist/chunks/{location-activity-3egz84b3.js → state-hys27yhn.js} +37 -37
- package/dist/chunks/{location-activity-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-656t1bz5.js → state-j63cx0ne.js} +2 -2
- package/dist/chunks/{location-activity-v6eddqm0.js → state-je9b2prv.js} +8 -8
- package/dist/chunks/{location-activity-keqbsmdz.js → state-jnys1re4.js} +20 -20
- package/dist/chunks/{location-activity-bcyfx9y6.js → state-jq6ka8n1.js} +17 -17
- package/dist/chunks/{location-activity-k1qrnqst.js → state-k1qrnqst.js} +1 -1
- package/dist/chunks/{location-activity-n8sna2wb.js → state-k70p9jzb.js} +9 -9
- package/dist/chunks/{location-activity-wf9apyvy.js → state-kcvna0f0.js} +43 -43
- package/dist/chunks/{location-activity-8767ctf1.js → state-krwkx5bh.js} +26 -26
- package/dist/chunks/{location-activity-p51p3jcg.js → state-kvvk39gs.js} +21 -21
- package/dist/chunks/{location-activity-j8h6sbfz.js → state-m0kb4wyj.js} +27 -27
- package/dist/chunks/{location-activity-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-qd4eqyk6.js → state-m8qawmsc.js} +30 -30
- package/dist/chunks/{location-activity-2k2r7q25.js → state-m9b2qrsw.js} +11 -11
- package/dist/chunks/{location-activity-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-0ww7qdtd.js → state-mf9rp0da.js} +10 -10
- package/dist/chunks/{location-activity-sy448gmp.js → state-mfjzh9b6.js} +7 -7
- package/dist/chunks/{location-activity-b7n6rk97.js → state-mh0jem6y.js} +5 -5
- package/dist/chunks/{location-activity-ck8kqaap.js → state-mpnk1jhk.js} +37 -37
- package/dist/chunks/{location-activity-10kh9wpp.js → state-mvfdckk2.js} +8 -8
- package/dist/chunks/{location-activity-yr715y08.js → state-n37c4crj.js} +5 -5
- package/dist/chunks/{location-activity-0gn99prb.js → state-n4cfjzyv.js} +3 -3
- package/dist/chunks/{location-activity-60xcggm2.js → state-n8jxvm2h.js} +43 -43
- package/dist/chunks/{location-activity-k2dbp69f.js → state-n8nanv1k.js} +9 -9
- package/dist/chunks/{location-activity-adcymw1a.js → state-n9a0q8nq.js} +15 -15
- package/dist/chunks/{location-activity-p6wsjyz9.js → state-ney4fyxz.js} +3 -3
- package/dist/chunks/{location-activity-28zek266.js → state-nhpep66j.js} +18 -18
- package/dist/chunks/{location-activity-c5kb033c.js → state-nptr00se.js} +12 -12
- package/dist/chunks/{location-activity-5c258t51.js → state-nqndf85r.js} +8 -8
- package/dist/chunks/{location-activity-caseqyrv.js → state-nvvhg2y4.js} +30 -30
- package/dist/chunks/{location-activity-vt5p5cmk.js → state-p2yrhkbt.js} +20 -20
- package/dist/chunks/{location-activity-rm6495e7.js → state-p7h4szz7.js} +19 -19
- package/dist/chunks/{location-activity-14mdsyfv.js → state-p8n712dk.js} +16 -16
- package/dist/chunks/{location-activity-ajc4e5h8.js → state-p9mywqvn.js} +24 -24
- package/dist/chunks/{location-activity-b27vhd2z.js → state-pbfwh0cy.js} +7 -7
- package/dist/chunks/{location-activity-kef0s52w.js → state-pcnc1d95.js} +19 -19
- package/dist/chunks/{location-activity-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-rx9ava5n.js → state-pkqb68ka.js} +4 -4
- package/dist/chunks/{location-activity-f8qb16qy.js → state-pm9q0v6k.js} +34 -34
- package/dist/chunks/{location-activity-19kc4pyf.js → state-pqym5gsf.js} +6 -6
- package/dist/chunks/{location-activity-fgbghkbj.js → state-prpdjzp2.js} +6 -6
- package/dist/chunks/{location-activity-2nv2m7pf.js → state-pxhak851.js} +6 -6
- package/dist/chunks/{location-activity-g327wf0w.js → state-pykgkb85.js} +24 -24
- package/dist/chunks/{location-activity-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-activity-7pn4z2ev.js → state-q1bq5n4v.js} +10 -10
- package/dist/chunks/{location-activity-d4xa2c0j.js → state-qcf958r1.js} +15 -15
- package/dist/chunks/{location-activity-1b3nhc4c.js → state-qf049b19.js} +27 -27
- package/dist/chunks/{location-activity-2k8khapm.js → state-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-activity-cpneeje0.js → state-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-activity-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-nsc4cbcy.js → state-qnp5pb1d.js} +4 -4
- package/dist/chunks/{location-activity-2wts5qzq.js → state-qp3v07n2.js} +5 -5
- package/dist/chunks/{location-activity-4vp2zkv1.js → state-qpnkeqbx.js} +9 -9
- package/dist/chunks/{location-activity-cmg6gnv1.js → state-qpyzbkc5.js} +27 -27
- package/dist/chunks/{location-activity-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-4gb6f9fb.js → state-qsjg5rnf.js} +13 -13
- package/dist/chunks/{location-activity-qxjc9qry.js → state-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-activity-5824vx86.js → state-qy34gznv.js} +11 -11
- package/dist/chunks/{location-activity-b3f8fkhc.js → state-qygbw77c.js} +5 -5
- package/dist/chunks/{location-activity-spfm2vfw.js → state-rd41a4h6.js} +18 -18
- package/dist/chunks/{location-activity-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-3556dn8t.js → state-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-activity-f2ttxgzq.js → state-rmbqsmkn.js} +11 -11
- package/dist/chunks/{location-activity-ep44p4pe.js → state-rrpq0de9.js} +5 -5
- package/dist/chunks/{location-activity-adfvz2d6.js → state-s96dc5a8.js} +22 -22
- package/dist/chunks/{location-activity-my4zabxr.js → state-ss358qx3.js} +3 -3
- package/dist/chunks/{location-activity-x6pyv2yz.js → state-sykc9y4a.js} +5 -5
- package/dist/chunks/{location-activity-xcx82w59.js → state-t304atgw.js} +175 -175
- package/dist/chunks/{location-activity-116zdfxn.js → state-t6f500wt.js} +18 -18
- package/dist/chunks/{location-activity-8vtzpwjk.js → state-tayvxp81.js} +6 -6
- package/dist/chunks/{location-activity-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-dzse07y5.js → state-tcay1cqt.js} +6 -6
- package/dist/chunks/{location-activity-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-vd5y62t1.js → state-tge9ftn1.js} +11 -11
- package/dist/chunks/{location-activity-182h7z1q.js → state-tjdag02x.js} +24 -24
- package/dist/chunks/{location-activity-nfg6fefr.js → state-tps4458j.js} +6 -6
- package/dist/chunks/{location-activity-qwjmgwmn.js → state-tx9w5tca.js} +8 -8
- package/dist/chunks/{location-activity-k3qhtr9e.js → state-tz1r4rmt.js} +11 -11
- package/dist/chunks/{location-activity-dmvmn2q0.js → state-tzfegwcm.js} +2 -2
- package/dist/chunks/{location-activity-v0es1rhs.js → state-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-activity-g4je1hn3.js → state-v0gzbwpf.js} +22 -22
- package/dist/chunks/{location-activity-2dnd7d20.js → state-v8nq70zj.js} +13 -13
- package/dist/chunks/{location-activity-adr463s0.js → state-v9ndcyjw.js} +19 -19
- package/dist/chunks/{location-activity-v0a4cbca.js → state-va19je8s.js} +11 -11
- package/dist/chunks/{location-activity-pg2wvq8g.js → state-vapy00qs.js} +10 -10
- package/dist/chunks/{location-activity-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-f8r3hpen.js → state-vfjzkq6y.js} +11 -11
- package/dist/chunks/{location-activity-2hv4z9nr.js → state-vt7a2mk5.js} +10 -10
- package/dist/chunks/{location-activity-c1gcx4p7.js → state-vxhx592f.js} +3 -3
- package/dist/chunks/{location-activity-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-kgnaaj8y.js → state-w51dn2qq.js} +17 -17
- package/dist/chunks/{location-activity-1s0zbmm5.js → state-w6fcbyfn.js} +69 -69
- package/dist/chunks/{location-activity-8s0hbtb0.js → state-w8xd1cjb.js} +31 -31
- package/dist/chunks/{location-activity-5z2nh3x1.js → state-wbfffxyw.js} +29 -29
- package/dist/chunks/{location-activity-z6rdb9sr.js → state-wcrcred6.js} +16 -16
- package/dist/chunks/{location-activity-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-yd69d4sv.js → state-wgramqyd.js} +11 -11
- package/dist/chunks/{location-activity-82m24mh1.js → state-wht45by2.js} +25 -25
- package/dist/chunks/{location-activity-e2c97wf8.js → state-wjpnyp9v.js} +22 -22
- package/dist/chunks/{location-activity-yb8n5v0q.js → state-wmjfe5mb.js} +4 -4
- package/dist/chunks/{location-activity-s8d7rejh.js → state-wv396vej.js} +8 -8
- package/dist/chunks/{location-activity-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-activity-pde12nfv.js → state-xm5ch7ya.js} +48 -48
- package/dist/chunks/{location-activity-63kpjth9.js → state-xsgk3b13.js} +9 -9
- package/dist/chunks/{location-activity-4s3tx91s.js → state-xvew0b96.js} +24 -24
- package/dist/chunks/{location-activity-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-26k51bnn.js → state-y3gy1d3k.js} +14 -14
- package/dist/chunks/{location-activity-2w99apfa.js → state-y66k8ekt.js} +34 -34
- package/dist/chunks/{location-activity-f47cg35j.js → state-y7etkmrn.js} +30 -30
- package/dist/chunks/{location-activity-62whfj7q.js → state-yptytea3.js} +11 -11
- package/dist/chunks/{location-activity-82jtb5jc.js → state-yqntvyew.js} +29 -29
- package/dist/chunks/{location-activity-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-aax9h3pd.js → state-z8t1202s.js} +45 -45
- package/dist/chunks/{location-activity-3fwjzrvh.js → state-za2r5g4y.js} +27 -27
- package/dist/chunks/{location-activity-9zdzxtry.js → state-zd77a6te.js} +20 -20
- package/dist/chunks/{location-activity-38ws8pay.js → state-zfm48e7p.js} +3 -3
- package/dist/chunks/state-zks7ye7f.js +507 -0
- package/dist/chunks/{location-activity-3nmmjeqr.js → state-zpbznynk.js} +16 -16
- package/dist/chunks/{location-activity-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-x661k3y3.js → state-zw2hpfmh.js} +4 -4
- package/dist/chunks/{location-activity-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-7y5xt9fp.js → state-zytnfd28.js} +26 -26
- package/dist/chunks/{location-activity-p074vfk9.js → state-zyvj22ag.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-activity-4v7qdvcn.js +0 -18
- package/dist/chunks/location-activity-6gf083h8.js +0 -507
- package/dist/chunks/location-activity-m4mmr2p7.js +0 -26
- package/dist/chunks/location-activity-xgc19d0k.js +0 -253
- /package/dist/chunks/{location-activity-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node68
|
|
4
|
+
} from "./state-qy34gznv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
ID8,
|
|
11
|
-
Service60,
|
|
12
|
-
node63
|
|
13
|
-
} from "./location-activity-182h7z1q.js";
|
|
8
|
+
} from "./state-qnp5pb1d.js";
|
|
14
9
|
import {
|
|
15
10
|
ID15,
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./state-tjdag02x.js";
|
|
14
|
+
import {
|
|
15
|
+
ID9,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-nvvhg2y4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service68,
|
|
24
|
+
node71
|
|
25
|
+
} from "./state-y7etkmrn.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service80,
|
|
33
33
|
node84
|
|
34
|
-
} from "./
|
|
35
|
-
import {
|
|
36
|
-
ID12,
|
|
37
|
-
Service73,
|
|
38
|
-
node77
|
|
39
|
-
} from "./location-activity-82jtb5jc.js";
|
|
34
|
+
} from "./state-tzfegwcm.js";
|
|
40
35
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
ID7,
|
|
37
|
+
Service67,
|
|
38
|
+
node70
|
|
39
|
+
} from "./state-yqntvyew.js";
|
|
44
40
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
41
|
+
Service64,
|
|
42
|
+
node66
|
|
43
|
+
} from "./state-wgramqyd.js";
|
|
48
44
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
45
|
+
Service41,
|
|
46
|
+
node44
|
|
47
|
+
} from "./state-v9ndcyjw.js";
|
|
52
48
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
49
|
+
Service73,
|
|
50
|
+
node77
|
|
51
|
+
} from "./state-vapy00qs.js";
|
|
56
52
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./location-activity-j8h6sbfz.js";
|
|
53
|
+
Service50,
|
|
54
|
+
node52
|
|
55
|
+
} from "./state-6dx8ajqs.js";
|
|
61
56
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
ID6,
|
|
58
|
+
Service66,
|
|
59
|
+
node69
|
|
60
|
+
} from "./state-m0kb4wyj.js";
|
|
64
61
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./location-activity-350srhaq.js";
|
|
62
|
+
ID11
|
|
63
|
+
} from "./state-krwkx5bh.js";
|
|
68
64
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
65
|
+
Service30,
|
|
66
|
+
node33
|
|
67
|
+
} from "./state-2txgt396.js";
|
|
72
68
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
69
|
+
Service78,
|
|
70
|
+
node82
|
|
71
|
+
} from "./state-tx9w5tca.js";
|
|
76
72
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
73
|
+
Service75,
|
|
74
|
+
node79
|
|
75
|
+
} from "./state-2bthm84s.js";
|
|
80
76
|
import {
|
|
81
|
-
Source3,
|
|
82
77
|
Service36,
|
|
83
78
|
node39
|
|
84
|
-
} from "./
|
|
79
|
+
} from "./state-wht45by2.js";
|
|
85
80
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
81
|
+
Source3,
|
|
82
|
+
Service53,
|
|
83
|
+
node55
|
|
84
|
+
} from "./state-p9mywqvn.js";
|
|
85
|
+
import {
|
|
86
|
+
Info22,
|
|
87
|
+
Service74,
|
|
88
|
+
node78
|
|
89
|
+
} from "./state-v0gzbwpf.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service21,
|
|
92
|
+
node24
|
|
93
|
+
} from "./state-5jfs6fcr.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service15,
|
|
96
|
+
node18
|
|
97
|
+
} from "./state-s96dc5a8.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service20,
|
|
100
|
+
node23
|
|
101
|
+
} from "./state-4et8za5p.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service18,
|
|
104
|
+
node21
|
|
105
|
+
} from "./state-6mqqbwyk.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID3,
|
|
108
|
+
Service42,
|
|
109
|
+
node45
|
|
110
|
+
} from "./state-g0686x85.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service17,
|
|
113
|
+
node20
|
|
114
|
+
} from "./state-p8n712dk.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info3,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service16,
|
|
120
|
+
node19
|
|
121
|
+
} from "./state-dne93ghm.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service19,
|
|
124
|
+
node22
|
|
125
|
+
} from "./state-28mma7dt.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./state-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
146
|
+
const agents = yield* Service79;
|
|
147
|
+
const aisdk = yield* Service64;
|
|
148
|
+
const providers = yield* Service67;
|
|
149
|
+
const models = yield* Service66;
|
|
150
|
+
const commands = yield* Service41;
|
|
151
151
|
const bus = yield* Service83;
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
152
|
+
const integration = yield* Service68;
|
|
153
|
+
const kv = yield* Service73;
|
|
154
|
+
const mcp = yield* Service30;
|
|
155
155
|
const location = yield* Service80;
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
156
|
+
const reference = yield* Service53;
|
|
157
|
+
const rpc = yield* Service20;
|
|
158
|
+
const skill = yield* Service74;
|
|
159
|
+
const tools = yield* Service36;
|
|
160
|
+
const vcs = yield* Service18;
|
|
161
|
+
const websearch = yield* Service42;
|
|
162
|
+
const generate = yield* Service19;
|
|
163
|
+
const permission = yield* Service75;
|
|
164
|
+
const hooks = yield* Service78;
|
|
165
|
+
const sessions = yield* Service21;
|
|
166
|
+
const persistentPty = yield* Service15;
|
|
167
|
+
const locations = yield* Service50;
|
|
168
|
+
const worktrees = yield* Service16;
|
|
169
|
+
const worktreeStrategies = yield* Service17;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info27({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info3);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
185
|
const location = yield* Service80;
|
|
186
|
-
const agents = yield*
|
|
186
|
+
const agents = yield* Service79;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info27({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID15.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID15.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID7.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID9.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID7.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID7.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID7.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID6.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID6.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID7.make(providerID), ID6.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID6.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID6.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID6.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID7.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID8.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID8.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,60 +327,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID8.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID8.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID8.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID8.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID8.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID8.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID8.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID8.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection),
|
|
368
368
|
status: (input) => integration.connection.status({
|
|
369
|
-
integrationID:
|
|
370
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
369
|
+
integrationID: ID8.make(input.integrationID),
|
|
370
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID9.make(input.connection.id) } : input.connection,
|
|
371
371
|
status: input.status
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
transform: (callback) => integration.transform((editor) => {
|
|
375
375
|
callback({
|
|
376
376
|
list: () => mutable(editor.list()),
|
|
377
|
-
get: (id) => mutable(editor.get(
|
|
378
|
-
update: (id, update) => editor.update(
|
|
379
|
-
remove: (id) => editor.remove(
|
|
377
|
+
get: (id) => mutable(editor.get(ID8.make(id))),
|
|
378
|
+
update: (id, update) => editor.update(ID8.make(id), update),
|
|
379
|
+
remove: (id) => editor.remove(ID8.make(id)),
|
|
380
380
|
method: {
|
|
381
|
-
list: (id) => editor.method.list(
|
|
381
|
+
list: (id) => editor.method.list(ID8.make(id)),
|
|
382
382
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
383
|
-
remove: (id, method) => editor.method.remove(
|
|
383
|
+
remove: (id, method) => editor.method.remove(ID8.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
})
|
|
@@ -391,7 +391,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
391
391
|
if (ref && !isCurrentLocation(ref))
|
|
392
392
|
return Effect.gen(function* () {
|
|
393
393
|
const location = yield* Service80;
|
|
394
|
-
const mcp = yield*
|
|
394
|
+
const mcp = yield* Service30;
|
|
395
395
|
return {
|
|
396
396
|
location: new Info27({
|
|
397
397
|
directory: location.directory,
|
|
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
442
442
|
callback({
|
|
443
443
|
list: () => mutable(editor.list()),
|
|
444
444
|
get: editor.get,
|
|
445
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
445
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info22)(value)),
|
|
446
446
|
update: editor.update,
|
|
447
447
|
remove: editor.remove
|
|
448
448
|
});
|
|
@@ -473,19 +473,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
473
473
|
providers: () => response(websearch.providers()),
|
|
474
474
|
query: (input) => response(websearch.query({
|
|
475
475
|
query: input.query,
|
|
476
|
-
providerID: input.providerID === undefined ? undefined :
|
|
476
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
477
477
|
})),
|
|
478
478
|
reload: websearch.reload,
|
|
479
479
|
transform: (callback) => websearch.transform((editor) => {
|
|
480
480
|
callback({
|
|
481
481
|
add: (definition) => editor.add({
|
|
482
|
-
id:
|
|
482
|
+
id: ID3.make(definition.id),
|
|
483
483
|
name: definition.name,
|
|
484
484
|
execute: definition.execute
|
|
485
485
|
}),
|
|
486
486
|
default: {
|
|
487
487
|
get: editor.default.get,
|
|
488
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
488
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
})
|
|
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
545
545
|
return context;
|
|
546
546
|
});
|
|
547
547
|
var requirements3 = LayerNode.group([
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
548
|
+
node68,
|
|
549
|
+
node83,
|
|
550
|
+
node66,
|
|
551
|
+
node70,
|
|
552
|
+
node69,
|
|
553
|
+
node44,
|
|
554
554
|
node87,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
555
|
+
node71,
|
|
556
|
+
node77,
|
|
557
|
+
node33,
|
|
558
558
|
node84,
|
|
559
|
+
node55,
|
|
560
|
+
node23,
|
|
561
|
+
node78,
|
|
559
562
|
node39,
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
node25,
|
|
571
|
-
node44,
|
|
572
|
-
node57
|
|
563
|
+
node21,
|
|
564
|
+
node45,
|
|
565
|
+
node19,
|
|
566
|
+
node20,
|
|
567
|
+
node22,
|
|
568
|
+
node79,
|
|
569
|
+
node82,
|
|
570
|
+
node24,
|
|
571
|
+
node18,
|
|
572
|
+
node52
|
|
573
573
|
]);
|
|
574
574
|
function storage2(kv, pluginID) {
|
|
575
575
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -596,7 +596,7 @@ function methodImplementation(input) {
|
|
|
596
596
|
if ("authorize" in input) {
|
|
597
597
|
const refresh = input.refresh;
|
|
598
598
|
return {
|
|
599
|
-
integrationID:
|
|
599
|
+
integrationID: ID8.make(input.integrationID),
|
|
600
600
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
601
601
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
602
602
|
if (authorization.mode === "auto") {
|
|
@@ -616,18 +616,18 @@ function methodImplementation(input) {
|
|
|
616
616
|
}
|
|
617
617
|
if (input.method.type === "env") {
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID8.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "command") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID8.make(input.integrationID),
|
|
626
626
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
return {
|
|
630
|
-
integrationID:
|
|
630
|
+
integrationID: ID8.make(input.integrationID),
|
|
631
631
|
method: input.method
|
|
632
632
|
};
|
|
633
633
|
}
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node62
|
|
9
|
+
} from "./state-4gpan3tv.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service59,
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service60;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service59.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [node62, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service59, node61, exports_ripgrep };
|