@opencode/core 0.0.0-dev-19652 → 0.0.0-dev-19654
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{schema-sjf3tctt.js → project-0c2xmx3r.js} +5 -5
- package/dist/chunks/{schema-bjgq97ey.js → project-0ctkc4ky.js} +16 -16
- package/dist/chunks/{schema-knvfs6pc.js → project-0ejs8pyj.js} +11 -11
- package/dist/chunks/{schema-ekdmd5z4.js → project-0jsday3s.js} +47 -47
- package/dist/chunks/{schema-2fgn2we9.js → project-0ke265bw.js} +7 -7
- package/dist/chunks/{schema-nekzqhap.js → project-0kvys8hn.js} +9 -9
- package/dist/chunks/project-0mesazry.js +4 -0
- package/dist/chunks/{schema-typ47xqv.js → project-0mhynwnc.js} +8 -8
- package/dist/chunks/{schema-rv9hmyrv.js → project-0mkyqgfd.js} +25 -25
- package/dist/chunks/{schema-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-3ythc6yv.js → project-0rpg7gzc.js} +4 -4
- package/dist/chunks/{schema-69mekdnv.js → project-0sj5h9wb.js} +29 -29
- package/dist/chunks/{schema-tjecye6p.js → project-0vz1tkj3.js} +10 -10
- package/dist/chunks/{schema-tgtkvqe9.js → project-0xthej4a.js} +5 -5
- package/dist/chunks/{schema-1bbkgx8g.js → project-1bbkgx8g.js} +1 -1
- package/dist/chunks/{schema-kbch1f4b.js → project-1bdr5thg.js} +43 -43
- package/dist/chunks/{schema-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-rpcw9abc.js → project-1jysd4sq.js} +18 -18
- package/dist/chunks/{schema-17xzmh3e.js → project-1pdxjmka.js} +39 -39
- package/dist/chunks/{schema-wp67138w.js → project-1ratrz0v.js} +29 -29
- package/dist/chunks/{schema-3ee1q45j.js → project-1sgtrjmp.js} +10 -10
- package/dist/chunks/{schema-6sydn1mq.js → project-1wspaw71.js} +5 -5
- package/dist/chunks/{schema-1ygqh575.js → project-1ygqh575.js} +2 -2
- package/dist/chunks/{schema-mmwvyfxk.js → project-1ynd3vfw.js} +29 -29
- package/dist/chunks/{schema-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{schema-6h73sxmp.js → project-2402vzrj.js} +5 -5
- package/dist/chunks/{schema-x3656kx6.js → project-24ag81p1.js} +12 -12
- package/dist/chunks/{schema-gmjjhz4f.js → project-283sq9eb.js} +7 -7
- package/dist/chunks/{schema-z63w68vq.js → project-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-ctkq0avj.js → project-2ahk5c0y.js} +16 -16
- package/dist/chunks/{schema-5sbtfkvy.js → project-2as6abmy.js} +11 -11
- package/dist/chunks/{schema-egb509wj.js → project-2dn13wbh.js} +7 -7
- package/dist/chunks/{schema-ckspfy32.js → project-2h4yezz8.js} +11 -11
- package/dist/chunks/{schema-gjfy02nj.js → project-2jdkswqa.js} +38 -38
- package/dist/chunks/{schema-9j3p0a6z.js → project-2k5sqtx0.js} +37 -37
- package/dist/chunks/{schema-kyxd1ff3.js → project-2m0tdyvq.js} +15 -15
- package/dist/chunks/{schema-4x3es53w.js → project-35qx3tg6.js} +15 -15
- package/dist/chunks/{schema-rj5n40r1.js → project-36rrs65m.js} +30 -30
- package/dist/chunks/{schema-jeck9fhr.js → project-3ady01sp.js} +15 -15
- package/dist/chunks/{schema-tn0aqsam.js → project-3cfzdc8e.js} +5 -5
- package/dist/chunks/{schema-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-z0rhrb3j.js → project-3m60hbn1.js} +31 -31
- package/dist/chunks/{schema-603btna3.js → project-3msvx9qz.js} +16 -16
- package/dist/chunks/{schema-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-7jstqpd5.js → project-3t3smen9.js} +29 -29
- package/dist/chunks/{schema-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-pzkc7njq.js → project-3w3pp2km.js} +17 -17
- package/dist/chunks/{schema-y7s0zapj.js → project-3xc949v2.js} +17 -17
- package/dist/chunks/{schema-4dv0c8br.js → project-42173m5y.js} +7 -7
- package/dist/chunks/{schema-7a89sew0.js → project-4228h0q6.js} +26 -26
- package/dist/chunks/{schema-nrc1qagd.js → project-4336qr41.js} +10 -10
- package/dist/chunks/{schema-tg92h923.js → project-4aegmmva.js} +11 -11
- package/dist/chunks/{schema-3nsjfmzq.js → project-4hv3mxh5.js} +6 -6
- package/dist/chunks/{schema-xr05v48s.js → project-4knwenfv.js} +6 -6
- package/dist/chunks/{schema-rz9jtxyn.js → project-4pbmg8th.js} +6 -6
- package/dist/chunks/{schema-957yf008.js → project-508tw13s.js} +16 -16
- package/dist/chunks/{schema-5c4hm403.js → project-5c4hm403.js} +3 -3
- package/dist/chunks/{schema-03ep55h0.js → project-5d3evgag.js} +20 -20
- package/dist/chunks/{schema-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-kqvqnzwb.js → project-5e2qmmvm.js} +16 -16
- package/dist/chunks/{schema-94fp10gk.js → project-5pdnvhmz.js} +4 -4
- package/dist/chunks/{schema-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-5yzzbxa7.js → project-5yzzbxa7.js} +1 -1
- package/dist/chunks/{schema-xpbr7bcc.js → project-63kngrnd.js} +6 -6
- package/dist/chunks/{schema-w1k39n5e.js → project-64kphnzf.js} +4 -4
- package/dist/chunks/{schema-hknczzph.js → project-65zjkj2s.js} +9 -9
- package/dist/chunks/{schema-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{schema-76mtmnx0.js → project-68v7wq3s.js} +6 -6
- package/dist/chunks/{schema-awaxm1q8.js → project-6dxca9n3.js} +27 -27
- package/dist/chunks/{schema-axb19299.js → project-6mdkj0jz.js} +57 -57
- package/dist/chunks/{schema-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-00a8st2d.js → project-6n0315c6.js} +13 -13
- package/dist/chunks/{schema-ce5fknq2.js → project-6vq97qmv.js} +5 -5
- package/dist/chunks/{schema-smjnv1yt.js → project-72j82y8n.js} +17 -17
- package/dist/chunks/{schema-49cpqk8x.js → project-75jjxc6v.js} +10 -10
- package/dist/chunks/{schema-f1t1f2q3.js → project-75wwenxr.js} +22 -22
- package/dist/chunks/{schema-zz75d48d.js → project-77hwbmqb.js} +300 -300
- package/dist/chunks/{schema-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-607tc6va.js → project-7dqw4kz8.js} +5 -5
- package/dist/chunks/{schema-kgxz2f7g.js → project-7tav4pdx.js} +12 -12
- package/dist/chunks/{schema-38s28pd0.js → project-7v31bb7s.js} +27 -27
- package/dist/chunks/{schema-p6dqprnz.js → project-7y7zxavp.js} +5 -5
- package/dist/chunks/{schema-k5wasz4q.js → project-813tndwv.js} +5 -5
- package/dist/chunks/{schema-y1f6k396.js → project-8bjqnspe.js} +20 -20
- package/dist/chunks/{schema-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-kg6516s3.js → project-8f3thapn.js} +7 -7
- package/dist/chunks/{schema-tgzhv03a.js → project-8h827zca.js} +11 -11
- package/dist/chunks/{schema-h896pcm5.js → project-909p1r3q.js} +6 -6
- package/dist/chunks/{schema-58bewgwg.js → project-919d85q8.js} +17 -17
- package/dist/chunks/{schema-6rf1xn29.js → project-91e8dqzw.js} +12 -12
- package/dist/chunks/{schema-4rt0waxz.js → project-91xe9zf9.js} +16 -16
- package/dist/chunks/{schema-4xeagmdc.js → project-92w5tfq9.js} +3 -3
- package/dist/chunks/{schema-9c3np669.js → project-9c3np669.js} +1 -1
- package/dist/chunks/{schema-scd6nj0g.js → project-9egeszzx.js} +20 -20
- package/dist/chunks/{schema-r8r0p3p5.js → project-9r3dwykc.js} +28 -28
- package/dist/chunks/{schema-qenep300.js → project-9rmgeemn.js} +39 -39
- package/dist/chunks/{schema-sztsy51r.js → project-9w2d8nma.js} +13 -13
- package/dist/chunks/{schema-vm903892.js → project-a0ns0bt7.js} +1 -1
- package/dist/chunks/{schema-v5dkyp31.js → project-a2ew8a62.js} +4 -4
- package/dist/chunks/{schema-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-xtb4zs1s.js → project-af4kcn4k.js} +16 -16
- package/dist/chunks/{schema-1wzaq9wx.js → project-amgstf24.js} +3 -3
- package/dist/chunks/{schema-0v53mg2y.js → project-an7cqtb7.js} +4 -4
- package/dist/chunks/{schema-2df3b3hs.js → project-azhv3eab.js} +25 -25
- package/dist/chunks/{schema-2j9z72bx.js → project-b23ptxzd.js} +4 -4
- package/dist/chunks/{schema-m5bv8msf.js → project-b4h8ce20.js} +15 -15
- package/dist/chunks/{schema-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-yqb6sz7a.js → project-bhf5x28m.js} +2 -2
- package/dist/chunks/{schema-ppns27wk.js → project-bvzgpym2.js} +15 -15
- package/dist/chunks/{schema-8aw2er08.js → project-bya4tfsq.js} +24 -24
- package/dist/chunks/{schema-ty91eq5w.js → project-bywmx7r6.js} +5 -5
- package/dist/chunks/{schema-hcnq7x11.js → project-ce1f98sa.js} +9 -9
- package/dist/chunks/{schema-42way606.js → project-ce2afrs8.js} +7 -7
- package/dist/chunks/{schema-r2m716tb.js → project-cpneeje0.js} +9 -9
- package/dist/chunks/{schema-vvvs0jwh.js → project-cskcfgzm.js} +4 -4
- package/dist/chunks/{schema-4r0rs1wm.js → project-cvyvsn92.js} +26 -26
- package/dist/chunks/{schema-99pz0y8y.js → project-cwanq1ts.js} +20 -20
- package/dist/chunks/{schema-htmcw1qg.js → project-d94k0pgm.js} +11 -11
- package/dist/chunks/{schema-dj2t23y0.js → project-dj2t23y0.js} +2 -2
- package/dist/chunks/{schema-yyrnn2g5.js → project-djqd3t6t.js} +29 -29
- package/dist/chunks/{schema-6008d0qp.js → project-dmw6w6dp.js} +175 -175
- package/dist/chunks/{schema-y71avatq.js → project-dpkg50ah.js} +4 -4
- package/dist/chunks/{schema-3qq5da58.js → project-drbh6n2a.js} +80 -80
- package/dist/chunks/{schema-drwq78ky.js → project-drwq78ky.js} +1 -1
- package/dist/chunks/{schema-zqw47kg9.js → project-dw9e412h.js} +15 -15
- package/dist/chunks/{schema-rp39zwfx.js → project-e3csx9vp.js} +7 -7
- package/dist/chunks/{schema-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-bndc73cn.js → project-e5nv3ght.js} +5 -5
- package/dist/chunks/{schema-8d4156c8.js → project-ea5ew2x7.js} +23 -23
- package/dist/chunks/{schema-eaj1djv9.js → project-eaj1djv9.js} +1 -1
- package/dist/chunks/{schema-hyjskg14.js → project-eeez9nrk.js} +14 -14
- package/dist/chunks/{schema-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-n61j5yzm.js → project-emfknypz.js} +5 -5
- package/dist/chunks/{schema-fg588aq2.js → project-ep5m281w.js} +14 -14
- package/dist/chunks/{schema-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-820fwhp7.js → project-f38a36z7.js} +7 -7
- package/dist/chunks/project-f6087nw3.js +26 -0
- package/dist/chunks/{schema-xr485xf2.js → project-fd1vbwzp.js} +5 -5
- package/dist/chunks/{schema-gps939mq.js → project-fg4f3yfz.js} +43 -43
- package/dist/chunks/{schema-fkjmw100.js → project-fkjmw100.js} +2 -2
- package/dist/chunks/{schema-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-1fg54p4f.js → project-g4agn56x.js} +2 -2
- package/dist/chunks/{schema-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-4td6qmdq.js → project-gec2k11q.js} +9 -9
- package/dist/chunks/{schema-a578tmxk.js → project-gkmdmjc8.js} +24 -24
- package/dist/chunks/{schema-h0qctgs0.js → project-gm2mrtn0.js} +11 -11
- package/dist/chunks/{schema-2tfmgkzg.js → project-gnx4ytbv.js} +4 -4
- package/dist/chunks/{schema-bsywhvdw.js → project-gp51e444.js} +13 -13
- package/dist/chunks/{schema-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-2072y70k.js → project-gx3406ah.js} +28 -28
- package/dist/chunks/{schema-h03wrkyp.js → project-h03wrkyp.js} +2 -2
- package/dist/chunks/{schema-0fn2v7vk.js → project-h4jnxhkz.js} +6 -6
- package/dist/chunks/{schema-cpj0znwe.js → project-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-0r7yqxbf.js → project-hcz3zddy.js} +5 -5
- package/dist/chunks/{schema-hdnk95c8.js → project-hdnk95c8.js} +2 -2
- package/dist/chunks/{schema-030jpyv0.js → project-hf679vsh.js} +10 -10
- package/dist/chunks/{schema-r8vbt15x.js → project-j310j1r9.js} +20 -20
- package/dist/chunks/{schema-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-50qbb3mm.js → project-j5ft5etd.js} +9 -9
- package/dist/chunks/{schema-mgbtsknw.js → project-j7pxtyw0.js} +31 -31
- package/dist/chunks/{schema-w9jmd2e2.js → project-j8x89yg9.js} +84 -84
- package/dist/chunks/{schema-6w1d93z6.js → project-jcw1vdbb.js} +9 -9
- package/dist/chunks/{schema-5b21016n.js → project-je2cd00w.js} +8 -8
- package/dist/chunks/{schema-c7fs63yh.js → project-jh9az3vg.js} +6 -6
- package/dist/chunks/{schema-09m97qzh.js → project-jmbnh86v.js} +48 -48
- package/dist/chunks/{schema-b3yf6gst.js → project-jq1rd4f8.js} +20 -20
- package/dist/chunks/{schema-r2fyx2gr.js → project-k4hrnwex.js} +29 -29
- package/dist/chunks/{schema-x4bypsmn.js → project-k9jbpmrm.js} +11 -11
- package/dist/chunks/{schema-hrbhtc9f.js → project-kamrabka.js} +31 -31
- package/dist/chunks/{schema-mecezrcf.js → project-kdst1v80.js} +21 -21
- package/dist/chunks/{schema-eye44qas.js → project-kgen349b.js} +9 -9
- package/dist/chunks/{schema-g190xswt.js → project-kk00bynn.js} +21 -21
- package/dist/chunks/{schema-mqzgvnq5.js → project-kn78z32t.js} +21 -21
- package/dist/chunks/{schema-m0jqrx5p.js → project-m0jqrx5p.js} +2 -2
- package/dist/chunks/{schema-410w8yr6.js → project-m24hhjzv.js} +20 -20
- package/dist/chunks/{schema-57b0vs49.js → project-m340qnag.js} +3 -3
- package/dist/chunks/{schema-6dk543bq.js → project-m6pqj4ta.js} +8 -8
- package/dist/chunks/{schema-3yr6111a.js → project-m97qx7xz.js} +25 -25
- package/dist/chunks/{schema-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-8nmhcqgw.js → project-mnmcnwgd.js} +13 -13
- package/dist/chunks/{schema-ycnmbzhj.js → project-mz5jx2zm.js} +3 -3
- package/dist/chunks/{schema-p01rfyrx.js → project-mzpa3rg8.js} +2 -2
- package/dist/chunks/{schema-m9wy7qrr.js → project-n8c291r7.js} +6 -6
- package/dist/chunks/project-n95b3jav.js +18 -0
- package/dist/chunks/{schema-nq7qbqzc.js → project-nq7qbqzc.js} +2 -2
- package/dist/chunks/{schema-q3t37ft6.js → project-nvxqht09.js} +3 -3
- package/dist/chunks/{schema-zw2p42d9.js → project-nzfxy407.js} +5 -5
- package/dist/chunks/{schema-jc26sbfk.js → project-p5d14cgj.js} +6 -6
- package/dist/chunks/{schema-bdcpzjfh.js → project-p7ja2v5n.js} +1 -1
- package/dist/chunks/{schema-ztcmmyvq.js → project-perc706q.js} +11 -11
- package/dist/chunks/{schema-ddj5qfgg.js → project-phd5e4cp.js} +26 -26
- package/dist/chunks/{schema-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{schema-vy5pp12k.js → project-psz73s1d.js} +18 -18
- package/dist/chunks/{schema-k8m1efg7.js → project-q0k7eptx.js} +24 -24
- package/dist/chunks/{schema-h7e5g0tn.js → project-q5zafh14.js} +6 -6
- package/dist/chunks/{schema-5rzrtx0h.js → project-qa4ajh0m.js} +24 -24
- package/dist/chunks/{schema-5htpha5v.js → project-qekt2jqg.js} +13 -13
- package/dist/chunks/{schema-47vm6cas.js → project-qens5r2c.js} +12 -12
- package/dist/chunks/{schema-tac2mqbh.js → project-qk76jaa9.js} +4 -4
- package/dist/chunks/{schema-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-79qmf15m.js → project-r0je5mrb.js} +38 -38
- package/dist/chunks/{schema-rd1twtdz.js → project-r3akfy93.js} +11 -11
- package/dist/chunks/{schema-gnssr4kh.js → project-r5th2wk9.js} +11 -11
- package/dist/chunks/{schema-r9mregkx.js → project-r9mregkx.js} +2 -2
- package/dist/chunks/{schema-6hjx5zpb.js → project-r9w3djhf.js} +2 -2
- package/dist/chunks/{schema-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-35agz59w.js → project-rp8jz6x1.js} +4 -4
- package/dist/chunks/{schema-3cemjer9.js → project-rpwkf085.js} +11 -11
- package/dist/chunks/{schema-fqtvmpfq.js → project-rvf0m9x6.js} +8 -8
- package/dist/chunks/{schema-w1ad28wa.js → project-s0agc963.js} +5 -5
- package/dist/chunks/{schema-y0pcwp9m.js → project-s0shxj5b.js} +45 -45
- package/dist/chunks/{schema-r2e4tzq6.js → project-s3xq2xqv.js} +25 -25
- package/dist/chunks/{schema-t6kmr1tg.js → project-s3znddnf.js} +13 -13
- package/dist/chunks/{schema-yrznvahk.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-ngqd1g3c.js → project-sdc78qer.js} +4 -4
- package/dist/chunks/{schema-4sa93e2e.js → project-sm6kx0sx.js} +23 -23
- package/dist/chunks/{schema-jyvkdnw5.js → project-sr3w7f2q.js} +13 -13
- package/dist/chunks/{schema-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → project-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{schema-jca4demv.js → project-tqkrwgse.js} +2 -2
- package/dist/chunks/{schema-d4727nqf.js → project-tsgs9r3b.js} +14 -14
- package/dist/chunks/{schema-pt08jtz7.js → project-ttpgpe01.js} +5 -5
- package/dist/chunks/{schema-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-9qdsg55z.js → project-v09pjjmz.js} +20 -20
- package/dist/chunks/{schema-vtqhpasw.js → project-v6cmbkn7.js} +11 -11
- package/dist/chunks/{schema-wzw28g6j.js → project-v8e0nmhf.js} +20 -20
- package/dist/chunks/{schema-9esbgk1q.js → project-v8p7hepz.js} +4 -4
- package/dist/chunks/{schema-cd4vjczq.js → project-v8wsj8x1.js} +10 -10
- package/dist/chunks/{schema-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-ckfwh0ft.js → project-vyrd71eq.js} +11 -11
- package/dist/chunks/{schema-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-t904akrn.js → project-w2mjwr1c.js} +11 -11
- package/dist/chunks/{schema-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-0dz7dwft.js → project-wah84vk8.js} +3 -3
- package/dist/chunks/{schema-mrs0jc6e.js → project-wd8216ry.js} +24 -24
- package/dist/chunks/{schema-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{schema-c3x1jprk.js → project-wehtpj37.js} +5 -5
- package/dist/chunks/{schema-eevfkcnk.js → project-wfdj3108.js} +13 -13
- package/dist/chunks/{schema-4jc5c4h4.js → project-wy8b5sm2.js} +1 -1
- package/dist/chunks/{schema-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-m31hrvtp.js → project-x1xcpfha.js} +7 -7
- package/dist/chunks/{schema-rcdaxd8f.js → project-x9trd2t9.js} +25 -25
- package/dist/chunks/{schema-evg6vw2r.js → project-xeg7g0nc.js} +48 -48
- package/dist/chunks/{schema-fd75nkaf.js → project-xmxm48pn.js} +11 -11
- package/dist/chunks/{schema-p1aznbsd.js → project-xnvh8etj.js} +28 -28
- package/dist/chunks/{schema-vtna6zda.js → project-y0137adc.js} +14 -14
- package/dist/chunks/{schema-kwnfrnw8.js → project-y0x32n70.js} +42 -42
- package/dist/chunks/{schema-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-jd2srmve.js → project-y1gfnvav.js} +3 -3
- package/dist/chunks/{schema-qdw6nraz.js → project-y30cx3k6.js} +21 -21
- package/dist/chunks/{schema-06z447d2.js → project-y4wnem0h.js} +11 -11
- package/dist/chunks/{schema-5377s7rv.js → project-yafpb3vq.js} +31 -31
- package/dist/chunks/{schema-z5wxwd7n.js → project-yb7dx6fn.js} +15 -15
- package/dist/chunks/{schema-zc3k5t70.js → project-yh2jwdmt.js} +13 -13
- package/dist/chunks/{schema-cws54ygj.js → project-ykx6fwe4.js} +10 -10
- package/dist/chunks/{schema-x31saxwp.js → project-yne04gbc.js} +16 -16
- package/dist/chunks/{schema-f2n192rq.js → project-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-0f9afca0.js → project-yt0fqk68.js} +5 -5
- package/dist/chunks/{schema-srr10nqc.js → project-ytaba3rm.js} +140 -140
- package/dist/chunks/{schema-58np9qmz.js → project-ytvs2gwk.js} +8 -8
- package/dist/chunks/{schema-mp38ktsp.js → project-yxv89v09.js} +24 -24
- package/dist/chunks/{schema-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-e7hkndy5.js → project-z11y0772.js} +20 -20
- package/dist/chunks/{schema-kj973gv5.js → project-z34z7wrd.js} +4 -4
- package/dist/chunks/{schema-81aqn7eh.js → project-z3a5n6da.js} +17 -17
- package/dist/chunks/{schema-fy8yekx1.js → project-z4t88j96.js} +4 -4
- package/dist/chunks/{schema-hp0ybgxk.js → project-zb1vtzsk.js} +8 -8
- package/dist/chunks/{schema-nxf878eb.js → project-zb5r93d0.js} +27 -27
- package/dist/chunks/{schema-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-8gxqpgph.js → project-zvt5dnpc.js} +4 -4
- package/dist/chunks/{schema-p7rq11dp.js → project-zw2h9791.js} +23 -23
- package/dist/chunks/{schema-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- 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 +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +355 -355
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- 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 +117 -117
- 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 +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- 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 +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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/schema-dmc6ybme.js +0 -26
- package/dist/chunks/schema-hgd4btym.js +0 -18
- package/dist/chunks/schema-hxa7m5za.js +0 -4
- /package/dist/chunks/{schema-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-m340qnag.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-z4t88j96.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-64kphnzf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./project-rpwkf085.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-wy8b5sm2.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./project-36rrs65m.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./project-5pdnvhmz.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./project-mz5jx2zm.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./project-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./project-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./project-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer6,
|
|
62
|
+
node: () => node11,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
301
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service81;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service82).db;
|
|
@@ -374,7 +374,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
374
374
|
webSocket
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
|
-
const original = (sessionID) =>
|
|
377
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
378
378
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
379
379
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
380
380
|
const context = input.context;
|
|
@@ -607,7 +607,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service9.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
621
|
-
layer:
|
|
619
|
+
var node11 = makeLocationNode({
|
|
620
|
+
service: Service9,
|
|
621
|
+
layer: layer6,
|
|
622
622
|
deps: [node85, node86, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-0c2xmx3r.js";
|
|
11
11
|
import {
|
|
12
12
|
Service77,
|
|
13
13
|
node81
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-7y7zxavp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node58,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service56 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service56.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node58 = makeLocationNode({
|
|
144
|
+
service: Service56,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service56, Service56.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service56, node58, noopLayer3, exports_snapshot2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-z4t88j96.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service75 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service75, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID15.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service75.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node79 = makeLocationNode({ service: Service75, layer: layer24, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer24, node79, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./project-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event13,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service67,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node69,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event13 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service67 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service67.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service67).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service67, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node69 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event13, hasNativeBinding2, Native3, Options8, Service67, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured8, node69, exports_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-m340qnag.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service35 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service35.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node39 = makeLocationNode({ service: Service35, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service35, node39, exports_instruction_entry };
|