@opencode/core 0.0.0-dev-21128 → 0.0.0-dev-21143
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{schema-6kayr0qe.js → model-032ktewz.js} +12 -12
- package/dist/chunks/{schema-kqx1b4hy.js → model-0b5g1ynf.js} +4 -4
- package/dist/chunks/{schema-ns88ajwv.js → model-0p2v4pma.js} +22 -22
- package/dist/chunks/{schema-5z02pkbr.js → model-0pkr3k7y.js} +16 -16
- package/dist/chunks/model-0qdvnyhc.js +26 -0
- package/dist/chunks/{schema-ewqvwr2x.js → model-0tz7w237.js} +5 -5
- package/dist/chunks/{schema-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-qfsqm6np.js → model-11aq9g4k.js} +23 -23
- package/dist/chunks/{schema-fyyfn66b.js → model-1p7ncxxa.js} +18 -18
- package/dist/chunks/{schema-xdzahe3w.js → model-1rxgbc2t.js} +37 -37
- package/dist/chunks/model-1x11rq2a.js +18 -0
- package/dist/chunks/{schema-e2n8yt8r.js → model-2e6zpqas.js} +17 -17
- package/dist/chunks/{schema-sfrk6182.js → model-2kd2p7qs.js} +11 -11
- package/dist/chunks/{schema-p918rxap.js → model-2rj07jxf.js} +36 -36
- package/dist/chunks/{schema-hm4b5h1p.js → model-2s6bjp6v.js} +11 -11
- package/dist/chunks/{schema-4egt9m7r.js → model-2taq7fdd.js} +19 -19
- package/dist/chunks/{schema-ygdna4kr.js → model-2xdh0w28.js} +5 -5
- package/dist/chunks/{schema-a7ctbxgg.js → model-2zzk95jc.js} +24 -24
- package/dist/chunks/{schema-06rcn11j.js → model-30qnvgsd.js} +31 -31
- package/dist/chunks/{schema-thf661k5.js → model-32qa6vbj.js} +3 -3
- package/dist/chunks/{schema-2r1eb10n.js → model-34596wkg.js} +4 -4
- package/dist/chunks/{schema-3xrnjwnw.js → model-34gry8w8.js} +4 -4
- package/dist/chunks/{schema-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-dg4m5tge.js → model-3ftn6mbn.js} +13 -13
- package/dist/chunks/{schema-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-qg2xzwen.js → model-3m1hm5sp.js} +20 -20
- package/dist/chunks/{schema-x6p3pch1.js → model-3rccn82p.js} +32 -32
- package/dist/chunks/{schema-n1n192bv.js → model-3sj8yt8v.js} +4 -4
- package/dist/chunks/{schema-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-anf0zms1.js → model-3z0hjn58.js} +9 -9
- package/dist/chunks/{schema-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-1z1hhbnd.js → model-47sz30n1.js} +331 -331
- package/dist/chunks/{schema-kq18enfy.js → model-49fqqd4r.js} +21 -21
- package/dist/chunks/{schema-9p13z2fd.js → model-4egvh0ae.js} +29 -29
- package/dist/chunks/{schema-yn7wtxd2.js → model-4p6nr7v2.js} +51 -51
- package/dist/chunks/{schema-3z44xk1j.js → model-50db7yry.js} +15 -15
- package/dist/chunks/{schema-r94pvvab.js → model-54ma36ye.js} +4 -4
- package/dist/chunks/{schema-r4z16np3.js → model-56xs2vdn.js} +7 -7
- package/dist/chunks/{schema-b9rg9672.js → model-5gy05hhs.js} +28 -28
- package/dist/chunks/{schema-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-n6f2kyvw.js → model-5mgf4sgt.js} +27 -27
- package/dist/chunks/{schema-n03mp3yd.js → model-5mmxse3m.js} +35 -35
- package/dist/chunks/{schema-rv8mn90w.js → model-5n2cq17m.js} +3 -3
- package/dist/chunks/{schema-pgwfpy2t.js → model-5pjt3m7t.js} +9 -9
- package/dist/chunks/model-5qat1gp6.js +257 -0
- package/dist/chunks/{schema-3cnddbnz.js → model-5qd8vb6z.js} +9 -9
- package/dist/chunks/{schema-g8chqg8x.js → model-5qj6jx0q.js} +26 -26
- package/dist/chunks/{schema-3g8j9he4.js → model-5w9yjztw.js} +1 -1
- package/dist/chunks/{schema-mfrb75py.js → model-5x0sq0pb.js} +3 -3
- package/dist/chunks/{schema-vwrj8bb5.js → model-5xtfwz69.js} +44 -44
- package/dist/chunks/{schema-zrtdz52k.js → model-636h7cea.js} +16 -16
- package/dist/chunks/{schema-db05nfjv.js → model-66prbn3s.js} +32 -32
- package/dist/chunks/{schema-dqxsqydv.js → model-6827pfxn.js} +2 -2
- package/dist/chunks/{schema-hjmyv2hs.js → model-6a8atva2.js} +25 -25
- package/dist/chunks/{schema-6zqzf161.js → model-6caww4kb.js} +22 -22
- package/dist/chunks/{schema-pfbpv3g0.js → model-6hexesxg.js} +35 -35
- package/dist/chunks/{schema-d8c58hjf.js → model-6nqxxja9.js} +14 -14
- package/dist/chunks/{schema-8w4g0xa2.js → model-6qgfysr7.js} +22 -22
- package/dist/chunks/{schema-nrr6v9hq.js → model-6rgqsnph.js} +18 -18
- package/dist/chunks/{schema-axsv9zpy.js → model-6x34hzzw.js} +25 -25
- package/dist/chunks/{schema-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-8ww2gede.js → model-6ytk35w5.js} +8 -8
- package/dist/chunks/{schema-s8hpqafn.js → model-70pmzrba.js} +92 -92
- package/dist/chunks/{schema-cc1s9c43.js → model-72y14xv9.js} +9 -9
- package/dist/chunks/{schema-81qk38pm.js → model-74p5kxdx.js} +4 -4
- package/dist/chunks/{schema-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{schema-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-fegk541e.js → model-7d2a7xbs.js} +5 -5
- package/dist/chunks/{schema-rsyte9ef.js → model-7tj55yx8.js} +4 -4
- package/dist/chunks/{schema-cdpaedqb.js → model-86qjnnqk.js} +11 -11
- package/dist/chunks/{schema-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{schema-qtpyfbe9.js → model-8bfncd3g.js} +9 -9
- package/dist/chunks/{schema-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-vqzwdyht.js → model-8q8yj50y.js} +15 -15
- package/dist/chunks/{schema-edrmdtr5.js → model-8rqycdgd.js} +4 -4
- package/dist/chunks/{schema-x90t1x8v.js → model-8w8ydh14.js} +35 -35
- package/dist/chunks/{schema-ggm89tq8.js → model-8ye8phve.js} +8 -8
- package/dist/chunks/{schema-j09zfasm.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{schema-txm3e8qz.js → model-97aeaand.js} +4 -4
- package/dist/chunks/{schema-kd5bjm3y.js → model-9ajnrktk.js} +29 -26
- package/dist/chunks/{schema-p37cw4rj.js → model-9hn6k4tm.js} +8 -8
- package/dist/chunks/{schema-qf8yav5m.js → model-9mga5c27.js} +83 -74
- package/dist/chunks/{schema-086evxbn.js → model-a0xsjpa6.js} +20 -20
- package/dist/chunks/{schema-akzyr1b0.js → model-ab191amw.js} +19 -19
- package/dist/chunks/{schema-m2hjyvdx.js → model-am1tmpj5.js} +10 -10
- package/dist/chunks/{schema-ex0qfgm5.js → model-am4qcv70.js} +24 -24
- package/dist/chunks/{schema-p052r70t.js → model-asaf6qxa.js} +89 -89
- package/dist/chunks/{schema-f9n7485j.js → model-ay5x56j0.js} +25 -25
- package/dist/chunks/{schema-x661k3y3.js → model-azwe5p1w.js} +4 -4
- package/dist/chunks/{schema-q0abj1bt.js → model-b2b6kptg.js} +17 -17
- package/dist/chunks/{schema-gm31ynds.js → model-b4nzaj04.js} +5 -5
- package/dist/chunks/{schema-1wtnhbf9.js → model-b6eebr36.js} +13 -13
- package/dist/chunks/{schema-1ffvrpkg.js → model-bjx1sjef.js} +6 -6
- package/dist/chunks/{schema-r378p0mt.js → model-bmnyjmah.js} +3 -3
- package/dist/chunks/{schema-8xhnhrgx.js → model-bnk7cdjh.js} +23 -23
- package/dist/chunks/{schema-6865p596.js → model-bpkktk07.js} +15 -15
- package/dist/chunks/{schema-dteeez7f.js → model-bpxfg8jv.js} +22 -22
- package/dist/chunks/{schema-ym07d6bt.js → model-bvnyck97.js} +32 -32
- package/dist/chunks/{schema-3m3fc8ex.js → model-bx8wf0xt.js} +8 -8
- package/dist/chunks/model-bzeyqsqd.js +42 -0
- package/dist/chunks/{schema-c1fqxshp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{schema-5kxv8c65.js → model-c2dc41sf.js} +13 -13
- package/dist/chunks/{schema-wja2vrff.js → model-c2qhap2q.js} +52 -52
- package/dist/chunks/{schema-jvjz5qrz.js → model-c975tyge.js} +10 -10
- package/dist/chunks/{schema-n4r3xatb.js → model-ca7w653e.js} +4 -4
- package/dist/chunks/{schema-fsazytah.js → model-cc6y7f3e.js} +27 -27
- package/dist/chunks/{schema-bqq573xy.js → model-ceq2fdbr.js} +40 -40
- package/dist/chunks/{schema-8p79pfpw.js → model-chb9np0b.js} +12 -12
- package/dist/chunks/{schema-95zjjxtq.js → model-cjr1yvem.js} +17 -17
- package/dist/chunks/{schema-ye7hy88z.js → model-cr0kavpg.js} +37 -37
- package/dist/chunks/{schema-1f8tseqc.js → model-cs7jztnn.js} +15 -15
- package/dist/chunks/{schema-4ma3setj.js → model-ctr5jdva.js} +19 -19
- package/dist/chunks/{schema-mjx25vwj.js → model-cxjn1h7n.js} +13 -13
- package/dist/chunks/{schema-j4pa3sxp.js → model-cykvf63n.js} +25 -25
- package/dist/chunks/{schema-1nphqzjq.js → model-d1mb5amx.js} +6 -6
- package/dist/chunks/{schema-61dncda7.js → model-d924vz02.js} +8 -8
- package/dist/chunks/{schema-ghe4s0bd.js → model-de12mgtc.js} +3 -3
- package/dist/chunks/{schema-17vv9xcz.js → model-dm7v99da.js} +43 -43
- package/dist/chunks/{schema-0kycem7f.js → model-dqcawr84.js} +39 -39
- package/dist/chunks/{schema-qqeeq2t9.js → model-drwq78ky.js} +7 -7
- package/dist/chunks/{schema-4xpgt2w9.js → model-dssbfrwz.js} +5 -5
- package/dist/chunks/{schema-fqq9xsk7.js → model-dtg8b4t8.js} +11 -11
- package/dist/chunks/{schema-0gzmbw8p.js → model-dtncpdvy.js} +50 -50
- package/dist/chunks/{schema-408qd735.js → model-e09dskc3.js} +8 -8
- package/dist/chunks/{schema-nma959mg.js → model-e80seqcp.js} +3 -3
- package/dist/chunks/{schema-dj68pnee.js → model-eahhehpg.js} +4 -4
- package/dist/chunks/{schema-1cy71d6v.js → model-ecktab1z.js} +21 -24
- package/dist/chunks/{schema-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-a2n5hk9p.js → model-egcq7ve1.js} +23 -23
- package/dist/chunks/{schema-myznp2ey.js → model-ehh902hv.js} +4 -4
- package/dist/chunks/{schema-r8xr0va3.js → model-f2n192rq.js} +4 -4
- package/dist/chunks/{schema-h7jvcp9k.js → model-f5q4m7s3.js} +16 -16
- package/dist/chunks/{schema-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{schema-fdms3n6w.js → model-fdms3n6w.js} +2 -2
- package/dist/chunks/{schema-dsk87twy.js → model-fqab621c.js} +18 -18
- package/dist/chunks/{schema-00x4qneg.js → model-fqhbsnr5.js} +8 -8
- package/dist/chunks/{schema-srkj9qtk.js → model-fqze90fq.js} +36 -36
- package/dist/chunks/{schema-xmwhtsj9.js → model-fts609s6.js} +13 -13
- package/dist/chunks/{schema-j9k9bt6j.js → model-fygryk8m.js} +48 -48
- package/dist/chunks/{schema-c15vp0bv.js → model-g2c9rtgb.js} +16 -16
- package/dist/chunks/{schema-wa0dzetr.js → model-g4cgpsn5.js} +39 -39
- package/dist/chunks/{schema-8jk8atz7.js → model-g70vnkxp.js} +3 -3
- package/dist/chunks/{schema-rx13retx.js → model-gatvqhtb.js} +314 -314
- package/dist/chunks/{schema-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-tee83863.js → model-gj0f7hmv.js} +11 -11
- package/dist/chunks/{schema-8ztr7zqt.js → model-gm6kgtxz.js} +10 -10
- package/dist/chunks/{schema-m83febcw.js → model-grz7zy3r.js} +32 -32
- package/dist/chunks/{schema-50qje5ka.js → model-h2ebcmnw.js} +5 -5
- package/dist/chunks/{schema-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-h7s7r6s9.js → model-h7s7r6s9.js} +2 -2
- package/dist/chunks/{schema-2c7hjkzv.js → model-h9mky73t.js} +15 -15
- package/dist/chunks/{schema-tt8gc4fv.js → model-hbb7npd7.js} +6 -6
- package/dist/chunks/{schema-b3a5bp18.js → model-hc9nn3cp.js} +11 -11
- package/dist/chunks/{schema-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-svhx02am.js → model-j3j05rer.js} +193 -193
- package/dist/chunks/{schema-bw9zjykr.js → model-j5w2yx54.js} +6 -6
- package/dist/chunks/{schema-0f0zvkaa.js → model-j8d907hd.js} +27 -27
- package/dist/chunks/{schema-7tecbzj9.js → model-jykakyyr.js} +11 -11
- package/dist/chunks/{schema-ce0x165r.js → model-k2qw8yh0.js} +12 -12
- package/dist/chunks/{schema-z3tpe7fs.js → model-kabzph0t.js} +35 -35
- package/dist/chunks/{schema-6fted6dj.js → model-kd2wz8ak.js} +34 -27
- package/dist/chunks/{schema-4axgfxzz.js → model-kftbgjt8.js} +10 -10
- package/dist/chunks/{schema-frtykvn2.js → model-kgyb2az8.js} +7 -7
- package/dist/chunks/{schema-p5ryvqnb.js → model-kj32e9g7.js} +39 -39
- package/dist/chunks/{schema-0yhcr5y4.js → model-krxbrekj.js} +5 -5
- package/dist/chunks/{schema-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{schema-yeejah88.js → model-m5jcjszt.js} +3 -3
- package/dist/chunks/{schema-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-y665z9kv.js → model-ma6nsz3a.js} +11 -11
- package/dist/chunks/{schema-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{schema-t1q28tqc.js → model-mevcanmy.js} +11 -11
- package/dist/chunks/{schema-8ejdx998.js → model-mkj1vhfj.js} +17 -14
- package/dist/chunks/{schema-pmsh97f8.js → model-mnzjzk6s.js} +14 -14
- package/dist/chunks/{schema-9j8yqexn.js → model-mscbxc3d.js} +35 -35
- package/dist/chunks/{schema-gb1z2t6a.js → model-mvnjff55.js} +34 -34
- package/dist/chunks/{schema-psamvvrj.js → model-mvtf3rh0.js} +18 -18
- package/dist/chunks/{schema-q5neaxm4.js → model-mx47rfmj.js} +23 -23
- package/dist/chunks/{schema-ng3ztjpw.js → model-n44feps9.js} +21 -21
- package/dist/chunks/{schema-hcv80w8f.js → model-n61013np.js} +8 -8
- package/dist/chunks/{schema-czxmxkjn.js → model-nbyfmbp2.js} +14 -14
- package/dist/chunks/{schema-a6ngq6mk.js → model-nfjdydxw.js} +23 -23
- package/dist/chunks/{schema-pnaxc6j9.js → model-ngts6ef0.js} +8 -8
- package/dist/chunks/{schema-7yk21tm5.js → model-nkeqdcfk.js} +11 -11
- package/dist/chunks/{schema-wyjfsmfk.js → model-npf2me51.js} +5 -5
- package/dist/chunks/{schema-76p2hadv.js → model-ntfc07z9.js} +18 -18
- package/dist/chunks/{schema-khmqacep.js → model-ny8edt06.js} +4 -4
- package/dist/chunks/{schema-1dbxpfae.js → model-p97a26wd.js} +11 -11
- package/dist/chunks/{schema-apq6r5aa.js → model-pdkwkcft.js} +29 -29
- package/dist/chunks/{schema-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{schema-yakt2btp.js → model-ppmprt3f.js} +15 -15
- package/dist/chunks/{schema-y79jsmc4.js → model-pqjw7jp7.js} +9 -9
- package/dist/chunks/{schema-q8fp7b3t.js → model-px34zb81.js} +2 -2
- package/dist/chunks/{schema-vcp4xrb7.js → model-q4k2r7g2.js} +11 -11
- package/dist/chunks/{schema-2k8khapm.js → model-qgn6gcr1.js} +5 -5
- package/dist/chunks/{schema-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-cpneeje0.js → model-r2m716tb.js} +9 -9
- package/dist/chunks/{schema-6nhx3y9w.js → model-r2v4c7r0.js} +8 -8
- package/dist/chunks/{schema-59jp7pd6.js → model-r7nsrefv.js} +8 -8
- package/dist/chunks/{schema-gehb1j4h.js → model-r9jx05x6.js} +9 -9
- package/dist/chunks/{schema-g686f6pq.js → model-ra67jj04.js} +9 -9
- package/dist/chunks/{schema-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-rert0e01.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{schema-9p5acfy1.js → model-rfvt5x14.js} +27 -27
- package/dist/chunks/{schema-k56mmmxs.js → model-rgkx77sa.js} +28 -28
- package/dist/chunks/{schema-rj3eygr5.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{schema-jws6fkes.js → model-rkprpv83.js} +8 -8
- package/dist/chunks/{schema-bhercncw.js → model-rmjpaj98.js} +6 -6
- package/dist/chunks/{schema-stp8edf2.js → model-rnv29cyz.js} +4 -4
- package/dist/chunks/{schema-hx87cxzr.js → model-s09wpg7e.js} +6 -6
- package/dist/chunks/{schema-jy8e2gma.js → model-s0hxh50y.js} +11 -11
- package/dist/chunks/{schema-hqhqb1sm.js → model-s21aqrjm.js} +13 -13
- package/dist/chunks/{schema-6eq3sh2w.js → model-s5f94422.js} +20 -20
- package/dist/chunks/{schema-v11cfhwj.js → model-s93qc9vz.js} +14 -14
- package/dist/chunks/{schema-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{schema-cks9st07.js → model-shqwqces.js} +24 -24
- package/dist/chunks/{schema-89xe4srr.js → model-ss6w8dzv.js} +23 -23
- package/dist/chunks/{schema-tefzsydj.js → model-sxgptqgt.js} +10 -10
- package/dist/chunks/{schema-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{schema-rhjbct0v.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{schema-3pswppb2.js → model-t83nhy2t.js} +22 -22
- package/dist/chunks/{schema-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-5de2gr9z.js → model-tbtt1cd4.js} +5 -5
- package/dist/chunks/{schema-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{schema-g5f1ryzt.js → model-tebnytv8.js} +20 -20
- package/dist/chunks/{schema-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{schema-fwwj6dpp.js → model-tp9z584j.js} +17 -17
- package/dist/chunks/{schema-h1w7bwx1.js → model-tyrv786q.js} +31 -31
- package/dist/chunks/{schema-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-v0es1rhs.js → model-v0es1rhs.js} +2 -2
- package/dist/chunks/{schema-kwrz0y0k.js → model-v0xmac3n.js} +2 -2
- package/dist/chunks/{schema-s286yagr.js → model-v1thw1q0.js} +18 -18
- package/dist/chunks/{schema-mrej51x7.js → model-v37eec1m.js} +11 -11
- package/dist/chunks/{schema-e74qn5m6.js → model-v6ffca6r.js} +4 -4
- package/dist/chunks/{schema-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-pgp1nwjn.js → model-v7z2bvyd.js} +4 -4
- package/dist/chunks/{schema-s7gh33jr.js → model-v9hfyz1s.js} +32 -32
- package/dist/chunks/{schema-gxbb3yvm.js → model-vbyty4xy.js} +1 -1
- package/dist/chunks/{schema-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-nrs2h4yz.js → model-vhjrr7mk.js} +34 -34
- package/dist/chunks/{schema-resasz5n.js → model-vn3rjt1z.js} +10 -10
- package/dist/chunks/{schema-174z1ezk.js → model-vqwxx78m.js} +14 -14
- package/dist/chunks/{schema-x7jswfsb.js → model-vrxmxsaq.js} +68 -68
- package/dist/chunks/{schema-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-k3bfj9r8.js → model-w0vvr4mg.js} +45 -45
- package/dist/chunks/{schema-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{schema-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-ebf45729.js → model-wa72q8a5.js} +9 -9
- package/dist/chunks/{schema-gr8gj2c0.js → model-wcgc3hss.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{schema-0p6rjs4a.js → model-wdcfxsan.js} +19 -19
- package/dist/chunks/{schema-fmw6cc58.js → model-wjcs86hs.js} +20 -20
- package/dist/chunks/{schema-68ha1dmp.js → model-wr7n6jz0.js} +24 -24
- package/dist/chunks/{schema-10v527gs.js → model-x32pgb56.js} +3 -3
- package/dist/chunks/{schema-69crc7yk.js → model-x3mzkak9.js} +28 -28
- package/dist/chunks/{schema-2q5jh8we.js → model-x3vxrdp4.js} +5 -5
- package/dist/chunks/{schema-mxa1ph63.js → model-xcf9g4kc.js} +29 -29
- package/dist/chunks/{schema-g6nx6pmp.js → model-xe9tpf1b.js} +7 -7
- package/dist/chunks/{schema-2rf1n5pv.js → model-xnj83fhm.js} +25 -25
- package/dist/chunks/{schema-0k8vrbqv.js → model-xp2z857k.js} +17 -17
- package/dist/chunks/{schema-9ekvz889.js → model-xp70dzpx.js} +5 -5
- package/dist/chunks/{schema-8n4dd16f.js → model-xsa8njxy.js} +29 -29
- package/dist/chunks/{schema-dxpcctss.js → model-xxqg5re6.js} +17 -17
- package/dist/chunks/{schema-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-y71avatq.js → model-y71avatq.js} +1 -1
- package/dist/chunks/{schema-sk42vjna.js → model-y9kpd8s3.js} +13 -13
- package/dist/chunks/{schema-g5dqfzj2.js → model-yh1hagv9.js} +11 -11
- package/dist/chunks/{schema-k24fqy0d.js → model-yjb5b1g6.js} +55 -55
- package/dist/chunks/{schema-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-w6hnjh55.js → model-z5exdbxr.js} +36 -36
- package/dist/chunks/{schema-g72yd4k4.js → model-z8y91tz7.js} +12 -12
- package/dist/chunks/{schema-wxnjjx0e.js → model-zmgnvkkw.js} +3 -3
- package/dist/chunks/{schema-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-0hcn15p1.js → model-zssgvwvv.js} +22 -22
- package/dist/chunks/{schema-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -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 +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +104 -104
- package/dist/config/plugin/skill-scan.js +10 -0
- package/dist/config/plugin/skill.js +138 -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 +1 -1
- 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 +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +101 -101
- 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 +360 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/skill-scan.d.ts +5 -0
- package/dist/types/skill.d.ts +1 -1
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/schema-4y9z2cs8.js +0 -257
- package/dist/chunks/schema-ctefx7dc.js +0 -18
- package/dist/chunks/schema-fvxbfx4x.js +0 -26
- /package/dist/chunks/{schema-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{schema-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-k2qw8yh0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./model-30qnvgsd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node46
|
|
13
|
+
} from "./model-bpxfg8jv.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./model-f5q4m7s3.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-1p7ncxxa.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-gm6kgtxz.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-6827pfxn.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service69,
|
|
37
|
+
Event17,
|
|
38
|
+
node72
|
|
39
|
+
} from "./model-tebnytv8.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options5,
|
|
49
|
+
Service: () => Service43,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured5,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer20,
|
|
54
|
+
node: () => node45,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options5 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service43 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer20 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service80;
|
|
102
|
+
const watcher = yield* Service44;
|
|
103
|
+
const bus = yield* Service82;
|
|
104
|
+
const credentials = yield* Service66;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service69;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -186,7 +186,7 @@ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
188
188
|
return [
|
|
189
|
-
...yield* Effect.forEach(
|
|
189
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
190
190
|
new Directory({ type: "directory", path: directory })
|
|
191
191
|
];
|
|
192
192
|
});
|
|
@@ -254,8 +254,8 @@ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
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 }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event15.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 }));
|
|
258
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
268
268
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
269
269
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
270
270
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
271
|
-
const candidates =
|
|
271
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
272
272
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
273
273
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
274
274
|
`;
|
|
@@ -283,7 +283,7 @@ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service43.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer21 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured5(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service43,
|
|
301
|
+
layer: layer20(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node46,
|
|
304
|
+
node86,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
node83,
|
|
308
307
|
node84,
|
|
309
|
-
|
|
308
|
+
node69,
|
|
309
|
+
node72,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node45 = configured5();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options5, Service43, Test2, testLayer2, layer20, configured5, node45, exports_config };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-x32pgb56.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-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: () => Service84,
|
|
17
|
+
node: () => node88
|
|
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 Service84 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service86).db;
|
|
26
|
-
return
|
|
26
|
+
return Service84.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 node88 = makeGlobalNode({ service: Service84, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service84, node88, exports_kv };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service33,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service33 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service33, exports_runner };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-v37eec1m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-k2qw8yh0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./model-30qnvgsd.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-azwe5p1w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-pdkwkcft.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./model-am1tmpj5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-gatvqhtb.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-1rxgbc2t.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-5x0sq0pb.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID3,
|
|
36
|
+
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-5mgf4sgt.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID3
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID12.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -176,10 +176,10 @@ function oauth(http) {
|
|
|
176
176
|
var OpencodePlugin2 = define({
|
|
177
177
|
id: "opencode.provider.opencode",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
|
-
const bus = yield*
|
|
179
|
+
const bus = yield* Service82;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service13;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID12.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID11.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID11.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
|
|
|
349
349
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
350
350
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
351
351
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
352
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
352
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
353
353
|
query: input.query,
|
|
354
354
|
providerID: descriptor.providerID
|
|
355
355
|
}));
|
|
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-azwe5p1w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-k2qw8yh0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./model-30qnvgsd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-pdkwkcft.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./model-gatvqhtb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./model-1rxgbc2t.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./model-t83nhy2t.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-v37eec1m.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID8
|
|
33
|
+
} from "./model-shqwqces.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get5
|
|
36
|
+
} from "./model-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID12.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service64;
|
|
167
|
+
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,23 +249,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
256
256
|
}));
|
|
257
257
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
258
258
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
259
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
259
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID11.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID11.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID11.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./model-j5w2yx54.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-de12mgtc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./model-kd2wz8ak.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
19
19
|
__export(exports_skill4, {
|
|
20
20
|
SessionSkill: () => exports_skill4,
|
|
21
|
-
get: () =>
|
|
21
|
+
get: () => get4
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
|
-
var
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
24
|
+
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
+
const instances = yield* Service36;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
30
30
|
return skill;
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { get4, exports_skill4 };
|