@opencode/core 0.0.0-dev-20501 → 0.0.0-dev-20502
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{instance-7ybxagra.js → state-00fpxpn5.js} +14 -14
- package/dist/chunks/{instance-rv2xbfet.js → state-04gs4nsy.js} +25 -25
- package/dist/chunks/{instance-42dyfg6r.js → state-04qdqhm4.js} +85 -85
- package/dist/chunks/{instance-9d7p7x83.js → state-0bxg4b7b.js} +5 -5
- package/dist/chunks/{instance-kqe0rhr8.js → state-0dzb2fh1.js} +28 -28
- package/dist/chunks/{instance-8m0n3hzg.js → state-0kxqejyt.js} +20 -20
- package/dist/chunks/{instance-fpsj9aca.js → state-0mvxp7h8.js} +36 -36
- package/dist/chunks/{instance-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-8czwgq6e.js → state-14q94ps1.js} +27 -27
- package/dist/chunks/{instance-r8xr0va3.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{instance-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-1dvck2a7.js → state-1dvck2a7.js} +2 -2
- package/dist/chunks/{instance-e8dkg8vp.js → state-1pcxnx7b.js} +17 -17
- package/dist/chunks/{instance-6yz0wx8n.js → state-1pxz8ven.js} +5 -5
- package/dist/chunks/{instance-x6bs9tvy.js → state-1spa2br4.js} +27 -27
- package/dist/chunks/state-1x11rq2a.js +18 -0
- package/dist/chunks/{instance-8knyp9d4.js → state-1yap1j0z.js} +13 -13
- package/dist/chunks/{instance-86qjnnqk.js → state-1yd7h3h8.js} +11 -11
- package/dist/chunks/{instance-56gdpj1q.js → state-1ygqh575.js} +9 -9
- package/dist/chunks/{instance-mz298h14.js → state-28mma7dt.js} +20 -20
- package/dist/chunks/{instance-pw3bd5w8.js → state-28t7fsxc.js} +17 -17
- package/dist/chunks/{instance-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-kng091an.js → state-2bthm84s.js} +62 -62
- package/dist/chunks/{instance-qxmq78kv.js → state-2cntd9m5.js} +11 -11
- package/dist/chunks/{instance-f1tjn5j3.js → state-2dafkw8j.js} +10 -10
- package/dist/chunks/{instance-xpj1cvsh.js → state-2h54n0ee.js} +16 -16
- package/dist/chunks/state-2q1gdtj5.js +26 -0
- package/dist/chunks/{instance-5nfh8h9s.js → state-2txgt396.js} +51 -51
- package/dist/chunks/{instance-zx0sm25s.js → state-33acgdzk.js} +54 -54
- package/dist/chunks/{instance-bxbx8zp1.js → state-3a1njz6g.js} +35 -35
- package/dist/chunks/{instance-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-qz5xevk1.js → state-40prtpnq.js} +44 -44
- package/dist/chunks/{instance-mpjjz0gc.js → state-43k6mxyp.js} +25 -25
- package/dist/chunks/{instance-44pdqs77.js → state-44pdqs77.js} +1 -1
- package/dist/chunks/{instance-mck1fd68.js → state-4et8za5p.js} +20 -20
- package/dist/chunks/{instance-sspp8q54.js → state-4gpan3tv.js} +24 -24
- package/dist/chunks/{instance-vhrxqn0p.js → state-4kqs1p7e.js} +46 -46
- package/dist/chunks/{instance-m95rcb0h.js → state-4mqwqfx5.js} +25 -25
- package/dist/chunks/{instance-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instance-0m2etne7.js → state-4weqm6mh.js} +9 -9
- package/dist/chunks/{instance-19ehbgqt.js → state-4xmcw5g1.js} +5 -5
- package/dist/chunks/{instance-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-39sw89r3.js → state-552zmxxp.js} +3 -3
- package/dist/chunks/{instance-xpyddbbb.js → state-5axtk5nv.js} +14 -14
- package/dist/chunks/{instance-rd93mfeb.js → state-5d7h1caw.js} +23 -23
- package/dist/chunks/{instance-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-srchk8xg.js → state-5jfs6fcr.js} +88 -88
- package/dist/chunks/{instance-7bnqqk1p.js → state-5nd31jak.js} +10 -10
- package/dist/chunks/{instance-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-nym3rvkn.js → state-63db42yp.js} +2 -2
- package/dist/chunks/{instance-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{instance-eszxba4w.js → state-6dx8ajqs.js} +11 -11
- package/dist/chunks/{instance-zvq3prv8.js → state-6mqqbwyk.js} +21 -21
- package/dist/chunks/{instance-jmeq8ftx.js → state-6yy2nrsp.js} +20 -20
- package/dist/chunks/{instance-71az546q.js → state-71az546q.js} +2 -2
- package/dist/chunks/{instance-jvkq42h0.js → state-73c1v7ws.js} +10 -10
- package/dist/chunks/{instance-r5x6zcsm.js → state-73tb2d7t.js} +3 -3
- package/dist/chunks/{instance-gs8p34pz.js → state-78e73m81.js} +5 -5
- package/dist/chunks/{instance-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-pnsr0p42.js → state-7fqwg69p.js} +6 -6
- package/dist/chunks/{instance-nchwjr9t.js → state-7j4r25vm.js} +17 -17
- package/dist/chunks/{instance-rz6wpjjq.js → state-7ysgmthn.js} +16 -16
- package/dist/chunks/{instance-1awe5t4t.js → state-82ax3vh0.js} +18 -18
- package/dist/chunks/{instance-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{instance-c1khhbwk.js → state-8958pznr.js} +17 -17
- package/dist/chunks/{instance-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{instance-acbke728.js → state-8c1sptgz.js} +30 -30
- package/dist/chunks/{instance-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-d5pz8sbn.js → state-8e34b0x6.js} +11 -11
- package/dist/chunks/{instance-ap333n6k.js → state-8qyfkx8k.js} +11 -11
- package/dist/chunks/{instance-n63f2zk2.js → state-8rn66pkq.js} +5 -5
- package/dist/chunks/{instance-53sf8ahw.js → state-8sngcwq1.js} +35 -35
- package/dist/chunks/{instance-3vgw85hf.js → state-8v563t0s.js} +11 -11
- package/dist/chunks/{instance-x3gqap9d.js → state-8wbxkt1z.js} +4 -4
- package/dist/chunks/{instance-hhw0pz70.js → state-952edfyj.js} +13 -13
- package/dist/chunks/{instance-9e5bzkjp.js → state-9e5bzkjp.js} +3 -3
- package/dist/chunks/{instance-6h1ernme.js → state-9h4a5xab.js} +11 -11
- package/dist/chunks/{instance-yyf6c41z.js → state-9qxc37cz.js} +19 -19
- package/dist/chunks/{instance-hhjnwsvv.js → state-9wszy0je.js} +10 -10
- package/dist/chunks/{instance-6v5ywg3j.js → state-a2mg75pg.js} +14 -14
- package/dist/chunks/{instance-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-n6em7m46.js → state-aern4wpy.js} +32 -32
- package/dist/chunks/{instance-t89fqycx.js → state-ahd542yp.js} +8 -8
- package/dist/chunks/{instance-04ww6csf.js → state-anzqh0py.js} +11 -11
- package/dist/chunks/{instance-we0zymgf.js → state-ap73x2p1.js} +4 -4
- package/dist/chunks/{instance-59zzfr94.js → state-axk49psg.js} +5 -5
- package/dist/chunks/{instance-htb3byfj.js → state-ay8gqnx6.js} +8 -8
- package/dist/chunks/{instance-mqmwrffs.js → state-azmj554m.js} +17 -17
- package/dist/chunks/{instance-912vf9kc.js → state-b1etsjzr.js} +18 -18
- package/dist/chunks/{instance-b67ek277.js → state-b5gwpyg7.js} +22 -22
- package/dist/chunks/{instance-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-j3sa27c0.js → state-bp8hqz04.js} +5 -5
- package/dist/chunks/{instance-e88883fe.js → state-bs8y318y.js} +31 -31
- package/dist/chunks/{instance-2k9fjx65.js → state-bx0gyb4h.js} +5 -5
- package/dist/chunks/{instance-0zvypgav.js → state-c276ajz9.js} +8 -8
- package/dist/chunks/{instance-rf5255yd.js → state-c8sjj9w2.js} +4 -4
- package/dist/chunks/{instance-zvxm2h3r.js → state-cb2298qb.js} +15 -15
- package/dist/chunks/{instance-cfsekr6v.js → state-cfsekr6v.js} +2 -2
- package/dist/chunks/{instance-hxxsxf4j.js → state-cg1vask2.js} +15 -15
- package/dist/chunks/{instance-bj0ngn53.js → state-cmd29g7k.js} +24 -24
- package/dist/chunks/{instance-8v6pyhej.js → state-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instance-k14ky23s.js → state-cnc3hz65.js} +30 -30
- package/dist/chunks/{instance-j6r369hx.js → state-cqxgxmhy.js} +4 -4
- package/dist/chunks/{instance-5rgb6pjb.js → state-cren2jfr.js} +11 -11
- package/dist/chunks/{instance-3cxaaryr.js → state-cwjkr794.js} +19 -19
- package/dist/chunks/state-d0v57x60.js +253 -0
- package/dist/chunks/{instance-wj76ss2k.js → state-d858xzj7.js} +4 -4
- package/dist/chunks/{instance-dh06npjf.js → state-da0zeymm.js} +1 -1
- package/dist/chunks/{instance-bq8tx5ht.js → state-dc42k26b.js} +9 -9
- package/dist/chunks/{instance-zvt5dnpc.js → state-dhmh7aw6.js} +4 -4
- package/dist/chunks/{instance-qw20ezfp.js → state-dhx4zg22.js} +3 -3
- package/dist/chunks/{instance-1mr47rx8.js → state-dmf0tg3n.js} +20 -20
- package/dist/chunks/{instance-svht88am.js → state-dne93ghm.js} +36 -36
- package/dist/chunks/{instance-nxm207yx.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{instance-8tvs17bz.js → state-dsepe0gs.js} +45 -45
- package/dist/chunks/{instance-y747swc2.js → state-e1327jd3.js} +16 -16
- package/dist/chunks/{instance-6dckr1tg.js → state-e8vwfchq.js} +9 -9
- package/dist/chunks/{instance-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-gwv0b3m7.js → state-eg6cnjkw.js} +22 -22
- package/dist/chunks/{instance-sjkzh95c.js → state-eket8g0s.js} +9 -9
- package/dist/chunks/{instance-n3hbdm5h.js → state-emjdsf9h.js} +14 -14
- package/dist/chunks/{instance-jzd1aavy.js → state-epcwd8bb.js} +22 -22
- package/dist/chunks/{instance-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-cq0e7jrz.js → state-f29mbr7f.js} +4 -4
- package/dist/chunks/{instance-mvt7v0ss.js → state-f2tgmaa5.js} +9 -9
- package/dist/chunks/{instance-55acn5hr.js → state-f5r29w5t.js} +10 -10
- package/dist/chunks/{instance-3s40wveb.js → state-fk671aj4.js} +1 -1
- package/dist/chunks/{instance-52d6pge4.js → state-g0686x85.js} +20 -20
- package/dist/chunks/{instance-g5w8qwbj.js → state-g5w8qwbj.js} +1 -1
- package/dist/chunks/{instance-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-vn7wz9nq.js → state-gg5anxjq.js} +22 -22
- package/dist/chunks/{instance-n515n8f1.js → state-gqxhvq1m.js} +11 -11
- package/dist/chunks/{instance-h2b79v29.js → state-h2b79v29.js} +2 -2
- package/dist/chunks/{instance-d6khveb2.js → state-h3q04455.js} +13 -13
- package/dist/chunks/{instance-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-nz569jqt.js → state-hbyhqfhs.js} +5 -5
- package/dist/chunks/{instance-9vm4madw.js → state-hd48tzav.js} +5 -5
- package/dist/chunks/{instance-vrm90eh8.js → state-hda4pa2y.js} +4 -4
- package/dist/chunks/{instance-wytzezcp.js → state-hktgrrj9.js} +7 -7
- package/dist/chunks/{instance-2agrb19h.js → state-hq7za0k9.js} +8 -8
- package/dist/chunks/{instance-c0kkjxwe.js → state-hqy2492m.js} +6 -6
- package/dist/chunks/{instance-kcmt7q8d.js → state-hrn7p0dv.js} +35 -35
- package/dist/chunks/{instance-47mhawg8.js → state-hv12hhzw.js} +32 -32
- package/dist/chunks/{instance-86sgdxm7.js → state-hvvbh0a1.js} +13 -13
- package/dist/chunks/{instance-msz2nrbm.js → state-hys27yhn.js} +33 -33
- package/dist/chunks/{instance-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-xy6b16vx.js → state-j63cx0ne.js} +2 -2
- package/dist/chunks/{instance-4ajxth2z.js → state-je9b2prv.js} +8 -8
- package/dist/chunks/{instance-fw7m44j9.js → state-jnys1re4.js} +27 -27
- package/dist/chunks/{instance-wc5zwjbd.js → state-jq6ka8n1.js} +17 -17
- package/dist/chunks/{instance-f5gy8qwh.js → state-k1qrnqst.js} +8 -8
- package/dist/chunks/{instance-q1ee63dc.js → state-k70p9jzb.js} +9 -9
- package/dist/chunks/{instance-hhn4fj1z.js → state-kcvna0f0.js} +46 -46
- package/dist/chunks/{instance-rcf6f608.js → state-krwkx5bh.js} +26 -26
- package/dist/chunks/{instance-2pnhn36q.js → state-kvvk39gs.js} +21 -21
- package/dist/chunks/{instance-39yba0nf.js → state-m0kb4wyj.js} +30 -30
- package/dist/chunks/{instance-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-d6gajd2w.js → state-m8qawmsc.js} +32 -32
- package/dist/chunks/{instance-w4x97csc.js → state-m9b2qrsw.js} +15 -15
- package/dist/chunks/{instance-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-0nm0dtbp.js → state-mf9rp0da.js} +10 -10
- package/dist/chunks/{instance-17hcg36f.js → state-mfjzh9b6.js} +7 -7
- package/dist/chunks/{instance-fn52p9v5.js → state-mh0jem6y.js} +5 -5
- package/dist/chunks/{instance-8fm1hyb7.js → state-mpnk1jhk.js} +37 -37
- package/dist/chunks/{instance-dzwk3h89.js → state-mvfdckk2.js} +6 -6
- package/dist/chunks/{instance-mhcp204s.js → state-n37c4crj.js} +9 -9
- package/dist/chunks/{instance-nazy378f.js → state-n4cfjzyv.js} +3 -3
- package/dist/chunks/{instance-qfd1s3za.js → state-n8jxvm2h.js} +46 -46
- package/dist/chunks/{instance-rcxk5wyw.js → state-n8nanv1k.js} +10 -10
- package/dist/chunks/{instance-gqj5vzmg.js → state-n9a0q8nq.js} +18 -18
- package/dist/chunks/{instance-fgd8j31f.js → state-ney4fyxz.js} +3 -3
- package/dist/chunks/{instance-pv07cs8g.js → state-nhpep66j.js} +18 -18
- package/dist/chunks/{instance-m9r1vv5e.js → state-nptr00se.js} +23 -23
- package/dist/chunks/{instance-6eacnpz5.js → state-nqndf85r.js} +42 -42
- package/dist/chunks/{instance-ak9j1e21.js → state-nvvhg2y4.js} +30 -30
- package/dist/chunks/{instance-2y1kxeaf.js → state-p2yrhkbt.js} +20 -20
- package/dist/chunks/{instance-ycqdrzp5.js → state-p7h4szz7.js} +20 -20
- package/dist/chunks/{instance-nhpfgpz7.js → state-p8n712dk.js} +19 -19
- package/dist/chunks/{instance-h9enw16g.js → state-p9mywqvn.js} +26 -26
- package/dist/chunks/{instance-a46v4e4v.js → state-pbfwh0cy.js} +7 -7
- package/dist/chunks/{instance-mnwggq08.js → state-pcnc1d95.js} +19 -19
- package/dist/chunks/{instance-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{instance-2m8jawch.js → state-pkqb68ka.js} +4 -4
- package/dist/chunks/{instance-ew0n250q.js → state-pm9q0v6k.js} +37 -37
- package/dist/chunks/{instance-k35swgt0.js → state-pqym5gsf.js} +6 -6
- package/dist/chunks/{instance-s5qe19hp.js → state-prpdjzp2.js} +6 -6
- package/dist/chunks/{instance-4ad028th.js → state-pxhak851.js} +6 -6
- package/dist/chunks/{instance-zz1j7hyd.js → state-pykgkb85.js} +27 -27
- package/dist/chunks/{instance-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instance-0dhtgvh1.js → state-q1bq5n4v.js} +12 -12
- package/dist/chunks/{instance-9n0g8pkp.js → state-qcf958r1.js} +15 -15
- package/dist/chunks/{instance-kqe62f8s.js → state-qf049b19.js} +30 -30
- package/dist/chunks/{instance-7dqw4kz8.js → state-qgn6gcr1.js} +5 -5
- package/dist/chunks/{instance-c765mh8b.js → state-qmqgtz8f.js} +9 -9
- package/dist/chunks/{instance-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-dhrbrsm8.js → state-qnp5pb1d.js} +4 -4
- package/dist/chunks/{instance-gv66gg0x.js → state-qp3v07n2.js} +8 -8
- package/dist/chunks/{instance-w567dcnj.js → state-qpnkeqbx.js} +9 -9
- package/dist/chunks/{instance-a5kdm1z9.js → state-qpyzbkc5.js} +30 -30
- package/dist/chunks/{instance-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-3ksxxa34.js → state-qsjg5rnf.js} +13 -13
- package/dist/chunks/{instance-qxjc9qry.js → state-qxjc9qry.js} +3 -3
- package/dist/chunks/{instance-pehxf3m4.js → state-qy34gznv.js} +11 -11
- package/dist/chunks/{instance-wecqtg5s.js → state-qygbw77c.js} +5 -5
- package/dist/chunks/{instance-fd38q10j.js → state-rd41a4h6.js} +18 -18
- package/dist/chunks/{instance-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-78sc1d6s.js → state-rk1r2hx8.js} +1 -1
- package/dist/chunks/{instance-2sxsha92.js → state-rmbqsmkn.js} +11 -11
- package/dist/chunks/{instance-az3agqsh.js → state-rrpq0de9.js} +12 -12
- package/dist/chunks/{instance-ts63fcek.js → state-s96dc5a8.js} +22 -22
- package/dist/chunks/{instance-7jdsj2a9.js → state-ss358qx3.js} +3 -3
- package/dist/chunks/{instance-ma48de29.js → state-sykc9y4a.js} +5 -5
- package/dist/chunks/{instance-8n7g7z79.js → state-t304atgw.js} +183 -183
- package/dist/chunks/{instance-9gjqkjkx.js → state-t6f500wt.js} +18 -18
- package/dist/chunks/{instance-dd0sg13z.js → state-tayvxp81.js} +6 -6
- package/dist/chunks/{instance-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-2a6rn6yr.js → state-tcay1cqt.js} +6 -6
- package/dist/chunks/{instance-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{instance-37wq61k5.js → state-tge9ftn1.js} +11 -11
- package/dist/chunks/{instance-x2e286r5.js → state-tjdag02x.js} +24 -24
- package/dist/chunks/{instance-52qz3s8r.js → state-tps4458j.js} +6 -6
- package/dist/chunks/{instance-79mnhcfn.js → state-tx9w5tca.js} +8 -8
- package/dist/chunks/{instance-qx576nzr.js → state-tz1r4rmt.js} +11 -11
- package/dist/chunks/{instance-a8sv2ns2.js → state-tzfegwcm.js} +17 -17
- package/dist/chunks/{instance-4434d9q2.js → state-v0es1rhs.js} +9 -9
- package/dist/chunks/{instance-tazem05z.js → state-v0gzbwpf.js} +24 -24
- package/dist/chunks/{instance-nrq8jwm2.js → state-v8nq70zj.js} +15 -15
- package/dist/chunks/{instance-ct5h5r02.js → state-v9ndcyjw.js} +24 -24
- package/dist/chunks/{instance-e4hs9sf1.js → state-va19je8s.js} +11 -11
- package/dist/chunks/{instance-pvxedqkv.js → state-vapy00qs.js} +10 -10
- package/dist/chunks/{instance-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-w8wmpvkk.js → state-vfjzkq6y.js} +11 -11
- package/dist/chunks/{instance-0hyer1dc.js → state-vt7a2mk5.js} +10 -10
- package/dist/chunks/{instance-y59h08ch.js → state-vxhx592f.js} +3 -3
- package/dist/chunks/{instance-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-f5tgv500.js → state-w51dn2qq.js} +15 -15
- package/dist/chunks/{instance-md3tt2c7.js → state-w6fcbyfn.js} +69 -69
- package/dist/chunks/{instance-6vmbp2wc.js → state-w8xd1cjb.js} +32 -32
- package/dist/chunks/{instance-wjdxx2rw.js → state-wbfffxyw.js} +29 -29
- package/dist/chunks/{instance-25j2et3j.js → state-wcrcred6.js} +16 -16
- package/dist/chunks/{instance-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{instance-6k4ysq75.js → state-wgramqyd.js} +11 -11
- package/dist/chunks/{instance-s2nqg216.js → state-wht45by2.js} +25 -25
- package/dist/chunks/{instance-2dahwpg2.js → state-wjpnyp9v.js} +22 -22
- package/dist/chunks/{instance-0ff683gc.js → state-wmjfe5mb.js} +4 -4
- package/dist/chunks/{instance-t550f9t1.js → state-wv396vej.js} +8 -8
- package/dist/chunks/{instance-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{instance-249b687a.js → state-xm5ch7ya.js} +48 -48
- package/dist/chunks/{instance-zn5v3n4q.js → state-xsgk3b13.js} +9 -9
- package/dist/chunks/{instance-6hr9dd4j.js → state-xvew0b96.js} +24 -24
- package/dist/chunks/{instance-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-4fq2zscz.js → state-y3gy1d3k.js} +11 -11
- package/dist/chunks/{instance-9bschec6.js → state-y66k8ekt.js} +36 -36
- package/dist/chunks/{instance-r014ch08.js → state-y7etkmrn.js} +32 -32
- package/dist/chunks/{instance-4srdg4qv.js → state-yptytea3.js} +13 -13
- package/dist/chunks/{instance-073t33qc.js → state-yqntvyew.js} +32 -32
- package/dist/chunks/{instance-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-bafp7b24.js → state-z8t1202s.js} +45 -45
- package/dist/chunks/{instance-tht9qyvh.js → state-za2r5g4y.js} +32 -32
- package/dist/chunks/{instance-hqz4f6re.js → state-zd77a6te.js} +20 -20
- package/dist/chunks/{instance-agfwpwej.js → state-zfm48e7p.js} +3 -3
- package/dist/chunks/{instance-7bpfefw8.js → state-zks7ye7f.js} +327 -327
- package/dist/chunks/{instance-9x8p14w5.js → state-zpbznynk.js} +17 -17
- package/dist/chunks/{instance-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-3y377wv9.js → state-zw2hpfmh.js} +4 -4
- package/dist/chunks/{instance-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-21sj1dbf.js → state-zytnfd28.js} +26 -26
- package/dist/chunks/{instance-05wy9jgz.js → state-zyvj22ag.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- 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 +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/instance-7ywbx1qz.js +0 -253
- package/dist/chunks/instance-hc158aat.js +0 -26
- package/dist/chunks/instance-n95b3jav.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,124 +1,124 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-vxhx592f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-qnp5pb1d.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-e8vwfchq.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9e5bzkjp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-pkqb68ka.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-f29mbr7f.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-va19je8s.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service76,
|
|
33
|
+
node80
|
|
34
|
+
} from "./state-a2mg75pg.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service14,
|
|
37
|
+
node16
|
|
38
|
+
} from "./state-3a1njz6g.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service32,
|
|
44
|
+
node35
|
|
45
|
+
} from "./state-tge9ftn1.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./state-bs8y318y.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make11
|
|
51
|
+
} from "./state-qygbw77c.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./state-zyvj22ag.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service11,
|
|
57
|
+
node13,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./state-8c1sptgz.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service23,
|
|
62
|
+
node27
|
|
63
|
+
} from "./state-04qdqhm4.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./state-p7h4szz7.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node4
|
|
73
|
+
} from "./state-cmd29g7k.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service46
|
|
77
|
+
} from "./state-dhmh7aw6.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node64
|
|
80
|
+
} from "./state-4mqwqfx5.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node46
|
|
83
|
+
} from "./state-1yd7h3h8.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
86
|
make3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./state-7j4r25vm.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service27
|
|
90
|
+
} from "./state-1x11rq2a.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node17
|
|
93
|
+
} from "./state-b1etsjzr.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./state-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./state-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node3
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
112
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
113
113
|
const bus = yield* Service83;
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
114
|
+
const lifecycle = yield* Service14;
|
|
115
|
+
const store = yield* Service76;
|
|
116
|
+
const context = yield* Service23;
|
|
117
|
+
const modelTransport = yield* Service32;
|
|
118
118
|
const db = (yield* Service84).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
119
|
+
const compaction = yield* Service11;
|
|
120
|
+
const plugins = yield* Service27;
|
|
121
|
+
const title = yield* Service3;
|
|
122
122
|
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make11(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service46.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node3 = makeLocationNode({
|
|
362
|
+
service: Service46,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
365
|
node87,
|
|
366
|
-
|
|
366
|
+
node16,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
368
|
+
node27,
|
|
369
|
+
node35,
|
|
370
|
+
node80,
|
|
371
|
+
node13,
|
|
372
|
+
node17,
|
|
373
|
+
node4,
|
|
374
|
+
node64,
|
|
375
|
+
node46,
|
|
376
376
|
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node3, exports_llm };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-qnp5pb1d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./state-tzfegwcm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service56,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node58
|
|
13
|
+
} from "./state-pcnc1d95.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput3,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event9,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID4,
|
|
28
|
+
Info: () => Info14,
|
|
29
|
+
NotFoundError: () => NotFoundError6,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service55,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node57
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event9 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID4 = Pty.ID;
|
|
43
|
+
var Info14 = Pty.Info;
|
|
44
44
|
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID4
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service55 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service56;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID4.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service55.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node57 = makeLocationNode({
|
|
273
|
+
service: Service55,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87,
|
|
275
|
+
deps: [node87, node84, node58]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID4, Info14, CreateInput3, UpdateInput2, NotFoundError6, ExitedError2, Service55, node57, exports_pty, Event9 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-qnp5pb1d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./state-2txgt396.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./state-2bthm84s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service36,
|
|
15
|
+
node39
|
|
16
|
+
} from "./state-wht45by2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service36;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service75;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node39, node33, node87, node79]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service28, layer11, node31, exports_mcp3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node77
|
|
4
|
+
} from "./state-vapy00qs.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-ss358qx3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service61,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node63
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service61 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service73;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make21 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service61.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make21 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service61, make19);
|
|
358
|
+
var node63 = makeGlobalNode({ service: Service61, layer, deps: [node77] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service61, make19, node63, exports_job };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-yqntvyew.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service64,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node66
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID7,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service64 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service64.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node66 = makeLocationNode({ service: Service64, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service64, locationLayer2, node66, exports_aisdk };
|