@opencode/core 0.0.0-dev-19887 → 0.0.0-dev-19892
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{variant-v4ke4x03.js → git-0e4jjwrw.js} +22 -22
- package/dist/chunks/{variant-cpy6gm2a.js → git-0ft9cg2j.js} +6 -6
- package/dist/chunks/{variant-qgn6gcr1.js → git-0jwsre1p.js} +5 -5
- package/dist/chunks/{variant-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → git-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-1hr2mhh3.js → git-0vm7ymqn.js} +10 -10
- package/dist/chunks/{variant-vf1cc59j.js → git-0vrxxr1a.js} +34 -34
- package/dist/chunks/{variant-0wjn3002.js → git-0xs9q83d.js} +4 -4
- package/dist/chunks/{variant-jsghq5te.js → git-16y6wkws.js} +11 -11
- package/dist/chunks/{variant-x62bxqam.js → git-17peyqa8.js} +25 -25
- package/dist/chunks/{variant-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-915gmmzb.js → git-1e3e3vry.js} +6 -6
- package/dist/chunks/{variant-a3gwct9m.js → git-1hyh35hc.js} +18 -18
- package/dist/chunks/{variant-z8jac80z.js → git-1ns81jp7.js} +20 -20
- package/dist/chunks/{variant-cfaphf43.js → git-1p4vxbgh.js} +5 -5
- package/dist/chunks/{variant-5hrxhm7r.js → git-1pp06av9.js} +29 -29
- package/dist/chunks/{variant-xdrba4jw.js → git-1rh4yqvv.js} +9 -9
- package/dist/chunks/{variant-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{variant-5sm13ap8.js → git-23mw9n3k.js} +38 -38
- package/dist/chunks/{variant-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-qhcyyzn5.js → git-2689451z.js} +4 -4
- package/dist/chunks/{variant-p8cqx264.js → git-288kk2p1.js} +7 -7
- package/dist/chunks/{variant-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-15nepkqg.js → git-2aet7wja.js} +8 -8
- package/dist/chunks/{variant-66cq7m8j.js → git-2bxa57sj.js} +17 -17
- package/dist/chunks/{variant-c73kwvag.js → git-2mcg4gas.js} +6 -6
- package/dist/chunks/{variant-6ztqgmqc.js → git-2nwjcwjm.js} +32 -32
- package/dist/chunks/{variant-6dtxgrp9.js → git-3c60n5rg.js} +12 -12
- package/dist/chunks/{variant-93c7gg90.js → git-3cjhgjje.js} +58 -58
- package/dist/chunks/{variant-tfzngn12.js → git-3ewed21c.js} +4 -4
- package/dist/chunks/{variant-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-ayn9mra6.js → git-3hj12f9s.js} +10 -10
- package/dist/chunks/{variant-tkfgnrzv.js → git-3hr1140z.js} +22 -22
- package/dist/chunks/{variant-94yyaa2b.js → git-3pe4e59h.js} +12 -12
- package/dist/chunks/{variant-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-39bnkv12.js → git-43nsyqa5.js} +19 -19
- package/dist/chunks/{variant-d212tg40.js → git-43zf1p2c.js} +5 -5
- package/dist/chunks/{variant-27d62n88.js → git-4p5t2wp7.js} +13 -13
- package/dist/chunks/{variant-tfsfntr4.js → git-4r2mk5j3.js} +17 -17
- package/dist/chunks/{variant-xf4yhzac.js → git-4vxbjmaf.js} +24 -24
- package/dist/chunks/{variant-9rfbr6hz.js → git-4wja9c2w.js} +10 -10
- package/dist/chunks/git-53q3ad7v.js +252 -0
- package/dist/chunks/{variant-mfqp6xfm.js → git-56gdpj1q.js} +6 -6
- package/dist/chunks/{variant-1hc11dc4.js → git-5c0f1prt.js} +4 -4
- package/dist/chunks/{variant-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-rx7r49gh.js → git-5hv86fpb.js} +14 -14
- package/dist/chunks/{variant-s857ash9.js → git-5hx7d1d6.js} +5 -5
- package/dist/chunks/{variant-097skfh9.js → git-5s1mhvj6.js} +11 -11
- package/dist/chunks/{variant-rnjj76x0.js → git-5scqd8ad.js} +32 -32
- package/dist/chunks/{variant-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-48wt5vck.js → git-5y69b4r6.js} +11 -11
- package/dist/chunks/{variant-mz35w27a.js → git-618b53ja.js} +17 -17
- package/dist/chunks/{variant-t36nynp6.js → git-63nbkngr.js} +24 -24
- package/dist/chunks/{variant-m145exmz.js → git-64af36b2.js} +8 -8
- package/dist/chunks/{variant-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{variant-mtmgf2mp.js → git-672beszh.js} +3 -3
- package/dist/chunks/{variant-31vzqgg6.js → git-6dt9rsqm.js} +20 -20
- package/dist/chunks/{variant-mqp0p4ed.js → git-6e6g2mqd.js} +3 -3
- package/dist/chunks/{variant-cx02vxsr.js → git-6gykz65j.js} +5 -5
- package/dist/chunks/{variant-ms2v0qr0.js → git-6j8cvwa1.js} +22 -22
- package/dist/chunks/{variant-jgv4nkbw.js → git-6jqkynh6.js} +20 -20
- package/dist/chunks/{variant-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-hnx7q02n.js → git-6sxa5bvt.js} +20 -20
- package/dist/chunks/{variant-hj7e2epa.js → git-6ybsm94g.js} +12 -12
- package/dist/chunks/{variant-ehewexsg.js → git-6yv4qapz.js} +11 -11
- package/dist/chunks/{variant-9vw53jv9.js → git-74b6haq2.js} +33 -33
- package/dist/chunks/{variant-c78bbtc9.js → git-78v47nsk.js} +5 -5
- package/dist/chunks/{variant-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-9cgekm8q.js → git-7parea5t.js} +23 -23
- package/dist/chunks/{variant-mx58xnyt.js → git-7qfnj7bd.js} +9 -9
- package/dist/chunks/{variant-sr4j9exx.js → git-7vr3dmr2.js} +13 -13
- package/dist/chunks/{variant-7qvbcjd2.js → git-7z7fdcae.js} +25 -25
- package/dist/chunks/{variant-zs17qpra.js → git-84rbdpxz.js} +312 -312
- package/dist/chunks/{variant-xy0kj34c.js → git-858mqmds.js} +8 -8
- package/dist/chunks/{variant-tcezcvh9.js → git-89znhe33.js} +4 -4
- package/dist/chunks/{variant-xbzbcj9a.js → git-8cyahtjd.js} +4 -4
- package/dist/chunks/{variant-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-w4axh9wz.js → git-8e1b1gzh.js} +6 -6
- package/dist/chunks/{variant-ttyd8st6.js → git-8erct5rq.js} +5 -5
- package/dist/chunks/{variant-m9rt4wgq.js → git-8fsvhpfh.js} +6 -6
- package/dist/chunks/{variant-cftckq0s.js → git-8g9s2qm2.js} +36 -36
- package/dist/chunks/{variant-nad2v9ex.js → git-8hnmhdsn.js} +15 -15
- package/dist/chunks/{variant-8p4f9s12.js → git-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-e6qgb6k4.js → git-8xy4ymhm.js} +43 -43
- package/dist/chunks/git-9a3eyg4n.js +26 -0
- package/dist/chunks/{variant-b7p55gh1.js → git-9gz4yvws.js} +4 -4
- package/dist/chunks/{variant-6skrka6j.js → git-9nxfh24q.js} +19 -19
- package/dist/chunks/{variant-085d9kjp.js → git-9zajbvzp.js} +6 -6
- package/dist/chunks/{variant-kpzqpbrb.js → git-9znc1w06.js} +41 -41
- package/dist/chunks/{variant-a1bz86dw.js → git-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-xg9t41r3.js → git-a3r4dcrj.js} +2 -2
- package/dist/chunks/{variant-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-81swgkk7.js → git-aamtrqep.js} +9 -9
- package/dist/chunks/{variant-ttqh24zm.js → git-afdssyjb.js} +4 -4
- package/dist/chunks/{variant-kq76qga6.js → git-ar15xcmb.js} +8 -8
- package/dist/chunks/{variant-88405f1d.js → git-aze3g556.js} +14 -14
- package/dist/chunks/{variant-1kzy0zmf.js → git-b4etar07.js} +32 -32
- package/dist/chunks/{variant-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-8svftxcg.js → git-b8wnyzx7.js} +41 -41
- package/dist/chunks/{variant-zj09a0ew.js → git-bjn91642.js} +4 -4
- package/dist/chunks/{variant-5v7tkgjc.js → git-bm3dpr67.js} +4 -4
- package/dist/chunks/{variant-v30pefx0.js → git-bpjsqt6w.js} +19 -19
- package/dist/chunks/{variant-yz0zb41s.js → git-bqcxmntf.js} +12 -12
- package/dist/chunks/{variant-f4cxmw91.js → git-brvw573r.js} +7 -7
- package/dist/chunks/{variant-dvsy15m8.js → git-by82rxdc.js} +23 -23
- package/dist/chunks/{variant-4mszv00j.js → git-c42wgx82.js} +35 -35
- package/dist/chunks/{variant-41jardw5.js → git-c49neaws.js} +47 -47
- package/dist/chunks/{variant-x9mtwtp0.js → git-c6ds0c94.js} +4 -4
- package/dist/chunks/{variant-yqtmxgrc.js → git-c6z42dag.js} +31 -31
- package/dist/chunks/{variant-9vfjrq5h.js → git-cdbm2jpq.js} +10 -10
- package/dist/chunks/{variant-cfpkc3c9.js → git-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-v0aj06hd.js → git-cg9hks8v.js} +17 -17
- package/dist/chunks/{variant-vvhhcha4.js → git-ckpezhnz.js} +25 -25
- package/dist/chunks/{variant-cmwkp3r5.js → git-czfptnv9.js} +6 -6
- package/dist/chunks/{variant-07dehahr.js → git-d3vp4tvv.js} +47 -47
- package/dist/chunks/{variant-8pccpkv9.js → git-dfvnyc1p.js} +12 -12
- package/dist/chunks/{variant-64gzdevb.js → git-dkgfs7qs.js} +41 -41
- package/dist/chunks/{variant-1t1pnz9z.js → git-drmrsq1a.js} +22 -22
- package/dist/chunks/{variant-57b9ws8p.js → git-drwq78ky.js} +5 -5
- package/dist/chunks/{variant-fqwnfb02.js → git-dvn4kdj3.js} +15 -15
- package/dist/chunks/{variant-3g2czk59.js → git-dy3fdsce.js} +30 -30
- package/dist/chunks/{variant-93dczpz5.js → git-ebc9nwad.js} +11 -11
- package/dist/chunks/{variant-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-d0x602ma.js → git-ehsj7wt5.js} +17 -17
- package/dist/chunks/{variant-fr6qf1zc.js → git-er2nv8wb.js} +8 -8
- package/dist/chunks/{variant-q10etjjv.js → git-er6g6738.js} +5 -5
- package/dist/chunks/{variant-erw5rpbs.js → git-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-sbnsh8k5.js → git-eyqq4r43.js} +8 -8
- package/dist/chunks/{variant-62y7kwp4.js → git-f5yy2vv1.js} +9 -9
- package/dist/chunks/{variant-f828m53h.js → git-f828m53h.js} +2 -2
- package/dist/chunks/{variant-4qd323fw.js → git-fa0xf0qg.js} +25 -25
- package/dist/chunks/{variant-xfdrc2qg.js → git-fkjmw100.js} +8 -8
- package/dist/chunks/{variant-9r15s34d.js → git-fpq9acqp.js} +6 -6
- package/dist/chunks/{variant-6a52w1rv.js → git-ftt4q9pv.js} +7 -7
- package/dist/chunks/{variant-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-j6g6334x.js → git-fzgke8tr.js} +11 -11
- package/dist/chunks/{variant-8ank75fn.js → git-g1sxm558.js} +8 -8
- package/dist/chunks/{variant-a6mn06rp.js → git-g2rg0ym0.js} +11 -11
- package/dist/chunks/{variant-t6zx2q9y.js → git-g6kej4xb.js} +17 -17
- package/dist/chunks/{variant-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-brn88sfy.js → git-ggjkqpcf.js} +15 -15
- package/dist/chunks/{variant-t54f161w.js → git-gjcbrjt5.js} +1 -1
- package/dist/chunks/{variant-1fv74gqc.js → git-gqft2nrr.js} +6 -6
- package/dist/chunks/{variant-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-a1nrrezy.js → git-h2aa9ksg.js} +44 -44
- package/dist/chunks/{variant-cpj0znwe.js → git-h6r3nrb9.js} +4 -4
- package/dist/chunks/{variant-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-gb29kbhr.js → git-ha8vn221.js} +13 -13
- package/dist/chunks/{variant-278hf439.js → git-hf4whmtg.js} +1 -1
- package/dist/chunks/{variant-fxqygnfa.js → git-hfdr1yjj.js} +4 -4
- package/dist/chunks/{variant-g9k4x51g.js → git-hka040n9.js} +17 -17
- package/dist/chunks/{variant-yg6nt6v4.js → git-hz84tk5e.js} +8 -8
- package/dist/chunks/{variant-mhkvc446.js → git-j028xdjb.js} +3 -3
- package/dist/chunks/{variant-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-dy8yawtr.js → git-j63fa09p.js} +53 -53
- package/dist/chunks/{variant-jsxtg3j8.js → git-j8xg6mrm.js} +43 -43
- package/dist/chunks/{variant-j7wq2tw5.js → git-jexxy024.js} +3 -3
- package/dist/chunks/{variant-90cg2g8q.js → git-jf362r72.js} +3 -3
- package/dist/chunks/{variant-a3dggatn.js → git-jk15xws4.js} +11 -11
- package/dist/chunks/{variant-k6eqzays.js → git-jpd36d6c.js} +15 -15
- package/dist/chunks/{variant-nzks3jc8.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-b552dcrd.js → git-kczjb4tf.js} +22 -22
- package/dist/chunks/{variant-cg8ytmw3.js → git-kh9xs558.js} +9 -9
- package/dist/chunks/{variant-3mvav4ey.js → git-krbhq476.js} +50 -50
- package/dist/chunks/{variant-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-vg2pwr63.js → git-mp3jt1vp.js} +25 -25
- package/dist/chunks/{variant-9dd9xg2p.js → git-mq533pjk.js} +27 -27
- package/dist/chunks/{variant-eeycyz4a.js → git-nc19f9d4.js} +19 -19
- package/dist/chunks/{variant-pdbczg48.js → git-nhny46wm.js} +17 -17
- package/dist/chunks/{variant-9jzp6rtr.js → git-njhqdk9p.js} +9 -9
- package/dist/chunks/{variant-dvqvac0p.js → git-njs7e820.js} +40 -40
- package/dist/chunks/{variant-mzsct20j.js → git-ntazb8er.js} +10 -10
- package/dist/chunks/{variant-8wxt10s7.js → git-ntf7ng8w.js} +23 -23
- package/dist/chunks/{variant-9g8a7bky.js → git-p0j3v3px.js} +18 -18
- package/dist/chunks/{variant-8eg5n7pr.js → git-p2s4r87m.js} +3 -3
- package/dist/chunks/{variant-x8reb4st.js → git-p402qtyx.js} +17 -17
- package/dist/chunks/{variant-hkfg6fzm.js → git-p44d8wdy.js} +5 -5
- package/dist/chunks/{variant-c3t2bp3a.js → git-pce1006a.js} +21 -21
- package/dist/chunks/{variant-h5wsamaq.js → git-pecsbykn.js} +20 -20
- package/dist/chunks/{variant-6jd4s47c.js → git-pf4sg1bc.js} +54 -54
- package/dist/chunks/{variant-khnj79zv.js → git-ph7261hm.js} +3 -3
- package/dist/chunks/{variant-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-f5pacdp8.js → git-pkn2k75h.js} +4 -4
- package/dist/chunks/{variant-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{variant-00z3vp5f.js → git-pmr4s4kc.js} +4 -4
- package/dist/chunks/{variant-fka5stg3.js → git-pqqx5r28.js} +32 -32
- package/dist/chunks/{variant-ekqy63t1.js → git-pv119cyc.js} +9 -9
- package/dist/chunks/{variant-y6dnbhqf.js → git-q288btcx.js} +41 -41
- package/dist/chunks/{variant-1gd09dgh.js → git-q2k0k7gp.js} +29 -29
- package/dist/chunks/git-q509s3k3.js +18 -0
- package/dist/chunks/{variant-jtazzn7t.js → git-qrvxy8qx.js} +12 -12
- package/dist/chunks/{variant-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-7f3ctpdg.js → git-r04dhbzm.js} +22 -22
- package/dist/chunks/{variant-c765mh8b.js → git-r2m716tb.js} +5 -5
- package/dist/chunks/{variant-27qaaqv4.js → git-r40wg4tq.js} +33 -33
- package/dist/chunks/{variant-1acjjqhc.js → git-r8xr0va3.js} +4 -4
- package/dist/chunks/{variant-jdjqvkac.js → git-r9hg784z.js} +29 -29
- package/dist/chunks/{variant-k3kfa9gp.js → git-ras1ee3t.js} +3 -3
- package/dist/chunks/{variant-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-qg0jgkcp.js → git-rhafb4aa.js} +9 -9
- package/dist/chunks/{variant-r80zjrs5.js → git-rprjdt61.js} +2 -2
- package/dist/chunks/{variant-epcvb57q.js → git-rymrqawx.js} +88 -88
- package/dist/chunks/{variant-572jzhdq.js → git-s7fy4fw9.js} +71 -71
- package/dist/chunks/{variant-02nrjc1r.js → git-s8d7rejh.js} +8 -8
- package/dist/chunks/{variant-jw80jp6b.js → git-sez5jh81.js} +4 -4
- package/dist/chunks/{variant-rzfvqdtr.js → git-sk9aqj88.js} +32 -32
- package/dist/chunks/{variant-amg8rfa2.js → git-sqsnjckg.js} +11 -11
- package/dist/chunks/{variant-swskkvne.js → git-sx705cz4.js} +16 -16
- package/dist/chunks/{variant-28mf290z.js → git-sxpyths9.js} +3 -3
- package/dist/chunks/{variant-ecmqvc26.js → git-tafcm9s2.js} +13 -13
- package/dist/chunks/{variant-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-p28j5sbe.js → git-tbz0fdvh.js} +5 -5
- package/dist/chunks/{variant-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{variant-g3dn61zq.js → git-te19744a.js} +17 -17
- package/dist/chunks/{variant-9wzaqa2h.js → git-teypzqam.js} +11 -11
- package/dist/chunks/{variant-3pkp6ed2.js → git-tjfg9936.js} +6 -6
- package/dist/chunks/{variant-g8d3gcyj.js → git-tkmwgdpd.js} +4 -4
- package/dist/chunks/{variant-aa6hsmkn.js → git-tr4gpxdj.js} +10 -10
- package/dist/chunks/{variant-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-wq301bav.js → git-tw48jm20.js} +29 -29
- package/dist/chunks/{variant-yzx8t958.js → git-v2fn5cje.js} +4 -4
- package/dist/chunks/{variant-kpc0mqwz.js → git-v2fywz06.js} +9 -9
- package/dist/chunks/{variant-5w4ft1qc.js → git-vayd41fe.js} +33 -33
- package/dist/chunks/{variant-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-kkavjeyb.js → git-vf09fb5w.js} +21 -21
- package/dist/chunks/{variant-jdwv10rw.js → git-vh4e3tf6.js} +8 -8
- package/dist/chunks/{variant-jb9mn43j.js → git-vhzwz6jw.js} +22 -22
- package/dist/chunks/{variant-94q2vb6w.js → git-vrqxrqyx.js} +9 -9
- package/dist/chunks/{variant-ycs2q99w.js → git-vw95j725.js} +27 -27
- package/dist/chunks/{variant-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-etkqpky2.js → git-w072qfac.js} +27 -27
- package/dist/chunks/{variant-bxqmztkz.js → git-w2xq192h.js} +18 -18
- package/dist/chunks/{variant-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-z4n4vdj7.js → git-wajqq34j.js} +33 -33
- package/dist/chunks/{variant-pfjwdz76.js → git-wb6nw9s2.js} +7 -7
- package/dist/chunks/{variant-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{variant-0gz9grtj.js → git-wejqvva8.js} +13 -13
- package/dist/chunks/{variant-20d59fy3.js → git-wwxvw6cz.js} +23 -23
- package/dist/chunks/{variant-1gd24jtv.js → git-wx3m0z92.js} +11 -11
- package/dist/chunks/{variant-2y34zzjz.js → git-wzg7zq6j.js} +9 -9
- package/dist/chunks/{variant-sh8m3jxd.js → git-x039wt3r.js} +32 -32
- package/dist/chunks/{variant-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-150yg2gd.js → git-x2d9qy7d.js} +5 -5
- package/dist/chunks/{variant-6tt6f4cv.js → git-x5cyaybx.js} +5 -5
- package/dist/chunks/{variant-hs5kqjts.js → git-x6h9vts0.js} +5 -5
- package/dist/chunks/{variant-0x8f21sw.js → git-xchesy5b.js} +19 -19
- package/dist/chunks/{variant-ehrsfzb1.js → git-xd2eepn7.js} +19 -19
- package/dist/chunks/{variant-9m0akj9h.js → git-xdd5m13n.js} +19 -19
- package/dist/chunks/{variant-ffe81100.js → git-xffg26zj.js} +10 -10
- package/dist/chunks/{variant-gg31f38h.js → git-xgrh65hf.js} +175 -175
- package/dist/chunks/{variant-43epg6g5.js → git-xkc5gz1n.js} +22 -22
- package/dist/chunks/{variant-s0nvp0g4.js → git-y0fr9ak9.js} +93 -93
- package/dist/chunks/{variant-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{variant-qwkytnft.js → git-ybhbtxjg.js} +3 -3
- package/dist/chunks/{variant-3cc71383.js → git-yc72r6y6.js} +30 -30
- package/dist/chunks/{variant-j4sd9pby.js → git-yffsrks6.js} +37 -37
- package/dist/chunks/{variant-7p374f9a.js → git-ygkrcpmw.js} +25 -25
- package/dist/chunks/{variant-yjptyezs.js → git-yjptyezs.js} +2 -2
- package/dist/chunks/{variant-x3aw69dw.js → git-yjpwaj2n.js} +24 -24
- package/dist/chunks/{variant-nrg4g80p.js → git-ym0qxjj8.js} +8 -8
- package/dist/chunks/{variant-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-yrznvahk.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-mr2zf1rc.js → git-yxssrz9b.js} +11 -11
- package/dist/chunks/{variant-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-cpa7r820.js → git-z1cbmdk8.js} +8 -8
- package/dist/chunks/{variant-c8mrws9h.js → git-z3t6faa9.js} +11 -11
- package/dist/chunks/{variant-z63w68vq.js → git-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-jap74bcr.js → git-zbxcgkb3.js} +20 -20
- package/dist/chunks/{variant-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-jdng17b1.js → git-zh4jz90y.js} +37 -37
- package/dist/chunks/{variant-2jz473v5.js → git-zhq6vg7a.js} +1 -1
- package/dist/chunks/{variant-k8fevvw5.js → git-zm1kgnct.js} +26 -26
- package/dist/chunks/{variant-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-htdv981f.js → git-zr3s38d1.js} +14 -14
- package/dist/chunks/{variant-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{variant-tgqfcp4w.js → git-zxv2zsm9.js} +9 -9
- package/dist/chunks/{variant-516vmk6c.js → git-zyyrtepr.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- 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 +129 -129
- 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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- 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 +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- 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 +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- 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 +99 -99
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +3 -3
- package/dist/plugin/internal.js +330 -330
- 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 +119 -119
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- 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 +5 -5
- 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 +72 -72
- 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 +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +2 -2
- 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 +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +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/variant-313b5xwg.js +0 -26
- package/dist/chunks/variant-4v7qdvcn.js +0 -18
- package/dist/chunks/variant-t8sg433j.js +0 -252
- /package/dist/chunks/{variant-0mesazry.js → git-0mesazry.js} +0 -0
- /package/dist/chunks/{variant-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./git-p402qtyx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./git-p0j3v3px.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service12
|
|
12
|
+
} from "./git-drmrsq1a.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service9
|
|
27
|
+
} from "./git-te19744a.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service9;
|
|
62
|
+
const access = yield* Service40;
|
|
63
|
+
const sessionInstructions = yield* Service12;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin41 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name2, Input2, Plugin21, toModelContent2, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./git-bqcxmntf.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./git-vayd41fe.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-0vrxxr1a.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-h6r3nrb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-c42wgx82.js";
|
|
20
20
|
import {
|
|
21
21
|
ID4,
|
|
22
|
-
|
|
22
|
+
Input13,
|
|
23
23
|
Response2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-3hr1140z.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/opencode.ts
|
|
27
27
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
57
57
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
58
58
|
function oauth(http) {
|
|
59
59
|
return {
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID16.make("opencode"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -111,7 +111,7 @@ function oauth(http) {
|
|
|
111
111
|
var OpencodePlugin2 = define({
|
|
112
112
|
id: "opencode.provider.opencode",
|
|
113
113
|
effect: Effect.fn(function* (ctx) {
|
|
114
|
-
const bus = yield*
|
|
114
|
+
const bus = yield* Service81;
|
|
115
115
|
const http = yield* HttpClient.HttpClient;
|
|
116
116
|
const loading = Semaphore.makeUnsafe(1);
|
|
117
117
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -137,7 +137,7 @@ var OpencodePlugin2 = define({
|
|
|
137
137
|
providers.update(providerID, (provider) => {
|
|
138
138
|
if (source && source.provider !== provider)
|
|
139
139
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
140
|
-
provider.integrationID =
|
|
140
|
+
provider.integrationID = ID16.make("opencode");
|
|
141
141
|
if (item.canonical !== undefined)
|
|
142
142
|
provider.canonical = item.canonical;
|
|
143
143
|
if (item.name !== undefined)
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
sourceConnection: snapshot.connection
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
const item = providers.get(
|
|
210
|
+
const item = providers.get(ID13.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -219,7 +219,7 @@ var OpencodePlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
const item = models.provider.get(
|
|
222
|
+
const item = models.provider.get(ID13.opencode);
|
|
223
223
|
if (!item)
|
|
224
224
|
return;
|
|
225
225
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -253,7 +253,7 @@ var OpencodePlugin2 = define({
|
|
|
253
253
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
254
254
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
255
255
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
256
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
256
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
257
257
|
query: input.query,
|
|
258
258
|
providerID: descriptor.providerID
|
|
259
259
|
}));
|
|
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
|
|
|
274
274
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
275
275
|
});
|
|
276
276
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
277
|
-
yield* bus.subscribe(
|
|
277
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
278
278
|
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);
|
|
279
279
|
})
|
|
280
280
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./git-bqcxmntf.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./git-p402qtyx.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service73,
|
|
20
|
+
node77,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./git-c42wgx82.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node76,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service73;
|
|
65
|
+
const bus = yield* Service81;
|
|
66
|
+
const location = yield* Service74;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service72.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node85, node78] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./git-bqcxmntf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./git-p402qtyx.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service24
|
|
10
|
+
} from "./git-pf4sg1bc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin41
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin41 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service74;
|
|
200
|
+
const mcp = yield* Service24;
|
|
201
|
+
const bus = yield* Service81;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin41, exports_command2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./git-j63fa09p.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./git-1ns81jp7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin23,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description3,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
31
|
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin23 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service36;
|
|
51
|
+
const permission = yield* Service63;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin45 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output2, description3, toModelOutput2, Plugin23, exports_skill2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node29
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service27.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node29 = makeGlobalNode({ service: Service27, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service27, makeLayer2, layer13, node29, exports_model_transport };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
|
+
Entry: () => Entry2,
|
|
10
|
+
Info: () => Info9
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry2 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info9 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry2, Info9, exports_formatter2 };
|