@opencode/core 0.0.0-dev-19996 → 0.0.0-dev-20000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{instruction-discovery-s59wxs1e.js → model-resolver-05szsj41.js} +14 -14
- package/dist/chunks/{instruction-discovery-1fp4wcab.js → model-resolver-0m8zc7zn.js} +12 -12
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{instruction-discovery-madhy2we.js → model-resolver-0tc3z27w.js} +20 -20
- package/dist/chunks/{instruction-discovery-xekc3gqk.js → model-resolver-0x74s4t4.js} +24 -24
- package/dist/chunks/{instruction-discovery-bkskqsty.js → model-resolver-174jbkxj.js} +11 -11
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-2gkn9qbw.js → model-resolver-1jqe3dpm.js} +7 -7
- package/dist/chunks/{instruction-discovery-e6hd9jay.js → model-resolver-1s3p39g4.js} +6 -6
- package/dist/chunks/{instruction-discovery-ca8qvqpq.js → model-resolver-1vpcg86p.js} +11 -11
- package/dist/chunks/{instruction-discovery-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{instruction-discovery-pnv527nz.js → model-resolver-24dd53tp.js} +9 -9
- package/dist/chunks/{instruction-discovery-fyrnwbxv.js → model-resolver-28hv8daj.js} +13 -13
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-aamtrqep.js → model-resolver-2fgn2we9.js} +9 -9
- package/dist/chunks/{instruction-discovery-80az21bw.js → model-resolver-2k6pk5vr.js} +2 -2
- package/dist/chunks/{instruction-discovery-vamaa9zs.js → model-resolver-2ky1fxdg.js} +11 -11
- package/dist/chunks/{instruction-discovery-hgxtd65q.js → model-resolver-2wkarfxb.js} +17 -17
- package/dist/chunks/{instruction-discovery-nkcf2gs9.js → model-resolver-38xyry6s.js} +23 -23
- package/dist/chunks/{instruction-discovery-j0a35shb.js → model-resolver-3agcf731.js} +42 -42
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-ap1tgj32.js → model-resolver-3fm5zfbn.js} +18 -18
- package/dist/chunks/{instruction-discovery-43kbj8b8.js → model-resolver-3fpk5dv0.js} +29 -29
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-m2tc1n0a.js → model-resolver-3ksyz8es.js} +28 -28
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-44h5tttr.js → model-resolver-44h5tttr.js} +1 -1
- package/dist/chunks/{instruction-discovery-44ke2mar.js → model-resolver-44ke2mar.js} +2 -2
- package/dist/chunks/{instruction-discovery-hz0q9sdq.js → model-resolver-4arb9zza.js} +8 -8
- package/dist/chunks/{instruction-discovery-473ftn0x.js → model-resolver-4b6qd0e2.js} +3 -3
- package/dist/chunks/{instruction-discovery-cr59q9qa.js → model-resolver-4fbyhaeh.js} +4 -4
- package/dist/chunks/{instruction-discovery-ja7gyv8y.js → model-resolver-4hndnerf.js} +3 -3
- package/dist/chunks/{instruction-discovery-tmd7t4g3.js → model-resolver-4j9e7cf8.js} +11 -11
- package/dist/chunks/{instruction-discovery-bnvayccf.js → model-resolver-4k3f784t.js} +9 -9
- package/dist/chunks/{instruction-discovery-2kxk86ay.js → model-resolver-4perdbh7.js} +16 -16
- package/dist/chunks/{instruction-discovery-vqj9jm8c.js → model-resolver-4wv1b6rs.js} +4 -4
- package/dist/chunks/{instruction-discovery-gqawmzqm.js → model-resolver-4xhhjths.js} +8 -8
- package/dist/chunks/{instruction-discovery-mw0271ay.js → model-resolver-4z2468ba.js} +9 -9
- package/dist/chunks/{instruction-discovery-wr9vyhw1.js → model-resolver-58jf3t5q.js} +48 -48
- package/dist/chunks/{instruction-discovery-5x7tnjhw.js → model-resolver-5a56x6pe.js} +3 -3
- package/dist/chunks/{instruction-discovery-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ekn9679.js → model-resolver-5ekn9679.js} +1 -1
- package/dist/chunks/{instruction-discovery-d6g71415.js → model-resolver-5hn0anhr.js} +19 -19
- package/dist/chunks/{instruction-discovery-4gycnsfp.js → model-resolver-5qkxfyep.js} +6 -6
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-5cd0sxeq.js → model-resolver-5t68c6r6.js} +20 -20
- package/dist/chunks/{instruction-discovery-g6jcgrmn.js → model-resolver-6219dr34.js} +4 -4
- package/dist/chunks/{instruction-discovery-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-dgt1m6jj.js → model-resolver-6a9wqxav.js} +21 -21
- package/dist/chunks/{instruction-discovery-jppyavat.js → model-resolver-6jd6xyvr.js} +23 -23
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-fqzyqcjh.js → model-resolver-6wjgjjys.js} +20 -20
- package/dist/chunks/{instruction-discovery-epkzn4tn.js → model-resolver-71n90aqe.js} +44 -44
- package/dist/chunks/{instruction-discovery-qz0c158j.js → model-resolver-76h15cea.js} +15 -15
- package/dist/chunks/{instruction-discovery-cwa6csj7.js → model-resolver-79qaa2kf.js} +9 -9
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-b4nfcdv5.js → model-resolver-7c2qk6yp.js} +14 -14
- package/dist/chunks/{instruction-discovery-py17fkfh.js → model-resolver-7edpsxsq.js} +24 -24
- package/dist/chunks/{instruction-discovery-zwnr1j62.js → model-resolver-7entrr9d.js} +26 -26
- package/dist/chunks/{instruction-discovery-sp1y3784.js → model-resolver-7jasy514.js} +6 -4
- package/dist/chunks/{instruction-discovery-7q27d8ak.js → model-resolver-7kpff7kp.js} +10 -10
- package/dist/chunks/{instruction-discovery-nbzsj80d.js → model-resolver-818pfwc9.js} +8 -8
- package/dist/chunks/{instruction-discovery-3bc8czyk.js → model-resolver-84zcxbc9.js} +5 -5
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{instruction-discovery-srp1awq4.js → model-resolver-8pccpkv9.js} +12 -12
- package/dist/chunks/{instruction-discovery-bn0g70r0.js → model-resolver-8v5x5jkq.js} +25 -25
- package/dist/chunks/{instruction-discovery-spq00ka2.js → model-resolver-9a7hdk7d.js} +6 -6
- package/dist/chunks/{instruction-discovery-d89ah0rb.js → model-resolver-9ax1p4ye.js} +42 -36
- package/dist/chunks/{instruction-discovery-74y2pqnj.js → model-resolver-9erfw3e9.js} +10 -10
- package/dist/chunks/{instruction-discovery-vfykb72z.js → model-resolver-9f502qc3.js} +18 -18
- package/dist/chunks/{instruction-discovery-371kvkjf.js → model-resolver-9h82tyv8.js} +23 -23
- package/dist/chunks/{instruction-discovery-k9mx7t5w.js → model-resolver-9mxycm4n.js} +15 -15
- package/dist/chunks/{instruction-discovery-680db922.js → model-resolver-9n0wq1sz.js} +10 -10
- package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
- package/dist/chunks/{instruction-discovery-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{instruction-discovery-asznntn8.js → model-resolver-a233dc7h.js} +26 -26
- package/dist/chunks/{instruction-discovery-wgg9hn2t.js → model-resolver-a7k9f908.js} +17 -17
- package/dist/chunks/{instruction-discovery-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-tdmmsys1.js → model-resolver-aczm2rxs.js} +36 -36
- package/dist/chunks/model-resolver-appk1rsm.js +252 -0
- package/dist/chunks/{instruction-discovery-4hkj21w9.js → model-resolver-aqe8m42w.js} +24 -24
- package/dist/chunks/{instruction-discovery-cbany252.js → model-resolver-ashh1ge4.js} +11 -11
- package/dist/chunks/{instruction-discovery-9hs7fs45.js → model-resolver-atazjj4k.js} +1 -1
- package/dist/chunks/{instruction-discovery-pjcxmf6n.js → model-resolver-awxzdy28.js} +13 -13
- package/dist/chunks/{instruction-discovery-g0w0m6c8.js → model-resolver-ax3ghaez.js} +14 -14
- package/dist/chunks/{instruction-discovery-160eg20p.js → model-resolver-b66nv89x.js} +28 -28
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-x647g243.js → model-resolver-begh0jjd.js} +15 -15
- package/dist/chunks/{instruction-discovery-bvx85a4w.js → model-resolver-bgpjdstn.js} +1 -1
- package/dist/chunks/{instruction-discovery-hfdr1yjj.js → model-resolver-bha4atvq.js} +4 -4
- package/dist/chunks/{instruction-discovery-zhs5mbww.js → model-resolver-bjgp5qsh.js} +6 -6
- package/dist/chunks/{instruction-discovery-1h03kfwc.js → model-resolver-bktrs35w.js} +30 -30
- package/dist/chunks/{instruction-discovery-6h1myzs3.js → model-resolver-bx0s8vkw.js} +20 -20
- package/dist/chunks/{instruction-discovery-depwzj9d.js → model-resolver-bzgcn0jp.js} +9 -9
- package/dist/chunks/{instruction-discovery-vc6yd4eg.js → model-resolver-bzpr344t.js} +32 -32
- package/dist/chunks/{instruction-discovery-5nxd8dws.js → model-resolver-c2fgwm5w.js} +35 -35
- package/dist/chunks/{instruction-discovery-sjf3tctt.js → model-resolver-c488s98d.js} +12 -12
- package/dist/chunks/{instruction-discovery-ff6mr1mq.js → model-resolver-c6wsyg9f.js} +9 -9
- package/dist/chunks/{instruction-discovery-vc32h82s.js → model-resolver-c9fwgwbn.js} +15 -15
- package/dist/chunks/{instruction-discovery-gsae7mzx.js → model-resolver-cb3fxghj.js} +1 -1
- package/dist/chunks/{instruction-discovery-vvwd60y4.js → model-resolver-cdfabfzn.js} +43 -43
- package/dist/chunks/{instruction-discovery-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instruction-discovery-3f0yr7fv.js → model-resolver-cggswk6d.js} +17 -17
- package/dist/chunks/{instruction-discovery-pw383ktz.js → model-resolver-ck7nwdye.js} +8 -8
- package/dist/chunks/{instruction-discovery-pg3xm6en.js → model-resolver-ckd8zaaf.js} +24 -24
- package/dist/chunks/{instruction-discovery-5w0cxjq0.js → model-resolver-cynj0k86.js} +3 -3
- package/dist/chunks/{instruction-discovery-dbgp4r1w.js → model-resolver-cz7kh7dr.js} +31 -31
- package/dist/chunks/{instruction-discovery-z08gb817.js → model-resolver-d14vprx8.js} +10 -10
- package/dist/chunks/{instruction-discovery-ajzsbz6h.js → model-resolver-d5fw341f.js} +12 -12
- package/dist/chunks/{instruction-discovery-n1fe3aty.js → model-resolver-dm8zbqys.js} +14 -14
- package/dist/chunks/{instruction-discovery-zh8g02qs.js → model-resolver-dngkxtp1.js} +3 -3
- package/dist/chunks/{instruction-discovery-fyjp43ss.js → model-resolver-dtqg9ce1.js} +5 -5
- package/dist/chunks/{instruction-discovery-xp7ms4x7.js → model-resolver-e4s55qb8.js} +10 -10
- package/dist/chunks/{instruction-discovery-s8d7rejh.js → model-resolver-eaj1djv9.js} +6 -6
- package/dist/chunks/{instruction-discovery-sy6tmz81.js → model-resolver-ed6vg7gg.js} +17 -17
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-n0mnd67y.js → model-resolver-eg6f78tx.js} +9 -9
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-dd9zjddp.js → model-resolver-ez8b3w29.js} +13 -13
- package/dist/chunks/{instruction-discovery-4fp7zs02.js → model-resolver-f2f4fq37.js} +12 -12
- package/dist/chunks/{instruction-discovery-ckf8nxjz.js → model-resolver-f73rjn58.js} +4 -4
- package/dist/chunks/{instruction-discovery-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{instruction-discovery-tada9jhx.js → model-resolver-fb5x04t9.js} +4 -4
- package/dist/chunks/{instruction-discovery-wc2t8fx2.js → model-resolver-fbfs1p3d.js} +31 -31
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → model-resolver-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-ratrq7cm.js → model-resolver-fdv30zvt.js} +7 -7
- package/dist/chunks/{instruction-discovery-4ernrsx0.js → model-resolver-fj17ffs4.js} +83 -83
- package/dist/chunks/{instruction-discovery-q1enjrf6.js → model-resolver-fj98xnxf.js} +11 -11
- package/dist/chunks/{instruction-discovery-eqkxs06z.js → model-resolver-fpq9acqp.js} +6 -6
- package/dist/chunks/{instruction-discovery-mw65zyef.js → model-resolver-frznjamf.js} +18 -18
- package/dist/chunks/{instruction-discovery-5xtgfte3.js → model-resolver-g0445xdp.js} +6 -6
- package/dist/chunks/{instruction-discovery-q9dc04tf.js → model-resolver-g0jvtwam.js} +30 -30
- package/dist/chunks/{instruction-discovery-1zckm8jh.js → model-resolver-g0kbvjej.js} +24 -24
- package/dist/chunks/{instruction-discovery-50mzsvk4.js → model-resolver-g190xswt.js} +4 -4
- package/dist/chunks/{instruction-discovery-361b9f49.js → model-resolver-g36s099n.js} +11 -11
- package/dist/chunks/{instruction-discovery-b8bvc04a.js → model-resolver-g83zqadm.js} +1 -1
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-s38x4d8v.js → model-resolver-gmjjhz4f.js} +3 -3
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-sw51tshd.js → model-resolver-gyrg5twe.js} +43 -43
- package/dist/chunks/{instruction-discovery-b1ek0wtw.js → model-resolver-h01nhy7h.js} +4 -4
- package/dist/chunks/{instruction-discovery-5sp2y267.js → model-resolver-h6awx5kd.js} +28 -22
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-rnym2nbx.js → model-resolver-h8h70yyk.js} +2 -2
- package/dist/chunks/{instruction-discovery-j5rxtxht.js → model-resolver-h90v2x9d.js} +4 -4
- package/dist/chunks/{instruction-discovery-a2jb2751.js → model-resolver-hj6m6sww.js} +30 -30
- package/dist/chunks/{instruction-discovery-y5588qvg.js → model-resolver-hw06r73w.js} +3 -3
- package/dist/chunks/{instruction-discovery-mhkvc446.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{instruction-discovery-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-g84cjvn9.js → model-resolver-jca4demv.js} +2 -2
- package/dist/chunks/{instruction-discovery-ya8gxsn0.js → model-resolver-jkh9wndb.js} +9 -9
- package/dist/chunks/{instruction-discovery-h35wg768.js → model-resolver-jmjny7z7.js} +37 -37
- package/dist/chunks/{instruction-discovery-35vbf9tc.js → model-resolver-k0t2epba.js} +11 -11
- package/dist/chunks/{instruction-discovery-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-r5yv3mt8.js → model-resolver-k64bnwpa.js} +6 -6
- package/dist/chunks/{instruction-discovery-zs220xh7.js → model-resolver-k922v2jb.js} +35 -35
- package/dist/chunks/{instruction-discovery-vj81g6vn.js → model-resolver-k9d40v1y.js} +5 -8
- package/dist/chunks/model-resolver-kdqm869a.js +503 -0
- package/dist/chunks/{instruction-discovery-np6jcka8.js → model-resolver-kh9zez9n.js} +15 -15
- package/dist/chunks/{instruction-discovery-2dt7wr4s.js → model-resolver-krbbkavy.js} +16 -16
- package/dist/chunks/{instruction-discovery-7fns08e8.js → model-resolver-kstfjgce.js} +26 -26
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-8s5eshva.js → model-resolver-m7t37vek.js} +2 -2
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-0xrqra36.js → model-resolver-mdjvh782.js} +11 -11
- package/dist/chunks/{instruction-discovery-eesx3r1b.js → model-resolver-mdm19ygt.js} +20 -20
- package/dist/chunks/{instruction-discovery-33w4ejhs.js → model-resolver-mfqp6xfm.js} +9 -9
- package/dist/chunks/{instruction-discovery-4tc1hqha.js → model-resolver-mty6m7w9.js} +12 -12
- package/dist/chunks/{instruction-discovery-j2z2bynw.js → model-resolver-mv0cq2z8.js} +8 -8
- package/dist/chunks/{instruction-discovery-ctq3xf59.js → model-resolver-my074bcz.js} +47 -47
- package/dist/chunks/{instruction-discovery-pvv2cx45.js → model-resolver-n71jfxt4.js} +77 -77
- package/dist/chunks/{instruction-discovery-dj5cbr0h.js → model-resolver-n7xx8kr6.js} +28 -28
- package/dist/chunks/{instruction-discovery-t2schhr1.js → model-resolver-n96ncz0a.js} +36 -36
- package/dist/chunks/{instruction-discovery-qe92z5eg.js → model-resolver-nb8wcjkv.js} +27 -27
- package/dist/chunks/{instruction-discovery-gzybrnwp.js → model-resolver-nhjaecst.js} +25 -25
- package/dist/chunks/{instruction-discovery-t9msbx01.js → model-resolver-nx8b8w69.js} +5 -5
- package/dist/chunks/{instruction-discovery-r991r44t.js → model-resolver-nz2zjb46.js} +20 -20
- package/dist/chunks/{instruction-discovery-gd8x6j3n.js → model-resolver-nzrwgsp4.js} +10 -10
- package/dist/chunks/{instruction-discovery-terz056s.js → model-resolver-p13zq1q5.js} +20 -20
- package/dist/chunks/{instruction-discovery-bd8btjtc.js → model-resolver-pdwdsh5k.js} +11 -11
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-h7e5g0tn.js → model-resolver-pk8w8bk6.js} +6 -6
- package/dist/chunks/{instruction-discovery-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-bct739vz.js → model-resolver-pmr4s4kc.js} +4 -4
- package/dist/chunks/{instruction-discovery-gegj32p6.js → model-resolver-pmt63s4b.js} +20 -20
- package/dist/chunks/{instruction-discovery-w0ymwcrh.js → model-resolver-pnc3prtr.js} +27 -27
- package/dist/chunks/{instruction-discovery-4f2w252g.js → model-resolver-pqfrnb1v.js} +9 -9
- package/dist/chunks/{instruction-discovery-dm1py9b3.js → model-resolver-q3t37ft6.js} +3 -3
- package/dist/chunks/{instruction-discovery-r910kxjq.js → model-resolver-qa42b0qm.js} +17 -17
- package/dist/chunks/{instruction-discovery-8hvkh9qd.js → model-resolver-qh2rvgcy.js} +26 -26
- package/dist/chunks/{instruction-discovery-fxbvhs05.js → model-resolver-qhmmrrfr.js} +22 -22
- package/dist/chunks/model-resolver-qpq35ba3.js +26 -0
- package/dist/chunks/{instruction-discovery-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-jkypvzfq.js → model-resolver-qtv9ncch.js} +11 -11
- package/dist/chunks/{instruction-discovery-7j2qha59.js → model-resolver-qvb3nf84.js} +8 -8
- package/dist/chunks/{instruction-discovery-ctak4ngs.js → model-resolver-qyb91t3f.js} +6 -6
- package/dist/chunks/{instruction-discovery-jth2zfp5.js → model-resolver-qyyztgt2.js} +3 -3
- package/dist/chunks/{instruction-discovery-87ryhpkm.js → model-resolver-r6k8j3qp.js} +42 -42
- package/dist/chunks/{instruction-discovery-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-80vnhx64.js → model-resolver-ra9qb9xd.js} +28 -28
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-bq1752a3.js → model-resolver-rfh2gm6b.js} +20 -20
- package/dist/chunks/{instruction-discovery-eth0681n.js → model-resolver-rweywjj1.js} +12 -12
- package/dist/chunks/{instruction-discovery-keat3kjn.js → model-resolver-s0hza5ac.js} +4 -4
- package/dist/chunks/{instruction-discovery-hesh0yqh.js → model-resolver-s4waqpsd.js} +15 -15
- package/dist/chunks/{instruction-discovery-bbxr6jw3.js → model-resolver-s96k9d5p.js} +38 -38
- package/dist/chunks/{instruction-discovery-yhwbjxcp.js → model-resolver-sd9tm8pe.js} +19 -19
- package/dist/chunks/{instruction-discovery-pfk7g78r.js → model-resolver-sk1h1qsj.js} +3 -3
- package/dist/chunks/{instruction-discovery-zat6j6wm.js → model-resolver-snvbvate.js} +9 -9
- package/dist/chunks/{instruction-discovery-wbx60fzd.js → model-resolver-spf3as2g.js} +8 -8
- package/dist/chunks/{instruction-discovery-hqmr0w3b.js → model-resolver-sqy4ahhk.js} +3 -3
- package/dist/chunks/{instruction-discovery-psx79z8s.js → model-resolver-srfprz60.js} +19 -19
- package/dist/chunks/{instruction-discovery-qkb3xxtm.js → model-resolver-str9ee35.js} +5 -5
- package/dist/chunks/{instruction-discovery-ex0ne5y8.js → model-resolver-t44e5ekz.js} +5 -5
- package/dist/chunks/{instruction-discovery-vgn79txg.js → model-resolver-t9w9gn5n.js} +15 -15
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-qz1pxh76.js → model-resolver-tbjske3a.js} +15 -15
- package/dist/chunks/{instruction-discovery-p28j5sbe.js → model-resolver-tbz0fdvh.js} +5 -5
- package/dist/chunks/{instruction-discovery-0a6azg2e.js → model-resolver-tc4pcybw.js} +36 -36
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-0hagtbv7.js → model-resolver-thj49w3f.js} +7 -7
- package/dist/chunks/{instruction-discovery-vgajfqke.js → model-resolver-tk3x1716.js} +15 -15
- package/dist/chunks/{instruction-discovery-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-fqtvmpfq.js → model-resolver-tx9w5tca.js} +8 -8
- package/dist/chunks/{instruction-discovery-3w2b2yj4.js → model-resolver-tz2bjj40.js} +5 -5
- package/dist/chunks/{instruction-discovery-enwy0czq.js → model-resolver-v17cfwww.js} +32 -32
- package/dist/chunks/{instruction-discovery-h3egcphf.js → model-resolver-v1n7f3bv.js} +41 -41
- package/dist/chunks/{instruction-discovery-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-dhst5bzj.js → model-resolver-vhh0q4nc.js} +20 -20
- package/dist/chunks/{instruction-discovery-fck4aavc.js → model-resolver-vj84vw6v.js} +14 -14
- package/dist/chunks/{instruction-discovery-skt6pyyf.js → model-resolver-vm3q9gwz.js} +9 -9
- package/dist/chunks/{instruction-discovery-2aq7ecr3.js → model-resolver-vqpavwsp.js} +7 -7
- package/dist/chunks/{instruction-discovery-c49f7yek.js → model-resolver-vtr3qy6y.js} +9 -9
- package/dist/chunks/{instruction-discovery-8t3r44sf.js → model-resolver-vvge8z52.js} +5 -5
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-fy1gvxag.js → model-resolver-w35rqvbd.js} +53 -53
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-3daw6e4n.js → model-resolver-wa5fn18k.js} +9 -9
- package/dist/chunks/{instruction-discovery-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-59d1t1kc.js → model-resolver-whxapjwv.js} +11 -11
- package/dist/chunks/{instruction-discovery-jq7r7x4m.js → model-resolver-wwxnzhtj.js} +13 -13
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-n74rpst0.js → model-resolver-x9hfrad7.js} +13 -13
- package/dist/chunks/{instruction-discovery-nqyhrfcc.js → model-resolver-x9mtwtp0.js} +4 -4
- package/dist/chunks/{instruction-discovery-8jx8k6qg.js → model-resolver-xbtb5td3.js} +7 -7
- package/dist/chunks/{instruction-discovery-nanpb4nb.js → model-resolver-xec6pqx5.js} +168 -168
- package/dist/chunks/{instruction-discovery-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
- package/dist/chunks/{instruction-discovery-kgpwsj74.js → model-resolver-xfv3pavf.js} +20 -20
- package/dist/chunks/{instruction-discovery-d5b773r5.js → model-resolver-xj9c03pw.js} +67 -67
- package/dist/chunks/{instruction-discovery-g7mym6m5.js → model-resolver-y0vc2xyv.js} +15 -15
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{instruction-discovery-j7zkqwjr.js → model-resolver-ycwdbjxs.js} +1 -1
- package/dist/chunks/{instruction-discovery-510m7gjw.js → model-resolver-yjptyezs.js} +5 -5
- package/dist/chunks/{instruction-discovery-yntgqbj8.js → model-resolver-yp71q2zj.js} +31 -31
- package/dist/chunks/{instruction-discovery-hrcn0nnf.js → model-resolver-yr3ev74z.js} +14 -14
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-d2aac7k2.js → model-resolver-yt0fqk68.js} +5 -5
- package/dist/chunks/{instruction-discovery-35a9k02a.js → model-resolver-yvp2mdaf.js} +20 -20
- package/dist/chunks/{instruction-discovery-1yv1a62b.js → model-resolver-yx9ma9ke.js} +12 -12
- package/dist/chunks/{instruction-discovery-h25pynb9.js → model-resolver-yyafvb72.js} +7 -6
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-7h64qcjn.js → model-resolver-z4068eyq.js} +11 -11
- package/dist/chunks/{instruction-discovery-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-z429czhs.js → model-resolver-z9mxambq.js} +6 -6
- package/dist/chunks/{instruction-discovery-bm1prq2q.js → model-resolver-zdewk29h.js} +5 -5
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-yazjenkk.js → model-resolver-zga4qn8p.js} +13 -13
- package/dist/chunks/model-resolver-zmf7epqt.js +65 -0
- package/dist/chunks/{instruction-discovery-09mc3296.js → model-resolver-zp6gb285.js} +6 -6
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-0w62qmxp.js → model-resolver-zst1va42.js} +8 -8
- package/dist/chunks/{instruction-discovery-d737nyfv.js → model-resolver-zvwz45r0.js} +9 -9
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-fyx1rh07.js → model-resolver-zz841dsp.js} +13 -13
- package/dist/chunks/{instruction-discovery-9v27psqe.js → model-resolver-zz8q6pd3.js} +18 -18
- 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 +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +369 -369
- 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 +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- 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 +357 -357
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- 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 +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- 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 +121 -121
- 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 +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +73 -73
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +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 +5 -5
- 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 +209 -209
- 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 +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- 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/types/mime.d.ts +1 -1
- package/dist/types/session/provider-context.d.ts +2 -2
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +93 -93
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-04hxy07f.js +0 -503
- package/dist/chunks/instruction-discovery-8cfmw7g8.js +0 -26
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +0 -18
- package/dist/chunks/instruction-discovery-r6ma33hb.js +0 -65
- package/dist/chunks/instruction-discovery-t37sa7x6.js +0 -252
- /package/dist/chunks/{instruction-discovery-0mesazry.js → model-resolver-0mesazry.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-38xyry6s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-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: () => Service65,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node69
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service65 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service65.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -435,7 +435,12 @@ function toolMessage(input) {
|
|
|
435
435
|
return true;
|
|
436
436
|
if (!item.mime.startsWith("image/") && item.mime !== "application/pdf")
|
|
437
437
|
return true;
|
|
438
|
-
media.push({
|
|
438
|
+
media.push({
|
|
439
|
+
type: "file",
|
|
440
|
+
mediaType: item.mime,
|
|
441
|
+
data: fileData(ProviderShared.toolFileMedia(item).media),
|
|
442
|
+
filename: item.name
|
|
443
|
+
});
|
|
439
444
|
return false;
|
|
440
445
|
});
|
|
441
446
|
return toolResultPart({
|
|
@@ -452,7 +457,7 @@ function userPart(part) {
|
|
|
452
457
|
if (part.type === "text")
|
|
453
458
|
return [{ type: "text", text: part.text }];
|
|
454
459
|
if (part.type === "media")
|
|
455
|
-
return [{ type: "file", mediaType: part.mediaType, data: fileData(part.
|
|
460
|
+
return [{ type: "file", mediaType: part.media.mediaType, data: fileData(part.media), filename: part.filename }];
|
|
456
461
|
return [];
|
|
457
462
|
}
|
|
458
463
|
function assistantPart(part) {
|
|
@@ -466,7 +471,7 @@ function assistantPart(part) {
|
|
|
466
471
|
case "text":
|
|
467
472
|
return [{ type: "text", text: part.text, providerOptions: metadataProviderOptions(part.providerMetadata) }];
|
|
468
473
|
case "media":
|
|
469
|
-
return [{ type: "file", mediaType: part.mediaType, data: fileData(part.
|
|
474
|
+
return [{ type: "file", mediaType: part.media.mediaType, data: fileData(part.media), filename: part.filename }];
|
|
470
475
|
case "reasoning":
|
|
471
476
|
return [{ type: "reasoning", text: part.text, providerOptions: metadataProviderOptions(part.providerMetadata) }];
|
|
472
477
|
case "tool-call":
|
|
@@ -492,16 +497,17 @@ function assistantPart(part) {
|
|
|
492
497
|
]);
|
|
493
498
|
}
|
|
494
499
|
}
|
|
495
|
-
function fileData(
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
if (
|
|
500
|
-
return
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
500
|
+
function fileData(media) {
|
|
501
|
+
const source = media.source;
|
|
502
|
+
if (source.type === "bytes" || source.type === "base64")
|
|
503
|
+
return source.data;
|
|
504
|
+
if (source.type === "url")
|
|
505
|
+
return new URL(source.url);
|
|
506
|
+
throw ProviderShared.unsupportedOperation({
|
|
507
|
+
operation: "media-ref",
|
|
508
|
+
provider: source.provider,
|
|
509
|
+
message: "AI SDK routes cannot forward provider media references"
|
|
510
|
+
});
|
|
505
511
|
}
|
|
506
512
|
function toolResultPart(part) {
|
|
507
513
|
if (part.type !== "tool-result")
|
|
@@ -843,6 +849,6 @@ function providerErrorMessage(error) {
|
|
|
843
849
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
844
850
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
845
851
|
}
|
|
846
|
-
var
|
|
852
|
+
var node69 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
|
|
847
853
|
|
|
848
|
-
export { InitError2,
|
|
854
|
+
export { InitError2, Service65, locationLayer2, node69, exports_aisdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-38xyry6s.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin33,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin33 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin22 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin33, exports_identity };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./model-resolver-cggswk6d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node20
|
|
11
|
+
} from "./model-resolver-vj84vw6v.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer9(options), deps: [node83, node20] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service17, ripgrepLayer2, fffLayer2, layer9, configured3, node19, exports_search };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./model-resolver-7entrr9d.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make3(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-q3t37ft6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./model-resolver-fpq9acqp.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./model-resolver-gyrg5twe.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service59;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service70,
|
|
4
|
+
node74
|
|
5
|
+
} from "./model-resolver-fbfs1p3d.js";
|
|
6
6
|
import {
|
|
7
7
|
ID9,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service69,
|
|
16
|
+
node73
|
|
17
|
+
} from "./model-resolver-38xyry6s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service65,
|
|
20
|
+
node69
|
|
21
|
+
} from "./model-resolver-h6awx5kd.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service66,
|
|
27
|
+
node70
|
|
28
|
+
} from "./model-resolver-7entrr9d.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service64,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer24,
|
|
48
|
+
node: () => node68,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
58
|
providerID: ID9,
|
|
59
|
-
modelID:
|
|
59
|
+
modelID: ID8,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
68
|
providerID: ID9,
|
|
69
|
-
modelID:
|
|
69
|
+
modelID: ID8,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
79
|
providerID: ID9,
|
|
80
|
-
modelID:
|
|
80
|
+
modelID: ID8,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
90
|
providerID: ID9,
|
|
91
|
-
modelID:
|
|
91
|
+
modelID: ID8,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
102
|
providerID: ID9,
|
|
103
|
-
modelID:
|
|
103
|
+
modelID: ID8,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
112
|
providerID: ID9,
|
|
113
|
-
modelID:
|
|
113
|
+
modelID: ID8,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service69;
|
|
263
|
+
const models = yield* Service66;
|
|
264
|
+
const integrations = yield* Service70;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service65;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -292,7 +292,7 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
292
292
|
transport: provider?.settings?.transport
|
|
293
293
|
};
|
|
294
294
|
});
|
|
295
|
-
return
|
|
295
|
+
return Service64.of({
|
|
296
296
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
297
297
|
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))));
|
|
298
298
|
if (!selected)
|
|
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
309
309
|
const name = packageName2(packageName);
|
|
310
310
|
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/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;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
314
|
-
layer:
|
|
315
|
-
deps: [
|
|
312
|
+
var node68 = makeLocationNode({
|
|
313
|
+
service: Service64,
|
|
314
|
+
layer: layer24,
|
|
315
|
+
deps: [node73, node70, node74, Npm.node, node69]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
318
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node68, exports_model_resolver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./model-resolver-v1n7f3bv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./model-resolver-yp71q2zj.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const snapshot = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin35 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin19, exports_snapshot };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|