@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./repository-epq63s4f.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin32,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name2 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input2 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input2.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin32 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service65;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name2,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description2,
|
|
104
|
-
input:
|
|
104
|
+
input: Input2,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin34 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name2,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin32, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node5, exports_update };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-02dtbf74.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service44,
|
|
13
|
+
canonical: () => canonical2,
|
|
14
|
+
node: () => node48
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service44 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service44, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node48 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
27
|
+
function canonical2(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service44, node48, canonical2, exports_location_service_map };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./repository-9edcvf27.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical3
|
|
7
|
+
} from "./repository-th5km1p3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make18
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make18 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service77;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make15 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical3(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make15 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make18, exports_git2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./repository-mv74xwze.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service76;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service31.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node81] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service20, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service33.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node37 = makeGlobalNode({ service: Service33, layer: layer15, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service33, makeLayer2, layer15, node37, exports_model_transport };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
node84
|
|
4
|
-
} from "./model-resolver-atny4vj3.js";
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
2
|
+
Service76,
|
|
7
3
|
node81
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./repository-mv74xwze.js";
|
|
5
|
+
import {
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./repository-wdgh92ty.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event15,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info22,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service58,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node62
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info22 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service58 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service76).db;
|
|
55
|
+
const bus = yield* Service74;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info22({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service58.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info22({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node62 = makeGlobalNode({ service: Service58, layer, deps: [node81, node78] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event15, Info22, Service58, node62, exports_credential };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./repository-8x1ga14t.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-csbyz877.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
|
+
make: () => make19,
|
|
24
|
+
node: () => node67
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service63 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make19 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service73;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make18 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service63.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make18 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service63, make19);
|
|
323
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [node77] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service63, make19, node67, exports_job };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|