@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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./model-6w89m9p1.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-22xnzr80.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service14 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service77;
|
|
335
|
+
return Service14.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node80] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service14, read2, node16, exports_read_filesystem };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./model-edr8mr1d.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./model-2ypdw6v4.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make20 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./model-kh162zpt.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node80
|
|
7
|
+
} from "./model-6w89m9p1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service76,
|
|
17
|
+
node: () => node79,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service76 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service77;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service76.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node79 = makeLocationNode({ service: Service76, layer, deps: [node80] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service76, readText2, syncTextBom2, node79, exports_file_mutation };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node87
|
|
4
|
-
} from "./instruction-discovery-ts4vywfy.js";
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node86
|
|
8
|
-
} from "./instruction-discovery-sea3ty2w.js";
|
|
9
1
|
import {
|
|
10
2
|
Service81,
|
|
11
3
|
node84
|
|
12
|
-
} from "./
|
|
4
|
+
} from "./model-zqm6kvvn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./model-2ypdw6v4.js";
|
|
9
|
+
import {
|
|
10
|
+
Service78,
|
|
11
|
+
node81
|
|
12
|
+
} from "./model-gyksvwm5.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-4v7qdvcn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service65,
|
|
18
|
+
node67
|
|
19
|
+
} from "./model-hpje1asd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./model-mxjbaaz4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./model-djszqvmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service6,
|
|
36
36
|
node: () => node8
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -40,15 +40,15 @@ import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "e
|
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service65;
|
|
48
|
+
const bus = yield* Service81;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service6.of({});
|
|
104
104
|
}));
|
|
105
105
|
var node8 = makeLocationNode({
|
|
106
|
-
service:
|
|
106
|
+
service: Service6,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node67, FSUtil.node, node81, node83, node84, node24, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service6, node8, exports_location_watcher };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-zm14bp5n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node81
|
|
10
|
+
} from "./model-gyksvwm5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service58,
|
|
13
|
+
node60
|
|
14
|
+
} from "./model-tg4ne0mz.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
|
+
node: () => node23,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service21 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service78;
|
|
55
|
+
const permission = yield* Service58;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service21.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node23 = makeLocationNode({ service: Service21, layer, deps: [FSUtil.node, node81, node60] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service21, resolvePath2, node23, exports_file_access };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node9, exports_discovery };
|