@opencode/core 0.0.0-dev-20169 → 0.0.0-dev-20170
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{mime-89bb6baa.js → pty-00832hy7.js} +8 -8
- package/dist/chunks/{mime-4pwxaf10.js → pty-07yh2w3s.js} +6 -6
- package/dist/chunks/{mime-0996nyz8.js → pty-0996nyz8.js} +2 -2
- package/dist/chunks/{mime-mbdf20a3.js → pty-0f7yvzkx.js} +10 -10
- package/dist/chunks/{mime-r33ff4dw.js → pty-0ft9cg2j.js} +6 -6
- package/dist/chunks/{mime-58m92xrk.js → pty-0hbp2t3w.js} +23 -23
- package/dist/chunks/{mime-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-e6hmchc5.js → pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{mime-5796tcck.js → pty-17y8z6sp.js} +3 -3
- package/dist/chunks/{mime-bf4gbvg4.js → pty-1813d5zh.js} +11 -11
- package/dist/chunks/{mime-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-mvksx64m.js → pty-1ed2t66p.js} +4 -4
- package/dist/chunks/{mime-ddzkc74p.js → pty-1hpkc3d9.js} +20 -20
- package/dist/chunks/{mime-f5gy8qwh.js → pty-1p7f10vm.js} +8 -8
- package/dist/chunks/{mime-qr124z36.js → pty-1sxsykr6.js} +8 -8
- package/dist/chunks/{mime-6gb804jb.js → pty-1w51kcab.js} +29 -29
- package/dist/chunks/{mime-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{mime-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{mime-mzqhsy22.js → pty-221x7bq0.js} +17 -17
- package/dist/chunks/{mime-6h73sxmp.js → pty-2402vzrj.js} +5 -5
- package/dist/chunks/{mime-7e3zd5d4.js → pty-27ra7qpk.js} +20 -20
- package/dist/chunks/{mime-6asax46e.js → pty-27xgxgv2.js} +51 -51
- package/dist/chunks/{mime-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-0r9gc419.js → pty-2bc87pvv.js} +7 -7
- package/dist/chunks/{mime-r205r7v3.js → pty-2dejz1mq.js} +35 -35
- package/dist/chunks/{mime-ccksk4yj.js → pty-2gds47hr.js} +15 -15
- package/dist/chunks/{mime-djgw09t3.js → pty-2h9st16x.js} +14 -14
- package/dist/chunks/{mime-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{mime-cwa6csj7.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{mime-ghw31w7j.js → pty-2v6ca730.js} +10 -10
- package/dist/chunks/{mime-d15a5crh.js → pty-33yknepq.js} +30 -30
- package/dist/chunks/{mime-empm8ahp.js → pty-36agyrng.js} +20 -20
- package/dist/chunks/{mime-t3wpcfc0.js → pty-372k5868.js} +24 -24
- package/dist/chunks/{mime-tw1e01ej.js → pty-37bbksa5.js} +68 -68
- package/dist/chunks/{mime-bz63ghv0.js → pty-3bbgm4hs.js} +24 -24
- package/dist/chunks/{mime-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-zmb1q919.js → pty-3fqt7tyn.js} +30 -30
- package/dist/chunks/{mime-fxfxepgh.js → pty-3gnkk110.js} +6 -6
- package/dist/chunks/{mime-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3h23es9p.js → pty-3p6y7fhg.js} +42 -42
- package/dist/chunks/{mime-qczqf1dc.js → pty-3pb9a38v.js} +26 -26
- package/dist/chunks/{mime-16cax9zb.js → pty-3pbjq009.js} +8 -8
- package/dist/chunks/{mime-nr80y6k7.js → pty-3rkt7740.js} +24 -24
- package/dist/chunks/{mime-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-wwz2c70k.js → pty-3vnaarfk.js} +12 -12
- package/dist/chunks/{mime-t5a2hf0x.js → pty-3vqxbr3s.js} +10 -10
- package/dist/chunks/{mime-ywvtc5g7.js → pty-3yakcpj9.js} +28 -28
- package/dist/chunks/{mime-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-zy1hsbqs.js → pty-40y54r5c.js} +3 -3
- package/dist/chunks/{mime-ec7jv6ne.js → pty-41tapkvj.js} +46 -46
- package/dist/chunks/{mime-4xvevn0r.js → pty-45tygp0h.js} +33 -33
- package/dist/chunks/{mime-sdaymwv4.js → pty-45y21gs0.js} +15 -15
- package/dist/chunks/{mime-dhcd5s6n.js → pty-47erbzba.js} +14 -14
- package/dist/chunks/{mime-0ryd0fps.js → pty-4n607a2z.js} +5 -5
- package/dist/chunks/{mime-j26kfq5v.js → pty-4xgaqrq2.js} +13 -13
- package/dist/chunks/{mime-me0b0vjg.js → pty-4z2qm7e6.js} +10 -10
- package/dist/chunks/{mime-ckecvw8r.js → pty-54tcyq79.js} +2 -2
- package/dist/chunks/{mime-jqfs4f8t.js → pty-54xnztgb.js} +44 -44
- package/dist/chunks/{mime-xr349t4n.js → pty-571ezfbc.js} +8 -8
- package/dist/chunks/{mime-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{mime-0s890w15.js → pty-5ar2sckv.js} +5 -5
- package/dist/chunks/{mime-ck42neey.js → pty-5b0bje4b.js} +36 -36
- package/dist/chunks/{mime-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-fya34y6j.js → pty-5dmpnzwe.js} +15 -15
- package/dist/chunks/{mime-r55vasa2.js → pty-5mtzsd3b.js} +4 -4
- package/dist/chunks/{mime-r6fqv44t.js → pty-5n2dsd6w.js} +13 -13
- package/dist/chunks/{mime-neam7ak9.js → pty-5nqyfg55.js} +27 -27
- package/dist/chunks/{mime-ennxz5nn.js → pty-5rt6txf8.js} +13 -13
- package/dist/chunks/{mime-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-6ka24jaf.js → pty-60t26s16.js} +17 -17
- package/dist/chunks/{mime-hvt58z0f.js → pty-60vycrkp.js} +32 -32
- package/dist/chunks/{mime-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{mime-qmp029tv.js → pty-67d35v68.js} +13 -13
- package/dist/chunks/{mime-ak9msbxp.js → pty-6d6xcght.js} +6 -6
- package/dist/chunks/{mime-xjzvydkr.js → pty-6d77vjf5.js} +26 -26
- package/dist/chunks/{mime-p0bpn1a8.js → pty-6dxfrfn6.js} +37 -37
- package/dist/chunks/{mime-xdfcdmq0.js → pty-6kspbkqh.js} +24 -24
- package/dist/chunks/{mime-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-wbbqzpfk.js → pty-6rm04a4d.js} +8 -8
- package/dist/chunks/{mime-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-gs4bd3ck.js → pty-75wwy8y2.js} +13 -13
- package/dist/chunks/{mime-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-hp23trsw.js → pty-7e8n9cs3.js} +38 -38
- package/dist/chunks/{mime-gk9fhfww.js → pty-7end9xac.js} +32 -32
- package/dist/chunks/{mime-6qx8bc3d.js → pty-7febzfrp.js} +25 -25
- package/dist/chunks/pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{mime-rdhh766h.js → pty-7fnyxttq.js} +4 -4
- package/dist/chunks/{mime-tme7ypnb.js → pty-7w357n7h.js} +18 -18
- package/dist/chunks/{mime-fk8kps10.js → pty-7xxh74w6.js} +11 -11
- package/dist/chunks/{mime-eq9tcww4.js → pty-7y7dz3xh.js} +26 -26
- package/dist/chunks/{mime-wmras1aj.js → pty-8anx25cs.js} +22 -22
- package/dist/chunks/{mime-mbh094q3.js → pty-8d0p2m37.js} +5 -5
- package/dist/chunks/{mime-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-prpf8ftn.js → pty-8kjs0e52.js} +2 -2
- package/dist/chunks/{mime-fydjrjbk.js → pty-8njz7rt2.js} +22 -22
- package/dist/chunks/{mime-pjwpcx5g.js → pty-8vrhx02r.js} +39 -39
- package/dist/chunks/{mime-phfznvh9.js → pty-8wqe6q5q.js} +65 -65
- package/dist/chunks/{mime-1fw2a5v8.js → pty-8yen0vmk.js} +13 -13
- package/dist/chunks/{mime-mb4xa1j6.js → pty-979hjcpa.js} +36 -36
- package/dist/chunks/{mime-ybhbtxjg.js → pty-97fmyryk.js} +3 -3
- package/dist/chunks/pty-99kmt16y.js +26 -0
- package/dist/chunks/{mime-vqm199mj.js → pty-99taak7k.js} +30 -30
- package/dist/chunks/{mime-sc7svgdt.js → pty-9by0nc1z.js} +22 -22
- package/dist/chunks/{mime-909p1r3q.js → pty-9gea571p.js} +6 -6
- package/dist/chunks/{mime-jpva2q9q.js → pty-9gh63tf7.js} +11 -11
- package/dist/chunks/{mime-a3r4dcrj.js → pty-9kmbd9mt.js} +2 -2
- package/dist/chunks/{mime-vzqv0rzd.js → pty-9kzv5r3t.js} +5 -5
- package/dist/chunks/{mime-1cn8p0vk.js → pty-9wbp47sd.js} +3 -3
- package/dist/chunks/{mime-8b6wz1s2.js → pty-9x77fmbz.js} +4 -4
- package/dist/chunks/{mime-0gs1t9y7.js → pty-9zdcvzy0.js} +30 -30
- package/dist/chunks/{mime-5cta56rp.js → pty-a2ywx13m.js} +1 -1
- package/dist/chunks/{mime-j8m1p4p1.js → pty-a3c7ahw6.js} +4 -4
- package/dist/chunks/{mime-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-t7vjw3g9.js → pty-afp6dc07.js} +10 -10
- package/dist/chunks/{mime-9nj21xqc.js → pty-ag3twsq1.js} +5 -5
- package/dist/chunks/{mime-dx066ber.js → pty-avjan795.js} +9 -9
- package/dist/chunks/{mime-t2fc4mz5.js → pty-b27vhd2z.js} +4 -4
- package/dist/chunks/{mime-ew79ghek.js → pty-b4xp5b4g.js} +6 -6
- package/dist/chunks/{mime-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-chwtr2e5.js → pty-bbdm7xgf.js} +19 -19
- package/dist/chunks/{mime-bemp11m2.js → pty-bc0ha7f3.js} +73 -73
- package/dist/chunks/{mime-x960xs2s.js → pty-bc1mwsm1.js} +31 -31
- package/dist/chunks/{mime-f6rek99c.js → pty-bh8ht1d2.js} +7 -7
- package/dist/chunks/{mime-z07pqspn.js → pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{mime-acp8wmh6.js → pty-bv318s69.js} +19 -19
- package/dist/chunks/{mime-fqvsmr7a.js → pty-c4n9gx9q.js} +17 -17
- package/dist/chunks/{mime-8pkr1zz8.js → pty-c72g4n35.js} +5 -5
- package/dist/chunks/{mime-rs4eeekc.js → pty-c9fqa78w.js} +9 -9
- package/dist/chunks/{mime-cvh6twbq.js → pty-cbamtmth.js} +10 -10
- package/dist/chunks/{mime-1dybw484.js → pty-cgtg3r0q.js} +336 -336
- package/dist/chunks/{mime-z19932rd.js → pty-ch9yp1pz.js} +27 -27
- package/dist/chunks/{mime-mk2tfswv.js → pty-cj3sqp0r.js} +11 -11
- package/dist/chunks/{mime-5r6fx1qs.js → pty-ckqn5b0t.js} +19 -19
- package/dist/chunks/{mime-nsandnz2.js → pty-cx803r68.js} +4 -4
- package/dist/chunks/{mime-xbmsj09z.js → pty-dfncrten.js} +10 -10
- package/dist/chunks/{mime-m6nec9qq.js → pty-dg2cj1yd.js} +4 -4
- package/dist/chunks/{mime-h99x4ah1.js → pty-dnh4eggc.js} +32 -32
- package/dist/chunks/{mime-bm3m92rh.js → pty-dq0v80fr.js} +12 -12
- package/dist/chunks/{mime-r2de5yng.js → pty-dv4smdre.js} +20 -20
- package/dist/chunks/{mime-vyqn3nqs.js → pty-dwvzh0g2.js} +6 -6
- package/dist/chunks/{mime-1qspzcx3.js → pty-dwwvf93g.js} +11 -11
- package/dist/chunks/{mime-492avacy.js → pty-e2n265pm.js} +8 -8
- package/dist/chunks/{mime-rhjbct0v.js → pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{mime-b6fp2acj.js → pty-ebzz9p7s.js} +35 -35
- package/dist/chunks/{mime-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-ck4n2qmk.js → pty-eg2tb1rm.js} +11 -11
- package/dist/chunks/{mime-jg3tkmqv.js → pty-eh24cpx8.js} +22 -22
- package/dist/chunks/{mime-cmx4q0sw.js → pty-eqdtwbsd.js} +3 -3
- package/dist/chunks/{mime-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-96172wp9.js → pty-ew0v584s.js} +23 -23
- package/dist/chunks/{mime-ryps5y1f.js → pty-exr53306.js} +29 -29
- package/dist/chunks/{mime-zc2nbk21.js → pty-ezqh9axr.js} +23 -23
- package/dist/chunks/{mime-yd0n98jr.js → pty-f3eh0ser.js} +35 -35
- package/dist/chunks/{mime-g190xswt.js → pty-f3ngv102.js} +4 -4
- package/dist/chunks/{mime-zvt5dnpc.js → pty-f73rjn58.js} +4 -4
- package/dist/chunks/{mime-jq7v6dgk.js → pty-f76fhdgf.js} +5 -5
- package/dist/chunks/{mime-4fewzrdd.js → pty-fjwmcm9g.js} +7 -7
- package/dist/chunks/{mime-ywg7ry4y.js → pty-fne9b88m.js} +4 -4
- package/dist/chunks/{mime-n2we63qy.js → pty-fwpk2wm7.js} +14 -14
- package/dist/chunks/{mime-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-4nxa3yrp.js → pty-gfmqcfkq.js} +13 -13
- package/dist/chunks/{mime-94ek1h2f.js → pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{mime-n4djqr79.js → pty-gje89n48.js} +22 -22
- package/dist/chunks/{mime-dyynjqpa.js → pty-gnk6yzfx.js} +37 -37
- package/dist/chunks/{mime-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-d1ejf2a0.js → pty-hx5dphvg.js} +48 -48
- package/dist/chunks/{mime-0e9d45z6.js → pty-hxf9ag7d.js} +40 -40
- package/dist/chunks/{mime-d6h5jf52.js → pty-j1dhetpm.js} +11 -11
- package/dist/chunks/{mime-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-44ykbs4n.js → pty-jd6az1p0.js} +11 -11
- package/dist/chunks/{mime-mv8r48y5.js → pty-jmr301rc.js} +24 -24
- package/dist/chunks/{mime-vv7f1353.js → pty-jrm07jrz.js} +18 -18
- package/dist/chunks/{mime-gyn306pg.js → pty-jy93wyqx.js} +22 -22
- package/dist/chunks/{mime-ebhn8wwf.js → pty-jyb2y6gr.js} +17 -17
- package/dist/chunks/{mime-vt049zkw.js → pty-jzsws37g.js} +16 -16
- package/dist/chunks/{mime-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{mime-j9ty9cws.js → pty-k53npxr2.js} +1 -1
- package/dist/chunks/{mime-ta6q38yf.js → pty-kahn2df4.js} +15 -15
- package/dist/chunks/{mime-dtb55fr6.js → pty-kba9tdab.js} +10 -10
- package/dist/chunks/{mime-x8wvmgka.js → pty-ke9c0zby.js} +47 -47
- package/dist/chunks/{mime-6x3df6m5.js → pty-kehatjqj.js} +15 -15
- package/dist/chunks/{mime-t0dhg9xm.js → pty-kjhqpjf5.js} +3 -3
- package/dist/chunks/{mime-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-jexxy024.js → pty-mf9m2v67.js} +3 -3
- package/dist/chunks/{mime-h0jd11tf.js → pty-mg0z7gqm.js} +5 -5
- package/dist/chunks/{mime-xjzb32y7.js → pty-mja4j6rb.js} +15 -15
- package/dist/chunks/{mime-q1tmktbx.js → pty-mqvas0bz.js} +11 -11
- package/dist/chunks/{mime-j1nzbrzj.js → pty-mrz2mfwp.js} +27 -27
- package/dist/chunks/{mime-3sz51aqf.js → pty-mv4t038k.js} +12 -12
- package/dist/chunks/{mime-bdn7vv49.js → pty-n158bs7w.js} +9 -9
- package/dist/chunks/{mime-8cmactcw.js → pty-nb301scj.js} +6 -6
- package/dist/chunks/{mime-4mj1cvph.js → pty-nefa8w28.js} +23 -23
- package/dist/chunks/{mime-aq494hqz.js → pty-nekn4kj4.js} +14 -14
- package/dist/chunks/{mime-t73dcxme.js → pty-nfzmfrje.js} +6 -6
- package/dist/chunks/{mime-0x4ra8ng.js → pty-nndwhze1.js} +15 -15
- package/dist/chunks/{mime-84zt2byv.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{mime-d2aac7k2.js → pty-nxhqveyz.js} +5 -5
- package/dist/chunks/{mime-9g6mcpc9.js → pty-nzfzj4ee.js} +24 -24
- package/dist/chunks/{mime-thpvyx44.js → pty-p7656wpr.js} +30 -30
- package/dist/chunks/{mime-p42hj8p8.js → pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{mime-vps92m75.js → pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{mime-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/pty-pjz83rka.js +252 -0
- package/dist/chunks/{mime-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{mime-ax1mpjb7.js → pty-prc9mp0v.js} +27 -27
- package/dist/chunks/{mime-wd3x2cqz.js → pty-psazpmmj.js} +2 -2
- package/dist/chunks/{mime-nyrwqgn4.js → pty-pwf03s6r.js} +5 -11
- package/dist/chunks/{mime-8sze2n9a.js → pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{mime-xpxhmcar.js → pty-q4qsq2r1.js} +9 -9
- package/dist/chunks/{mime-ce49hgg3.js → pty-qgyvxnrz.js} +3 -3
- package/dist/chunks/{mime-vs4a43ce.js → pty-qmjzgd7a.js} +46 -46
- package/dist/chunks/{mime-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-mw0cehm6.js → pty-qsra982x.js} +3 -3
- package/dist/chunks/{mime-fbfwk3fg.js → pty-qy4pzfzt.js} +5 -5
- package/dist/chunks/{mime-ghghsxj7.js → pty-r0841nan.js} +19 -19
- package/dist/chunks/{mime-axrwawvg.js → pty-r0kh7xsn.js} +9 -9
- package/dist/chunks/{mime-1a49mg8n.js → pty-r369ybd3.js} +19 -19
- package/dist/chunks/{mime-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-txm26eb2.js → pty-rgr7zy8c.js} +22 -22
- package/dist/chunks/{mime-scnv85zn.js → pty-rt925ear.js} +11 -11
- package/dist/chunks/{mime-2xqf92me.js → pty-rw780tjq.js} +1 -1
- package/dist/chunks/{mime-vg1ctdtm.js → pty-rx2zrev4.js} +19 -19
- package/dist/chunks/{mime-70dy1mpp.js → pty-se2405xg.js} +8 -8
- package/dist/chunks/{mime-jwm73ahz.js → pty-ss96nb5e.js} +8 -8
- package/dist/chunks/{mime-dj9sq318.js → pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{mime-s3mp4eq0.js → pty-t1kj1ks6.js} +13 -13
- package/dist/chunks/{mime-xf3wnvpw.js → pty-t70hw2aa.js} +35 -35
- package/dist/chunks/{mime-2qtvb2sf.js → pty-t9ag37r3.js} +24 -24
- package/dist/chunks/{mime-0v53mg2y.js → pty-t9zs3egg.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{mime-xjyydmb8.js → pty-te7gyzaz.js} +9 -9
- package/dist/chunks/{mime-ybfnsx4m.js → pty-tjedn1bk.js} +4 -4
- package/dist/chunks/{mime-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-246wn8dt.js → pty-twrb86q2.js} +14 -14
- package/dist/chunks/{mime-amtxatrd.js → pty-tx7gh1kr.js} +41 -41
- package/dist/chunks/{mime-cs3vqxz8.js → pty-v2fqb831.js} +5 -5
- package/dist/chunks/{mime-f9hgfqpn.js → pty-v64esaz8.js} +18 -18
- package/dist/chunks/{mime-f4d0s1t2.js → pty-v6aqgby1.js} +16 -16
- package/dist/chunks/{mime-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-1kppbkx0.js → pty-vfcs7mkg.js} +25 -25
- package/dist/chunks/{mime-qed5jbce.js → pty-vp2t77bj.js} +5 -5
- package/dist/chunks/{mime-rmk2c50f.js → pty-vxp3kcg3.js} +5 -5
- package/dist/chunks/{mime-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-x0k0k3nk.js → pty-vzqmaqpm.js} +20 -20
- package/dist/chunks/{mime-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-qrmaq0pw.js → pty-w6xjr483.js} +13 -13
- package/dist/chunks/{mime-4a39hndw.js → pty-w6yz6n38.js} +175 -175
- package/dist/chunks/{mime-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{mime-ae1n2vcd.js → pty-wvtedn3t.js} +4 -4
- package/dist/chunks/{mime-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-6260z82e.js → pty-x45rtsks.js} +19 -19
- package/dist/chunks/{mime-dmy463da.js → pty-x4z8t7mn.js} +15 -15
- package/dist/chunks/{mime-07xxyaze.js → pty-x6k9b9cw.js} +20 -20
- package/dist/chunks/{mime-py5b7878.js → pty-x6vvseye.js} +9 -9
- package/dist/chunks/{mime-8fvtg4q1.js → pty-xazd4z7p.js} +22 -22
- package/dist/chunks/{mime-2735jr6x.js → pty-xbps7699.js} +12 -12
- package/dist/chunks/{mime-xfkkasph.js → pty-xfkkasph.js} +1 -1
- package/dist/chunks/{mime-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-ww571ven.js → pty-xt0qjtha.js} +22 -22
- package/dist/chunks/{mime-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{mime-4v0ac6w2.js → pty-y8vthjxv.js} +12 -12
- package/dist/chunks/{mime-2y6wvzw1.js → pty-ycxstv38.js} +8 -8
- package/dist/chunks/{mime-denbd3k6.js → pty-yhwy8nw2.js} +33 -33
- package/dist/chunks/{mime-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-ykbetyw3.js → pty-yttzf3nj.js} +4 -4
- package/dist/chunks/{mime-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-byjwxeqw.js → pty-z1swwevk.js} +44 -44
- package/dist/chunks/{mime-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{mime-xdsb90ts.js → pty-z9ftkqee.js} +9 -9
- package/dist/chunks/{mime-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-547acfmc.js → pty-zn493atz.js} +10 -10
- package/dist/chunks/{mime-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-cmmdg65p.js → pty-zrq8kphx.js} +8 -8
- package/dist/chunks/{mime-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-rpka6xkw.js → pty-zz3dkezh.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- 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 +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +148 -148
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- 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 +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/mime-0rjbbhdn.js +0 -252
- package/dist/chunks/mime-f81tjggh.js +0 -18
- package/dist/chunks/mime-gv3av4nc.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{mime-6kdq0pjd.js → pty-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./pty-mv4t038k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service42,
|
|
7
|
+
node45
|
|
8
|
+
} from "./pty-ke9c0zby.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./pty-27xgxgv2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service43,
|
|
15
|
+
node46
|
|
16
|
+
} from "./pty-372k5868.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
26
|
layer: () => layer13,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service39 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer13 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service39, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service42;
|
|
42
|
+
const tools = yield* Service43;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service61;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
123
|
var node42 = makeLocationNode({
|
|
124
|
-
service:
|
|
124
|
+
service: Service39,
|
|
125
125
|
layer: layer13,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node46, node45, node87, node64]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service39, layer13, node42, exports_mcp3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./pty-dq0v80fr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./pty-twrb86q2.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node49,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node49 = makeLocationNode({
|
|
144
|
+
service: Service45,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error4, Service45, node49, noopLayer2, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-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: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
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 Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
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(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service44,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node48
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service44 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service44.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node48 = makeLocationNode({ service: Service44, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service44, node48, exports_image2 };
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node81
|
|
3
|
+
} from "./pty-6kspbkqh.js";
|
|
4
|
+
import {
|
|
5
|
+
node76
|
|
6
|
+
} from "./pty-t9ag37r3.js";
|
|
7
|
+
import {
|
|
8
|
+
node74
|
|
9
|
+
} from "./pty-7end9xac.js";
|
|
10
|
+
import {
|
|
11
|
+
node84,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./pty-twrb86q2.js";
|
|
14
|
+
import {
|
|
15
|
+
node73
|
|
16
|
+
} from "./pty-t70hw2aa.js";
|
|
17
|
+
import {
|
|
18
|
+
node71
|
|
19
|
+
} from "./pty-dwwvf93g.js";
|
|
20
|
+
import {
|
|
21
|
+
node72
|
|
22
|
+
} from "./pty-2dejz1mq.js";
|
|
23
|
+
import {
|
|
24
|
+
node50
|
|
25
|
+
} from "./pty-36agyrng.js";
|
|
26
|
+
import {
|
|
27
|
+
configured7,
|
|
28
|
+
node55
|
|
29
|
+
} from "./pty-z1swwevk.js";
|
|
30
|
+
import {
|
|
31
|
+
node77
|
|
32
|
+
} from "./pty-jmr301rc.js";
|
|
33
|
+
import {
|
|
34
|
+
node18
|
|
35
|
+
} from "./pty-t1kj1ks6.js";
|
|
36
|
+
import {
|
|
37
|
+
node26
|
|
38
|
+
} from "./pty-kehatjqj.js";
|
|
39
|
+
import {
|
|
40
|
+
node16
|
|
41
|
+
} from "./pty-3bbgm4hs.js";
|
|
42
|
+
import {
|
|
43
|
+
node15
|
|
44
|
+
} from "./pty-bbdm7xgf.js";
|
|
45
|
+
import {
|
|
46
|
+
node70
|
|
47
|
+
} from "./pty-54xnztgb.js";
|
|
48
|
+
import {
|
|
49
|
+
node27
|
|
50
|
+
} from "./pty-9by0nc1z.js";
|
|
51
|
+
import {
|
|
52
|
+
node48
|
|
53
|
+
} from "./pty-ph20cxtq.js";
|
|
54
|
+
import {
|
|
55
|
+
node45
|
|
56
|
+
} from "./pty-ke9c0zby.js";
|
|
57
|
+
import {
|
|
58
|
+
Service59,
|
|
59
|
+
node62
|
|
60
|
+
} from "./pty-9gea571p.js";
|
|
61
|
+
import {
|
|
62
|
+
node40
|
|
63
|
+
} from "./pty-nndwhze1.js";
|
|
64
|
+
import {
|
|
65
|
+
node67
|
|
66
|
+
} from "./pty-zrq8kphx.js";
|
|
67
|
+
import {
|
|
68
|
+
node64
|
|
69
|
+
} from "./pty-27xgxgv2.js";
|
|
70
|
+
import {
|
|
71
|
+
node63
|
|
72
|
+
} from "./pty-w6xjr483.js";
|
|
73
|
+
import {
|
|
74
|
+
configured11,
|
|
75
|
+
node82
|
|
76
|
+
} from "./pty-9zdcvzy0.js";
|
|
77
|
+
import {
|
|
78
|
+
node37
|
|
79
|
+
} from "./pty-4xgaqrq2.js";
|
|
80
|
+
import {
|
|
81
|
+
node46
|
|
82
|
+
} from "./pty-372k5868.js";
|
|
83
|
+
import {
|
|
84
|
+
node42
|
|
85
|
+
} from "./pty-nzfzj4ee.js";
|
|
86
|
+
import {
|
|
87
|
+
node51
|
|
88
|
+
} from "./pty-bc1mwsm1.js";
|
|
89
|
+
import {
|
|
90
|
+
node41
|
|
91
|
+
} from "./pty-45y21gs0.js";
|
|
92
|
+
import {
|
|
93
|
+
node59
|
|
94
|
+
} from "./pty-3yakcpj9.js";
|
|
95
|
+
import {
|
|
96
|
+
node38
|
|
97
|
+
} from "./pty-5rt6txf8.js";
|
|
98
|
+
import {
|
|
99
|
+
node36
|
|
100
|
+
} from "./pty-8wqe6q5q.js";
|
|
101
|
+
import {
|
|
102
|
+
node49
|
|
103
|
+
} from "./pty-p7656wpr.js";
|
|
104
|
+
import {
|
|
105
|
+
node80
|
|
106
|
+
} from "./pty-8yen0vmk.js";
|
|
107
|
+
import {
|
|
108
|
+
node58
|
|
109
|
+
} from "./pty-xbps7699.js";
|
|
110
|
+
import {
|
|
111
|
+
node53
|
|
112
|
+
} from "./pty-41tapkvj.js";
|
|
113
|
+
import {
|
|
114
|
+
node24
|
|
115
|
+
} from "./pty-v64esaz8.js";
|
|
116
|
+
import {
|
|
117
|
+
node20
|
|
118
|
+
} from "./pty-ezqh9axr.js";
|
|
119
|
+
import {
|
|
120
|
+
node21
|
|
121
|
+
} from "./pty-dv4smdre.js";
|
|
122
|
+
import {
|
|
123
|
+
node32
|
|
124
|
+
} from "./pty-r369ybd3.js";
|
|
125
|
+
import {
|
|
126
|
+
node19
|
|
127
|
+
} from "./pty-27ra7qpk.js";
|
|
128
|
+
import {
|
|
129
|
+
node2
|
|
130
|
+
} from "./pty-ebzz9p7s.js";
|
|
131
|
+
import {
|
|
132
|
+
Service20,
|
|
133
|
+
node23
|
|
134
|
+
} from "./pty-5b0bje4b.js";
|
|
135
|
+
import {
|
|
136
|
+
node25
|
|
137
|
+
} from "./pty-7w357n7h.js";
|
|
138
|
+
import {
|
|
139
|
+
node8,
|
|
140
|
+
bound2
|
|
141
|
+
} from "./pty-pa8pe2x7.js";
|
|
142
|
+
import {
|
|
143
|
+
node11
|
|
144
|
+
} from "./pty-7y7dz3xh.js";
|
|
145
|
+
import {
|
|
146
|
+
node9
|
|
147
|
+
} from "./pty-xt0qjtha.js";
|
|
148
|
+
import {
|
|
149
|
+
node10
|
|
150
|
+
} from "./pty-2gds47hr.js";
|
|
151
|
+
import {
|
|
152
|
+
node5
|
|
153
|
+
} from "./pty-6dxfrfn6.js";
|
|
154
|
+
import {
|
|
155
|
+
node29
|
|
156
|
+
} from "./pty-33yknepq.js";
|
|
157
|
+
import {
|
|
158
|
+
node4
|
|
159
|
+
} from "./pty-3rkt7740.js";
|
|
160
|
+
import {
|
|
161
|
+
node3
|
|
162
|
+
} from "./pty-37bbksa5.js";
|
|
163
|
+
import {
|
|
164
|
+
__export
|
|
165
|
+
} from "./pty-9rqn6x4v.js";
|
|
166
|
+
|
|
167
|
+
// src/instance.ts
|
|
168
|
+
var exports_instance = {};
|
|
169
|
+
__export(exports_instance, {
|
|
170
|
+
Instance: () => exports_instance,
|
|
171
|
+
Service: () => Service59,
|
|
172
|
+
graph: () => graph2,
|
|
173
|
+
layer: () => layer2,
|
|
174
|
+
node: () => node62
|
|
175
|
+
});
|
|
176
|
+
import { Context, Effect, Layer } from "effect";
|
|
177
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
178
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
179
|
+
var nodes = [
|
|
180
|
+
node84,
|
|
181
|
+
node23,
|
|
182
|
+
node77,
|
|
183
|
+
node55,
|
|
184
|
+
node81,
|
|
185
|
+
node50,
|
|
186
|
+
node51,
|
|
187
|
+
node24,
|
|
188
|
+
node21,
|
|
189
|
+
node74,
|
|
190
|
+
node73,
|
|
191
|
+
node72,
|
|
192
|
+
node70,
|
|
193
|
+
node71,
|
|
194
|
+
node19,
|
|
195
|
+
node67,
|
|
196
|
+
node8,
|
|
197
|
+
node5,
|
|
198
|
+
node32,
|
|
199
|
+
node16,
|
|
200
|
+
node15,
|
|
201
|
+
node80,
|
|
202
|
+
node29,
|
|
203
|
+
node53,
|
|
204
|
+
node59,
|
|
205
|
+
node37,
|
|
206
|
+
node82,
|
|
207
|
+
node25,
|
|
208
|
+
node18,
|
|
209
|
+
node26,
|
|
210
|
+
node45,
|
|
211
|
+
node64,
|
|
212
|
+
node46,
|
|
213
|
+
node58,
|
|
214
|
+
node48,
|
|
215
|
+
node38,
|
|
216
|
+
node41,
|
|
217
|
+
node40,
|
|
218
|
+
node76,
|
|
219
|
+
node27,
|
|
220
|
+
node10,
|
|
221
|
+
node42,
|
|
222
|
+
node9,
|
|
223
|
+
node63,
|
|
224
|
+
node11,
|
|
225
|
+
node4,
|
|
226
|
+
node36,
|
|
227
|
+
node49,
|
|
228
|
+
node3,
|
|
229
|
+
node20,
|
|
230
|
+
node2
|
|
231
|
+
];
|
|
232
|
+
var graph2 = LayerNode.group(nodes);
|
|
233
|
+
var vanillaReplacements = [
|
|
234
|
+
node55.replace(configured7({ project: false, global: false })),
|
|
235
|
+
node82.replace(configured11({ project: false, global: false }))
|
|
236
|
+
];
|
|
237
|
+
function layer2(ref, options = {}) {
|
|
238
|
+
const startedAt = performance.now();
|
|
239
|
+
const replacements = [
|
|
240
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
241
|
+
...options.replacements ?? [],
|
|
242
|
+
node84.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
243
|
+
node8.replace(bound2(options.plugins ?? []))
|
|
244
|
+
];
|
|
245
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service20).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
246
|
+
directory: ref.directory,
|
|
247
|
+
workspaceID: ref.workspaceID,
|
|
248
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
249
|
+
})));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./pty-t9ag37r3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./pty-27xgxgv2.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./pty-dv4smdre.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin29,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin29 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service61;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service18;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description4, Input9, Plugin29, exports_websearch };
|