@opencode/core 0.0.0-dev-21672 → 0.0.0-dev-21676
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{models-dev-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{models-dev-7cx8wp0a.js → shell-0421tmwc.js} +9 -9
- package/dist/chunks/{models-dev-6drp02fx.js → shell-052hgm15.js} +4 -4
- package/dist/chunks/{models-dev-3wtngzdm.js → shell-074n756q.js} +15 -15
- package/dist/chunks/{models-dev-1fdfse2g.js → shell-099mgyan.js} +28 -28
- package/dist/chunks/{models-dev-msp8203r.js → shell-0a71s41t.js} +6 -6
- package/dist/chunks/{models-dev-997dsrmm.js → shell-0gka690g.js} +4 -4
- package/dist/chunks/{models-dev-z9jt0t62.js → shell-0k149xew.js} +3 -3
- package/dist/chunks/{models-dev-znha1335.js → shell-0pv52n9j.js} +5 -5
- package/dist/chunks/{models-dev-0q213vj2.js → shell-0q213vj2.js} +4 -4
- package/dist/chunks/{models-dev-z4emg7hy.js → shell-0q39ew5d.js} +180 -180
- package/dist/chunks/{models-dev-q0b0p22k.js → shell-0tzmkv2e.js} +15 -15
- package/dist/chunks/{models-dev-qp9ykck9.js → shell-0v3xvz1q.js} +50 -50
- package/dist/chunks/{models-dev-vjs5md9z.js → shell-0v6bwa58.js} +33 -33
- package/dist/chunks/{models-dev-yq981ng5.js → shell-0vgge0e4.js} +21 -21
- package/dist/chunks/{models-dev-r3gymk1a.js → shell-0wrn680p.js} +43 -43
- package/dist/chunks/{models-dev-szmpxakz.js → shell-10jw5ygn.js} +17 -17
- package/dist/chunks/{models-dev-w552pve9.js → shell-12pj2cn2.js} +81 -81
- package/dist/chunks/{models-dev-0c38ghcn.js → shell-18pk5v5f.js} +42 -42
- package/dist/chunks/{models-dev-604krks2.js → shell-19pped8k.js} +13 -13
- package/dist/chunks/{models-dev-nxda9c92.js → shell-1bprt56t.js} +4 -4
- package/dist/chunks/{models-dev-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{models-dev-8t90x1ww.js → shell-1exqj9pt.js} +11 -11
- package/dist/chunks/{models-dev-tkj08dsk.js → shell-1j6cffe2.js} +17 -17
- package/dist/chunks/{models-dev-y09thtp3.js → shell-1r91ydea.js} +4 -4
- package/dist/chunks/{models-dev-cm884v9c.js → shell-1rarfw9s.js} +27 -27
- package/dist/chunks/{models-dev-pefw7vhy.js → shell-1w59jp7z.js} +5 -5
- package/dist/chunks/{models-dev-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{models-dev-v81b46rr.js → shell-20nwq5j7.js} +10 -10
- package/dist/chunks/{models-dev-gjfbt33p.js → shell-27037k44.js} +18 -18
- package/dist/chunks/{models-dev-c11reyah.js → shell-2ah0g8wp.js} +3 -3
- package/dist/chunks/{models-dev-86b6ptkh.js → shell-2jdqz29y.js} +12 -12
- package/dist/chunks/shell-2mqgqhm8.js +26 -0
- package/dist/chunks/{models-dev-2z1j29yd.js → shell-2z1j29yd.js} +1 -1
- package/dist/chunks/{models-dev-970n3xgf.js → shell-2z9d2exz.js} +9 -9
- package/dist/chunks/{models-dev-3xxsfpwx.js → shell-30xq731m.js} +6 -6
- package/dist/chunks/{models-dev-9z2ft0m6.js → shell-35s6a6dm.js} +8 -8
- package/dist/chunks/{models-dev-snfgt9zc.js → shell-3f6nh3fm.js} +3 -3
- package/dist/chunks/{models-dev-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{models-dev-1j1x4fa8.js → shell-3sywvchv.js} +26 -26
- package/dist/chunks/{models-dev-9dmmv9vc.js → shell-3vwgbyw7.js} +14 -14
- package/dist/chunks/{models-dev-hf1e99b5.js → shell-3xqr0t2x.js} +28 -28
- package/dist/chunks/{models-dev-603zd8g4.js → shell-40ttsd7n.js} +45 -45
- package/dist/chunks/{models-dev-dcky058q.js → shell-495kryxw.js} +13 -13
- package/dist/chunks/{models-dev-cgw1k5sv.js → shell-4b27svsp.js} +49 -49
- package/dist/chunks/{models-dev-5y057s9p.js → shell-4b4byd6t.js} +338 -338
- package/dist/chunks/{models-dev-sk6vvdwr.js → shell-4e2nnt3c.js} +19 -19
- package/dist/chunks/{models-dev-d4yp7v9m.js → shell-4nfcmvhk.js} +24 -24
- package/dist/chunks/{models-dev-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{models-dev-4xvmh7wp.js → shell-4xvmh7wp.js} +3 -3
- package/dist/chunks/{models-dev-pdx11bkf.js → shell-4zqkcf57.js} +2 -2
- package/dist/chunks/{models-dev-3jxsha8q.js → shell-52apm2b7.js} +12 -12
- package/dist/chunks/{models-dev-mpftjjzm.js → shell-53zfzs41.js} +11 -11
- package/dist/chunks/{models-dev-nvjt6hcq.js → shell-5h69x8yw.js} +13 -13
- package/dist/chunks/{models-dev-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-b6vsg801.js → shell-5nnwax6m.js} +5 -5
- package/dist/chunks/{models-dev-njkxgtzr.js → shell-5qgzfdx6.js} +19 -19
- package/dist/chunks/{models-dev-nkr5r85d.js → shell-5rsk1nq8.js} +2 -2
- package/dist/chunks/{models-dev-xmq3ht5y.js → shell-5x4mtra2.js} +12 -12
- package/dist/chunks/{models-dev-1yq9hg58.js → shell-5zrxpy3q.js} +5 -5
- package/dist/chunks/{models-dev-r5sx5k8r.js → shell-6dj066xs.js} +11 -11
- package/dist/chunks/{models-dev-37vv98vy.js → shell-6dvkpyc2.js} +3 -3
- package/dist/chunks/{models-dev-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
- package/dist/chunks/{models-dev-8gz3wb1q.js → shell-6n2c9nvr.js} +32 -32
- package/dist/chunks/{models-dev-6pjqjmy2.js → shell-6pjqjmy2.js} +1 -1
- package/dist/chunks/{models-dev-ntwtearv.js → shell-6w0nd92w.js} +26 -26
- package/dist/chunks/{models-dev-hkaezbcy.js → shell-750jpgf2.js} +27 -27
- package/dist/chunks/{models-dev-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
- package/dist/chunks/{models-dev-r00hhtph.js → shell-79vtmvb8.js} +29 -29
- package/dist/chunks/{models-dev-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{models-dev-3mzn62mq.js → shell-7zt9x3hf.js} +16 -16
- package/dist/chunks/{models-dev-fa2qvhbb.js → shell-81rwv4vy.js} +3 -3
- package/dist/chunks/{models-dev-7z0v7eda.js → shell-83y10q5s.js} +13 -13
- package/dist/chunks/{models-dev-bex4xsk5.js → shell-88kypjvy.js} +4 -4
- package/dist/chunks/{models-dev-genmt75h.js → shell-89tdhaej.js} +2 -2
- package/dist/chunks/{models-dev-ptkha4df.js → shell-8cf452yy.js} +8 -8
- package/dist/chunks/{models-dev-sn7xdfdt.js → shell-8fzmkc5d.js} +9 -9
- package/dist/chunks/{models-dev-qzt8vt06.js → shell-8k8atbvj.js} +25 -25
- package/dist/chunks/{models-dev-wvxsermt.js → shell-8pqzhdc3.js} +4 -4
- package/dist/chunks/{models-dev-4qje77qp.js → shell-8rp0m0m0.js} +4 -4
- package/dist/chunks/{models-dev-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{models-dev-91rj84md.js → shell-91rj84md.js} +1 -1
- package/dist/chunks/{models-dev-rhf8x4z4.js → shell-91vv7ayb.js} +16 -16
- package/dist/chunks/{models-dev-998yhzzq.js → shell-998yhzzq.js} +3 -3
- package/dist/chunks/{models-dev-vadw58me.js → shell-99dgtdd3.js} +28 -28
- package/dist/chunks/{models-dev-hkdkjvbm.js → shell-9g4cv0f3.js} +5 -5
- package/dist/chunks/{models-dev-f08n38td.js → shell-9hz3fran.js} +21 -21
- package/dist/chunks/{models-dev-pg9pm64p.js → shell-9kfzqwtx.js} +12 -12
- package/dist/chunks/{models-dev-js1chbgy.js → shell-9kh0htnp.js} +10 -10
- package/dist/chunks/{models-dev-9p9xqj3m.js → shell-9p9xqj3m.js} +1 -1
- package/dist/chunks/{models-dev-qe73a3ee.js → shell-9zxsqdn3.js} +26 -26
- package/dist/chunks/{models-dev-42jd4697.js → shell-a13nhj24.js} +4 -4
- package/dist/chunks/{models-dev-et0r2xd7.js → shell-a4j9f8bt.js} +11 -11
- package/dist/chunks/{models-dev-s39rexwj.js → shell-aeqacknm.js} +11 -11
- package/dist/chunks/{models-dev-n6v2b7cw.js → shell-afmnpta1.js} +5 -5
- package/dist/chunks/{models-dev-tm0gta7w.js → shell-ammt9wv8.js} +28 -28
- package/dist/chunks/{models-dev-ccv8c4s5.js → shell-axmn5kjp.js} +64 -64
- package/dist/chunks/{models-dev-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{models-dev-b0mv4wxm.js → shell-b0mv4wxm.js} +2 -2
- package/dist/chunks/{models-dev-nys4946a.js → shell-b2rkyjcn.js} +7 -7
- package/dist/chunks/{models-dev-n5x1qnnp.js → shell-b3nb49ay.js} +13 -13
- package/dist/chunks/{models-dev-cqn3v7mm.js → shell-b5z61bee.js} +5 -5
- package/dist/chunks/{models-dev-jerkzzfx.js → shell-b5za93j9.js} +50 -50
- package/dist/chunks/{models-dev-0e0djxfn.js → shell-bjb78nd5.js} +21 -21
- package/dist/chunks/{models-dev-07qaj4e5.js → shell-bnjf1eky.js} +4 -4
- package/dist/chunks/{models-dev-t5p2hefy.js → shell-bqrhmwq8.js} +27 -27
- package/dist/chunks/{models-dev-39kss88q.js → shell-bqwdyg2t.js} +9 -9
- package/dist/chunks/{models-dev-4bwthz3m.js → shell-bsrm4kv0.js} +6 -6
- package/dist/chunks/{models-dev-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{models-dev-brb1b7xb.js → shell-bx6xdp1z.js} +16 -16
- package/dist/chunks/{models-dev-c3cfh5w6.js → shell-c3cfh5w6.js} +2 -2
- package/dist/chunks/{models-dev-91sspt0w.js → shell-c3g877z7.js} +9 -9
- package/dist/chunks/{models-dev-0yvjzpst.js → shell-c57tq9x6.js} +11 -11
- package/dist/chunks/{models-dev-zv4jb2b2.js → shell-c7j93mmt.js} +8 -8
- package/dist/chunks/{models-dev-2ezarshc.js → shell-c9fgk02w.js} +40 -40
- package/dist/chunks/{models-dev-fgabcymg.js → shell-cd1jdth3.js} +8 -8
- package/dist/chunks/{models-dev-n473ggnb.js → shell-ceq71z2s.js} +22 -22
- package/dist/chunks/{models-dev-fge0cnxa.js → shell-cfmjsj78.js} +32 -32
- package/dist/chunks/{models-dev-r86zmz9e.js → shell-cs7yvevk.js} +8 -8
- package/dist/chunks/{models-dev-3zz6nw1q.js → shell-ctdwq0jb.js} +18 -18
- package/dist/chunks/{models-dev-88aaabm6.js → shell-cx0xwsw9.js} +26 -26
- package/dist/chunks/{models-dev-dyh2tc83.js → shell-cybp101z.js} +3 -3
- package/dist/chunks/{models-dev-v368w2c8.js → shell-cyeygnsd.js} +8 -8
- package/dist/chunks/{models-dev-7xqxpfvw.js → shell-czrdzzab.js} +11 -11
- package/dist/chunks/{models-dev-e5sekw5h.js → shell-d1x9sp18.js} +10 -10
- package/dist/chunks/{models-dev-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{models-dev-d77dj7jw.js → shell-d77dj7jw.js} +1 -1
- package/dist/chunks/{models-dev-k45syvet.js → shell-dvz1915h.js} +13 -13
- package/dist/chunks/{models-dev-ye8c8a77.js → shell-dx4aek7k.js} +6 -6
- package/dist/chunks/{models-dev-5498z5gx.js → shell-dzwp3hcx.js} +5 -5
- package/dist/chunks/{models-dev-5v78rb4d.js → shell-e00z28p8.js} +4 -4
- package/dist/chunks/{models-dev-7p0xn48f.js → shell-e145p2ha.js} +4 -4
- package/dist/chunks/{models-dev-6dj31fem.js → shell-e3hyx3wp.js} +9 -9
- package/dist/chunks/{models-dev-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{models-dev-zcpd9pa2.js → shell-ed0mtxnh.js} +14 -14
- package/dist/chunks/{models-dev-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-wwdney99.js → shell-efacwc3z.js} +4 -4
- package/dist/chunks/{models-dev-10adnn5q.js → shell-ervpxwtf.js} +12 -12
- package/dist/chunks/{models-dev-3kw38gkw.js → shell-ey9szsmw.js} +21 -21
- package/dist/chunks/{models-dev-cw8fgyw2.js → shell-f1e7k22r.js} +4 -4
- package/dist/chunks/{models-dev-fnbr6nw2.js → shell-f5t8t5m7.js} +20 -20
- package/dist/chunks/{models-dev-qcypp6s5.js → shell-f82ybqrx.js} +9 -9
- package/dist/chunks/{models-dev-4xhfyr6c.js → shell-f9jmr95f.js} +24 -24
- package/dist/chunks/{models-dev-r36exhg8.js → shell-f9nf7jc4.js} +13 -13
- package/dist/chunks/{models-dev-babfezga.js → shell-fa903x7f.js} +15 -15
- package/dist/chunks/{models-dev-88eag83w.js → shell-fbjqxkhq.js} +8 -8
- package/dist/chunks/{models-dev-azcpjphw.js → shell-fcngkh0c.js} +22 -22
- package/dist/chunks/{models-dev-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{models-dev-ghczf8tc.js → shell-fjfaey98.js} +34 -34
- package/dist/chunks/{models-dev-9b28cy4d.js → shell-fvc4bqe2.js} +5 -5
- package/dist/chunks/{models-dev-g5h9c0rr.js → shell-g5h9c0rr.js} +2 -2
- package/dist/chunks/{models-dev-q906rdr4.js → shell-gawdr880.js} +16 -16
- package/dist/chunks/{models-dev-h0m4fzk5.js → shell-gcf8bw3p.js} +44 -44
- package/dist/chunks/{models-dev-80c2d82y.js → shell-gdc8gtm1.js} +16 -16
- package/dist/chunks/{models-dev-9kbek825.js → shell-gjp1trbb.js} +16 -16
- package/dist/chunks/{models-dev-r6zya5yt.js → shell-gt5g569e.js} +33 -33
- package/dist/chunks/{models-dev-jzjradmt.js → shell-gv55t52j.js} +25 -25
- package/dist/chunks/{models-dev-dcjnd4m8.js → shell-gv59wj6b.js} +36 -36
- package/dist/chunks/{models-dev-d8qd4w10.js → shell-h5qan5zz.js} +8 -8
- package/dist/chunks/{models-dev-ha2v1z14.js → shell-ha4hgd8e.js} +21 -21
- package/dist/chunks/{models-dev-kf16exft.js → shell-hbg8agq7.js} +11 -11
- package/dist/chunks/{models-dev-channxys.js → shell-hc7ans2w.js} +3 -3
- package/dist/chunks/{models-dev-bjbxsavb.js → shell-hecd99m2.js} +4 -4
- package/dist/chunks/{models-dev-0c362mbg.js → shell-hj6y046f.js} +21 -21
- package/dist/chunks/{models-dev-0qx19ghq.js → shell-hsphd179.js} +11 -11
- package/dist/chunks/{models-dev-bx077b5x.js → shell-hvzv56hn.js} +29 -29
- package/dist/chunks/{models-dev-k732j073.js → shell-hx6gesf1.js} +8 -8
- package/dist/chunks/{models-dev-j113cymg.js → shell-j113cymg.js} +1 -1
- package/dist/chunks/{models-dev-kq2kj0cs.js → shell-j2a3kw55.js} +16 -16
- package/dist/chunks/{models-dev-v9b44qx7.js → shell-j6r0nxf6.js} +29 -29
- package/dist/chunks/{models-dev-q239wykz.js → shell-j9v24vp1.js} +16 -16
- package/dist/chunks/{models-dev-q6sdbmza.js → shell-jentk5nx.js} +19 -19
- package/dist/chunks/{models-dev-dh62xe4r.js → shell-jx89vj1k.js} +3 -3
- package/dist/chunks/{models-dev-y31s63n5.js → shell-jxf43kwy.js} +6 -6
- package/dist/chunks/{models-dev-rsb77j2b.js → shell-k18xgkct.js} +25 -25
- package/dist/chunks/{models-dev-6bx3cs9p.js → shell-k4ggaqy8.js} +34 -34
- package/dist/chunks/{models-dev-k814nvkf.js → shell-k814nvkf.js} +1 -1
- package/dist/chunks/{models-dev-4d8jrjdf.js → shell-kdxgykmr.js} +9 -9
- package/dist/chunks/{models-dev-7k20pdnx.js → shell-kt2gry7f.js} +13 -13
- package/dist/chunks/{models-dev-723avxzj.js → shell-kxa065gd.js} +5 -5
- package/dist/chunks/{models-dev-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{models-dev-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-maspj1v3.js → shell-maspj1v3.js} +1 -1
- package/dist/chunks/shell-mcszswe1.js +257 -0
- package/dist/chunks/{models-dev-xnpqwph5.js → shell-msft5056.js} +29 -29
- package/dist/chunks/{models-dev-c9t2ty9q.js → shell-mtkfycnh.js} +4 -4
- package/dist/chunks/{models-dev-n0p0277s.js → shell-n0p0277s.js} +1 -1
- package/dist/chunks/{models-dev-nah043kf.js → shell-nah043kf.js} +1 -1
- package/dist/chunks/{models-dev-ys64c0en.js → shell-nkpw7cy5.js} +4 -4
- package/dist/chunks/{models-dev-dt583h2d.js → shell-nsqj0y1h.js} +23 -23
- package/dist/chunks/{models-dev-2jxrz3hz.js → shell-ny4bcy2e.js} +1 -1
- package/dist/chunks/{models-dev-p015t6z3.js → shell-p015t6z3.js} +2 -2
- package/dist/chunks/{models-dev-8qwc5dnh.js → shell-p6xjr4s7.js} +19 -19
- package/dist/chunks/{models-dev-jb6x488n.js → shell-pd641wyg.js} +42 -42
- package/dist/chunks/{models-dev-721d6ssn.js → shell-pg605kec.js} +12 -12
- package/dist/chunks/{models-dev-nxd0c77e.js → shell-pjxmvhc5.js} +24 -24
- package/dist/chunks/{models-dev-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-f2dpdkzd.js → shell-pqyj7c3t.js} +14 -14
- package/dist/chunks/{models-dev-00j71afz.js → shell-pyab3nm0.js} +10 -10
- package/dist/chunks/{models-dev-0wwx6cs9.js → shell-qb45pfqr.js} +33 -33
- package/dist/chunks/{models-dev-qjgzc4b4.js → shell-qjgzc4b4.js} +1 -1
- package/dist/chunks/{models-dev-6zhajzvs.js → shell-qq321qph.js} +5 -5
- package/dist/chunks/{models-dev-d2dx6a7h.js → shell-qv7y9773.js} +4 -4
- package/dist/chunks/{models-dev-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
- package/dist/chunks/{models-dev-h8tnqdxv.js → shell-r9mr2fx2.js} +11 -11
- package/dist/chunks/{models-dev-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{models-dev-9x9zyc4q.js → shell-revj3tw3.js} +29 -29
- package/dist/chunks/{models-dev-yc5hzz5h.js → shell-rf4jwcas.js} +21 -21
- package/dist/chunks/{models-dev-ssgew5gp.js → shell-rm20pgxh.js} +14 -14
- package/dist/chunks/{models-dev-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{models-dev-1bmv17xj.js → shell-ry17vq2q.js} +7 -7
- package/dist/chunks/{models-dev-h0rg6s60.js → shell-s85z3cra.js} +4 -4
- package/dist/chunks/{models-dev-mqry7vh6.js → shell-s9dwmje5.js} +21 -21
- package/dist/chunks/{models-dev-7r0r50e5.js → shell-sfkj0ta1.js} +5 -5
- package/dist/chunks/{models-dev-5mybh76x.js → shell-sjrghj3a.js} +10 -10
- package/dist/chunks/{models-dev-5jmszjhn.js → shell-sn2bmg30.js} +9 -9
- package/dist/chunks/{models-dev-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
- package/dist/chunks/{models-dev-mtpeagzc.js → shell-ss358qx3.js} +3 -3
- package/dist/chunks/{models-dev-j32x6r6g.js → shell-syjgkag2.js} +18 -18
- package/dist/chunks/{models-dev-twnmjdm4.js → shell-szcyxb54.js} +7 -7
- package/dist/chunks/{models-dev-21tez1wd.js → shell-t12sb919.js} +30 -30
- package/dist/chunks/{models-dev-jrq7bcnr.js → shell-t75rajx1.js} +43 -43
- package/dist/chunks/{models-dev-st9ms96z.js → shell-t7e9twk7.js} +17 -17
- package/dist/chunks/{models-dev-7sn46knd.js → shell-ta9qyare.js} +26 -26
- package/dist/chunks/{models-dev-tasvem1v.js → shell-tasvem1v.js} +3 -3
- package/dist/chunks/{models-dev-m7ee3x5c.js → shell-tb7p4ryh.js} +8 -8
- package/dist/chunks/{models-dev-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{models-dev-bp74npqy.js → shell-te93dn38.js} +9 -9
- package/dist/chunks/{models-dev-bt6gheby.js → shell-tfhekx6w.js} +15 -15
- package/dist/chunks/{models-dev-bzfaamf2.js → shell-tfmz659n.js} +2 -2
- package/dist/chunks/{models-dev-rwf3qv8n.js → shell-tgrj2fed.js} +46 -46
- package/dist/chunks/{models-dev-dy2h6ad1.js → shell-th8jc8p0.js} +11 -11
- package/dist/chunks/{models-dev-yk2jq8sz.js → shell-tngq8s39.js} +23 -23
- package/dist/chunks/{models-dev-a4t01zf9.js → shell-trc09wwy.js} +20 -20
- package/dist/chunks/{models-dev-tw8zr1ps.js → shell-tw8zr1ps.js} +1 -1
- package/dist/chunks/{models-dev-twv2r8f4.js → shell-twv2r8f4.js} +2 -2
- package/dist/chunks/{models-dev-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{models-dev-44z8xak8.js → shell-v40bhpkf.js} +12 -12
- package/dist/chunks/{models-dev-sryswszh.js → shell-v4sbtd6b.js} +23 -23
- package/dist/chunks/{models-dev-vd3b3yk9.js → shell-vd3b3yk9.js} +1 -1
- package/dist/chunks/{models-dev-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-yb8pzg9e.js → shell-vkfaa8pw.js} +7 -7
- package/dist/chunks/{models-dev-g7esga4v.js → shell-vmfhgzt5.js} +5 -5
- package/dist/chunks/{models-dev-rmt6m6se.js → shell-vrcsa8qx.js} +9 -9
- package/dist/chunks/{models-dev-13xp8kk2.js → shell-w0e5dcpe.js} +84 -84
- package/dist/chunks/{models-dev-r41sfy63.js → shell-w2eysc6j.js} +6 -6
- package/dist/chunks/{models-dev-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-c681qaxm.js → shell-wafjmk08.js} +1 -1
- package/dist/chunks/{models-dev-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{models-dev-j6q1v0mm.js → shell-wd6msta3.js} +11 -11
- package/dist/chunks/{models-dev-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-3ws1kde7.js → shell-wed5rh1m.js} +10 -10
- package/dist/chunks/{models-dev-qqg9c0kv.js → shell-wmjzvx4b.js} +4 -4
- package/dist/chunks/{models-dev-5c570mwr.js → shell-wmy22jry.js} +20 -20
- package/dist/chunks/{models-dev-tenyxeq0.js → shell-wn8cs04e.js} +11 -11
- package/dist/chunks/{models-dev-xksp0ar2.js → shell-wpjr39xp.js} +26 -26
- package/dist/chunks/{models-dev-fznmdakp.js → shell-wr3re1en.js} +4 -4
- package/dist/chunks/{models-dev-dr3a7210.js → shell-wyrx21ay.js} +5 -5
- package/dist/chunks/{models-dev-k605x2ym.js → shell-x0ra2npf.js} +11 -11
- package/dist/chunks/{models-dev-fr0ct2rt.js → shell-x4vc4qa8.js} +15 -15
- package/dist/chunks/{models-dev-q400g5tq.js → shell-xccgq3qx.js} +15 -15
- package/dist/chunks/{models-dev-cwjanqmp.js → shell-xd25kzce.js} +11 -11
- package/dist/chunks/{models-dev-mtdrv22n.js → shell-xdq354nz.js} +6 -6
- package/dist/chunks/{models-dev-nwztx11m.js → shell-xes9mfxx.js} +33 -33
- package/dist/chunks/{models-dev-rf5a6b4e.js → shell-xtxrze2j.js} +11 -11
- package/dist/chunks/{models-dev-wfe16x56.js → shell-y1hjbq0d.js} +11 -11
- package/dist/chunks/{models-dev-2gz5ch5e.js → shell-y5nnnm2j.js} +13 -13
- package/dist/chunks/{models-dev-c6ctsthb.js → shell-y7y0w8zn.js} +16 -16
- package/dist/chunks/{models-dev-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{models-dev-j0p7c7tg.js → shell-ybyct7vf.js} +18 -18
- package/dist/chunks/{models-dev-gh6j4ke9.js → shell-ydpx6gyr.js} +6 -6
- package/dist/chunks/{models-dev-tg1vr1qt.js → shell-ydsespw1.js} +8 -8
- package/dist/chunks/{models-dev-y0r1wt5k.js → shell-ypzxf1by.js} +7 -7
- package/dist/chunks/{models-dev-6yqb3vrw.js → shell-yrab93vt.js} +19 -19
- package/dist/chunks/{models-dev-9xt2sp81.js → shell-yz8d3crg.js} +20 -20
- package/dist/chunks/{models-dev-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-z38nccrw.js → shell-z38nccrw.js} +1 -1
- package/dist/chunks/{models-dev-zkg84ctx.js → shell-zkg84ctx.js} +1 -1
- package/dist/chunks/{models-dev-zdczhcc3.js → shell-zsm4q6zj.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +87 -87
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +361 -361
- 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 +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +89 -83
- package/dist/mcp/socket-client.js +1 -1
- 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 +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +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 +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- 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 +4 -4
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +126 -126
- 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 +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/models-dev-5v5zc9vr.js +0 -26
- package/dist/chunks/models-dev-tgy6ybx3.js +0 -257
- /package/dist/chunks/{models-dev-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5fjb7ams.js → shell-5fjb7ams.js} +0 -0
- /package/dist/chunks/{models-dev-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a058387c.js → shell-a058387c.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wjj7prxr.js → shell-wjj7prxr.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node66
|
|
4
|
+
} from "./shell-bx6xdp1z.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-4zqkcf57.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./shell-c9fgk02w.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service61;
|
|
40
|
+
const watcher = yield* Service62;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node65, FSUtil.node, node66, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./shell-ha4hgd8e.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-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: () => Service14,
|
|
17
|
+
node: () => node16,
|
|
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 Service14 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(Service14, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
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(Service17, 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 Service14.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-x0ra2npf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-e00z28p8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event13
|
|
10
|
+
} from "./shell-3xqr0t2x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-ta9qyare.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID7
|
|
17
|
+
} from "./shell-1rarfw9s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-79vtmvb8.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID7.make("digitalocean");
|
|
31
|
+
var integrationID = ID8.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin39 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin22 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin39, exports_exa };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service39,
|
|
17
|
+
node41
|
|
18
|
+
} from "./shell-f82ybqrx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service81,
|
|
21
|
+
node85
|
|
22
|
+
} from "./shell-tb7p4ryh.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service30,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node33
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service30 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(Service30, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service81;
|
|
58
|
+
const image = yield* Service39;
|
|
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(Service45, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service30.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 node33 = makeLocationNode({
|
|
277
|
+
service: Service30,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node85, node41]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service30, node33, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-0pv52n9j.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service86,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-3f6nh3fm.js";
|
|
14
14
|
import {
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-e00z28p8.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-8cf452yy.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-4zqkcf57.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service72,
|
|
33
|
+
node76
|
|
34
|
+
} from "./shell-2z9d2exz.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service71
|
|
41
|
+
} from "./shell-j9v24vp1.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shell-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event14,
|
|
53
|
+
Info: () => Info21,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service70,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node74
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,9 +75,9 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info21 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
82
|
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event14 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service70 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service85;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service72;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service71).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event14.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service70.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node74 = Node.makeGlobalNode({
|
|
260
|
+
service: Service70,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node89, node90, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node76]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info21, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event14, Service70, node74, exports_worktree2, OperationError2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./shell-f82ybqrx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./shell-bsrm4kv0.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-2z1j29yd.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-d77dj7jw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service81
|
|
15
|
+
} from "./shell-tb7p4ryh.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-jxf43kwy.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service76
|
|
23
|
+
} from "./shell-tngq8s39.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service37;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service81;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service76;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service39;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|