@opencode/core 0.0.0-dev-19488 → 0.0.0-dev-19498
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-7fys8geh.js → repository-02dtbf74.js} +16 -16
- package/dist/chunks/{model-resolver-02nrjc1r.js → repository-02nrjc1r.js} +1 -1
- package/dist/chunks/{model-resolver-4y66k410.js → repository-0ajdgxne.js} +5 -5
- package/dist/chunks/{model-resolver-djqd3v5p.js → repository-0hb9kn17.js} +41 -41
- package/dist/chunks/{model-resolver-0hf448nj.js → repository-0j1x6d8f.js} +8 -8
- package/dist/chunks/{model-resolver-ggj3dvvh.js → repository-0kjyx4as.js} +9 -9
- package/dist/chunks/repository-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-vncycja5.js → repository-0v53mg2y.js} +4 -4
- package/dist/chunks/{model-resolver-qa6ytjmd.js → repository-15p57gcn.js} +11 -11
- package/dist/chunks/{model-resolver-aztjpt51.js → repository-18d55ntk.js} +18 -18
- package/dist/chunks/{model-resolver-mhkvc446.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-f8xc4yre.js → repository-1fvpfgwa.js} +25 -25
- package/dist/chunks/{model-resolver-1hc11dc4.js → repository-1hc11dc4.js} +1 -1
- package/dist/chunks/{model-resolver-rq6dswfj.js → repository-1qpfe9sk.js} +10 -10
- package/dist/chunks/{model-resolver-xtzwr8pq.js → repository-1rc1q9w7.js} +8 -8
- package/dist/chunks/{model-resolver-8p2zvf0d.js → repository-1sjjhtq8.js} +29 -29
- package/dist/chunks/{model-resolver-k6h76ggr.js → repository-1v08kvga.js} +25 -25
- package/dist/chunks/{model-resolver-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → repository-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-0334ef0p.js → repository-2q4wgzbd.js} +1 -1
- package/dist/chunks/{model-resolver-gw82nkc3.js → repository-2qm2t37x.js} +32 -32
- package/dist/chunks/{model-resolver-6jcw83n3.js → repository-2s14wjwq.js} +47 -47
- package/dist/chunks/{model-resolver-70xr52zc.js → repository-303jm9zc.js} +33 -33
- package/dist/chunks/{model-resolver-6hzp91we.js → repository-31v32fqb.js} +10 -10
- package/dist/chunks/{model-resolver-me88hgte.js → repository-35cpeqze.js} +22 -22
- package/dist/chunks/{model-resolver-kx6yd4vg.js → repository-35yx2wmk.js} +37 -37
- package/dist/chunks/{model-resolver-3nxeqbj3.js → repository-3btz0cnc.js} +11 -11
- package/dist/chunks/{model-resolver-trk3y68z.js → repository-3dcs0pne.js} +57 -57
- package/dist/chunks/{model-resolver-gdvy8fx6.js → repository-3fc6dm20.js} +4 -4
- package/dist/chunks/{model-resolver-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-t82489yp.js → repository-3k42az9m.js} +34 -34
- package/dist/chunks/{model-resolver-3q1jyqhd.js → repository-3q1jyqhd.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-zceb237h.js → repository-3z7f8tm9.js} +13 -13
- package/dist/chunks/{model-resolver-b77arecc.js → repository-4h4kc2we.js} +26 -26
- package/dist/chunks/{model-resolver-581kfnqp.js → repository-4hbd63w4.js} +16 -16
- package/dist/chunks/{model-resolver-wj9n5p3k.js → repository-4hwjbp3f.js} +10 -10
- package/dist/chunks/{model-resolver-yjv2keaj.js → repository-4j44ebqe.js} +32 -32
- package/dist/chunks/{model-resolver-b22gj5xn.js → repository-4p9etfsw.js} +32 -32
- package/dist/chunks/{model-resolver-s2whfhf8.js → repository-5axkb2dj.js} +31 -31
- package/dist/chunks/{model-resolver-a1bz86dw.js → repository-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-qn8ypmg1.js → repository-5kdrn25z.js} +12 -12
- package/dist/chunks/{model-resolver-3kafhsr8.js → repository-5q0d5xf3.js} +21 -21
- package/dist/chunks/{model-resolver-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-rsym84ch.js → repository-5zxg5yys.js} +9 -9
- package/dist/chunks/{model-resolver-1gqabzhy.js → repository-63sbrax2.js} +14 -14
- package/dist/chunks/{model-resolver-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-942176fc.js → repository-68vqj5c0.js} +8 -8
- package/dist/chunks/{model-resolver-0wbgnjtz.js → repository-6cstdyv9.js} +5 -5
- package/dist/chunks/{model-resolver-twy35tz0.js → repository-6d9mz4vp.js} +8 -8
- package/dist/chunks/{model-resolver-kbn8346a.js → repository-6db80x29.js} +11 -11
- package/dist/chunks/{model-resolver-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-pqg5898n.js → repository-6p1sqnga.js} +12 -12
- package/dist/chunks/{model-resolver-3hgg98pr.js → repository-6rdedmrb.js} +37 -37
- package/dist/chunks/{model-resolver-bcbgj7m0.js → repository-6tfgbeb6.js} +17 -17
- package/dist/chunks/{model-resolver-5v1cn1j1.js → repository-6xfb7f67.js} +16 -16
- package/dist/chunks/{model-resolver-cbg8bv93.js → repository-6zz1gbh1.js} +12 -12
- package/dist/chunks/{model-resolver-0pm1m3w8.js → repository-715fqh1x.js} +13 -13
- package/dist/chunks/{model-resolver-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-mg5mchpt.js → repository-760k6j29.js} +26 -26
- package/dist/chunks/{model-resolver-87qnmf38.js → repository-780w54ys.js} +35 -35
- package/dist/chunks/{model-resolver-26jcn8kh.js → repository-78qgck3m.js} +12 -12
- package/dist/chunks/{model-resolver-0jwvfzzp.js → repository-79ttbg46.js} +25 -25
- package/dist/chunks/{model-resolver-rctyp4y4.js → repository-7beh8vzt.js} +27 -27
- package/dist/chunks/{model-resolver-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-9rzqjwaz.js → repository-7da7ws9f.js} +1 -1
- package/dist/chunks/{model-resolver-htk69tte.js → repository-7da99df4.js} +7 -7
- package/dist/chunks/{model-resolver-789bpvq4.js → repository-89qp1k24.js} +8 -8
- package/dist/chunks/{model-resolver-tcezcvh9.js → repository-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-3tq8bdpm.js → repository-8cp8hhzs.js} +13 -13
- package/dist/chunks/{model-resolver-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-tp3xxvx5.js → repository-8e3avz02.js} +43 -43
- package/dist/chunks/{model-resolver-07cx4w7f.js → repository-8skddr1y.js} +4 -4
- package/dist/chunks/{model-resolver-hwxt52gm.js → repository-8sp4zmk3.js} +8 -8
- package/dist/chunks/{model-resolver-d2fv866c.js → repository-8x1ga14t.js} +13 -13
- package/dist/chunks/{model-resolver-s72x8wcp.js → repository-96n8jbhm.js} +20 -20
- package/dist/chunks/{model-resolver-8abbabsk.js → repository-9cqrggry.js} +22 -22
- package/dist/chunks/{model-resolver-x940zq77.js → repository-9edcvf27.js} +10 -10
- package/dist/chunks/{model-resolver-erhkyex8.js → repository-9h1nkghz.js} +4 -4
- package/dist/chunks/{model-resolver-rtkh6q4b.js → repository-9hxsd346.js} +9 -9
- package/dist/chunks/{model-resolver-djmbsxn3.js → repository-9nv865s7.js} +9 -9
- package/dist/chunks/{model-resolver-xg9t41r3.js → repository-9rqcq6mt.js} +2 -2
- package/dist/chunks/{model-resolver-2cshb6bs.js → repository-9vtsx9kz.js} +24 -24
- package/dist/chunks/{model-resolver-hya8ywrc.js → repository-9wjhpth9.js} +73 -73
- package/dist/chunks/repository-9zdhvgqs.js +18 -0
- package/dist/chunks/{model-resolver-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-d880b0y6.js → repository-asnar2z5.js} +32 -32
- package/dist/chunks/{model-resolver-p52p41ww.js → repository-axet0v9v.js} +14 -14
- package/dist/chunks/{model-resolver-wrjeysgp.js → repository-b1mg7fsy.js} +2 -2
- package/dist/chunks/{model-resolver-ryr25ayn.js → repository-b27vhd2z.js} +4 -4
- package/dist/chunks/{model-resolver-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-rj9a996t.js → repository-bd5kazb5.js} +9 -9
- package/dist/chunks/{model-resolver-e6fygs6z.js → repository-bjpwrgw7.js} +22 -22
- package/dist/chunks/{model-resolver-kxpygcw9.js → repository-bjs2yq5f.js} +5 -5
- package/dist/chunks/{model-resolver-dqyg47hv.js → repository-bk89yz0d.js} +1 -1
- package/dist/chunks/{model-resolver-1ptmpf20.js → repository-bq5fxdyt.js} +6 -6
- package/dist/chunks/{model-resolver-75evgfh8.js → repository-bsns4k6q.js} +15 -15
- package/dist/chunks/{model-resolver-y94qkjj7.js → repository-bx7759mv.js} +10 -10
- package/dist/chunks/{model-resolver-g5rnekq0.js → repository-bzjkhwme.js} +5 -5
- package/dist/chunks/{model-resolver-818pfwc9.js → repository-c1495ybz.js} +8 -8
- package/dist/chunks/{model-resolver-8y92rm17.js → repository-c2rnhds8.js} +6 -6
- package/dist/chunks/{model-resolver-nv6fkpt4.js → repository-c6yb4237.js} +17 -17
- package/dist/chunks/{model-resolver-ghej9zy6.js → repository-cgv98gz4.js} +15 -15
- package/dist/chunks/{model-resolver-spr8pf2r.js → repository-chwwb1dy.js} +9 -9
- package/dist/chunks/{model-resolver-dv1qgsyq.js → repository-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-j7wq2tw5.js → repository-csbyz877.js} +3 -3
- package/dist/chunks/{model-resolver-3gjfrb28.js → repository-czfqgbdx.js} +17 -17
- package/dist/chunks/{model-resolver-z2kz5700.js → repository-czhxebx3.js} +17 -17
- package/dist/chunks/{model-resolver-9y7khav7.js → repository-d38fd2j6.js} +15 -15
- package/dist/chunks/{model-resolver-98kgw1j6.js → repository-d4pyqmad.js} +5 -5
- package/dist/chunks/{model-resolver-m4hypjkm.js → repository-ddnawyq4.js} +11 -11
- package/dist/chunks/{model-resolver-t7n9q6bq.js → repository-ddt2bs9e.js} +4 -4
- package/dist/chunks/{model-resolver-8p4f9s12.js → repository-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-drknmmyh.js → repository-drknmmyh.js} +2 -2
- package/dist/chunks/{model-resolver-8yrnm0fa.js → repository-dwxy40gg.js} +18 -18
- package/dist/chunks/{model-resolver-x1avke2d.js → repository-dx870anp.js} +87 -87
- package/dist/chunks/{model-resolver-z2qr9twd.js → repository-dz921fs9.js} +1 -1
- package/dist/chunks/{model-resolver-9stj6zpb.js → repository-e535yj0k.js} +32 -32
- package/dist/chunks/{model-resolver-0mywzg06.js → repository-e99x5n85.js} +25 -25
- package/dist/chunks/{model-resolver-d2aac7k2.js → repository-ead3g9p8.js} +5 -5
- package/dist/chunks/{model-resolver-vnv2t9ht.js → repository-ebmt16rb.js} +4 -4
- package/dist/chunks/{model-resolver-1zkr721w.js → repository-ej495afh.js} +16 -16
- package/dist/chunks/{model-resolver-64at0fy0.js → repository-ejjk7mg9.js} +8 -8
- package/dist/chunks/{model-resolver-6xt4p4wv.js → repository-emggx1tz.js} +9 -9
- package/dist/chunks/{model-resolver-q87s0xy8.js → repository-epq63s4f.js} +39 -39
- package/dist/chunks/{model-resolver-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-021ffpa0.js → repository-etw8f4c2.js} +15 -15
- package/dist/chunks/{model-resolver-1acjjqhc.js → repository-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-g190xswt.js → repository-f3ngv102.js} +4 -4
- package/dist/chunks/{model-resolver-k6556a45.js → repository-f44pksnw.js} +6 -6
- package/dist/chunks/{model-resolver-csz41kxq.js → repository-f8qzdw9k.js} +5 -5
- package/dist/chunks/{model-resolver-z7dhx1kn.js → repository-fjqp604d.js} +24 -24
- package/dist/chunks/{model-resolver-23sxaqwc.js → repository-fjvydvzm.js} +5 -5
- package/dist/chunks/{model-resolver-r532bney.js → repository-fshg7mjp.js} +4 -4
- package/dist/chunks/{model-resolver-am89cgs6.js → repository-fv119r3h.js} +13 -13
- package/dist/chunks/{model-resolver-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-7z7az0f5.js → repository-fyymr9xg.js} +4 -4
- package/dist/chunks/{model-resolver-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-vvccsdf3.js → repository-ghk9cxjs.js} +6 -6
- package/dist/chunks/{model-resolver-98a0b00a.js → repository-gkrd4bgd.js} +4 -4
- package/dist/chunks/{model-resolver-kk8h1mek.js → repository-gn2hfjap.js} +8 -8
- package/dist/chunks/{model-resolver-ck6gmqc6.js → repository-gqrxex2e.js} +39 -39
- package/dist/chunks/{model-resolver-0wmmprtc.js → repository-gsqrher5.js} +32 -32
- package/dist/chunks/repository-gtp689g7.js +462 -0
- package/dist/chunks/{model-resolver-vy514hgv.js → repository-gv99rv2p.js} +9 -9
- package/dist/chunks/{model-resolver-gkv3re89.js → repository-gw0sx9d8.js} +8 -8
- package/dist/chunks/{model-resolver-7cwz0yjz.js → repository-gw4wh78t.js} +17 -17
- package/dist/chunks/{model-resolver-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-psjem9sa.js → repository-h73hfk1n.js} +11 -11
- package/dist/chunks/{model-resolver-6wxzvafn.js → repository-hc8297b1.js} +11 -11
- package/dist/chunks/{model-resolver-f828m53h.js → repository-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-t9e5d74p.js → repository-ht4gsq17.js} +9 -9
- package/dist/chunks/{model-resolver-g6fkknnq.js → repository-hybg6kpz.js} +26 -26
- package/dist/chunks/{model-resolver-qyxt0tsw.js → repository-j0fn4spe.js} +4 -4
- package/dist/chunks/{model-resolver-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-ydgy0jv4.js → repository-j7m8st6v.js} +6 -6
- package/dist/chunks/{model-resolver-fvf9sjjr.js → repository-jcxv3m6c.js} +46 -46
- package/dist/chunks/{model-resolver-774n8a20.js → repository-jfn6jztq.js} +9 -9
- package/dist/chunks/{model-resolver-h7ygw6q4.js → repository-jjs74g98.js} +9 -9
- package/dist/chunks/{model-resolver-rd8pgjwx.js → repository-jxrrwyvz.js} +17 -17
- package/dist/chunks/{model-resolver-n37c4crj.js → repository-k79tzb9n.js} +9 -9
- package/dist/chunks/{model-resolver-mb5a7wwz.js → repository-kehke4gd.js} +10 -10
- package/dist/chunks/{model-resolver-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-f8zs2stk.js → repository-kp844bkx.js} +11 -11
- package/dist/chunks/{model-resolver-cfpkc3c9.js → repository-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-zf0svfz5.js → repository-m0qh16g1.js} +16 -16
- package/dist/chunks/{model-resolver-h2fnsspk.js → repository-m3r691ny.js} +11 -11
- package/dist/chunks/{model-resolver-mwnd972w.js → repository-m5r142j1.js} +26 -26
- package/dist/chunks/{model-resolver-h4q9s1ny.js → repository-m6h6nebs.js} +17 -17
- package/dist/chunks/{model-resolver-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-sdcezsxk.js → repository-may4g8rc.js} +18 -18
- package/dist/chunks/{model-resolver-4grgn5v0.js → repository-mc9wjbnw.js} +11 -11
- package/dist/chunks/{model-resolver-a2cfvfg1.js → repository-me7tczfq.js} +20 -20
- package/dist/chunks/{model-resolver-1ygqh575.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-g53r2hff.js → repository-mpxnmgtm.js} +44 -44
- package/dist/chunks/{model-resolver-qwkytnft.js → repository-mq4pc9p2.js} +3 -3
- package/dist/chunks/{model-resolver-5v85fpgj.js → repository-ms4pas81.js} +25 -25
- package/dist/chunks/{model-resolver-atny4vj3.js → repository-mv74xwze.js} +11 -11
- package/dist/chunks/{model-resolver-z2b5d6zb.js → repository-n2xxa85q.js} +6 -6
- package/dist/chunks/{model-resolver-mhdwrqr0.js → repository-n4qym5bf.js} +3 -3
- package/dist/chunks/{model-resolver-e82z9tr0.js → repository-nhy5jxhy.js} +7 -7
- package/dist/chunks/{model-resolver-wwmx33bt.js → repository-np7xrdgd.js} +3 -3
- package/dist/chunks/{model-resolver-6kyz0a76.js → repository-nv5vn7qx.js} +4 -4
- package/dist/chunks/{model-resolver-s5wnyv46.js → repository-p53gvhkt.js} +32 -32
- package/dist/chunks/{model-resolver-121k57vw.js → repository-p7kse70a.js} +8 -8
- package/dist/chunks/{model-resolver-hwap2x7x.js → repository-pead7vf7.js} +27 -27
- package/dist/chunks/{model-resolver-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-q91t8a1k.js → repository-pnsxdan0.js} +15 -15
- package/dist/chunks/{model-resolver-h3k867zz.js → repository-ps8cmt9z.js} +3 -3
- package/dist/chunks/{model-resolver-wf4bebac.js → repository-pvkhkebb.js} +14 -14
- package/dist/chunks/{model-resolver-fxqygnfa.js → repository-q1h4ggtj.js} +4 -4
- package/dist/chunks/{model-resolver-a4vx34cq.js → repository-q2x85fkv.js} +11 -11
- package/dist/chunks/{model-resolver-y3fea29m.js → repository-q56g9vvj.js} +11 -11
- package/dist/chunks/{model-resolver-pm4pe4yk.js → repository-q7dhks77.js} +18 -18
- package/dist/chunks/{model-resolver-zpkbxaqd.js → repository-qd6kbfr6.js} +4 -4
- package/dist/chunks/{model-resolver-4kmhmgeg.js → repository-qrjvp9c2.js} +148 -148
- package/dist/chunks/{model-resolver-dktryzc1.js → repository-qs4sxs2p.js} +26 -26
- package/dist/chunks/{model-resolver-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/repository-qsqamk6a.js +247 -0
- package/dist/chunks/{model-resolver-03s1nxke.js → repository-qsxbhfxw.js} +11 -11
- package/dist/chunks/{model-resolver-qn4ba14w.js → repository-qte5z7bc.js} +5 -5
- package/dist/chunks/{model-resolver-532bqssk.js → repository-qwtet0bt.js} +18 -18
- package/dist/chunks/{model-resolver-x6geafsy.js → repository-qy11zpxb.js} +3 -3
- package/dist/chunks/{model-resolver-0k7hqrra.js → repository-r2m9agnq.js} +24 -24
- package/dist/chunks/{model-resolver-r9mregkx.js → repository-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-wgf958fy.js → repository-rf224sys.js} +26 -26
- package/dist/chunks/{model-resolver-s534qmrw.js → repository-rrbca1ec.js} +4 -4
- package/dist/chunks/{model-resolver-079cv0ze.js → repository-rtdmfcdc.js} +24 -24
- package/dist/chunks/{model-resolver-jwazx1ed.js → repository-rtxv9fy7.js} +36 -36
- package/dist/chunks/{model-resolver-s1vvg2cq.js → repository-rzfk4f89.js} +7 -7
- package/dist/chunks/{model-resolver-r9ghxtsk.js → repository-rzja4vsd.js} +3 -3
- package/dist/chunks/{model-resolver-jbe1bvhn.js → repository-s22r2bgp.js} +27 -27
- package/dist/chunks/{model-resolver-0sp60s5d.js → repository-s9sks4b0.js} +23 -23
- package/dist/chunks/{model-resolver-e86807kd.js → repository-se1g6v53.js} +90 -90
- package/dist/chunks/{model-resolver-xs8g0vg3.js → repository-sqhkja9w.js} +6 -6
- package/dist/chunks/{model-resolver-8p8b376s.js → repository-sscy94be.js} +27 -27
- package/dist/chunks/{model-resolver-prp52c5q.js → repository-swvvrepw.js} +11 -11
- package/dist/chunks/{model-resolver-dkck3j8g.js → repository-t0bxsy7k.js} +8 -8
- package/dist/chunks/{model-resolver-ewbqqj16.js → repository-t8028kwh.js} +15 -15
- package/dist/chunks/{model-resolver-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-gv6a8nnw.js → repository-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-xdk7tsve.js → repository-thaqkx7r.js} +1 -1
- package/dist/chunks/{model-resolver-0vvagabw.js → repository-tjz4ep1y.js} +18 -18
- package/dist/chunks/{model-resolver-pvvs7m8f.js → repository-tt9rf8rt.js} +13 -13
- package/dist/chunks/{model-resolver-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-27596drg.js → repository-twyqrbez.js} +28 -28
- package/dist/chunks/{model-resolver-j12k6d1r.js → repository-v0af3dwr.js} +37 -37
- package/dist/chunks/{model-resolver-htx7jtvk.js → repository-v41m4hv8.js} +22 -22
- package/dist/chunks/{model-resolver-74w3tna1.js → repository-v6rf84qt.js} +17 -17
- package/dist/chunks/{model-resolver-kvffe9p6.js → repository-vcgkk9hq.js} +17 -17
- package/dist/chunks/{model-resolver-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-epzffrx8.js → repository-vngt7js8.js} +25 -25
- package/dist/chunks/{model-resolver-24e6cc3r.js → repository-vxrjsf8c.js} +7 -7
- package/dist/chunks/{model-resolver-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-fdc0z0c3.js → repository-w19q6fm0.js} +2 -2
- package/dist/chunks/{model-resolver-2verbhpp.js → repository-w2g4wz0k.js} +41 -41
- package/dist/chunks/{model-resolver-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/repository-w7xk12sf.js +22 -0
- package/dist/chunks/{model-resolver-6fvs6bkh.js → repository-wbjwqceb.js} +44 -44
- package/dist/chunks/{model-resolver-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-csz4k5km.js → repository-wdgh92ty.js} +16 -16
- package/dist/chunks/{model-resolver-vhj1rs6k.js → repository-wge1ywg1.js} +24 -24
- package/dist/chunks/{model-resolver-aczsg4vg.js → repository-wgjqh7ga.js} +32 -32
- package/dist/chunks/{model-resolver-bq4vzaks.js → repository-wt6nz37q.js} +45 -45
- package/dist/chunks/{model-resolver-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-mrsqtdpn.js → repository-x7b60kqc.js} +33 -33
- package/dist/chunks/{model-resolver-87mnny1s.js → repository-xengr0xg.js} +13 -13
- package/dist/chunks/{model-resolver-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-gwnxf6ch.js → repository-ypt0emkc.js} +6 -6
- package/dist/chunks/{model-resolver-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-mz65vdgf.js → repository-yvtv9nre.js} +22 -22
- package/dist/chunks/{model-resolver-t6gatd88.js → repository-yvzs9wg3.js} +48 -48
- package/dist/chunks/{model-resolver-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-0g6mfyfr.js → repository-z0jd1bs7.js} +49 -49
- package/dist/chunks/{model-resolver-37s12vcn.js → repository-z3pw5915.js} +5 -5
- package/dist/chunks/{model-resolver-shqnjwtb.js → repository-z4h1g45j.js} +21 -21
- package/dist/chunks/{model-resolver-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-gwfcx2m0.js → repository-z69pw8hh.js} +19 -19
- package/dist/chunks/{model-resolver-4bfepadc.js → repository-z8jqfd5s.js} +4 -4
- package/dist/chunks/{model-resolver-mz60zy6e.js → repository-zcy8rv0e.js} +18 -18
- package/dist/chunks/{model-resolver-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-qdcfe15v.js → repository-zpc6dyj7.js} +1 -1
- package/dist/chunks/{model-resolver-rav9e4bf.js → repository-zq6stcrg.js} +5 -5
- package/dist/chunks/{model-resolver-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-sph8ksss.js → repository-zvv0052e.js} +9 -9
- package/dist/chunks/{model-resolver-vxp3kcg3.js → repository-zw4pk1bw.js} +5 -5
- package/dist/chunks/{model-resolver-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/model-resolver-fbf46f8y.js +0 -462
- package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
- package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
- package/dist/chunks/model-resolver-qapv375x.js +0 -4
- package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → repository-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node66
|
|
9
|
+
} from "./repository-fjqp604d.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service61,
|
|
24
|
+
node: () => node65
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service61 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service62;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service61.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node65 = makeLocationNode({ service: Service61, layer, deps: [node66, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error3, InvalidPatternError2,
|
|
180
|
+
export { Error3, InvalidPatternError2, Service61, node65, exports_ripgrep };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./repository-wt6nz37q.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin16
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin16 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service55;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin20 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin16, exports_websearch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-bq5fxdyt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin27,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin27 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin27, generate2, exports_variant };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
13
|
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var node11 = makeLocationNode({ service:
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./repository-wt6nz37q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./repository-78qgck3m.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service55;
|
|
27
|
+
const output = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin19 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin2, exports_tool_output };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./repository-wdgh92ty.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./repository-96n8jbhm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service74;
|
|
24
|
+
const wellknown = yield* Service57;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin12 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin44, exports_plugin };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./repository-02dtbf74.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./repository-fjqp604d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./repository-63sbrax2.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./repository-vngt7js8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service65
|
|
24
|
+
} from "./repository-epq63s4f.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service64
|
|
27
|
+
} from "./repository-6tfgbeb6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input6,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin37,
|
|
39
|
+
name: () => name6,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name6 = "glob";
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin37 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service62;
|
|
70
|
+
const ripgrep = yield* Service61;
|
|
71
|
+
const location = yield* Service69;
|
|
72
|
+
const access = yield* Service64;
|
|
73
|
+
const permission = yield* Service65;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input6,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name6,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin42 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name6, Input6, Output3, toModelContent4, Plugin37, exports_glob };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service74,
|
|
9
|
-
node78
|
|
10
|
-
} from "./model-resolver-7fys8geh.js";
|
|
6
|
+
} from "./repository-mpxnmgtm.js";
|
|
11
7
|
import {
|
|
12
8
|
Service69,
|
|
13
9
|
node73
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./repository-02dtbf74.js";
|
|
11
|
+
import {
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./repository-epq63s4f.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service64,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node68,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service64 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service69;
|
|
61
|
+
const permission = yield* Service65;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service64.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [FSUtil.node, node73, node69] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service64, resolvePath2, node68, exports_file_access };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render2(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -45,10 +45,10 @@ function render3(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update2(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render2(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render3(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make20({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
124
|
-
changed:
|
|
123
|
+
initial: render2,
|
|
124
|
+
changed: update2,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render2, update2, make13, exports_instructions4 };
|