@opencode/core 0.0.0-dev-20980 → 0.0.0-dev-20981
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-8nbmfhwf.js → model-0996nyz8.js} +9 -9
- package/dist/chunks/{instruction-discovery-8kn3drkf.js → model-09cyt2wq.js} +25 -25
- package/dist/chunks/{instruction-discovery-0b5g1ynf.js → model-0b5g1ynf.js} +4 -4
- package/dist/chunks/{instruction-discovery-btbmdjwj.js → model-0br3sbwn.js} +4 -4
- package/dist/chunks/{instruction-discovery-mvtky1xd.js → model-0d7p0p78.js} +13 -13
- package/dist/chunks/{instruction-discovery-117p8yad.js → model-0f58zsv5.js} +45 -45
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → model-0j77ygfz.js} +6 -6
- package/dist/chunks/{instruction-discovery-cjfc4zg3.js → model-0nsjxa2x.js} +5 -5
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-wswcvck5.js → model-11m4y6qd.js} +30 -30
- package/dist/chunks/{instruction-discovery-f704av7q.js → model-11n2fvbk.js} +42 -42
- package/dist/chunks/{instruction-discovery-6cqsp3p0.js → model-142fkw1n.js} +13 -13
- package/dist/chunks/{instruction-discovery-fwcg5fsb.js → model-1b2xjh8d.js} +22 -22
- package/dist/chunks/{instruction-discovery-ecw7fykc.js → model-1e0t64bm.js} +8 -8
- package/dist/chunks/{instruction-discovery-ykwtcyme.js → model-1gh4n1ba.js} +4 -4
- package/dist/chunks/{instruction-discovery-97aeaand.js → model-1j6m29mr.js} +9 -9
- package/dist/chunks/{instruction-discovery-dw0mz69p.js → model-1rd80ksx.js} +21 -21
- package/dist/chunks/{instruction-discovery-sytkrzw9.js → model-22xnzr80.js} +30 -30
- package/dist/chunks/{instruction-discovery-vzvxg30s.js → model-2ach13s2.js} +43 -43
- package/dist/chunks/{instruction-discovery-0hv5mzy6.js → model-2h69y2j1.js} +27 -27
- package/dist/chunks/{instruction-discovery-y6mhz57t.js → model-2k71kv7p.js} +4 -4
- package/dist/chunks/{instruction-discovery-g6t3gcv0.js → model-2mcax4ft.js} +11 -11
- package/dist/chunks/{instruction-discovery-mskd129c.js → model-2p142bke.js} +20 -20
- package/dist/chunks/{instruction-discovery-aw6nxpd0.js → model-2pfz9zj6.js} +35 -35
- package/dist/chunks/{instruction-discovery-5k6qpa6q.js → model-2qg26xbp.js} +4 -4
- package/dist/chunks/{instruction-discovery-xe9d9hrp.js → model-2stkn66k.js} +25 -25
- package/dist/chunks/{instruction-discovery-sea3ty2w.js → model-2ypdw6v4.js} +12 -12
- package/dist/chunks/{instruction-discovery-jx30z4t4.js → model-3aq39rmm.js} +11 -11
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-96egseya.js → model-479aec3e.js} +28 -28
- package/dist/chunks/model-4v7qdvcn.js +18 -0
- package/dist/chunks/{instruction-discovery-1rbag4ep.js → model-4wytv71p.js} +1 -1
- package/dist/chunks/{instruction-discovery-x8y695va.js → model-4ybf7fnk.js} +11 -11
- package/dist/chunks/{instruction-discovery-yrcj3v3g.js → model-4z58m4b4.js} +4 -4
- package/dist/chunks/{instruction-discovery-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-vt3zax7x.js → model-57w6ys69.js} +44 -44
- package/dist/chunks/{instruction-discovery-x4r63ps6.js → model-5agp6482.js} +26 -26
- package/dist/chunks/{instruction-discovery-mhp4r1fx.js → model-5gw5nkjt.js} +96 -96
- package/dist/chunks/{instruction-discovery-vnwmzs4a.js → model-5hx7d1d6.js} +5 -5
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-zrq8kphx.js → model-5y480sgp.js} +8 -8
- package/dist/chunks/{instruction-discovery-05tjcprd.js → model-5z0y4e44.js} +14 -14
- package/dist/chunks/{instruction-discovery-2yd2et72.js → model-605fdbxk.js} +4 -4
- package/dist/chunks/{instruction-discovery-7x56t60v.js → model-674w987k.js} +36 -36
- package/dist/chunks/{instruction-discovery-jk540des.js → model-6g107h22.js} +2 -2
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → model-6g7e4dd5.js} +7 -7
- package/dist/chunks/{instruction-discovery-51ngn3xq.js → model-6hernfpx.js} +24 -24
- package/dist/chunks/{instruction-discovery-hdffjq87.js → model-6qyp6q13.js} +16 -16
- package/dist/chunks/{instruction-discovery-3mw9y1qv.js → model-6w89m9p1.js} +24 -24
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-jkm498h6.js → model-7dmr3qxn.js} +14 -14
- package/dist/chunks/{instruction-discovery-3ayj9jt9.js → model-7j1a6jdx.js} +30 -30
- package/dist/chunks/{instruction-discovery-1at4269a.js → model-7sr4khpq.js} +18 -18
- package/dist/chunks/{instruction-discovery-dvj9k6y5.js → model-7src2pyj.js} +7 -7
- package/dist/chunks/{instruction-discovery-fygrr2q0.js → model-7vfd4xz9.js} +9 -9
- package/dist/chunks/{instruction-discovery-wssr56ga.js → model-7z93154z.js} +9 -9
- package/dist/chunks/{instruction-discovery-v3dbshaa.js → model-810ve36t.js} +14 -14
- package/dist/chunks/{instruction-discovery-84txncab.js → model-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-t0pyhqcw.js → model-87qbasm5.js} +11 -11
- package/dist/chunks/{instruction-discovery-b3ncq8pw.js → model-8a6bygkp.js} +11 -11
- package/dist/chunks/{instruction-discovery-0j4gg6cd.js → model-8arnnpza.js} +26 -26
- package/dist/chunks/{instruction-discovery-n1dycymc.js → model-8dt2m3qt.js} +9 -9
- package/dist/chunks/{instruction-discovery-734ajrkc.js → model-8kw59tg1.js} +15 -15
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-z9660960.js → model-8sgxnewj.js} +9 -9
- package/dist/chunks/{instruction-discovery-7fkffz83.js → model-8sze2n9a.js} +8 -8
- package/dist/chunks/{instruction-discovery-b5ehbfw0.js → model-8vkaqw1w.js} +15 -15
- package/dist/chunks/{instruction-discovery-4mwpykj0.js → model-909p1r3q.js} +6 -6
- package/dist/chunks/{instruction-discovery-91qna3x0.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{instruction-discovery-wt106fwp.js → model-999bzrsf.js} +5 -5
- package/dist/chunks/{instruction-discovery-j7f522p2.js → model-9c2gx1av.js} +11 -11
- package/dist/chunks/{instruction-discovery-qm0v3jhh.js → model-a2ew8a62.js} +7 -7
- package/dist/chunks/{instruction-discovery-fkbksr7k.js → model-a63pq2m6.js} +11 -11
- package/dist/chunks/{instruction-discovery-17qyy1k2.js → model-agkn6djb.js} +20 -20
- package/dist/chunks/{instruction-discovery-20ft3ad2.js → model-aq7k84zy.js} +14 -14
- package/dist/chunks/{instruction-discovery-jk3kpnhe.js → model-az68kh8z.js} +3 -3
- package/dist/chunks/{instruction-discovery-sjgsw2hk.js → model-b1a1n7cj.js} +3 -3
- package/dist/chunks/{instruction-discovery-h1xjbvyz.js → model-b22wppy7.js} +5 -5
- package/dist/chunks/{instruction-discovery-b3f8fkhc.js → model-b3f8fkhc.js} +2 -2
- package/dist/chunks/{instruction-discovery-dd54azn9.js → model-b888nyxg.js} +4 -4
- package/dist/chunks/{instruction-discovery-edbdmv9d.js → model-b8rasqmm.js} +84 -84
- package/dist/chunks/{instruction-discovery-761rjm1r.js → model-bc32chh7.js} +15 -15
- package/dist/chunks/{instruction-discovery-wjr9rjd7.js → model-bjx1sjef.js} +6 -6
- package/dist/chunks/{instruction-discovery-bf1qn413.js → model-c0eqp439.js} +1 -1
- package/dist/chunks/{instruction-discovery-c1fqxshp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{instruction-discovery-c59szsab.js → model-c4ads7bv.js} +14 -14
- package/dist/chunks/{instruction-discovery-1xc3wfx9.js → model-cekk119z.js} +8 -8
- package/dist/chunks/{instruction-discovery-9hn6k4tm.js → model-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instruction-discovery-n2frhsze.js → model-cqbr470d.js} +1 -1
- package/dist/chunks/{instruction-discovery-f4x5znq6.js → model-cwzd7x1t.js} +5 -5
- package/dist/chunks/{instruction-discovery-qgfd232f.js → model-cxkbmgp7.js} +13 -13
- package/dist/chunks/{instruction-discovery-z3e4xn2c.js → model-cxmm8qc0.js} +34 -34
- package/dist/chunks/{instruction-discovery-yacamhry.js → model-cz1na6pr.js} +18 -18
- package/dist/chunks/{instruction-discovery-a2zyc4xb.js → model-d7hemvnj.js} +7 -7
- package/dist/chunks/{instruction-discovery-8hxtpvs0.js → model-d7x0sh0y.js} +9 -9
- package/dist/chunks/{instruction-discovery-2zbvwph8.js → model-d8mxpyz7.js} +40 -40
- package/dist/chunks/{instruction-discovery-zs8btqv5.js → model-da571fjn.js} +34 -34
- package/dist/chunks/{instruction-discovery-3eywyvsc.js → model-dc27vedx.js} +33 -33
- package/dist/chunks/{instruction-discovery-cpneeje0.js → model-djszqvmq.js} +9 -9
- package/dist/chunks/{instruction-discovery-dqxsqydv.js → model-dqxsqydv.js} +1 -1
- package/dist/chunks/{instruction-discovery-y3nv0j8p.js → model-dt5p2gzz.js} +27 -27
- package/dist/chunks/{instruction-discovery-hqhmhqr8.js → model-dw52cd0g.js} +5 -5
- package/dist/chunks/{instruction-discovery-eg3ay3en.js → model-dw5aamzj.js} +17 -17
- package/dist/chunks/{instruction-discovery-v5gv9wk1.js → model-dyvsbq8q.js} +11 -11
- package/dist/chunks/{instruction-discovery-zmhzecev.js → model-e29c15sd.js} +5 -5
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → model-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-ee0d9h97.js → model-e5yhdxdz.js} +40 -40
- package/dist/chunks/{instruction-discovery-e615m3e0.js → model-edr8mr1d.js} +11 -11
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-wge0rces.js → model-efwcmd71.js} +8 -8
- package/dist/chunks/{instruction-discovery-59nd36mx.js → model-em98dst4.js} +35 -35
- package/dist/chunks/{instruction-discovery-abe32gf4.js → model-f1q4hcq2.js} +50 -50
- package/dist/chunks/{instruction-discovery-gtpdjcym.js → model-f20efee0.js} +13 -13
- package/dist/chunks/{instruction-discovery-7r9102fx.js → model-f3ttcj74.js} +17 -17
- package/dist/chunks/{instruction-discovery-yr24gfvb.js → model-f6g8pkb4.js} +18 -18
- package/dist/chunks/{instruction-discovery-5cam778c.js → model-f7ma11rg.js} +6 -6
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → model-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-g6wnswc5.js → model-fe4vsmnr.js} +13 -13
- package/dist/chunks/{instruction-discovery-95da1wya.js → model-fketk0k4.js} +9 -9
- package/dist/chunks/{instruction-discovery-khmqacep.js → model-fxaymqdw.js} +4 -4
- package/dist/chunks/model-fz6md8dw.js +26 -0
- package/dist/chunks/{instruction-discovery-pnzf6mjf.js → model-gd0tnyjc.js} +1 -1
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-zfvgh7g4.js → model-gj4dz15w.js} +10 -10
- package/dist/chunks/{instruction-discovery-9hgz5zt1.js → model-gs3mfcxs.js} +19 -19
- package/dist/chunks/{instruction-discovery-jy7d7tq3.js → model-gsndwzqv.js} +20 -20
- package/dist/chunks/{instruction-discovery-t90gh92e.js → model-gsxrv0fy.js} +11 -11
- package/dist/chunks/{instruction-discovery-52dvyt3a.js → model-gwda5h78.js} +11 -11
- package/dist/chunks/{instruction-discovery-a0qzz03b.js → model-gxra9ntr.js} +9 -9
- package/dist/chunks/{instruction-discovery-c7fad6cp.js → model-gyksvwm5.js} +16 -16
- package/dist/chunks/{instruction-discovery-pb70a0vn.js → model-h2ssqnba.js} +4 -4
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → model-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instruction-discovery-g6yfr6ja.js → model-h83xjv7f.js} +5 -5
- package/dist/chunks/{instruction-discovery-7cehs1kv.js → model-h9v0byjp.js} +8 -8
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-p90n1rcw.js → model-hk9t36gz.js} +4 -4
- package/dist/chunks/{instruction-discovery-w12v8wsy.js → model-hpje1asd.js} +24 -24
- package/dist/chunks/{instruction-discovery-e64s9qs7.js → model-hrg0xqaw.js} +29 -29
- package/dist/chunks/{instruction-discovery-x8ya236d.js → model-hs2sc01j.js} +48 -48
- package/dist/chunks/{instruction-discovery-51myfx81.js → model-hsn420a8.js} +15 -15
- package/dist/chunks/{instruction-discovery-kw9xdzv2.js → model-j1mj860n.js} +9 -9
- package/dist/chunks/{instruction-discovery-y945vb8n.js → model-jekssrtq.js} +5 -5
- package/dist/chunks/{instruction-discovery-hg1vd9sg.js → model-jqjtjqm5.js} +14 -14
- package/dist/chunks/{instruction-discovery-jdh4236e.js → model-jwah6ncg.js} +2 -2
- package/dist/chunks/{instruction-discovery-g41pw203.js → model-k16ggyyw.js} +33 -33
- package/dist/chunks/{instruction-discovery-h5vpj2wa.js → model-k4dt4j6g.js} +23 -23
- package/dist/chunks/{instruction-discovery-5wfjpcbk.js → model-k6zkg7sr.js} +10 -10
- package/dist/chunks/{instruction-discovery-re6sq3tz.js → model-kas6drz3.js} +32 -32
- package/dist/chunks/{instruction-discovery-5egny073.js → model-kaxyez5z.js} +22 -22
- package/dist/chunks/{instruction-discovery-6b6k7abr.js → model-kbxmpcp5.js} +11 -11
- package/dist/chunks/{instruction-discovery-nzpz7x33.js → model-kh162zpt.js} +30 -30
- package/dist/chunks/{instruction-discovery-007agb8z.js → model-ktgr00t7.js} +2 -2
- package/dist/chunks/{instruction-discovery-neex6wye.js → model-kx2n7v0t.js} +11 -11
- package/dist/chunks/{instruction-discovery-j761hrkt.js → model-m5b2t9yd.js} +60 -60
- package/dist/chunks/{instruction-discovery-16pw9hqr.js → model-m77chmsg.js} +11 -11
- package/dist/chunks/{instruction-discovery-4gdbjryk.js → model-m82j3vqr.js} +28 -28
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-eq3y7d0c.js → model-mksqe0jy.js} +28 -28
- package/dist/chunks/{instruction-discovery-hhyxj8hd.js → model-mm8a7tkj.js} +49 -49
- package/dist/chunks/{instruction-discovery-tcw60jxy.js → model-mn4hnxkt.js} +13 -13
- package/dist/chunks/{instruction-discovery-1wyv9252.js → model-msyrw4bq.js} +4 -4
- package/dist/chunks/{instruction-discovery-9gmr6bxx.js → model-mvp4hync.js} +12 -12
- package/dist/chunks/{instruction-discovery-ad6wmjem.js → model-mxjbaaz4.js} +20 -20
- package/dist/chunks/{instruction-discovery-zm3tm09f.js → model-n5ckd50m.js} +36 -36
- package/dist/chunks/{instruction-discovery-hxs09j78.js → model-n7m069ya.js} +48 -48
- package/dist/chunks/{instruction-discovery-rk1xncpn.js → model-neg72jb9.js} +22 -22
- package/dist/chunks/{instruction-discovery-ksb6m1z3.js → model-nhyne0rh.js} +6 -6
- package/dist/chunks/{instruction-discovery-kf9ckja1.js → model-nktcn7bv.js} +25 -25
- package/dist/chunks/{instruction-discovery-35mmehdk.js → model-nng5j9h6.js} +3 -3
- package/dist/chunks/{instruction-discovery-nfvn86m3.js → model-nsnm0d77.js} +45 -45
- package/dist/chunks/{instruction-discovery-wjfhhfnd.js → model-nzep555n.js} +38 -38
- package/dist/chunks/{instruction-discovery-7m79y2cx.js → model-pff3x97k.js} +10 -10
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-fjjeg207.js → model-pygwap58.js} +22 -22
- package/dist/chunks/{instruction-discovery-5bv4tcrc.js → model-q79edn6k.js} +30 -30
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-eezpspv5.js → model-qxcp4ttm.js} +182 -182
- package/dist/chunks/{instruction-discovery-het7f9pf.js → model-qxhhhvy1.js} +21 -21
- package/dist/chunks/{instruction-discovery-r6az68db.js → model-r2jsz6zh.js} +5 -5
- package/dist/chunks/{instruction-discovery-nma959mg.js → model-r2z489rp.js} +3 -3
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-a7n4fjp0.js → model-rdza6gx1.js} +14 -14
- package/dist/chunks/{instruction-discovery-rert0e01.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{instruction-discovery-02e2vmeg.js → model-rgrzrdjr.js} +19 -19
- package/dist/chunks/{instruction-discovery-rj3eygr5.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{instruction-discovery-m50vyjfa.js → model-rm6mdncc.js} +26 -26
- package/dist/chunks/{instruction-discovery-z5ksaxbh.js → model-rs6n5dpz.js} +5 -5
- package/dist/chunks/model-s3zr8hxy.js +253 -0
- package/dist/chunks/{instruction-discovery-r2v05330.js → model-s7ev4p20.js} +6 -6
- package/dist/chunks/{instruction-discovery-d5zwx2kt.js → model-s8cdmyqk.js} +11 -11
- package/dist/chunks/{instruction-discovery-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{instruction-discovery-0twtf243.js → model-sbem282a.js} +26 -26
- package/dist/chunks/{instruction-discovery-cvf8v20t.js → model-sddez406.js} +15 -15
- package/dist/chunks/{instruction-discovery-40eh5hkx.js → model-sfk668n4.js} +5 -5
- package/dist/chunks/{instruction-discovery-15zt2ms4.js → model-smdpqrpz.js} +29 -29
- package/dist/chunks/{instruction-discovery-ps61xchc.js → model-stfafkkt.js} +9 -9
- package/dist/chunks/{instruction-discovery-vdhzzhph.js → model-svdem9xa.js} +21 -21
- package/dist/chunks/{instruction-discovery-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-qxqfvsd1.js → model-t1vvqrnj.js} +20 -20
- package/dist/chunks/{instruction-discovery-vcm6vpd2.js → model-t4dv37ma.js} +23 -23
- package/dist/chunks/{instruction-discovery-t550f9t1.js → model-t550f9t1.js} +1 -1
- package/dist/chunks/{instruction-discovery-8kmn0s6y.js → model-t66atx3n.js} +18 -18
- package/dist/chunks/{instruction-discovery-25cs5cen.js → model-t89fqycx.js} +8 -8
- package/dist/chunks/{instruction-discovery-rj9cxdgr.js → model-t9fz1x23.js} +74 -74
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-87c5yjg0.js → model-tdw1jchh.js} +35 -35
- package/dist/chunks/{instruction-discovery-wby3r2te.js → model-tfpgne2e.js} +11 -11
- package/dist/chunks/{instruction-discovery-fjr11dxt.js → model-tg4ne0mz.js} +57 -57
- package/dist/chunks/{instruction-discovery-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instruction-discovery-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-4v1nr47h.js → model-tzgwpa0q.js} +29 -29
- package/dist/chunks/{instruction-discovery-ntwvzxgf.js → model-v577e917.js} +16 -16
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-qs0dkwe7.js → model-v9j8n8rs.js} +9 -9
- package/dist/chunks/{instruction-discovery-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-hdhk5mdn.js → model-vjvcezxg.js} +11 -11
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-can8zmgz.js → model-w1yg9qkm.js} +19 -19
- package/dist/chunks/{instruction-discovery-645zsrqe.js → model-w30whbb5.js} +11 -11
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-pzc8xadv.js → model-w8038a0g.js} +41 -41
- package/dist/chunks/{instruction-discovery-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-frz8dvr7.js → model-wgahhr0x.js} +8 -8
- package/dist/chunks/{instruction-discovery-rrgjcs3x.js → model-wge3n3kq.js} +8 -8
- package/dist/chunks/{instruction-discovery-ncfz1prk.js → model-wr9rbap8.js} +17 -17
- package/dist/chunks/{instruction-discovery-z2antamf.js → model-x076sjt5.js} +13 -13
- package/dist/chunks/{instruction-discovery-dh5hanh7.js → model-x4za3xcr.js} +3 -3
- package/dist/chunks/{instruction-discovery-n61013np.js → model-x5wrmng7.js} +11 -11
- package/dist/chunks/{instruction-discovery-x661k3y3.js → model-x661k3y3.js} +1 -1
- package/dist/chunks/{instruction-discovery-j3bfrw3e.js → model-x76z1jaq.js} +18 -18
- package/dist/chunks/{instruction-discovery-jh9zn31c.js → model-x804m9tz.js} +30 -30
- package/dist/chunks/{instruction-discovery-hqj81z0j.js → model-xeea7gjf.js} +8 -8
- package/dist/chunks/{instruction-discovery-qqeeq2t9.js → model-xfkkasph.js} +7 -7
- package/dist/chunks/{instruction-discovery-s9jbw2sz.js → model-xheas1rx.js} +6 -6
- package/dist/chunks/{instruction-discovery-wrzhbybp.js → model-xkcm35ep.js} +5 -5
- package/dist/chunks/{instruction-discovery-fycdfzqr.js → model-xnv46bg2.js} +24 -24
- package/dist/chunks/{instruction-discovery-rtbfvas5.js → model-xsa1hygm.js} +33 -33
- package/dist/chunks/{instruction-discovery-bmm2z2b8.js → model-xscv4v2z.js} +9 -9
- package/dist/chunks/{instruction-discovery-21e5qkn3.js → model-xthmztap.js} +16 -16
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-famwqens.js → model-y2tp8ndf.js} +11 -11
- package/dist/chunks/{instruction-discovery-jwcy2c2z.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-azm183br.js → model-y8k4q3en.js} +24 -24
- package/dist/chunks/{instruction-discovery-c0cfdp4s.js → model-y8y4787y.js} +9 -9
- package/dist/chunks/{instruction-discovery-tkp1z9t0.js → model-yb5kpwm0.js} +18 -18
- package/dist/chunks/{instruction-discovery-f2n192rq.js → model-yp2x3t23.js} +4 -4
- package/dist/chunks/model-yyq8xdja.js +513 -0
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-3wmmf17s.js → model-z1dnb0jf.js} +19 -19
- package/dist/chunks/{instruction-discovery-39z47dss.js → model-z5crsmww.js} +11 -11
- package/dist/chunks/{instruction-discovery-6kzp9tjq.js → model-z6c3x22d.js} +5 -5
- package/dist/chunks/{instruction-discovery-tyx4f3fs.js → model-z7tka8yh.js} +20 -20
- package/dist/chunks/{instruction-discovery-67bfrky3.js → model-zhspmtmh.js} +6 -6
- package/dist/chunks/{instruction-discovery-sbzzv78h.js → model-zm14bp5n.js} +42 -42
- package/dist/chunks/{instruction-discovery-s399pnar.js → model-zn6ek04n.js} +14 -14
- package/dist/chunks/{instruction-discovery-ts4vywfy.js → model-zqm6kvvn.js} +14 -14
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-m9nq6w72.js → model-zswvs50y.js} +27 -27
- package/dist/chunks/{instruction-discovery-apxpv0x8.js → model-zvk9pegx.js} +34 -34
- package/dist/chunks/{instruction-discovery-2vs2nh1n.js → model-zvt5dnpc.js} +4 -4
- package/dist/chunks/{instruction-discovery-adj0y46e.js → model-zwh4a1ab.js} +6 -6
- package/dist/chunks/{instruction-discovery-dssmfc6p.js → model-zxf3xmnj.js} +16 -16
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-8vf1790x.js → model-zy3z5mtm.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +74 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- 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 +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-0fddm2n4.js +0 -253
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- package/dist/chunks/instruction-discovery-qq90v7dz.js +0 -26
- package/dist/chunks/instruction-discovery-rde98dnc.js +0 -513
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./model-kh162zpt.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-nhyne0rh.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID12.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-zqm6kvvn.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-zm14bp5n.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node81
|
|
16
|
+
} from "./model-gyksvwm5.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service24,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node27
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service24 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service78;
|
|
62
|
+
const bus = yield* Service81;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service24.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node27 = makeLocationNode({
|
|
191
|
+
service: Service24,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node81, node84]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service24, node27, exports_vcs };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node83
|
|
10
|
+
} from "./model-2ypdw6v4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node81
|
|
14
|
+
} from "./model-gyksvwm5.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service39,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node42,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, 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 ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service39 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node42 = makeLocationNode({
|
|
153
|
+
service: Service39,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID4, Error3, Service39, node42, noopLayer2, exports_snapshot2 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./model-gyksvwm5.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-xnv46bg2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service78;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin3, exports_hg };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-tg4ne0mz.js";
|
|
10
10
|
import {
|
|
11
11
|
Service38,
|
|
12
12
|
node41
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-11n2fvbk.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-gs3mfcxs.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service30,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node33
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
66
|
+
var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
67
67
|
const mcp = yield* Service38;
|
|
68
|
-
return
|
|
68
|
+
return Service30.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node33 = makeLocationNode({ service: Service30, layer: layer11, deps: [node41] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service30, layer11, node33, exports_instructions2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-tfpgne2e.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./model-mksqe0jy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-rm6mdncc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-kh162zpt.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service74;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-91qna3x0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service57,
|
|
17
|
+
node59
|
|
18
|
+
} from "./model-j1mj860n.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service61,
|
|
21
|
+
node63
|
|
22
|
+
} from "./model-5y480sgp.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service52,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node54
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service61;
|
|
58
|
+
const image = yield* Service57;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service52.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node54 = makeLocationNode({
|
|
277
|
+
service: Service52,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node63, node59]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service52, node54, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./model-909p1r3q.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./model-mm8a7tkj.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service46;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|