@opencode/core 0.0.0-dev-19743 → 0.0.0-dev-19744
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{aisdk-ve4pfa0n.js → pty-00z3vp5f.js} +4 -4
- package/dist/chunks/{aisdk-x74gt3qg.js → pty-04h47jdz.js} +15 -15
- package/dist/chunks/{aisdk-06dxphr1.js → pty-06dxphr1.js} +1 -1
- package/dist/chunks/{aisdk-vbfentrr.js → pty-0d61r9h4.js} +12 -12
- package/dist/chunks/{aisdk-s8zy8myc.js → pty-0f9afca0.js} +5 -5
- package/dist/chunks/{aisdk-gy551h6f.js → pty-0gq5ttfh.js} +11 -11
- package/dist/chunks/{aisdk-2k8khapm.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{aisdk-16xr51w1.js → pty-0kk2g04a.js} +24 -24
- package/dist/chunks/{aisdk-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-t9d84gp7.js → pty-0rd9v16n.js} +4 -4
- package/dist/chunks/{aisdk-mfasrae1.js → pty-0rgpk1ds.js} +1 -1
- package/dist/chunks/{aisdk-91f5q3nk.js → pty-10f3mqse.js} +19 -19
- package/dist/chunks/{aisdk-11dqjexa.js → pty-11dqjexa.js} +2 -2
- package/dist/chunks/{aisdk-rgwpr805.js → pty-12b8t429.js} +14 -14
- package/dist/chunks/{aisdk-kh9sx4kg.js → pty-15nepkqg.js} +8 -8
- package/dist/chunks/{aisdk-rhraev7y.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{aisdk-4ag8df43.js → pty-1ajp4aa7.js} +3 -3
- package/dist/chunks/{aisdk-n37fzfbd.js → pty-1as7yqy8.js} +5 -5
- package/dist/chunks/{aisdk-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-bchsbmg9.js → pty-1f62kj91.js} +3 -3
- package/dist/chunks/{aisdk-p0a6103n.js → pty-1rgevqwt.js} +24 -24
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{aisdk-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{aisdk-6vq97qmv.js → pty-207ajt2h.js} +5 -5
- package/dist/chunks/{aisdk-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-1ee9xjts.js → pty-2acp3zpj.js} +24 -24
- package/dist/chunks/{aisdk-tjt6v5nx.js → pty-2c4g75ke.js} +16 -16
- package/dist/chunks/{aisdk-0he4gxhe.js → pty-2gw9te71.js} +22 -22
- package/dist/chunks/{aisdk-qh5jrqfz.js → pty-2k6s2zm4.js} +16 -16
- package/dist/chunks/{aisdk-0y50sgw1.js → pty-2kbj14yf.js} +37 -37
- package/dist/chunks/{aisdk-gjwgx2c5.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{aisdk-tsqdc71q.js → pty-39dab3jh.js} +18 -18
- package/dist/chunks/{aisdk-tfxws9nx.js → pty-3ad3156b.js} +5 -5
- package/dist/chunks/{aisdk-ab9238g2.js → pty-3b1q5j1v.js} +5 -5
- package/dist/chunks/{aisdk-j92qhbm3.js → pty-3ddaden9.js} +2 -2
- package/dist/chunks/{aisdk-na0fnjnh.js → pty-3fax0mp7.js} +6 -6
- package/dist/chunks/{aisdk-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-2gs12enf.js → pty-3pszy94w.js} +11 -11
- package/dist/chunks/{aisdk-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-44ke2mar.js → pty-44ke2mar.js} +2 -2
- package/dist/chunks/{aisdk-sbnsh8k5.js → pty-4b8tw1g7.js} +8 -8
- package/dist/chunks/{aisdk-p1cp9498.js → pty-4kgnd0zh.js} +41 -41
- package/dist/chunks/{aisdk-m9nx8vh3.js → pty-4v4zcyn8.js} +11 -11
- package/dist/chunks/{aisdk-g1sxm558.js → pty-4w5f3qm5.js} +8 -8
- package/dist/chunks/{aisdk-5tpnda8e.js → pty-5019jpyd.js} +14 -14
- package/dist/chunks/{aisdk-epdr6g6w.js → pty-50jcqkpg.js} +18 -18
- package/dist/chunks/{aisdk-xgcxmpe2.js → pty-51rpk3dg.js} +47 -47
- package/dist/chunks/{aisdk-9vjsf365.js → pty-51sk06m6.js} +6 -6
- package/dist/chunks/{aisdk-j1qnbarn.js → pty-54qvpy9t.js} +8 -8
- package/dist/chunks/{aisdk-kaqkvdz7.js → pty-56caj4g6.js} +17 -17
- package/dist/chunks/{aisdk-cntxze1n.js → pty-57ez7d0k.js} +9 -9
- package/dist/chunks/{aisdk-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{aisdk-dwnm4n7z.js → pty-5cjyhqcx.js} +88 -88
- package/dist/chunks/{aisdk-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-ybwbcp2b.js → pty-5dkyq3w9.js} +9 -9
- package/dist/chunks/{aisdk-yg36tpc9.js → pty-5dkz921g.js} +21 -21
- package/dist/chunks/{aisdk-17h4crvz.js → pty-5ge7b1s9.js} +17 -17
- package/dist/chunks/{aisdk-bfw5e3j5.js → pty-5hazr681.js} +2 -2
- package/dist/chunks/{aisdk-x7d2t585.js → pty-5rbd4j62.js} +5 -5
- package/dist/chunks/{aisdk-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-cd1v3yav.js → pty-5w8sdvf2.js} +4 -4
- package/dist/chunks/{aisdk-y16p1w2y.js → pty-63kpjth9.js} +5 -5
- package/dist/chunks/{aisdk-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-569x6e4f.js → pty-6bh8btd9.js} +30 -30
- package/dist/chunks/{aisdk-cmv7hf2c.js → pty-6e1261xp.js} +24 -24
- package/dist/chunks/{aisdk-9b3szmgb.js → pty-6ep9m4sq.js} +18 -18
- package/dist/chunks/{aisdk-2xn2vpwj.js → pty-6j9cmr93.js} +23 -23
- package/dist/chunks/{aisdk-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-hf0zbf8h.js → pty-6n9a7w7g.js} +10 -10
- package/dist/chunks/{aisdk-2401b0fc.js → pty-6sz4ttcn.js} +6 -6
- package/dist/chunks/{aisdk-fa7xg5a5.js → pty-6vw4348z.js} +13 -13
- package/dist/chunks/{aisdk-v1qmp7wq.js → pty-6y05ew1d.js} +20 -20
- package/dist/chunks/{aisdk-twghag3f.js → pty-74rrnwt7.js} +12 -12
- package/dist/chunks/{aisdk-z8crshbf.js → pty-75ckhbr3.js} +22 -22
- package/dist/chunks/{aisdk-7xe0qrds.js → pty-76mn2m8t.js} +13 -13
- package/dist/chunks/{aisdk-q084w11f.js → pty-77yaaytm.js} +84 -84
- package/dist/chunks/{aisdk-6tt5evqq.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{aisdk-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-98bqs6v1.js → pty-7t28gyx8.js} +21 -21
- package/dist/chunks/{aisdk-cy1rc5fj.js → pty-856c6xfq.js} +20 -20
- package/dist/chunks/{aisdk-6skqymyq.js → pty-861re95h.js} +27 -27
- package/dist/chunks/{aisdk-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{aisdk-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-ac1jafr8.js → pty-8fxgy4be.js} +28 -28
- package/dist/chunks/{aisdk-0xz4qxxd.js → pty-8hvspytd.js} +70 -70
- package/dist/chunks/{aisdk-39mz3sjb.js → pty-8pmgwz46.js} +30 -30
- package/dist/chunks/{aisdk-gb0hjbwp.js → pty-8rt8k92t.js} +9 -9
- package/dist/chunks/{aisdk-ec87kc5z.js → pty-8s8mxddj.js} +4 -4
- package/dist/chunks/{aisdk-mbw66wwe.js → pty-92aty353.js} +6 -6
- package/dist/chunks/{aisdk-qdyw34ax.js → pty-935t04zr.js} +6 -6
- package/dist/chunks/{aisdk-9hn6k4tm.js → pty-9hn6k4tm.js} +1 -1
- package/dist/chunks/{aisdk-mzdc1wr1.js → pty-9mjv2j5h.js} +9 -9
- package/dist/chunks/{aisdk-dh3m1xt2.js → pty-9p1nr3wb.js} +10 -10
- package/dist/chunks/{aisdk-7qc9w1c0.js → pty-9zct7zr5.js} +34 -34
- package/dist/chunks/{aisdk-ky3seynh.js → pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{aisdk-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-ym6cgwqt.js → pty-apyk6ttn.js} +1 -1
- package/dist/chunks/{aisdk-gp0dzfj9.js → pty-ar88qa8v.js} +7 -7
- package/dist/chunks/{aisdk-mft52ta0.js → pty-avh5jyvb.js} +28 -28
- package/dist/chunks/{aisdk-0z8h461j.js → pty-b3ns9504.js} +21 -21
- package/dist/chunks/{aisdk-1gk0kxhs.js → pty-b4h1fdev.js} +47 -47
- package/dist/chunks/{aisdk-88geax4g.js → pty-b594zzbj.js} +9 -9
- package/dist/chunks/{aisdk-1xwb3a65.js → pty-b5ymaj20.js} +9 -9
- package/dist/chunks/{aisdk-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-1y56khtd.js → pty-b6j8bg70.js} +1 -1
- package/dist/chunks/{aisdk-zbg2y0tv.js → pty-beda3f75.js} +14 -14
- package/dist/chunks/{aisdk-ezb9z1pv.js → pty-bnepd0n1.js} +28 -28
- package/dist/chunks/{aisdk-bz85s9hh.js → pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{aisdk-mdczzxs1.js → pty-c86rf6nk.js} +14 -14
- package/dist/chunks/{aisdk-akpx6pzc.js → pty-ctrx9nnj.js} +8 -8
- package/dist/chunks/{aisdk-rd3pnmmg.js → pty-dby3ea06.js} +46 -46
- package/dist/chunks/{aisdk-gcs9tca4.js → pty-dd95b6zp.js} +3 -3
- package/dist/chunks/{aisdk-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{aisdk-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-4jm4hxny.js → pty-dprzeqmr.js} +10 -10
- package/dist/chunks/{aisdk-8mj7tn8y.js → pty-dqa43dhg.js} +18 -18
- package/dist/chunks/{aisdk-tbjpesg0.js → pty-e5menjtj.js} +9 -9
- package/dist/chunks/{aisdk-bh3xzmfh.js → pty-ebxxyxge.js} +32 -32
- package/dist/chunks/{aisdk-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-f73rjn58.js → pty-embw8kgh.js} +4 -4
- package/dist/chunks/{aisdk-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-4wk90cvq.js → pty-exfq5gv3.js} +6 -6
- package/dist/chunks/{aisdk-wmxxk3sc.js → pty-f0v6spgv.js} +3 -3
- package/dist/chunks/{aisdk-33xsejrf.js → pty-f59eyknk.js} +4 -4
- package/dist/chunks/{aisdk-e6n9wc5j.js → pty-f6pbrr8w.js} +13 -13
- package/dist/chunks/{aisdk-q6tyma5m.js → pty-f9spf006.js} +33 -33
- package/dist/chunks/{aisdk-sm18gw9h.js → pty-fanw3jjr.js} +1 -1
- package/dist/chunks/{aisdk-90er3e6e.js → pty-ffc9mvrz.js} +28 -28
- package/dist/chunks/{aisdk-sdg3hsn6.js → pty-fkm9w8rt.js} +23 -23
- package/dist/chunks/{aisdk-y59dcsea.js → pty-fkr83qb9.js} +5 -5
- package/dist/chunks/{aisdk-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-gv63wtv4.js → pty-g7td5zdy.js} +9 -9
- package/dist/chunks/{aisdk-htjw9qza.js → pty-g8atgw3j.js} +6 -6
- package/dist/chunks/{aisdk-1g7epwpd.js → pty-g8d3gcyj.js} +4 -4
- package/dist/chunks/{aisdk-c3ts0g06.js → pty-gaf2f4t8.js} +15 -15
- package/dist/chunks/{aisdk-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-8ecsra3h.js → pty-gdfvffmy.js} +3 -3
- package/dist/chunks/{aisdk-m86w560s.js → pty-gfqx1e3t.js} +31 -31
- package/dist/chunks/{aisdk-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-vkt5fbj2.js → pty-gwydwvmj.js} +6 -6
- package/dist/chunks/{aisdk-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-pva9fj43.js → pty-h5prvwy2.js} +6 -6
- package/dist/chunks/{aisdk-006sasan.js → pty-h64tyvph.js} +3 -3
- package/dist/chunks/{aisdk-5mxfeeh1.js → pty-h66ycz74.js} +13 -13
- package/dist/chunks/{aisdk-4dgbcxzg.js → pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{aisdk-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{aisdk-1780my4h.js → pty-hfq267a7.js} +132 -132
- package/dist/chunks/{aisdk-6fey8c0p.js → pty-hht4hdr7.js} +40 -40
- package/dist/chunks/{aisdk-tegs1ycp.js → pty-hq8zt1th.js} +6 -6
- package/dist/chunks/{aisdk-np6my297.js → pty-hqwcc1t8.js} +12 -12
- package/dist/chunks/{aisdk-7kwn4p60.js → pty-j0d8kce8.js} +46 -46
- package/dist/chunks/{aisdk-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-d7x3031z.js → pty-j5g2921s.js} +10 -10
- package/dist/chunks/{aisdk-8wb5afcq.js → pty-j7d1bz3z.js} +2 -2
- package/dist/chunks/{aisdk-xxynqx5z.js → pty-jexxy024.js} +2 -2
- package/dist/chunks/{aisdk-zm1yjvg6.js → pty-jh55ed6j.js} +10 -10
- package/dist/chunks/{aisdk-b4p40z3j.js → pty-jnwk8z6k.js} +26 -26
- package/dist/chunks/{aisdk-ft62j1mr.js → pty-jp67d8xq.js} +10 -10
- package/dist/chunks/{aisdk-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
- package/dist/chunks/{aisdk-k3tjvz7j.js → pty-jqmy57s0.js} +39 -39
- package/dist/chunks/{aisdk-vz88fkwm.js → pty-jtr1btwa.js} +17 -17
- package/dist/chunks/{aisdk-f7qdh6j2.js → pty-k09h50av.js} +37 -37
- package/dist/chunks/{aisdk-72p6bnp4.js → pty-k0xbpe31.js} +26 -26
- package/dist/chunks/{aisdk-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-gxpaa7h4.js → pty-k5jz2ghv.js} +20 -20
- package/dist/chunks/{aisdk-4f0cc54b.js → pty-k5shenda.js} +17 -17
- package/dist/chunks/{aisdk-ep1wqbx0.js → pty-kbnfxfat.js} +22 -22
- package/dist/chunks/{aisdk-561btxre.js → pty-khny7pv9.js} +22 -22
- package/dist/chunks/{aisdk-0kg00bba.js → pty-km08fevc.js} +6 -6
- package/dist/chunks/{aisdk-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{aisdk-3q4efp1a.js → pty-m39c7hxd.js} +14 -14
- package/dist/chunks/{aisdk-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-vyqn3nqs.js → pty-marnn1hp.js} +7 -7
- package/dist/chunks/{aisdk-fv5cfh7k.js → pty-mgpyxjx6.js} +8 -8
- package/dist/chunks/{aisdk-1bbkgx8g.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{aisdk-p69x3qq6.js → pty-mjyryqn6.js} +9 -9
- package/dist/chunks/{aisdk-kgbp45q5.js → pty-mrhxfjgm.js} +9 -9
- package/dist/chunks/{aisdk-24dd53tp.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{aisdk-jw80jp6b.js → pty-nrdmrqsx.js} +4 -4
- package/dist/chunks/{aisdk-hdtnfasj.js → pty-ntcc5ehh.js} +20 -20
- package/dist/chunks/{aisdk-yvk2sn0g.js → pty-nvv66n76.js} +15 -15
- package/dist/chunks/{aisdk-qhdc024g.js → pty-nwyqkjv9.js} +1 -1
- package/dist/chunks/{aisdk-nkgkam60.js → pty-p2ezm693.js} +22 -22
- package/dist/chunks/{aisdk-62z5zcwv.js → pty-p2vgnhh6.js} +29 -29
- package/dist/chunks/{aisdk-1e8n84a9.js → pty-p3sqe4zf.js} +13 -13
- package/dist/chunks/{aisdk-pt74dzj7.js → pty-p3wwg9fw.js} +14 -14
- package/dist/chunks/{aisdk-g5vndnxm.js → pty-p5m64j98.js} +3 -3
- package/dist/chunks/{aisdk-zz4a1676.js → pty-p9dw02ep.js} +20 -20
- package/dist/chunks/{aisdk-assbnj7g.js → pty-pdg35gy8.js} +6 -6
- package/dist/chunks/{aisdk-vbfgae2j.js → pty-ph842b28.js} +4 -4
- package/dist/chunks/{aisdk-stdq9vyg.js → pty-phrgc7s2.js} +4 -4
- package/dist/chunks/pty-phz3h32g.js +18 -0
- package/dist/chunks/{aisdk-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-7fyhb82m.js → pty-pkgfky7d.js} +5 -5
- package/dist/chunks/{aisdk-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/pty-pp2ytsmc.js +252 -0
- package/dist/chunks/{aisdk-mg71nkrs.js → pty-pysn9s93.js} +10 -10
- package/dist/chunks/{aisdk-q5rhn9x0.js → pty-q5rhn9x0.js} +3 -3
- package/dist/chunks/{aisdk-mw3w0x0k.js → pty-qa81wdvn.js} +303 -303
- package/dist/chunks/{aisdk-xawtgtg3.js → pty-qc1pk71j.js} +29 -29
- package/dist/chunks/{aisdk-cvr7hmec.js → pty-qg5tx4hd.js} +19 -19
- package/dist/chunks/{aisdk-7pt56w61.js → pty-qnk3khrz.js} +15 -15
- package/dist/chunks/{aisdk-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-xwdm2w21.js → pty-qsr74hn5.js} +27 -27
- package/dist/chunks/{aisdk-8v79jha7.js → pty-qvrdgs7t.js} +22 -22
- package/dist/chunks/{aisdk-narpgyzg.js → pty-qyc8vy2s.js} +17 -17
- package/dist/chunks/{aisdk-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-4cd5pmbq.js → pty-rh9ghw4z.js} +13 -13
- package/dist/chunks/{aisdk-4p8rm3hf.js → pty-rqg791dd.js} +3 -3
- package/dist/chunks/{aisdk-n2q4qe72.js → pty-rrkxzg4z.js} +40 -40
- package/dist/chunks/{aisdk-t01wyw4m.js → pty-rtvxz8am.js} +4 -4
- package/dist/chunks/{aisdk-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{aisdk-y702y932.js → pty-shrcc9g3.js} +17 -17
- package/dist/chunks/{aisdk-zhxcwtke.js → pty-svvemcs6.js} +5 -5
- package/dist/chunks/{aisdk-gsk1e5b7.js → pty-t031qe01.js} +25 -25
- package/dist/chunks/{aisdk-evbgk2k8.js → pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{aisdk-nvbzy6sc.js → pty-t159kbzr.js} +16 -16
- package/dist/chunks/{aisdk-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-appk7fzw.js → pty-th6p44mh.js} +8 -8
- package/dist/chunks/{aisdk-28ngf8yp.js → pty-tja9b7zx.js} +36 -36
- package/dist/chunks/{aisdk-0pb9s1xb.js → pty-tn5bgys5.js} +3 -3
- package/dist/chunks/{aisdk-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-4spq00r0.js → pty-v2sqwdfa.js} +18 -18
- package/dist/chunks/{aisdk-fsegns3d.js → pty-v772zmrr.js} +54 -54
- package/dist/chunks/{aisdk-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-7534kgpw.js → pty-vj5dzvyh.js} +41 -41
- package/dist/chunks/{aisdk-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-71fkwm4x.js → pty-wcr3727a.js} +26 -26
- package/dist/chunks/{aisdk-sgvrcx4h.js → pty-wcy10hea.js} +8 -8
- package/dist/chunks/{aisdk-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-ywqr9nfr.js → pty-wfex9hf5.js} +6 -6
- package/dist/chunks/{aisdk-xwfvenya.js → pty-wndtrgrh.js} +10 -10
- package/dist/chunks/{aisdk-npytfamt.js → pty-wv40thab.js} +9 -9
- package/dist/chunks/{aisdk-wh0jc7gn.js → pty-ww94c77x.js} +13 -13
- package/dist/chunks/{aisdk-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-9b2v8ddb.js → pty-x1gfpc1p.js} +24 -24
- package/dist/chunks/{aisdk-reqtqwwe.js → pty-x7vb65wd.js} +19 -19
- package/dist/chunks/{aisdk-7atgh4d8.js → pty-xbckpkdq.js} +22 -22
- package/dist/chunks/{aisdk-2t9fkgxh.js → pty-xe6cmgbq.js} +11 -11
- package/dist/chunks/{aisdk-xfkkasph.js → pty-xfkkasph.js} +1 -1
- package/dist/chunks/{aisdk-vqff8b3j.js → pty-xfkknnqv.js} +2 -2
- package/dist/chunks/{aisdk-nv2dp8ps.js → pty-xp7gxvaq.js} +4 -4
- package/dist/chunks/{aisdk-ay48axk9.js → pty-xp8zvqfe.js} +32 -32
- package/dist/chunks/{aisdk-05h6ed1q.js → pty-xxpn3ren.js} +6 -6
- package/dist/chunks/{aisdk-2ehxpneg.js → pty-xzzedvdq.js} +12 -12
- package/dist/chunks/{aisdk-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-mwz6j41z.js → pty-ybhbtxjg.js} +6 -6
- package/dist/chunks/{aisdk-wbkyxrgf.js → pty-yjptyezs.js} +5 -5
- package/dist/chunks/{aisdk-f1mg6cbx.js → pty-yjq1h8wq.js} +8 -8
- package/dist/chunks/{aisdk-wv8we0v5.js → pty-ykyjdacj.js} +5 -5
- package/dist/chunks/{aisdk-cn4vms6y.js → pty-yn01zngv.js} +37 -37
- package/dist/chunks/{aisdk-1fnxvgxr.js → pty-ypnspery.js} +20 -20
- package/dist/chunks/{aisdk-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-hzzkw0mw.js → pty-z336gv68.js} +8 -8
- package/dist/chunks/{aisdk-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-j75tdgem.js → pty-z6mhr53t.js} +6 -6
- package/dist/chunks/{aisdk-4zznhz4t.js → pty-z8kyv3b2.js} +24 -24
- package/dist/chunks/{aisdk-cave902z.js → pty-za55qz67.js} +15 -15
- package/dist/chunks/{aisdk-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-932pzk7w.js → pty-zerzqssk.js} +1 -1
- package/dist/chunks/{aisdk-qnb0rh6n.js → pty-zh0ytwzz.js} +11 -11
- package/dist/chunks/{aisdk-k06phyrf.js → pty-zhp5m1zz.js} +4 -4
- package/dist/chunks/{aisdk-yrh7p4rc.js → pty-zncxtbv1.js} +14 -14
- package/dist/chunks/{aisdk-mp8evstp.js → pty-zpmv2nmt.js} +9 -9
- package/dist/chunks/{aisdk-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-vgspftqv.js → pty-zth7qvys.js} +8 -8
- package/dist/chunks/{aisdk-1jmksr7g.js → pty-zvp4p5jk.js} +32 -32
- package/dist/chunks/{aisdk-wxs3we96.js → pty-zwejzy2c.js} +16 -16
- package/dist/chunks/{aisdk-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-6h9dznn3.js → pty-zyyjv7w6.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- 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 +129 -129
- 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 +124 -124
- 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 +123 -123
- 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 +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +1 -1
- 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 +92 -92
- 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 +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +4 -4
- 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 +83 -83
- package/dist/job.js +78 -78
- 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 +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- 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 +79 -79
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +1 -1
- 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 +2 -2
- 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 +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- 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 +119 -119
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- 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 +88 -88
- 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 +133 -133
- 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 +2 -2
- 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 +1 -1
- 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 +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +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 +3 -3
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/aisdk-0mesazry.js +0 -4
- package/dist/chunks/aisdk-59ejvp71.js +0 -252
- package/dist/chunks/aisdk-n95b3jav.js +0 -18
- /package/dist/chunks/{aisdk-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./pty-x1gfpc1p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service42,
|
|
12
|
+
node45
|
|
13
|
+
} from "./pty-xbckpkdq.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./pty-t159kbzr.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-1rgevqwt.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-jh55ed6j.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service56,
|
|
36
|
+
Event10,
|
|
37
|
+
node59
|
|
38
|
+
} from "./pty-6y05ew1d.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service41,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node44,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service41 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service41, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service42;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service56;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service41.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured4(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service41,
|
|
268
|
+
layer: layer15(options),
|
|
269
|
+
deps: [node45, node86, FSUtil.node, Global.node, node83, node81, node59]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node44 = configured4();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options4, Service41, Test2, testLayer2, layer15, configured4, node44, exports_config };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-phrgc7s2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./pty-x1gfpc1p.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-2gw9te71.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-jnwk8z6k.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-92aty353.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -161,7 +161,7 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
166
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID11 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID11,
|
|
7
|
+
export { ID11, Info25, SessionSchema2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./pty-t159kbzr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service79;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node80,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./pty-2gw9te71.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./pty-t159kbzr.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-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: () => Event17,
|
|
40
40
|
ID: () => ID13,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info27,
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request3,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service75,
|
|
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: () => node79,
|
|
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 Event17 } 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 Info27 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service75 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(Service75, Effect.gen(function* () {
|
|
220
220
|
const bus = yield* Service82;
|
|
221
|
-
const integrations = yield*
|
|
222
|
-
const location = yield*
|
|
221
|
+
const integrations = yield* Service76;
|
|
222
|
+
const location = yield* Service79;
|
|
223
223
|
const state = create3({
|
|
224
224
|
name: "provider",
|
|
225
225
|
initial: () => new Map,
|
|
@@ -230,7 +230,7 @@ var layer = Layer.effect(Service70, 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: Info27.empty(id), models: new Map };
|
|
234
234
|
records.set(id, added);
|
|
235
235
|
maps.add(added.models);
|
|
236
236
|
return added;
|
|
@@ -337,8 +337,8 @@ var layer = Layer.effect(Service70, 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([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
341
|
+
return Service75.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(Service70, Effect.gen(function* () {
|
|
|
347
347
|
snapshot
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
350
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node86, node80, node83] });
|
|
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, Info27, Service75, node79, exports_provider3, Event17 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-phrgc7s2.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./pty-x1gfpc1p.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-2gw9te71.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./pty-jnwk8z6k.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-6sz4ttcn.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
30
|
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|