@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
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./repository-wt6nz37q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./repository-1sjjhtq8.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin5 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service55;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin16 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin5, exports_compaction };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-qsxbhfxw.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: () => Plugin20,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
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 endpoint3 = "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 Plugin20 = 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 Plugin2 = 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(endpoint3).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 Plugin2 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin20, exports_tavily };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./repository-02dtbf74.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./repository-wt6nz37q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./repository-jcxv3m6c.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: () => Plugin18
|
|
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 Plugin18 = 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* Service55;
|
|
34
|
+
const location = yield* Service69;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service54;
|
|
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 Plugin25 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin18, exports_worktree };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
10
10
|
__export(exports_directory, {
|
|
11
11
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
12
12
|
WorktreeDirectory: () => exports_directory,
|
|
13
|
-
canonical: () =>
|
|
13
|
+
canonical: () => canonical3
|
|
14
14
|
});
|
|
15
15
|
import { Effect, Schema } from "effect";
|
|
16
16
|
class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var canonical3 = Effect.fnUntraced(function* (fs, input) {
|
|
19
19
|
const resolved = AbsolutePath2.make(yield* fs.resolve(input));
|
|
20
20
|
if (!(yield* fs.isDir(resolved)))
|
|
21
21
|
return yield* new DirectoryUnavailableError2({ directory: input });
|
|
22
22
|
return resolved;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { DirectoryUnavailableError2,
|
|
25
|
+
export { DirectoryUnavailableError2, canonical3, exports_directory };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./repository-wdgh92ty.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event18,
|
|
18
18
|
ID: () => ID14,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info27,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service68,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event18 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
35
|
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info27 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service74;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info27.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service68.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node78, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID14, Name3, defaultID2, Color2,
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info27, Service68, node72, exports_agent4, Event18 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./repository-02dtbf74.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./repository-wt6nz37q.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-5axkb2dj.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin14
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin14 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service55;
|
|
35
|
+
const location = yield* Service69;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin14, exports_reference };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./repository-wdgh92ty.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-epq63s4f.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service46,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node50,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info7 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service74;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service46.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node50 = makeLocationNode({
|
|
112
|
+
service: Service46,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node78]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service46, node50, exports_skill5, Event6 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./repository-tjz4ep1y.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service55
|
|
8
|
+
} from "./repository-wt6nz37q.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-csbyz877.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./repository-m6h6nebs.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service65
|
|
18
|
+
} from "./repository-epq63s4f.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./repository-dx870anp.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
26
|
make10
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-gw0sx9d8.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Output: () => Output6,
|
|
37
|
+
Plugin: () => Plugin41,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description4,
|
|
40
|
+
name: () => name10
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name10 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input10 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input6 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output6 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description4 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description3 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin41 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
83
|
+
const sessions = yield* Service21;
|
|
84
|
+
const jobs = yield* Service63;
|
|
85
|
+
const agents = yield* Service68;
|
|
86
|
+
const config = yield* Service55;
|
|
87
|
+
const permission = yield* Service65;
|
|
88
88
|
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name10,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description4,
|
|
93
|
+
input: Input10,
|
|
94
|
+
output: Output6,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin37 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name10,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name10];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name10, Input10, Output6, description4, Plugin41, exports_subagent };
|