@opencode/core 0.0.0-dev-19431 → 0.0.0-dev-19432
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{wellknown-pmr4s4kc.js → repository-00z3vp5f.js} +4 -4
- package/dist/chunks/{wellknown-rersy9yg.js → repository-0efqcfd5.js} +5 -5
- package/dist/chunks/{wellknown-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{wellknown-a820x4jn.js → repository-0rpxkeqh.js} +20 -20
- package/dist/chunks/{wellknown-e4cbaens.js → repository-0s80x56w.js} +9 -9
- package/dist/chunks/{wellknown-g5h6njp0.js → repository-18frcpjt.js} +18 -18
- package/dist/chunks/{wellknown-3vnzk02n.js → repository-1byap634.js} +20 -20
- package/dist/chunks/{wellknown-q1b6gr3p.js → repository-1d1rhcsj.js} +13 -13
- package/dist/chunks/{wellknown-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-qwd4j9zj.js → repository-1erp3qqz.js} +12 -12
- package/dist/chunks/{wellknown-v3jp6byb.js → repository-1fmrbde1.js} +8 -8
- package/dist/chunks/{wellknown-1hc11dc4.js → repository-1hc11dc4.js} +1 -1
- package/dist/chunks/{wellknown-2w6fwzk8.js → repository-1snngmj1.js} +4 -4
- package/dist/chunks/{wellknown-adbeyv6h.js → repository-1t1584fh.js} +23 -23
- package/dist/chunks/{wellknown-1rvsq380.js → repository-1vy40y6q.js} +16 -16
- package/dist/chunks/{wellknown-a8cvaywe.js → repository-1wvd3n1a.js} +23 -23
- package/dist/chunks/{wellknown-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-tgggdv5e.js → repository-22cv5ye4.js} +15 -15
- package/dist/chunks/{wellknown-kzh6gfbz.js → repository-23sxaqwc.js} +7 -7
- package/dist/chunks/{wellknown-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-z92e5j38.js → repository-2c5gpntr.js} +1 -1
- package/dist/chunks/{wellknown-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{wellknown-q8h1e6nq.js → repository-2mfw3wdh.js} +9 -9
- package/dist/chunks/{wellknown-1mh8etnz.js → repository-2mxvh1sf.js} +4 -4
- package/dist/chunks/{wellknown-jsxty42z.js → repository-2pwpt1fq.js} +5 -5
- package/dist/chunks/{wellknown-q1h4ggtj.js → repository-2tfmgkzg.js} +4 -4
- package/dist/chunks/{wellknown-p5xyv7pn.js → repository-2vtn24zd.js} +12 -12
- package/dist/chunks/{wellknown-m3g11tvf.js → repository-30rg0n1z.js} +6 -6
- package/dist/chunks/{wellknown-7sb0gw8v.js → repository-3293cyr9.js} +2 -2
- package/dist/chunks/{wellknown-fyts4tpe.js → repository-32vktv6f.js} +33 -33
- package/dist/chunks/{wellknown-vjnb44yt.js → repository-377tdzm5.js} +3 -3
- package/dist/chunks/{wellknown-f16rvdaj.js → repository-3bkjb058.js} +24 -24
- package/dist/chunks/{wellknown-6xscg6ph.js → repository-3fqa324q.js} +15 -15
- package/dist/chunks/{wellknown-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3q1jyqhd.js → repository-3q1jyqhd.js} +1 -1
- package/dist/chunks/{wellknown-kaj30qh4.js → repository-3qgk4v93.js} +23 -23
- package/dist/chunks/{wellknown-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-nhy5jxhy.js → repository-47gsdddb.js} +5 -5
- package/dist/chunks/{wellknown-z6xqx8vg.js → repository-4aws1fvg.js} +35 -35
- package/dist/chunks/{wellknown-rmdyxgmk.js → repository-4c8bw516.js} +8 -8
- package/dist/chunks/{wellknown-ccg31c11.js → repository-4g53kgkp.js} +46 -46
- package/dist/chunks/{wellknown-qn1pawzn.js → repository-4v34yf9v.js} +56 -56
- package/dist/chunks/{wellknown-a0s8g8r8.js → repository-4vt2dwev.js} +19 -19
- package/dist/chunks/{wellknown-hw5zatr6.js → repository-52nmff2v.js} +168 -168
- package/dist/chunks/{wellknown-e2mjwr1a.js → repository-52ymf0cj.js} +21 -21
- package/dist/chunks/{wellknown-khn3zewm.js → repository-5637d424.js} +9 -9
- package/dist/chunks/{wellknown-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{wellknown-4nqwrsa4.js → repository-56gxsabx.js} +13 -13
- package/dist/chunks/{wellknown-5c4hm403.js → repository-5c4hm403.js} +3 -3
- package/dist/chunks/{wellknown-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-zy1b9mj0.js → repository-5tqrw2yw.js} +24 -24
- package/dist/chunks/{wellknown-8d4hgzq6.js → repository-62hcz6cs.js} +15 -15
- package/dist/chunks/{wellknown-gdpq0ckt.js → repository-63xeamm2.js} +16 -16
- package/dist/chunks/{wellknown-kh3jnqzr.js → repository-65fgxyf5.js} +8 -8
- package/dist/chunks/{wellknown-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-q5t0te5a.js → repository-6anwy9fs.js} +4 -4
- package/dist/chunks/{wellknown-9588gbpa.js → repository-6bd4yqd4.js} +39 -39
- package/dist/chunks/{wellknown-1r38sc4d.js → repository-6cnk2f7j.js} +18 -18
- package/dist/chunks/{wellknown-jfkjrwd6.js → repository-6d8fecpc.js} +4 -4
- package/dist/chunks/{wellknown-1vsws4am.js → repository-6fa0yxfs.js} +15 -15
- package/dist/chunks/{wellknown-egkyg8tp.js → repository-6fmy559f.js} +7 -7
- package/dist/chunks/{wellknown-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
- package/dist/chunks/{wellknown-qj48zm78.js → repository-6jagpjd6.js} +23 -23
- package/dist/chunks/{wellknown-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-d5hhvd7t.js → repository-6prpzt6f.js} +42 -42
- package/dist/chunks/{wellknown-n136tsdt.js → repository-6ryvksdm.js} +27 -27
- package/dist/chunks/{wellknown-228k2fda.js → repository-6xrkkq0p.js} +18 -18
- package/dist/chunks/{wellknown-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{wellknown-bcn5dnkb.js → repository-737983wq.js} +4 -4
- package/dist/chunks/{wellknown-r5x6zcsm.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{wellknown-e9t4j61t.js → repository-780vkm8r.js} +4 -4
- package/dist/chunks/{wellknown-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-5rcbg160.js → repository-7n9wzmmg.js} +17 -17
- package/dist/chunks/{wellknown-x0hpdvpn.js → repository-7qed14jw.js} +284 -284
- package/dist/chunks/{wellknown-9y8671sk.js → repository-7v41m4wd.js} +8 -8
- package/dist/chunks/{wellknown-0wfdzdq3.js → repository-7yqt39ht.js} +23 -23
- package/dist/chunks/{wellknown-kbmmzrfa.js → repository-844ef7ks.js} +8 -8
- package/dist/chunks/{wellknown-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-787q5hy4.js → repository-8jn05b6d.js} +3 -3
- package/dist/chunks/{wellknown-tkqmbdwd.js → repository-8mhep79j.js} +36 -36
- package/dist/chunks/{wellknown-88sv3a8w.js → repository-8nd4ez8d.js} +22 -22
- package/dist/chunks/{wellknown-1ddn4jy6.js → repository-8xa4vqg2.js} +6 -6
- package/dist/chunks/{wellknown-wbt7ywgk.js → repository-9a4k9g5r.js} +88 -88
- package/dist/chunks/{wellknown-rqp16f7y.js → repository-9fqm4bgz.js} +23 -23
- package/dist/chunks/{wellknown-tx7nxe6e.js → repository-9jzdmgrd.js} +11 -11
- package/dist/chunks/{wellknown-hdv4kbhc.js → repository-9ra18k9p.js} +10 -10
- package/dist/chunks/repository-9sh4wc5j.js +18 -0
- package/dist/chunks/{wellknown-04ssnwna.js → repository-9xtkkd11.js} +4 -4
- package/dist/chunks/{wellknown-b0mr3jnb.js → repository-a5xe75vd.js} +30 -30
- package/dist/chunks/{wellknown-t8cqswnp.js → repository-a7bm1a35.js} +18 -18
- package/dist/chunks/{wellknown-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-8tbhxwqj.js → repository-ab5w8dn8.js} +12 -12
- package/dist/chunks/{wellknown-74m7wsss.js → repository-av7emrka.js} +16 -16
- package/dist/chunks/{wellknown-6g1fts0a.js → repository-b0fng4zx.js} +41 -41
- package/dist/chunks/{wellknown-8d8vxetm.js → repository-b0skvq87.js} +41 -41
- package/dist/chunks/{wellknown-pmcj00xg.js → repository-b3e9n1nh.js} +4 -4
- package/dist/chunks/{wellknown-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-3frjhckz.js → repository-b7f1tq2h.js} +8 -8
- package/dist/chunks/{wellknown-qvgcjadf.js → repository-bacypahn.js} +1 -1
- package/dist/chunks/{wellknown-5mc07s0f.js → repository-bfbpt4xj.js} +8 -8
- package/dist/chunks/{wellknown-sxc4n3b4.js → repository-bgc00773.js} +1 -1
- package/dist/chunks/{wellknown-6mgsefek.js → repository-bzcqfm0m.js} +2 -2
- package/dist/chunks/{wellknown-daky8ak7.js → repository-bzkpjw1k.js} +32 -32
- package/dist/chunks/{wellknown-xpex9dgw.js → repository-c29pq2bv.js} +28 -28
- package/dist/chunks/{wellknown-j89dhwny.js → repository-c3ay0pv3.js} +32 -32
- package/dist/chunks/{wellknown-9ah46qnh.js → repository-c66sb1ac.js} +11 -11
- package/dist/chunks/{wellknown-t2w3xr5a.js → repository-c6y7v1er.js} +2 -2
- package/dist/chunks/{wellknown-8rkr9qb0.js → repository-c8pw21fc.js} +5 -5
- package/dist/chunks/{wellknown-nrypwx75.js → repository-c9bbz02c.js} +28 -28
- package/dist/chunks/{wellknown-5kgzrmgs.js → repository-cb2gy3vs.js} +20 -20
- package/dist/chunks/{wellknown-sqc1mbat.js → repository-cdvjrb6a.js} +18 -18
- package/dist/chunks/{wellknown-fsjza8dz.js → repository-cfsztwnt.js} +18 -18
- package/dist/chunks/{wellknown-4yhwp5g3.js → repository-cw1jmpw1.js} +4 -4
- package/dist/chunks/{wellknown-e7f0s3sx.js → repository-cwtr640q.js} +5 -5
- package/dist/chunks/{wellknown-xhmq8qgk.js → repository-d09006c3.js} +9 -9
- package/dist/chunks/{wellknown-v8sve7zh.js → repository-d4z2re2g.js} +20 -20
- package/dist/chunks/{wellknown-jm9yp3wk.js → repository-d9zmx2gn.js} +9 -9
- package/dist/chunks/{wellknown-9vez9d28.js → repository-daccqbjh.js} +6 -6
- package/dist/chunks/{wellknown-dj2t23y0.js → repository-dj2t23y0.js} +2 -2
- package/dist/chunks/{wellknown-t0fxg8b9.js → repository-dj9sq318.js} +5 -5
- package/dist/chunks/{wellknown-qdr6w09k.js → repository-dkz6hmks.js} +11 -11
- package/dist/chunks/{wellknown-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{wellknown-7b1xt4jx.js → repository-dqy22jqg.js} +41 -41
- package/dist/chunks/{wellknown-m1m6fjnw.js → repository-drt53naa.js} +33 -33
- package/dist/chunks/{wellknown-5kmes5qd.js → repository-dtqbwwhp.js} +5 -5
- package/dist/chunks/{wellknown-pgahjbda.js → repository-dwkfzrk3.js} +10 -10
- package/dist/chunks/{wellknown-fxmk9gfa.js → repository-e430f9b9.js} +25 -25
- package/dist/chunks/{wellknown-qjnxxf51.js → repository-e6hmchc5.js} +5 -5
- package/dist/chunks/{wellknown-02nrjc1r.js → repository-eaj1djv9.js} +4 -4
- package/dist/chunks/{wellknown-cavnh2xx.js → repository-eak6awrz.js} +6 -6
- package/dist/chunks/{wellknown-3e8rswg6.js → repository-ef1q2dpz.js} +14 -14
- package/dist/chunks/{wellknown-dhmh7aw6.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{wellknown-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/repository-f7z596tj.js +22 -0
- package/dist/chunks/{wellknown-7jd5w2z6.js → repository-f9dnc6qb.js} +9 -9
- package/dist/chunks/{wellknown-82xhzzzv.js → repository-fhy3xvpm.js} +18 -18
- package/dist/chunks/{wellknown-fg0hzth7.js → repository-fjeh9m37.js} +8 -8
- package/dist/chunks/{wellknown-18by6sjk.js → repository-fmme79ky.js} +14 -14
- package/dist/chunks/{wellknown-a54cm72e.js → repository-frs1x3s0.js} +1 -1
- package/dist/chunks/{wellknown-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-b1sd7bew.js → repository-g7w32fc6.js} +32 -32
- package/dist/chunks/{wellknown-2dmq7m27.js → repository-g7zcz8xz.js} +11 -11
- package/dist/chunks/{wellknown-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
- package/dist/chunks/{wellknown-gqjc2j8w.js → repository-ge8bh06a.js} +9 -9
- package/dist/chunks/{wellknown-9g39sx5s.js → repository-gfcx43hw.js} +6 -6
- package/dist/chunks/{wellknown-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
- package/dist/chunks/{wellknown-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{wellknown-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-sc8qxpfy.js → repository-h7daxtb8.js} +11 -11
- package/dist/chunks/{wellknown-n07zvns7.js → repository-h83w2tz3.js} +81 -81
- package/dist/chunks/{wellknown-hdnk95c8.js → repository-hdnk95c8.js} +2 -2
- package/dist/chunks/{wellknown-2pyrnscj.js → repository-hgkm3ngx.js} +12 -12
- package/dist/chunks/{wellknown-rx3h63rs.js → repository-hkefa025.js} +19 -19
- package/dist/chunks/{wellknown-s8zy8myc.js → repository-hkfg6fzm.js} +5 -5
- package/dist/chunks/{wellknown-q4rs3jkh.js → repository-hm2ejha3.js} +16 -16
- package/dist/chunks/{wellknown-y5n0rpyq.js → repository-hpdgvsh4.js} +1 -1
- package/dist/chunks/{wellknown-9c7cwdaf.js → repository-hq8zt1th.js} +6 -6
- package/dist/chunks/{wellknown-0kwzbffd.js → repository-ht9620cz.js} +9 -9
- package/dist/chunks/{wellknown-hnyvhsj1.js → repository-htvcf07r.js} +13 -13
- package/dist/chunks/{wellknown-h5325qgz.js → repository-j14ddj9r.js} +15 -15
- package/dist/chunks/{wellknown-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-2bjwqrsv.js → repository-ja409geq.js} +15 -15
- package/dist/chunks/{wellknown-r2wet1p6.js → repository-jkmmxdv7.js} +25 -25
- package/dist/chunks/{wellknown-vsmeezbe.js → repository-jsk2qqh7.js} +62 -62
- package/dist/chunks/{wellknown-vd0xk4sc.js → repository-jv6862zv.js} +3 -3
- package/dist/chunks/{wellknown-837kr0g5.js → repository-jw70rx0h.js} +43 -43
- package/dist/chunks/{wellknown-rm2ff3bp.js → repository-k0e0jm40.js} +24 -24
- package/dist/chunks/{wellknown-1165fzrv.js → repository-k3mt7wkv.js} +7 -7
- package/dist/chunks/{wellknown-ww0rczpm.js → repository-k9ynbxgd.js} +31 -31
- package/dist/chunks/{wellknown-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-xzh4dvk0.js → repository-kgrrjcn2.js} +49 -49
- package/dist/chunks/{wellknown-f9katak3.js → repository-kkqrkmh0.js} +46 -46
- package/dist/chunks/{wellknown-xjrtztjf.js → repository-kq7qvksk.js} +8 -8
- package/dist/chunks/{wellknown-m0jqrx5p.js → repository-m0jqrx5p.js} +2 -2
- package/dist/chunks/{wellknown-qehyq9cc.js → repository-m3ef3jt3.js} +9 -9
- package/dist/chunks/{wellknown-5jqc5sqp.js → repository-m3ettc37.js} +24 -24
- package/dist/chunks/{wellknown-2bt6bea8.js → repository-m86bnw2c.js} +9 -9
- package/dist/chunks/{wellknown-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-magykp64.js → repository-magykp64.js} +1 -1
- package/dist/chunks/{wellknown-jh6dhq8h.js → repository-mhspve7x.js} +25 -25
- package/dist/chunks/{wellknown-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{wellknown-mqh6yhwz.js → repository-mnnqs8ch.js} +7 -7
- package/dist/chunks/{wellknown-c438309d.js → repository-mxrk5x1e.js} +11 -11
- package/dist/chunks/{wellknown-g4pd8jp4.js → repository-n0pr5v83.js} +18 -18
- package/dist/chunks/{wellknown-tj1q2scr.js → repository-n10qepkx.js} +16 -16
- package/dist/chunks/{wellknown-g8p6qmq8.js → repository-nbvm9kjy.js} +15 -15
- package/dist/chunks/{wellknown-drfneyqc.js → repository-nj1r2vcq.js} +4 -4
- package/dist/chunks/{wellknown-c5gn303e.js → repository-nw2nz702.js} +4 -4
- package/dist/chunks/{wellknown-pagzwejb.js → repository-nxgx3vy8.js} +23 -23
- package/dist/chunks/{wellknown-wc38272m.js → repository-p7p3472k.js} +20 -20
- package/dist/chunks/{wellknown-qq1c0rfq.js → repository-pb1eahw5.js} +6 -6
- package/dist/chunks/{wellknown-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-ckea2n89.js → repository-pthssfs7.js} +29 -29
- package/dist/chunks/{wellknown-cgay140m.js → repository-pxf31q7x.js} +13 -13
- package/dist/chunks/{wellknown-8gg8at11.js → repository-pyynkbc6.js} +29 -29
- package/dist/chunks/{wellknown-81swgkk7.js → repository-pzkk0785.js} +7 -7
- package/dist/chunks/{wellknown-jj63jgrn.js → repository-q280h65c.js} +8 -8
- package/dist/chunks/{wellknown-50m81vcj.js → repository-qfphbjrc.js} +10 -10
- package/dist/chunks/{wellknown-rtathh62.js → repository-qm7jrdpz.js} +8 -8
- package/dist/chunks/{wellknown-qptz43e7.js → repository-qn8pfh7t.js} +8 -8
- package/dist/chunks/{wellknown-zdvsaw25.js → repository-qrc483b8.js} +11 -11
- package/dist/chunks/{wellknown-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-7tzt44kv.js → repository-qzm0daqd.js} +3 -3
- package/dist/chunks/{wellknown-n834bds2.js → repository-r1yy7shp.js} +15 -15
- package/dist/chunks/{wellknown-ba13aqv9.js → repository-ra94hv2r.js} +19 -19
- package/dist/chunks/{wellknown-b0xv7fv1.js → repository-raw2a3zh.js} +21 -21
- package/dist/chunks/{wellknown-ad2yvbkp.js → repository-rccqqzv1.js} +12 -12
- package/dist/chunks/{wellknown-2nv250mg.js → repository-rd62shed.js} +29 -29
- package/dist/chunks/{wellknown-rq5wdrj2.js → repository-rdydr188.js} +8 -8
- package/dist/chunks/{wellknown-4t7yv6cz.js → repository-rm75j2sh.js} +13 -13
- package/dist/chunks/{wellknown-sk37m034.js → repository-rq1vkg8w.js} +18 -18
- package/dist/chunks/{wellknown-s4gwknv2.js → repository-rqk58rkp.js} +16 -16
- package/dist/chunks/{wellknown-b6437q7d.js → repository-sz2wcpmw.js} +9 -9
- package/dist/chunks/{wellknown-fjmrr6sh.js → repository-t0x5rdq8.js} +9 -9
- package/dist/chunks/{wellknown-fdv30zvt.js → repository-t2fc4mz5.js} +7 -7
- package/dist/chunks/{wellknown-gept72jd.js → repository-t2fwea8b.js} +36 -36
- package/dist/chunks/{wellknown-f18mrdtc.js → repository-t8n3h3je.js} +24 -24
- package/dist/chunks/{wellknown-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-n635ksnc.js → repository-tejqnav5.js} +5 -5
- package/dist/chunks/{wellknown-wk58jv74.js → repository-tfwap27p.js} +10 -10
- package/dist/chunks/{wellknown-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-b02bgaz4.js → repository-v2kn4vdq.js} +19 -19
- package/dist/chunks/{wellknown-axbt4x3w.js → repository-vdtpdrgk.js} +32 -32
- package/dist/chunks/{wellknown-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-sjq8935c.js → repository-vjay5gkv.js} +25 -25
- package/dist/chunks/{wellknown-vdx4y0d9.js → repository-vmxj0651.js} +7 -7
- package/dist/chunks/{wellknown-eshz126w.js → repository-vnasg3sb.js} +22 -22
- package/dist/chunks/{wellknown-5n9s6qa4.js → repository-vp40978k.js} +9 -9
- package/dist/chunks/{wellknown-r4ewzg2z.js → repository-vryjq8rr.js} +18 -18
- package/dist/chunks/{wellknown-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-ktczpzsq.js → repository-w8rxvjsy.js} +6 -6
- package/dist/chunks/{wellknown-2mxnmxmz.js → repository-wbsb94y0.js} +6 -6
- package/dist/chunks/{wellknown-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-skkegfc4.js → repository-wdrr10w5.js} +10 -10
- package/dist/chunks/{wellknown-20rbm92a.js → repository-wmbnw6kf.js} +5 -5
- package/dist/chunks/{wellknown-edtyxv01.js → repository-wx8khj6c.js} +17 -17
- package/dist/chunks/{wellknown-qw1nc14v.js → repository-wxkvpjdn.js} +20 -20
- package/dist/chunks/{wellknown-ajq719v1.js → repository-x14ypy9e.js} +11 -11
- package/dist/chunks/{wellknown-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{wellknown-yef8cfd3.js → repository-x52k0wvy.js} +20 -20
- package/dist/chunks/{wellknown-ceanckhm.js → repository-x74118mf.js} +1 -1
- package/dist/chunks/{wellknown-a0s8jv85.js → repository-xdfw05yp.js} +11 -11
- package/dist/chunks/{wellknown-900x53hk.js → repository-xk45614k.js} +41 -41
- package/dist/chunks/{wellknown-196paj9n.js → repository-xmmda1hq.js} +11 -11
- package/dist/chunks/{wellknown-c0gy5km3.js → repository-xmvnw2y2.js} +6 -6
- package/dist/chunks/repository-xt8m55sk.js +247 -0
- package/dist/chunks/{wellknown-3tet443m.js → repository-y1336hgx.js} +17 -17
- package/dist/chunks/{wellknown-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-p7m6r6b6.js → repository-y1rq3pqk.js} +6 -6
- package/dist/chunks/{wellknown-kx71qmfd.js → repository-y9bshx3x.js} +1 -1
- package/dist/chunks/{wellknown-mn5tqr63.js → repository-ybvbv09q.js} +8 -8
- package/dist/chunks/{wellknown-yddgxcp4.js → repository-yddgxcp4.js} +2 -2
- package/dist/chunks/{wellknown-0ctr31hs.js → repository-ykbv3wb7.js} +30 -30
- package/dist/chunks/{wellknown-r8xr0va3.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{wellknown-hbgnkwvx.js → repository-ypfk9d9x.js} +18 -18
- package/dist/chunks/{wellknown-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-rvtwd3yj.js → repository-ys3t6ahp.js} +36 -36
- package/dist/chunks/{wellknown-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-ma6ycfp0.js → repository-z13bnxy7.js} +6 -6
- package/dist/chunks/{wellknown-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-spf23xz3.js → repository-z6fgg22d.js} +29 -29
- package/dist/chunks/{wellknown-frk6nvt3.js → repository-z741p9sc.js} +15 -15
- package/dist/chunks/{wellknown-q17z9dx8.js → repository-za6yq9hg.js} +5 -5
- package/dist/chunks/{wellknown-qmy1dnxe.js → repository-zamc6f4z.js} +29 -29
- package/dist/chunks/{wellknown-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-095gdp9m.js → repository-zj4vqg3k.js} +17 -17
- package/dist/chunks/{wellknown-pj81m1sj.js → repository-zk4wv12b.js} +40 -40
- package/dist/chunks/{wellknown-fgjt84w1.js → repository-zm6r64bs.js} +22 -22
- package/dist/chunks/{wellknown-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +122 -122
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +80 -80
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -109
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +113 -113
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/wellknown-a4723tnb.js +0 -247
- package/dist/chunks/wellknown-dxj72tfx.js +0 -18
- package/dist/chunks/wellknown-gytcnbap.js +0 -22
- /package/dist/chunks/{wellknown-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{wellknown-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-paphc93g.js → repository-paphc93g.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./repository-n10qepkx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./repository-6prpzt6f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./repository-jw70rx0h.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin9
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin9 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service44;
|
|
34
|
+
const location = yield* Service73;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service23;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin15 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin9, exports_worktree };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-63xeamm2.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,20 +12,20 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event15,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID9,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info22,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service59,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
29
|
node: () => node63,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
@@ -33,10 +33,10 @@ __export(exports_form, {
|
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event15 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID9 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info22 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,7 +44,7 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
48
|
id: ID9
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
@@ -79,15 +79,15 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service59 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer24 = Layer.effect(Service59, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service78;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
92
|
const id = input.id ?? ID9.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service59.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var node63 = makeLocationNode({ service:
|
|
158
|
+
var node63 = makeLocationNode({ service: Service59, layer: layer24, deps: [node83] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export { ID9,
|
|
310
|
+
export { ID9, Info22, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service59, layer24, node63, validateAnswer2, validateFields2, exports_form, Event15 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./repository-n10qepkx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service17,
|
|
11
|
+
node20
|
|
12
|
+
} from "./repository-6ryvksdm.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event4,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service16,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node19
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event4 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service73;
|
|
82
|
+
const search = yield* Service17;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service16.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node19 = makeLocationNode({
|
|
126
|
+
service: Service16,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node78, node20]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-vnasg3sb.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-zk4wv12b.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin44
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin44 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin38 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID16.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID16.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin38 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID16.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID16.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID16.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin38 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-63xeamm2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node49
|
|
7
|
+
} from "./repository-p7p3472k.js";
|
|
8
8
|
import {
|
|
9
9
|
Service4,
|
|
10
10
|
node7
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-j14ddj9r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service32
|
|
14
|
+
} from "./repository-9sh4wc5j.js";
|
|
15
15
|
import {
|
|
16
16
|
node23,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-z741p9sc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service5,
|
|
21
|
+
node8
|
|
22
|
+
} from "./repository-844ef7ks.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-7qed14jw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make9,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-fjeh9m37.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
33
|
Service6,
|
|
34
34
|
node9
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-wbsb94y0.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service7,
|
|
38
|
+
node10
|
|
39
|
+
} from "./repository-d09006c3.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
128
|
+
const registry = yield* Service32;
|
|
129
129
|
const sdk = yield* Service6;
|
|
130
|
-
const instance = yield*
|
|
130
|
+
const instance = yield* Service5;
|
|
131
131
|
const sources = yield* Service4;
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
132
|
+
const modules = yield* make9();
|
|
133
|
+
const bus = yield* Service78;
|
|
134
|
+
const updates = yield* Service7;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -208,12 +208,12 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
208
208
|
var nodeDeps = [
|
|
209
209
|
node23,
|
|
210
210
|
node9,
|
|
211
|
-
node15,
|
|
212
|
-
node7,
|
|
213
211
|
node8,
|
|
214
|
-
|
|
212
|
+
node7,
|
|
213
|
+
node10,
|
|
214
|
+
node83,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node49,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9jzdmgrd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin35 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin35 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin34, exports_tavily };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./repository-5tqrw2yw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service14 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service64;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service14, layer, deps: [node68] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./repository-c66sb1ac.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./repository-hq8zt1th.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-1hc11dc4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-qn8pfh7t.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-e430f9b9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./repository-9a4k9g5r.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service50;
|
|
36
|
+
const database = yield* Service79;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|