@opencode/core 0.0.0-dev-19742 → 0.0.0-dev-19743
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-services-5tjjgn68.js → aisdk-006sasan.js} +3 -3
- package/dist/chunks/{location-services-zfhdmptt.js → aisdk-05h6ed1q.js} +6 -6
- package/dist/chunks/{location-services-5c0f1prt.js → aisdk-06dxphr1.js} +4 -4
- package/dist/chunks/{location-services-f4v42jqx.js → aisdk-0he4gxhe.js} +27 -27
- package/dist/chunks/{location-services-7n86tvyp.js → aisdk-0kg00bba.js} +9 -9
- package/dist/chunks/aisdk-0mesazry.js +4 -0
- package/dist/chunks/{location-services-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-3kyvxja7.js → aisdk-0pb9s1xb.js} +5 -5
- package/dist/chunks/{location-services-0q0f95c6.js → aisdk-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-cwx4x0dd.js → aisdk-0xz4qxxd.js} +65 -65
- package/dist/chunks/{location-services-z2012gvx.js → aisdk-0y50sgw1.js} +37 -37
- package/dist/chunks/{location-services-ygk3awzv.js → aisdk-0z8h461j.js} +26 -26
- package/dist/chunks/{location-services-x2aynqqh.js → aisdk-11dqjexa.js} +9 -9
- package/dist/chunks/{location-services-ch35dqjr.js → aisdk-16xr51w1.js} +24 -24
- package/dist/chunks/{location-services-6vnzct9r.js → aisdk-1780my4h.js} +157 -157
- package/dist/chunks/{location-services-x4nj4b9x.js → aisdk-17h4crvz.js} +15 -15
- package/dist/chunks/{location-services-mvfsc1pv.js → aisdk-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-services-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-7hawy35n.js → aisdk-1e8n84a9.js} +13 -13
- package/dist/chunks/{location-services-pajqd7p6.js → aisdk-1ee9xjts.js} +24 -24
- package/dist/chunks/{location-services-g1ep8q13.js → aisdk-1fnxvgxr.js} +15 -15
- package/dist/chunks/{location-services-34rkz0x9.js → aisdk-1g7epwpd.js} +4 -4
- package/dist/chunks/{location-services-d2xc2jwh.js → aisdk-1gk0kxhs.js} +47 -47
- package/dist/chunks/{location-services-qr6drbwe.js → aisdk-1jmksr7g.js} +32 -32
- package/dist/chunks/{location-services-wm2hqhc4.js → aisdk-1xwb3a65.js} +9 -9
- package/dist/chunks/{location-services-6dvc98m6.js → aisdk-1y56khtd.js} +1 -1
- package/dist/chunks/{location-services-mfqp6xfm.js → aisdk-1ygqh575.js} +6 -6
- package/dist/chunks/{location-services-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-cvet6nsk.js → aisdk-2401b0fc.js} +6 -6
- package/dist/chunks/{location-services-2402vzrj.js → aisdk-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-rhafb4aa.js → aisdk-24dd53tp.js} +9 -9
- package/dist/chunks/{location-services-pf6cgfs2.js → aisdk-28ngf8yp.js} +36 -36
- package/dist/chunks/{location-services-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-7p3xftwe.js → aisdk-2ehxpneg.js} +12 -12
- package/dist/chunks/{location-services-qs2g0y6d.js → aisdk-2gs12enf.js} +11 -11
- package/dist/chunks/{location-services-qgn6gcr1.js → aisdk-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-7t8e8ps1.js → aisdk-2t9fkgxh.js} +11 -11
- package/dist/chunks/{location-services-pqwh9zsn.js → aisdk-2xn2vpwj.js} +18 -18
- package/dist/chunks/{location-services-09gbft45.js → aisdk-33xsejrf.js} +4 -4
- package/dist/chunks/{location-services-cys4dgee.js → aisdk-39mz3sjb.js} +32 -32
- package/dist/chunks/{location-services-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-1e1y4qmt.js → aisdk-3q4efp1a.js} +14 -14
- package/dist/chunks/{location-services-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-fkjmw100.js → aisdk-44ke2mar.js} +6 -6
- package/dist/chunks/{location-services-rbfpryyb.js → aisdk-4ag8df43.js} +6 -6
- package/dist/chunks/{location-services-v8v96swe.js → aisdk-4cd5pmbq.js} +13 -13
- package/dist/chunks/{location-services-h6r3nrb9.js → aisdk-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-services-gtenmb26.js → aisdk-4f0cc54b.js} +22 -22
- package/dist/chunks/{location-services-7gc9k1mh.js → aisdk-4jm4hxny.js} +12 -12
- package/dist/chunks/{location-services-07z7m3r0.js → aisdk-4p8rm3hf.js} +3 -3
- package/dist/chunks/{location-services-kazmqbag.js → aisdk-4spq00r0.js} +25 -25
- package/dist/chunks/{location-services-7jgg7q0m.js → aisdk-4wk90cvq.js} +8 -8
- package/dist/chunks/{location-services-37mxhb92.js → aisdk-4zznhz4t.js} +22 -22
- package/dist/chunks/{location-services-2rh66w0b.js → aisdk-561btxre.js} +20 -20
- package/dist/chunks/{location-services-j9v00nmq.js → aisdk-569x6e4f.js} +33 -33
- package/dist/chunks/aisdk-59ejvp71.js +252 -0
- package/dist/chunks/{location-services-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-sr3a5bp1.js → aisdk-5mxfeeh1.js} +13 -13
- package/dist/chunks/{location-services-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-acsb2ab5.js → aisdk-5tpnda8e.js} +16 -16
- package/dist/chunks/{location-services-e0x352hd.js → aisdk-62z5zcwv.js} +32 -32
- package/dist/chunks/{location-services-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{location-services-nx1mz71v.js → aisdk-6fey8c0p.js} +41 -41
- package/dist/chunks/{location-services-s338r0jz.js → aisdk-6h9dznn3.js} +7 -7
- package/dist/chunks/{location-services-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-yh9mwy9w.js → aisdk-6skqymyq.js} +27 -27
- package/dist/chunks/{location-services-hfdr1yjj.js → aisdk-6tt5evqq.js} +4 -4
- package/dist/chunks/{location-services-w8xr7nv8.js → aisdk-6vq97qmv.js} +5 -5
- package/dist/chunks/{location-services-c4vtem9y.js → aisdk-71fkwm4x.js} +18 -18
- package/dist/chunks/{location-services-k77hftfd.js → aisdk-72p6bnp4.js} +24 -24
- package/dist/chunks/{location-services-hs11hgz1.js → aisdk-7534kgpw.js} +43 -43
- package/dist/chunks/{location-services-3q180tsg.js → aisdk-7atgh4d8.js} +22 -22
- package/dist/chunks/{location-services-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-jwm07f16.js → aisdk-7fyhb82m.js} +5 -5
- package/dist/chunks/{location-services-20t16kv5.js → aisdk-7kwn4p60.js} +46 -46
- package/dist/chunks/{location-services-zf3513pr.js → aisdk-7pt56w61.js} +15 -15
- package/dist/chunks/{location-services-fhtz75pq.js → aisdk-7qc9w1c0.js} +34 -34
- package/dist/chunks/{location-services-6xcmfak7.js → aisdk-7xe0qrds.js} +15 -15
- package/dist/chunks/{location-services-959x3j7n.js → aisdk-88geax4g.js} +9 -9
- package/dist/chunks/{location-services-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-j5tpcpx5.js → aisdk-8ecsra3h.js} +5 -5
- package/dist/chunks/{location-services-xe99ny0v.js → aisdk-8mj7tn8y.js} +15 -15
- package/dist/chunks/{location-services-8p4f9s12.js → aisdk-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-eq4zd08d.js → aisdk-8v79jha7.js} +20 -20
- package/dist/chunks/{location-services-rvz4r40v.js → aisdk-8wb5afcq.js} +10 -10
- package/dist/chunks/{location-services-rfe8f7qr.js → aisdk-90er3e6e.js} +37 -37
- package/dist/chunks/{location-services-pt81pzmj.js → aisdk-91f5q3nk.js} +24 -24
- package/dist/chunks/{location-services-8078vm6x.js → aisdk-932pzk7w.js} +1 -1
- package/dist/chunks/{location-services-dahfv0b8.js → aisdk-98bqs6v1.js} +21 -21
- package/dist/chunks/{location-services-ydta7ff5.js → aisdk-9b2v8ddb.js} +28 -28
- package/dist/chunks/{location-services-g0e3ejhr.js → aisdk-9b3szmgb.js} +18 -18
- package/dist/chunks/{location-services-p37cw4rj.js → aisdk-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-services-bsgcsy6n.js → aisdk-9vjsf365.js} +9 -9
- package/dist/chunks/{location-services-a1bz86dw.js → aisdk-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-6anwy9fs.js → aisdk-ab9238g2.js} +6 -6
- package/dist/chunks/{location-services-yskaqpbc.js → aisdk-ac1jafr8.js} +25 -25
- package/dist/chunks/{location-services-sa2qr51e.js → aisdk-akpx6pzc.js} +8 -8
- package/dist/chunks/{location-services-a58nmf2f.js → aisdk-appk7fzw.js} +11 -11
- package/dist/chunks/{location-services-qjxfe6zh.js → aisdk-assbnj7g.js} +6 -6
- package/dist/chunks/{location-services-1rpsx04s.js → aisdk-ay48axk9.js} +32 -32
- package/dist/chunks/{location-services-8habrbe1.js → aisdk-b4p40z3j.js} +28 -28
- package/dist/chunks/{location-services-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-gbay818y.js → aisdk-bchsbmg9.js} +6 -6
- package/dist/chunks/{location-services-xa8mwyge.js → aisdk-bfw5e3j5.js} +2 -2
- package/dist/chunks/{location-services-7fm0yp7k.js → aisdk-bh3xzmfh.js} +32 -32
- package/dist/chunks/{location-services-zhq6vg7a.js → aisdk-bz85s9hh.js} +1 -1
- package/dist/chunks/{location-services-m4jqfbnh.js → aisdk-c3ts0g06.js} +20 -20
- package/dist/chunks/{location-services-ja6ed9xr.js → aisdk-cave902z.js} +21 -21
- package/dist/chunks/{location-services-6we4q7zk.js → aisdk-cd1v3yav.js} +4 -4
- package/dist/chunks/{location-services-cfpkc3c9.js → aisdk-cfpkc3c9.js} +2 -2
- package/dist/chunks/aisdk-cmv7hf2c.js +65 -0
- package/dist/chunks/{location-services-3tzfttan.js → aisdk-cn4vms6y.js} +37 -37
- package/dist/chunks/{location-services-aamtrqep.js → aisdk-cntxze1n.js} +7 -7
- package/dist/chunks/{location-services-6vk32evd.js → aisdk-cvr7hmec.js} +19 -19
- package/dist/chunks/{location-services-1jryqany.js → aisdk-cy1rc5fj.js} +20 -20
- package/dist/chunks/{location-services-w1xzzgns.js → aisdk-d7x3031z.js} +11 -11
- package/dist/chunks/{location-services-hrkwn6h0.js → aisdk-dh3m1xt2.js} +10 -10
- package/dist/chunks/{location-services-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-services-xq5zbssz.js → aisdk-dwnm4n7z.js} +88 -88
- package/dist/chunks/{location-services-2ykh22ph.js → aisdk-e6n9wc5j.js} +13 -13
- package/dist/chunks/{location-services-s0hza5ac.js → aisdk-ec87kc5z.js} +4 -4
- package/dist/chunks/{location-services-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-5ajfnc04.js → aisdk-ep1wqbx0.js} +22 -22
- package/dist/chunks/{location-services-6semq976.js → aisdk-epdr6g6w.js} +14 -14
- package/dist/chunks/{location-services-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-tz2bjj40.js → aisdk-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-services-kzh82faq.js → aisdk-ezb9z1pv.js} +30 -30
- package/dist/chunks/{location-services-gpf1akt4.js → aisdk-f1mg6cbx.js} +8 -8
- package/dist/chunks/{location-services-zee1rnkq.js → aisdk-f73rjn58.js} +4 -4
- package/dist/chunks/{location-services-dz3n6ket.js → aisdk-f7qdh6j2.js} +35 -35
- package/dist/chunks/{location-services-f828m53h.js → aisdk-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-drfpxjgx.js → aisdk-fa7xg5a5.js} +13 -13
- package/dist/chunks/{location-services-j85ebrbn.js → aisdk-fsegns3d.js} +55 -55
- package/dist/chunks/{location-services-ced3yeaf.js → aisdk-ft62j1mr.js} +11 -11
- package/dist/chunks/{location-services-j41a475f.js → aisdk-fv5cfh7k.js} +11 -11
- package/dist/chunks/{location-services-fxbjtjnd.js → aisdk-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-pnaxc6j9.js → aisdk-g1sxm558.js} +8 -8
- package/dist/chunks/{location-services-zs51yffv.js → aisdk-g5vndnxm.js} +3 -3
- package/dist/chunks/{location-services-hy61wner.js → aisdk-gb0hjbwp.js} +11 -11
- package/dist/chunks/{location-services-87x3xb46.js → aisdk-gcs9tca4.js} +5 -5
- package/dist/chunks/{location-services-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-r2m716tb.js → aisdk-gjwgx2c5.js} +9 -9
- package/dist/chunks/{location-services-8v3c42p4.js → aisdk-gp0dzfj9.js} +7 -7
- package/dist/chunks/{location-services-3f7778ma.js → aisdk-gsk1e5b7.js} +25 -25
- package/dist/chunks/{location-services-88pk7gn3.js → aisdk-gv63wtv4.js} +11 -11
- package/dist/chunks/{location-services-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-5ag325a7.js → aisdk-gxpaa7h4.js} +20 -20
- package/dist/chunks/{location-services-wcrvbbfg.js → aisdk-gy551h6f.js} +11 -11
- package/dist/chunks/{location-services-h03wrkyp.js → aisdk-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-16nqpafv.js → aisdk-hdtnfasj.js} +20 -20
- package/dist/chunks/{location-services-hafv7pha.js → aisdk-hf0zbf8h.js} +10 -10
- package/dist/chunks/{location-services-repb58am.js → aisdk-htjw9qza.js} +4 -4
- package/dist/chunks/{location-services-ftafywpx.js → aisdk-hzzkw0mw.js} +13 -13
- package/dist/chunks/{location-services-kzrz6mk7.js → aisdk-j1qnbarn.js} +11 -11
- package/dist/chunks/{location-services-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-tksejaeh.js → aisdk-j75tdgem.js} +3 -3
- package/dist/chunks/{location-services-36gktzve.js → aisdk-j92qhbm3.js} +2 -2
- package/dist/chunks/{location-services-k3gnzxs0.js → aisdk-jppvw2tx.js} +5 -5
- package/dist/chunks/{location-services-magykp64.js → aisdk-jw80jp6b.js} +4 -4
- package/dist/chunks/{location-services-1qdj8r61.js → aisdk-k06phyrf.js} +4 -4
- package/dist/chunks/{location-services-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{location-services-hxx1ax7w.js → aisdk-k3tjvz7j.js} +49 -49
- package/dist/chunks/{location-services-9jjhp2ka.js → aisdk-kaqkvdz7.js} +20 -20
- package/dist/chunks/{location-services-kr67dsen.js → aisdk-kgbp45q5.js} +9 -9
- package/dist/chunks/{location-services-69j91c1q.js → aisdk-kh9sx4kg.js} +8 -8
- package/dist/chunks/{location-services-nng2ktcm.js → aisdk-ky3seynh.js} +2 -2
- package/dist/chunks/{location-services-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-qvn2gqcg.js → aisdk-m86w560s.js} +33 -33
- package/dist/chunks/{location-services-amax4ght.js → aisdk-m9nx8vh3.js} +11 -11
- package/dist/chunks/{location-services-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-98p7gzxk.js → aisdk-mbw66wwe.js} +6 -6
- package/dist/chunks/{location-services-t5ey53gg.js → aisdk-mdczzxs1.js} +18 -18
- package/dist/chunks/{location-services-vs02wkx2.js → aisdk-mfasrae1.js} +1 -1
- package/dist/chunks/{location-services-2a535hsk.js → aisdk-mft52ta0.js} +30 -30
- package/dist/chunks/aisdk-mg71nkrs.js +26 -0
- package/dist/chunks/{location-services-34hvhtp7.js → aisdk-mp8evstp.js} +14 -14
- package/dist/chunks/aisdk-mw3w0x0k.js +478 -0
- package/dist/chunks/{location-services-k9avtbwf.js → aisdk-mwz6j41z.js} +6 -6
- package/dist/chunks/{location-services-s9gcex8s.js → aisdk-mzdc1wr1.js} +9 -9
- package/dist/chunks/{location-services-h0s6deas.js → aisdk-n2q4qe72.js} +39 -39
- package/dist/chunks/{location-services-9txp4hbw.js → aisdk-n37fzfbd.js} +8 -8
- package/dist/chunks/aisdk-n95b3jav.js +18 -0
- package/dist/chunks/{location-services-dmg16yjh.js → aisdk-na0fnjnh.js} +6 -6
- package/dist/chunks/{location-services-tpsrfwtg.js → aisdk-narpgyzg.js} +17 -17
- package/dist/chunks/{location-services-ax228mh5.js → aisdk-nkgkam60.js} +24 -24
- package/dist/chunks/{location-services-3axme2ba.js → aisdk-np6my297.js} +12 -12
- package/dist/chunks/{location-services-mvex88qa.js → aisdk-npytfamt.js} +11 -11
- package/dist/chunks/{location-services-aygy83kf.js → aisdk-nv2dp8ps.js} +4 -4
- package/dist/chunks/{location-services-7crnfscb.js → aisdk-nvbzy6sc.js} +17 -17
- package/dist/chunks/{location-services-ddc1b1w5.js → aisdk-p0a6103n.js} +24 -24
- package/dist/chunks/{location-services-cj45y46z.js → aisdk-p1cp9498.js} +38 -38
- package/dist/chunks/{location-services-9twmqstx.js → aisdk-p69x3qq6.js} +9 -9
- package/dist/chunks/{location-services-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-b1vd0026.js → aisdk-pt74dzj7.js} +20 -20
- package/dist/chunks/{location-services-sa45wwhj.js → aisdk-pva9fj43.js} +15 -15
- package/dist/chunks/{location-services-132n0e07.js → aisdk-q084w11f.js} +90 -90
- package/dist/chunks/{location-services-439dx3w9.js → aisdk-q5rhn9x0.js} +9 -9
- package/dist/chunks/{location-services-5znk54qx.js → aisdk-q6tyma5m.js} +33 -33
- package/dist/chunks/{location-services-0z1gmn2q.js → aisdk-qdyw34ax.js} +6 -6
- package/dist/chunks/{location-services-6wx8xhdj.js → aisdk-qh5jrqfz.js} +13 -13
- package/dist/chunks/{location-services-var4818b.js → aisdk-qhdc024g.js} +1 -1
- package/dist/chunks/{location-services-w7qw9xwr.js → aisdk-qnb0rh6n.js} +8 -8
- package/dist/chunks/{location-services-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-bphss62d.js → aisdk-rd3pnmmg.js} +43 -43
- package/dist/chunks/{location-services-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-3xjrp8vt.js → aisdk-reqtqwwe.js} +21 -21
- package/dist/chunks/{location-services-7knahq77.js → aisdk-rgwpr805.js} +12 -12
- package/dist/chunks/{location-services-r8xr0va3.js → aisdk-rhraev7y.js} +4 -4
- package/dist/chunks/{location-services-s8d7rejh.js → aisdk-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-services-hkfg6fzm.js → aisdk-s8zy8myc.js} +5 -5
- package/dist/chunks/{location-services-pb1eahw5.js → aisdk-sbnsh8k5.js} +8 -8
- package/dist/chunks/{location-services-c6m1n2c7.js → aisdk-sdg3hsn6.js} +36 -36
- package/dist/chunks/{location-services-5yy5v8xs.js → aisdk-sgvrcx4h.js} +8 -8
- package/dist/chunks/{location-services-szjrhb9a.js → aisdk-sm18gw9h.js} +1 -1
- package/dist/chunks/{location-services-w8m4edh1.js → aisdk-stdq9vyg.js} +4 -4
- package/dist/chunks/{location-services-j5m0tr6e.js → aisdk-t01wyw4m.js} +4 -4
- package/dist/chunks/{location-services-1yv162eq.js → aisdk-t9d84gp7.js} +4 -4
- package/dist/chunks/{location-services-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-1sg8k3x6.js → aisdk-tbjpesg0.js} +12 -12
- package/dist/chunks/{location-services-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-services-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-v6gb7zv2.js → aisdk-tegs1ycp.js} +6 -6
- package/dist/chunks/{location-services-33294r0b.js → aisdk-tfxws9nx.js} +8 -8
- package/dist/chunks/{location-services-6jqerq4j.js → aisdk-tjt6v5nx.js} +20 -20
- package/dist/chunks/{location-services-y022vn7y.js → aisdk-tsqdc71q.js} +18 -18
- package/dist/chunks/{location-services-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-6t298p2h.js → aisdk-twghag3f.js} +12 -12
- package/dist/chunks/{location-services-93c99t7r.js → aisdk-v1qmp7wq.js} +20 -20
- package/dist/chunks/{location-services-es36zed6.js → aisdk-vbfentrr.js} +14 -14
- package/dist/chunks/{location-services-80scg3y3.js → aisdk-vbfgae2j.js} +4 -4
- package/dist/chunks/{location-services-sx1n432n.js → aisdk-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-services-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-nzdggpth.js → aisdk-vgspftqv.js} +13 -13
- package/dist/chunks/{location-services-4xhhjths.js → aisdk-vkt5fbj2.js} +8 -8
- package/dist/chunks/{location-services-xfsrjhjb.js → aisdk-vqff8b3j.js} +2 -2
- package/dist/chunks/{location-services-m9wy7qrr.js → aisdk-vyqn3nqs.js} +6 -6
- package/dist/chunks/{location-services-y911dxk0.js → aisdk-vz88fkwm.js} +17 -17
- package/dist/chunks/{location-services-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-e6hmchc5.js → aisdk-wbkyxrgf.js} +5 -5
- package/dist/chunks/{location-services-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-vf88r308.js → aisdk-wh0jc7gn.js} +13 -13
- package/dist/chunks/{location-services-cg0397kv.js → aisdk-wmxxk3sc.js} +3 -3
- package/dist/chunks/{location-services-qd6rj703.js → aisdk-wv8we0v5.js} +5 -5
- package/dist/chunks/{location-services-5wse32sw.js → aisdk-wxs3we96.js} +18 -18
- package/dist/chunks/{location-services-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-ag0w7sb1.js → aisdk-x74gt3qg.js} +18 -18
- package/dist/chunks/{location-services-vh668qnd.js → aisdk-x7d2t585.js} +14 -14
- package/dist/chunks/{location-services-xxyg89kp.js → aisdk-xawtgtg3.js} +32 -32
- package/dist/chunks/{location-services-drwq78ky.js → aisdk-xfkkasph.js} +4 -4
- package/dist/chunks/{location-services-8srm5xw3.js → aisdk-xgcxmpe2.js} +46 -46
- package/dist/chunks/{location-services-z9szqmxk.js → aisdk-xwdm2w21.js} +27 -27
- package/dist/chunks/{location-services-g23y2d6e.js → aisdk-xwfvenya.js} +10 -10
- package/dist/chunks/{location-services-7w99qc9d.js → aisdk-xxynqx5z.js} +2 -2
- package/dist/chunks/{location-services-be2hac41.js → aisdk-y16p1w2y.js} +9 -9
- package/dist/chunks/{location-services-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-hha0j8te.js → aisdk-y59dcsea.js} +8 -8
- package/dist/chunks/{location-services-f63sy675.js → aisdk-y702y932.js} +22 -22
- package/dist/chunks/{location-services-9eyr8qgw.js → aisdk-ybwbcp2b.js} +9 -9
- package/dist/chunks/{location-services-69q04mfm.js → aisdk-yg36tpc9.js} +27 -27
- package/dist/chunks/{location-services-bdfxp8y4.js → aisdk-ym6cgwqt.js} +1 -1
- package/dist/chunks/{location-services-3f06dy19.js → aisdk-yrh7p4rc.js} +11 -11
- package/dist/chunks/{location-services-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-z3w6djs0.js → aisdk-yvk2sn0g.js} +15 -15
- package/dist/chunks/{location-services-m2ytg560.js → aisdk-ywqr9nfr.js} +6 -6
- package/dist/chunks/{location-services-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-w71gma7k.js → aisdk-z8crshbf.js} +22 -22
- package/dist/chunks/{location-services-w48yskvc.js → aisdk-zbg2y0tv.js} +12 -12
- package/dist/chunks/{location-services-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-824w6ej1.js → aisdk-zhxcwtke.js} +8 -8
- package/dist/chunks/{location-services-py1xq93p.js → aisdk-zm1yjvg6.js} +10 -10
- package/dist/chunks/{location-services-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-nd78smks.js → aisdk-zz4a1676.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- 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 +91 -91
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-services-57p3bxwn.js +0 -26
- package/dist/chunks/location-services-6qfj1prg.js +0 -478
- package/dist/chunks/location-services-exny8ayn.js +0 -65
- package/dist/chunks/location-services-gbadjzag.js +0 -4
- package/dist/chunks/location-services-ndg9br84.js +0 -252
- package/dist/chunks/location-services-pf31ssb9.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → aisdk-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./aisdk-1ee9xjts.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-5mxfeeh1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./aisdk-8mj7tn8y.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./aisdk-6fey8c0p.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./aisdk-9b3szmgb.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin45,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin45 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service26;
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service54;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service62;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent6, Plugin45, exports_write };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-stdq9vyg.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service71,
|
|
12
|
+
node75,
|
|
13
|
+
Event16
|
|
14
|
+
} from "./aisdk-0he4gxhe.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-4dgbcxzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./aisdk-nvbzy6sc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -36,13 +36,13 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
|
|
|
36
36
|
var exports_provider3 = {};
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event15,
|
|
40
40
|
ID: () => ID13,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info26,
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request3,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service70,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node74,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -61,7 +61,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
61
61
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
62
62
|
import { Credential } from "@opencode/schema/credential";
|
|
63
63
|
import { freeze } from "immer";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
65
65
|
var ID13 = Provider.ID;
|
|
66
66
|
var AISDK_PREFIX2 = "aisdk:";
|
|
67
67
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -201,9 +201,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
201
201
|
}
|
|
202
202
|
var Request3 = Provider.Request;
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
|
-
var
|
|
204
|
+
var Info26 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service70 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(providerID, models) {
|
|
@@ -216,10 +216,10 @@ function index(providerID, models) {
|
|
|
216
216
|
definitions.set(models, indexes);
|
|
217
217
|
return result;
|
|
218
218
|
}
|
|
219
|
-
var layer = Layer.effect(
|
|
219
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
220
220
|
const bus = yield* Service82;
|
|
221
|
-
const integrations = yield*
|
|
222
|
-
const location = yield*
|
|
221
|
+
const integrations = yield* Service71;
|
|
222
|
+
const location = yield* Service75;
|
|
223
223
|
const state = create3({
|
|
224
224
|
name: "provider",
|
|
225
225
|
initial: () => new Map,
|
|
@@ -230,7 +230,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
230
230
|
const current = records.get(id);
|
|
231
231
|
if (current)
|
|
232
232
|
return current;
|
|
233
|
-
const added = { provider:
|
|
233
|
+
const added = { provider: Info26.empty(id), models: new Map };
|
|
234
234
|
records.set(id, added);
|
|
235
235
|
maps.add(added.models);
|
|
236
236
|
return added;
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
311
311
|
const available = Array.from(records.values()).filter((record) => {
|
|
312
312
|
if (record.provider.activation === "disabled")
|
|
313
313
|
return false;
|
|
314
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
314
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
315
315
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
316
316
|
return false;
|
|
317
317
|
if (record.provider.activation === "enabled")
|
|
@@ -337,8 +337,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
337
337
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
|
-
yield* bus.subscribe([
|
|
341
|
-
return
|
|
340
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
341
|
+
return Service70.of({
|
|
342
342
|
transform: state.transform,
|
|
343
343
|
reload: state.reload,
|
|
344
344
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
347
347
|
snapshot
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
350
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node86, node75, node79] });
|
|
351
351
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
352
352
|
const module = yield* Effect.tryPromise({
|
|
353
353
|
try: () => {
|
|
@@ -607,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
607
607
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
608
608
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
609
609
|
|
|
610
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2,
|
|
610
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info26, Service70, node74, exports_provider3, Event15 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-b4p40z3j.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-gsk1e5b7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -497,4 +497,4 @@ var PROTOCOLS = {
|
|
|
497
497
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
export {
|
|
500
|
+
export { resolve2, exports_variant };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-gp0dzfj9.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./aisdk-nvbzy6sc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service24,
|
|
12
|
+
node27
|
|
13
|
+
} from "./aisdk-1jmksr7g.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event7,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError4,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service23,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node26
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event7 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service23 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service75;
|
|
95
|
+
const search = yield* Service24;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service23.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node26 = makeLocationNode({
|
|
144
|
+
service: Service23,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node79, node27]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-stdq9vyg.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref4,
|
|
11
|
+
Service75,
|
|
12
|
+
node79
|
|
13
|
+
} from "./aisdk-nvbzy6sc.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service74,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node78
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service74 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service75;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service74.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node86, node79] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service74, node78, exports_rpc, define2 };
|