@opencode/core 0.0.0-dev-19768 → 0.0.0-dev-19769
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{rpc-6hn9vftv.js → repository-0294hark.js} +87 -87
- package/dist/chunks/{rpc-edh6544k.js → repository-02cs18yf.js} +41 -41
- package/dist/chunks/{rpc-s8zy8myc.js → repository-0f9afca0.js} +5 -5
- package/dist/chunks/{rpc-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{rpc-jv01nqvq.js → repository-0r7yqxbf.js} +5 -5
- package/dist/chunks/{rpc-ezfr3s8z.js → repository-11faaktz.js} +13 -13
- package/dist/chunks/{rpc-7yts529q.js → repository-122dvtp1.js} +15 -15
- package/dist/chunks/{rpc-qae5j9tx.js → repository-1ax7tqy2.js} +13 -13
- package/dist/chunks/{rpc-40rf1k3m.js → repository-1c6rvf29.js} +40 -40
- package/dist/chunks/{rpc-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-8tsgd2r8.js → repository-1fg9yqa8.js} +4 -4
- package/dist/chunks/{rpc-mg7x2rv6.js → repository-1hgfyhjr.js} +22 -22
- package/dist/chunks/{rpc-j23k1r36.js → repository-1tmm29rr.js} +6 -6
- package/dist/chunks/{rpc-ybhbtxjg.js → repository-1vr0zdnx.js} +6 -6
- package/dist/chunks/{rpc-gmjp8629.js → repository-1z0t5xwh.js} +27 -27
- package/dist/chunks/{rpc-4qe7px6w.js → repository-1z7773kr.js} +12 -12
- package/dist/chunks/{rpc-06bvpamw.js → repository-21418s17.js} +24 -24
- package/dist/chunks/{rpc-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-mhvv609m.js → repository-21yy59vd.js} +15 -15
- package/dist/chunks/{rpc-7w3s9kd0.js → repository-23sxaqwc.js} +6 -6
- package/dist/chunks/{rpc-441xk2wv.js → repository-29eh7px0.js} +5 -5
- package/dist/chunks/{rpc-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-fcrkznn8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{rpc-hqwen7m6.js → repository-2m6tdwb7.js} +3 -3
- package/dist/chunks/{rpc-v3ydn9tj.js → repository-2rt9jbq4.js} +6 -6
- package/dist/chunks/{rpc-hfdr1yjj.js → repository-2tfmgkzg.js} +4 -4
- package/dist/chunks/{rpc-0n0jwsa4.js → repository-2wb81fjp.js} +18 -18
- package/dist/chunks/{rpc-51gh9mjg.js → repository-2wk1s5ej.js} +9 -9
- package/dist/chunks/{rpc-g3m59t07.js → repository-2z51qmx0.js} +35 -35
- package/dist/chunks/{rpc-pjbbry3y.js → repository-328cx775.js} +49 -49
- package/dist/chunks/{rpc-fvr26rhy.js → repository-38d1cmqw.js} +24 -24
- package/dist/chunks/{rpc-8443f5nj.js → repository-3f29nsc9.js} +11 -11
- package/dist/chunks/{rpc-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-syp7yks4.js → repository-3gq312nc.js} +11 -11
- package/dist/chunks/{rpc-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-pbsjr92h.js → repository-3j8q1kjc.js} +35 -35
- package/dist/chunks/{rpc-mqfnncbp.js → repository-3jmhxbye.js} +19 -19
- package/dist/chunks/{rpc-97gjn119.js → repository-3pkejnne.js} +25 -25
- package/dist/chunks/{rpc-8ngn4amj.js → repository-3pvrcrbr.js} +13 -13
- package/dist/chunks/{rpc-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-hv3s9zhd.js → repository-3srb4c33.js} +36 -36
- package/dist/chunks/{rpc-6tfzq80j.js → repository-3sz2bchy.js} +10 -10
- package/dist/chunks/{rpc-3tq5qxbk.js → repository-3tq5qxbk.js} +2 -2
- package/dist/chunks/{rpc-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-dpgzjw3q.js → repository-4gawe8x4.js} +11 -11
- package/dist/chunks/{rpc-07b8vxfr.js → repository-4jnysezt.js} +17 -17
- package/dist/chunks/{rpc-j4vv2j34.js → repository-4qkvfqqk.js} +27 -27
- package/dist/chunks/{rpc-33w4ejhs.js → repository-56gdpj1q.js} +6 -6
- package/dist/chunks/{rpc-57b9ws8p.js → repository-57b9ws8p.js} +1 -1
- package/dist/chunks/{rpc-7g1b9e87.js → repository-5bgvk8my.js} +173 -173
- package/dist/chunks/{rpc-a1bz86dw.js → repository-5c4hm403.js} +3 -3
- package/dist/chunks/{rpc-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-mavm30sz.js → repository-5pdbn9ps.js} +19 -19
- package/dist/chunks/{rpc-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-gyapv7tm.js → repository-5v1trjgx.js} +18 -18
- package/dist/chunks/{rpc-sg42avej.js → repository-5w45afp5.js} +3 -3
- package/dist/chunks/{rpc-5xtgfte3.js → repository-5xtgfte3.js} +1 -1
- package/dist/chunks/{rpc-j5tqr8d8.js → repository-5zhg5203.js} +7 -7
- package/dist/chunks/{rpc-jtx211qb.js → repository-64ec3t10.js} +15 -15
- package/dist/chunks/{rpc-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{rpc-wzqp383c.js → repository-6brvp8jk.js} +11 -11
- package/dist/chunks/{rpc-3dwcw46t.js → repository-6gcwrvb4.js} +9 -9
- package/dist/chunks/{rpc-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{rpc-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-a2ek1kst.js → repository-6y44j97d.js} +14 -14
- package/dist/chunks/{rpc-ek5sz9e1.js → repository-6ymf14rh.js} +10 -10
- package/dist/chunks/{rpc-73tb2d7t.js → repository-73tb2d7t.js} +1 -1
- package/dist/chunks/{rpc-rh2p6mtd.js → repository-74zwf8gc.js} +78 -78
- package/dist/chunks/{rpc-nhmc2t1k.js → repository-7a8n5hjw.js} +5 -5
- package/dist/chunks/{rpc-ws473m72.js → repository-7arn502q.js} +22 -22
- package/dist/chunks/{rpc-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-qtd9gqp3.js → repository-7bz5ees8.js} +22 -22
- package/dist/chunks/{rpc-5a2kpf64.js → repository-7c3st4jz.js} +28 -28
- package/dist/chunks/{rpc-n5ne16bz.js → repository-7g7gx5pj.js} +23 -23
- package/dist/chunks/{rpc-00x4qneg.js → repository-7j2qha59.js} +8 -8
- package/dist/chunks/{rpc-t3d1g0ha.js → repository-7k43vd6t.js} +46 -46
- package/dist/chunks/{rpc-qh0vj5b9.js → repository-7ns1f3fm.js} +5 -5
- package/dist/chunks/{rpc-6xqrezwf.js → repository-80783bh5.js} +23 -23
- package/dist/chunks/{rpc-ep6z9mt6.js → repository-818pfwc9.js} +8 -8
- package/dist/chunks/{rpc-57ez7d0k.js → repository-81swgkk7.js} +7 -7
- package/dist/chunks/{rpc-yajvsn8f.js → repository-851wtqqf.js} +4 -4
- package/dist/chunks/{rpc-jb048psh.js → repository-85ph882g.js} +5 -5
- package/dist/chunks/{rpc-j13jypnt.js → repository-89avhe1g.js} +17 -17
- package/dist/chunks/{rpc-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-5nf8yzxg.js → repository-8dbdhz5n.js} +16 -16
- package/dist/chunks/{rpc-7gxx14q2.js → repository-8gtmmj3e.js} +32 -32
- package/dist/chunks/{rpc-ckf8nxjz.js → repository-8gxqpgph.js} +4 -4
- package/dist/chunks/{rpc-19psw4kw.js → repository-8sp84cjn.js} +35 -35
- package/dist/chunks/{rpc-fxwbeahb.js → repository-95nee50p.js} +1 -1
- package/dist/chunks/{rpc-6ztcfs7p.js → repository-96r3cgq7.js} +9 -9
- package/dist/chunks/{rpc-0xz2rdzt.js → repository-98bk4qe8.js} +10 -10
- package/dist/chunks/{rpc-zpgjk8rp.js → repository-99e2g3zc.js} +35 -35
- package/dist/chunks/{rpc-q33zykbw.js → repository-9b1atvvx.js} +20 -20
- package/dist/chunks/{rpc-g6xkpydp.js → repository-9b6r1n9h.js} +42 -42
- package/dist/chunks/{rpc-2a1gw4e3.js → repository-9gzsgfm4.js} +18 -18
- package/dist/chunks/{rpc-hq2ecabm.js → repository-9ppytv0z.js} +27 -27
- package/dist/chunks/{rpc-0f2hvcp0.js → repository-9ws33mfb.js} +5 -5
- package/dist/chunks/{rpc-jzbdx67q.js → repository-a04068z3.js} +32 -32
- package/dist/chunks/{rpc-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-dd4gamh2.js → repository-aejz0fra.js} +20 -20
- package/dist/chunks/{rpc-717ghxt8.js → repository-aj9sfs2c.js} +13 -13
- package/dist/chunks/{rpc-jn1kr1e6.js → repository-an855pfc.js} +27 -27
- package/dist/chunks/{rpc-jjrn94s5.js → repository-aqcfb23j.js} +11 -11
- package/dist/chunks/{rpc-thjxzeng.js → repository-at1kfnmk.js} +8 -8
- package/dist/chunks/{rpc-s57t15fh.js → repository-ayec40qr.js} +20 -20
- package/dist/chunks/{rpc-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-nx57ndsc.js → repository-bbtvb4qv.js} +11 -11
- package/dist/chunks/{rpc-zz1fc49n.js → repository-btjhzyrj.js} +60 -60
- package/dist/chunks/repository-by5v678g.js +18 -0
- package/dist/chunks/{rpc-6fatt4mk.js → repository-bydnjh3t.js} +9 -9
- package/dist/chunks/{rpc-zvxcd2m0.js → repository-c2d5mwvj.js} +47 -47
- package/dist/chunks/{rpc-qv8k3wm0.js → repository-c9thm2jp.js} +16 -16
- package/dist/chunks/{rpc-hza46zh2.js → repository-cc3rhb19.js} +51 -51
- package/dist/chunks/{rpc-dapwe4r9.js → repository-ccs15j7g.js} +29 -29
- package/dist/chunks/{rpc-dvdg9bhy.js → repository-ce65tj11.js} +51 -51
- package/dist/chunks/{rpc-dg8gsmcc.js → repository-cefpf2j3.js} +16 -16
- package/dist/chunks/{rpc-djszqvmq.js → repository-cwa6csj7.js} +9 -9
- package/dist/chunks/{rpc-8p4f9s12.js → repository-dj2t23y0.js} +2 -2
- package/dist/chunks/{rpc-zprjnq06.js → repository-dkepx75h.js} +11 -11
- package/dist/chunks/{rpc-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{rpc-cw0rdypx.js → repository-dv9a7byg.js} +3 -3
- package/dist/chunks/{rpc-epepptxw.js → repository-dzrcb86n.js} +29 -29
- package/dist/chunks/{rpc-jx9d81yp.js → repository-e188km2a.js} +15 -15
- package/dist/chunks/{rpc-z5qf6xj2.js → repository-e248x3jn.js} +12 -12
- package/dist/chunks/{rpc-wf89y6c3.js → repository-e36qgvhn.js} +11 -11
- package/dist/chunks/{rpc-gnn011q2.js → repository-e48wdnmq.js} +32 -32
- package/dist/chunks/repository-e83h8wp6.js +252 -0
- package/dist/chunks/{rpc-s8d7rejh.js → repository-eaj1djv9.js} +6 -6
- package/dist/chunks/{rpc-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-jddfrygf.js → repository-ej74qwfk.js} +10 -10
- package/dist/chunks/{rpc-qrvxy8qx.js → repository-ejwr8mgp.js} +12 -12
- package/dist/chunks/{rpc-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
- package/dist/chunks/{rpc-qb73q4j5.js → repository-etckb5nd.js} +27 -27
- package/dist/chunks/{rpc-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-1rtae4b3.js → repository-f0173z6s.js} +4 -4
- package/dist/chunks/{rpc-41qxn9en.js → repository-fbw0vhp1.js} +11 -11
- package/dist/chunks/{rpc-8vw1s5ac.js → repository-fhqgz6t0.js} +31 -31
- package/dist/chunks/{rpc-pnv527nz.js → repository-fhs97t90.js} +9 -9
- package/dist/chunks/{rpc-dw280mng.js → repository-fkd8950d.js} +22 -22
- package/dist/chunks/{rpc-kd7h4dp8.js → repository-fn8r46yt.js} +28 -28
- package/dist/chunks/{rpc-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{rpc-m9g140gf.js → repository-fxmgg4aj.js} +4 -4
- package/dist/chunks/{rpc-magykp64.js → repository-g190xswt.js} +4 -4
- package/dist/chunks/{rpc-s4anq1bw.js → repository-g8atgw3j.js} +8 -8
- package/dist/chunks/{rpc-np07f3yb.js → repository-gbgzsaak.js} +34 -34
- package/dist/chunks/{rpc-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-5x7c2wf2.js → repository-gyk8a0b3.js} +33 -33
- package/dist/chunks/{rpc-4e8qszek.js → repository-h196rex3.js} +28 -28
- package/dist/chunks/{rpc-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-f828m53h.js → repository-hdnk95c8.js} +2 -2
- package/dist/chunks/{rpc-30aq1584.js → repository-hmc4zdtv.js} +5 -5
- package/dist/chunks/{rpc-vk8r472f.js → repository-hrsq9gd1.js} +9 -9
- package/dist/chunks/{rpc-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-3qqmmvpd.js → repository-j7d6k5qg.js} +5 -5
- package/dist/chunks/{rpc-8fr063mm.js → repository-j7j31x51.js} +6 -6
- package/dist/chunks/{rpc-jexxy024.js → repository-j7wq2tw5.js} +3 -3
- package/dist/chunks/{rpc-661x4vhc.js → repository-jef2745y.js} +15 -15
- package/dist/chunks/{rpc-kfr15afm.js → repository-jp1thbes.js} +36 -36
- package/dist/chunks/{rpc-4v96es07.js → repository-jywznmgw.js} +22 -22
- package/dist/chunks/{rpc-hs0k9zzv.js → repository-k12tcn4w.js} +9 -9
- package/dist/chunks/{rpc-3qbarsqj.js → repository-k73yd5yd.js} +3 -3
- package/dist/chunks/{rpc-ajcq3rsy.js → repository-k7smy2rd.js} +6 -6
- package/dist/chunks/{rpc-gebvexjm.js → repository-k8374c5q.js} +5 -5
- package/dist/chunks/{rpc-azc3hc5h.js → repository-kj2sv36s.js} +5 -5
- package/dist/chunks/{rpc-p5e71svx.js → repository-kjczd05a.js} +24 -24
- package/dist/chunks/{rpc-xjw2fkvc.js → repository-krbqxjpe.js} +8 -8
- package/dist/chunks/{rpc-1qstprnj.js → repository-kypwaetd.js} +14 -14
- package/dist/chunks/{rpc-cfpkc3c9.js → repository-m0jqrx5p.js} +2 -2
- package/dist/chunks/{rpc-g5s1rrt4.js → repository-m2542dxt.js} +4 -4
- package/dist/chunks/{rpc-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-31qexks3.js → repository-m4x4s9k7.js} +8 -8
- package/dist/chunks/{rpc-7empqehg.js → repository-m8akdy0v.js} +31 -31
- package/dist/chunks/{rpc-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-e0k1f92f.js → repository-mmvpf3z9.js} +23 -23
- package/dist/chunks/{rpc-3jqbcwss.js → repository-mt8rgcqf.js} +5 -5
- package/dist/chunks/{rpc-g6rzz18z.js → repository-n6wrsq7f.js} +9 -9
- package/dist/chunks/{rpc-03ya27h5.js → repository-n8a799tr.js} +24 -24
- package/dist/chunks/{rpc-pcsvgb1d.js → repository-ne89hd12.js} +69 -69
- package/dist/chunks/{rpc-gva4v50q.js → repository-nms28mnr.js} +11 -11
- package/dist/chunks/{rpc-1e47xjzc.js → repository-nw2nz702.js} +4 -4
- package/dist/chunks/{rpc-nzks3jc8.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{rpc-h6r3nrb9.js → repository-nzyhnfxz.js} +4 -4
- package/dist/chunks/{rpc-pqek5mm2.js → repository-p1dtcdn6.js} +43 -43
- package/dist/chunks/{rpc-p28j5sbe.js → repository-p28j5sbe.js} +2 -2
- package/dist/chunks/{rpc-qa6ap8y2.js → repository-p6z56n1j.js} +11 -11
- package/dist/chunks/repository-p7df8h7a.js +26 -0
- package/dist/chunks/{rpc-06dxphr1.js → repository-paegk39x.js} +4 -4
- package/dist/chunks/{rpc-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-a9kshccq.js → repository-pjy5167v.js} +20 -20
- package/dist/chunks/{rpc-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-kt4y0cem.js → repository-pnstgbf5.js} +18 -18
- package/dist/chunks/{rpc-9jdzzeg8.js → repository-ppqt0576.js} +14 -14
- package/dist/chunks/{rpc-x76psje3.js → repository-pwb6zpac.js} +15 -15
- package/dist/chunks/{rpc-wmaj8b0d.js → repository-pyx37xrr.js} +38 -38
- package/dist/chunks/{rpc-0pke5f7x.js → repository-qb3z2rd2.js} +3 -3
- package/dist/chunks/{rpc-by79b0xz.js → repository-qdakzt9p.js} +9 -9
- package/dist/chunks/{rpc-rq70gna5.js → repository-qdvbds2a.js} +19 -19
- package/dist/chunks/{rpc-bk9n9jmm.js → repository-qmyzm461.js} +15 -15
- package/dist/chunks/{rpc-vatx7znk.js → repository-qpbc7zwf.js} +5 -5
- package/dist/chunks/{rpc-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-4qtnyxmw.js → repository-qss189bp.js} +23 -23
- package/dist/chunks/{rpc-zpb79gje.js → repository-qyzwb919.js} +25 -25
- package/dist/chunks/{rpc-q107adn3.js → repository-rbsrykmc.js} +20 -20
- package/dist/chunks/{rpc-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-d1scngp8.js → repository-rkhtkbzg.js} +16 -16
- package/dist/chunks/{rpc-6tr03act.js → repository-rqx49y6e.js} +306 -306
- package/dist/chunks/{rpc-8v81ap7w.js → repository-rwtc3fw1.js} +5 -5
- package/dist/chunks/{rpc-jfqtm2ew.js → repository-ryr25ayn.js} +4 -4
- package/dist/chunks/{rpc-hfkxt40j.js → repository-rz6nd0at.js} +31 -31
- package/dist/chunks/{rpc-eyrmmecm.js → repository-s5erq2b1.js} +17 -17
- package/dist/chunks/{rpc-5d58ppw3.js → repository-s9a2knzy.js} +8 -8
- package/dist/chunks/{rpc-f535mys6.js → repository-s9kcfb9z.js} +1 -1
- package/dist/chunks/{rpc-gr1f03ws.js → repository-scv7p57g.js} +9 -9
- package/dist/chunks/{rpc-rwwy1xdt.js → repository-se91gbej.js} +44 -44
- package/dist/chunks/{rpc-p3p972wa.js → repository-sfkj0ta1.js} +5 -5
- package/dist/chunks/{rpc-sgm8jqx6.js → repository-sfq66c4x.js} +30 -30
- package/dist/chunks/{rpc-9gdca3sp.js → repository-snkcc4fb.js} +4 -4
- package/dist/chunks/{rpc-wfz590pn.js → repository-spdwqtpn.js} +9 -9
- package/dist/chunks/{rpc-pmr4s4kc.js → repository-sx1n432n.js} +4 -4
- package/dist/chunks/{rpc-tn0aqsam.js → repository-t0fxg8b9.js} +5 -5
- package/dist/chunks/{rpc-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-nb9p6b26.js → repository-tbmac1c7.js} +4 -4
- package/dist/chunks/{rpc-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{rpc-bz85s9hh.js → repository-tcg29b4q.js} +1 -1
- package/dist/chunks/{rpc-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-2an2d3m2.js → repository-tehh278v.js} +14 -14
- package/dist/chunks/{rpc-5bwjhp8y.js → repository-tf0sfjy1.js} +13 -13
- package/dist/chunks/{rpc-2ckxww5x.js → repository-tgyp3sag.js} +30 -30
- package/dist/chunks/{rpc-eadymk8b.js → repository-tmrdwbct.js} +19 -19
- package/dist/chunks/{rpc-j5e1h5hs.js → repository-tqd2p7vb.js} +15 -15
- package/dist/chunks/{rpc-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-sypfrgdy.js → repository-tz3nmx0j.js} +24 -24
- package/dist/chunks/{rpc-kxsbrv8e.js → repository-v1nykaf9.js} +30 -30
- package/dist/chunks/{rpc-wxa7yx13.js → repository-v4hmrze8.js} +10 -10
- package/dist/chunks/{rpc-wyh7k2em.js → repository-vd3gnyv8.js} +11 -11
- package/dist/chunks/{rpc-q61cgpyx.js → repository-vd6cqa4j.js} +17 -17
- package/dist/chunks/{rpc-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-q16mtjj8.js → repository-vk6zr57k.js} +13 -13
- package/dist/chunks/{rpc-41dhw66n.js → repository-vm6v9059.js} +11 -11
- package/dist/chunks/{rpc-63b7dk7a.js → repository-vqxaxcf1.js} +13 -13
- package/dist/chunks/{rpc-cm2gcn74.js → repository-vxd5ygdv.js} +46 -46
- package/dist/chunks/{rpc-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-cpy6gm2a.js → repository-w4arg62q.js} +6 -6
- package/dist/chunks/{rpc-2gx3p52k.js → repository-w6xp1hem.js} +2 -2
- package/dist/chunks/{rpc-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-krct5xdr.js → repository-wdw0r690.js} +11 -11
- package/dist/chunks/{rpc-mvzc9sxt.js → repository-wdy8ayv0.js} +31 -31
- package/dist/chunks/{rpc-4nc59ys8.js → repository-wnbgtmcr.js} +24 -24
- package/dist/chunks/{rpc-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-8q9myf25.js → repository-xcd0eash.js} +6 -6
- package/dist/chunks/{rpc-67hqntb1.js → repository-xetzeabr.js} +17 -17
- package/dist/chunks/{rpc-a3r4dcrj.js → repository-xg9t41r3.js} +2 -2
- package/dist/chunks/{rpc-385gehc9.js → repository-xkz7c9k1.js} +22 -22
- package/dist/chunks/{rpc-9mnvft0v.js → repository-xrpj31b0.js} +5 -5
- package/dist/chunks/{rpc-dz1g8w7a.js → repository-xv0a7vy5.js} +32 -32
- package/dist/chunks/{rpc-yk0m5prq.js → repository-xv28g7bs.js} +4 -4
- package/dist/chunks/{rpc-gqft2nrr.js → repository-xwfaabrj.js} +6 -6
- package/dist/chunks/{rpc-77xv8qnb.js → repository-xx5d256e.js} +25 -25
- package/dist/chunks/{rpc-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-90tmb45y.js → repository-y4e3v118.js} +14 -14
- package/dist/chunks/{rpc-qktg6xag.js → repository-yaamm28n.js} +21 -21
- package/dist/chunks/{rpc-hg8tmwnc.js → repository-yexpv489.js} +32 -32
- package/dist/chunks/{rpc-ccerenm9.js → repository-yn2ye6x1.js} +28 -28
- package/dist/chunks/{rpc-r8xr0va3.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{rpc-xtt9hgyv.js → repository-yqgrxd6e.js} +32 -32
- package/dist/chunks/{rpc-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-1hay94c8.js → repository-z73117hq.js} +8 -8
- package/dist/chunks/{rpc-vgcdvw7k.js → repository-z9jh4hq6.js} +10 -10
- package/dist/chunks/{rpc-jjdgzahf.js → repository-zbx1chvt.js} +11 -11
- package/dist/chunks/{rpc-3pj53k19.js → repository-zd485wpt.js} +7 -7
- package/dist/chunks/{rpc-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-59430qn2.js → repository-zqkcer71.js} +24 -24
- package/dist/chunks/{rpc-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- 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 +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- 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 +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/rpc-d9rhtefz.js +0 -252
- package/dist/chunks/rpc-decdbwb1.js +0 -26
- package/dist/chunks/rpc-jqh9b0xq.js +0 -18
- /package/dist/chunks/{rpc-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{rpc-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service45,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service45, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service45.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service48, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service45, node48, exports_environment };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./repository-8dbdhz5n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./repository-3srb4c33.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./repository-xkz7c9k1.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./repository-rkhtkbzg.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-wnbgtmcr.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-xrpj31b0.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service57,
|
|
36
|
+
Event12,
|
|
37
|
+
node60
|
|
38
|
+
} from "./repository-7g7gx5pj.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service46,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer18,
|
|
53
|
+
node: () => node49,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service76;
|
|
97
|
+
const watcher = yield* Service47;
|
|
98
|
+
const bus = yield* Service81;
|
|
99
|
+
const credentials = yield* Service68;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service57;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service46.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service46,
|
|
268
|
+
layer: layer18(options),
|
|
269
|
+
deps: [node50, node85, FSUtil.node, Global.node, node80, node72, node60]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node49 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service46, Test2, testLayer2, layer18, configured6, node49, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./repository-xkz7c9k1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service47;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./repository-ejwr8mgp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./repository-1ax7tqy2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service79,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node83,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service79 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service80;
|
|
110
|
+
return Service79.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node83 = makeGlobalNode({
|
|
171
|
+
service: Service79,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node84]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service79, isError2, validateBranch2, node83, exports_repository_cache };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./repository-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-3f29nsc9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID9
|
|
6
|
+
} from "./repository-8sp84cjn.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./repository-8sp84cjn.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-3f29nsc9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./repository-8dbdhz5n.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./repository-3srb4c33.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-yqgrxd6e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./repository-8sp84cjn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-2z51qmx0.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID9.make("digitalocean");
|
|
31
|
+
var integrationID = ID10.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service81;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./repository-3gq312nc.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service81,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service81 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service81,
|
|
84
|
+
deps: [node86],
|
|
85
|
+
layer: Layer.effect(Service81, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service82;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service81.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
|