@opencode/core 0.0.0-dev-19767 → 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 +78 -78
- 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/{worktree-4hxng2fz.js → repository-0294hark.js} +94 -94
- package/dist/chunks/{worktree-jwbs44k2.js → repository-02cs18yf.js} +42 -42
- package/dist/chunks/{worktree-cr07tj7n.js → repository-0f9afca0.js} +5 -5
- package/dist/chunks/repository-0mesazry.js +4 -0
- package/dist/chunks/{worktree-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-rgs851g5.js → repository-0r7yqxbf.js} +5 -5
- package/dist/chunks/{worktree-xd9rknpb.js → repository-11faaktz.js} +15 -15
- package/dist/chunks/{worktree-vb8m6727.js → repository-122dvtp1.js} +17 -17
- package/dist/chunks/{worktree-0e1gq3bc.js → repository-1ax7tqy2.js} +13 -13
- package/dist/chunks/{worktree-2khg11rk.js → repository-1c6rvf29.js} +42 -42
- package/dist/chunks/{worktree-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-jq6rrm66.js → repository-1fg9yqa8.js} +4 -4
- package/dist/chunks/{worktree-vvm2z6z1.js → repository-1hgfyhjr.js} +15 -15
- package/dist/chunks/{worktree-6kbabvtn.js → repository-1tmm29rr.js} +6 -6
- package/dist/chunks/{worktree-3ktbe3hf.js → repository-1vr0zdnx.js} +3 -3
- package/dist/chunks/{worktree-4gsbf2fy.js → repository-1z0t5xwh.js} +27 -27
- package/dist/chunks/{worktree-fqpen2k4.js → repository-1z7773kr.js} +12 -12
- package/dist/chunks/{worktree-kgy5z1s6.js → repository-21418s17.js} +35 -35
- package/dist/chunks/{worktree-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-byvb6gjv.js → repository-21yy59vd.js} +17 -17
- package/dist/chunks/{worktree-7s6gk46a.js → repository-23sxaqwc.js} +9 -9
- package/dist/chunks/{worktree-q52v1zkd.js → repository-29eh7px0.js} +9 -9
- package/dist/chunks/{worktree-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-607tc6va.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-9vh5rqp9.js → repository-2m6tdwb7.js} +3 -3
- package/dist/chunks/{worktree-d9kvw835.js → repository-2rt9jbq4.js} +6 -6
- package/dist/chunks/{worktree-bha4atvq.js → repository-2tfmgkzg.js} +4 -4
- package/dist/chunks/{worktree-xrkx1905.js → repository-2wb81fjp.js} +18 -18
- package/dist/chunks/{worktree-ng27n122.js → repository-2wk1s5ej.js} +9 -9
- package/dist/chunks/{worktree-hw9rayzm.js → repository-2z51qmx0.js} +30 -30
- package/dist/chunks/{worktree-p32pf1ka.js → repository-328cx775.js} +54 -54
- package/dist/chunks/{worktree-e2qcy9fz.js → repository-38d1cmqw.js} +24 -24
- package/dist/chunks/{worktree-j972s74s.js → repository-3f29nsc9.js} +11 -11
- package/dist/chunks/{worktree-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-973s4paq.js → repository-3gq312nc.js} +11 -11
- package/dist/chunks/{worktree-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3zgscayf.js → repository-3j8q1kjc.js} +22 -22
- package/dist/chunks/{worktree-j72rwyf1.js → repository-3jmhxbye.js} +19 -19
- package/dist/chunks/{worktree-ra1f23w6.js → repository-3pkejnne.js} +28 -28
- package/dist/chunks/{worktree-vtmwze1j.js → repository-3pvrcrbr.js} +13 -13
- package/dist/chunks/{worktree-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-4bgp2aek.js → repository-3srb4c33.js} +34 -34
- package/dist/chunks/{worktree-jja466qr.js → repository-3sz2bchy.js} +13 -13
- package/dist/chunks/{worktree-zqx8wcya.js → repository-3tq5qxbk.js} +6 -6
- package/dist/chunks/{worktree-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-fdcdwsmf.js → repository-4gawe8x4.js} +11 -11
- package/dist/chunks/{worktree-vcy486hh.js → repository-4jnysezt.js} +15 -15
- package/dist/chunks/{worktree-kqs2tyv4.js → repository-4qkvfqqk.js} +27 -27
- package/dist/chunks/{worktree-33w4ejhs.js → repository-56gdpj1q.js} +6 -6
- package/dist/chunks/{worktree-qqeeq2t9.js → repository-57b9ws8p.js} +4 -4
- package/dist/chunks/{worktree-2hckyyez.js → repository-5bgvk8my.js} +181 -181
- package/dist/chunks/{worktree-a1bz86dw.js → repository-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-m25ehp29.js → repository-5pdbn9ps.js} +22 -22
- package/dist/chunks/{worktree-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-qz1kxtc0.js → repository-5v1trjgx.js} +10 -10
- package/dist/chunks/{worktree-n8j2gzbp.js → repository-5w45afp5.js} +6 -6
- package/dist/chunks/{worktree-9hn6k4tm.js → repository-5xtgfte3.js} +8 -8
- package/dist/chunks/{worktree-0kzr3yfx.js → repository-5zhg5203.js} +7 -7
- package/dist/chunks/{worktree-s8322d80.js → repository-64ec3t10.js} +15 -15
- package/dist/chunks/{worktree-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{worktree-1vk3brhq.js → repository-6brvp8jk.js} +11 -11
- package/dist/chunks/{worktree-tajkn4gv.js → repository-6gcwrvb4.js} +6 -6
- package/dist/chunks/{worktree-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
- package/dist/chunks/{worktree-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-99jpd8te.js → repository-6y44j97d.js} +18 -18
- package/dist/chunks/{worktree-5egw3kcn.js → repository-6ymf14rh.js} +10 -10
- package/dist/chunks/{worktree-1bbkgx8g.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{worktree-h0j9vckn.js → repository-74zwf8gc.js} +90 -90
- package/dist/chunks/{worktree-1mjwcf4w.js → repository-7a8n5hjw.js} +8 -8
- package/dist/chunks/{worktree-5v9kt04s.js → repository-7arn502q.js} +15 -15
- package/dist/chunks/{worktree-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-sw0n0a6k.js → repository-7bz5ees8.js} +32 -32
- package/dist/chunks/{worktree-cdjzdxw3.js → repository-7c3st4jz.js} +28 -28
- package/dist/chunks/{worktree-y7668axm.js → repository-7g7gx5pj.js} +22 -22
- package/dist/chunks/{worktree-2aet7wja.js → repository-7j2qha59.js} +8 -8
- package/dist/chunks/{worktree-zkgb1gnz.js → repository-7k43vd6t.js} +49 -49
- package/dist/chunks/{worktree-pyv0448z.js → repository-7ns1f3fm.js} +8 -8
- package/dist/chunks/{worktree-necmxhx4.js → repository-80783bh5.js} +20 -20
- package/dist/chunks/{worktree-y7x142mt.js → repository-818pfwc9.js} +8 -8
- package/dist/chunks/{worktree-57ez7d0k.js → repository-81swgkk7.js} +7 -7
- package/dist/chunks/{worktree-ggex864g.js → repository-851wtqqf.js} +4 -4
- package/dist/chunks/{worktree-z4cdtg64.js → repository-85ph882g.js} +5 -5
- package/dist/chunks/{worktree-ss5j40bg.js → repository-89avhe1g.js} +17 -17
- package/dist/chunks/{worktree-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-6t9jm67f.js → repository-8dbdhz5n.js} +16 -16
- package/dist/chunks/{worktree-aswfnv87.js → repository-8gtmmj3e.js} +32 -32
- package/dist/chunks/{worktree-zcrspsvn.js → repository-8gxqpgph.js} +4 -4
- package/dist/chunks/{worktree-y394sqab.js → repository-8sp84cjn.js} +33 -33
- package/dist/chunks/{worktree-cw2x2bjr.js → repository-95nee50p.js} +1 -1
- package/dist/chunks/{worktree-wg7aatbm.js → repository-96r3cgq7.js} +9 -9
- package/dist/chunks/{worktree-81gxmrf7.js → repository-98bk4qe8.js} +10 -10
- package/dist/chunks/{worktree-q6xbbyq7.js → repository-99e2g3zc.js} +35 -35
- package/dist/chunks/{worktree-j6mf8xpf.js → repository-9b1atvvx.js} +20 -20
- package/dist/chunks/{worktree-dc1e58jh.js → repository-9b6r1n9h.js} +41 -41
- package/dist/chunks/{worktree-h2pnfxb2.js → repository-9gzsgfm4.js} +12 -12
- package/dist/chunks/{worktree-gnjcy9v4.js → repository-9ppytv0z.js} +23 -23
- package/dist/chunks/{worktree-415h19gn.js → repository-9ws33mfb.js} +5 -5
- package/dist/chunks/{worktree-as812ba0.js → repository-a04068z3.js} +30 -30
- package/dist/chunks/{worktree-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-151xc3da.js → repository-aejz0fra.js} +17 -17
- package/dist/chunks/{worktree-w676nq5f.js → repository-aj9sfs2c.js} +13 -13
- package/dist/chunks/{worktree-9h6zs5c6.js → repository-an855pfc.js} +29 -29
- package/dist/chunks/{worktree-tkp03cf9.js → repository-aqcfb23j.js} +11 -11
- package/dist/chunks/{worktree-166kng33.js → repository-at1kfnmk.js} +8 -8
- package/dist/chunks/{worktree-m6zv4rm2.js → repository-ayec40qr.js} +22 -22
- package/dist/chunks/{worktree-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-aa3v2t1f.js → repository-bbtvb4qv.js} +11 -11
- package/dist/chunks/{worktree-6wt9h67w.js → repository-btjhzyrj.js} +37 -37
- package/dist/chunks/repository-by5v678g.js +18 -0
- package/dist/chunks/{worktree-6hjx5zpb.js → repository-bydnjh3t.js} +9 -9
- package/dist/chunks/{worktree-6x3wj1ns.js → repository-c2d5mwvj.js} +47 -47
- package/dist/chunks/{worktree-ka43yy4c.js → repository-c9thm2jp.js} +16 -16
- package/dist/chunks/{worktree-bvnyc1t2.js → repository-cc3rhb19.js} +60 -60
- package/dist/chunks/{worktree-ht336jn2.js → repository-ccs15j7g.js} +31 -31
- package/dist/chunks/{worktree-vfmzn6hv.js → repository-ce65tj11.js} +51 -51
- package/dist/chunks/{worktree-q9pnxbc2.js → repository-cefpf2j3.js} +16 -16
- package/dist/chunks/{worktree-cwa6csj7.js → repository-cwa6csj7.js} +2 -2
- package/dist/chunks/{worktree-8p4f9s12.js → repository-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-101vsq39.js → repository-dkepx75h.js} +11 -11
- package/dist/chunks/{worktree-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-1amrr7ey.js → repository-dv9a7byg.js} +3 -3
- package/dist/chunks/{worktree-7rgj22wf.js → repository-dzrcb86n.js} +28 -28
- package/dist/chunks/{worktree-rx78v32q.js → repository-e188km2a.js} +17 -17
- package/dist/chunks/{worktree-rb662jkw.js → repository-e248x3jn.js} +12 -12
- package/dist/chunks/{worktree-97grsc5w.js → repository-e36qgvhn.js} +11 -11
- package/dist/chunks/{worktree-vz8nqtp5.js → repository-e48wdnmq.js} +32 -32
- package/dist/chunks/repository-e83h8wp6.js +252 -0
- package/dist/chunks/{worktree-eaj1djv9.js → repository-eaj1djv9.js} +1 -1
- package/dist/chunks/{worktree-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-dbba7j6z.js → repository-ej74qwfk.js} +10 -10
- package/dist/chunks/{worktree-gmjq4p6e.js → repository-ejwr8mgp.js} +12 -12
- package/dist/chunks/{worktree-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-0gkyeg4t.js → repository-etckb5nd.js} +25 -25
- package/dist/chunks/{worktree-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-8sayz2ry.js → repository-f0173z6s.js} +4 -4
- package/dist/chunks/{worktree-hpa29ags.js → repository-fbw0vhp1.js} +11 -11
- package/dist/chunks/{worktree-ma5b8j4s.js → repository-fhqgz6t0.js} +29 -29
- package/dist/chunks/{worktree-24dd53tp.js → repository-fhs97t90.js} +9 -9
- package/dist/chunks/{worktree-bccs4bt1.js → repository-fkd8950d.js} +25 -25
- package/dist/chunks/{worktree-gbnkcvp8.js → repository-fn8r46yt.js} +26 -26
- package/dist/chunks/{worktree-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-y35sf2j4.js → repository-fxmgg4aj.js} +4 -4
- package/dist/chunks/{worktree-a8bn8zg0.js → repository-g190xswt.js} +4 -4
- package/dist/chunks/{worktree-xkrbr206.js → repository-g8atgw3j.js} +8 -8
- package/dist/chunks/{worktree-mzatw618.js → repository-gbgzsaak.js} +35 -35
- package/dist/chunks/{worktree-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-zart4t36.js → repository-gyk8a0b3.js} +31 -31
- package/dist/chunks/{worktree-ja7kfczc.js → repository-h196rex3.js} +23 -23
- package/dist/chunks/{worktree-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-f828m53h.js → repository-hdnk95c8.js} +2 -2
- package/dist/chunks/{worktree-89m3s2m0.js → repository-hmc4zdtv.js} +5 -5
- package/dist/chunks/{worktree-qz10dfen.js → repository-hrsq9gd1.js} +9 -9
- package/dist/chunks/{worktree-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-mn5995mw.js → repository-j7d6k5qg.js} +5 -5
- package/dist/chunks/{worktree-e7dyj58f.js → repository-j7j31x51.js} +6 -6
- package/dist/chunks/{worktree-q3t37ft6.js → repository-j7wq2tw5.js} +2 -2
- package/dist/chunks/{worktree-sybsj1vd.js → repository-jef2745y.js} +18 -18
- package/dist/chunks/{worktree-1c4g78wp.js → repository-jp1thbes.js} +44 -44
- package/dist/chunks/{worktree-tmezp53v.js → repository-jywznmgw.js} +20 -20
- package/dist/chunks/{worktree-cvw7k98w.js → repository-k12tcn4w.js} +9 -9
- package/dist/chunks/{worktree-w1kb69s9.js → repository-k73yd5yd.js} +3 -3
- package/dist/chunks/{worktree-h4bptjw1.js → repository-k7smy2rd.js} +6 -6
- package/dist/chunks/{worktree-wvgpkr3z.js → repository-k8374c5q.js} +5 -5
- package/dist/chunks/{worktree-te6g59r9.js → repository-kj2sv36s.js} +5 -5
- package/dist/chunks/{worktree-vy10ba8t.js → repository-kjczd05a.js} +18 -18
- package/dist/chunks/{worktree-ypmw8e4w.js → repository-krbqxjpe.js} +8 -8
- package/dist/chunks/{worktree-drdwtp1b.js → repository-kypwaetd.js} +9 -9
- package/dist/chunks/{worktree-cfpkc3c9.js → repository-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-r424jv4c.js → repository-m2542dxt.js} +4 -4
- package/dist/chunks/{worktree-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-cwyz1c8d.js → repository-m4x4s9k7.js} +8 -8
- package/dist/chunks/{worktree-q001hfjm.js → repository-m8akdy0v.js} +27 -27
- package/dist/chunks/{worktree-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-vcaqzj1m.js → repository-mmvpf3z9.js} +23 -23
- package/dist/chunks/{worktree-0mczw89w.js → repository-mt8rgcqf.js} +5 -5
- package/dist/chunks/{worktree-d04advaa.js → repository-n6wrsq7f.js} +9 -9
- package/dist/chunks/{worktree-86v3dky3.js → repository-n8a799tr.js} +25 -25
- package/dist/chunks/{worktree-5c4wcsgy.js → repository-ne89hd12.js} +78 -78
- package/dist/chunks/{worktree-g6nrwhst.js → repository-nms28mnr.js} +7 -7
- package/dist/chunks/{worktree-s0esgemt.js → repository-nw2nz702.js} +4 -4
- package/dist/chunks/{worktree-nzks3jc8.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{worktree-cpj0znwe.js → repository-nzyhnfxz.js} +4 -4
- package/dist/chunks/{worktree-jj06xv0y.js → repository-p1dtcdn6.js} +42 -42
- package/dist/chunks/{worktree-p28j5sbe.js → repository-p28j5sbe.js} +2 -2
- package/dist/chunks/{worktree-351z34b3.js → repository-p6z56n1j.js} +13 -13
- package/dist/chunks/repository-p7df8h7a.js +26 -0
- package/dist/chunks/{worktree-26k5bknw.js → repository-paegk39x.js} +4 -4
- package/dist/chunks/{worktree-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-kh43tbq9.js → repository-pjy5167v.js} +26 -26
- package/dist/chunks/{worktree-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-xw714m32.js → repository-pnstgbf5.js} +18 -18
- package/dist/chunks/{worktree-fzc0zagk.js → repository-ppqt0576.js} +14 -14
- package/dist/chunks/{worktree-rzd1wbq6.js → repository-pwb6zpac.js} +16 -16
- package/dist/chunks/{worktree-w8ykr7pr.js → repository-pyx37xrr.js} +34 -34
- package/dist/chunks/{worktree-9s8wz9g9.js → repository-qb3z2rd2.js} +3 -3
- package/dist/chunks/{worktree-gynbp3j3.js → repository-qdakzt9p.js} +9 -9
- package/dist/chunks/{worktree-hrtbhf2d.js → repository-qdvbds2a.js} +21 -21
- package/dist/chunks/{worktree-8s9esm8s.js → repository-qmyzm461.js} +9 -9
- package/dist/chunks/{worktree-gft05b0a.js → repository-qpbc7zwf.js} +8 -8
- package/dist/chunks/{worktree-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-nmmfddzk.js → repository-qss189bp.js} +20 -20
- package/dist/chunks/{worktree-8pb4qd8n.js → repository-qyzwb919.js} +25 -25
- package/dist/chunks/{worktree-x3n1z10k.js → repository-rbsrykmc.js} +22 -22
- package/dist/chunks/{worktree-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-qfqkpq0b.js → repository-rkhtkbzg.js} +16 -16
- package/dist/chunks/repository-rqx49y6e.js +478 -0
- package/dist/chunks/{worktree-76kr4s17.js → repository-rwtc3fw1.js} +5 -5
- package/dist/chunks/{worktree-d216944b.js → repository-ryr25ayn.js} +5 -5
- package/dist/chunks/{worktree-xrvwyrv1.js → repository-rz6nd0at.js} +33 -33
- package/dist/chunks/{worktree-mkry6x9x.js → repository-s5erq2b1.js} +15 -15
- package/dist/chunks/{worktree-kncab3ca.js → repository-s9a2knzy.js} +8 -8
- package/dist/chunks/{worktree-krf6f92z.js → repository-s9kcfb9z.js} +1 -1
- package/dist/chunks/{worktree-faj2svbs.js → repository-scv7p57g.js} +9 -9
- package/dist/chunks/{worktree-tmdzkf58.js → repository-se91gbej.js} +44 -44
- package/dist/chunks/{worktree-aeb4sny1.js → repository-sfkj0ta1.js} +5 -5
- package/dist/chunks/{worktree-vdgcs2tf.js → repository-sfq66c4x.js} +30 -30
- package/dist/chunks/{worktree-yta3sn21.js → repository-snkcc4fb.js} +4 -4
- package/dist/chunks/{worktree-58s60hfc.js → repository-spdwqtpn.js} +9 -9
- package/dist/chunks/{worktree-5q02cxx3.js → repository-sx1n432n.js} +4 -4
- package/dist/chunks/{worktree-c78bbtc9.js → repository-t0fxg8b9.js} +5 -5
- package/dist/chunks/{worktree-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-dj68pnee.js → repository-tbmac1c7.js} +4 -4
- package/dist/chunks/{worktree-89znhe33.js → repository-tcezcvh9.js} +4 -4
- package/dist/chunks/{worktree-b97cbvw3.js → repository-tcg29b4q.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-w5s35esc.js → repository-tehh278v.js} +16 -16
- package/dist/chunks/{worktree-63vazbh0.js → repository-tf0sfjy1.js} +13 -13
- package/dist/chunks/{worktree-7dyhy7q1.js → repository-tgyp3sag.js} +32 -32
- package/dist/chunks/{worktree-n4jz3xah.js → repository-tmrdwbct.js} +19 -19
- package/dist/chunks/{worktree-t744w8jc.js → repository-tqd2p7vb.js} +17 -17
- package/dist/chunks/{worktree-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-7svxd7hr.js → repository-tz3nmx0j.js} +32 -32
- package/dist/chunks/{worktree-z2bs4c1s.js → repository-v1nykaf9.js} +24 -24
- package/dist/chunks/{worktree-svenkxb1.js → repository-v4hmrze8.js} +12 -12
- package/dist/chunks/{worktree-z8amnqnv.js → repository-vd3gnyv8.js} +11 -11
- package/dist/chunks/{worktree-v4tzcak4.js → repository-vd6cqa4j.js} +19 -19
- package/dist/chunks/{worktree-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-7d7kf9r8.js → repository-vk6zr57k.js} +13 -13
- package/dist/chunks/{worktree-xr43neyx.js → repository-vm6v9059.js} +11 -11
- package/dist/chunks/{worktree-0yn9kbqd.js → repository-vqxaxcf1.js} +13 -13
- package/dist/chunks/{worktree-vtk7nzxk.js → repository-vxd5ygdv.js} +44 -44
- package/dist/chunks/{worktree-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-3k6sfp50.js → repository-w4arg62q.js} +6 -6
- package/dist/chunks/{worktree-2kr5eys4.js → repository-w6xp1hem.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-cax7e9hb.js → repository-wdw0r690.js} +11 -11
- package/dist/chunks/{worktree-38bsz5b6.js → repository-wdy8ayv0.js} +33 -33
- package/dist/chunks/{worktree-7vt8smsy.js → repository-wnbgtmcr.js} +22 -22
- package/dist/chunks/{worktree-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-hwe7x4em.js → repository-xcd0eash.js} +6 -6
- package/dist/chunks/{worktree-fam2aybr.js → repository-xetzeabr.js} +19 -19
- package/dist/chunks/{worktree-jca4demv.js → repository-xg9t41r3.js} +2 -2
- package/dist/chunks/{worktree-d64tg2r5.js → repository-xkz7c9k1.js} +22 -22
- package/dist/chunks/{worktree-hnx402aw.js → repository-xrpj31b0.js} +10 -10
- package/dist/chunks/{worktree-c7dfawsb.js → repository-xv0a7vy5.js} +18 -18
- package/dist/chunks/{worktree-wg1w1cgy.js → repository-xv28g7bs.js} +4 -4
- package/dist/chunks/{worktree-4vp46et4.js → repository-xwfaabrj.js} +6 -6
- package/dist/chunks/{worktree-mwt0hxwz.js → repository-xx5d256e.js} +25 -25
- package/dist/chunks/{worktree-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-7p34082x.js → repository-y4e3v118.js} +18 -18
- package/dist/chunks/{worktree-e9g3nry7.js → repository-yaamm28n.js} +25 -25
- package/dist/chunks/{worktree-ndqsnc2r.js → repository-yexpv489.js} +32 -32
- package/dist/chunks/{worktree-hkygx1vj.js → repository-yn2ye6x1.js} +25 -25
- package/dist/chunks/{worktree-yp2x3t23.js → repository-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-8vmd40gx.js → repository-yqgrxd6e.js} +28 -28
- package/dist/chunks/{worktree-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-f17z2c8t.js → repository-z73117hq.js} +8 -8
- package/dist/chunks/{worktree-xn1g1etc.js → repository-z9jh4hq6.js} +10 -10
- package/dist/chunks/{worktree-9vkyr3gp.js → repository-zbx1chvt.js} +11 -11
- package/dist/chunks/{worktree-m7fm29bt.js → repository-zd485wpt.js} +7 -7
- package/dist/chunks/{worktree-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-9pnj26g7.js → repository-zqkcer71.js} +32 -32
- package/dist/chunks/{worktree-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +122 -122
- 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 +123 -123
- 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 +82 -82
- 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 +92 -92
- 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 +99 -99
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +99 -99
- 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 +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +97 -97
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +73 -73
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +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 +5 -5
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +347 -347
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- 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 +129 -129
- package/dist/session/projector.js +85 -85
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +9 -9
- 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 +92 -92
- 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 +124 -124
- 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 +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +113 -113
- 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 +16 -16
- 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 +7 -7
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- 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 +10 -10
- 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/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-q509s3k3.js +0 -18
- package/dist/chunks/worktree-r0hfn8wq.js +0 -252
- package/dist/chunks/worktree-vjkgxth0.js +0 -478
- package/dist/chunks/worktree-wbb80fv7.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./repository-8dbdhz5n.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./repository-3srb4c33.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-yqgrxd6e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-8sp84cjn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID4,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-yaamm28n.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID10.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -108,7 +108,7 @@ function oauth(http) {
|
|
|
108
108
|
var OpencodePlugin2 = define({
|
|
109
109
|
id: "opencode.provider.opencode",
|
|
110
110
|
effect: Effect.fn(function* (ctx) {
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service81;
|
|
112
112
|
const http = yield* HttpClient.HttpClient;
|
|
113
113
|
const loading = Semaphore.makeUnsafe(1);
|
|
114
114
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID10.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID9.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID9.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node63
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service60 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service60.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node63 = makeLocationNode({
|
|
143
|
+
service: Service60,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service60, node63, exports_tool_output2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./repository-7k43vd6t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./repository-e248x3jn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const output = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin34 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin19, exports_tool_output };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-nzyhnfxz.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
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service66
|
|
20
|
+
} from "./repository-8sp84cjn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./repository-2z51qmx0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./repository-jywznmgw.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-3f29nsc9.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID10.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service66;
|
|
161
|
+
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID9.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID9.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID9.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID9.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID9.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node79
|
|
3
|
+
} from "./repository-kjczd05a.js";
|
|
4
|
+
import {
|
|
5
|
+
node73
|
|
6
|
+
} from "./repository-h196rex3.js";
|
|
7
|
+
import {
|
|
8
|
+
node71
|
|
9
|
+
} from "./repository-yqgrxd6e.js";
|
|
10
|
+
import {
|
|
11
|
+
node80,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./repository-rkhtkbzg.js";
|
|
14
|
+
import {
|
|
15
|
+
node70
|
|
16
|
+
} from "./repository-8sp84cjn.js";
|
|
17
|
+
import {
|
|
18
|
+
node69
|
|
19
|
+
} from "./repository-aqcfb23j.js";
|
|
20
|
+
import {
|
|
21
|
+
node62
|
|
22
|
+
} from "./repository-2z51qmx0.js";
|
|
23
|
+
import {
|
|
24
|
+
node42
|
|
25
|
+
} from "./repository-3pkejnne.js";
|
|
26
|
+
import {
|
|
27
|
+
configured6,
|
|
28
|
+
node49
|
|
29
|
+
} from "./repository-7k43vd6t.js";
|
|
30
|
+
import {
|
|
31
|
+
node66
|
|
32
|
+
} from "./repository-38d1cmqw.js";
|
|
33
|
+
import {
|
|
34
|
+
node17
|
|
35
|
+
} from "./repository-aj9sfs2c.js";
|
|
36
|
+
import {
|
|
37
|
+
node22
|
|
38
|
+
} from "./repository-jef2745y.js";
|
|
39
|
+
import {
|
|
40
|
+
node20
|
|
41
|
+
} from "./repository-tz3nmx0j.js";
|
|
42
|
+
import {
|
|
43
|
+
node19
|
|
44
|
+
} from "./repository-zqkcer71.js";
|
|
45
|
+
import {
|
|
46
|
+
node61
|
|
47
|
+
} from "./repository-se91gbej.js";
|
|
48
|
+
import {
|
|
49
|
+
node25
|
|
50
|
+
} from "./repository-fkd8950d.js";
|
|
51
|
+
import {
|
|
52
|
+
node59
|
|
53
|
+
} from "./repository-scv7p57g.js";
|
|
54
|
+
import {
|
|
55
|
+
node40
|
|
56
|
+
} from "./repository-328cx775.js";
|
|
57
|
+
import {
|
|
58
|
+
Service52,
|
|
59
|
+
node54
|
|
60
|
+
} from "./repository-xcd0eash.js";
|
|
61
|
+
import {
|
|
62
|
+
node34
|
|
63
|
+
} from "./repository-cefpf2j3.js";
|
|
64
|
+
import {
|
|
65
|
+
node78
|
|
66
|
+
} from "./repository-at1kfnmk.js";
|
|
67
|
+
import {
|
|
68
|
+
node75
|
|
69
|
+
} from "./repository-btjhzyrj.js";
|
|
70
|
+
import {
|
|
71
|
+
node53
|
|
72
|
+
} from "./repository-vqxaxcf1.js";
|
|
73
|
+
import {
|
|
74
|
+
configured5,
|
|
75
|
+
node46
|
|
76
|
+
} from "./repository-pjy5167v.js";
|
|
77
|
+
import {
|
|
78
|
+
node43
|
|
79
|
+
} from "./repository-3sz2bchy.js";
|
|
80
|
+
import {
|
|
81
|
+
node44
|
|
82
|
+
} from "./repository-n8a799tr.js";
|
|
83
|
+
import {
|
|
84
|
+
node39
|
|
85
|
+
} from "./repository-dzrcb86n.js";
|
|
86
|
+
import {
|
|
87
|
+
node82
|
|
88
|
+
} from "./repository-fhqgz6t0.js";
|
|
89
|
+
import {
|
|
90
|
+
node41
|
|
91
|
+
} from "./repository-pwb6zpac.js";
|
|
92
|
+
import {
|
|
93
|
+
node58
|
|
94
|
+
} from "./repository-7c3st4jz.js";
|
|
95
|
+
import {
|
|
96
|
+
node35
|
|
97
|
+
} from "./repository-4jnysezt.js";
|
|
98
|
+
import {
|
|
99
|
+
node31
|
|
100
|
+
} from "./repository-74zwf8gc.js";
|
|
101
|
+
import {
|
|
102
|
+
node45
|
|
103
|
+
} from "./repository-rz6nd0at.js";
|
|
104
|
+
import {
|
|
105
|
+
node65
|
|
106
|
+
} from "./repository-1hgfyhjr.js";
|
|
107
|
+
import {
|
|
108
|
+
node63
|
|
109
|
+
} from "./repository-e248x3jn.js";
|
|
110
|
+
import {
|
|
111
|
+
node47
|
|
112
|
+
} from "./repository-ce65tj11.js";
|
|
113
|
+
import {
|
|
114
|
+
node26
|
|
115
|
+
} from "./repository-pnstgbf5.js";
|
|
116
|
+
import {
|
|
117
|
+
node24
|
|
118
|
+
} from "./repository-mmvpf3z9.js";
|
|
119
|
+
import {
|
|
120
|
+
node29
|
|
121
|
+
} from "./repository-yaamm28n.js";
|
|
122
|
+
import {
|
|
123
|
+
node28
|
|
124
|
+
} from "./repository-qdvbds2a.js";
|
|
125
|
+
import {
|
|
126
|
+
node23
|
|
127
|
+
} from "./repository-ayec40qr.js";
|
|
128
|
+
import {
|
|
129
|
+
node13
|
|
130
|
+
} from "./repository-3j8q1kjc.js";
|
|
131
|
+
import {
|
|
132
|
+
Service13,
|
|
133
|
+
node15
|
|
134
|
+
} from "./repository-sfq66c4x.js";
|
|
135
|
+
import {
|
|
136
|
+
node74
|
|
137
|
+
} from "./repository-9gzsgfm4.js";
|
|
138
|
+
import {
|
|
139
|
+
node6,
|
|
140
|
+
bound2
|
|
141
|
+
} from "./repository-5xtgfte3.js";
|
|
142
|
+
import {
|
|
143
|
+
node9
|
|
144
|
+
} from "./repository-ccs15j7g.js";
|
|
145
|
+
import {
|
|
146
|
+
node11
|
|
147
|
+
} from "./repository-7arn502q.js";
|
|
148
|
+
import {
|
|
149
|
+
node12
|
|
150
|
+
} from "./repository-tqd2p7vb.js";
|
|
151
|
+
import {
|
|
152
|
+
node4
|
|
153
|
+
} from "./repository-jp1thbes.js";
|
|
154
|
+
import {
|
|
155
|
+
node16
|
|
156
|
+
} from "./repository-21418s17.js";
|
|
157
|
+
import {
|
|
158
|
+
node3
|
|
159
|
+
} from "./repository-7bz5ees8.js";
|
|
160
|
+
import {
|
|
161
|
+
node2
|
|
162
|
+
} from "./repository-ne89hd12.js";
|
|
163
|
+
import {
|
|
164
|
+
__export
|
|
165
|
+
} from "./repository-9rqn6x4v.js";
|
|
166
|
+
|
|
167
|
+
// src/instance.ts
|
|
168
|
+
var exports_instance = {};
|
|
169
|
+
__export(exports_instance, {
|
|
170
|
+
Instance: () => exports_instance,
|
|
171
|
+
Service: () => Service52,
|
|
172
|
+
graph: () => graph2,
|
|
173
|
+
layer: () => layer2,
|
|
174
|
+
node: () => node54
|
|
175
|
+
});
|
|
176
|
+
import { Context, Effect, Layer } from "effect";
|
|
177
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
178
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
179
|
+
var nodes = [
|
|
180
|
+
node80,
|
|
181
|
+
node15,
|
|
182
|
+
node66,
|
|
183
|
+
node49,
|
|
184
|
+
node79,
|
|
185
|
+
node42,
|
|
186
|
+
node82,
|
|
187
|
+
node26,
|
|
188
|
+
node29,
|
|
189
|
+
node71,
|
|
190
|
+
node70,
|
|
191
|
+
node62,
|
|
192
|
+
node61,
|
|
193
|
+
node69,
|
|
194
|
+
node23,
|
|
195
|
+
node78,
|
|
196
|
+
node6,
|
|
197
|
+
node4,
|
|
198
|
+
node28,
|
|
199
|
+
node20,
|
|
200
|
+
node19,
|
|
201
|
+
node65,
|
|
202
|
+
node16,
|
|
203
|
+
node47,
|
|
204
|
+
node58,
|
|
205
|
+
node43,
|
|
206
|
+
node46,
|
|
207
|
+
node74,
|
|
208
|
+
node17,
|
|
209
|
+
node22,
|
|
210
|
+
node40,
|
|
211
|
+
node75,
|
|
212
|
+
node44,
|
|
213
|
+
node63,
|
|
214
|
+
node59,
|
|
215
|
+
node35,
|
|
216
|
+
node41,
|
|
217
|
+
node34,
|
|
218
|
+
node73,
|
|
219
|
+
node25,
|
|
220
|
+
node12,
|
|
221
|
+
node39,
|
|
222
|
+
node11,
|
|
223
|
+
node53,
|
|
224
|
+
node9,
|
|
225
|
+
node3,
|
|
226
|
+
node31,
|
|
227
|
+
node45,
|
|
228
|
+
node2,
|
|
229
|
+
node24,
|
|
230
|
+
node13
|
|
231
|
+
];
|
|
232
|
+
var graph2 = LayerNode.group(nodes);
|
|
233
|
+
var vanillaReplacements = [
|
|
234
|
+
node49.replace(configured6({ project: false, global: false })),
|
|
235
|
+
node46.replace(configured5({ project: false, global: false }))
|
|
236
|
+
];
|
|
237
|
+
function layer2(ref, options = {}) {
|
|
238
|
+
const startedAt = performance.now();
|
|
239
|
+
const replacements = [
|
|
240
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
241
|
+
...options.replacements ?? [],
|
|
242
|
+
node80.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
243
|
+
node6.replace(bound2(options.plugins ?? []))
|
|
244
|
+
];
|
|
245
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
246
|
+
directory: ref.directory,
|
|
247
|
+
workspaceID: ref.workspaceID,
|
|
248
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
249
|
+
})));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-2z51qmx0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./repository-7k43vd6t.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-j7j31x51.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service46;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID7.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|