@opencode/core 0.0.0-dev-201 → 0.0.0-dev-210
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 +88 -88
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-services-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{location-services-kep2v7tx.js → filesystem-08w4mgsv.js} +36 -36
- package/dist/chunks/{location-services-ds7r37yp.js → filesystem-09bv4atg.js} +5 -5
- package/dist/chunks/{location-services-8m5mq5h7.js → filesystem-0g3nw2rk.js} +5 -5
- package/dist/chunks/{location-services-gnmrya69.js → filesystem-0nhbejy7.js} +29 -29
- package/dist/chunks/{location-services-9tbaz46k.js → filesystem-0vt12t1a.js} +17 -17
- package/dist/chunks/{location-services-11hfp36g.js → filesystem-11hfp36g.js} +1 -1
- package/dist/chunks/{location-services-vk0mqcpj.js → filesystem-14hxjxc8.js} +11 -11
- package/dist/chunks/{location-services-ajhs9baq.js → filesystem-14k2p94z.js} +8 -8
- package/dist/chunks/{location-services-9pjkh98s.js → filesystem-1596dtyg.js} +14 -14
- package/dist/chunks/{location-services-9bjvbnp5.js → filesystem-15rqtvc6.js} +21 -21
- package/dist/chunks/{location-services-f12bs9yg.js → filesystem-18crnhyq.js} +11 -11
- package/dist/chunks/{location-services-vrcsa8qx.js → filesystem-18g90bpv.js} +9 -9
- package/dist/chunks/{location-services-3cyhhena.js → filesystem-1a6vdzep.js} +12 -12
- package/dist/chunks/{location-services-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-services-za14dw9p.js → filesystem-1hmj4y1x.js} +29 -29
- package/dist/chunks/{location-services-ymz7p2c9.js → filesystem-1r7af8ee.js} +3 -3
- package/dist/chunks/{location-services-wzp9wckv.js → filesystem-1vz7yhpq.js} +22 -22
- package/dist/chunks/{location-services-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-tbbrpwak.js → filesystem-1ym1r093.js} +50 -50
- package/dist/chunks/{location-services-1yq9hg58.js → filesystem-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-services-3qe7c5w1.js → filesystem-1z5aa1s9.js} +2 -2
- package/dist/chunks/{location-services-204s3925.js → filesystem-204s3925.js} +1 -1
- package/dist/chunks/{location-services-dp2bc5b9.js → filesystem-24c2n9k1.js} +22 -22
- package/dist/chunks/{location-services-wab3t0nt.js → filesystem-2ede0ce3.js} +18 -18
- package/dist/chunks/{location-services-2aq8spf6.js → filesystem-2pb4csn2.js} +42 -42
- package/dist/chunks/{location-services-8efstdn0.js → filesystem-2ps4vp47.js} +55 -55
- package/dist/chunks/{location-services-vr95fah1.js → filesystem-2vzb41ed.js} +5 -5
- package/dist/chunks/{location-services-yg6mcpcz.js → filesystem-2yqf0428.js} +10 -4
- package/dist/chunks/{location-services-31avdb49.js → filesystem-31avdb49.js} +3 -3
- package/dist/chunks/{location-services-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-vks33rvn.js → filesystem-3kwyfx5c.js} +22 -22
- package/dist/chunks/{location-services-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-services-pmx7hay9.js → filesystem-3rhjxprg.js} +12 -12
- package/dist/chunks/{location-services-t5gkqm34.js → filesystem-3ztadfm7.js} +37 -37
- package/dist/chunks/{location-services-dadnkh66.js → filesystem-434rvpkg.js} +9 -9
- package/dist/chunks/{location-services-se9a988r.js → filesystem-444az151.js} +30 -30
- package/dist/chunks/{location-services-4ftzhtn2.js → filesystem-45wb8ppp.js} +5 -5
- package/dist/chunks/{location-services-42pxhkhe.js → filesystem-4dxkx4vc.js} +15 -15
- package/dist/chunks/{location-services-dhseayww.js → filesystem-4nyhany0.js} +19 -19
- package/dist/chunks/{location-services-9tvpxs1q.js → filesystem-4pw98qd4.js} +4 -4
- package/dist/chunks/{location-services-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-services-q1h8wfhm.js → filesystem-4se3fcjy.js} +22 -16
- package/dist/chunks/{location-services-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-9zdg1nht.js → filesystem-55y85j01.js} +15 -15
- package/dist/chunks/{location-services-n7d88tpn.js → filesystem-5ect6tx9.js} +3 -3
- package/dist/chunks/{location-services-b8ymz842.js → filesystem-5jmrcfpw.js} +25 -17
- package/dist/chunks/{location-services-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-5w0q3qgz.js → filesystem-5yght9ra.js} +35 -35
- package/dist/chunks/{location-services-6r25anyw.js → filesystem-60wv84he.js} +12 -12
- package/dist/chunks/{location-services-g1sszzvh.js → filesystem-61ee6dgv.js} +22 -22
- package/dist/chunks/{location-services-bjhzkqyk.js → filesystem-61ennm6n.js} +4 -4
- package/dist/chunks/{location-services-73shg0b5.js → filesystem-6bafzmvy.js} +166 -166
- package/dist/chunks/{location-services-me57jfex.js → filesystem-6cems51h.js} +11 -11
- package/dist/chunks/{location-services-7ene4gkn.js → filesystem-6easw4m5.js} +4 -4
- package/dist/chunks/{location-services-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-services-kn8g1zqp.js → filesystem-6r5tx5vd.js} +15 -15
- package/dist/chunks/{location-services-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-services-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-gwjnap29.js → filesystem-7m5yeeqj.js} +25 -25
- package/dist/chunks/{location-services-3gsja8av.js → filesystem-7rct0254.js} +16 -16
- package/dist/chunks/{location-services-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-gkdfcy6p.js → filesystem-890cq6zw.js} +23 -23
- package/dist/chunks/{location-services-69gwve97.js → filesystem-89jkg93w.js} +21 -21
- package/dist/chunks/{location-services-xh49vxj8.js → filesystem-89vjf07m.js} +5 -5
- package/dist/chunks/{location-services-rezqpw0g.js → filesystem-8aem79f2.js} +21 -21
- package/dist/chunks/{location-services-ap4sczth.js → filesystem-8cykdwq1.js} +44 -44
- package/dist/chunks/{location-services-gw2pq1m3.js → filesystem-8hwf4h4a.js} +29 -29
- package/dist/chunks/{location-services-6y263vp8.js → filesystem-8wc2fpae.js} +5 -5
- package/dist/chunks/{location-services-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-zk2gvj1a.js → filesystem-8z7fx9da.js} +25 -25
- package/dist/chunks/{location-services-hwn8hb14.js → filesystem-8zh671ad.js} +35 -35
- package/dist/chunks/{location-services-90zstvax.js → filesystem-90zstvax.js} +1 -1
- package/dist/chunks/{location-services-q75hjfnr.js → filesystem-91bvc4ty.js} +4 -4
- package/dist/chunks/{location-services-ne9mmrs0.js → filesystem-94wxcshz.js} +9 -9
- package/dist/chunks/{location-services-gfk8shh2.js → filesystem-97ctmtmy.js} +7 -7
- package/dist/chunks/{location-services-g2hh2b2h.js → filesystem-9d50e9x8.js} +10 -10
- package/dist/chunks/{location-services-1gw76x6h.js → filesystem-9wm1sbvz.js} +30 -30
- package/dist/chunks/{location-services-kh99ak1n.js → filesystem-annen545.js} +8 -8
- package/dist/chunks/{location-services-mwya9ecc.js → filesystem-aq96vb51.js} +18 -18
- package/dist/chunks/{location-services-vj7gf67a.js → filesystem-armxxs9m.js} +9 -9
- package/dist/chunks/{location-services-f2ykvxgv.js → filesystem-aw4xetmc.js} +11 -11
- package/dist/chunks/{location-services-2f747z2w.js → filesystem-aw8sakew.js} +25 -25
- package/dist/chunks/{location-services-mtx8ysqm.js → filesystem-ax7jxbq7.js} +51 -51
- package/dist/chunks/{location-services-3cbjf1nt.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-services-sty3kahr.js → filesystem-b46dpqs0.js} +14 -14
- package/dist/chunks/{location-services-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{location-services-k7023vhv.js → filesystem-bdf3r1gz.js} +59 -59
- package/dist/chunks/{location-services-r0ft14n5.js → filesystem-bdpbxs8g.js} +21 -21
- package/dist/chunks/{location-services-z6v532az.js → filesystem-bhvs01y7.js} +6 -6
- package/dist/chunks/{location-services-rya6xdym.js → filesystem-bmrbft0k.js} +27 -27
- package/dist/chunks/{location-services-v0gec4ky.js → filesystem-bprm2g42.js} +33 -33
- package/dist/chunks/filesystem-bsgt82ad.js +257 -0
- package/dist/chunks/{location-services-01mh9jkm.js → filesystem-bsjb0v70.js} +3 -3
- package/dist/chunks/{location-services-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
- package/dist/chunks/{location-services-yry8y2z0.js → filesystem-bw7c9nwt.js} +17 -17
- package/dist/chunks/{location-services-fswr6j0v.js → filesystem-bwqn28c5.js} +3 -3
- package/dist/chunks/{location-services-t24rj6wz.js → filesystem-c34yv8jr.js} +11 -11
- package/dist/chunks/{location-services-xnawt8mb.js → filesystem-c7xcdgb3.js} +1 -1
- package/dist/chunks/{location-services-vetf84hs.js → filesystem-c8fxmp84.js} +4 -4
- package/dist/chunks/{location-services-xhyfvswv.js → filesystem-cj5ykkxh.js} +8 -3
- package/dist/chunks/{location-services-ma5c6kmc.js → filesystem-ck72d7f2.js} +8 -8
- package/dist/chunks/{location-services-hz5mdqd1.js → filesystem-cm18kf9d.js} +14 -14
- package/dist/chunks/{location-services-nv66c0g2.js → filesystem-cnaqb1tg.js} +12 -12
- package/dist/chunks/{location-services-3ryz99p0.js → filesystem-cpvd08na.js} +4 -4
- package/dist/chunks/{location-services-91kqmn6m.js → filesystem-crxr35d9.js} +37 -37
- package/dist/chunks/{location-services-hqcwe82e.js → filesystem-csvfcyj3.js} +19 -19
- package/dist/chunks/{location-services-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-services-hqe124ch.js → filesystem-czzevw5a.js} +15 -15
- package/dist/chunks/filesystem-d3bra3vm.js +34 -0
- package/dist/chunks/{location-services-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-services-z8f86d31.js → filesystem-df9zz4rf.js} +8 -8
- package/dist/chunks/{location-services-2wers40p.js → filesystem-dma5n97j.js} +37 -37
- package/dist/chunks/{location-services-46668phf.js → filesystem-dr326g96.js} +9 -9
- package/dist/chunks/{location-services-agqd6nxz.js → filesystem-drvbhkez.js} +2 -2
- package/dist/chunks/{location-services-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{location-services-z1m0y3dj.js → filesystem-dvaraee2.js} +23 -23
- package/dist/chunks/{location-services-k9zkdd2y.js → filesystem-e07q2w5p.js} +4 -4
- package/dist/chunks/{location-services-5by3bz79.js → filesystem-e3g479a6.js} +75 -75
- package/dist/chunks/{location-services-6r8m24fe.js → filesystem-e618q6jv.js} +9 -9
- package/dist/chunks/{location-services-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{location-services-t784ja64.js → filesystem-emz5z3x7.js} +2 -2
- package/dist/chunks/{location-services-cygdy78r.js → filesystem-esbzcf2v.js} +3 -3
- package/dist/chunks/{location-services-8ehvsr2e.js → filesystem-ex5adzvz.js} +9 -9
- package/dist/chunks/{location-services-5pjyqbjm.js → filesystem-f1g9v2n6.js} +3 -3
- package/dist/chunks/{location-services-6pca4248.js → filesystem-fcrv3p1c.js} +13 -13
- package/dist/chunks/{location-services-mafwm63e.js → filesystem-fe5m0zbk.js} +25 -25
- package/dist/chunks/{location-services-d3w8c6ae.js → filesystem-fej4fvmz.js} +15 -15
- package/dist/chunks/{location-services-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-services-w0dy55r8.js → filesystem-fg2aznv6.js} +13 -13
- package/dist/chunks/{location-services-qvba1qmh.js → filesystem-fj2tjxmw.js} +32 -32
- package/dist/chunks/{location-services-r487f7wy.js → filesystem-fn2p6yf2.js} +24 -24
- package/dist/chunks/{location-services-gm8h4frt.js → filesystem-fncrvfr8.js} +9 -9
- package/dist/chunks/{location-services-m7ee3x5c.js → filesystem-fny70jpy.js} +8 -8
- package/dist/chunks/{location-services-he00d8qs.js → filesystem-g4pcw3ts.js} +24 -24
- package/dist/chunks/{location-services-c3q0wwqw.js → filesystem-g82fkzhe.js} +15 -15
- package/dist/chunks/{location-services-3vagpa22.js → filesystem-g8763th5.js} +18 -18
- package/dist/chunks/{location-services-ep59zg61.js → filesystem-gg8p9cgs.js} +3 -3
- package/dist/chunks/{location-services-cwzb6akg.js → filesystem-gm2f0atq.js} +18 -18
- package/dist/chunks/{location-services-nrdzy92p.js → filesystem-gmqegw1e.js} +12 -12
- package/dist/chunks/{location-services-a6ekb6p5.js → filesystem-gsnkxft0.js} +11 -11
- package/dist/chunks/{location-services-a544w0n6.js → filesystem-gxwtb78g.js} +17 -17
- package/dist/chunks/{location-services-r1x2w1ym.js → filesystem-h01md3m8.js} +6 -6
- package/dist/chunks/{location-services-d0h96hzn.js → filesystem-h7gvp0tv.js} +2 -2
- package/dist/chunks/{location-services-2mc6z38r.js → filesystem-hc4wny2n.js} +11 -11
- package/dist/chunks/{location-services-e2x7gzav.js → filesystem-hdfrs5mg.js} +7 -7
- package/dist/chunks/{location-services-m37sd98t.js → filesystem-hfgk9wzg.js} +4 -4
- package/dist/chunks/{location-services-j5e69w9m.js → filesystem-hjaahymy.js} +50 -50
- package/dist/chunks/{location-services-64c2pewf.js → filesystem-hjwwwxxw.js} +22 -22
- package/dist/chunks/{location-services-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-services-hh7psv2k.js → filesystem-hrp7h9k8.js} +11 -11
- package/dist/chunks/{location-services-hw5kz99h.js → filesystem-hry4p7je.js} +13 -13
- package/dist/chunks/{location-services-k03zy2hn.js → filesystem-hs9b4b47.js} +9 -9
- package/dist/chunks/{location-services-k7fcp7vh.js → filesystem-hx3mz2q2.js} +8 -8
- package/dist/chunks/{location-services-rqmcybmq.js → filesystem-hyyve62m.js} +29 -29
- package/dist/chunks/filesystem-j5ge61vx.js +312 -0
- package/dist/chunks/{location-services-e609836v.js → filesystem-j6fmvzx1.js} +25 -25
- package/dist/chunks/{location-services-ann6jqpt.js → filesystem-j8b46n9s.js} +28 -28
- package/dist/chunks/{location-services-ftmjfqeg.js → filesystem-jc4yfsds.js} +7 -7
- package/dist/chunks/{location-services-jfaecv01.js → filesystem-jfaecv01.js} +1 -1
- package/dist/chunks/{location-services-jhh81dyr.js → filesystem-jg2yb00g.js} +38 -38
- package/dist/chunks/{location-services-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-services-sk5ey1ff.js → filesystem-k079z09p.js} +4 -4
- package/dist/chunks/{location-services-d0eapxbw.js → filesystem-k1txdcnn.js} +25 -25
- package/dist/chunks/{location-services-1h7j31t8.js → filesystem-k3febq9m.js} +30 -33
- package/dist/chunks/{location-services-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{location-services-m7bmrshs.js → filesystem-kaaytn36.js} +23 -23
- package/dist/chunks/{location-services-qzy6y7mb.js → filesystem-kj6bvb2j.js} +3 -3
- package/dist/chunks/{location-services-38shjhjm.js → filesystem-kjst82ar.js} +1 -1
- package/dist/chunks/{location-services-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-zp8re2db.js → filesystem-m146rhxa.js} +17 -17
- package/dist/chunks/{location-services-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{location-services-kajq6kw3.js → filesystem-m3bdadrj.js} +14 -14
- package/dist/chunks/{location-services-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-cdj17kd2.js → filesystem-majcfxdx.js} +9 -9
- package/dist/chunks/{location-services-bkjbe0jh.js → filesystem-mgxqcbam.js} +10 -2
- package/dist/chunks/{location-services-s7p6whyp.js → filesystem-n0raz6dg.js} +4 -4
- package/dist/chunks/{location-services-ezpa2rgc.js → filesystem-n1gr2kpt.js} +4 -4
- package/dist/chunks/{location-services-zdmnyygs.js → filesystem-n2h4jtew.js} +2 -2
- package/dist/chunks/{location-services-8q0vay4d.js → filesystem-n61g9vyf.js} +33 -33
- package/dist/chunks/{location-services-w42rwbpm.js → filesystem-n6v0k17x.js} +11 -11
- package/dist/chunks/{location-services-770pw0s1.js → filesystem-nah043kf.js} +4 -4
- package/dist/chunks/{location-services-fgxw29yc.js → filesystem-nbdtng8k.js} +23 -23
- package/dist/chunks/{location-services-0g64hxqv.js → filesystem-nk58jtss.js} +21 -21
- package/dist/chunks/{location-services-55dcfv8x.js → filesystem-nkdehe09.js} +33 -33
- package/dist/chunks/{location-services-tn5gxkrv.js → filesystem-nv9tsjma.js} +6 -6
- package/dist/chunks/{location-services-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{location-services-sptzjft0.js → filesystem-p6aax6q6.js} +17 -17
- package/dist/chunks/{location-services-g42b6ca9.js → filesystem-p76me67c.js} +4 -4
- package/dist/chunks/{location-services-pkf3y2cc.js → filesystem-pbbktnbz.js} +4 -4
- package/dist/chunks/{location-services-rd7zvbs4.js → filesystem-pcrfxpzv.js} +20 -15
- package/dist/chunks/{location-services-x6x2eb9s.js → filesystem-pd94qqs3.js} +10 -10
- package/dist/chunks/{location-services-h9w9z87g.js → filesystem-pgzqbqf1.js} +8 -8
- package/dist/chunks/{location-services-dbd02vxg.js → filesystem-phmgxt2f.js} +3 -3
- package/dist/chunks/{location-services-2d01vmvx.js → filesystem-pj65rgyr.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-fg9p65nk.js → filesystem-prq7xxp2.js} +6 -6
- package/dist/chunks/{location-services-v1heev1a.js → filesystem-psfkywbe.js} +25 -25
- package/dist/chunks/{location-services-n6wm1y8w.js → filesystem-pvpa9p11.js} +41 -41
- package/dist/chunks/{location-services-1rken8tp.js → filesystem-pw343ads.js} +34 -34
- package/dist/chunks/{location-services-702vahjz.js → filesystem-qbhjbqdd.js} +15 -15
- package/dist/chunks/{location-services-mwm9x9q2.js → filesystem-qf8srjpf.js} +25 -16
- package/dist/chunks/{location-services-a0mx2tpn.js → filesystem-qgjxsz2y.js} +18 -18
- package/dist/chunks/{location-services-m4376bw8.js → filesystem-qmx7pqgw.js} +12 -12
- package/dist/chunks/{location-services-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-services-qggetshm.js → filesystem-qpa23kw8.js} +32 -32
- package/dist/chunks/{location-services-z356t07w.js → filesystem-qqvy8y24.js} +19 -13
- package/dist/chunks/filesystem-qv57zvvg.js +525 -0
- package/dist/chunks/{location-services-gm2a68z7.js → filesystem-r0dsnsr8.js} +16 -16
- package/dist/chunks/{location-services-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-services-4sx046aw.js → filesystem-r2rzgj46.js} +22 -22
- package/dist/chunks/{location-services-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
- package/dist/chunks/{location-services-31bqbk2x.js → filesystem-r8m134k8.js} +11 -11
- package/dist/chunks/{location-services-5kkvb5q9.js → filesystem-r98dxkx5.js} +24 -24
- package/dist/chunks/{location-services-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-e7wnnxma.js → filesystem-rcthcsey.js} +13 -13
- package/dist/chunks/{location-services-nggscxdc.js → filesystem-rerxfbrr.js} +19 -19
- package/dist/chunks/{location-services-sngd0g0b.js → filesystem-rfy1qsv0.js} +5 -5
- package/dist/chunks/{location-services-yqhz1kx0.js → filesystem-rgzggw2r.js} +2 -2
- package/dist/chunks/{location-services-vstygr49.js → filesystem-rngmar94.js} +35 -35
- package/dist/chunks/{location-services-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-services-1zp8bfhq.js → filesystem-rvp0ckfz.js} +31 -31
- package/dist/chunks/{location-services-0w3xgafh.js → filesystem-s43pka83.js} +3 -3
- package/dist/chunks/filesystem-s7ertgdh.js +26 -0
- package/dist/chunks/{location-services-s7gmm2q3.js → filesystem-s7gmm2q3.js} +3 -3
- package/dist/chunks/{location-services-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-services-6ccbmx30.js → filesystem-sjq3mznt.js} +11 -11
- package/dist/chunks/{location-services-ewr5k9wg.js → filesystem-snfsmn1e.js} +8 -8
- package/dist/chunks/{location-services-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-services-b1pn0vxn.js → filesystem-ssfehs1z.js} +4 -4
- package/dist/chunks/{location-services-63d5p1eg.js → filesystem-stka8v7r.js} +5 -5
- package/dist/chunks/{location-services-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-services-f6fa8ktk.js → filesystem-t1ncdzfb.js} +32 -32
- package/dist/chunks/{location-services-csz5e332.js → filesystem-t54qx1t0.js} +6 -6
- package/dist/chunks/{location-services-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-tas7fs57.js → filesystem-tf83vx35.js} +7 -7
- package/dist/chunks/{location-services-pt8q01rp.js → filesystem-thq4q9my.js} +10 -10
- package/dist/chunks/{location-services-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{location-services-v0t96s7a.js → filesystem-v0t96s7a.js} +1 -1
- package/dist/chunks/{location-services-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-ra6js1h8.js → filesystem-v5hpj9dd.js} +8 -8
- package/dist/chunks/{location-services-j2nwqr75.js → filesystem-v7rdhf5e.js} +17 -17
- package/dist/chunks/{location-services-2b5hc06j.js → filesystem-vdfc3vwf.js} +26 -26
- package/dist/chunks/{location-services-2zp5a6yg.js → filesystem-vg0erq9k.js} +3 -3
- package/dist/chunks/{location-services-aw1nwnam.js → filesystem-vm40an3j.js} +11 -11
- package/dist/chunks/{location-services-vzppetdn.js → filesystem-vsqvcqta.js} +6 -6
- package/dist/chunks/{location-services-a6k9xjxk.js → filesystem-w1fms507.js} +20 -20
- package/dist/chunks/{location-services-w2eysc6j.js → filesystem-w2eysc6j.js} +2 -2
- package/dist/chunks/{location-services-abazfvew.js → filesystem-w3p04qes.js} +35 -35
- package/dist/chunks/{location-services-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-yp6t9n48.js → filesystem-w5qh0yp9.js} +19 -19
- package/dist/chunks/{location-services-r4fe16v6.js → filesystem-w6763yes.js} +32 -32
- package/dist/chunks/{location-services-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-xtj9bp1x.js → filesystem-wappnbgt.js} +11 -11
- package/dist/chunks/{location-services-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-services-mjyhtj6b.js → filesystem-wq31c655.js} +30 -30
- package/dist/chunks/{location-services-wr3re1en.js → filesystem-wr3re1en.js} +1 -1
- package/dist/chunks/{location-services-ra4hznbt.js → filesystem-ws6kh7b7.js} +12 -12
- package/dist/chunks/{location-services-1xf7nfrf.js → filesystem-wxrneye3.js} +8 -8
- package/dist/chunks/{location-services-rvkbhdv1.js → filesystem-x2kwmbaj.js} +6 -6
- package/dist/chunks/{location-services-z0wqvcxr.js → filesystem-x4vrc5nf.js} +17 -17
- package/dist/chunks/{location-services-43e24x2b.js → filesystem-x4z26120.js} +12 -12
- package/dist/chunks/{location-services-ywbjnqrq.js → filesystem-xajgh51x.js} +13 -13
- package/dist/chunks/{location-services-6x9271ts.js → filesystem-xarg0qdr.js} +6 -6
- package/dist/chunks/{location-services-pqbq7shd.js → filesystem-xbc6qp68.js} +6 -6
- package/dist/chunks/{location-services-wrdfsmbk.js → filesystem-xdkjcj8h.js} +25 -25
- package/dist/chunks/{location-services-t60595ww.js → filesystem-xgjn9k1a.js} +2 -2
- package/dist/chunks/{location-services-9v27091d.js → filesystem-xhesmbhs.js} +23 -23
- package/dist/chunks/{location-services-dn59zr14.js → filesystem-xptjxdz6.js} +16 -16
- package/dist/chunks/{location-services-395g2d1p.js → filesystem-xqx7k15x.js} +53 -53
- package/dist/chunks/{location-services-gtn9c16a.js → filesystem-xt0z8zst.js} +4 -4
- package/dist/chunks/{location-services-g97pjfkw.js → filesystem-y20gse86.js} +11 -11
- package/dist/chunks/{location-services-5kfhck2s.js → filesystem-y47dt2v0.js} +26 -26
- package/dist/chunks/{location-services-kpe2ster.js → filesystem-y5d65aff.js} +15 -15
- package/dist/chunks/{location-services-qkw2jr9b.js → filesystem-yara3q77.js} +2 -2
- package/dist/chunks/{location-services-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-1b1gv51r.js → filesystem-ye085k5q.js} +96 -96
- package/dist/chunks/{location-services-szv4nqnj.js → filesystem-ykamt9jm.js} +29 -29
- package/dist/chunks/{location-services-hc5tnge5.js → filesystem-ynaqhc8e.js} +9 -9
- package/dist/chunks/{location-services-8a0vbgqw.js → filesystem-ytys4wt6.js} +36 -36
- package/dist/chunks/{location-services-xkr18nqd.js → filesystem-ywjp853w.js} +45 -43
- package/dist/chunks/{location-services-mcsw7q1w.js → filesystem-yxy26kq2.js} +12 -12
- package/dist/chunks/filesystem-z355x5yr.js +18 -0
- package/dist/chunks/{location-services-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{location-services-dtz8ehjs.js → filesystem-z6vvjhzx.js} +16 -16
- package/dist/chunks/{location-services-q3ytx1n6.js → filesystem-zes7n4m2.js} +92 -92
- package/dist/chunks/{location-services-hvy79q2t.js → filesystem-zgd8t41s.js} +9 -9
- package/dist/chunks/{location-services-svjraj3c.js → filesystem-zgtpaate.js} +19 -19
- package/dist/chunks/{location-services-y7xh4g9a.js → filesystem-zyfw5drr.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +220 -220
- package/dist/config/plugin/compaction.js +163 -163
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +77 -77
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration.gen.js +56 -56
- package/dist/database/migration.js +58 -58
- 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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -380
- 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 +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +81 -81
- package/dist/file-access.js +149 -149
- package/dist/file-mutation.js +103 -103
- package/dist/file-retention.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/file-watch.js +87 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +229 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +113 -113
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +108 -108
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -371
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +92 -92
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +168 -168
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +370 -368
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -108
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +109 -109
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -340
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +137 -137
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +100 -99
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/credential-settings.js +88 -0
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +103 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +131 -131
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +129 -129
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +122 -122
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +173 -172
- package/dist/plugin/sdk.js +81 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -355
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +93 -93
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +235 -235
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +95 -95
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +231 -231
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +159 -159
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +254 -233
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +191 -191
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +153 -153
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +140 -140
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +134 -134
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -220
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +187 -187
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +231 -231
- package/dist/session/usage.js +1 -1
- package/dist/session.js +224 -224
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +17 -17
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +142 -142
- package/dist/skill.js +145 -145
- package/dist/snapshot.js +102 -102
- 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 +168 -168
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +161 -161
- package/dist/tool/plugin/image-generate.js +237 -0
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +145 -145
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +148 -148
- package/dist/tool/plugin/subagent.js +225 -225
- package/dist/tool/plugin/todo.js +146 -146
- package/dist/tool/plugin/webfetch.js +142 -142
- package/dist/tool/plugin/websearch.js +146 -146
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/job.d.ts +7 -0
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +1 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +1 -1
- package/dist/types/plugin/provider/credential-settings.d.ts +33 -0
- package/dist/types/plugin/provider/gitlab.d.ts +2 -1
- package/dist/types/session/background.d.ts +14 -0
- package/dist/types/tool/plugin/image-generate.d.ts +35 -0
- package/dist/types/tool/plugin/opencode.d.ts +1 -0
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -101
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -98
- package/dist/voice.js +93 -93
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/location-services-00ve6mdn.js +0 -18
- package/dist/chunks/location-services-csqm35kb.js +0 -515
- package/dist/chunks/location-services-nb8ms8t2.js +0 -257
- package/dist/chunks/location-services-pxqj8rbj.js +0 -26
- /package/dist/chunks/{location-services-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1jakw16s.js → filesystem-1jakw16s.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-myztnk54.js → filesystem-myztnk54.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-ncqqe42p.js → filesystem-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-services-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-drvbhkez.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin46 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin41 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin46, exports_identity };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-xptjxdz6.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-61ennm6n.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./filesystem-vdfc3vwf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./filesystem-r0dsnsr8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider3, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
35
|
ID: () => ID13,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service78,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node82,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -332,7 +332,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
332
332
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
|
-
import { Event as
|
|
335
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
336
336
|
var ID13 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -576,9 +576,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
576
576
|
var Cache2 = Provider.Cache;
|
|
577
577
|
var Transport2 = Provider.Transport;
|
|
578
578
|
var Settings2 = Provider.Settings;
|
|
579
|
-
var
|
|
579
|
+
var Info23 = Provider.Info;
|
|
580
580
|
|
|
581
|
-
class
|
|
581
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
582
582
|
}
|
|
583
583
|
var definitions = new WeakMap;
|
|
584
584
|
function index(providerID, models) {
|
|
@@ -591,10 +591,10 @@ function index(providerID, models) {
|
|
|
591
591
|
definitions.set(models, indexes);
|
|
592
592
|
return result;
|
|
593
593
|
}
|
|
594
|
-
var layer = Layer.effect(
|
|
595
|
-
const bus = yield*
|
|
596
|
-
const integrations = yield*
|
|
597
|
-
const location = yield*
|
|
594
|
+
var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
595
|
+
const bus = yield* Service85;
|
|
596
|
+
const integrations = yield* Service79;
|
|
597
|
+
const location = yield* Service82;
|
|
598
598
|
const state = create3({
|
|
599
599
|
name: "provider",
|
|
600
600
|
initial: () => new Map,
|
|
@@ -605,7 +605,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
605
605
|
const current = records.get(id);
|
|
606
606
|
if (current)
|
|
607
607
|
return current;
|
|
608
|
-
const added = { provider:
|
|
608
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
609
609
|
records.set(id, added);
|
|
610
610
|
maps.add(added.models);
|
|
611
611
|
return added;
|
|
@@ -712,8 +712,8 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
712
712
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
713
713
|
});
|
|
714
714
|
});
|
|
715
|
-
yield* bus.subscribe([
|
|
716
|
-
return
|
|
715
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
716
|
+
return Service78.of({
|
|
717
717
|
transform: state.transform,
|
|
718
718
|
reload: state.reload,
|
|
719
719
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
722
722
|
snapshot
|
|
723
723
|
});
|
|
724
724
|
}));
|
|
725
|
-
var
|
|
725
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
|
|
726
726
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
727
727
|
const module = yield* Effect2.tryPromise({
|
|
728
728
|
try: () => {
|
|
@@ -744,4 +744,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
744
744
|
return module;
|
|
745
745
|
});
|
|
746
746
|
|
|
747
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2,
|
|
747
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23, Service78, node82, exports_provider3, Event16 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-0nhbejy7.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-wq31c655.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load4
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load4(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load4(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -94,8 +94,8 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
100
|
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load4, derive3, exports_models2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./filesystem-8cykdwq1.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin3 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service73;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin20 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin3, exports_websearch };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node73,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node73 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node73, exports_driver };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./filesystem-cm18kf9d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./filesystem-8cykdwq1.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-n1gr2kpt.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
scan2
|
|
13
|
+
} from "./filesystem-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin9
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin9 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service73;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service74;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -52,7 +52,7 @@ var Plugin29 = define({
|
|
|
52
52
|
if (!resolved)
|
|
53
53
|
continue;
|
|
54
54
|
yield* watch(resolved, "directory");
|
|
55
|
-
for (const filepath of yield*
|
|
55
|
+
for (const filepath of yield* scan2(resolved)) {
|
|
56
56
|
const content = yield* fs.readFileStringSafe(filepath).pipe(Effect.orElseSucceed(() => {
|
|
57
57
|
return;
|
|
58
58
|
}));
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin9, exports_compatibility };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node71
|
|
9
|
+
} from "./filesystem-r98dxkx5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./filesystem-fj2tjxmw.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry3,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service38,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node42,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry3 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry3),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service38 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry3.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service69;
|
|
335
|
+
return Service38.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node42 = makeLocationNode({ service: Service38, layer, deps: [node71] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service38, read2, node42, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make22,
|
|
13
|
+
node: () => node75,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make22()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make22(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make22(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node75 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make22, useragent2, layer24, configured9, node75, exports_app };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./filesystem-xptjxdz6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./filesystem-bdpbxs8g.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin52,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin52 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service85;
|
|
24
|
+
const wellknown = yield* Service75;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin16 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin52, exports_plugin };
|