@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./pty-x1gfpc1p.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-2gw9te71.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-jnwk8z6k.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -68,7 +68,7 @@ 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*
|
|
71
|
+
const credentials = yield* Service77;
|
|
72
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;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service36
|
|
7
|
+
} from "./pty-p2vgnhh6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-ybhbtxjg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service36;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./pty-hht4hdr7.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin26,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin26 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service68;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin43 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin26, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info34,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info34 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-jexxy024.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
11
|
node87
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-rqg791dd.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service82,
|
|
16
16
|
node86
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-phrgc7s2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./pty-4kgnd0zh.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service50,
|
|
24
|
+
node53
|
|
25
|
+
} from "./pty-hq8zt1th.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node51
|
|
34
|
+
} from "./pty-qvrdgs7t.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-7ac170kv.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./pty-f6pbrr8w.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node26
|
|
47
|
+
} from "./pty-zwejzy2c.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node47
|
|
51
|
+
} from "./pty-mgpyxjx6.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./pty-ybhbtxjg.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service69,
|
|
68
|
+
node73
|
|
69
|
+
} from "./pty-12b8t429.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service51,
|
|
72
|
+
node54
|
|
73
|
+
} from "./pty-5ge7b1s9.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service46,
|
|
76
|
+
node50
|
|
77
|
+
} from "./pty-2kbj14yf.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./pty-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service32,
|
|
83
|
+
node35
|
|
84
|
+
} from "./pty-xe6cmgbq.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./pty-hqwcc1t8.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./pty-ctrx9nnj.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service52,
|
|
93
|
+
node55
|
|
94
|
+
} from "./pty-wv40thab.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service22,
|
|
100
|
+
node25
|
|
101
|
+
} from "./pty-v772zmrr.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service39,
|
|
104
|
+
node42
|
|
105
|
+
} from "./pty-15nepkqg.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./pty-6bh8btd9.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./pty-54qvpy9t.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./pty-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service21,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node24
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
|
+
class Service21 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service83;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service82;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service80;
|
|
160
|
+
const execution = yield* Service46;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service32;
|
|
163
|
+
const store = yield* Service69;
|
|
164
|
+
const instances = yield* Service50;
|
|
165
|
+
const moves = yield* Service22;
|
|
166
|
+
const jobs = yield* Service51;
|
|
167
|
+
const environments = yield* Service39;
|
|
168
|
+
const locations = yield* Service52;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service21.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node24 = Node.makeGlobalNode({
|
|
330
|
+
service: Service21,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node54,
|
|
334
|
+
node42,
|
|
335
335
|
node87,
|
|
336
336
|
node86,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
337
|
+
node84,
|
|
338
|
+
node50,
|
|
339
|
+
node35,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node73,
|
|
342
|
+
node53,
|
|
343
|
+
node51,
|
|
344
|
+
node25,
|
|
345
|
+
node26,
|
|
346
|
+
node55,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node47
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service21, node24, exports_session };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-jnwk8z6k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service54,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node57
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service54 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service54.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node57 = makeLocationNode({ service: Service54, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service54, locationLayer2, node57, exports_aisdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service33,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node36
|
|
8
|
+
} from "./pty-jqmy57s0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node72
|
|
12
|
+
} from "./pty-hht4hdr7.js";
|
|
13
13
|
import {
|
|
14
14
|
Service44,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node48
|
|
16
|
+
} from "./pty-v2sqwdfa.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
|
+
layer: () => layer11,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service33;
|
|
42
42
|
const tools = yield* Service44;
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service68;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node33 = makeLocationNode({
|
|
124
|
+
service: Service30,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node48, node36, node86, node72]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service30, layer11, node33, exports_mcp3 };
|