@opencode/core 0.0.0-dev-20560 → 0.0.0-dev-20561
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 +75 -75
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{provider-g91m6ns0.js → filesystem-05s1xpx9.js} +5 -5
- package/dist/chunks/{provider-cg5tt1tt.js → filesystem-0b5d4wqg.js} +26 -26
- package/dist/chunks/{provider-29takrd9.js → filesystem-0darn3w3.js} +3 -3
- package/dist/chunks/{provider-z6x3qavv.js → filesystem-0g731nkn.js} +36 -36
- package/dist/chunks/{provider-9q9rjagx.js → filesystem-0p056far.js} +54 -54
- package/dist/chunks/{provider-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-q2y38gbr.js → filesystem-0vadek73.js} +6 -6
- package/dist/chunks/{provider-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-y117vq4z.js → filesystem-1178x954.js} +23 -23
- package/dist/chunks/{provider-1acjjqhc.js → filesystem-1acjjqhc.js} +1 -1
- package/dist/chunks/{provider-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-1dvck2a7.js → filesystem-1dvck2a7.js} +2 -2
- package/dist/chunks/{provider-1b47cdh9.js → filesystem-1k07r218.js} +9 -9
- package/dist/chunks/{provider-fyjp43ss.js → filesystem-1nwxscpy.js} +5 -5
- package/dist/chunks/{provider-skwdgpes.js → filesystem-1pb87kts.js} +10 -10
- package/dist/chunks/{provider-rdz0fprs.js → filesystem-20yrtfvs.js} +36 -36
- package/dist/chunks/{provider-hj6p1ak3.js → filesystem-21mjyg2m.js} +15 -15
- package/dist/chunks/{provider-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-rnbem8r2.js → filesystem-2d5yxwhn.js} +5 -5
- package/dist/chunks/{provider-6hb4axps.js → filesystem-2e1yz4t0.js} +18 -18
- package/dist/chunks/{provider-8a762xj8.js → filesystem-2k4z4ex5.js} +166 -166
- package/dist/chunks/{provider-dtqny3g5.js → filesystem-2kn5e7ew.js} +11 -11
- package/dist/chunks/{provider-cjzg55rp.js → filesystem-2pb4n73y.js} +11 -11
- package/dist/chunks/{provider-3xtchf3h.js → filesystem-2w3n3m8j.js} +5 -5
- package/dist/chunks/{provider-vreax0eq.js → filesystem-2wcm31wb.js} +46 -46
- package/dist/chunks/{provider-6vnksd4p.js → filesystem-2wdzasa3.js} +30 -30
- package/dist/chunks/{provider-e8c09gwn.js → filesystem-2za63s1q.js} +324 -324
- package/dist/chunks/{provider-9sy89r0f.js → filesystem-33y1fd5k.js} +4 -4
- package/dist/chunks/{provider-5jrbfcyk.js → filesystem-3cy6ygha.js} +7 -7
- package/dist/chunks/{provider-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-5mffh87d.js → filesystem-3wdkwvwj.js} +23 -23
- package/dist/chunks/{provider-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-raxp2c9r.js → filesystem-44e8p68v.js} +3 -3
- package/dist/chunks/{provider-9y0w708y.js → filesystem-4a0nv7mx.js} +8 -8
- package/dist/chunks/{provider-4ts7tf6z.js → filesystem-4ts7tf6z.js} +2 -2
- package/dist/chunks/{provider-435p4ksb.js → filesystem-50vxqkrt.js} +16 -16
- package/dist/chunks/{provider-cg82180e.js → filesystem-5167myhe.js} +11 -11
- package/dist/chunks/{provider-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-1ygqh575.js → filesystem-56gdpj1q.js} +9 -9
- package/dist/chunks/{provider-6gp95x7h.js → filesystem-5c67hs8w.js} +24 -24
- package/dist/chunks/{provider-6es9ekve.js → filesystem-5cpk2dg7.js} +33 -33
- package/dist/chunks/{provider-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-kwe77dsa.js → filesystem-5nv1sxm7.js} +8 -8
- package/dist/chunks/{provider-yspr33n3.js → filesystem-5s1dr8ae.js} +3 -3
- package/dist/chunks/{provider-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-69n11mhg.js → filesystem-5xtsng1h.js} +24 -24
- package/dist/chunks/{provider-hc48ba3f.js → filesystem-61ga223q.js} +22 -22
- package/dist/chunks/{provider-6jmnagmy.js → filesystem-64dva6qk.js} +18 -18
- package/dist/chunks/{provider-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{provider-9szwjyee.js → filesystem-68dcddmz.js} +4 -4
- package/dist/chunks/{provider-2bx1hchp.js → filesystem-6hxqkvwn.js} +3 -3
- package/dist/chunks/{provider-9epr5phe.js → filesystem-6mrppxqh.js} +19 -19
- package/dist/chunks/{provider-xr86wyz0.js → filesystem-6y4y1s1z.js} +22 -22
- package/dist/chunks/{provider-71az546q.js → filesystem-71az546q.js} +2 -2
- package/dist/chunks/{provider-xd27s6m4.js → filesystem-72gzdak0.js} +22 -22
- package/dist/chunks/{provider-sg97scqd.js → filesystem-745q83q9.js} +27 -27
- package/dist/chunks/{provider-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-2k8khapm.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{provider-d63p7tmf.js → filesystem-7g0a4xbf.js} +5 -5
- package/dist/chunks/{provider-0jq8n27z.js → filesystem-7gk56s9p.js} +16 -16
- package/dist/chunks/{provider-vnrsjt5v.js → filesystem-7mqtmdfv.js} +1 -1
- package/dist/chunks/{provider-fqb0yfph.js → filesystem-7tbpabav.js} +22 -22
- package/dist/chunks/{provider-we6nqpaf.js → filesystem-82p5sc74.js} +11 -11
- package/dist/chunks/{provider-33cp61c9.js → filesystem-8606fqv4.js} +13 -13
- package/dist/chunks/{provider-r2gk0ttq.js → filesystem-86mzb83b.js} +13 -13
- package/dist/chunks/{provider-vkrws2w1.js → filesystem-8bsq9cmc.js} +16 -16
- package/dist/chunks/{provider-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-680jt4jr.js → filesystem-8zz7qfd2.js} +16 -16
- package/dist/chunks/{provider-9e5bzkjp.js → filesystem-9e5bzkjp.js} +3 -3
- package/dist/chunks/{provider-5ngaw42y.js → filesystem-9k8khh75.js} +9 -9
- package/dist/chunks/{provider-trdyvw7q.js → filesystem-9mbktg3q.js} +8 -8
- package/dist/chunks/{provider-af1qyrwf.js → filesystem-a1548wxn.js} +4 -4
- package/dist/chunks/{provider-73tb2d7t.js → filesystem-a1gpj94z.js} +3 -3
- package/dist/chunks/{provider-3zwwsd0z.js → filesystem-a1gzp32g.js} +29 -29
- package/dist/chunks/{provider-y3gt2pxq.js → filesystem-a7cdrn8g.js} +5 -5
- package/dist/chunks/{provider-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-7syq4jmg.js → filesystem-aaxagp5t.js} +14 -14
- package/dist/chunks/{provider-x661k3y3.js → filesystem-addxnjmp.js} +4 -4
- package/dist/chunks/{provider-xrh33zgb.js → filesystem-aej1k0m3.js} +21 -21
- package/dist/chunks/{provider-2j8811pr.js → filesystem-afe1rz3j.js} +32 -32
- package/dist/chunks/{provider-0ym7r8mw.js → filesystem-ap0z94yk.js} +1 -1
- package/dist/chunks/{provider-m5jcjszt.js → filesystem-arz7hw7x.js} +3 -3
- package/dist/chunks/{provider-x2rw7g36.js → filesystem-axs6pdy0.js} +5 -5
- package/dist/chunks/{provider-cywzwz9x.js → filesystem-b1ejk53y.js} +17 -17
- package/dist/chunks/{provider-kadn9d92.js → filesystem-b49trrwf.js} +14 -14
- package/dist/chunks/{provider-8sze2n9a.js → filesystem-b4twkq7r.js} +2 -2
- package/dist/chunks/{provider-gj71zhbs.js → filesystem-b674v2dg.js} +5 -5
- package/dist/chunks/{provider-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-cq1crqf5.js → filesystem-bd0wg847.js} +29 -29
- package/dist/chunks/{provider-470p4mvx.js → filesystem-bh7b7fwa.js} +17 -17
- package/dist/chunks/{provider-70wfxkqk.js → filesystem-bhmagzz7.js} +5 -5
- package/dist/chunks/{provider-ydm09vy0.js → filesystem-bp3dz00c.js} +7 -7
- package/dist/chunks/filesystem-brhkvxaw.js +253 -0
- package/dist/chunks/{provider-k1bc9b3q.js → filesystem-c42w5rbs.js} +13 -13
- package/dist/chunks/{provider-ff0htmxq.js → filesystem-c8bydgjz.js} +6 -6
- package/dist/chunks/{provider-5yzzbxa7.js → filesystem-cmwkp3r5.js} +8 -8
- package/dist/chunks/{provider-e4ng0cwh.js → filesystem-csgf08gg.js} +15 -15
- package/dist/chunks/filesystem-ctefx7dc.js +18 -0
- package/dist/chunks/{provider-mcdat7hx.js → filesystem-cwvd40hs.js} +8 -8
- package/dist/chunks/{provider-v6ee4kkz.js → filesystem-d19qcdcp.js} +29 -29
- package/dist/chunks/{provider-aekpz6sr.js → filesystem-d3efwvz5.js} +48 -48
- package/dist/chunks/{provider-9kangp0z.js → filesystem-da721fkj.js} +8 -8
- package/dist/chunks/{provider-6j3fzm1y.js → filesystem-ddf5b0s2.js} +19 -19
- package/dist/chunks/{provider-j7ab7yhq.js → filesystem-demj5k7q.js} +10 -10
- package/dist/chunks/{provider-xcmk6yw7.js → filesystem-dhcb13vn.js} +11 -11
- package/dist/chunks/{provider-kne8f3cn.js → filesystem-dhmh7aw6.js} +4 -4
- package/dist/chunks/{provider-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
- package/dist/chunks/{provider-x8fg1acq.js → filesystem-dqz32msn.js} +10 -10
- package/dist/chunks/{provider-7cp65q13.js → filesystem-dt1mmnkg.js} +56 -56
- package/dist/chunks/{provider-z2zdbf9m.js → filesystem-dypdz9hf.js} +24 -24
- package/dist/chunks/{provider-79wzcjsa.js → filesystem-dyyz5283.js} +6 -6
- package/dist/chunks/{provider-z4hyjh59.js → filesystem-e53c762s.js} +4 -4
- package/dist/chunks/{provider-dky9q78m.js → filesystem-e656h771.js} +24 -24
- package/dist/chunks/{provider-erxm7rkb.js → filesystem-e66qqpgz.js} +23 -23
- package/dist/chunks/{provider-0hs982sg.js → filesystem-eb1dxvtt.js} +10 -10
- package/dist/chunks/{provider-f8t71jt9.js → filesystem-ee5sde4w.js} +19 -19
- package/dist/chunks/{provider-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-3v7w85me.js → filesystem-eh93c3s7.js} +9 -9
- package/dist/chunks/{provider-qj5ds43h.js → filesystem-en2hpwz4.js} +38 -38
- package/dist/chunks/{provider-49d8wj3j.js → filesystem-epephavf.js} +11 -11
- package/dist/chunks/{provider-h9pnpq88.js → filesystem-espax8zg.js} +4 -4
- package/dist/chunks/{provider-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-jp0zb534.js → filesystem-eycb1p8a.js} +19 -19
- package/dist/chunks/{provider-0631dk44.js → filesystem-ez14c0m1.js} +35 -35
- package/dist/chunks/{provider-50wdke11.js → filesystem-f99wh82f.js} +6 -6
- package/dist/chunks/{provider-9r803xq9.js → filesystem-fahsxrte.js} +11 -11
- package/dist/chunks/{provider-pe07j12a.js → filesystem-fcvkxbgs.js} +24 -24
- package/dist/chunks/{provider-g1axe9mw.js → filesystem-ff11qc79.js} +9 -9
- package/dist/chunks/{provider-9t52bdds.js → filesystem-fjt2jd2k.js} +47 -47
- package/dist/chunks/{provider-jcwdcbg9.js → filesystem-fme8rgsj.js} +4 -4
- package/dist/chunks/{provider-7cd1ytca.js → filesystem-fnnra18v.js} +10 -10
- package/dist/chunks/{provider-73szrdfc.js → filesystem-fsxfdkb2.js} +16 -16
- package/dist/chunks/{provider-bzvxwtgf.js → filesystem-ft0syenm.js} +41 -41
- package/dist/chunks/{provider-prq7hedt.js → filesystem-fwwk8vbp.js} +9 -9
- package/dist/chunks/{provider-gyx3rp2r.js → filesystem-fx0ft7bw.js} +16 -16
- package/dist/chunks/{provider-gmkravmr.js → filesystem-g3wadahe.js} +13 -13
- package/dist/chunks/{provider-tge9ftn1.js → filesystem-g4kgyb8v.js} +9 -9
- package/dist/chunks/{provider-xfkkasph.js → filesystem-g5w8qwbj.js} +4 -4
- package/dist/chunks/{provider-w39jehkq.js → filesystem-g6yfr6ja.js} +5 -5
- package/dist/chunks/{provider-tpykdk7e.js → filesystem-gbm58kyz.js} +23 -23
- package/dist/chunks/{provider-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-z6saq0r8.js → filesystem-gqk7pm7c.js} +31 -31
- package/dist/chunks/{provider-zgfgymxp.js → filesystem-gt8z7hnk.js} +9 -9
- package/dist/chunks/{provider-kjhbxppm.js → filesystem-gwfpf1r0.js} +31 -31
- package/dist/chunks/{provider-p9tbp9qs.js → filesystem-gx4wbphy.js} +8 -8
- package/dist/chunks/{provider-h2b79v29.js → filesystem-h2b79v29.js} +2 -2
- package/dist/chunks/{provider-m7wfyeg7.js → filesystem-h31epwvj.js} +14 -14
- package/dist/chunks/{provider-k423vsa4.js → filesystem-h4bey8yr.js} +22 -22
- package/dist/chunks/{provider-3x10bfpz.js → filesystem-h6gabqmb.js} +17 -17
- package/dist/chunks/{provider-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-a1r079t2.js → filesystem-hf0fjtc4.js} +13 -13
- package/dist/chunks/{provider-jjaddj82.js → filesystem-hj8vgj88.js} +17 -17
- package/dist/chunks/{provider-y7gnf2d1.js → filesystem-hkh5g506.js} +14 -14
- package/dist/chunks/{provider-wgn1zfzh.js → filesystem-ht5zbj26.js} +2 -2
- package/dist/chunks/{provider-63j7grd1.js → filesystem-hz0q9sdq.js} +4 -4
- package/dist/chunks/{provider-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-t08kermd.js → filesystem-j7qdy4kr.js} +13 -13
- package/dist/chunks/{provider-hkh1gyze.js → filesystem-jeegv1qz.js} +32 -32
- package/dist/chunks/{provider-h4ckqw4f.js → filesystem-jervv9x6.js} +8 -8
- package/dist/chunks/{provider-986x86b7.js → filesystem-jf9xte2j.js} +44 -44
- package/dist/chunks/{provider-4m14wrc9.js → filesystem-jkgq88nr.js} +13 -13
- package/dist/chunks/{provider-q4c9f7y5.js → filesystem-jmn6tp13.js} +10 -10
- package/dist/chunks/{provider-54bf5ftt.js → filesystem-jw6e3k9x.js} +27 -27
- package/dist/chunks/{provider-1d6v1ma9.js → filesystem-jyj71esj.js} +20 -20
- package/dist/chunks/{provider-rhwvwbyq.js → filesystem-k5981vyk.js} +11 -11
- package/dist/chunks/{provider-g31erja1.js → filesystem-k70p9jzb.js} +9 -9
- package/dist/chunks/{provider-9n2aebv8.js → filesystem-kevfspn8.js} +7 -7
- package/dist/chunks/{provider-jxh05zr6.js → filesystem-kf3zv6hf.js} +11 -11
- package/dist/chunks/{provider-r9t00hsy.js → filesystem-kjfdeayr.js} +8 -8
- package/dist/chunks/{provider-xqsqk9sp.js → filesystem-kteg0bd6.js} +14 -14
- package/dist/chunks/{provider-ykbx70vn.js → filesystem-kyc74hmy.js} +32 -32
- package/dist/chunks/{provider-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-me3a999s.js → filesystem-m4fxjmpc.js} +9 -9
- package/dist/chunks/{provider-74mwd0vm.js → filesystem-m4g8rqwq.js} +11 -11
- package/dist/chunks/{provider-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-yps7s2q8.js → filesystem-mm0ehgq1.js} +35 -35
- package/dist/chunks/{provider-01285jvk.js → filesystem-mmhfxctp.js} +37 -37
- package/dist/chunks/{provider-jx6439b8.js → filesystem-mt3dh78v.js} +17 -17
- package/dist/chunks/{provider-xb50yt4b.js → filesystem-mwwxnxty.js} +4 -4
- package/dist/chunks/{provider-3sj8yt8v.js → filesystem-n1n192bv.js} +4 -4
- package/dist/chunks/{provider-c4r1z0h4.js → filesystem-n8df4ymx.js} +5 -5
- package/dist/chunks/{provider-2hcv837r.js → filesystem-ncfw2m6a.js} +10 -10
- package/dist/chunks/{provider-90rktb5s.js → filesystem-ng5taz21.js} +9 -9
- package/dist/chunks/{provider-d5577vah.js → filesystem-nkbqs3g6.js} +8 -8
- package/dist/chunks/{provider-c6dhd04y.js → filesystem-nkdq3f4j.js} +22 -22
- package/dist/chunks/{provider-52p7fva6.js → filesystem-nqw83y6t.js} +45 -45
- package/dist/chunks/{provider-v0xmac3n.js → filesystem-nqxj0yn4.js} +2 -2
- package/dist/chunks/{provider-a8bn8zg0.js → filesystem-nrdmrqsx.js} +4 -4
- package/dist/chunks/{provider-n2thn3nx.js → filesystem-ns3eape4.js} +1 -1
- package/dist/chunks/{provider-nrgk47gy.js → filesystem-p2nmdyzb.js} +10 -10
- package/dist/chunks/{provider-pmv6ntjp.js → filesystem-p4pj0byg.js} +18 -18
- package/dist/chunks/{provider-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{provider-ap47h660.js → filesystem-ppnybpah.js} +15 -15
- package/dist/chunks/{provider-1vcbmft8.js → filesystem-ptnpxtm5.js} +25 -25
- package/dist/chunks/{provider-s9n824c4.js → filesystem-ptwr3tsj.js} +3 -3
- package/dist/chunks/{provider-7pna4pjx.js → filesystem-pw0ckph3.js} +12 -12
- package/dist/chunks/filesystem-q0w5zgnd.js +26 -0
- package/dist/chunks/{provider-q0xm7vwc.js → filesystem-q0xm7vwc.js} +2 -2
- package/dist/chunks/{provider-mkr0nv12.js → filesystem-q86s7tss.js} +20 -20
- package/dist/chunks/{provider-vbfgae2j.js → filesystem-qbqbaz6q.js} +4 -4
- package/dist/chunks/{provider-kfxyjhp2.js → filesystem-qgyv1dwh.js} +3 -3
- package/dist/chunks/{provider-crkpb7cs.js → filesystem-qhrb4a35.js} +20 -20
- package/dist/chunks/{provider-cwa6csj7.js → filesystem-qmqgtz8f.js} +9 -9
- package/dist/chunks/{provider-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-xyafkbt0.js → filesystem-qxjc9qry.js} +3 -3
- package/dist/chunks/{provider-qds735d4.js → filesystem-qyfgy2gq.js} +27 -27
- package/dist/chunks/{provider-4jvsrzf3.js → filesystem-r3z47bx0.js} +21 -21
- package/dist/chunks/{provider-n8hzfk5n.js → filesystem-r9jqn31q.js} +15 -15
- package/dist/chunks/{provider-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-db0cs2kz.js → filesystem-rt07f39r.js} +31 -31
- package/dist/chunks/{provider-6e7wsvmk.js → filesystem-rz34hq66.js} +25 -25
- package/dist/chunks/{provider-a8ded0f6.js → filesystem-s7pdhzrp.js} +13 -13
- package/dist/chunks/{provider-gstkmqpe.js → filesystem-s85m4ty3.js} +5 -5
- package/dist/chunks/{provider-s8d7rejh.js → filesystem-s8d7rejh.js} +1 -1
- package/dist/chunks/{provider-mt1f1117.js → filesystem-secpxc4k.js} +13 -13
- package/dist/chunks/{provider-ax2gd5n1.js → filesystem-sfa3hexk.js} +18 -18
- package/dist/chunks/{provider-khr9akvx.js → filesystem-sgma6wrx.js} +32 -32
- package/dist/chunks/{provider-veqfhemw.js → filesystem-snf1tfdw.js} +6 -6
- package/dist/chunks/{provider-6hh8tjw2.js → filesystem-sxz6gkc3.js} +5 -5
- package/dist/chunks/{provider-ve9zm8mm.js → filesystem-t35etwb9.js} +11 -11
- package/dist/chunks/{provider-t8h9k6kt.js → filesystem-taex66d2.js} +3 -3
- package/dist/chunks/{provider-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-89znhe33.js → filesystem-tcezcvh9.js} +4 -4
- package/dist/chunks/{provider-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{provider-dwhba9yv.js → filesystem-te6tp5cr.js} +30 -30
- package/dist/chunks/{provider-a2ky4jhc.js → filesystem-tfryn9s8.js} +74 -74
- package/dist/chunks/{provider-s783479j.js → filesystem-tv0940e9.js} +44 -44
- package/dist/chunks/{provider-t6ybzkhe.js → filesystem-tx57kkma.js} +29 -29
- package/dist/chunks/{provider-6g7e4dd5.js → filesystem-v0es1rhs.js} +7 -7
- package/dist/chunks/{provider-wymd7d8j.js → filesystem-v8r5by3x.js} +87 -87
- package/dist/chunks/{provider-tr8bqbe2.js → filesystem-vafjtnbs.js} +10 -10
- package/dist/chunks/{provider-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-rzs3gq0x.js → filesystem-vgx6weyf.js} +8 -8
- package/dist/chunks/{provider-p98bz656.js → filesystem-vnqerq2z.js} +15 -15
- package/dist/chunks/{provider-3ynjgzpx.js → filesystem-vr31stga.js} +3 -3
- package/dist/chunks/{provider-mcrs9awc.js → filesystem-vr6dg64g.js} +3 -3
- package/dist/chunks/{provider-sh9zb4hv.js → filesystem-vt69289g.js} +94 -94
- package/dist/chunks/{provider-grbwyzfx.js → filesystem-vvecbeba.js} +23 -23
- package/dist/chunks/{provider-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-84txncab.js → filesystem-w1eejvng.js} +5 -5
- package/dist/chunks/{provider-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-g762atc6.js → filesystem-w8djw5a7.js} +9 -9
- package/dist/chunks/{provider-w3ejnnxx.js → filesystem-wc87bz9b.js} +27 -27
- package/dist/chunks/{provider-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{provider-zwh81tv5.js → filesystem-wjk84ptv.js} +25 -25
- package/dist/chunks/{provider-wac6chsn.js → filesystem-wnm70ssr.js} +21 -21
- package/dist/chunks/{provider-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-3vtrhh30.js → filesystem-xd0jjt73.js} +11 -11
- package/dist/chunks/{provider-r5rttqkx.js → filesystem-xew8gt5p.js} +26 -26
- package/dist/chunks/{provider-dmqcgk4z.js → filesystem-xkntkrq7.js} +5 -5
- package/dist/chunks/{provider-w90th1wq.js → filesystem-xmcfxvam.js} +8 -8
- package/dist/chunks/{provider-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-aydwb50t.js → filesystem-ybjb50wp.js} +11 -11
- package/dist/chunks/{provider-17n19r01.js → filesystem-ykk2czw6.js} +30 -30
- package/dist/chunks/{provider-1qwpq4r3.js → filesystem-yvxbrs33.js} +9 -9
- package/dist/chunks/{provider-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-ezr7p14b.js → filesystem-z25t9qfb.js} +28 -28
- package/dist/chunks/{provider-t55zzdc3.js → filesystem-z2fhbmnd.js} +22 -22
- package/dist/chunks/{provider-3ch8yd3e.js → filesystem-z5earm0j.js} +15 -15
- package/dist/chunks/{provider-mcb0hy3p.js → filesystem-z6qgms2n.js} +27 -27
- package/dist/chunks/{provider-hnp531gc.js → filesystem-z7bsjx09.js} +11 -11
- package/dist/chunks/{provider-jy6n4x97.js → filesystem-zc5g640q.js} +12 -12
- package/dist/chunks/{provider-8xrn7n4t.js → filesystem-zek9rv4e.js} +4 -4
- package/dist/chunks/{provider-zmzek11k.js → filesystem-zf29esk9.js} +13 -13
- package/dist/chunks/{provider-8hbyspe1.js → filesystem-zfs19yjd.js} +18 -18
- package/dist/chunks/{provider-zfs8ae4p.js → filesystem-zfs8ae4p.js} +4 -4
- package/dist/chunks/{provider-w8rdajxk.js → filesystem-zqaa94x3.js} +48 -48
- package/dist/chunks/{provider-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-wzj2gnv1.js → filesystem-zr4r5d69.js} +47 -47
- package/dist/chunks/{provider-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-qygbw77c.js → filesystem-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/provider-4v7qdvcn.js +0 -18
- package/dist/chunks/provider-9ztar93x.js +0 -26
- package/dist/chunks/provider-yhapg49b.js +0 -253
- /package/dist/chunks/{provider-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5s1dr8ae.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./filesystem-hkh5g506.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-snf1tfdw.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9e5bzkjp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-zfs8ae4p.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-n1n192bv.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-gx4wbphy.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service66,
|
|
33
|
+
node69
|
|
34
|
+
} from "./filesystem-b49trrwf.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service24,
|
|
37
|
+
node27
|
|
38
|
+
} from "./filesystem-20yrtfvs.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./filesystem-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service36,
|
|
44
|
+
node40
|
|
45
|
+
} from "./filesystem-g4kgyb8v.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./filesystem-rt07f39r.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make5
|
|
51
|
+
} from "./filesystem-zyk1yjk8.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./filesystem-a7cdrn8g.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service8,
|
|
57
|
+
node10,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./filesystem-ft0syenm.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service32,
|
|
62
|
+
node35
|
|
63
|
+
} from "./filesystem-v8r5by3x.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./filesystem-e656h771.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service2,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node3
|
|
73
|
+
} from "./filesystem-d19qcdcp.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service46
|
|
77
|
+
} from "./filesystem-dhmh7aw6.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node52
|
|
80
|
+
} from "./filesystem-te6tp5cr.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node82
|
|
83
|
+
} from "./filesystem-dhcb13vn.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
make3
|
|
87
|
+
} from "./filesystem-nkdq3f4j.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service41
|
|
90
|
+
} from "./filesystem-ctefx7dc.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node19
|
|
93
|
+
} from "./filesystem-72gzdak0.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./filesystem-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const bus = yield*
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
112
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
113
|
+
const bus = yield* Service83;
|
|
114
|
+
const lifecycle = yield* Service24;
|
|
115
|
+
const store = yield* Service66;
|
|
116
|
+
const context = yield* Service32;
|
|
117
|
+
const modelTransport = yield* Service36;
|
|
118
118
|
const db = (yield* Service84).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
122
|
-
const steps = yield*
|
|
119
|
+
const compaction = yield* Service8;
|
|
120
|
+
const plugins = yield* Service41;
|
|
121
|
+
const title = yield* Service2;
|
|
122
|
+
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
125
125
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make5(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service46.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node2 = makeLocationNode({
|
|
362
|
+
service: Service46,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
|
-
|
|
366
|
-
node23,
|
|
367
|
-
llmClient2,
|
|
365
|
+
node87,
|
|
368
366
|
node27,
|
|
367
|
+
llmClient2,
|
|
369
368
|
node35,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
369
|
+
node40,
|
|
370
|
+
node69,
|
|
371
|
+
node10,
|
|
372
|
+
node19,
|
|
373
|
+
node3,
|
|
374
|
+
node52,
|
|
375
|
+
node82,
|
|
376
376
|
node88
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node2, exports_llm };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75,
|
|
4
|
+
node79
|
|
5
|
+
} from "./filesystem-jw6e3k9x.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,23 +14,23 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service74,
|
|
18
|
+
node78
|
|
19
|
+
} from "./filesystem-tx57kkma.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service53,
|
|
22
|
+
node56
|
|
23
|
+
} from "./filesystem-fahsxrte.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID6,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service60,
|
|
29
|
+
node63
|
|
30
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError2,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service52,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer21,
|
|
50
|
+
node: () => node55,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID13,
|
|
61
|
+
modelID: ID6,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID13,
|
|
71
|
+
modelID: ID6,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID13,
|
|
82
|
+
modelID: ID6,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID13,
|
|
93
|
+
modelID: ID6,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID13,
|
|
105
|
+
modelID: ID6,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID13,
|
|
115
|
+
modelID: ID6,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service52 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
|
|
|
264
264
|
};
|
|
265
265
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
266
266
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
267
|
-
var
|
|
268
|
-
const providers = yield*
|
|
269
|
-
const models = yield*
|
|
270
|
-
const integrations = yield*
|
|
267
|
+
var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
268
|
+
const providers = yield* Service74;
|
|
269
|
+
const models = yield* Service60;
|
|
270
|
+
const integrations = yield* Service75;
|
|
271
271
|
const npm = yield* Npm.Service;
|
|
272
|
-
const aisdk = yield*
|
|
272
|
+
const aisdk = yield* Service53;
|
|
273
273
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
274
274
|
const provider = yield* providers.get(selected.providerID);
|
|
275
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
275
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
276
276
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
277
277
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
278
278
|
const runtimeInfo = {
|
|
@@ -299,7 +299,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
299
299
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
300
300
|
};
|
|
301
301
|
});
|
|
302
|
-
return
|
|
302
|
+
return Service52.of({
|
|
303
303
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
304
304
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
305
305
|
if (!selected)
|
|
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
316
316
|
const name = packageName2(packageName);
|
|
317
317
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
318
318
|
}
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
321
|
-
layer:
|
|
322
|
-
deps: [
|
|
319
|
+
var node55 = makeLocationNode({
|
|
320
|
+
service: Service52,
|
|
321
|
+
layer: layer21,
|
|
322
|
+
deps: [node78, node63, node79, Npm.node, node56]
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
325
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node55, exports_model_resolver };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-hkh5g506.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID14,
|
|
14
|
+
Service75,
|
|
15
|
+
node79,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-jw6e3k9x.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./filesystem-50vxqkrt.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,12 +39,12 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
41
|
Event: () => Event17,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
42
|
+
ID: () => ID13,
|
|
43
|
+
Info: () => Info22,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service74,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node78,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -69,7 +69,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
71
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
72
|
-
var
|
|
72
|
+
var ID13 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
|
|
|
231
231
|
var Compaction3 = Provider.Compaction;
|
|
232
232
|
var Transport2 = Provider.Transport;
|
|
233
233
|
var Settings2 = Provider.Settings;
|
|
234
|
-
var
|
|
234
|
+
var Info22 = Provider.Info;
|
|
235
235
|
|
|
236
|
-
class
|
|
236
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
237
237
|
}
|
|
238
238
|
var definitions = new WeakMap;
|
|
239
239
|
function index(providerID, models) {
|
|
@@ -246,10 +246,10 @@ function index(providerID, models) {
|
|
|
246
246
|
definitions.set(models, indexes);
|
|
247
247
|
return result;
|
|
248
248
|
}
|
|
249
|
-
var layer = Layer.effect(
|
|
250
|
-
const bus = yield*
|
|
251
|
-
const integrations = yield*
|
|
252
|
-
const location = yield*
|
|
249
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
250
|
+
const bus = yield* Service83;
|
|
251
|
+
const integrations = yield* Service75;
|
|
252
|
+
const location = yield* Service80;
|
|
253
253
|
const state = create3({
|
|
254
254
|
name: "provider",
|
|
255
255
|
initial: () => new Map,
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
260
260
|
const current = records.get(id);
|
|
261
261
|
if (current)
|
|
262
262
|
return current;
|
|
263
|
-
const added = { provider:
|
|
263
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
264
264
|
records.set(id, added);
|
|
265
265
|
maps.add(added.models);
|
|
266
266
|
return added;
|
|
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
341
341
|
const available = Array.from(records.values()).filter((record) => {
|
|
342
342
|
if (record.provider.activation === "disabled")
|
|
343
343
|
return false;
|
|
344
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
344
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
345
345
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
346
346
|
return false;
|
|
347
347
|
if (record.provider.activation === "enabled")
|
|
@@ -368,7 +368,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
368
368
|
});
|
|
369
369
|
});
|
|
370
370
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
371
|
-
return
|
|
371
|
+
return Service74.of({
|
|
372
372
|
transform: state.transform,
|
|
373
373
|
reload: state.reload,
|
|
374
374
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
377
377
|
snapshot
|
|
378
378
|
});
|
|
379
379
|
}));
|
|
380
|
-
var
|
|
380
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, node79, node84] });
|
|
381
381
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
382
382
|
const module = yield* Effect.tryPromise({
|
|
383
383
|
try: () => {
|
|
@@ -650,4 +650,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
650
650
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
651
651
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
652
652
|
|
|
653
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
653
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service74, node78, exports_provider3, Event17 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-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
12
|
Event: () => Event21,
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info29,
|
|
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 Info29 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
25
|
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
|
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info29, UpdateInput4, Event21, Vcs3, exports_schema };
|