@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-4p8rm3hf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-stdq9vyg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service72,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node76
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service72 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service72.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event17, Info29, Service72, node76, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-p1cp9498.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node79
|
|
10
|
+
} from "./aisdk-nvbzy6sc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service62,
|
|
13
|
+
node66
|
|
14
|
+
} from "./aisdk-6fey8c0p.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node29,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service26 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service75;
|
|
61
|
+
const permission = yield* Service62;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service26.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [FSUtil.node, node79, node66] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service26, resolvePath2, node29, exports_file_access };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-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: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
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 Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
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(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-fv5cfh7k.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./aisdk-9b2v8ddb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-0he4gxhe.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-b4p40z3j.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID14.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service72;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -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/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info14,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info14, exports_lsp };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./aisdk-6fey8c0p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service43
|
|
10
|
+
} from "./aisdk-561btxre.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin40,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin40 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service43;
|
|
51
|
+
const permission = yield* Service62;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin37 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output5, description3, toModelOutput2, Plugin40, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./aisdk-98bqs6v1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./aisdk-tegs1ycp.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-n95b3jav.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service60;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service81), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./aisdk-7atgh4d8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./aisdk-7kwn4p60.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-assbnj7g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin32 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service50;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service51;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin10 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin32, exports_compatibility };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-561btxre.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID6.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|