@opencode/core 0.0.0-dev-20626 → 0.0.0-dev-20627
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{generate-gttcx4jr.js → model-resolver-0achvhs2.js} +20 -20
- package/dist/chunks/{generate-fctq5jg8.js → model-resolver-0e548fcr.js} +14 -14
- package/dist/chunks/{generate-q0xm7vwc.js → model-resolver-0j77ygfz.js} +6 -6
- package/dist/chunks/{generate-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-s32c0mq7.js → model-resolver-0qfxg4jf.js} +13 -13
- package/dist/chunks/{generate-0emb60td.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-12cb56mc.js → model-resolver-0vv5hmpp.js} +3 -3
- package/dist/chunks/{generate-bt178j64.js → model-resolver-0yjz6y37.js} +36 -36
- package/dist/chunks/{generate-rn3rbabn.js → model-resolver-10dw056s.js} +15 -15
- package/dist/chunks/{generate-rhvrjctg.js → model-resolver-19g7txy3.js} +5 -5
- package/dist/chunks/{generate-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
- package/dist/chunks/{generate-67aj8cse.js → model-resolver-1cap5v9d.js} +24 -24
- package/dist/chunks/{generate-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-ktqh6cjn.js → model-resolver-1jx1zfd7.js} +14 -14
- package/dist/chunks/{generate-q122b658.js → model-resolver-1macjqn3.js} +32 -32
- package/dist/chunks/{generate-0d9njzvw.js → model-resolver-1n5ak9y9.js} +28 -28
- package/dist/chunks/{generate-y0ty5fha.js → model-resolver-1z18ck0n.js} +9 -9
- package/dist/chunks/{generate-b7cm6t9c.js → model-resolver-21j0a31s.js} +21 -21
- package/dist/chunks/{generate-j8s7qtnq.js → model-resolver-25x2259c.js} +9 -9
- package/dist/chunks/{generate-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-4ts7tf6z.js → model-resolver-2ccvkpx1.js} +2 -2
- package/dist/chunks/{generate-g2v7xwm2.js → model-resolver-2d6yk1br.js} +19 -19
- package/dist/chunks/{generate-0w5dnmke.js → model-resolver-2ke6m4px.js} +18 -18
- package/dist/chunks/{generate-v04zxm1e.js → model-resolver-2m190rpy.js} +13 -13
- package/dist/chunks/{generate-t60q4fa6.js → model-resolver-2q40b9s7.js} +4 -4
- package/dist/chunks/{generate-crx1hh5h.js → model-resolver-2r1mkbh7.js} +26 -26
- package/dist/chunks/{generate-chz0abdh.js → model-resolver-2rxac3h6.js} +32 -32
- package/dist/chunks/{generate-7xypvt1j.js → model-resolver-2wst3kmw.js} +16 -16
- package/dist/chunks/{generate-hjypyshd.js → model-resolver-2zczfx75.js} +10 -10
- package/dist/chunks/{generate-w59cqdta.js → model-resolver-33vwh78z.js} +6 -6
- package/dist/chunks/{generate-b9m1sfvm.js → model-resolver-33zp7k1z.js} +22 -22
- package/dist/chunks/{generate-3cegwx68.js → model-resolver-3cegwx68.js} +2 -2
- package/dist/chunks/{generate-anc9qwd0.js → model-resolver-3dn2etmh.js} +24 -24
- package/dist/chunks/{generate-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-37ycehja.js → model-resolver-3k84j3p7.js} +68 -68
- package/dist/chunks/{generate-f6dd175t.js → model-resolver-3kcgjwbq.js} +34 -34
- package/dist/chunks/{generate-jp3y83b8.js → model-resolver-3rd28rcz.js} +11 -11
- package/dist/chunks/{generate-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-sa1wksxx.js → model-resolver-3t341cpn.js} +5 -5
- package/dist/chunks/{generate-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-9fnn15g3.js → model-resolver-3v39vgvt.js} +20 -20
- package/dist/chunks/{generate-3d08qa2y.js → model-resolver-3zfbdzwf.js} +5 -5
- package/dist/chunks/{generate-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-vyq6m5zj.js → model-resolver-40jdsgbk.js} +17 -17
- package/dist/chunks/{generate-wj7r9zev.js → model-resolver-41zh4vt3.js} +11 -11
- package/dist/chunks/{generate-kv7xr5tr.js → model-resolver-4nza2pr1.js} +20 -20
- package/dist/chunks/{generate-4jyvzrab.js → model-resolver-4rt0ga34.js} +9 -9
- package/dist/chunks/{generate-ftp5qn6j.js → model-resolver-4v9q68f5.js} +24 -24
- package/dist/chunks/{generate-d7yzhwrd.js → model-resolver-4zkna7ps.js} +30 -30
- package/dist/chunks/{generate-qdhbz2ew.js → model-resolver-50fxpqbw.js} +20 -20
- package/dist/chunks/{generate-j5w2yx54.js → model-resolver-51f5btjf.js} +6 -6
- package/dist/chunks/{generate-hg2kdwy2.js → model-resolver-51ssmyqe.js} +20 -20
- package/dist/chunks/{generate-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-p5cn45b4.js → model-resolver-55hkn5jk.js} +32 -32
- package/dist/chunks/{generate-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-gw7cjrad.js → model-resolver-5dkn69vz.js} +4 -4
- package/dist/chunks/{generate-39m96q4s.js → model-resolver-5fkw2g45.js} +25 -25
- package/dist/chunks/{generate-apddja33.js → model-resolver-5g7r9pjq.js} +23 -23
- package/dist/chunks/{generate-mjgszf3v.js → model-resolver-5gep5epd.js} +16 -16
- package/dist/chunks/{generate-91tetnyh.js → model-resolver-5krfhzfs.js} +17 -17
- package/dist/chunks/{generate-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-63db42yp.js → model-resolver-5pyjqqve.js} +2 -2
- package/dist/chunks/{generate-pm8xe67t.js → model-resolver-5rrq939p.js} +15 -15
- package/dist/chunks/{generate-h4nv5sjw.js → model-resolver-5sc2jtah.js} +27 -27
- package/dist/chunks/{generate-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-ncp0w3v9.js → model-resolver-6avxmd9t.js} +24 -24
- package/dist/chunks/{generate-00sy09sd.js → model-resolver-6jayb3ka.js} +5 -5
- package/dist/chunks/{generate-50mzsvk4.js → model-resolver-6m42r3np.js} +21 -21
- package/dist/chunks/{generate-myd4zn31.js → model-resolver-6mjz4eke.js} +14 -14
- package/dist/chunks/{generate-pyqd4v2t.js → model-resolver-6s9jgcw2.js} +4 -4
- package/dist/chunks/{generate-jt0fm9hz.js → model-resolver-6swqs4pd.js} +32 -32
- package/dist/chunks/{generate-jzgb4b60.js → model-resolver-6w7dcbvg.js} +14 -14
- package/dist/chunks/{generate-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-hb9ek847.js → model-resolver-6y0r2svr.js} +1 -1
- package/dist/chunks/{generate-cb5y8w29.js → model-resolver-73f7s9bv.js} +177 -177
- package/dist/chunks/{generate-ce0tw18p.js → model-resolver-7622hyrr.js} +20 -20
- package/dist/chunks/{generate-3ngkpncc.js → model-resolver-78j8p2e7.js} +13 -13
- package/dist/chunks/model-resolver-7b7qypaz.js +26 -0
- package/dist/chunks/{generate-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-e47yjvcb.js → model-resolver-7d6sbd9q.js} +3 -3
- package/dist/chunks/{generate-c68ggjv5.js → model-resolver-7e5k1pv9.js} +19 -19
- package/dist/chunks/{generate-y0pxv80g.js → model-resolver-7fqhmbkd.js} +32 -32
- package/dist/chunks/{generate-en16kr9h.js → model-resolver-7m50mqw6.js} +17 -17
- package/dist/chunks/{generate-t89fqycx.js → model-resolver-7rwqf82v.js} +8 -8
- package/dist/chunks/{generate-sdg5j0gr.js → model-resolver-7zc8scxq.js} +3 -3
- package/dist/chunks/{generate-84h8c373.js → model-resolver-84h8c373.js} +2 -2
- package/dist/chunks/{generate-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{generate-stqch5en.js → model-resolver-8a2qp1g6.js} +3 -3
- package/dist/chunks/model-resolver-8b9njvyr.js +253 -0
- package/dist/chunks/{generate-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-qn8ykj5w.js → model-resolver-8k1jb5xq.js} +30 -30
- package/dist/chunks/{generate-xrhtfqv1.js → model-resolver-90hpmr2t.js} +11 -11
- package/dist/chunks/{generate-53m1k2p4.js → model-resolver-9917pxwy.js} +10 -10
- package/dist/chunks/{generate-mxg6t4px.js → model-resolver-9h49evx0.js} +11 -11
- package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
- package/dist/chunks/{generate-vmbkc7t9.js → model-resolver-9z9g3t20.js} +8 -8
- package/dist/chunks/{generate-73tb2d7t.js → model-resolver-a1gpj94z.js} +3 -3
- package/dist/chunks/{generate-t2fc4mz5.js → model-resolver-a2ew8a62.js} +4 -4
- package/dist/chunks/{generate-6exvrca4.js → model-resolver-a8kdrp5r.js} +5 -5
- package/dist/chunks/{generate-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-zw2hpfmh.js → model-resolver-addxnjmp.js} +4 -4
- package/dist/chunks/{generate-bk53ycjv.js → model-resolver-afttsgwn.js} +12 -12
- package/dist/chunks/{generate-dn6ztdfq.js → model-resolver-agng1s7m.js} +25 -25
- package/dist/chunks/{generate-0y0gsn1j.js → model-resolver-ajf1swqb.js} +3 -3
- package/dist/chunks/{generate-rtezw65p.js → model-resolver-akd9m88t.js} +5 -5
- package/dist/chunks/{generate-nnf0xkcj.js → model-resolver-ap8vh77s.js} +24 -24
- package/dist/chunks/{generate-2eegacq4.js → model-resolver-at1kfnmk.js} +8 -8
- package/dist/chunks/{generate-8sxy8sy5.js → model-resolver-aza1t4dm.js} +15 -15
- package/dist/chunks/{generate-7gw9h0sc.js → model-resolver-azjxx5b8.js} +18 -18
- package/dist/chunks/{generate-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-sm7h3s2a.js → model-resolver-bcnp41r8.js} +35 -35
- package/dist/chunks/{generate-4ptgc4ev.js → model-resolver-bdadzv4m.js} +32 -32
- package/dist/chunks/{generate-pqj23b0q.js → model-resolver-bjgk06jq.js} +30 -30
- package/dist/chunks/{generate-06v9ekkj.js → model-resolver-bzh1f83h.js} +30 -30
- package/dist/chunks/{generate-skcnbf3c.js → model-resolver-c30g4xpt.js} +11 -11
- package/dist/chunks/{generate-84532k20.js → model-resolver-c74x8r32.js} +10 -10
- package/dist/chunks/{generate-xtvvsfs4.js → model-resolver-ch4t865s.js} +8 -8
- package/dist/chunks/{generate-nt476c1e.js → model-resolver-cmcef70t.js} +16 -16
- package/dist/chunks/{generate-zawfarhf.js → model-resolver-crw5xmpr.js} +20 -20
- package/dist/chunks/{generate-md4xem4j.js → model-resolver-d9bwshhj.js} +12 -12
- package/dist/chunks/{generate-rav032ka.js → model-resolver-d9dg5wfk.js} +9 -9
- package/dist/chunks/{generate-ns4c26md.js → model-resolver-ddhg64z2.js} +11 -11
- package/dist/chunks/{generate-rgxvve62.js → model-resolver-deeca9hw.js} +14 -14
- package/dist/chunks/{generate-55pxd67v.js → model-resolver-dhks9x6r.js} +8 -8
- package/dist/chunks/{generate-cwa6csj7.js → model-resolver-djszqvmq.js} +9 -9
- package/dist/chunks/{generate-w9xa6jft.js → model-resolver-dpqp9b63.js} +32 -32
- package/dist/chunks/{generate-2ar21jkq.js → model-resolver-drj28cm1.js} +15 -15
- package/dist/chunks/{generate-fcjdzzvk.js → model-resolver-dvh6e8nq.js} +2 -2
- package/dist/chunks/{generate-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-yszghjhd.js → model-resolver-efgr2h9s.js} +11 -11
- package/dist/chunks/{generate-757h9dgg.js → model-resolver-ekxvnan8.js} +15 -15
- package/dist/chunks/{generate-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-sn70zx0f.js → model-resolver-ewgnpxzc.js} +42 -42
- package/dist/chunks/{generate-xc7geeyn.js → model-resolver-ey1p32kd.js} +16 -16
- package/dist/chunks/{generate-w3s43czq.js → model-resolver-f20mjja6.js} +35 -35
- package/dist/chunks/{generate-y5dj3dxk.js → model-resolver-f6h44vt5.js} +6 -6
- package/dist/chunks/{generate-f75zav2x.js → model-resolver-f75zav2x.js} +2 -2
- package/dist/chunks/{generate-paqgmmpc.js → model-resolver-fbensa43.js} +11 -11
- package/dist/chunks/{generate-qgn6gcr1.js → model-resolver-fcrkznn8.js} +5 -5
- package/dist/chunks/{generate-br69n3tb.js → model-resolver-fgprmwhj.js} +11 -11
- package/dist/chunks/{generate-kctcsxwr.js → model-resolver-fy0vatp7.js} +10 -10
- package/dist/chunks/{generate-jpvwx58z.js → model-resolver-g7nd96nr.js} +5 -5
- package/dist/chunks/{generate-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-4daej8pc.js → model-resolver-gg1f5j1z.js} +42 -42
- package/dist/chunks/{generate-qxhjmwpc.js → model-resolver-gjkc16r8.js} +36 -36
- package/dist/chunks/{generate-d04ep358.js → model-resolver-gkcjs2dn.js} +11 -11
- package/dist/chunks/{generate-e9a6z8qn.js → model-resolver-gkezm8y4.js} +24 -24
- package/dist/chunks/{generate-p2jra9s9.js → model-resolver-gnwrz8d7.js} +21 -21
- package/dist/chunks/{generate-gc8gxt55.js → model-resolver-gszfa6pv.js} +11 -11
- package/dist/chunks/{generate-z9dqbzf9.js → model-resolver-gw7teh6q.js} +9 -9
- package/dist/chunks/{generate-h50xep47.js → model-resolver-gxx3asgj.js} +15 -15
- package/dist/chunks/{generate-2z4yerbz.js → model-resolver-gxzkmbg1.js} +8 -8
- package/dist/chunks/{generate-mgkc0wjh.js → model-resolver-h2kvjvwj.js} +7 -7
- package/dist/chunks/{generate-14fzmqmc.js → model-resolver-h42756k7.js} +90 -90
- package/dist/chunks/{generate-g8ncx2kw.js → model-resolver-h4psw8ba.js} +18 -18
- package/dist/chunks/{generate-wxyynt4w.js → model-resolver-h5w29vws.js} +1 -1
- package/dist/chunks/{generate-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-0atswpmv.js → model-resolver-h8jjkhz6.js} +9 -9
- package/dist/chunks/{generate-r93b7zqt.js → model-resolver-he91xpgg.js} +24 -24
- package/dist/chunks/{generate-wdkjs4sn.js → model-resolver-hhr7ssgm.js} +4 -4
- package/dist/chunks/{generate-a9p6p6nr.js → model-resolver-hqjmh7f4.js} +10 -10
- package/dist/chunks/{generate-f7w5vbe4.js → model-resolver-hv0tq5xf.js} +13 -13
- package/dist/chunks/{generate-zf82b8f4.js → model-resolver-hxh7ac88.js} +50 -50
- package/dist/chunks/{generate-14abpv5c.js → model-resolver-j0dhs27h.js} +20 -20
- package/dist/chunks/{generate-rcpb5p8s.js → model-resolver-j1gz9man.js} +14 -14
- package/dist/chunks/{generate-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-xfzkycb1.js → model-resolver-jgvx6mxw.js} +3 -3
- package/dist/chunks/{generate-1nzh38e4.js → model-resolver-jvvc3tfq.js} +9 -9
- package/dist/chunks/{generate-kb9j3d72.js → model-resolver-kb9j3d72.js} +3 -3
- package/dist/chunks/{generate-pp2j6nz2.js → model-resolver-kemx01z9.js} +20 -20
- package/dist/chunks/{generate-tk6ram5b.js → model-resolver-kr7egayj.js} +34 -34
- package/dist/chunks/{generate-1d5w9k4w.js → model-resolver-kt9b9xbd.js} +26 -26
- package/dist/chunks/{generate-x5x2shfn.js → model-resolver-kw9jfdn1.js} +26 -26
- package/dist/chunks/{generate-d8p7yyc7.js → model-resolver-kxdn0yjd.js} +8 -8
- package/dist/chunks/{generate-cqjm0j5h.js → model-resolver-m119g2w7.js} +15 -15
- package/dist/chunks/{generate-ndtjpakn.js → model-resolver-m1k46kn2.js} +19 -19
- package/dist/chunks/{generate-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-89vjf07m.js → model-resolver-m64xvjj1.js} +5 -5
- package/dist/chunks/{generate-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-yeknwk6m.js → model-resolver-mb4aw6zt.js} +12 -12
- package/dist/chunks/model-resolver-mcn7m7vx.js +507 -0
- package/dist/chunks/{generate-33w4ejhs.js → model-resolver-mfqp6xfm.js} +9 -9
- package/dist/chunks/{generate-8cf4ch7y.js → model-resolver-mnwggq08.js} +19 -19
- package/dist/chunks/{generate-deg546m4.js → model-resolver-mtqs55ae.js} +35 -35
- package/dist/chunks/{generate-h14td4ya.js → model-resolver-mwyjgb1k.js} +9 -9
- package/dist/chunks/{generate-9zk0kc6f.js → model-resolver-n3k0nq1g.js} +31 -31
- package/dist/chunks/{generate-pcj7teyq.js → model-resolver-n8vdnqrc.js} +5 -5
- package/dist/chunks/{generate-hawpggyh.js → model-resolver-nhnh187w.js} +27 -27
- package/dist/chunks/{generate-me39y7pc.js → model-resolver-nmbcsk2x.js} +3 -3
- package/dist/chunks/{generate-4n6xr198.js → model-resolver-ntg9ycez.js} +17 -17
- package/dist/chunks/{generate-05zs1rdk.js → model-resolver-nve815hd.js} +46 -46
- package/dist/chunks/{generate-nxm207yx.js → model-resolver-nxm207yx.js} +1 -1
- package/dist/chunks/{generate-150yg2gd.js → model-resolver-nyqx1cb3.js} +5 -5
- package/dist/chunks/{generate-cmwkp3r5.js → model-resolver-pa8pe2x7.js} +8 -8
- package/dist/chunks/{generate-7nhmw1yp.js → model-resolver-pdyt6ga5.js} +7 -7
- package/dist/chunks/{generate-vpfh5m6n.js → model-resolver-pg8nqq7p.js} +44 -44
- package/dist/chunks/{generate-pc1a30g8.js → model-resolver-phqqhagd.js} +89 -89
- package/dist/chunks/{generate-t24wgfq5.js → model-resolver-pj1jpnd1.js} +54 -54
- package/dist/chunks/{generate-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{generate-htyjbh6h.js → model-resolver-pypjajay.js} +4 -4
- package/dist/chunks/{generate-d6f20yqx.js → model-resolver-q0hq5tmn.js} +9 -9
- package/dist/chunks/{generate-66raja0a.js → model-resolver-q3r2nqqw.js} +26 -26
- package/dist/chunks/{generate-e68b0gvs.js → model-resolver-q4zf8z8q.js} +3 -3
- package/dist/chunks/{generate-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-wek9mqa7.js → model-resolver-qpvdx65r.js} +18 -18
- package/dist/chunks/{generate-v8crwhsy.js → model-resolver-qs20wfnt.js} +1 -1
- package/dist/chunks/{generate-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-zh3bn5vc.js → model-resolver-qtnjcq6r.js} +3 -3
- package/dist/chunks/{generate-6eb68wz8.js → model-resolver-qw4rebp2.js} +19 -19
- package/dist/chunks/{generate-w6r6e2t1.js → model-resolver-qwbxvttr.js} +30 -30
- package/dist/chunks/{generate-qxjc9qry.js → model-resolver-qxjc9qry.js} +3 -3
- package/dist/chunks/{generate-cjwramev.js → model-resolver-r5mbew3j.js} +6 -6
- package/dist/chunks/{generate-2wrchah9.js → model-resolver-r6xsx0m5.js} +5 -5
- package/dist/chunks/{generate-x2r6qgb2.js → model-resolver-rasec19h.js} +11 -11
- package/dist/chunks/{generate-gw6mp5xk.js → model-resolver-rbbkm0xv.js} +48 -48
- package/dist/chunks/{generate-e1vzx0s7.js → model-resolver-rcppyyty.js} +22 -22
- package/dist/chunks/{generate-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-efb4ct6v.js → model-resolver-rk0tqkaw.js} +5 -5
- package/dist/chunks/{generate-ntd1qsse.js → model-resolver-rx9ava5n.js} +4 -4
- package/dist/chunks/{generate-af30chde.js → model-resolver-rymvvhbz.js} +45 -45
- package/dist/chunks/{generate-wv396vej.js → model-resolver-s8d7rejh.js} +8 -8
- package/dist/chunks/{generate-wmz9gz0a.js → model-resolver-srq8z0b0.js} +9 -9
- package/dist/chunks/{generate-dbztx8wp.js → model-resolver-srtfr38y.js} +23 -23
- package/dist/chunks/{generate-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{generate-vycw7md4.js → model-resolver-tfzngn12.js} +4 -4
- package/dist/chunks/{generate-yf954nqe.js → model-resolver-tm9w2n2x.js} +16 -16
- package/dist/chunks/{generate-6m56d8a0.js → model-resolver-tnmecr3d.js} +11 -11
- package/dist/chunks/{generate-b4twkq7r.js → model-resolver-ts23464c.js} +8 -8
- package/dist/chunks/{generate-y0h8bdjy.js → model-resolver-tsg6z73m.js} +11 -11
- package/dist/chunks/{generate-h0czhsa2.js → model-resolver-tw918z4j.js} +6 -6
- package/dist/chunks/{generate-xecxzrdp.js → model-resolver-v0es1rhs.js} +2 -2
- package/dist/chunks/{generate-e3sn89yk.js → model-resolver-vemxbn5z.js} +17 -17
- package/dist/chunks/{generate-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-j34bs4nz.js → model-resolver-vfjhn2wd.js} +4 -4
- package/dist/chunks/{generate-ftha1bk5.js → model-resolver-vqfzmc84.js} +4 -4
- package/dist/chunks/{generate-1dz71ged.js → model-resolver-vtctyt73.js} +11 -11
- package/dist/chunks/{generate-69t9n7ne.js → model-resolver-vv1mfds1.js} +16 -16
- package/dist/chunks/{generate-yks7agkx.js → model-resolver-vvpj8dts.js} +5 -5
- package/dist/chunks/{generate-ss358qx3.js → model-resolver-vx3jgdek.js} +3 -3
- package/dist/chunks/{generate-4eq8w0dz.js → model-resolver-vxzh5eqq.js} +4 -4
- package/dist/chunks/{generate-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-g5w8qwbj.js → model-resolver-w19d8598.js} +7 -7
- package/dist/chunks/{generate-ezk2k2nc.js → model-resolver-w2h15q85.js} +5 -5
- package/dist/chunks/{generate-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-shaj6nsr.js → model-resolver-wbn4j0pn.js} +27 -27
- package/dist/chunks/{generate-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{generate-dd44dnrs.js → model-resolver-wgdeym6z.js} +15 -15
- package/dist/chunks/{generate-wen6mwdk.js → model-resolver-wkveh0mg.js} +19 -19
- package/dist/chunks/{generate-wtskapw1.js → model-resolver-wtsvmxn1.js} +42 -42
- package/dist/chunks/{generate-kskmmsb8.js → model-resolver-wy2za45w.js} +7 -7
- package/dist/chunks/{generate-pm693qae.js → model-resolver-x2pzw901.js} +13 -13
- package/dist/chunks/{generate-xm1mczqd.js → model-resolver-x442ch9z.js} +1 -1
- package/dist/chunks/{generate-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{generate-2r6fqtjg.js → model-resolver-xm3p4qah.js} +36 -36
- package/dist/chunks/{generate-8703qa3s.js → model-resolver-xpqek6s2.js} +15 -15
- package/dist/chunks/{generate-4t46r8n6.js → model-resolver-xv5xhpkb.js} +4 -4
- package/dist/chunks/{generate-s83c18hn.js → model-resolver-y0nv8875.js} +4 -4
- package/dist/chunks/{generate-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-zc3qgdkd.js → model-resolver-y47v6e3z.js} +11 -11
- package/dist/chunks/{generate-4yj6yfek.js → model-resolver-y5fgx7d2.js} +21 -21
- package/dist/chunks/{generate-hvdpr3cg.js → model-resolver-y9dv21ph.js} +59 -59
- package/dist/chunks/{generate-n7mkwqhg.js → model-resolver-yn0v1xc3.js} +47 -47
- package/dist/chunks/{generate-zkz1dm36.js → model-resolver-ynt8fh2a.js} +7 -7
- package/dist/chunks/{generate-02eysref.js → model-resolver-ysm5qf9e.js} +29 -29
- package/dist/chunks/{generate-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-wm6dyqg8.js → model-resolver-z23z10f3.js} +9 -9
- package/dist/chunks/{generate-k1qrnqst.js → model-resolver-z5rd9rww.js} +8 -8
- package/dist/chunks/{generate-qycmr1fg.js → model-resolver-z9ad0njv.js} +1 -1
- package/dist/chunks/{generate-5pmw3n0c.js → model-resolver-zby7g0g2.js} +13 -13
- package/dist/chunks/{generate-m70sbz6t.js → model-resolver-zcrspsvn.js} +4 -4
- package/dist/chunks/{generate-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-scgrse2b.js → model-resolver-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +87 -87
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-1x11rq2a.js +0 -18
- package/dist/chunks/generate-4nfqhbwv.js +0 -507
- package/dist/chunks/generate-a9jymq3x.js +0 -253
- package/dist/chunks/generate-w2505z9s.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./model-resolver-ap8vh77s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./model-resolver-gg1f5j1z.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-33vwh78z.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin6 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service67;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service68;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin33 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin6, exports_compatibility };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options10,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options10 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options10, Spec2, exports_plugin3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-55hkn5jk.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-8k1jb5xq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./model-resolver-gg1f5j1z.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-q4zf8z8q.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin9
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin9 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service67;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin9, exports_provider };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-nmbcsk2x.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
|
+
node: () => node73
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service70.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node73 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service70, node73, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./model-resolver-ap8vh77s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-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* Service68;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-hhr7ssgm.js";
|
|
5
|
+
import {
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./model-resolver-bjgk06jq.js";
|
|
5
10
|
import {
|
|
6
|
-
Event18,
|
|
7
11
|
Service68,
|
|
8
12
|
node71
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service53,
|
|
12
|
-
node55
|
|
13
|
-
} from "./generate-nnf0xkcj.js";
|
|
13
|
+
} from "./model-resolver-ap8vh77s.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./model-resolver-j1gz9man.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-2ccvkpx1.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-2ke6m4px.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-rk0tqkaw.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service69,
|
|
36
|
+
Event15,
|
|
37
|
+
node72
|
|
38
|
+
} from "./model-resolver-50fxpqbw.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-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: () => Options8,
|
|
48
|
+
Service: () => Service67,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node70,
|
|
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 Options8 = 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 Service67 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(Service67, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service68;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service69;
|
|
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 layer18 = (options) => Layer.effect(Service52, 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(Event19.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(Event15.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 layer18 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service67.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured9(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service67,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node71, node87, FSUtil.node, Global.node, node84, node82, node72]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node70 = configured9();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options8, Service67, Test2, testLayer2, layer23, configured9, node70, exports_config };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./model-resolver-j1gz9man.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./model-resolver-gkezm8y4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./model-resolver-xpqek6s2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-2m190rpy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./model-resolver-y9dv21ph.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service25,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-azjxx5b8.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin45,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin45 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service71;
|
|
112
|
+
const access = yield* Service25;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
|
+
const formatter = yield* Service62;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service53;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin5 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name10, Input10, Applied2, Output7, toModelContent4, Plugin45, exports_patch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service72,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node75
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service72 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(Service72, 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);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service72.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node75 = makeLocationNode({
|
|
137
|
+
service: Service72,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service72, node75, exports_tool_output2 };
|