@opencode/core 0.0.0-dev-20644 → 0.0.0-dev-20649
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/{reference-2194chap.js → mime-00qg2tcw.js} +15 -15
- package/dist/chunks/{reference-8bdbvaz4.js → mime-03d19y83.js} +4 -4
- package/dist/chunks/{reference-yt62qj12.js → mime-04mq6ee8.js} +30 -30
- package/dist/chunks/{reference-afdssyjb.js → mime-06x8he3q.js} +4 -4
- package/dist/chunks/{reference-72kjf32t.js → mime-070fvye4.js} +47 -47
- package/dist/chunks/{reference-veanqdwt.js → mime-0fan8waa.js} +20 -20
- package/dist/chunks/{reference-hndc3k9c.js → mime-0hwq8h39.js} +9 -9
- package/dist/chunks/{reference-q0xm7vwc.js → mime-0j77ygfz.js} +6 -6
- package/dist/chunks/{reference-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{reference-f3bkb0dd.js → mime-0yzyde6c.js} +26 -26
- package/dist/chunks/{reference-8tqdxazn.js → mime-12n08y7q.js} +8 -8
- package/dist/chunks/{reference-88ywh4qk.js → mime-13qx119e.js} +10 -10
- package/dist/chunks/{reference-v01fwtwf.js → mime-16c21bq7.js} +10 -10
- package/dist/chunks/{reference-6c09zaff.js → mime-170w37en.js} +1 -1
- package/dist/chunks/{reference-6t2k45be.js → mime-1b37m1mh.js} +17 -17
- package/dist/chunks/{reference-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-84h8c373.js → mime-1dvck2a7.js} +2 -2
- package/dist/chunks/{reference-8mwpm1an.js → mime-1j858gve.js} +19 -19
- package/dist/chunks/{reference-rnht7zsd.js → mime-1mdr38wd.js} +16 -16
- package/dist/chunks/{reference-f29mbr7f.js → mime-1rn5pcm9.js} +4 -4
- package/dist/chunks/{reference-1ygqh575.js → mime-1ygqh575.js} +2 -2
- package/dist/chunks/{reference-0ev02b6f.js → mime-23h4de3k.js} +16 -16
- package/dist/chunks/{reference-tah2dmcr.js → mime-27xqmrb2.js} +15 -15
- package/dist/chunks/{reference-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-hbxrrpsy.js → mime-2at4bpy3.js} +10 -10
- package/dist/chunks/{reference-4ts7tf6z.js → mime-2ccvkpx1.js} +2 -2
- package/dist/chunks/{reference-qgn6gcr1.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{reference-dcb7qyjw.js → mime-2nhfnjcw.js} +16 -16
- package/dist/chunks/{reference-7rpx7sq4.js → mime-2nthby9b.js} +30 -30
- package/dist/chunks/{reference-nhsamrrc.js → mime-2sdz7qh7.js} +48 -48
- package/dist/chunks/{reference-y0ty5fha.js → mime-2vdde78z.js} +9 -9
- package/dist/chunks/{reference-r0xwa5b9.js → mime-2wjfq3y1.js} +14 -14
- package/dist/chunks/{reference-83t40xbf.js → mime-31b5zmy0.js} +27 -27
- package/dist/chunks/{reference-s8w3rjvj.js → mime-34vqaa0j.js} +32 -32
- package/dist/chunks/{reference-0nde5ztd.js → mime-38adaqc0.js} +5 -5
- package/dist/chunks/{reference-pg4qvhje.js → mime-393wq71a.js} +25 -25
- package/dist/chunks/{reference-6jc1b2h3.js → mime-3ch2ac9z.js} +13 -13
- package/dist/chunks/{reference-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-4qzt904k.js → mime-3fw4vykw.js} +33 -33
- package/dist/chunks/{reference-jnvd0kyr.js → mime-3h16yct6.js} +9 -9
- package/dist/chunks/{reference-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-g9s62h09.js → mime-3hx84xbv.js} +33 -33
- package/dist/chunks/{reference-q538z9pc.js → mime-3ktk39h6.js} +15 -15
- package/dist/chunks/{reference-mszqqr5a.js → mime-3py696r4.js} +11 -11
- package/dist/chunks/{reference-2zztsz65.js → mime-3qhg2zya.js} +8 -8
- package/dist/chunks/{reference-h4ckqw4f.js → mime-3rd28rcz.js} +11 -11
- package/dist/chunks/{reference-5c42fwyc.js → mime-3rz5q6jx.js} +13 -13
- package/dist/chunks/{reference-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-rpwhq6pb.js → mime-3thfs4vd.js} +3 -3
- package/dist/chunks/{reference-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-vptjzd05.js → mime-43efg38y.js} +14 -14
- package/dist/chunks/mime-459hb6np.js +253 -0
- package/dist/chunks/{reference-vvx487fg.js → mime-4tamdkr5.js} +5 -5
- package/dist/chunks/{reference-gvt3vmzy.js → mime-4x0vy5hp.js} +5 -5
- package/dist/chunks/{reference-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{reference-cftre4vt.js → mime-564aqkfr.js} +39 -39
- package/dist/chunks/{reference-b64x0h7w.js → mime-58phr483.js} +70 -70
- package/dist/chunks/{reference-m6rwzraj.js → mime-59s0kgwy.js} +3 -3
- package/dist/chunks/{reference-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-y15vpdnr.js → mime-5fb55ywp.js} +9 -9
- package/dist/chunks/{reference-d3tcrfr2.js → mime-5g9khqm3.js} +11 -11
- package/dist/chunks/{reference-mhb1xyd0.js → mime-5g9tk4c4.js} +25 -25
- package/dist/chunks/{reference-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-zzpvks7y.js → mime-5mqyks12.js} +36 -36
- package/dist/chunks/{reference-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-qmrj7qv4.js → mime-5wn8k982.js} +25 -25
- package/dist/chunks/{reference-2p2thyt8.js → mime-61zpm44j.js} +9 -9
- package/dist/chunks/{reference-gwzp9a94.js → mime-6540dvt1.js} +7 -7
- package/dist/chunks/{reference-9k28mjf9.js → mime-6cpwc79d.js} +27 -27
- package/dist/chunks/{reference-a8bn8zg0.js → mime-6m42r3np.js} +21 -21
- package/dist/chunks/{reference-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{reference-f75zav2x.js → mime-71az546q.js} +2 -2
- package/dist/chunks/{reference-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-87jy24nc.js → mime-7hwp9pe8.js} +15 -15
- package/dist/chunks/{reference-4qyddrjz.js → mime-7zx1qa5e.js} +17 -17
- package/dist/chunks/{reference-84txncab.js → mime-84txncab.js} +1 -1
- package/dist/chunks/{reference-86qzxe6p.js → mime-86qzxe6p.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{reference-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-fhyq4rkh.js → mime-8gxsn6kg.js} +37 -37
- package/dist/chunks/{reference-7sq9ks3h.js → mime-8nzt4413.js} +11 -11
- package/dist/chunks/{reference-prryrcpd.js → mime-93exgp6v.js} +60 -60
- package/dist/chunks/{reference-v9bgj935.js → mime-93ymncz8.js} +24 -24
- package/dist/chunks/{reference-tyvap7pe.js → mime-93z3pz9m.js} +26 -26
- package/dist/chunks/{reference-s3pmgr9t.js → mime-99773vnq.js} +46 -46
- package/dist/chunks/{reference-w62h0ejf.js → mime-9cnwn640.js} +19 -19
- package/dist/chunks/{reference-kb9j3d72.js → mime-9e5bzkjp.js} +3 -3
- package/dist/chunks/{reference-5xtgfte3.js → mime-9hn6k4tm.js} +8 -8
- package/dist/chunks/{reference-pj60644h.js → mime-9hyysrhy.js} +11 -11
- package/dist/chunks/{reference-3470gd9h.js → mime-9ne60yjh.js} +20 -20
- package/dist/chunks/{reference-9edtgxtv.js → mime-9pnm2vv9.js} +30 -30
- package/dist/chunks/{reference-ns7haffg.js → mime-9qvg3h9w.js} +89 -89
- package/dist/chunks/{reference-t11fnep0.js → mime-a1nag75j.js} +4 -4
- package/dist/chunks/{reference-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-gqtdsdt7.js → mime-addxnjmp.js} +4 -4
- package/dist/chunks/{reference-cznc04wa.js → mime-aet780dh.js} +7 -7
- package/dist/chunks/{reference-0anetptk.js → mime-ag7r9101.js} +11 -11
- package/dist/chunks/{reference-sqvzcy4n.js → mime-as7cf5zz.js} +4 -4
- package/dist/chunks/{reference-qygbw77c.js → mime-b3f8fkhc.js} +5 -5
- package/dist/chunks/{reference-9vqr2gqg.js → mime-b644w2ar.js} +11 -11
- package/dist/chunks/{reference-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-2avx1wba.js → mime-bryryzyy.js} +11 -11
- package/dist/chunks/{reference-gpp0brcr.js → mime-bxcw0mka.js} +10 -10
- package/dist/chunks/{reference-cag15tqf.js → mime-c2hscm47.js} +26 -26
- package/dist/chunks/{reference-hgc4p3n8.js → mime-c9e1chd6.js} +13 -13
- package/dist/chunks/{reference-7223d1z5.js → mime-cca1v9sb.js} +10 -10
- package/dist/chunks/{reference-qbe3snec.js → mime-ccdh6zge.js} +10 -10
- package/dist/chunks/{reference-wbtfkyzq.js → mime-cn48saaq.js} +19 -19
- package/dist/chunks/{reference-b7mddd13.js → mime-cs0pyha6.js} +42 -42
- package/dist/chunks/{reference-m4c3aw93.js → mime-d009mnpz.js} +27 -27
- package/dist/chunks/{reference-3g9wyfya.js → mime-d9v54453.js} +23 -23
- package/dist/chunks/{reference-nxm207yx.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{reference-b8cf1jne.js → mime-ds0wtj4e.js} +1 -1
- package/dist/chunks/{reference-ty1kjgn1.js → mime-ds77a3s3.js} +32 -32
- package/dist/chunks/{reference-50eqagw9.js → mime-dtm252p1.js} +5 -5
- package/dist/chunks/{reference-f43c2727.js → mime-dtt66365.js} +22 -22
- package/dist/chunks/{reference-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{reference-he0vrkkp.js → mime-e5ncbec4.js} +4 -4
- package/dist/chunks/{reference-yfs5p2ka.js → mime-e9dcgzx6.js} +4 -4
- package/dist/chunks/{reference-6jsvsf2v.js → mime-ea5vh3bk.js} +44 -44
- package/dist/chunks/{reference-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-rm3eewz3.js → mime-eqdfs7ht.js} +6 -6
- package/dist/chunks/{reference-76kk80dz.js → mime-esfhhzdr.js} +24 -24
- package/dist/chunks/{reference-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-1a1xd1b3.js → mime-f3cq72f8.js} +33 -33
- package/dist/chunks/{reference-ykw2g6qf.js → mime-f3kq77fw.js} +20 -20
- package/dist/chunks/{reference-xm3t5kx7.js → mime-f44mjg6h.js} +4 -4
- package/dist/chunks/{reference-dwajttkg.js → mime-faajnp1h.js} +8 -8
- package/dist/chunks/{reference-vpt24r21.js → mime-fb2y2dbg.js} +11 -11
- package/dist/chunks/{reference-4r3amq6s.js → mime-fd1b7pt2.js} +17 -17
- package/dist/chunks/{reference-3801kdgp.js → mime-fhz5gfgy.js} +5 -5
- package/dist/chunks/{reference-ss358qx3.js → mime-fpnx24t4.js} +3 -3
- package/dist/chunks/{reference-fvqj4f3c.js → mime-g530ctaj.js} +11 -11
- package/dist/chunks/{reference-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-h5brs6ad.js → mime-gdmg3xqt.js} +18 -18
- package/dist/chunks/{reference-gh5z95q3.js → mime-gh5z95q3.js} +2 -2
- package/dist/chunks/{reference-cyya37fe.js → mime-ghcmpcfh.js} +9 -9
- package/dist/chunks/{reference-bzh6v3xd.js → mime-ghe998k5.js} +15 -15
- package/dist/chunks/{reference-6zr4h8f4.js → mime-gkhvwrqw.js} +20 -20
- package/dist/chunks/{reference-rrk1042z.js → mime-gphzfxhq.js} +32 -32
- package/dist/chunks/{reference-bpmpjnmg.js → mime-h05y6get.js} +35 -35
- package/dist/chunks/{reference-2wgr0bg0.js → mime-h1qnxspz.js} +32 -32
- package/dist/chunks/{reference-3cegwx68.js → mime-h2b79v29.js} +2 -2
- package/dist/chunks/{reference-p9yds72b.js → mime-h696b5ha.js} +23 -23
- package/dist/chunks/{reference-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-0skng5dr.js → mime-h9dg90ta.js} +7 -7
- package/dist/chunks/{reference-rmg5xfkv.js → mime-ha65gv77.js} +17 -17
- package/dist/chunks/{reference-dppwmjh0.js → mime-har29xsp.js} +7 -7
- package/dist/chunks/{reference-bvc4cg79.js → mime-hkx83aab.js} +5 -5
- package/dist/chunks/{reference-scsdzjr7.js → mime-hs1x7rht.js} +12 -12
- package/dist/chunks/{reference-52jg0a30.js → mime-hy49mbwe.js} +12 -12
- package/dist/chunks/{reference-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-0aacj8rv.js → mime-j6gcmj6w.js} +3 -3
- package/dist/chunks/{reference-rkekhv0x.js → mime-j9g4e7w9.js} +12 -12
- package/dist/chunks/{reference-ajgzqw9a.js → mime-jk8bzzjw.js} +4 -4
- package/dist/chunks/{reference-cfsekr6v.js → mime-jktqzjpa.js} +8 -8
- package/dist/chunks/{reference-jc4g2yrv.js → mime-jrc5bn6s.js} +11 -11
- package/dist/chunks/{reference-x0agx93m.js → mime-jskn7g1e.js} +5 -5
- package/dist/chunks/{reference-cvnd2j5s.js → mime-jxd6d72w.js} +3 -3
- package/dist/chunks/{reference-dvc89yjx.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{reference-k6tv6mb5.js → mime-k63gn3x0.js} +4 -4
- package/dist/chunks/{reference-sgdqa063.js → mime-kbx4g6d9.js} +35 -35
- package/dist/chunks/{reference-aabqg1yt.js → mime-kj8me5dh.js} +5 -5
- package/dist/chunks/{reference-94xjc4x3.js → mime-kn1g41v8.js} +26 -26
- package/dist/chunks/{reference-1et4t6yv.js → mime-ksgsjq6b.js} +25 -25
- package/dist/chunks/{reference-84gzjtx2.js → mime-kvvdvz0d.js} +37 -37
- package/dist/chunks/{reference-pqwyxwmm.js → mime-ky7drcmt.js} +13 -13
- package/dist/chunks/{reference-nfpgxjj6.js → mime-kz8ps502.js} +12 -12
- package/dist/chunks/{reference-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-r8kdp16q.js → mime-m6yxcdx8.js} +32 -32
- package/dist/chunks/{reference-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-73tb2d7t.js → mime-mhkvc446.js} +3 -3
- package/dist/chunks/{reference-fpswryxc.js → mime-myn0gkp2.js} +16 -16
- package/dist/chunks/{reference-za77p82n.js → mime-mypwhdkk.js} +6 -6
- package/dist/chunks/{reference-nx7bjzyg.js → mime-mz925t54.js} +5 -5
- package/dist/chunks/{reference-4eekcfr3.js → mime-n11krz91.js} +42 -42
- package/dist/chunks/{reference-m2wppme0.js → mime-n14gvf56.js} +19 -19
- package/dist/chunks/{reference-8t7rhgz3.js → mime-n88acrca.js} +17 -17
- package/dist/chunks/{reference-bx0gyb4h.js → mime-n8vdnqrc.js} +5 -5
- package/dist/chunks/{reference-kvffqfe9.js → mime-na7gn6xf.js} +29 -29
- package/dist/chunks/{reference-jpdp1vnh.js → mime-ncj3k1yy.js} +26 -26
- package/dist/chunks/{reference-je2kf47w.js → mime-ndn3sg6m.js} +5 -5
- package/dist/chunks/{reference-tmcwaswb.js → mime-npzkpwms.js} +7 -7
- package/dist/chunks/{reference-61q39vzt.js → mime-p02g0fw2.js} +24 -24
- package/dist/chunks/{reference-by0ebg82.js → mime-p1dcwdyv.js} +26 -26
- package/dist/chunks/{reference-qjeyhcp2.js → mime-p1ve58ng.js} +30 -30
- package/dist/chunks/{reference-c5pjp08j.js → mime-p6cz1f6w.js} +19 -19
- package/dist/chunks/{reference-t2ykdevs.js → mime-pd812h7a.js} +8 -8
- package/dist/chunks/{reference-10pc31tr.js → mime-pe057h99.js} +44 -44
- package/dist/chunks/{reference-pakybbh2.js → mime-penzfr98.js} +19 -19
- package/dist/chunks/{reference-rpqbf71x.js → mime-pfcsshcq.js} +32 -32
- package/dist/chunks/mime-phz3h32g.js +18 -0
- package/dist/chunks/{reference-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{reference-jnrqkn6c.js → mime-pkw6pxyw.js} +30 -30
- package/dist/chunks/{reference-ybdpay6p.js → mime-pzhq4eaf.js} +17 -17
- package/dist/chunks/{reference-04j0x0ww.js → mime-q3ersh05.js} +6 -6
- package/dist/chunks/{reference-nbgrff9b.js → mime-qjev0pmq.js} +6 -6
- package/dist/chunks/{reference-qmqgtz8f.js → mime-qmqgtz8f.js} +2 -2
- package/dist/chunks/{reference-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{reference-tqcqmy0z.js → mime-qreg5ges.js} +180 -180
- package/dist/chunks/{reference-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-q3m1smny.js → mime-qt8b63p3.js} +18 -18
- package/dist/chunks/{reference-qxjc9qry.js → mime-qxjc9qry.js} +3 -3
- package/dist/chunks/{reference-dkg05a5w.js → mime-r7a7bxfj.js} +28 -28
- package/dist/chunks/{reference-nkf980df.js → mime-r8xr0va3.js} +4 -4
- package/dist/chunks/{reference-ftjf86m5.js → mime-r9w3djhf.js} +9 -9
- package/dist/chunks/{reference-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-wv396vej.js → mime-rhjbct0v.js} +8 -8
- package/dist/chunks/{reference-vyfd576n.js → mime-rq7mwymb.js} +25 -25
- package/dist/chunks/{reference-d8h4y8x2.js → mime-ry36jsf7.js} +11 -11
- package/dist/chunks/{reference-g9y2cd3z.js → mime-s0txbpxx.js} +26 -26
- package/dist/chunks/{reference-gcrbmep4.js → mime-sb6an3dy.js} +7 -7
- package/dist/chunks/{reference-r0yjwmba.js → mime-sjq3gc3m.js} +6 -6
- package/dist/chunks/{reference-4dz5bemh.js → mime-spf27589.js} +4 -4
- package/dist/chunks/{reference-t2fc4mz5.js → mime-sxz6gkc3.js} +7 -7
- package/dist/chunks/{reference-rb1fbfth.js → mime-szavfcg2.js} +22 -22
- package/dist/chunks/{reference-b251r90g.js → mime-t4cg2ngh.js} +327 -327
- package/dist/chunks/{reference-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-hgvy4kar.js → mime-tcqa4h8g.js} +10 -10
- package/dist/chunks/{reference-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{reference-h6d45qjv.js → mime-tevtjb4d.js} +18 -18
- package/dist/chunks/{reference-tvy4pmrp.js → mime-tgwh4g45.js} +3 -3
- package/dist/chunks/{reference-cq9vh2fv.js → mime-tk9ew89t.js} +8 -8
- package/dist/chunks/{reference-yy493xsn.js → mime-tz5y8hw2.js} +20 -20
- package/dist/chunks/{reference-v0es1rhs.js → mime-v0es1rhs.js} +2 -2
- package/dist/chunks/{reference-ag4901q7.js → mime-v1q4cba8.js} +6 -6
- package/dist/chunks/{reference-yaj5ebgj.js → mime-v553wp33.js} +48 -48
- package/dist/chunks/{reference-a3c7ahw6.js → mime-v7z2bvyd.js} +4 -4
- package/dist/chunks/{reference-yww0r5a3.js → mime-v9aw5k7b.js} +15 -15
- package/dist/chunks/{reference-gtzbc217.js → mime-va8pbtsb.js} +24 -24
- package/dist/chunks/{reference-bpy139ph.js → mime-vb17zyzn.js} +14 -14
- package/dist/chunks/{reference-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-r656bzgr.js → mime-vjmwwnet.js} +4 -4
- package/dist/chunks/{reference-m39cm8ca.js → mime-vk6h2smq.js} +17 -17
- package/dist/chunks/{reference-05xfxpq7.js → mime-vkt5fbj2.js} +8 -8
- package/dist/chunks/{reference-83xsvayb.js → mime-vq5be08n.js} +3 -3
- package/dist/chunks/{reference-nk5qe5vz.js → mime-vqbdn0d9.js} +21 -21
- package/dist/chunks/{reference-tegs1ycp.js → mime-vqfzq50h.js} +6 -6
- package/dist/chunks/{reference-7zpbt3aj.js → mime-vw2nt98j.js} +9 -9
- package/dist/chunks/{reference-2mq34jqw.js → mime-vw5a0rfv.js} +2 -2
- package/dist/chunks/{reference-xf0nr9dv.js → mime-vxzh5eqq.js} +4 -4
- package/dist/chunks/{reference-y07dqpd7.js → mime-vy452p9v.js} +13 -13
- package/dist/chunks/{reference-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-g5w8qwbj.js → mime-w19d8598.js} +7 -7
- package/dist/chunks/{reference-w39jehkq.js → mime-w2h15q85.js} +5 -5
- package/dist/chunks/{reference-qc6fgdwa.js → mime-w2p0hagm.js} +16 -16
- package/dist/chunks/{reference-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-wz3q2ckh.js → mime-w4afprn7.js} +24 -24
- package/dist/chunks/{reference-gjnvnc4y.js → mime-wbfm5czg.js} +25 -25
- package/dist/chunks/{reference-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{reference-cqdnmg2r.js → mime-wpwvc70n.js} +11 -11
- package/dist/chunks/{reference-amzhydp5.js → mime-ws8rf1n9.js} +15 -15
- package/dist/chunks/{reference-xrzsv9ds.js → mime-wvy7zsan.js} +9 -9
- package/dist/chunks/{reference-wfb8b895.js → mime-x4aqza7e.js} +6 -6
- package/dist/chunks/{reference-3eescsqs.js → mime-xawtvtgk.js} +45 -45
- package/dist/chunks/{reference-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{reference-rk1r2hx8.js → mime-xp3fh2h7.js} +1 -1
- package/dist/chunks/{reference-pgp5awqq.js → mime-xz9m3t1f.js} +24 -24
- package/dist/chunks/{reference-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-defjrdcv.js → mime-y5jr1bsy.js} +89 -89
- package/dist/chunks/{reference-7aj7xv8n.js → mime-y8j7y9g5.js} +16 -16
- package/dist/chunks/{reference-63db42yp.js → mime-yjspgx20.js} +2 -2
- package/dist/chunks/{reference-ht8cmbj4.js → mime-yqpe8af8.js} +20 -20
- package/dist/chunks/{reference-9angfs7f.js → mime-ywq4z9t2.js} +11 -11
- package/dist/chunks/{reference-1xmbdwss.js → mime-yx80kbmw.js} +5 -5
- package/dist/chunks/{reference-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-db7cgdsw.js → mime-z2mbgn3s.js} +54 -54
- package/dist/chunks/{reference-tdw7b37v.js → mime-z92vphtz.js} +17 -17
- package/dist/chunks/{reference-td55a9w2.js → mime-z99td3vh.js} +23 -23
- package/dist/chunks/{reference-mp7381ha.js → mime-ze3jqpvg.js} +20 -20
- package/dist/chunks/{reference-w4xhwz3h.js → mime-zq5qms4d.js} +11 -11
- package/dist/chunks/{reference-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-2eegacq4.js → mime-zrq8kphx.js} +8 -8
- package/dist/chunks/{reference-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{reference-6v23mrsw.js → mime-zxxyec0p.js} +11 -11
- 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 +85 -85
- 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 +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +117 -117
- 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 +119 -119
- 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 +363 -363
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +354 -354
- 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 +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +99 -99
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +115 -115
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- 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/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- 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 +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +133 -133
- package/dist/session/context.js +153 -153
- 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 +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +2 -2
- 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 +162 -162
- 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 +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- 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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- 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 +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- 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 +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/reference-1sb9m88v.js +0 -253
- package/dist/chunks/reference-619r8v3y.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./mime-93ymncz8.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service68,
|
|
24
|
+
node: () => node71
|
|
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 Error4 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 Service68 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ 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(Service68, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service69;
|
|
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(Service28, 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 Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service68.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service68, node71, exports_ripgrep };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./mime-93exgp6v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./mime-p02g0fw2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin37,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin37 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service32;
|
|
51
|
+
const permission = yield* Service50;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin27 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin37, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make20 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./mime-dtt66365.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./mime-2wjfq3y1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./mime-ea5vh3bk.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./mime-p02g0fw2.js";
|
|
18
18
|
import {
|
|
19
19
|
Service10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-gh5z95q3.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-eqdfs7ht.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin19
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin19 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service58;
|
|
43
43
|
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service59;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin44 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin44 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin44 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin44 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin44 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin19, exports_skill2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer10,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node28
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service41, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service25.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node28 = makeGlobalNode({ service: Service25, layer: layer10, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service25, makeLayer2, layer10, node28, exports_model_transport };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-j6gcmj6w.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node74
|
|
12
|
+
} from "./mime-q3ersh05.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info18,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service70,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info18 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info13 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service70 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service70,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node74]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info18({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service70.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node73 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info18, NotFound3, CreateConflict2, Service70, configured10, node73, exports_workspace };
|