@opencode/core 0.0.0-dev-19460 → 0.0.0-dev-19462
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +82 -82
- package/dist/chunks/{instance-wmarrwkd.js → repository-06fb0e13.js} +23 -23
- package/dist/chunks/{instance-4y66k410.js → repository-0ajdgxne.js} +5 -5
- package/dist/chunks/{instance-yd6hd2a1.js → repository-0df5qb80.js} +51 -51
- package/dist/chunks/{instance-m658jftz.js → repository-0e6dpvm0.js} +7 -7
- package/dist/chunks/repository-0mesazry.js +4 -0
- package/dist/chunks/{instance-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-mr7f4zr7.js → repository-0psa96yy.js} +20 -20
- package/dist/chunks/{instance-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-t1fx2e77.js → repository-0q56t1d9.js} +7 -7
- package/dist/chunks/{instance-z7xj2rat.js → repository-18cztcj7.js} +3 -3
- package/dist/chunks/{instance-dfe8djrf.js → repository-1a6p2twq.js} +4 -4
- package/dist/chunks/{instance-qcfsefxz.js → repository-1ah30sey.js} +5 -5
- package/dist/chunks/{instance-mhkvc446.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instance-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-4gw1ygcb.js → repository-1h7x1mz2.js} +17 -17
- package/dist/chunks/{instance-sc4tqsmf.js → repository-1jp9w2wz.js} +3 -3
- package/dist/chunks/{instance-f8sfb1xa.js → repository-1mv714b0.js} +43 -43
- package/dist/chunks/{instance-s4anq1bw.js → repository-1q3whged.js} +6 -6
- package/dist/chunks/{instance-5nabpchd.js → repository-1ynvz20k.js} +18 -18
- package/dist/chunks/{instance-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{instance-w1k39n5e.js → repository-22m95qs7.js} +4 -4
- package/dist/chunks/{instance-6h73sxmp.js → repository-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{instance-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-t69nnh3p.js → repository-2d6j2h4j.js} +8 -8
- package/dist/chunks/{instance-w6mexamk.js → repository-2ddb8vnf.js} +9 -9
- package/dist/chunks/{instance-1hyf0ktd.js → repository-2f140qw9.js} +10 -10
- package/dist/chunks/{instance-qh1ybmbw.js → repository-2ghmk56m.js} +14 -14
- package/dist/chunks/{instance-9br9ay0g.js → repository-2rykfwh7.js} +4 -4
- package/dist/chunks/{instance-7b3cx9a6.js → repository-2shxgy61.js} +13 -13
- package/dist/chunks/{instance-rxfnx53z.js → repository-2tvtcs34.js} +28 -28
- package/dist/chunks/{instance-dcj77ap2.js → repository-31dz7cp4.js} +1 -1
- package/dist/chunks/{instance-b6t5s1br.js → repository-3302fwks.js} +12 -12
- package/dist/chunks/{instance-bqffehkf.js → repository-34yfzwwr.js} +27 -27
- package/dist/chunks/{instance-9yfkjt1j.js → repository-3821feyt.js} +15 -15
- package/dist/chunks/{instance-m12hp6p6.js → repository-3akyt0ax.js} +6 -6
- package/dist/chunks/{instance-tkdeev4y.js → repository-3f6etdc1.js} +24 -24
- package/dist/chunks/{instance-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-htq8vem7.js → repository-3h2aaj0a.js} +19 -19
- package/dist/chunks/{instance-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-w1w0h0f3.js → repository-3zbcr0s0.js} +21 -21
- package/dist/chunks/{instance-q8ym26hm.js → repository-439dx3w9.js} +15 -15
- package/dist/chunks/{instance-wf01ajmr.js → repository-498fxtd6.js} +7 -7
- package/dist/chunks/{instance-rj04r327.js → repository-4h9e19ph.js} +21 -21
- package/dist/chunks/{instance-c2p50z10.js → repository-4qr204ms.js} +17 -17
- package/dist/chunks/{instance-hwgmy1nm.js → repository-4sk0y4xd.js} +20 -20
- package/dist/chunks/repository-4v7qdvcn.js +18 -0
- package/dist/chunks/{instance-7v5s04dc.js → repository-4vj8kpqd.js} +6 -6
- package/dist/chunks/{instance-p1p8k1ef.js → repository-4yg7xpeb.js} +2 -2
- package/dist/chunks/{instance-m5m2byhr.js → repository-585pw9ae.js} +24 -24
- package/dist/chunks/{instance-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-trz99jr3.js → repository-5ezjrh81.js} +32 -32
- package/dist/chunks/{instance-e2ktfq78.js → repository-5he1xn5b.js} +12 -12
- package/dist/chunks/{instance-79r1wrqa.js → repository-5jtdmvnp.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-844ef7ks.js → repository-5xtgfte3.js} +8 -8
- package/dist/chunks/{instance-53x3k2qp.js → repository-62zv3r2w.js} +4 -4
- package/dist/chunks/{instance-p7xz3n9p.js → repository-65vrzz3w.js} +14 -14
- package/dist/chunks/{instance-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{instance-bnhb7h7f.js → repository-67qaz902.js} +47 -47
- package/dist/chunks/{instance-5kptn8c0.js → repository-6ck2t1rv.js} +9 -9
- package/dist/chunks/{instance-y5ymnhx1.js → repository-6h0p2839.js} +34 -34
- package/dist/chunks/{instance-97ym3vp3.js → repository-6jtzn1qx.js} +20 -20
- package/dist/chunks/{instance-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-k7ms9p37.js → repository-6t6y07ce.js} +9 -9
- package/dist/chunks/{instance-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-xzxpqg3d.js → repository-73x54sz1.js} +28 -28
- package/dist/chunks/{instance-92wpxnfv.js → repository-757ayx98.js} +26 -26
- package/dist/chunks/{instance-94nfxf8g.js → repository-7b7gh2z5.js} +9 -9
- package/dist/chunks/{instance-zbhy9hv2.js → repository-7b86q5ey.js} +13 -13
- package/dist/chunks/{instance-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-0jwsre1p.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instance-gztqh0zw.js → repository-7ht1e3b7.js} +15 -15
- package/dist/chunks/{instance-7m5f9412.js → repository-7m5f9412.js} +1 -1
- package/dist/chunks/{instance-zw4px37v.js → repository-7qhfbrat.js} +6 -6
- package/dist/chunks/{instance-a0kt5faw.js → repository-7sezzb4e.js} +25 -25
- package/dist/chunks/{instance-cgjdea0z.js → repository-7tvdhtw8.js} +20 -20
- package/dist/chunks/{instance-rh63tm4e.js → repository-80e0yyk8.js} +12 -12
- package/dist/chunks/{instance-81swgkk7.js → repository-81swgkk7.js} +2 -2
- package/dist/chunks/{instance-7w3s9kd0.js → repository-8a737tnd.js} +6 -6
- package/dist/chunks/{instance-az8292sr.js → repository-8ayndkwh.js} +20 -20
- package/dist/chunks/{instance-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-xzgs3hrm.js → repository-8nw6zpr4.js} +31 -31
- package/dist/chunks/{instance-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-rfnzy394.js → repository-8ypn74s0.js} +1 -1
- package/dist/chunks/{instance-b1hwkhhg.js → repository-8z17e00v.js} +4 -4
- package/dist/chunks/{instance-qfp8jhvv.js → repository-915t83ht.js} +11 -11
- package/dist/chunks/{instance-qn4ba14w.js → repository-92a4ap4w.js} +5 -5
- package/dist/chunks/{instance-eq4db09p.js → repository-9b5bbgrx.js} +9 -9
- package/dist/chunks/{instance-wj7qkkw3.js → repository-9er5p002.js} +19 -19
- package/dist/chunks/{instance-2nvwtj61.js → repository-9ggdqdtw.js} +11 -11
- package/dist/chunks/{instance-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-6gt9cz4a.js → repository-a2fztt6w.js} +19 -19
- package/dist/chunks/{instance-9kt49dv5.js → repository-a4exdnt3.js} +4 -4
- package/dist/chunks/{instance-zj91daq9.js → repository-a7qvktew.js} +11 -11
- package/dist/chunks/{instance-9ydgybmy.js → repository-a7v51dbc.js} +33 -33
- package/dist/chunks/{instance-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-cpy6gm2a.js → repository-ahgcj67e.js} +6 -6
- package/dist/chunks/{instance-3q9njtk1.js → repository-aj2fadgq.js} +32 -32
- package/dist/chunks/{instance-4gqp7vx6.js → repository-anty3ns2.js} +11 -11
- package/dist/chunks/{instance-6ckg68qj.js → repository-aty0eeer.js} +6 -6
- package/dist/chunks/{instance-5jvjxkgj.js → repository-b0ysmz6y.js} +22 -22
- package/dist/chunks/{instance-9jdakqgh.js → repository-b1fx07ep.js} +12 -12
- package/dist/chunks/{instance-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-v44bh1q6.js → repository-b9ank1ts.js} +13 -13
- package/dist/chunks/{instance-zqmn5v3j.js → repository-b9jb5emj.js} +3 -3
- package/dist/chunks/{instance-dc76j9wz.js → repository-bpqahvg7.js} +8 -8
- package/dist/chunks/{instance-4avx5zv7.js → repository-bw1aan46.js} +13 -13
- package/dist/chunks/{instance-8jpcqb93.js → repository-c33k41yq.js} +7 -7
- package/dist/chunks/{instance-cdd71vqt.js → repository-c742vz2c.js} +43 -43
- package/dist/chunks/{instance-gy5rmdef.js → repository-c9e2w61w.js} +8 -8
- package/dist/chunks/{instance-e4vf26f2.js → repository-cep4v9kk.js} +35 -35
- package/dist/chunks/{instance-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-vhek6w9n.js → repository-cr0em44r.js} +31 -31
- package/dist/chunks/{instance-jx7qxkfa.js → repository-cva88qnv.js} +12 -12
- package/dist/chunks/{instance-bcej9406.js → repository-d230r5q8.js} +6 -6
- package/dist/chunks/{instance-5hk2mk3t.js → repository-d8z6v07t.js} +7 -7
- package/dist/chunks/{instance-hrefkxfb.js → repository-d98chebz.js} +14 -14
- package/dist/chunks/{instance-5g8am1g7.js → repository-dmv09vgm.js} +31 -31
- package/dist/chunks/{instance-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{instance-evbgk2k8.js → repository-dqmwfghx.js} +5 -5
- package/dist/chunks/{instance-2f04pwep.js → repository-dv250zvr.js} +3 -3
- package/dist/chunks/{instance-94w0tq81.js → repository-dvjn987s.js} +44 -44
- package/dist/chunks/{instance-e1pbcaz3.js → repository-dxmjzr1r.js} +2 -2
- package/dist/chunks/{instance-797mct3s.js → repository-e4t9qac1.js} +11 -11
- package/dist/chunks/{instance-qk6tq941.js → repository-ebd9479t.js} +4 -4
- package/dist/chunks/{instance-zsqve7wd.js → repository-edpf80fc.js} +8 -8
- package/dist/chunks/{instance-tt9qh18q.js → repository-efj7rby6.js} +15 -15
- package/dist/chunks/{instance-qt7rgn5q.js → repository-ehgmx3s2.js} +40 -40
- package/dist/chunks/{instance-8gvpyqpt.js → repository-ek5z2msw.js} +22 -22
- package/dist/chunks/{instance-4zj18f1w.js → repository-ekzy4a15.js} +9 -9
- package/dist/chunks/{instance-n23hwv43.js → repository-epjkq198.js} +11 -11
- package/dist/chunks/{instance-nz4732ve.js → repository-es1pjgb0.js} +3 -3
- package/dist/chunks/{instance-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-jpdv4j7q.js → repository-ewbp23zb.js} +15 -15
- package/dist/chunks/{instance-4wjenyrf.js → repository-f6ytka93.js} +8 -8
- package/dist/chunks/{instance-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{instance-5eec6bhb.js → repository-f8hx9dgc.js} +33 -33
- package/dist/chunks/{instance-8yv9dkvg.js → repository-f8pdk657.js} +5 -5
- package/dist/chunks/{instance-4066mr2m.js → repository-f9bavhm2.js} +1 -1
- package/dist/chunks/{instance-5x592y6b.js → repository-fa0hz4rj.js} +23 -23
- package/dist/chunks/{instance-e3kfg8te.js → repository-faq7vhys.js} +11 -11
- package/dist/chunks/{instance-2jf0xkbq.js → repository-fh173wkb.js} +3 -3
- package/dist/chunks/{instance-gsx0ryk4.js → repository-fhs97t90.js} +5 -5
- package/dist/chunks/{instance-kw732hfc.js → repository-fm1pn3h6.js} +33 -33
- package/dist/chunks/{instance-gaenrpkk.js → repository-fnm2rd37.js} +71 -71
- package/dist/chunks/{instance-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-fzz1ppzm.js → repository-fxy4734q.js} +4 -4
- package/dist/chunks/{instance-hpnxyswt.js → repository-fzceatkk.js} +13 -13
- package/dist/chunks/{instance-dczqr3tw.js → repository-g47hgwy1.js} +15 -15
- package/dist/chunks/{instance-2fp9d9g6.js → repository-g8bfx21a.js} +27 -27
- package/dist/chunks/{instance-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-aq9mty43.js → repository-gh7jcff5.js} +15 -15
- package/dist/chunks/{instance-hm0vq5pv.js → repository-gs48f12t.js} +5 -5
- package/dist/chunks/{instance-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
- package/dist/chunks/{instance-c6cqrv02.js → repository-gvjwy1ww.js} +8 -8
- package/dist/chunks/{instance-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-hbhtg0wg.js → repository-h31ehzq9.js} +12 -12
- package/dist/chunks/{instance-cwxc4gr4.js → repository-h4e9v6cf.js} +16 -16
- package/dist/chunks/{instance-aj39p006.js → repository-h53fs6we.js} +11 -11
- package/dist/chunks/{instance-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-bha4atvq.js → repository-hfdr1yjj.js} +4 -4
- package/dist/chunks/{instance-hwh1rkay.js → repository-hhbh3w1t.js} +1 -1
- package/dist/chunks/{instance-e82z9tr0.js → repository-hjt4xg1x.js} +7 -7
- package/dist/chunks/{instance-qs8d7aj9.js → repository-hwzvcses.js} +14 -14
- package/dist/chunks/{instance-q6ykya8e.js → repository-hx3323mz.js} +39 -39
- package/dist/chunks/{instance-7yzvrxe0.js → repository-j3gkf22j.js} +18 -18
- package/dist/chunks/{instance-mscy8054.js → repository-j4yfb19a.js} +7 -7
- package/dist/chunks/{instance-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-3jmtav0z.js → repository-j8jb84gn.js} +21 -21
- package/dist/chunks/{instance-paphc93g.js → repository-j935v87r.js} +2 -2
- package/dist/chunks/{instance-ryr25ayn.js → repository-jfqtm2ew.js} +4 -4
- package/dist/chunks/{instance-ebd64nsa.js → repository-jks25yqs.js} +20 -20
- package/dist/chunks/{instance-qprd5bsr.js → repository-jnt9jbpr.js} +29 -29
- package/dist/chunks/{instance-a9yaghht.js → repository-js2yt1nz.js} +64 -64
- package/dist/chunks/{instance-wqkncbjv.js → repository-jxxmrcps.js} +7 -7
- package/dist/chunks/{instance-00mqm9kf.js → repository-jy16bfac.js} +1 -1
- package/dist/chunks/{instance-7kehdj5a.js → repository-k7w803fk.js} +20 -20
- package/dist/chunks/{instance-afxp662r.js → repository-kc7gkhnn.js} +11 -11
- package/dist/chunks/{instance-t7qt7tsq.js → repository-kd9v8sax.js} +6 -6
- package/dist/chunks/{instance-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-8pngxq2x.js → repository-kt5w8vxh.js} +10 -10
- package/dist/chunks/{instance-5sh9vvh6.js → repository-kx6qnvmq.js} +27 -27
- package/dist/chunks/{instance-474kxs8d.js → repository-ky6ecvvs.js} +2 -2
- package/dist/chunks/{instance-vkpj7gz2.js → repository-kz381zv4.js} +5 -5
- package/dist/chunks/{instance-t02gjz1k.js → repository-m8bbpje0.js} +11 -11
- package/dist/chunks/{instance-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-80va5zpe.js → repository-me7cqgqr.js} +9 -9
- package/dist/chunks/{instance-1ygqh575.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{instance-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instance-k8re6p8h.js → repository-n2nfwst7.js} +15 -15
- package/dist/chunks/{instance-w65exc3e.js → repository-n5aza2pa.js} +7 -7
- package/dist/chunks/{instance-tmc6cqr1.js → repository-n5bzxk2f.js} +10 -10
- package/dist/chunks/{instance-3qhd9431.js → repository-n94hx6h0.js} +23 -23
- package/dist/chunks/{instance-tsw5vdbk.js → repository-ne7s8sw8.js} +7 -7
- package/dist/chunks/{instance-4swqe0r2.js → repository-nezgc4ey.js} +4 -4
- package/dist/chunks/{instance-0fff669n.js → repository-nywkrfb7.js} +36 -36
- package/dist/chunks/{instance-zgtva3a0.js → repository-pcmc1zwr.js} +27 -27
- package/dist/chunks/{instance-kztjw4ps.js → repository-pcsmqseq.js} +10 -10
- package/dist/chunks/{instance-jp567p5q.js → repository-pe9eppf5.js} +23 -23
- package/dist/chunks/{instance-fb49k8r9.js → repository-pg7njcxf.js} +15 -15
- package/dist/chunks/{instance-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{instance-9xrk3ywp.js → repository-psywnqq9.js} +9 -9
- package/dist/chunks/{instance-5wdht1ra.js → repository-pwv7z67e.js} +16 -16
- package/dist/chunks/{instance-bj3v68q1.js → repository-q3n10r91.js} +17 -17
- package/dist/chunks/{instance-jvf3yq6v.js → repository-q5asdkn4.js} +4 -4
- package/dist/chunks/{instance-q5j1bp2v.js → repository-q5j1bp2v.js} +1 -1
- package/dist/chunks/{instance-t6msp11s.js → repository-q5zafh14.js} +6 -6
- package/dist/chunks/{instance-qvnmx2mh.js → repository-qfapmvwx.js} +33 -33
- package/dist/chunks/{instance-5b639kvd.js → repository-qhc60h7n.js} +13 -13
- package/dist/chunks/{instance-kmv022h3.js → repository-qmr73083.js} +1 -1
- package/dist/chunks/{instance-7v41m4wd.js → repository-qnvtssqj.js} +9 -9
- package/dist/chunks/{instance-76myzc3f.js → repository-qr27hz8v.js} +4 -4
- package/dist/chunks/{instance-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-wc04nxwd.js → repository-qybb80ke.js} +115 -115
- package/dist/chunks/{instance-f2n192rq.js → repository-r8xr0va3.js} +4 -4
- package/dist/chunks/{instance-r9mregkx.js → repository-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-cz0yq1r5.js → repository-r9s20qyb.js} +11 -11
- package/dist/chunks/{instance-a49gwv9f.js → repository-rqx8c1bj.js} +23 -23
- package/dist/chunks/{instance-q6a3er2p.js → repository-rrfg73gn.js} +22 -22
- package/dist/chunks/{instance-ctbddv3x.js → repository-rsvg5qe3.js} +26 -26
- package/dist/chunks/{instance-3ythc6yv.js → repository-s0hza5ac.js} +4 -4
- package/dist/chunks/{instance-n1wztqq6.js → repository-s301d4t7.js} +2 -2
- package/dist/chunks/{instance-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{instance-3e7k8psb.js → repository-s4kjwg47.js} +24 -24
- package/dist/chunks/{instance-msd3nfsh.js → repository-s54pw8rz.js} +11 -11
- package/dist/chunks/{instance-eaj1djv9.js → repository-s8d7rejh.js} +6 -6
- package/dist/chunks/{instance-ff0htmxq.js → repository-sabycmh3.js} +6 -6
- package/dist/chunks/{instance-tw2jnezv.js → repository-sg3ay6jr.js} +7 -7
- package/dist/chunks/{instance-vkt5fbj2.js → repository-sgwh5nyn.js} +5 -5
- package/dist/chunks/{instance-ncc2gq8r.js → repository-sq8adhhz.js} +11 -11
- package/dist/chunks/{instance-z99anz7q.js → repository-sqnjsewz.js} +12 -12
- package/dist/chunks/{instance-nxhqveyz.js → repository-sra9araw.js} +5 -5
- package/dist/chunks/{instance-rz0qknjf.js → repository-sv9bpgvh.js} +5 -5
- package/dist/chunks/{instance-akeqy7zp.js → repository-t45hg38h.js} +11 -11
- package/dist/chunks/{instance-1htf0826.js → repository-t7dkn34m.js} +18 -18
- package/dist/chunks/{instance-v2m40jqb.js → repository-t7qd3f94.js} +25 -25
- package/dist/chunks/{instance-w5avqc4c.js → repository-t9c3e8bq.js} +5 -5
- package/dist/chunks/{instance-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-eh0vk0nd.js → repository-tcsyqj73.js} +14 -14
- package/dist/chunks/{instance-r06n6mdt.js → repository-tds63m58.js} +8 -8
- package/dist/chunks/{instance-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/repository-thkcmnfe.js +22 -0
- package/dist/chunks/{instance-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-s9269tm1.js → repository-v3qpsh98.js} +43 -43
- package/dist/chunks/{instance-c3kepfq8.js → repository-v8ch97zc.js} +1 -1
- package/dist/chunks/{instance-6990g2pv.js → repository-veeq5evv.js} +27 -27
- package/dist/chunks/{instance-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-wfdys92q.js → repository-vrx4yh84.js} +18 -18
- package/dist/chunks/{instance-gebtr55s.js → repository-vxp3kcg3.js} +5 -5
- package/dist/chunks/{instance-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-ktb8qv4m.js → repository-w0a2h48p.js} +13 -13
- package/dist/chunks/{instance-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-g4qa8rgv.js → repository-w6jjpet8.js} +12 -12
- package/dist/chunks/{instance-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/repository-wpdhr89c.js +247 -0
- package/dist/chunks/{instance-sefvx11y.js → repository-wsxzptys.js} +4 -4
- package/dist/chunks/{instance-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-htjr2jsf.js → repository-x359c73n.js} +13 -13
- package/dist/chunks/{instance-reebgg6a.js → repository-xdmp4stv.js} +30 -30
- package/dist/chunks/{instance-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-0npvrs75.js → repository-y4za65ce.js} +15 -15
- package/dist/chunks/{instance-jwx4y25k.js → repository-y56ehv6b.js} +8 -8
- package/dist/chunks/{instance-kgp7vr2h.js → repository-y5qrxrza.js} +34 -34
- package/dist/chunks/{instance-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-zzhy6shz.js → repository-yvm9rc9x.js} +67 -67
- package/dist/chunks/{instance-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-pz6pfz31.js → repository-z1ycjdcc.js} +4 -4
- package/dist/chunks/{instance-c1am2a09.js → repository-z7dhvtda.js} +24 -24
- package/dist/chunks/{instance-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-f3ngv102.js → repository-zepncfka.js} +21 -21
- package/dist/chunks/{instance-egwjr9wj.js → repository-zf9sx82p.js} +20 -20
- package/dist/chunks/{instance-01e6h18d.js → repository-zpchy40n.js} +20 -20
- package/dist/chunks/{instance-s8610hey.js → repository-zpd6x7fe.js} +2 -2
- package/dist/chunks/{instance-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-sz14040b.js → repository-ztncjpjx.js} +28 -28
- package/dist/chunks/{instance-bn0vw2w5.js → repository-zvrsfabp.js} +261 -261
- package/dist/chunks/{instance-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +74 -74
- package/dist/config/discovery.js +78 -78
- 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 +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +76 -76
- 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 +351 -351
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +92 -92
- package/dist/mcp/instructions.js +121 -121
- 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 +85 -85
- 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 +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +325 -325
- 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/anthropic.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 +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- 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 +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- 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 +344 -344
- package/dist/plugin/update.js +4 -4
- 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 +6 -6
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +7 -7
- 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 +95 -95
- 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 +146 -146
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +123 -123
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- 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 +170 -170
- 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 +72 -72
- 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 +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +15 -15
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +85 -85
- 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 +114 -114
- package/dist/tool/plugin/edit.js +114 -114
- 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 +1 -1
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +93 -93
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/instance-0hb33qq5.js +0 -247
- package/dist/chunks/instance-1x11rq2a.js +0 -18
- package/dist/chunks/instance-6javrp0c.js +0 -22
- package/dist/chunks/instance-z926abd4.js +0 -4
- /package/dist/chunks/{instance-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dxmjzr1r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./repository-4h9e19ph.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-bw1aan46.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./repository-kc7gkhnn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service66
|
|
17
|
+
} from "./repository-0df5qb80.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service52,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-n2nfwst7.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input10,
|
|
34
34
|
Output: () => Output7,
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
35
|
+
Plugin: () => Plugin41,
|
|
36
|
+
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name10 = "edit";
|
|
43
|
+
var Input10 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin41 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service52;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service43;
|
|
112
|
+
const formatter = yield* Service15;
|
|
113
113
|
const location = yield* Service76;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service66;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
119
|
+
input: Input10,
|
|
120
120
|
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
@@ -194,4 +194,4 @@ var Plugin40 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name10, Input10, Output7, Plugin41, exports_edit };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-b9jb5emj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./repository-sabycmh3.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-22m95qs7.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-m8bbpje0.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-ztncjpjx.js";
|
|
19
19
|
import {
|
|
20
20
|
Service26
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-fnm2rd37.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service55;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./repository-h31ehzq9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node80
|
|
9
|
+
} from "./repository-2f140qw9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event18,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service73,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node78,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service73 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event18 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service75;
|
|
81
|
+
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event18.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service73.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event18.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event18.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node78 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node80, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event18, inspect2, resolve3, node78, exports_wellknown };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./repository-h31ehzq9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./repository-fm1pn3h6.js";
|
|
8
8
|
import {
|
|
9
9
|
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-z7dhvtda.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-2d6j2h4j.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID9,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-2tvtcs34.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID9
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID15.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./repository-v3qpsh98.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-y1fvbwt7.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/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service71;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin21 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-b9jb5emj.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load2
|
|
12
|
+
} from "./repository-m8bbpje0.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-zpd6x7fe.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service67,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node72
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service67 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service67.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node72 = makeGlobalNode({ service: Service67, layer, deps: [node85] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service67, node72, exports_store };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-b9jb5emj.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID11,
|
|
17
|
+
Info: () => Info15,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID11 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID11.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service68.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID11, Info15, ListInput5, AddInput2, Service68, node73, exports_saved };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service54,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service54 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service54, exports_runner };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|